/* Profile Page Styles */
/* Complete CSS from Puppeteer extraction */
/* Note: variables.css has shared tokens, but page CSS is self-contained */
/* Generated: 2025-12-04T08:20:50.808Z */

/* Extracted CSS for profile */
/* Generated: 2025-12-04T08:08:20.755Z */
/* Total rules: 956 */

/* ========== Font Faces ========== */

@font-face { font-family: Poppins; src: url("../fonts/poppins/Poppins-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }

@font-face { font-family: Poppins; src: url("../fonts/poppins/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

@font-face { font-family: Poppins; src: url("../fonts/poppins/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }

@font-face { font-family: Poppins; src: url("../fonts/poppins/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

@font-face { font-family: Poppins; src: url("../fonts/poppins/Poppins-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: "Super Maples"; src: url("../fonts/SuperMaples-2vR2w.ttf") format("truetype"); font-weight: normal; font-style: normal; font-display: swap; }

/* ========== Animations ========== */

@keyframes twinkle { 
  0%, 100% { opacity: 0.2; background-position: 0% 0%; }
  50% { opacity: 0.4; background-position: 100% 100%; }
}

@keyframes float-gentle { 
  0%, 100% { opacity: 0.1; background-position: 0% 0%; }
  50% { opacity: 0.2; background-position: 50% 50%; }
}

@keyframes organic-flow { 
  0%, 100% { transform: translate(0px, 0px) scale(1) rotate(0deg); opacity: 0.7; }
  25% { transform: translate(30px, -40px) scale(1.05) rotate(5deg); opacity: 0.8; }
  50% { transform: translate(-20px, 30px) scale(0.95) rotate(-3deg); opacity: 0.75; }
  75% { transform: translate(40px, 20px) scale(1.02) rotate(4deg); opacity: 0.7; }
}

@keyframes sunrise { 
  0% { opacity: 0; transform: translateY(100%); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-20%); }
}

@keyframes sunset { 
  0% { opacity: 0; transform: translateY(-100%); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(20%); }
}

@keyframes sparkle-pulse { 
  0%, 100% { opacity: 0; transform: scale(0.8) translateY(0px); }
  50% { opacity: 0.6; transform: scale(1.2) translateY(-5px); }
}

@keyframes loading-shimmer { 
  0% { background-position: 200% 0px; }
  100% { background-position: -200% 0px; }
}

@keyframes loading-dot-pulse { 
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.3); }
}

@keyframes title-glow { 
  0%, 100% { filter: drop-shadow(transparent 0px 0px 0px); }
  50% { filter: drop-shadow(rgba(255, 107, 157, 0.3) 0px 0px 8px); }
}

@keyframes dropdownSlide { 
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@keyframes slideDown { 
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@keyframes fadeIn { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideUp { 
  0% { transform: translateY(30px); opacity: 0; }
  100% { transform: translateY(0px); opacity: 1; }
}

@keyframes successPulse { 
  0% { transform: scale(1); border-color: oklch(var(--bc) / 0.2); }
  50% { transform: scale(1.02); border-color: rgb(52, 211, 153); box-shadow: rgba(52, 211, 153, 0.4) 0px 0px 30px, rgba(0, 0, 0, 0.5) 0px 20px 60px; }
  100% { transform: scale(1); border-color: rgb(52, 211, 153); box-shadow: rgba(52, 211, 153, 0.3) 0px 0px 20px, rgba(0, 0, 0, 0.5) 0px 20px 60px; }
}

@keyframes errorShake { 
  0%, 100% { transform: translateX(0px); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

@keyframes spin { 
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes wave { 
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
  60% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

@keyframes iconPop { 
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeInUp { 
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@keyframes pulse { 
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

@keyframes countdownPulse { 
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1)); }
}

@keyframes urgentBlink { 
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.5); }
}

@keyframes urgentPulse { 
  0%, 100% { box-shadow: rgba(239, 68, 68, 0.4) 0px 0px 0px 0px; }
  50% { box-shadow: rgba(239, 68, 68, 0) 0px 0px 0px 4px; }
}

@keyframes dropdown-slide { 
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@keyframes fadeIn { 
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@keyframes bounce { 
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow { 
  0%, 100% { box-shadow: rgba(255, 107, 157, 0.4) 0px 0px 0px 0px; }
  50% { box-shadow: rgba(255, 107, 157, 0.2) 0px 0px 15px 5px; }
}

@keyframes spin { 
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes confetti-fall { 
  0% { transform: translate(0px, 0px) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--tx), var(--ty)) rotate(var(--rotation)); opacity: 0; }
}

@keyframes modal-fade-in { 
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes modal-slide-up { 
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0px); opacity: 1; }
}

@keyframes fadeOutMsg { 
  0% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes loading-shimmer { 
  0% { background-position: 200% 0px; }
  100% { background-position: -200% 0px; }
}

@keyframes loading-dot-pulse { 
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.3); }
}

@keyframes statCardSlideIn { 
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@keyframes skeletonShimmer { 
  0% { background-position: 200% 0px; }
  100% { background-position: -200% 0px; }
}

@keyframes skeletonFadeIn { 
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0px); }
}

@keyframes bounce { 
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes bellRing { 
  0%, 100% { transform: rotate(0deg); }
  10%, 30% { transform: rotate(-10deg); }
  20%, 40% { transform: rotate(10deg); }
}

/* ========== Styles ========== */

.font-super-maples { font-family: "Super Maples", cursive; }

.font-poppins { font-family: Poppins, sans-serif; }

/* OLD HARDCODED VARIABLES - Now controlled by theme-bridge.css
:root { --bg: #1a1d2e; --bg1: #1f2335; --bg2: #24283b; --accent: #9d7ff7; --accent-hover: #b4a0ff; --accent-glow: rgba(157, 127, 247, 0.2); --accent-border: rgba(157, 127, 247, 0.35); --accent-secondary: #f472b6; --accent-tertiary: #22d3ee; --glass: rgba(255,255,255,0.08); --glass-bg: rgba(255,255,255,0.08); --glass-border: rgba(255,255,255,0.12); --glass-hover: rgba(255,255,255,0.12); --muted: #a9b1d6; --text: #c0caf5; --text-primary: #d5ddf6; --shadow: 0 20px 50px rgba(0,0,0,0.4); --shadow-sm: 0 8px 20px rgba(0,0,0,0.25); --shadow-colored: 0 10px 40px rgba(157, 127, 247, 0.25); --card-hover: rgba(157, 127, 247, 0.1); --card: #24283b; --modal-bg: #1f2335; --modal-border: rgba(157, 127, 247, 0.4); }

[data-theme="light"] { --bg: #f0ede8; --bg1: #e8e4df; --bg2: #dfd9d2; --accent: #8b5cf6; --accent-hover: #7c3aed; --accent-glow: rgba(139, 92, 246, 0.12); --accent-border: rgba(139, 92, 246, 0.25); --accent-secondary: #ec4899; --accent-tertiary: #06b6d4; --glass: rgba(255,255,255,0.7); --glass-border: rgba(0,0,0,0.1); --glass-hover: rgba(0,0,0,0.05); --muted: #6b7280; --text: #374151; --text-primary: #1f2937; --shadow: 0 12px 32px rgba(0,0,0,0.06); --shadow-sm: 0 4px 12px rgba(0,0,0,0.04); --shadow-colored: 0 8px 25px rgba(139, 92, 246, 0.12); --card-hover: rgba(139, 92, 246, 0.06); --card: #ffffff; --modal-bg: rgba(255, 255, 255, 0.95); --modal-border: rgba(139, 92, 246, 0.3); }
*/

/* Decorative body backgrounds removed - DaisyUI themes now control all colors */

.container, .top-navbar, main, header, .feed-container, .profile-container { position: relative; z-index: 1; }

* { box-sizing: border-box; margin: 0px; padding: 0px; }

html, body { min-height: 100%; overflow-x: hidden; width: 100%; position: relative; }

html { text-size-adjust: 100%; touch-action: manipulation; }

body { overflow-x: hidden; width: 100%; max-width: 100vw; position: relative; font-family: Poppins, sans-serif; font-weight: 400; font-size: 15px; line-height: 1.6; letter-spacing: -0.01em; -webkit-font-smoothing: antialiased; text-rendering: optimizelegibility; }

img, video, iframe, embed, object { max-width: 100%; height: auto; }

input, textarea, select, button { max-width: 100%; }

* { -webkit-tap-highlight-color: transparent; }

h1 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }

h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }

h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; }

h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.005em; line-height: 1.4; }

p { font-size: 15px; font-weight: 400; line-height: 1.6; }

.user-avatar, .profile-avatar, .comment-avatar, .avatar-preview, .profile-avatar-toggle, [class*="avatar"] img, img[src*="avataaars"], img[src*="avatar"] { border: none !important; }

.navbar { position: sticky; top: 0px; background: oklch(var(--b2)); backdrop-filter: blur(20px); border-bottom: 1px solid oklch(var(--bc) / 0.2); z-index: 50; box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px; left: 0px !important; right: 0px !important; width: 100% !important; padding: 0px !important; margin: 0px !important; }

.nav-content { max-width: 1400px; padding: 0px 24px; margin: 0px auto; display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 32px; }

.nav-logo { font-family: "Super Maples", cursive; font-size: 1.8rem; font-weight: 400; letter-spacing: 0.02em; display: flex; align-items: center; gap: 8px; color: oklch(var(--bc)); transition: filter 0.3s, transform 0.3s; cursor: pointer; }

.nav-logo:hover { filter: drop-shadow(rgba(139, 92, 246, 0.3) 0px 0px 8px); transform: scale(1.02); }

.nav-logo i { color: oklch(var(--p)); width: 24px; height: 24px; }

.nav-links { display: flex; align-items: center; gap: 8px; }

.nav-links a { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 12px; text-decoration: none; color: oklch(var(--bc)); font-weight: 500; font-size: 0.95rem; transition: 0.3s; position: relative; }

.nav-links a i { width: 18px; height: 18px; stroke-width: 2.5; }

.nav-links a:hover { background: oklch(var(--b3)); color: oklch(var(--p)); transform: translateY(-1px); }

.nav-links a.active { background: oklch(var(--p) / 0.1); color: oklch(var(--p)); border: 1px solid oklch(var(--p) / 0.5); }

.nav-links a.active::after { content: ""; position: absolute; bottom: -1px; left: 20px; right: 20px; height: 2px; background: oklch(var(--p)); border-radius: 2px 2px 0px 0px; }

.top-navbar { position: sticky; top: 0px; left: 0px; right: 0px; width: 100%; height: 60px; background: oklch(var(--b2)); backdrop-filter: blur(20px); border-bottom: 1px solid oklch(var(--bc) / 0.2); z-index: 50; box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px; display: flex; align-items: center; gap: 0px; }

.navbar-left, .navbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.navbar-right { margin-left: auto; }

.navbar-logo { font-family: "Super Maples", cursive; font-size: 1.8rem; font-weight: 400; letter-spacing: 0.02em; padding: 0px 20px; text-decoration: none; color: oklch(var(--bc)); transition: filter 0.3s, transform 0.3s; cursor: pointer; }

.navbar-logo:hover { filter: drop-shadow(rgba(255, 107, 157, 0.3) 0px 0px 8px); transform: scale(1.05); }

.theme-toggle-floating { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%; background: oklch(var(--b2)); backdrop-filter: blur(20px); border: 1px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc)); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 100; opacity: 0.4; }

.theme-toggle-floating svg { transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

.theme-toggle-floating:hover { opacity: 1; color: oklch(var(--p)); transform: scale(1.15) rotate(20deg); box-shadow: var(--shadow-colored); background: oklch(var(--b3)); border-color: oklch(var(--p)); }

.theme-toggle-floating:hover svg { transform: rotate(-20deg) scale(1.1); filter: drop-shadow(0 0 8px oklch(var(--p))); }

.theme-toggle-floating:active { transform: scale(0.95) rotate(20deg); }

.top-navbar .theme-toggle { height: 60px; padding: 0px 20px; background: transparent; border: none; color: oklch(var(--bc)); cursor: pointer; transition: background 0.3s; display: flex; align-items: center; justify-content: center; }

.top-navbar .theme-toggle:hover { background: oklch(var(--b3)); }

.top-navbar .navbar-icon, .top-navbar #airing-button, .top-navbar #notification-bell, .top-navbar #profile-toggle { width: 48px; height: 48px; background: transparent; border: none; color: oklch(var(--bc)); font-size: 19px; cursor: pointer; transition: background 0.3s; text-decoration: none; display: flex; align-items: center; justify-content: center; flex-shrink: 0; white-space: nowrap; }

.top-navbar .navbar-icon:hover, .top-navbar #airing-button:hover, .top-navbar #notification-bell:hover, .top-navbar #profile-toggle:hover { background: oklch(var(--b3)); }

.top-navbar #profile-toggle svg { width: 20px; height: 20px; }

.profile-avatar-toggle { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }

.profile-avatar-toggle svg { width: 100%; height: 100%; padding: 4px; }

.profile-avatar-toggle img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0px; left: 0px; padding: 0px; }

.logged-in-only { display: none !important; }

body.is-logged-in .logged-in-only { display: flex !important; }

.notification-badge { display: none; position: absolute; top: 8px; right: 8px; background: rgb(255, 68, 68); border-radius: 50%; width: 10px; height: 10px; box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 0px 2px; }

.notification-badge.visible { display: block; }

.auth-heading { margin-bottom: 16px; color: oklch(var(--p)); text-align: center; font-family: "Super Maples", cursive; font-size: 1.8rem; font-weight: 400; }

.flex-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }

.flex-group { display: flex; gap: 12px; align-items: center; }

.flex-title { margin: 0px; font-size: 1.05rem; }

.site-footer { text-align: center; padding: 30px 0px; color: oklch(var(--bc) / 0.6); font-size: 0.9rem; }

.footer-text { opacity: 0.5; font-size: 0.85rem; }

.footer-link { color: oklch(var(--bc) / 0.6); text-decoration: none; }

.footer-link:hover { color: oklch(var(--bc)); }

.section-header-title { margin: 0px; display: flex; align-items: center; gap: 8px; }

.toggle-icon { transition: transform 0.3s; }

.recommendations-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 8px; flex-wrap: wrap; }

.recommendations-title { margin: 0px; }

.recommendations-actions { display: flex; gap: 8px; }

.modal-heading { margin-bottom: 24px; color: oklch(var(--p)); text-align: center; }

.top-navbar .profile-dropdown { position: absolute; top: 65px; right: 20px; }

.container { padding-top: 0px; padding-left: 20px; padding-right: 20px; max-width: 1400px; margin: 0px auto; }

/* Body backgrounds removed - DaisyUI themes control colors via CSS variables */

body { overflow-x: hidden; color: oklch(var(--bc)); background: oklch(var(--b1)); min-height: 100vh; display: flex; flex-direction: column; padding: 0px; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }

.container { max-width: 1200px; width: 100%; flex: 1 1 0%; display: flex; flex-direction: column; position: relative; margin: 80px auto 0px; padding: 20px 40px; z-index: 1; overflow-x: hidden; }

.home-container { max-width: 1200px; width: 100%; margin: 0px auto; padding: 20px; }

.brand { text-align: center; margin-bottom: 28px; position: relative; }

.brand::before, .brand::after { position: absolute; font-size: 1.5rem; opacity: 0; animation: 3s ease-in-out 0s infinite normal none running sparkle-pulse; pointer-events: none; width: 24px; height: 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237c5cff'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; }

.brand::before { content: ""; top: -10px; left: 20%; animation-delay: 0s; }

.brand::after { content: ""; top: -5px; right: 25%; opacity: 0.7; animation-delay: 1.5s; }

.loading-dim { position: relative; display: inline-flex; align-items: center; gap: 4px; animation: 2s ease-in-out 0s infinite normal none running loading-shimmer; color: oklch(var(--bc)); font-weight: 600; }

.loading-dim::after { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: oklch(var(--p)); animation: 1.4s ease-in-out 0s infinite normal none running loading-dot-pulse; margin-left: 2px; }

.brand h1 { font-family: "Super Maples", cursive; font-size: 3rem; font-weight: 400; letter-spacing: 0.02em; color: oklch(var(--bc)); margin-bottom: 8px; position: relative; animation: 4s ease-in-out 0s infinite normal none running title-glow; }

.tag { color: oklch(var(--bc) / 0.6); margin-top: 6px; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em; }

.container > .theme-toggle { position: absolute; top: 20px; left: 20px; width: 60px; height: 30px; z-index: 10; background: linear-gradient(135deg, rgb(30, 41, 59) 0%, rgb(15, 23, 42) 100%); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 15px; cursor: pointer; padding: 0px; opacity: 0.4; transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, opacity 0.3s; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px inset; }

.container > .theme-toggle:hover { opacity: 1; }

.developer-link { display: none; }

.container > .profile-section { position: absolute; top: 20px; right: 20px; z-index: 10; }

#notification-badge { position: absolute; top: 8px; right: 8px; background: rgb(255, 68, 68); border-radius: 50%; width: 10px; height: 10px; box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 0px 2px; display: none; }

.profile-info { display: flex; align-items: center; gap: 12px; padding: 8px 16px; background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 24px; backdrop-filter: blur(10px); }

.profile-details { display: flex; flex-direction: column; gap: 4px; }

.profile-details span { font-size: 0.9rem; font-weight: 600; color: oklch(var(--bc)); }

.profile-btn { padding: 8px 16px; background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 12px; color: oklch(var(--bc)); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.3s; backdrop-filter: blur(10px); }

.profile-btn:hover { background: oklch(var(--p) / 0.1); border-color: oklch(var(--p) / 0.5); color: oklch(var(--bc)); transform: translateY(-2px); box-shadow: rgba(255, 107, 157, 0.2) 0px 4px 12px; }

.auth-btn { padding: 8px 16px; font-size: 0.875rem; background: oklch(var(--p)); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 500; transition: 0.2s; box-shadow: rgba(168, 85, 247, 0.2) 0px 2px 8px; }

.auth-btn:hover { background: oklch(var(--p) / 0.9); box-shadow: rgba(168, 85, 247, 0.3) 0px 4px 12px; transform: translateY(-1px); }

.auth-btn:active { transform: translateY(0px); box-shadow: rgba(168, 85, 247, 0.2) 0px 2px 6px; }

.container > .profile-toggle { position: absolute; top: 0px; right: 0px; width: 44px; height: 44px; border-radius: 50%; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); backdrop-filter: blur(12px); color: oklch(var(--bc)); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; z-index: 15; }

.container > .profile-toggle:hover { background: oklch(var(--p)); border-color: oklch(var(--p)); color: white; transform: scale(1.05); box-shadow: rgba(168, 85, 247, 0.3) 0px 6px 20px; }

.container > .profile-toggle svg { transition: transform 0.3s; }

.container > .profile-toggle:hover svg { transform: scale(1.1); }

.profile-dropdown { position: absolute; top: 55px; right: 0px; min-width: 200px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 32px; backdrop-filter: blur(12px); overflow: hidden; z-index: 100; animation: 0.2s ease 0s 1 normal none running dropdownSlide; }

.dropdown-section { padding: 8px; }

.dropdown-user-info { display: flex; align-items: center; gap: 10px; padding: 12px; color: oklch(var(--bc)); font-weight: 500; font-size: 0.95rem; }

.dropdown-user-info svg { color: oklch(var(--p)); flex-shrink: 0; }

.dropdown-divider { height: 1px; background: oklch(var(--bc) / 0.2); margin: 4px 8px; }

.dropdown-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: transparent; border: none; border-radius: 8px; color: oklch(var(--bc)); font-size: 0.9rem; cursor: pointer; transition: 0.2s; text-align: left; text-decoration: none; }

.dropdown-item:hover { background: oklch(var(--b2)); color: oklch(var(--p)); }

.dropdown-item svg { flex-shrink: 0; opacity: 0.7; }

.welcome-message { text-align: center; font-size: 1.5rem; margin: 20px auto; padding: 0px; background: transparent; max-width: 600px; color: oklch(var(--bc)); animation: 0.4s ease 0s 1 normal none running slideDown; }

.welcome-message span { color: oklch(var(--p)); font-weight: 600; }

.login-toast { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 20px; margin: 20px auto; max-width: 600px; background: linear-gradient(135deg, oklch(var(--b2)) 0%, rgba(255,255,255,0.01) 100%); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 12px; color: oklch(var(--bc)); font-size: 0.9rem; backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); animation: 0.5s ease 0s 1 normal none running slideDown; }

.login-toast svg { flex-shrink: 0; color: oklch(var(--p)); }

.login-toast span { flex: 1 1 0%; }

.login-toast button { background: none; border: none; color: oklch(var(--bc) / 0.6); font-size: 1.2rem; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: background 0.2s, color 0.2s; }

.login-toast button:hover { background: oklch(var(--b2)); color: oklch(var(--bc)); }

.dropdown-item:hover svg { opacity: 1; color: oklch(var(--p)); }

.auth-modal { display: none; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(16px); z-index: 99999; justify-content: center; align-items: center; animation: 0.3s ease 0s 1 normal none running fadeIn; pointer-events: auto; }

.auth-modal.active, .auth-modal[style*="display: flex"], .auth-modal[style*="display:flex"] { display: flex !important; }

.auth-modal-content { max-width: 420px; width: 90%; background: oklch(var(--b1)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 16px; padding: 32px; box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 60px; position: relative; z-index: 100000; animation: 0.3s ease 0s 1 normal none running slideUp; pointer-events: auto; }

.auth-modal-content.success { animation: 0.6s ease 0s 1 normal none running successPulse; border-color: rgb(52, 211, 153); }

.auth-modal-content.error { animation: 0.5s ease 0s 1 normal none running errorShake; border-color: rgb(239, 68, 68); }

.close-modal { position: absolute; top: 16px; right: 16px; background: transparent; border: none; color: oklch(var(--bc) / 0.6); font-size: 28px; cursor: pointer; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 8px; transition: 0.3s; }

.close-modal:hover { background: oklch(var(--b2)); color: oklch(var(--bc)); transform: rotate(90deg); }

.auth-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 2px solid oklch(var(--bc) / 0.2); }

.auth-tab { flex: 1 1 0%; padding: 12px 16px; background: transparent; border-top: none; border-right: none; border-left: none; border-image: initial; border-bottom: 3px solid transparent; color: oklch(var(--bc) / 0.6); font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: 0.3s; }

.auth-tab:hover { color: oklch(var(--bc)); background: oklch(var(--b2)); }

.auth-tab.active { color: oklch(var(--p)); border-bottom-color: oklch(var(--p)); }

.auth-form { display: flex; flex-direction: column; gap: 20px; }

.auth-form .form-group:last-of-type { margin-bottom: 18px; }

.auth-form .btn-primary { margin-top: 8px; }

.form-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.form-group label { font-size: 0.9rem; font-weight: 600; color: oklch(var(--bc)); }

.form-group input { padding: 12px 16px; background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 8px; color: oklch(var(--bc)); font-size: 0.95rem; transition: 0.3s; }

.form-group input:focus { outline: none; border-color: oklch(var(--p)); box-shadow: 0px 0px 0px 3px oklch(var(--p) / 0.1); }

.gender-checkbox-option input[type="radio"] { appearance: none; width: 18px; height: 18px; border: 2px solid oklch(var(--bc) / 0.2); border-radius: 3px; margin: 0px; cursor: pointer; position: relative; transition: 0.3s; background: oklch(var(--b2)); flex-shrink: 0; }

.gender-checkbox-option input[type="radio"]:hover { border-color: oklch(var(--p)); }

.gender-checkbox-option input[type="radio"]:checked { border-color: oklch(var(--p)); background: oklch(var(--p)); }

.gender-checkbox-option input[type="radio"]:checked::after { content: "✓"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 14px; font-weight: bold; line-height: 1; color: oklch(var(--pc)) !important; }

.gender-checkbox-option span { font-size: 0.95rem; color: oklch(var(--bc)); user-select: none; }

.gender-option { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 8px; cursor: pointer; transition: 0.3s; flex: 1 1 0%; justify-content: center; font-weight: 500; }

.gender-option:hover { background: oklch(var(--b3)); border-color: oklch(var(--p)); }

.gender-option input[type="radio"] { appearance: none; width: 18px; height: 18px; border: 2px solid oklch(var(--bc) / 0.2); border-radius: 50%; margin: 0px; cursor: pointer; position: relative; transition: 0.3s; background: transparent; }

.gender-option input[type="radio"]:hover { border-color: oklch(var(--p)); }

.gender-option input[type="radio"]:checked { border-color: oklch(var(--p)); background: oklch(var(--p)); box-shadow: 0 0 0 2px oklch(var(--b2)), 0 0 8px oklch(var(--p) / 0.3); }

.gender-option input[type="radio"]:checked::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; border-radius: 50%; background: oklch(var(--pc)); }

.gender-option input[type="radio"]:checked + span { color: oklch(var(--p)); }

.gender-option:has(input[type="radio"]:checked) { background: oklch(var(--p) / 0.1); border-color: oklch(var(--p)); }

.form-group > div:has(.gender-option) { display: flex !important; flex-direction: row !important; gap: 12px !important; }

.form-group small { font-size: 0.8rem; color: oklch(var(--bc) / 0.6); margin-top: 2px; margin-bottom: 2px; }

.btn-primary { padding: 12px 24px; background: linear-gradient(135deg, oklch(var(--p)) 0%, #d946ef 100%); border: none; border-radius: 8px; color: white; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.3s; }

.btn-primary:hover { transform: translateY(-2px); box-shadow: rgba(255, 107, 157, 0.4) 0px 6px 20px; }

.btn-primary:active { transform: translateY(0px); }

.forgot-password-link { color: oklch(var(--p)); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.3s; display: inline-flex; align-items: center; gap: 4px; position: relative; }

.forgot-password-link::after { content: ""; position: absolute; bottom: -2px; left: 0px; width: 0px; height: 2px; background: linear-gradient(90deg, oklch(var(--p)), oklch(var(--s))); transition: width 0.3s; }

.forgot-password-link:hover { color: oklch(var(--p) / 0.9); transform: translateX(2px); }

.forgot-password-link:hover::after { width: 100%; }

.forgot-password-link:active { transform: translateX(0px); }

.auth-message { padding: 12px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; text-align: center; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }

.auth-message::before { font-size: 1.2rem; animation: 0.4s ease 0s 1 normal none running iconPop; }

.auth-message.success { background: rgba(52, 211, 153, 0.15); color: rgb(52, 211, 153); border: 2px solid rgba(52, 211, 153, 0.3); }

.auth-message.error { background: rgba(239, 68, 68, 0.15); color: rgb(239, 68, 68); border: 2px solid rgba(239, 68, 68, 0.3); }

.top-navbar .theme-toggle::before { content: "🌙"; font-size: 18px; }

[data-theme="light"] .top-navbar .theme-toggle::before { content: "☀️"; }

[data-theme="light"] .container > .theme-toggle { background: linear-gradient(135deg, rgb(251, 191, 36) 0%, rgb(245, 158, 11) 100%); box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px inset, rgba(251, 191, 36, 0.3) 0px 2px 8px; }

.container > .theme-toggle::before { content: "🌙"; position: absolute; top: 50%; left: 4px; transform: translateY(-50%); width: 22px; height: 22px; background: linear-gradient(135deg, rgb(99, 102, 241) 0%, rgb(139, 92, 246) 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 6px; }

[data-theme="light"] .container > .theme-toggle::before { content: "☀️"; left: 32px; background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(243, 244, 246) 100%); box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px; }

.container > .theme-toggle:hover { box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px inset, rgba(124, 92, 255, 0.2) 0px 4px 12px; }

[data-theme="light"] .container > .theme-toggle:hover { box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px inset, rgba(251, 191, 36, 0.4) 0px 4px 12px; }

.container > .theme-toggle:active::before { transform: translateY(-50%) scale(0.9); }

.search-card { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); padding: 28px; border-radius: 20px; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(255,255,255,0.03); backdrop-filter: blur(24px); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }

.search-card::before { content: ""; position: absolute; top: 0px; left: 0px; right: 0px; height: 2px; background: linear-gradient(90deg, oklch(var(--p)), oklch(var(--s)), oklch(var(--a))); opacity: 0; transition: opacity 0.3s; }

.search-card:hover::before { opacity: 1; }

.search-card:hover { border-color: oklch(var(--p) / 0.5); box-shadow: var(--shadow-colored), 0 0 0 1px oklch(var(--p) / 0.1); transform: translateY(-4px) scale(1.01); }

.input-wrap { display: flex; gap: 8px; align-items: center; }

#anime-search { flex: 1 1 0%; background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); padding: 16px 20px; border-radius: 14px; color: oklch(var(--bc)); font-size: 1rem; font-weight: 500; outline: none; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 4px inset; }

#anime-search::placeholder { color: oklch(var(--bc) / 0.6); opacity: 0.7; font-weight: 400; }

#anime-search:focus { box-shadow: 0 0 0 4px oklch(var(--p) / 0.1), inset 0 2px 4px rgba(0,0,0,0.05); border-color: oklch(var(--p)); transform: translateY(-2px); background: rgba(255, 255, 255, 0.03); }

#clear-btn { background: transparent; border: none; color: oklch(var(--bc) / 0.6); font-size: 1.2rem; cursor: pointer; padding: 10px; border-radius: 10px; transition: 0.2s; display: flex; align-items: center; justify-content: center; }

#clear-btn:hover { color: oklch(var(--p)); background: oklch(var(--p) / 0.1); transform: scale(1.1) rotate(90deg); }

.suggestions { margin-top: 12px; max-height: 420px; overflow: auto; list-style: none; padding: 6px; border-radius: 10px; border: 1px solid oklch(var(--bc) / 0.2); background: oklch(var(--b2)); box-shadow: var(--shadow-sm); }

.suggestions li { padding: 10px 12px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: oklch(var(--bc)); transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }

.suggestions li::before { content: ""; position: absolute; top: 0px; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent); transition: left 0.5s; }

.suggestions li:hover::before { left: 100%; }

.suggestions li[aria-selected="true"], .suggestions li:hover { background: linear-gradient(90deg, rgba(124, 92, 255, 0.12), rgba(124, 92, 255, 0.06)); color: oklch(var(--bc)); transform: translateX(4px); }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] .suggestions li:hover { background: linear-gradient(90deg, rgba(217, 70, 239, 0.08), rgba(217, 70, 239, 0.04)); }
*/

.suggestions .title { font-weight: 600; }

.suggestions .meta { font-size: 0.85rem; color: oklch(var(--bc) / 0.6); }

.hl { background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)); padding: 0px 4px; border-radius: 4px; color: oklch(var(--bc)); }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] .hl { background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.04)); }
*/

.suggestion-layout { display: flex; gap: 12px; padding: 8px; border-radius: 8px; align-items: flex-start; }

.suggestion-layout img { border-radius: 6px; object-fit: cover; width: 48px; height: 68px; flex: 0 0 auto; margin-right: 8px; }

.suggestion-layout .content { flex: 1 1 auto; min-width: 0px; }

.title-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

.score { font-size: 0.9rem; color: oklch(var(--p)); white-space: nowrap; }

.synopsis { margin-top: 4px; font-size: 0.85rem; color: oklch(var(--bc) / 0.6); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.visually-hidden { height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; position: absolute !important; }

.airing-widget { margin-top: 20px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); padding: 20px; border-radius: 16px; box-shadow: var(--shadow-sm); backdrop-filter: blur(20px); transition: 0.3s; animation: 0.5s ease 0s 1 normal none running fadeInUp; display: flex; flex-direction: column; }

.airing-widget:hover { border-color: oklch(var(--p) / 0.5); box-shadow: 0 0 0 1px oklch(var(--p) / 0.1), var(--shadow-sm); }

.airing-widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

.airing-widget-header h2 { font-size: 1.125rem; font-weight: 600; color: oklch(var(--bc)); margin: 0px; }

.airing-widget-expand { padding: 6px 16px; background: oklch(var(--p)); color: white; border: none; border-radius: 8px; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: 0.2s; }

.airing-widget-expand:hover { background: oklch(var(--p) / 0.9); transform: translateY(-2px); box-shadow: rgba(168, 85, 247, 0.3) 0px 4px 12px; }

.airing-widget-content { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

.airing-widget-item { background: oklch(var(--b1)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 12px; padding: 12px; display: flex; gap: 12px; align-items: center; transition: 0.2s; cursor: pointer; }

.airing-widget-item:hover { transform: translateY(-2px); border-color: oklch(var(--p) / 0.5); box-shadow: rgba(168, 85, 247, 0.15) 0px 4px 12px; }

.airing-widget-poster { width: 50px; height: 70px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }

.airing-widget-info { flex: 1 1 0%; min-width: 0px; }

.airing-widget-title { font-size: 0.875rem; font-weight: 500; color: oklch(var(--bc)); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.airing-widget-episode { font-size: 0.75rem; color: oklch(var(--bc) / 0.6); margin-bottom: 6px; }

.airing-widget-countdown { font-size: 0.8rem; font-weight: 600; color: oklch(var(--p)); font-family: Poppins, sans-serif; letter-spacing: -0.01em; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(168, 85, 247, 0.05)); border-radius: 20px; border: 1px solid rgba(168, 85, 247, 0.2); }

.airing-widget-countdown::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: oklch(var(--p)); animation: 2s cubic-bezier(0.4, 0, 0.6, 1) 0s infinite normal none running pulse; flex-shrink: 0; }

.airing-widget-countdown.updating { animation: 0.5s ease 0s 1 normal none running countdownPulse; }

.airing-widget-countdown.urgent { color: rgb(239, 68, 68); border-color: rgba(239, 68, 68, 0.3); background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05)); animation: 2s ease-in-out 0s infinite normal none running urgentPulse; }

.airing-widget-countdown.urgent::before { background: rgb(239, 68, 68); animation: 1s ease-in-out 0s infinite normal none running urgentBlink; }

.airing-widget-countdown.soon { color: rgb(245, 158, 11); border-color: rgba(245, 158, 11, 0.3); background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05)); }

.airing-widget-countdown.soon::before { background: rgb(245, 158, 11); animation: 1.5s cubic-bezier(0.4, 0, 0.6, 1) 0s infinite normal none running pulse; }

.airing-widget-placeholder { text-align: center; padding: 40px 20px; color: oklch(var(--bc) / 0.6); }

.airing-placeholder-icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.5; }

.airing-widget-placeholder p { font-size: 0.875rem; margin: 0px; }

.saved-card { margin-top: 24px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); padding: 24px; border-radius: 18px; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(255,255,255,0.02); backdrop-filter: blur(24px); transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; }

.saved-card::before { content: ""; position: absolute; top: 0px; left: 0px; right: 0px; height: 3px; background: linear-gradient(90deg, oklch(var(--p)), oklch(var(--s))); transform: scaleX(0); transform-origin: left center; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }

.saved-card:hover::before { transform: scaleX(1); }

.saved-card:hover { border-color: oklch(var(--p) / 0.5); box-shadow: var(--shadow-colored), 0 0 0 1px oklch(var(--p) / 0.1); transform: translateY(-3px); }

.saved-card header { margin-bottom: 32px !important; }

.saved-card header h2 { color: oklch(var(--bc)); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }

#clear-saved { background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc)); padding: 8px 16px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.875rem; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px; }

#clear-saved:hover { color: oklch(var(--bc)); background: oklch(var(--p)); border-color: oklch(var(--p)); transform: translateY(-2px) scale(1.05); box-shadow: var(--shadow-colored); }

#export-btn, #import-btn { background: transparent; border: 2px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc) / 0.6); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; font-size: 0.85rem; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

#export-btn:hover, #import-btn:hover { color: oklch(var(--bc)); background: oklch(var(--p) / 0.1); border-color: oklch(var(--p) / 0.5); transform: translateY(-1px); }

#export-btn:active, #import-btn:active { transform: scale(0.95); }

.icon-btn { background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc)); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); position: relative; }

.icon-btn:hover { border-color: oklch(var(--p)); background: oklch(var(--p) / 0.1); transform: translateY(-2px); box-shadow: 0 4px 12px oklch(var(--p) / 0.1); }

.icon-btn:active { transform: translateY(0px); }

.icon-btn svg { transition: transform 0.2s; }

.icon-btn:hover svg { transform: scale(1.1); }

.dropdown-menu { position: absolute; top: calc(100% + 8px); right: 0px; background: oklch(var(--b1)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 12px; padding: 8px; min-width: 200px; box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 24px; z-index: 10; animation: 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s 1 normal none running dropdown-slide; }

#sort-select { background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc)); padding: 6px 12px; border-radius: 10px; cursor: pointer; font-weight: 500; font-size: 0.9rem; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

#sort-select:hover { border-color: oklch(var(--p) / 0.5); background: oklch(var(--p) / 0.1); }

#sort-select:focus { outline: none; border-color: oklch(var(--p)); box-shadow: 0 0 0 3px oklch(var(--p) / 0.1); }

#sort-select option { background: oklch(var(--b1)); color: oklch(var(--bc)); padding: 8px; }

.filter-select { background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc)); padding: 6px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 0.85rem; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); min-width: 140px; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

.filter-select:hover { border-color: oklch(var(--p) / 0.5); background: oklch(var(--p) / 0.1); transform: translateY(-1px); }

.filter-select:focus { outline: none; border-color: oklch(var(--p)); box-shadow: 0 0 0 3px oklch(var(--p) / 0.1); }

.filter-select option { background: oklch(var(--b1)); color: oklch(var(--bc)); padding: 12px; font-weight: 500; font-size: 1rem; }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="dark"] .filter-select option { background: rgb(26, 31, 46); color: rgb(226, 232, 240); }

[data-theme="light"] .filter-select option { background: rgb(255, 255, 255); color: rgb(15, 23, 42); }
*/

.saved-list { margin-top: 40px; list-style: none; padding-left: 0px; display: flex; flex-direction: column; gap: 16px; }

.empty-state-card { background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0.05) 100%); border: 2px dashed oklch(var(--p)); border-radius: 16px; padding: 48px 32px; text-align: center; margin: 40px auto; max-width: 500px; animation: 0.5s ease 0s 1 normal none running fadeIn; }

.empty-state-icon { font-size: 4rem; margin-bottom: 16px; animation: 2s ease 0s infinite normal none running bounce; }

.empty-state-title { font-size: 1.5rem; font-weight: 700; color: oklch(var(--bc)); margin: 0px 0px 12px; }

.empty-state-text { font-size: 1rem; color: oklch(var(--bc) / 0.6); margin: 0px 0px 20px; line-height: 1.6; }

.empty-state-hint { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: oklch(var(--p)); background: rgba(168, 85, 247, 0.1); padding: 8px 16px; border-radius: 20px; font-weight: 600; }

.stats-dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 20px; padding: 16px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 12px; backdrop-filter: blur(20px); }

.stat-item { text-align: center; padding: 12px; background: oklch(var(--p) / 0.1); border-radius: 10px; border: 1px solid oklch(var(--bc) / 0.2); transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

.stat-item:hover { transform: translateY(-2px); border-color: oklch(var(--p) / 0.5); box-shadow: 0 4px 12px oklch(var(--p) / 0.1); }

.stat-value { font-size: 1.75rem; font-weight: 700; color: oklch(var(--bc)); margin-bottom: 4px; }

.stat-label { font-size: 0.75rem; color: oklch(var(--bc) / 0.6); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

.saved-list li:not(.list-anime-card):not(.list-letter-header) { display: flex; align-items: stretch; justify-content: space-between; padding: 0px; border-radius: 12px; gap: 0px; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; overflow: hidden; position: relative; }

.saved-list li:not(.list-anime-card):not(.list-letter-header):hover { border-color: oklch(var(--bc) / 0.2); transform: translateX(4px); box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px; }

.saved-left { display: flex; gap: 14px; align-items: center; flex: 1 1 auto; min-width: 0px; padding: 0px 12px 0px 0px; }

.saved-list img { width: 120px; height: 170px; object-fit: cover; object-position: center center; border-radius: 0px; flex: 0 0 120px; box-shadow: none; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%); display: block; }

.saved-left > div { position: relative; flex: 0 0 120px; width: 120px; height: 170px; overflow: visible; }

.anime-icon-btn { width: 32px; height: 32px; border-radius: 8px; border: none; background: rgba(128, 128, 128, 0.5); backdrop-filter: blur(10px); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; padding: 0px; }

.anime-icon-btn:hover { background: oklch(var(--p)); transform: scale(1.1); box-shadow: rgba(139, 92, 246, 0.4) 0px 4px 12px; }

.anime-icon-btn:active { transform: scale(0.95); }

.anime-icon-btn svg { width: 20px; height: 20px; }

.saved-list .info { display: flex; flex-direction: column; min-width: 0px; overflow: hidden; padding: 14px 0px 14px 14px; justify-content: center; flex: 1 1 0%; }

.saved-list .title { font-weight: 600; font-size: 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: oklch(var(--bc)); }

.saved-list .meta { font-size: 0.85rem; color: oklch(var(--bc) / 0.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }

.progress-wrap { margin-top: 6px; display: flex; align-items: center; gap: 8px; }

.progress-bar { flex: 1 1 0%; height: 6px; background: oklch(var(--b2)); border-radius: 999px; overflow: hidden; border: 1px solid oklch(var(--bc) / 0.2); }

.progress-fill { height: 100%; background: linear-gradient(90deg, oklch(var(--p)), rgba(255, 107, 157, 0.7)); border-radius: 999px; transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 0 8px oklch(var(--p) / 0.1); }

.progress-text { font-size: 0.75rem; font-weight: 600; color: oklch(var(--p)); min-width: 35px; text-align: right; }

.saved-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-left: 12px; margin-right: 12px; padding: 14px 0px; min-width: 72px; text-align: right; }

.saved-right .score { font-weight: 700; font-size: 0.95rem; transition: 0.2s; }

.score-high { color: rgb(16, 185, 129) !important; text-shadow: rgba(16, 185, 129, 0.3) 0px 0px 10px; }

.score-mid { color: rgb(251, 191, 36) !important; text-shadow: rgba(251, 191, 36, 0.3) 0px 0px 10px; }

.score-low { color: rgb(239, 68, 68) !important; text-shadow: rgba(239, 68, 68, 0.3) 0px 0px 10px; }

.saved-right .eps { font-size: 0.9rem; color: oklch(var(--bc) / 0.6); font-weight: 500; }

.saved-list .remove { margin-left: 8px; background: transparent; border: 2px solid transparent; color: oklch(var(--bc) / 0.6); cursor: pointer; padding: 8px; border-radius: 8px; flex: 0 0 auto; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

.saved-list .remove:hover { color: rgb(239, 68, 68); background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.3); transform: scale(1.1); }

.saved-list .refresh-btn { margin-left: 8px; background: transparent; border: 2px solid transparent; color: oklch(var(--p)); cursor: pointer; padding: 8px; border-radius: 8px; flex: 0 0 auto; align-self: center; font-size: 1.2rem; line-height: 1; transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1); }

.saved-list .refresh-btn:hover { color: oklch(var(--p)); background: oklch(var(--p) / 0.1); border-color: oklch(var(--p)); transform: rotate(-30deg) scale(1.1); animation: 1.5s ease-in-out 0s infinite normal none running pulse-glow; }

.saved-list .refresh-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.saved-list .refresh-btn.refreshing { animation: 1s linear 0s infinite normal none running spin; }

.saved-list .info-btn { margin-left: 8px; background: transparent; border: 2px solid transparent; color: oklch(var(--p)); cursor: pointer; padding: 8px; border-radius: 8px; flex: 0 0 auto; align-self: center; font-size: 1.1rem; line-height: 1; transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1); }

.saved-list .info-btn:hover { color: rgb(96, 165, 250); background: rgba(59, 130, 246, 0.15); border-color: rgba(59, 130, 246, 0.4); transform: scale(1.15); }

.chosen-season { font-size: 0.85rem; color: oklch(var(--bc) / 0.6); margin-top: 6px; }

.chosen-season.green { background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08)); color: rgb(16, 185, 129); border-radius: 999px; padding: 6px 12px; border: 1px solid rgba(16, 185, 129, 0.3); display: inline-block; font-weight: 600; font-size: 0.9rem; }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] .chosen-season.green { background: linear-gradient(135deg, rgb(209, 250, 229), rgb(167, 243, 208)); color: rgb(6, 95, 70); border-color: rgb(110, 231, 183); }
*/

.more-seasons { font-size: 0.85rem; color: oklch(var(--bc) / 0.6); margin-top: 6px; font-weight: 500; }

.more-seasons::before { content: "📺 "; color: oklch(var(--p)); margin-right: 6px; }

.chosen-season.completed { background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.15)); color: rgb(16, 185, 129); border-radius: 999px; padding: 6px 14px; border: 1px solid rgba(16, 185, 129, 0.4); display: inline-block; font-weight: 700; font-size: 0.9rem; box-shadow: rgba(16, 185, 129, 0.2) 0px 0px 20px; }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] .chosen-season.completed { background: linear-gradient(135deg, rgb(209, 250, 229), rgb(167, 243, 208)); color: rgb(6, 95, 70); border-color: rgb(110, 231, 183); box-shadow: rgba(16, 185, 129, 0.15) 0px 0px 20px; }
*/

.episode-input { width: 100px; background: oklch(var(--b2)); border: 1px solid oklch(var(--b2)); color: oklch(var(--bc)); padding: 8px 10px; border-radius: 8px; text-align: center; }

.episode-input:focus { outline: none; border-color: oklch(var(--p)); box-shadow: rgba(124, 92, 255, 0.08) 0px 8px 20px; }

.episode-input::-webkit-inner-spin-button, .episode-input::-webkit-outer-spin-button { appearance: none; margin: 0px; }

.episode-input[type="number"] { appearance: textfield; }

.episode-stepper { background: rgba(124, 92, 255, 0.15); border: 1px solid rgba(124, 92, 255, 0.3); color: oklch(var(--p)); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: 0.2s; }

.episode-stepper:hover { background: rgba(124, 92, 255, 0.25); border-color: oklch(var(--p)); }

.episode-stepper:active { transform: scale(0.95); }

.more-seasons { font-size: 0.85rem; color: oklch(var(--bc) / 0.6); margin-top: 6px; }

.more-seasons::before { content: "📺 "; color: oklch(var(--p)); margin-right: 6px; }

.season-row { display: flex; gap: 8px; align-items: center; margin-top: 8px; }

.season-select { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc)); padding: 8px 12px; border-radius: 10px; cursor: pointer; min-width: 140px; font-weight: 600; }

.season-badge { font-size: 0.85rem; padding: 4px 8px; border-radius: 999px; background: oklch(var(--b2)); color: oklch(var(--bc) / 0.6); border: 1px solid oklch(var(--bc) / 0.2); }

.season-badge.green { background: rgb(21, 63, 22); color: rgb(191, 245, 182); border-color: rgba(31, 138, 45, 0.3); box-shadow: rgba(31, 138, 45, 0.08) 0px 4px 14px; }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] .season-badge.green { background: rgb(209, 250, 229); color: rgb(6, 95, 70); border-color: rgb(110, 231, 183); }
*/

.select-wrap { position: relative; display: inline-block; }

.select-wrap { position: relative; display: inline-block; }

.custom-select { position: relative; display: inline-block; min-width: 140px; }

.custom-select-button { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 12px; cursor: pointer; border: 2px solid oklch(var(--bc) / 0.2); background: oklch(var(--b2)); box-shadow: var(--shadow-sm); color: oklch(var(--bc)); font-weight: 600; font-size: 0.95rem; transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

.custom-select-button:hover { box-shadow: 0 0 0 3px oklch(var(--p) / 0.1); border-color: oklch(var(--p)); transform: translateY(-1px); }

.custom-select-button:focus { outline: none; border-color: oklch(var(--p)); box-shadow: 0 0 0 3px oklch(var(--p) / 0.1); }

.custom-select-button .label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.custom-select-button .arrow { color: oklch(var(--bc) / 0.6); margin-left: 8px; transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

.custom-select-button[aria-expanded="true"] .arrow { transform: rotate(180deg); }

.custom-select-list { position: absolute; z-index: 40; margin-top: 8px; border-radius: 12px; padding: 8px; background: rgba(18, 20, 29, 0.95); backdrop-filter: blur(20px); border: 2px solid oklch(var(--bc) / 0.2); box-shadow: var(--shadow); max-height: 320px; overflow: auto; min-width: 160px; opacity: 0; transform: translateY(-8px); transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1); }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] .custom-select-list { background: rgba(255, 255, 255, 0.95); }
*/

.custom-select-list.open { opacity: 1; transform: translateY(0px); }

.custom-select-item { padding: 10px 12px; border-radius: 10px; color: oklch(var(--bc)); cursor: pointer; font-weight: 500; transition: 0.15s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid transparent; }

.custom-select-item:hover, .custom-select-item[aria-selected="true"] { background: oklch(var(--p) / 0.1); color: oklch(var(--p)); border-color: oklch(var(--bc) / 0.2); transform: translateX(4px); }

[data-theme="light"] .custom-select-item:hover, [data-theme="light"] .custom-select-item[aria-selected="true"] { background: oklch(var(--p) / 0.1); color: oklch(var(--p)); }

.select-wrap .season-select option { color: oklch(var(--bc)); background: oklch(var(--b2)); }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] .select-wrap .season-select option { color: rgb(15, 23, 42); background: rgb(255, 255, 255); }
*/

.select-wrap .season-select { color: rgb(255, 255, 255); text-shadow: rgba(0, 0, 0, 0.6) 0px 1px 0px; }

.arc-modal-backdrop { position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; z-index: 20; }

.arc-modal { background: var(--surface, #071022); color: var(--text, #eef5ff); width: 720px; max-width: 95%; border-radius: 10px; padding: 18px; box-shadow: rgba(0, 0, 0, 0.4) 0px 8px 30px; }

.arc-modal h3 { margin: 0px 0px 12px; }

.arc-rows { max-height: 320px; overflow: auto; padding: 6px; border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 6px; background: oklch(var(--b2)); }

.arc-row { display: flex; gap: 8px; align-items: center; padding: 8px; border-bottom: 1px dashed rgba(255, 255, 255, 0.02); }

.arc-row input[type="text"], .arc-row input[type="number"] { padding: 6px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.06); background: var(--surface, #071022); color: var(--text, #eef5ff); }

.arc-row .remove-arc { background: transparent; border: none; color: oklch(var(--p)); font-size: 16px; cursor: pointer; }

.arc-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }

.btn { padding: 8px 12px; border-radius: 8px; border: 0px; cursor: pointer; }

.smart-arc { display: flex; gap: 8px; align-items: center; padding: 6px 8px; background: rgba(255, 255, 255, 0.02); border-radius: 6px; margin-bottom: 6px; }

.smart-arc .title { flex: 1 1 0%; color: rgb(230, 237, 243); }

.smart-arc .meta { color: rgb(159, 176, 200); font-size: 12px; white-space: nowrap; }

.feedback-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.06); color: oklch(var(--bc) / 0.6); padding: 6px 8px; border-radius: 8px; cursor: pointer; }

.feedback-btn:hover { background: rgba(255, 255, 255, 0.02); color: rgb(255, 255, 255); }

.feedback-sent { background: rgb(17, 68, 51); color: rgb(187, 255, 255); border-color: rgba(31, 138, 45, 0.2); }

.refresh-btn { background: transparent; border: 1px solid rgba(255, 255, 255, 0.06); color: oklch(var(--bc) / 0.6); padding: 6px 8px; border-radius: 8px; cursor: pointer; }

.refresh-btn:hover { background: rgba(255, 255, 255, 0.02); color: rgb(255, 255, 255); }

.update-error { color: rgb(248, 215, 218); background: rgba(255, 0, 0, 0.04); padding: 6px 8px; border-radius: 8px; margin-top: 6px; border: 1px solid rgba(255, 0, 0, 0.06); max-width: 240px; }

.btn.primary { background: oklch(var(--p)); color: rgb(255, 255, 255); }

.btn.ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.04); color: rgb(255, 255, 255); }

.btn { color: rgb(255, 255, 255); }

.btn.ghost:hover { background: rgba(255, 255, 255, 0.02); border-color: rgba(255, 255, 255, 0.08); }

.arc-actions .btn { background: transparent; color: rgb(255, 255, 255); border: 1px solid rgba(255, 255, 255, 0.04); }

.arc-actions .btn.primary { background: oklch(var(--p)); border-color: transparent; }

.preview-suggestions { border: 1px dashed rgba(255, 255, 255, 0.04); padding: 10px; border-radius: 8px; margin-bottom: 10px; background: linear-gradient(rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.004)); }

.preview-title { font-weight: 700; color: rgb(255, 255, 255); margin-bottom: 8px; }

.preview-list { display: flex; flex-direction: column; gap: 8px; max-height: 220px; overflow: auto; padding-right: 6px; }

.preview-item { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 6px; background: transparent; }

.preview-item label { flex: 1 1 0%; color: oklch(var(--bc) / 0.6); font-size: 0.95rem; }

.preview-range { color: oklch(var(--bc) / 0.6); margin-left: 8px; font-weight: 600; }

.preview-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }

.preview-item input[type="checkbox"] { transform: scale(1.05); }

.preview-item .btn { padding: 6px 10px; }

.update-badge { background: rgb(255, 204, 0); color: rgb(8, 18, 24); padding: 6px 8px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; border: 1px solid rgba(0, 0, 0, 0.12); }

.update-badge.small { padding: 4px 6px; font-size: 0.75rem; }

.registered-badge { background: rgba(124, 92, 255, 0.2); color: rgb(184, 160, 255); padding: 4px 6px; border-radius: 999px; font-weight: 600; font-size: 0.7rem; border: 1px solid rgba(124, 92, 255, 0.3); }

.refresh-btn { border-radius: 8px !important; }

.mobile-refresh-btn { padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.02); color: oklch(var(--bc)); border-radius: 8px; cursor: pointer; font-size: 0.9rem; transition: 0.2s; }

.mobile-refresh-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.15); }

.mobile-refresh-btn.secondary { background: rgba(oklch(var(--p)), 0.05); border-color: rgba(oklch(var(--p)), 0.2); }

.mobile-refresh-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.countdown-badge { background: rgba(0, 200, 140, 0.2); color: rgb(0, 230, 160); padding: 4px 6px; border-radius: 999px; font-weight: 600; font-size: 0.7rem; border: 1px solid rgba(0, 200, 140, 0.3); margin-left: 4px; }

.series-badge { background: rgba(255, 160, 0, 0.2); color: rgb(255, 184, 77); padding: 4px 6px; border-radius: 999px; font-weight: 600; font-size: 0.7rem; border: 1px solid rgba(255, 160, 0, 0.3); margin-left: 4px; cursor: pointer; transition: 0.2s; }

.series-badge:hover { background: rgba(255, 160, 0, 0.3); transform: scale(1.05); }

.seasons-list { margin-top: 12px; padding: 12px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); }

.seasons-header { font-weight: 700; font-size: 0.85rem; color: oklch(var(--bc) / 0.6); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; display: flex; justify-content: space-between; align-items: center; }

.seasons-close-btn { background: none; border: none; color: oklch(var(--bc) / 0.6); font-size: 1.2rem; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: 0.2s; line-height: 1; }

.seasons-close-btn:hover { background: rgba(255, 255, 255, 0.1); color: oklch(var(--bc)); transform: scale(1.1); }

.season-item { padding: 8px 12px; margin: 4px 0px; background: rgba(255, 255, 255, 0.05); border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; transition: 0.2s; }

.season-item:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); }

.season-item.current { border-left: 3px solid oklch(var(--p)); background: rgba(124, 92, 255, 0.1); }

.season-item.airing { border-left: 3px solid rgb(0, 230, 160); }

.season-name { font-weight: 600; font-size: 0.9rem; }

.season-meta { font-size: 0.8rem; color: oklch(var(--bc) / 0.6); display: flex; gap: 8px; align-items: center; }

.airing-label { background: rgba(0, 200, 140, 0.2); color: rgb(0, 230, 160); padding: 2px 6px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; }

.upcoming-label { background: rgba(255, 160, 0, 0.2); color: rgb(255, 184, 77); padding: 2px 6px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; }

.confetti { position: fixed; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; z-index: 20; animation: 1s ease-out 0s 1 normal forwards running confetti-fall; }

.keyboard-modal { position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 20; animation: 0.2s ease 0s 1 normal none running modal-fade-in; }

.keyboard-modal-content { background: oklch(var(--b1)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 16px; padding: 32px; max-width: 500px; width: 90%; box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 60px; animation: 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0s 1 normal none running modal-slide-up; }

.keyboard-modal-content h3 { color: oklch(var(--bc)); font-size: 1.5rem; margin-bottom: 20px; text-align: center; }

.shortcut-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }

.shortcut-item { display: flex; align-items: center; justify-content: space-between; padding: 12px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 10px; }

.shortcut-item kbd { background: oklch(var(--p)); color: white; padding: 6px 12px; border-radius: 6px; font-family: Monaco, "Courier New", monospace; font-size: 0.9rem; font-weight: 600; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px; min-width: 40px; text-align: center; }

.shortcut-item span { color: oklch(var(--bc)); font-size: 0.95rem; }

.close-modal-btn { width: 100%; padding: 12px; background: oklch(var(--p)); color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.2s; }

.close-modal-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px oklch(var(--p) / 0.1); }

footer { margin-top: auto; padding-top: 40px; }

.flex-row { display: flex; gap: 15px; }

.flex-row-centered { display: flex; align-items: center; gap: 16px; }

.flex-row-small { display: flex; align-items: center; gap: 8px; }

.clickable { cursor: pointer; }

.gradient-btn { background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%); color: white; border: none; }

.border-bottom { border-bottom: 2px solid oklch(var(--bc) / 0.2); padding-bottom: 15px; }

.mb-30 { margin-bottom: 30px; }

.text-sm { color: oklch(var(--bc) / 0.7); font-size: 14px; }

.form-select { padding: 8px 12px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 8px; color: oklch(var(--bc)); font-family: inherit; cursor: pointer; }

.hidden { display: none; }

.mobile-edit-popup-overlay { position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(8px); z-index: 10000; display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); padding: 0px; }

.mobile-edit-popup-overlay.visible { opacity: 1; }

.mobile-edit-popup { background: white; width: 100%; max-height: 85vh; border-radius: 24px 24px 0px 0px; box-shadow: rgba(0, 0, 0, 0.3) 0px -4px 20px; display: flex; flex-direction: column; transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden; }

.mobile-edit-popup-overlay.visible .mobile-edit-popup { transform: translateY(0px); }

[data-theme="dark"] .mobile-edit-popup { background: oklch(var(--b1)); border-top: 1px solid oklch(var(--bc) / 0.2); }

.mobile-edit-popup-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid rgb(229, 229, 229); flex-shrink: 0; }

[data-theme="dark"] .mobile-edit-popup-header { border-bottom-color: oklch(var(--bc) / 0.2); }

.mobile-edit-popup-header span { font-size: 1.1rem; font-weight: 700; color: rgb(0, 0, 0); }

[data-theme="dark"] .mobile-edit-popup-header span { color: oklch(var(--bc)); }

.mobile-edit-popup-close { width: 36px; height: 36px; border-radius: 50%; border: none; background: rgb(243, 244, 246); color: rgb(107, 114, 128); font-size: 1.3rem; font-weight: 400; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; padding: 0px; line-height: 1; }

[data-theme="dark"] .mobile-edit-popup-close { background: oklch(var(--b2)); color: oklch(var(--bc)); }

.mobile-edit-popup-close:active { background: rgb(229, 231, 235); transform: scale(0.95); }

[data-theme="dark"] .mobile-edit-popup-close:active { background: oklch(var(--p) / 0.1); }

.mobile-edit-popup-body { padding: 20px; overflow-y: auto; flex: 1 1 0%; }

.mobile-popup-info { display: flex; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgb(229, 229, 229); }

[data-theme="dark"] .mobile-popup-info { border-bottom-color: oklch(var(--bc) / 0.2); }

.mobile-popup-image { width: 90px; height: 130px; object-fit: cover; border-radius: 8px; flex-shrink: 0; box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px; }

.mobile-popup-details { flex: 1 1 0%; display: flex; flex-direction: column; gap: 6px; }

.mobile-popup-title { font-size: 0.95rem; font-weight: 700; color: rgb(0, 0, 0); line-height: 1.3; margin: 0px; }

[data-theme="dark"] .mobile-popup-title { color: oklch(var(--bc)); }

.mobile-popup-rating { font-size: 0.8rem; color: rgb(251, 191, 36); font-weight: 600; }

.mobile-popup-genres { font-size: 0.75rem; color: rgb(107, 114, 128); font-weight: 500; }

[data-theme="dark"] .mobile-popup-genres { color: oklch(var(--bc) / 0.6); }

.mobile-popup-description { font-size: 0.75rem; color: rgb(107, 114, 128); line-height: 1.4; margin-top: 4px; }

[data-theme="dark"] .mobile-popup-description { color: oklch(var(--bc) / 0.6); }

.mobile-popup-controls { display: flex; flex-direction: column; gap: 16px; }

.mobile-popup-summary { display: flex; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgb(229, 229, 229); }

[data-theme="dark"] .mobile-popup-summary { border-bottom-color: oklch(var(--bc) / 0.2); }

.mobile-popup-cover { flex-shrink: 0; }

.mobile-popup-cover img { width: 80px; height: 110px; object-fit: cover; border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px; }

.mobile-popup-meta { flex: 1 1 0%; display: flex; flex-direction: column; justify-content: center; gap: 6px; }

.mobile-popup-title { font-size: 1rem; font-weight: 700; color: rgb(0, 0, 0); line-height: 1.3; }

[data-theme="dark"] .mobile-popup-title { color: oklch(var(--bc)); }

.mobile-popup-subtitle { font-size: 0.85rem; color: rgb(107, 114, 128); font-weight: 500; }

[data-theme="dark"] .mobile-popup-subtitle { color: oklch(var(--bc) / 0.6); }

.mobile-popup-action-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }

.mobile-popup-action { padding: 10px 8px; border-radius: 10px; border: 2px solid rgb(229, 229, 229); background: white; color: rgb(55, 65, 81); font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; gap: 6px; }

[data-theme="dark"] .mobile-popup-action { background: oklch(var(--b2)); border-color: oklch(var(--bc) / 0.2); color: oklch(var(--bc)); }

.mobile-popup-action svg { width: 16px; height: 16px; }

.mobile-popup-action span { font-size: 0.85rem; }

.mobile-popup-action:active { transform: scale(0.97); background: rgb(249, 250, 251); }

[data-theme="dark"] .mobile-popup-action:active { background: oklch(var(--p) / 0.1); }

.mobile-popup-action.positive { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.3); color: rgb(22, 163, 74); }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="dark"] .mobile-popup-action.positive { background: rgba(34, 197, 94, 0.15); color: rgb(74, 222, 128); }
*/

.mobile-popup-action.positive:active { background: rgba(34, 197, 94, 0.2); }

.mobile-popup-action.danger { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.3); color: rgb(220, 38, 38); }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="dark"] .mobile-popup-action.danger { background: rgba(239, 68, 68, 0.15); color: rgb(248, 113, 113); }
*/

.mobile-popup-action.danger:active { background: rgba(239, 68, 68, 0.2); }

.mobile-popup-icon-row { display: flex; gap: 12px; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgb(229, 229, 229); }

[data-theme="dark"] .mobile-popup-icon-row { border-top-color: oklch(var(--bc) / 0.2); }

.mobile-popup-icon { flex: 1 1 0%; padding: 12px; border-radius: 12px; border: 2px solid rgb(229, 229, 229); background: white; color: rgb(107, 114, 128); font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: 0.2s; display: flex; flex-direction: column; align-items: center; gap: 6px; }

[data-theme="dark"] .mobile-popup-icon { background: oklch(var(--b2)); border-color: oklch(var(--bc) / 0.2); color: oklch(var(--bc)); }

.mobile-popup-icon:active { transform: scale(0.97); background: rgb(249, 250, 251); }

[data-theme="dark"] .mobile-popup-icon:active { background: oklch(var(--p) / 0.1); }

.mobile-popup-icon svg { color: rgb(124, 58, 237); }

[data-theme="dark"] .mobile-popup-icon svg { color: oklch(var(--p)); }

.mobile-open-popup-btn { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); padding: 10px 20px; border-radius: 999px; border: none; background: linear-gradient(135deg, rgb(124, 58, 237), rgb(168, 85, 247)); color: white; font-size: 0.85rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; box-shadow: rgba(124, 58, 237, 0.4) 0px 4px 12px; transition: 0.2s; z-index: 10; }

.mobile-open-popup-btn:active { transform: translateX(-50%) scale(0.95); box-shadow: rgba(124, 58, 237, 0.3) 0px 2px 8px; }

.mobile-open-popup-btn svg { width: 18px; height: 18px; }

.view-mode-toggle { display: flex; gap: 8px; margin-bottom: 16px; justify-content: flex-end; }

.view-mode-btn { padding: 10px 14px; border-radius: 8px; border: 2px solid oklch(var(--bc) / 0.2); background: oklch(var(--b1)); color: oklch(var(--bc) / 0.6); cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 500; }

.view-mode-btn:hover { background: var(--hover-bg); border-color: oklch(var(--p)); }

.view-mode-btn.active { background: oklch(var(--p)); border-color: oklch(var(--p)); color: white; }

.view-mode-btn svg { display: block; }

#saved-list.list-mode { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0px; }

.list-letter-header { grid-column: 1 / -1; padding: 2px 0px; margin: 8px 0px; border: none; background: none; list-style: none; width: 100%; position: relative; text-align: center; display: flex; align-items: center; justify-content: center; height: auto; }

.list-letter-header:first-child { margin-top: 0px; }

.list-letter-header::before, .list-letter-header::after { content: ""; flex: 1 1 0%; height: 1px; background: linear-gradient(90deg, transparent, oklch(var(--bc) / 0.2), transparent); }

.list-letter-header::before { margin-right: 12px; }

.list-letter-header::after { margin-left: 12px; }

.list-letter-header span { font-size: 0.55rem; font-weight: 400; color: oklch(var(--bc)); letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.5; padding: 0px; background: none !important; }

.list-anime-card { background: oklch(var(--b1)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 12px; padding: 12px; display: flex; gap: 12px; align-items: center; transition: 0.2s; cursor: pointer; position: relative; }

.list-anime-card:hover { transform: translateY(-2px); border-color: oklch(var(--p) / 0.5); box-shadow: rgba(168, 85, 247, 0.15) 0px 4px 12px; }

.list-card-image { border-radius: 6px; object-fit: cover; flex-shrink: 0; max-width: 50px; max-height: 70px; width: 50px !important; height: 70px !important; }

.list-card-info { flex: 1 1 0%; min-width: 0px; display: flex; flex-direction: column; gap: 4px; }

.list-card-title { font-size: 0.875rem; font-weight: 500; color: oklch(var(--bc)); margin-bottom: 4px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

.list-card-episode { font-size: 0.75rem; color: oklch(var(--bc) / 0.6); margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.list-card-rating { font-size: 0.7rem; color: rgb(251, 191, 36); font-weight: 600; }

.list-card-completed, .list-card-progress { position: absolute; bottom: 8px; right: 8px; font-size: 0.7rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; line-height: 1; }

.list-card-completed { background: rgba(34, 197, 94, 0.15); color: rgb(34, 197, 94); border: 1px solid rgba(34, 197, 94, 0.3); }

.list-card-progress { background: rgba(168, 85, 247, 0.15); color: oklch(var(--p)); border: 1px solid rgba(168, 85, 247, 0.3); }

.list-card-actions { display: flex; flex-direction: row; gap: 4px; margin-left: auto; position: absolute; top: 8px; right: 8px; }

.list-card-btn { padding: 6px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 6px; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; }

.list-card-btn:active { transform: scale(0.95); }

.list-card-refresh { color: oklch(var(--p)); }

.list-card-refresh:active { background: rgba(168, 85, 247, 0.1); }

.list-card-delete { color: rgb(239, 68, 68); }

.list-card-delete:active { background: rgba(239, 68, 68, 0.1); }

.list-card-complete { display: inline-flex; align-items: center; gap: 5px; color: var(--success, #22c55e); font-weight: 700; font-size: 0.75rem; background: rgba(34, 197, 94, 0.1); padding: 3px 8px; border-radius: 6px; }

.list-card-complete svg { vertical-align: middle; width: 13px; height: 13px; }

.list-card-score { display: inline-flex; align-items: center; gap: 4px; color: rgb(245, 158, 11); font-weight: 700; font-size: 0.75rem; background: rgba(245, 158, 11, 0.1); padding: 3px 8px; border-radius: 6px; }

.list-card-score svg { vertical-align: middle; width: 13px; height: 13px; }

.list-card-meta { font-size: 0.72rem; color: oklch(var(--bc) / 0.6); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; opacity: 0.8; }

.list-card-description { font-size: 0.8rem; color: oklch(var(--bc) / 0.7); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; opacity: 0.85; margin-top: 2px; }

.fade-out { animation: 2.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s 1 normal forwards running fadeOutMsg; }

.loading-dim { position: relative; display: inline-flex; align-items: center; gap: 4px; animation: 2s ease-in-out 0s infinite normal none running loading-shimmer; color: oklch(var(--bc)); font-weight: 600; }

.loading-dim::after { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: oklch(var(--p)); animation: 1.4s ease-in-out 0s infinite normal none running loading-dot-pulse; margin-left: 2px; }

.back-link { position: absolute; top: 20px; left: 20px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 12px; color: oklch(var(--bc)); text-decoration: none; backdrop-filter: blur(12px); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 30; }

.back-link svg { flex-shrink: 0; }

.back-link:hover { background: oklch(var(--p)); border-color: oklch(var(--p)); color: white; transform: translateX(-4px) scale(1.05); box-shadow: 0 4px 16px oklch(var(--p) / 0.1); }

.container { margin-top: 0px !important; }

.container > .theme-toggle { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); z-index: 10; opacity: 0.4; transition: opacity 0.3s, box-shadow 0.3s; box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px; }

.container > .theme-toggle:hover { opacity: 1; box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 16px; }

.container > .profile-section { position: absolute; top: 20px; right: 20px; z-index: 20; }

.profile-container { max-width: 1200px; width: 100%; margin: 40px auto 0px; padding: 20px; }

.profile-title { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; color: oklch(var(--bc)); margin-bottom: 24px; }

.profile-title svg { color: oklch(var(--p)); width: 24px; height: 24px; }

.profile-card { background: transparent; border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; padding: 0px; margin-bottom: 32px; backdrop-filter: blur(12px); position: relative; overflow: visible !important; }

.profile-header { display: flex; gap: 24px; align-items: center; background: none; border: none; padding: 32px; position: relative; }

.profile-avatar { width: 100px; height: 100px; border-radius: 50%; background: linear-gradient(135deg, oklch(var(--p)), oklch(var(--p) / 0.9)); display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; box-shadow: rgba(124, 92, 255, 0.25) 0px 4px 20px; overflow: hidden; padding: 0px; position: relative; z-index: 1; }

.profile-avatar svg { width: 100%; height: 100%; flex-shrink: 0; padding: 10px; }

.profile-avatar img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0px; left: 0px; padding: 0px; }

.profile-info { flex: 1 1 0%; background: none; border: none; padding: 0px; display: flex; flex-direction: column; gap: 6px; justify-content: center; position: relative; z-index: 1; }

.profile-name { font-size: 2rem; color: oklch(var(--bc)); margin: 0px; font-weight: 700; background: none; border: none; padding: 0px; display: block; letter-spacing: -0.02em; line-height: 1.2; }

.profile-username { font-size: 1.1rem; color: oklch(var(--p)); margin: 0px; font-weight: 600; display: block; }

.profile-joined { font-size: 0.9rem; color: oklch(var(--bc) / 0.6); margin: 0px; display: block; font-weight: 500; }

.edit-profile-btn { position: absolute; top: 24px; right: 24px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; background: oklch(var(--b2)); color: oklch(var(--bc)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 10px; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: 0.2s; }

.edit-profile-btn svg { width: 18px; height: 18px; }

.edit-profile-btn:hover { background: oklch(var(--p)); color: white; border-color: oklch(var(--p)); transform: translateY(-2px); box-shadow: rgba(124, 92, 255, 0.3) 0px 4px 12px; }

.profile-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; z-index: 100; }

.edit-profile-btn, .settings-btn { position: static; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0px; background: oklch(var(--b2)); color: oklch(var(--bc)); border: 2px solid oklch(var(--bc) / 0.3); border-radius: 10px; cursor: pointer; transition: 0.2s; box-shadow: 0 2px 8px oklch(var(--bc) / 0.1); }

.edit-profile-btn svg, .settings-btn svg { width: 20px; height: 20px; stroke-width: 2.5; }

.edit-profile-btn:hover, .settings-btn:hover { background: oklch(var(--p)); color: white; border-color: oklch(var(--p)); transform: translateY(-2px); box-shadow: rgba(124, 92, 255, 0.3) 0px 4px 12px; }

.settings-btn.active { background: oklch(var(--p)); color: white; border-color: oklch(var(--p)); }

.mobile-menu-btn { display: none; position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; padding: 0px; background: oklch(var(--b2)); color: oklch(var(--bc)); border: 2px solid oklch(var(--bc) / 0.3); border-radius: 8px; cursor: pointer; transition: 0.2s; align-items: center; justify-content: center; z-index: 10; box-shadow: 0 2px 8px oklch(var(--bc) / 0.1); }

.mobile-menu-btn svg { width: 20px; height: 20px; stroke-width: 2.5; }

.mobile-menu-btn:hover { background: oklch(var(--p)); color: white; border-color: oklch(var(--p)); }

.settings-menu-item { width: 100%; padding: 12px 16px; background: transparent; border: none; color: oklch(var(--bc)); font-size: 14px; font-weight: 500; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 10px; text-align: left; }

.settings-menu-item svg { width: 18px; height: 18px; flex-shrink: 0; }

.settings-menu-item:hover { background: rgba(255, 255, 255, 0.05); }

.settings-menu-item.danger { color: rgb(239, 68, 68); }

.settings-menu-item.danger:hover { background: rgba(239, 68, 68, 0.1); }

.settings-menu-item.warning { color: rgb(245, 158, 11); }

.settings-menu-item.warning:hover { background: rgba(245, 158, 11, 0.1); }

.settings-modal-options { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }

.settings-modal-options .settings-menu-item { border-radius: 8px; border: 1px solid oklch(var(--bc) / 0.2); background: oklch(var(--b2)); }

.settings-modal-options .settings-menu-item:hover { background: rgba(255, 255, 255, 0.1); border-color: oklch(var(--p)); }

.settings-modal-options .settings-menu-item.danger:hover { background: rgba(239, 68, 68, 0.15); border-color: rgb(239, 68, 68); }

.settings-modal-options .settings-menu-item.warning:hover { background: rgba(245, 158, 11, 0.15); border-color: rgb(245, 158, 11); }

.checkbox-label { display: flex; align-items: center; gap: 12px; padding: 12px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 8px; cursor: pointer; transition: 0.2s; }

.checkbox-label:hover { background: rgba(255, 255, 255, 0.05); border-color: oklch(var(--p)); }

.checkbox-label input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; accent-color: oklch(var(--p)); }

.checkbox-label span { flex: 1 1 0%; font-size: 14px; font-weight: 500; color: oklch(var(--bc)); }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 32px; }

.stat-card { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 12px; padding: 16px; text-align: center; backdrop-filter: blur(12px); transition: 0.3s; animation: 0.5s ease 0s 1 normal backwards running statCardSlideIn; position: relative; overflow: hidden; }

/* Disabled: Using nekos-decorations.css instead */
/* .stat-card::before { content: ""; position: absolute; inset: 0px; opacity: 0; transition: opacity 0.3s; pointer-events: none; } */

/* .stat-card:nth-child(1)::before { background: linear-gradient(135deg, rgba(167, 139, 250, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%); } */

/* .stat-card:nth-child(2)::before { background: linear-gradient(135deg, rgba(96, 165, 250, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%); } */

/* .stat-card:nth-child(3)::before { background: linear-gradient(135deg, rgba(251, 191, 36, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%); } */

/* .stat-card:nth-child(4)::before { background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, rgba(22, 163, 74, 0.08) 100%); } */

/* .stat-card:nth-child(5)::before { background: linear-gradient(135deg, rgba(236, 72, 153, 0.08) 0%, rgba(219, 39, 119, 0.08) 100%); } */

/* .stat-card:nth-child(6)::before { background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(79, 70, 229, 0.08) 100%); } */

/* .stat-card::before { opacity: 1; } */

.stat-card:nth-child(1) { animation-delay: 0.1s; }

.stat-card:nth-child(2) { animation-delay: 0.2s; }

.stat-card:nth-child(3) { animation-delay: 0.3s; }

.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:nth-child(5) { animation-delay: 0.5s; }

.stat-card:nth-child(6) { animation-delay: 0.6s; }

.stat-card:hover { transform: translateY(-4px); }

.stat-card:nth-child(1):hover { border-color: rgba(167, 139, 250, 0.5); box-shadow: rgba(167, 139, 250, 0.25) 0px 8px 24px; }

.stat-card:nth-child(2):hover { border-color: rgba(96, 165, 250, 0.5); box-shadow: rgba(96, 165, 250, 0.25) 0px 8px 24px; }

.stat-card:nth-child(3):hover { border-color: rgba(251, 191, 36, 0.5); box-shadow: rgba(251, 191, 36, 0.25) 0px 8px 24px; }

.stat-card:nth-child(4):hover { border-color: rgba(34, 197, 94, 0.5); box-shadow: rgba(34, 197, 94, 0.25) 0px 8px 24px; }

.stat-card:nth-child(5):hover { border-color: rgba(236, 72, 153, 0.5); box-shadow: rgba(236, 72, 153, 0.25) 0px 8px 24px; }

.stat-card:nth-child(6):hover { border-color: rgba(99, 102, 241, 0.5); box-shadow: rgba(99, 102, 241, 0.25) 0px 8px 24px; }

.stat-icon { font-size: 1.75rem; margin-bottom: 6px; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; }

.stat-value { font-size: 1.5rem; font-weight: 700; color: oklch(var(--bc)); margin-bottom: 4px; font-variant-numeric: tabular-nums; transition: transform 0.3s, color 0.3s; display: inline-block; position: relative; z-index: 1; }

.stat-value:hover { transform: scale(1.1); }

.stat-label { font-size: 0.75rem; color: oklch(var(--bc) / 0.6); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }

.charts-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 24px; }

.chart-card { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; padding: 20px; backdrop-filter: blur(12px); }

.chart-card h3 { color: oklch(var(--bc)); margin: 0px 0px 16px; font-size: 1rem; font-weight: 600; }

.genre-bars { display: flex; flex-direction: column; gap: 12px; }

.genre-bar { display: flex; align-items: center; gap: 12px; }

.genre-label { min-width: 80px; font-size: 0.875rem; color: oklch(var(--bc)); }

.genre-progress { flex: 1 1 0%; height: 24px; background: oklch(var(--b1)); border-radius: 12px; overflow: hidden; position: relative; }

.genre-fill { height: 100%; background: oklch(var(--p)); border-radius: 12px; transition: width 0.6s; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; }

.genre-count { font-size: 0.75rem; color: oklch(var(--bc)); font-weight: 600; }

.advanced-stats-section { margin-bottom: 24px; }

.advanced-stats-section .section-title { color: oklch(var(--bc)); font-size: 1.25rem; font-weight: 700; margin: 0px 0px 16px; }

.advanced-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

.advanced-stat-card { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; padding: 10px; backdrop-filter: blur(12px); transition: transform 0.2s, border-color 0.2s; }

.advanced-stat-card:hover { transform: translateY(-2px); border-color: oklch(var(--p)); }

.advanced-stat-title { color: oklch(var(--bc)); font-size: 1rem; font-weight: 600; margin: 0px 0px 16px; display: flex; align-items: center; gap: 8px; }

.watch-time-stats { display: flex; flex-direction: column; gap: 12px; }

.watch-time-item { display: flex; justify-content: space-between; align-items: center; padding: 8px; background: oklch(var(--b1)); border-radius: 8px; }

.watch-time-label { font-size: 0.875rem; color: oklch(var(--bc)); }

.watch-time-value { font-size: 0.875rem; font-weight: 600; color: oklch(var(--p)); }

.scoring-stats { display: flex; flex-direction: column; gap: 16px; }

.score-bar-container { display: flex; flex-direction: column; gap: 6px; }

.score-bar-item { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; }

.score-bar-label { min-width: 30px; color: oklch(var(--bc)); font-weight: 600; }

.score-bar-track { flex: 1 1 0%; height: 18px; background: oklch(var(--b1)); border-radius: 9px; overflow: hidden; }

.score-bar-fill { height: 100%; background: oklch(var(--p)); border-radius: 9px; transition: width 0.6s; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; }

.score-bar-count { font-size: 0.7rem; color: oklch(var(--bc)); font-weight: 600; }

.scoring-metrics { display: flex; flex-direction: column; gap: 8px; }

.metric-item { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; background: oklch(var(--b1)); border-radius: 6px; }

.metric-label { font-size: 0.8rem; color: oklch(var(--bc)); }

.metric-value { font-size: 0.8rem; font-weight: 600; color: oklch(var(--p)); }

.viewing-patterns { display: flex; flex-direction: column; gap: 12px; }

.pattern-item { display: flex; justify-content: space-between; align-items: center; padding: 8px; background: oklch(var(--b1)); border-radius: 8px; }

.pattern-label { font-size: 0.875rem; color: oklch(var(--bc)); }

.pattern-value { font-size: 0.875rem; font-weight: 600; color: oklch(var(--p)); }

.year-review-card { grid-column: 1 / -1; padding: 10px !important; }

.year-review { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 16px; 
    margin-bottom: 16px; 
}

/* Responsive: 2 columns on medium screens */
@media (max-width: 900px) {
    .year-review { grid-template-columns: repeat(2, 1fr); }
}

.year-stat { text-align: center; padding: 16px; background: oklch(var(--b1)); border-radius: 12px; }

.year-stat-value { 
    font-size: 2rem; 
    font-weight: 700; 
    color: oklch(var(--bc));
    margin-bottom: 4px; 
}

.year-stat-label { font-size: 0.875rem; color: oklch(var(--bc)); }

.share-year-btn { width: 100%; padding: 12px; background: oklch(var(--p)); color: oklch(var(--bc)); border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform 0.2s, box-shadow 0.2s; }

.share-year-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.3); }

.share-year-btn svg { flex-shrink: 0; }

.activity-section { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; padding: 20px; backdrop-filter: blur(12px); }

.activity-section h3 { color: oklch(var(--bc)); margin: 0px 0px 16px; font-size: 1rem; font-weight: 600; }

.activity-list { display: flex; flex-direction: column; gap: 10px; }

.activity-item { display: flex; align-items: center; gap: 12px; padding: 10px; background: oklch(var(--b1)); border-radius: 10px; transition: 0.2s; }

.activity-item:hover { background: oklch(var(--b2)); }

.activity-icon { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, oklch(var(--p)), oklch(var(--p) / 0.9)); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }

.activity-content { flex: 1 1 0%; }

.activity-text { color: oklch(var(--bc)); font-size: 0.85rem; margin: 0px 0px 4px; }

.activity-time { color: oklch(var(--bc) / 0.6); font-size: 0.7rem; margin: 0px; }

.no-activity { text-align: center; color: oklch(var(--bc) / 0.6); padding: 40px; }

.watchlist-section { margin-top: 32px; }

.watchlist-header { cursor: pointer; padding: 16px 0px; transition: 0.2s; user-select: none; }

.watchlist-header:hover { color: oklch(var(--p)); }

.watchlist-header h3 { color: oklch(var(--bc)); font-size: 1.1rem; font-weight: 600; }

.watchlist-count { background: oklch(var(--p)); color: white; font-size: 0.85rem; font-weight: 600; padding: 4px 10px; border-radius: 12px; min-width: 24px; text-align: center; }

.watchlist-content { margin-top: 16px; }

.watchlist-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }

.watchlist-card { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 12px; overflow: hidden; transition: 0.3s; position: relative; }

.watchlist-card:hover { transform: translateY(-4px); border-color: oklch(var(--p)); box-shadow: rgba(124, 92, 255, 0.2) 0px 8px 24px; }

.watchlist-image { width: 100%; height: 220px; object-fit: cover; }

.watchlist-info-btn { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: 0.2s; z-index: 2; }

.watchlist-card:hover .watchlist-info-btn { opacity: 1; }

.watchlist-info-btn:hover { background: oklch(var(--p)); transform: scale(1.1); }

.watchlist-info { padding: 12px; }

.watchlist-title { color: oklch(var(--bc)); font-size: 0.9rem; font-weight: 600; margin: 0px 0px 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.watchlist-actions { display: flex; gap: 6px; margin-top: 10px; }

.watchlist-btn { flex: 1 1 0%; padding: 8px; border: none; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: 0.2s; }

.watchlist-start-btn { background: linear-gradient(135deg, oklch(var(--p)), oklch(var(--p) / 0.9)); color: white; }

.watchlist-start-btn:hover { transform: translateY(-2px); box-shadow: rgba(124, 92, 255, 0.4) 0px 4px 12px; }

.watchlist-remove-btn { background: oklch(var(--b2)); color: oklch(var(--bc) / 0.6); border: 1px solid oklch(var(--bc) / 0.2); }

.watchlist-remove-btn:hover { background: rgba(239, 68, 68, 0.1); color: rgb(239, 68, 68); border-color: rgba(239, 68, 68, 0.3); }

.no-watchlist { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 32px; color: oklch(var(--bc) / 0.6); padding: 80px 60px; margin: 0px; font-size: 0.95rem; background: linear-gradient(135deg, rgba(255, 107, 157, 0.02), rgba(255, 139, 179, 0.02)); border-radius: 20px; border: 2px dashed rgba(255, 107, 157, 0.15); min-height: 280px; }

.no-watchlist .empty-icon { font-size: 96px; opacity: 0.3; filter: grayscale(0.4); flex-shrink: 0; }

.no-watchlist .empty-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; flex: 1 1 0%; max-width: 600px; }

.no-watchlist .empty-heading { color: oklch(var(--bc)); font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }

.no-watchlist .empty-message { color: oklch(var(--bc) / 0.6); font-size: 1rem; line-height: 1.6; }

.not-interested-section { margin-top: 32px; }

.not-interested-header { cursor: pointer; padding: 16px 0px; transition: 0.2s; user-select: none; }

.not-interested-header:hover { color: oklch(var(--p)); }

.not-interested-header h3 { color: oklch(var(--bc)); font-size: 1.1rem; font-weight: 600; }

.not-interested-count { background: rgb(239, 68, 68); color: white; font-size: 0.85rem; font-weight: 600; padding: 4px 10px; border-radius: 12px; min-width: 24px; text-align: center; }

.not-interested-content { margin-top: 16px; }

.not-interested-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }

.not-interested-card { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 12px; overflow: hidden; transition: 0.3s; position: relative; opacity: 0.8; }

.not-interested-card:hover { transform: translateY(-4px); opacity: 1; border-color: rgb(239, 68, 68); box-shadow: rgba(239, 68, 68, 0.2) 0px 8px 24px; }

.not-interested-image { width: 100%; height: 220px; object-fit: cover; filter: grayscale(40%); }

.not-interested-info-btn { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); color: white; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: 0.2s; z-index: 2; }

.not-interested-card:hover .not-interested-info-btn { opacity: 1; }

.not-interested-info-btn:hover { background: oklch(var(--p)); transform: scale(1.1); }

.not-interested-info { padding: 12px; }

.not-interested-title { color: oklch(var(--bc)); font-size: 0.9rem; font-weight: 600; margin: 0px 0px 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.not-interested-actions { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }

.not-interested-btn { padding: 8px; border: none; border-radius: 6px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: 0.2s; }

.not-interested-remove-btn { background: linear-gradient(135deg, oklch(var(--p)), oklch(var(--p) / 0.9)); color: white; }

.not-interested-remove-btn:hover { transform: translateY(-2px); box-shadow: rgba(124, 92, 255, 0.4) 0px 4px 12px; }

.not-interested-watchlist-btn { background: oklch(var(--b2)); color: oklch(var(--bc)); border: 1px solid oklch(var(--bc) / 0.2); }

.not-interested-watchlist-btn:hover { background: rgba(124, 92, 255, 0.1); border-color: oklch(var(--p)); color: oklch(var(--p)); }

.not-interested-start-btn { background: oklch(var(--b2)); color: oklch(var(--bc) / 0.6); border: 1px solid oklch(var(--bc) / 0.2); }

.not-interested-start-btn:hover { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.5); color: rgb(34, 197, 94); }

.no-not-interested { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 32px; color: oklch(var(--bc) / 0.6); padding: 80px 60px; margin: 0px; font-size: 0.95rem; background: linear-gradient(135deg, rgba(124, 92, 255, 0.02), rgba(217, 70, 239, 0.02)); border-radius: 20px; border: 2px dashed rgba(124, 92, 255, 0.15); min-height: 280px; }

.no-not-interested .empty-icon { font-size: 96px; opacity: 0.3; filter: grayscale(0.4); flex-shrink: 0; }

.no-not-interested .empty-content { display: flex; flex-direction: column; align-items: flex-start; text-align: left; flex: 1 1 0%; max-width: 600px; }

.no-not-interested .empty-heading { color: oklch(var(--bc)); font-size: 1.5rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.02em; }

.no-not-interested .empty-message { color: oklch(var(--bc) / 0.6); font-size: 1rem; line-height: 1.6; }

.recommendations-section { margin-top: 32px; }

.recommendations-section h3 { color: oklch(var(--bc)); font-size: 1.1rem; font-weight: 600; }

.refresh-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc)); border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: 0.2s; }

.refresh-btn:hover { background: oklch(var(--p)); color: white; border-color: oklch(var(--p)); }

.refresh-icon { display: inline-block; transition: transform 0.5s; }

.refresh-btn:hover .refresh-icon { transform: rotate(180deg); }

.reset-dismissed-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); color: oklch(var(--bc)); border-radius: 8px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: 0.2s; }

.reset-dismissed-btn:hover { background: rgba(239, 68, 68, 0.1); color: rgb(239, 68, 68); border-color: rgba(239, 68, 68, 0.3); }

.reset-dismissed-btn span { font-size: 1rem; }

.recommendations-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.recommendation-card { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; overflow: hidden; transition: 0.3s; cursor: pointer; display: flex; flex-direction: column; position: relative; }

.recommendation-card:hover { transform: translateY(-4px); border-color: oklch(var(--p)); box-shadow: rgba(124, 92, 255, 0.2) 0px 8px 24px; }

.dismiss-btn { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.2); color: white; font-size: 18px; font-weight: bold; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; z-index: 10; padding: 0px; line-height: 1; }

.dismiss-btn:hover { background: rgba(239, 68, 68, 0.9); border-color: rgba(239, 68, 68, 0.5); transform: scale(1.1) rotate(90deg); box-shadow: rgba(239, 68, 68, 0.4) 0px 4px 12px; }

.recommendation-image { width: 100%; height: 280px; object-fit: cover; background: linear-gradient(135deg, oklch(var(--b1)) 0%, oklch(var(--b2)) 100%); }

.recommendation-content { padding: 16px; flex: 1 1 0%; display: flex; flex-direction: column; }

.recommendation-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; gap: 8px; }

.recommendation-title { color: oklch(var(--bc)); font-size: 1rem; font-weight: 600; margin: 0px; line-height: 1.3; flex: 1 1 0%; }

.recommendation-score { display: flex; align-items: center; gap: 4px; background: oklch(var(--p)); color: white; padding: 4px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; flex-shrink: 0; }

.recommendation-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; font-size: 0.75rem; color: oklch(var(--bc) / 0.6); }

.recommendation-badge { padding: 4px 8px; border-radius: 6px; background: oklch(var(--b1)); font-weight: 500; }

.recommendation-genres { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.genre-tag { background: oklch(var(--b1)); color: oklch(var(--bc) / 0.6); padding: 4px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 500; }

.recommendation-reason { color: oklch(var(--bc)); font-size: 0.85rem; line-height: 1.5; margin: auto 0px 0px; padding-top: 8px; border-top: 1px solid oklch(var(--bc) / 0.2); font-style: italic; }

.no-recommendations { text-align: center; color: oklch(var(--bc) / 0.6); padding: 40px; }

textarea { width: 100%; padding: 12px; background: oklch(var(--b1)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 10px; color: oklch(var(--bc)); font-size: 0.95rem; font-family: inherit; resize: vertical; transition: 0.3s; }

textarea:focus { outline: none; border-color: oklch(var(--p)); background: oklch(var(--b2)); }

#edit-modal .auth-modal-content { max-width: 500px; background: oklch(var(--b1)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; padding: 32px; }

#edit-modal h2 { margin-bottom: 24px; color: oklch(var(--p)); text-align: center; font-size: 1.5rem; }

#edit-modal .form-group { margin-bottom: 20px; }

#edit-modal .form-group label { display: block; margin-bottom: 8px; color: oklch(var(--bc)); font-weight: 500; font-size: 0.9rem; }

#edit-modal .form-group input, #edit-modal .form-group textarea { width: 100%; padding: 12px; background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 8px; color: oklch(var(--bc)); font-size: 0.9rem; font-family: inherit; transition: 0.2s; }


#edit-modal .form-group input:focus, #edit-modal .form-group textarea:focus { outline: none; border-color: oklch(var(--p)); box-shadow: 0px 0px 0px 3px oklch(var(--p) / 0.1); }

#edit-modal .form-group textarea { resize: vertical; min-height: 80px; }

#edit-modal .auth-submit { width: 100%; padding: 12px; background: oklch(var(--p)); color: oklch(var(--pc)); border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.2s; }

#edit-modal .auth-submit:hover { background: oklch(var(--p) / 0.9); transform: translateY(-2px); box-shadow: 0px 4px 12px oklch(var(--p) / 0.3); }

#edit-modal .auth-submit:active { transform: translateY(0px); }

#edit-modal .close-modal { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; background: transparent; border: none; color: oklch(var(--bc) / 0.6); font-size: 1.5rem; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

#edit-modal .close-modal:hover { background: oklch(var(--b2)); color: oklch(var(--p)); transform: rotate(90deg); }

/* Change Password Modal Styles */
#change-password-modal .auth-form { display: flex; flex-direction: column; gap: 16px; }

#change-password-modal .form-group { display: flex; flex-direction: column; gap: 6px; }

#change-password-modal .form-group label { font-weight: 600; font-size: 0.95rem; color: oklch(var(--bc)); }

#change-password-modal .form-group input { width: 100%; padding: 12px; border: 2px solid oklch(var(--bc) / 0.2); border-radius: 8px; background: oklch(var(--b1)); color: oklch(var(--bc)); font-size: 1rem; transition: 0.2s; }

#change-password-modal .form-group input:focus { outline: none; border-color: oklch(var(--p)); box-shadow: 0px 0px 0px 3px oklch(var(--p) / 0.1); }

#change-password-modal .auth-submit { width: 100%; padding: 12px; background: oklch(var(--p)); color: oklch(var(--pc)); border: none; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: 0.2s; }

#change-password-modal .auth-submit:hover { background: oklch(var(--p) / 0.9); transform: translateY(-2px); box-shadow: 0px 4px 12px oklch(var(--p) / 0.3); }

#change-password-modal .auth-submit:active { transform: translateY(0px); }

#change-password-modal .auth-submit.secondary { background: oklch(var(--b2)); color: oklch(var(--bc)); border: 2px solid oklch(var(--bc) / 0.2); }

#change-password-modal .auth-submit.secondary:hover { background: oklch(var(--b3)); border-color: oklch(var(--bc) / 0.3); box-shadow: 0px 4px 12px oklch(var(--bc) / 0.1); }

#change-password-modal .close-modal { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; background: transparent; border: none; color: oklch(var(--bc) / 0.6); font-size: 1.5rem; cursor: pointer; transition: 0.2s; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

#change-password-modal .close-modal:hover { background: oklch(var(--b2)); color: oklch(var(--p)); transform: rotate(90deg); }

.skeleton-card { background: oklch(var(--b2)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; animation: 0.5s ease-in-out 0s 1 normal none running skeletonFadeIn; }

.skeleton-image { width: 100%; height: 280px; background: linear-gradient(90deg, oklch(var(--p) / 0.05) 0%, oklch(var(--p) / 0.1) 50%, oklch(var(--p) / 0.05) 100%) 0% 0% / 200% 100%; animation: 2s ease-in-out 0s infinite normal none running skeletonShimmer; }

.skeleton-content { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.skeleton-title { width: 70%; height: 20px; background: linear-gradient(90deg, oklch(var(--p) / 0.1) 0%, oklch(var(--p) / 0.2) 50%, oklch(var(--p) / 0.1) 100%) 0% 0% / 200% 100%; border-radius: 6px; animation: 2s ease-in-out 0s infinite normal none running skeletonShimmer; }

.skeleton-meta { width: 90%; height: 16px; background: linear-gradient(90deg, oklch(var(--p) / 0.05) 0%, oklch(var(--p) / 0.1) 50%, oklch(var(--p) / 0.05) 100%) 0% 0% / 200% 100%; border-radius: 4px; animation: 2s ease-in-out 0s infinite normal none running skeletonShimmer; }

.skeleton-text { width: 100%; height: 14px; background: linear-gradient(90deg, oklch(var(--p) / 0.05) 0%, oklch(var(--p) / 0.1) 50%, oklch(var(--p) / 0.05) 100%) 0% 0% / 200% 100%; border-radius: 4px; animation: 2s ease-in-out 0s infinite normal none running skeletonShimmer; }

.skeleton-text.short { width: 60%; }

.edit-profile-modal-content { max-width: 800px; position: relative; z-index: 100001; max-height: 90vh; overflow-y: auto; }

.edit-profile-modal-content .form-group { margin-bottom: 20px; }

.edit-profile-modal-content .gender-option { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 8px; cursor: pointer; transition: 0.3s; flex: 1 1 0%; justify-content: center; font-weight: 500; }

.edit-profile-modal-content .gender-option:hover { background: oklch(var(--b3)); border-color: oklch(var(--p)); }

.edit-profile-modal-content .gender-option input[type="radio"] { appearance: none; width: 18px; height: 18px; border: 2px solid oklch(var(--bc) / 0.2); border-radius: 50%; margin: 0px; cursor: pointer; position: relative; transition: 0.3s; background: transparent; }

.edit-profile-modal-content .gender-option input[type="radio"]:hover { border-color: oklch(var(--p)); }

.edit-profile-modal-content .gender-option input[type="radio"]:checked { border-color: oklch(var(--p)); background: oklch(var(--p)); box-shadow: 0 0 0 2px oklch(var(--b2)), 0 0 8px oklch(var(--p) / 0.3); }

.edit-profile-modal-content .gender-option input[type="radio"]:checked::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; border-radius: 50%; background: oklch(var(--pc)); }

.edit-profile-modal-content .gender-option input[type="radio"]:checked + span { color: oklch(var(--p)); }

.edit-profile-modal-content .gender-option:has(input[type="radio"]:checked) { background: oklch(var(--p) / 0.1); border-color: oklch(var(--p)); }

.edit-profile-modal-content .form-group > div:has(.gender-option), .form-group > div:has(.gender-option) { display: flex !important; flex-direction: row !important; gap: 12px !important; margin-top: 8px !important; }

.avatar-editor { display: flex; flex-direction: column; gap: 16px; padding: 16px; background: rgba(139, 92, 246, 0.05); border: 2px solid rgba(139, 92, 246, 0.15); border-radius: 12px; }

.avatar-preview { width: 120px; height: 120px; margin: 0px auto; border-radius: 50%; background: transparent; border: none; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 32px; }

.avatar-preview img { width: 100%; height: 100%; object-fit: cover; }

.avatar-preview svg { width: 60%; height: 60%; opacity: 0.5; }

.avatar-actions { display: flex; gap: 12px; justify-content: center; }

.avatar-icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: oklch(var(--p)); color: white; border: none; border-radius: 8px; cursor: pointer; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

.avatar-icon-btn:hover { background: oklch(var(--p) / 0.9); transform: translateY(-2px); box-shadow: 0 4px 12px oklch(var(--p) / 0.1); }

.avatar-icon-btn.secondary { background: oklch(var(--b2)); color: oklch(var(--bc)); border: 2px solid oklch(var(--bc) / 0.2); }

.avatar-icon-btn.secondary:hover { background: oklch(var(--b3)); border-color: oklch(var(--p) / 0.5); transform: translateY(-2px); box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px; }

.avatar-customize-container { display: grid; grid-template-columns: 300px 1fr; gap: 24px; padding: 20px; }

.avatar-customize-preview { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.avatar-customize-preview #avatar-customize-img { width: 250px; height: 250px; border-radius: 50%; background: transparent; border: none; display: flex; align-items: center; justify-content: center; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 32px; }

.avatar-customize-preview #avatar-customize-img img { width: 100%; height: 100%; object-fit: cover; }

.avatar-customize-options { display: flex; flex-direction: column; gap: 16px; max-height: 500px; overflow-y: auto; padding-right: 12px; }

.customize-section { display: flex; flex-direction: column; gap: 8px; }

.customize-section label { font-size: 0.9rem; font-weight: 600; color: oklch(var(--bc)); }

.customize-section select { padding: 10px 12px; background: oklch(var(--b2)); border: none; border-radius: 8px; color: oklch(var(--bc)); font-size: 0.9rem; cursor: pointer; transition: 0.3s; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 8px; }

.customize-section select:focus { outline: none; box-shadow: rgba(139, 92, 246, 0.4) 0px 4px 16px; transform: translateY(-1px); }

.customize-section select:hover { box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 12px; transform: translateY(-1px); }

.avatar-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; background: oklch(var(--p)); color: white; border: none; border-radius: 8px; font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-family: Geist, -apple-system, BlinkMacSystemFont, sans-serif; flex: 1 1 0%; }

.avatar-btn:hover { background: oklch(var(--p) / 0.9); transform: translateY(-2px); box-shadow: 0 4px 12px oklch(var(--p) / 0.1); }

.avatar-btn.secondary { background: oklch(var(--b2)); color: oklch(var(--bc)); border: 2px solid oklch(var(--bc) / 0.2); }

.avatar-btn.secondary:hover { background: oklch(var(--b3)); border-color: oklch(var(--p) / 0.5); transform: translateY(-2px); box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px; }

.avatar-styles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 16px; max-height: 60vh; overflow-y: auto; padding: 16px 0px; }

.avatar-style-option { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px; background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 12px; cursor: pointer; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

.avatar-style-option:hover { border-color: oklch(var(--p)); background: rgba(139, 92, 246, 0.1); transform: translateY(-4px); box-shadow: rgba(139, 92, 246, 0.2) 0px 4px 16px; }

.avatar-style-option.selected { border-color: oklch(var(--p)); background: rgba(139, 92, 246, 0.15); box-shadow: rgba(139, 92, 246, 0.2) 0px 0px 0px 3px; }

.avatar-style-preview { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: white; }

.avatar-style-preview img { width: 100%; height: 100%; }

.avatar-style-name { font-size: 0.85rem; font-weight: 500; color: oklch(var(--bc)); text-align: center; text-transform: capitalize; }

#achievement-container { position: fixed; top: 80px; right: 20px; z-index: 10000; display: flex; flex-direction: column; gap: 12px; pointer-events: none; }

.achievement-notification { background: linear-gradient(135deg, rgba(139, 92, 246, 0.95) 0%, rgba(167, 139, 250, 0.95) 100%); backdrop-filter: blur(20px); border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 16px; padding: 20px; min-width: 350px; max-width: 400px; box-shadow: rgba(139, 92, 246, 0.4) 0px 8px 32px, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset; display: flex; align-items: center; gap: 16px; transform: translateX(450px); transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); opacity: 0; pointer-events: auto; }

.achievement-notification.show { transform: translateX(0px); opacity: 1; }

.achievement-icon { font-size: 48px; flex-shrink: 0; animation: 0.6s ease-in-out 0s 1 normal none running bounce; }

.achievement-info { flex: 1 1 0%; }

.achievement-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255, 255, 255, 0.9); margin-bottom: 4px; }

.achievement-name { font-size: 18px; font-weight: 700; color: white; margin-bottom: 4px; }

.achievement-desc { font-size: 13px; color: rgba(255, 255, 255, 0.85); }

.achievement-rarity { font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; letter-spacing: 0.5px; align-self: center; }

.achievement-rarity.common { background: rgba(156, 163, 175, 0.3); color: rgb(209, 213, 219); }

.achievement-rarity.uncommon { background: rgba(34, 197, 94, 0.3); color: rgb(134, 239, 172); }

.achievement-rarity.rare { background: rgba(59, 130, 246, 0.3); color: rgb(147, 197, 253); }

.achievement-rarity.epic { background: rgba(168, 85, 247, 0.3); color: rgb(216, 180, 254); }

.achievement-rarity.legendary { background: rgba(251, 191, 36, 0.3); color: rgb(253, 230, 138); }

.achievements-section { margin-top: 32px; padding: 24px; background: oklch(var(--b1)); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; }

.achievements-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.achievements-title { font-size: 1.5rem; font-weight: 700; color: oklch(var(--bc)); display: flex; align-items: center; gap: 12px; }

.achievements-stats { display: flex; align-items: center; gap: 16px; }

.achievement-progress-circle { width: 60px; height: 60px; border-radius: 50%; background: conic-gradient(
        oklch(var(--p)) 0deg,
        oklch(var(--p)) calc(var(--progress) * 3.6deg),
        oklch(var(--b2)) calc(var(--progress) * 3.6deg),
        oklch(var(--b2)) 360deg
    ); display: flex; align-items: center; justify-content: center; position: relative; }

.achievement-progress-circle::before { content: ""; position: absolute; width: 48px; height: 48px; border-radius: 50%; background: oklch(var(--b1)); }

.achievement-progress-text { position: relative; z-index: 1; font-size: 14px; font-weight: 700; color: oklch(var(--bc)); }

.achievement-count { font-size: 14px; color: oklch(var(--bc) / 0.7); }

.achievement-tabs { display: flex; gap: 8px; margin-bottom: 24px; border-bottom: 2px solid oklch(var(--bc) / 0.2); overflow-x: auto; }

.achievement-tab { padding: 12px 20px; background: transparent; border-top: none; border-right: none; border-left: none; border-image: initial; border-bottom: 2px solid transparent; color: oklch(var(--bc) / 0.7); font-size: 14px; font-weight: 600; cursor: pointer; transition: 0.2s; white-space: nowrap; margin-bottom: -2px; }

.achievement-tab:hover { color: oklch(var(--bc)); }

.achievement-tab.active { color: oklch(var(--p)); border-bottom-color: oklch(var(--p)); }

.achievements-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }

.achievement-card { background: oklch(var(--b2)); border: 2px solid oklch(var(--bc) / 0.2); border-radius: 12px; padding: 16px; text-align: center; transition: 0.3s; position: relative; overflow: hidden; }

.achievement-card.unlocked { border-color: oklch(var(--p)); background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.1) 0%, rgba(var(--accent-rgb), 0.05) 100%); opacity: 1; filter: none; }

.achievement-card.locked { opacity: 0.5; filter: grayscale(0.6); }

.achievement-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-colored); }

.achievement-card-icon { font-size: 48px; margin-bottom: 12px; filter: drop-shadow(rgba(0, 0, 0, 0.1) 0px 2px 4px); }

.achievement-card.locked .achievement-card-icon { filter: grayscale(1) opacity(0.4); }

.achievement-icon { font-size: 48px; margin-bottom: 12px; filter: drop-shadow(rgba(0, 0, 0, 0.1) 0px 2px 4px); }

.achievement-card.locked .achievement-icon { filter: grayscale(1) opacity(0.4); }

.achievement-info { display: flex; flex-direction: column; gap: 8px; }

.achievement-header { display: flex; flex-direction: column; gap: 6px; }

.achievement-title { font-size: 15px; font-weight: 700; color: oklch(var(--bc)); margin: 0px; }

.achievement-description { font-size: 12px; color: oklch(var(--bc) / 0.7); margin: 0px; line-height: 1.4; }

.achievement-rarity { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; letter-spacing: 0.5px; align-self: center; }

.achievement-card-name { font-size: 15px; font-weight: 700; color: oklch(var(--bc)); margin-bottom: 6px; }

.achievement-card-desc { font-size: 12px; color: oklch(var(--bc) / 0.7); margin-bottom: 12px; line-height: 1.4; }

.achievement-card-rarity { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 12px; letter-spacing: 0.5px; margin-top: 8px; }

.achievement-card-date { font-size: 11px; color: oklch(var(--bc) / 0.7); margin-top: 8px; }

.achievement-card-progress { margin-top: 12px; }

.achievement-progress-bar { width: 100%; height: 6px; background: oklch(var(--b2)); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }

.achievement-progress-fill { height: 100%; background: linear-gradient(90deg, oklch(var(--p)) 0%, #a78bfa 100%); transition: width 0.3s; border-radius: 3px; }

.achievement-progress-label { font-size: 11px; color: oklch(var(--bc) / 0.7); }

.achievement-progress { margin-top: 12px; }

.progress-bar { width: 100%; height: 6px; background: oklch(var(--b2)); border-radius: 3px; overflow: hidden; margin-bottom: 6px; }

.progress-fill { height: 100%; background: linear-gradient(90deg, oklch(var(--p)) 0%, #a78bfa 100%); transition: width 0.3s; border-radius: 3px; }

.progress-text { font-size: 11px; color: oklch(var(--bc) / 0.7); font-weight: 600; }

.achievement-unlocked-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: oklch(var(--p)); background: rgba(var(--accent-rgb), 0.1); padding: 6px 12px; border-radius: 20px; margin-top: 8px; }

.rarity-common, .achievement-rarity.rarity-common, .achievement-card-rarity.rarity-common { background: rgba(158, 158, 158, 0.2); color: rgb(158, 158, 158); }

.rarity-uncommon, .achievement-rarity.rarity-uncommon, .achievement-card-rarity.rarity-uncommon { background: rgba(76, 175, 80, 0.2); color: rgb(76, 175, 80); }

.rarity-rare, .achievement-rarity.rarity-rare, .achievement-card-rarity.rarity-rare { background: rgba(33, 150, 243, 0.2); color: rgb(33, 150, 243); }

.rarity-epic, .achievement-rarity.rarity-epic, .achievement-card-rarity.rarity-epic { background: rgba(156, 39, 176, 0.2); color: rgb(156, 39, 176); }

.rarity-legendary, .achievement-rarity.rarity-legendary, .achievement-card-rarity.rarity-legendary { background: rgba(255, 152, 0, 0.2); color: rgb(255, 152, 0); }

.achievement-card.locked::after { content: "🔒"; position: absolute; top: 12px; right: 12px; font-size: 16px; opacity: 0.6; }

.achievements-empty { text-align: center; padding: 60px 20px; color: oklch(var(--bc) / 0.7); }

.achievements-empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }

#notification-bell.has-notifications { animation: 2s ease-in-out 0s infinite normal none running bellRing; }

#notification-badge, #airing-badge { position: absolute; top: 4px; right: 4px; background: linear-gradient(135deg, rgb(255, 107, 157) 0%, rgb(201, 42, 110) 100%); color: white; font-size: 10px; font-weight: 600; min-width: 18px; height: 18px; border-radius: 9px; display: none; align-items: center; justify-content: center; padding: 0px 4px; border: 2px solid oklch(var(--b1)); box-shadow: rgba(255, 107, 157, 0.4) 0px 2px 8px; }

#airing-badge { background: linear-gradient(135deg, rgb(139, 92, 246) 0%, rgb(109, 40, 217) 100%); box-shadow: rgba(139, 92, 246, 0.4) 0px 2px 8px; }

#notification-overlay { position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(12px); z-index: 39; opacity: 0; pointer-events: none; transition: opacity 0.3s, backdrop-filter 0.3s; }

#notification-overlay.active { opacity: 1; pointer-events: auto; }

#notification-panel { position: fixed; top: 70px; right: 20px; width: 420px; max-height: 600px; background: oklch(var(--b2)); backdrop-filter: blur(20px); border: 1px solid oklch(var(--bc) / 0.2); border-radius: 16px; box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 60px; z-index: 40; display: none; flex-direction: column; overflow: hidden; transform: translateY(-10px); opacity: 0; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: oklch(var(--bc)); }

#notification-panel.open { display: flex; transform: translateY(0px); opacity: 1; }

.notification-header { padding: 16px 20px; border-bottom: 1px solid oklch(var(--bc) / 0.2); background: oklch(var(--b2)); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }

.notification-header h3 { margin: 0px; font-size: 18px; font-weight: 600; color: oklch(var(--bc)); }

.notification-actions { display: flex; gap: 12px; align-items: center; }

.close-notification-btn { width: 32px; height: 32px; background: rgba(255, 255, 255, 0.1); border: none; border-radius: 50%; color: oklch(var(--bc) / 0.6); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }

.close-notification-btn:hover { background: rgba(255, 255, 255, 0.2); color: oklch(var(--bc)); }

.text-btn { background: none; border: none; color: var(--primary); font-size: 0.85rem; font-weight: 500; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: background-color 0.2s; }

.text-btn:hover { background-color: rgba(124, 92, 255, 0.1); }

.notification-list { flex: 1 1 0%; overflow-y: auto; padding: 12px 0px; }

.notification-list::-webkit-scrollbar { width: 8px; }

.notification-list::-webkit-scrollbar-track { background: transparent; }

.notification-list::-webkit-scrollbar-thumb { background: oklch(var(--bc) / 0.2); border-radius: 4px; }

.notification-list::-webkit-scrollbar-thumb:hover { background: oklch(var(--b2)); }

.notification-item { display: flex; gap: 12px; padding: 16px 20px; border-bottom: 1px solid oklch(var(--bc) / 0.2); cursor: pointer; transition: background-color 0.2s; position: relative; }

.notification-item:hover { background-color: oklch(var(--b3)); }

.notification-item.unread { background-color: rgba(124, 92, 255, 0.05); border-left: 3px solid var(--primary); }

.notification-item.unread::before { content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: rgba(124, 92, 255, 0.6) 0px 0px 8px; }

.notification-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; padding: 4px; }

.notification-avatar svg { width: 100%; height: 100%; }

.notification-avatar img { padding: 0px; }

.notification-image { width: 56px; height: 80px; object-fit: cover; border-radius: 8px; flex-shrink: 0; box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px; }

.notification-content { flex: 1 1 0%; min-width: 0px; padding-left: 4px; }

.notification-title { font-weight: 600; font-size: 0.95rem; color: oklch(var(--bc)); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.notification-message { font-size: 0.85rem; color: oklch(var(--bc)); margin-bottom: 6px; }

.notification-time { font-size: 0.75rem; color: oklch(var(--bc) / 0.6); }

.notification-delete { background: none; border: none; color: oklch(var(--bc) / 0.6); font-size: 18px; cursor: pointer; padding: 4px 8px; border-radius: 4px; transition: color 0.2s, background-color 0.2s; flex-shrink: 0; align-self: flex-start; }

.notification-delete:hover { color: var(--danger); background-color: rgba(255, 107, 157, 0.1); }

.notification-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 40px; text-align: center; height: 100%; }

[data-theme="light"] #notification-panel { background: oklch(var(--b1)); border-left: 1px solid oklch(var(--bc) / 0.2); }

[data-theme="light"] .notification-header { background: oklch(var(--b1)); border-bottom: 1px solid oklch(var(--bc) / 0.2); }

[data-theme="light"] .notification-item { border-bottom: 1px solid oklch(var(--bc) / 0.2); }

[data-theme="light"] .notification-item:hover { background-color: oklch(var(--b3)); }

[data-theme="light"] .notification-item.unread { background-color: oklch(var(--p) / 0.1); border-left: 3px solid oklch(var(--p)); }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] #notification-overlay { background: rgba(0, 0, 0, 0.3); }
*/

[data-theme="light"] .notification-title { color: oklch(var(--bc)) !important; }

[data-theme="light"] .notification-message { color: oklch(var(--bc)) !important; }

[data-theme="light"] .notification-time { color: oklch(var(--bc) / 0.6) !important; }

[data-theme="light"] .notification-list::-webkit-scrollbar-thumb { background: oklch(var(--bc) / 0.2); }

[data-theme="light"] .notification-list::-webkit-scrollbar-thumb:hover { background: oklch(var(--b2)); }

.notification-action-btn { padding: 6px 12px; border: none; border-radius: 6px; color: white; font-weight: 600; cursor: pointer; font-size: 12px; transition: 0.2s; }

.notification-action-btn.accept-btn { background: linear-gradient(135deg, rgb(102, 126, 234) 0%, rgb(118, 75, 162) 100%); }

.notification-action-btn.accept-btn:hover { transform: scale(1.05); box-shadow: rgba(102, 126, 234, 0.3) 0px 2px 8px; }

.notification-action-btn.decline-btn { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); }

.notification-action-btn.decline-btn:hover { background: rgba(255, 255, 255, 0.15); }

.notification-item-read { opacity: 0.6; background: rgba(255, 255, 255, 0.02) !important; }

.notification-item-read .notification-title, .notification-item-read .notification-time { color: rgba(255, 255, 255, 0.5); }

/* COMMENTED OUT - Now controlled by DaisyUI themes
[data-theme="light"] .notification-item-read { background: rgba(0, 0, 0, 0.02) !important; }

[data-theme="light"] .notification-item-read .notification-title, [data-theme="light"] .notification-item-read .notification-time { color: rgba(15, 23, 42, 0.5); }
*/

.notification-section-header { padding: 15px; background: rgba(102, 126, 234, 0.1); border-bottom: 2px solid rgba(102, 126, 234, 0.3); font-weight: 600; color: rgb(102, 126, 234); }

/* ========== Media Queries ========== */

@media (max-width: 768px) {
  .navbar { width: 100%; padding: 0px 16px; }
  .nav-content { gap: 16px; }
  .nav-logo { font-size: 1.5rem; }
  .nav-links { gap: 4px; }
  .nav-links a { padding: 8px 12px; font-size: 0.85rem; }
  .nav-links a span { display: none; }
  .nav-links a i { width: 20px; height: 20px; }
  .top-navbar { height: 56px; }
  .top-navbar .theme-toggle { height: 56px; padding: 0px 12px; }
  .top-navbar .navbar-icon, .top-navbar #airing-button, .top-navbar #notification-bell, .top-navbar #profile-toggle { width: 48px; height: 56px; font-size: 17px; }
  .navbar-right { gap: 0px; }
  .top-navbar #profile-toggle svg { width: 18px; height: 18px; }
  .top-navbar #profile-toggle { display: flex !important; }
}

@media (max-width: 520px) {
  #anime-search { font-size: 1rem; padding: 12px; }
  .brand h1 { font-size: 2rem; }
  .synopsis { display: none; }
  .suggestion-layout img { width: 45px; height: 65px; }
}

@media (max-width: 768px) {
  .airing-widget-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .empty-state-card { padding: 24px 16px; margin: 12px 0px; }
  .empty-state-icon { font-size: 3rem; }
  .empty-state-title { font-size: 1.25rem; }
  .empty-state-text { font-size: 0.9rem; }
}

@media (max-width: 520px) {
  .custom-select { min-width: 120px; }
}

@media (max-width: 520px) {
  .season-select { min-width: 120px; }
}

@media (max-width: 520px) {
  .season-row { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  body { overflow-x: hidden; padding: 0px; margin: 0px; }
  .container { margin-top: 60px; padding: 0px 16px; width: 100%; }
  .home-container { padding: 0px; }
  [class*="card"] { padding: 0px !important; }
  .saved-card { padding: 12px !important; }
  .saved-card header { flex-flow: row; align-items: center !important; justify-content: space-between !important; gap: 8px !important; margin-bottom: 8px !important; padding: 4px 8px !important; }
  .saved-card header > div { flex-flow: row; gap: 8px; align-items: center !important; }
  .filter-select { width: auto; min-width: unset; font-size: 0.75rem; padding: 8px; }
  #sort-select { width: 100%; padding: 8px; }
  #clear-saved, #export-btn, #import-btn { width: 100%; justify-content: center; padding: 8px; }
  .results-container { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
  .result-card { min-width: 0px; padding: 8px; }
  .result-image { height: 200px; }
  .result-title { font-size: 0.85rem; }
  .result-meta { font-size: 0.7rem; }
  .anime-card { min-width: 0px; padding: 8px; }
  .anime-image { height: 200px; }
  .anime-title { font-size: 0.8rem; line-height: 1.2; }
  .anime-meta { font-size: 0.65rem; }
  .anime-score { font-size: 0.7rem; padding: 2px 4px; }
  .anime-status { font-size: 0.65rem; padding: 2px 4px; }
  .episode-selector { flex-direction: column; gap: 5px; }
  .episode-controls { width: 100%; padding: 2px; }
  .episode-display { font-size: 0.85rem; }
  .auth-modal-content { width: 90%; max-width: 400px; margin: 20px; padding: 24px; }
  .welcome-message h1 { font-size: 1.8rem; }
  .welcome-message .subtitle { font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .container { margin-top: 40px; padding: 0px 16px; width: 100%; }
  .home-container { padding: 0px; }
  .stats-dashboard { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; padding: 0px; }
  .stat-item { padding: 8px; }
  .stat-value { font-size: 1.2rem; }
  .stat-label { font-size: 0.65rem; }
  .saved-card header { flex-direction: column !important; gap: 12px !important; margin-bottom: 16px !important; }
  .saved-card header > div:first-child { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; gap: 8px !important; }
  .saved-card header > div:first-child h2 { display: none !important; }
  .saved-card header > div:first-child select { flex: 1 1 0% !important; min-width: 0px !important; }
  .saved-card header > div:last-child { display: flex !important; gap: 8px !important; margin-left: auto !important; }
  .filter-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; min-height: 44px; font-size: 0.9rem; border-width: 1px; }
  .filter-select:focus { transform: none; }
  .saved-list { display: grid; grid-template-columns: 1fr; gap: 12px; list-style: none; padding: 12px; margin: 0px; }
  .mobile-anime-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px; transition: none; position: relative; transform: translateZ(0px); backface-visibility: hidden; display: flex; flex-direction: column; padding: 0px !important; margin: 0px !important; }
  .mobile-anime-card:active:not(.expanded) { transform: scale(0.98) translateZ(0px); }
  .mobile-anime-card.expanded { box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 16px; z-index: 100; overflow: visible; transform: translateZ(0px); border-radius: 12px; }
  .mobile-anime-card.expanded .mobile-image-info-btn { display: none; }
  .mobile-anime-card.expanded .mobile-card-image { border-radius: 12px 12px 0px 0px !important; }
  .mobile-anime-card.expanded .mobile-close-btn { display: none; }
  .mobile-card-content { position: relative; width: 100%; height: 90px; overflow: hidden; cursor: pointer; margin: 0px; flex-shrink: 0; }
  .mobile-card-inner { position: absolute; inset: 0px; width: 100%; height: 100%; overflow: hidden; border-radius: 12px 12px 0px 0px; }
  .mobile-card-image { position: absolute !important; inset: 0px !important; width: 100% !important; height: 100% !important; object-fit: cover !important; z-index: 0 !important; border-radius: 0px !important; box-shadow: none !important; flex: 0 0 auto !important; }
  .mobile-card-image:hover { transform: none !important; box-shadow: none !important; border: none !important; }
  .mobile-card-overlay { position: absolute; inset: 0px; padding: 10px; background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 15%, transparent 35%, transparent 65%, rgba(0, 0, 0, 0.6) 85%, rgba(0, 0, 0, 0.95) 100%); display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; z-index: 1; }
  .mobile-card-overlay > * { pointer-events: auto; }
  .mobile-image-info-btn { position: absolute; bottom: 8px; right: 8px; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(10px); border: none; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2; transition: 0.2s; box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 8px; }
  .mobile-image-info-btn svg { color: white; filter: drop-shadow(rgba(0, 0, 0, 0.5) 0px 1px 2px); }
  .mobile-image-info-btn:hover { background: rgba(0, 0, 0, 0.9); transform: scale(1.05); box-shadow: rgba(0, 0, 0, 0.6) 0px 4px 12px; }
  .mobile-image-info-btn:active { transform: scale(0.95); }
  .mobile-card-top-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; align-self: stretch; width: 100%; }
  .mobile-card-rating { background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); color: white; padding: 6px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; gap: 3px; box-shadow: rgba(0, 0, 0, 0.5) 0px 2px 8px; }
  .mobile-countdown { background: rgba(124, 58, 237, 0.95); backdrop-filter: blur(10px); color: white; padding: 6px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 700; box-shadow: rgba(124, 58, 237, 0.6) 0px 2px 8px; white-space: nowrap; }
  .mobile-card-title { font-size: 0.95rem; font-weight: 800; line-height: 1.3; color: white; margin-bottom: 6px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-shadow: rgba(0, 0, 0, 0.9) 0px 2px 8px, rgb(0, 0, 0) 0px 1px 3px, rgb(0, 0, 0) 1px 1px 2px; filter: drop-shadow(rgba(0, 0, 0, 0.8) 0px 0px 4px); }
  .mobile-card-status-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
  .mobile-episode-info { font-size: 0.8rem; font-weight: 700; color: white; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px); padding: 4px 8px; border-radius: 6px; text-shadow: rgba(0, 0, 0, 0.8) 0px 1px 3px; }
  .mobile-series-badge { margin-top: 6px; display: inline-block; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(4px); color: rgb(124, 58, 237); padding: 4px 8px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px; }
  .mobile-card-status { margin-top: 0px; }
  .status-completed { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: rgb(16, 185, 129); color: white; font-weight: 700; font-size: 0.75rem; box-shadow: rgba(16, 185, 129, 0.5) 0px 2px 6px; }
  .status-progress { display: inline-block; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(4px); color: rgb(124, 58, 237); font-weight: 700; font-size: 0.75rem; box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 4px; }
  .mobile-expanded-controls { padding: 12px 16px 16px; margin-top: 15px; background: white; border-top: 1px solid rgb(229, 229, 229); width: 100%; box-sizing: border-box; position: relative; border-radius: 0px 0px 12px 12px; display: none; transform: translateZ(0px); backface-visibility: hidden; -webkit-font-smoothing: antialiased; }
  .mobile-anime-card.expanded .mobile-expanded-controls { display: block; }
  .mobile-close-btn { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgb(243, 244, 246); color: rgb(107, 114, 128); font-size: 1.2rem; font-weight: 400; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; z-index: 10; padding: 0px; line-height: 1; }
  .mobile-close-btn:hover { background: rgb(229, 231, 235); color: rgb(55, 65, 81); }
  .mobile-close-btn:active { background: rgb(209, 213, 219); transform: scale(0.95); }
  @keyframes slideDown { 
  0% { opacity: 0; max-height: 0px; }
  100% { opacity: 1; max-height: 500px; }
}
  .mobile-control-row { margin-bottom: 12px; }
  .mobile-control-row:last-child { margin-bottom: 0px; }
  .mobile-control-label { display: block; font-size: 0.65rem; font-weight: 700; color: rgb(153, 153, 153); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.8px; }
  .mobile-control-select { width: 100%; padding: 10px 32px 10px 12px; font-size: 0.9rem; border-radius: 8px; border: 2px solid rgb(229, 229, 229); background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center no-repeat white; color: rgb(0, 0, 0); font-weight: 600; appearance: none; cursor: pointer; transition: 0.2s; }
  .mobile-control-select:active { border-color: rgb(124, 58, 237); background-color: rgb(250, 245, 255); }
  .mobile-episode-controls { display: flex; gap: 8px; align-items: center; }
  .mobile-episode-btn { width: 40px; height: 40px; border-radius: 10px; border: 2px solid rgb(229, 229, 229); background: white; color: rgb(124, 58, 237); font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; flex-shrink: 0; }
  .mobile-episode-btn:active { background: rgb(124, 58, 237); color: white; transform: scale(0.92); border-color: rgb(124, 58, 237); }
  .mobile-episode-input { flex: 1 1 0%; padding: 10px; font-size: 0.95rem; border-radius: 8px; border: 2px solid rgb(229, 229, 229); background: white; text-align: center; font-weight: 700; color: rgb(0, 0, 0); transition: 0.2s; }
  .mobile-episode-input:focus { outline: none; border-color: rgb(124, 58, 237); background: rgb(250, 245, 255); }
  .mobile-remove-btn { width: 100%; padding: 10px; margin-top: 8px; border-radius: 8px; border: 2px solid rgb(252, 165, 165); background: white; color: rgb(220, 38, 38); font-size: 0.85rem; font-weight: 700; cursor: pointer; transition: 0.2s; text-transform: uppercase; letter-spacing: 0.5px; }
  .mobile-remove-btn:active { background: rgb(254, 242, 242); transform: scale(0.97); border-color: rgb(220, 38, 38); }
  .mobile-action-icon-btn { flex: 1 1 0%; min-width: 0px; padding: 12px; border-radius: 10px; border: none; background: rgba(139, 92, 246, 0.15); color: rgb(167, 139, 250); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
  .mobile-action-icon-btn:active { transform: scale(0.95); background: rgba(139, 92, 246, 0.25); }
  .mobile-action-icon-btn.delete { background: rgba(239, 68, 68, 0.15); color: rgb(248, 113, 113); }
  .mobile-action-icon-btn.delete:active { background: rgba(239, 68, 68, 0.25); }
  .mobile-action-icon-btn svg { width: 20px; height: 20px; }
  .saved-list > li:not(.mobile-anime-card):not(.list-anime-card):not(.list-letter-header) { display: none; }
  .update-badge, .registered-badge, .series-badge, .countdown-badge { display: inline-block; font-size: 0.65rem !important; padding: 3px 6px !important; margin: 2px 4px 2px 0px !important; }
  .genre-tag { font-size: 0.65rem; padding: 3px 7px; }
  #clear-saved, #export-btn, #import-btn { font-size: 0.75rem; padding: 8px 12px; }
  .welcome-message h1 { font-size: 1.5rem; }
  .welcome-message .subtitle { font-size: 0.85rem; }
  #search-input { font-size: 0.9rem; padding: 12px; }
  .saved-card h2 { font-size: 0.95rem; }
  .saved-card header { flex-flow: row !important; justify-content: space-between !important; align-items: center !important; gap: 8px !important; }
  .saved-card header > div:first-child { order: 1; flex-flow: row !important; align-items: center !important; gap: 8px !important; flex: 1 1 100% !important; }
  .saved-card header > div:last-child { order: 2; flex-direction: row !important; gap: 6px !important; }
  .filter-select { font-size: 0.85rem; padding: 8px 12px; margin-top: 4px; flex: 1 1 100% !important; min-width: 100% !important; }
  .icon-btn { width: 32px; height: 32px; }
  .icon-btn svg { width: 16px; height: 16px; }
  .container > .profile-toggle { z-index: 15; position: absolute !important; top: max(12px, env(safe-area-inset-top)) !important; right: max(12px, env(safe-area-inset-right)) !important; width: 40px !important; height: 40px !important; }
  .container > .theme-toggle { z-index: 10; opacity: 0.4; position: absolute !important; top: max(12px, env(safe-area-inset-top)) !important; left: max(0px, env(safe-area-inset-left)) !important; right: auto !important; transform: none !important; }
  .container > .theme-toggle:hover { opacity: 1; }
  .profile-dropdown { z-index: 30; position: absolute !important; inset: 55px 0px auto auto !important; width: auto !important; min-width: 200px !important; border-radius: 12px !important; box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 20px !important; }
  .welcome-section { margin-top: 50px !important; margin-bottom: 20px; }
  .results-container { display: flex; flex-direction: column; gap: 16px; }
  footer { margin-top: 40px; padding: 20px 12px !important; }
  footer p { font-size: 0.85rem; line-height: 1.6; }
}

@media (max-width: 768px) {
  .view-mode-toggle { display: none; }
}

@media (max-width: 1024px) {
  #saved-list.list-mode { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
  #saved-list.list-mode { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 768px) {
  .list-anime-card { gap: 25px; flex-wrap: nowrap; padding: 8px !important; }
  .list-card-image { max-width: 50px; max-height: 70px; width: 50px !important; height: 70px !important; }
  .list-card-title { font-size: 0.8rem; }
  .list-card-episode { font-size: 0.7rem; }
  .airing-widget { padding: 5px; }
  .airing-widget-header { margin-bottom: 12px; margin-left: 12px; margin-top: 12px; }
  .list-letter-header { padding: 2px 0px; margin: 8px 0px; }
  .list-letter-header::before, .list-letter-header::after { height: 1px; }
  .list-letter-header::before { margin-right: 12px; }
  .list-letter-header::after { margin-left: 12px; }
  .list-letter-header span { font-size: 0.55rem; font-weight: 400; opacity: 0.5; padding: 0px; background: none !important; }
}

@media (max-width: 768px) {
  .no-watchlist { flex-direction: column; text-align: center; gap: 24px; padding: 60px 30px; min-height: 240px; }
  .no-watchlist .empty-icon { font-size: 80px; }
  .no-watchlist .empty-content { align-items: center; text-align: center; }
  .no-watchlist .empty-heading { font-size: 1.3rem; }
  .no-watchlist .empty-message { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .no-not-interested { flex-direction: column; text-align: center; gap: 24px; padding: 60px 30px; min-height: 240px; }
  .no-not-interested .empty-icon { font-size: 80px; }
  .no-not-interested .empty-content { align-items: center; text-align: center; }
  .no-not-interested .empty-heading { font-size: 1.3rem; }
  .no-not-interested .empty-message { font-size: 0.95rem; }
}

@media (max-width: 768px) {
  .no-not-interested { flex-direction: column; text-align: center; gap: 16px; }
  .no-not-interested .empty-content { align-items: center; text-align: center; }
}

@media (min-width: 901px) {
  .recommendations-list { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  .profile-container { margin-top: 100px; }
  .profile-header { flex-direction: column; text-align: center; }
  .edit-profile-btn { position: static; width: 100%; margin-top: 20px; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .charts-section { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .back-link { top: 16px; left: 16px; }
  .container > .theme-toggle { position: fixed; bottom: 20px; right: 20px; opacity: 0.4; }
  .container > .theme-toggle:hover { opacity: 1; }
  .profile-section { top: 16px; right: 16px; }
  .profile-container { padding: 20px 16px; margin-top: 70px; }
  .profile-header { flex-direction: column; text-align: center; gap: 16px; }
  .profile-avatar { width: 80px; height: 80px; font-size: 2rem; }
  .profile-name { font-size: 1.5rem; }
  .edit-profile-btn { margin: 0px auto; position: relative !important; top: auto !important; right: auto !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 16px; }
  .stat-icon { font-size: 1.5rem; }
  .stat-value { font-size: 1.3rem; }
  .stat-label { font-size: 0.75rem; }
  .charts-section { grid-template-columns: 1fr; }
  .recommendations-section h3 { font-size: 1rem; }
  .refresh-btn { font-size: 0.8rem; padding: 6px 10px; }
  .recommendations-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .recommendation-image { height: 240px; }
  .recommendation-image { height: 220px; }
  .recommendation-title { font-size: 0.9rem; }
  .recommendation-content { padding: 12px; }
  .activity-section h3 { font-size: 1rem; }
  .activity-item { gap: 10px; padding: 8px; }
  .activity-icon { width: 32px; height: 32px; font-size: 1rem; }
  .activity-title { font-size: 0.85rem; }
  .activity-time { font-size: 0.65rem; }
  .back-btn { margin-bottom: 16px; position: relative !important; top: auto !important; left: auto !important; }
}

@media (max-width: 480px) {
  .back-link, .profile-section { position: fixed !important; top: 68px !important; z-index: 40 !important; }
  .back-link { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; left: max(8px, env(safe-area-inset-left)) !important; }
  .back-link svg { width: 20px; height: 20px; }
  .container > .theme-toggle { z-index: 10; opacity: 0.4; position: fixed !important; bottom: max(16px, env(safe-area-inset-bottom)) !important; top: auto !important; left: auto !important; right: auto !important; }
  .container > .theme-toggle:hover { opacity: 1; }
  .profile-section { right: max(8px, env(safe-area-inset-right)) !important; top: max(8px, env(safe-area-inset-top)) !important; left: auto !important; }
  .profile-toggle { position: relative !important; top: auto !important; right: auto !important; }
  .profile-dropdown { z-index: 30; position: absolute !important; top: 52px !important; right: 0px !important; left: auto !important; width: 200px !important; min-width: 200px !important; border-radius: 12px !important; }
  .profile-container { padding: 50px 1px 1px; margin-top: 0px !important; }
  .profile-title { font-size: 1.3rem; margin-bottom: 20px; margin-top: 48px; }
  .profile-title svg { width: 20px; height: 20px; }
  .profile-card { position: relative; background: transparent; border: 1px solid oklch(var(--bc) / 0.2); overflow: visible; z-index: 1; padding: 2px !important; }
  .profile-header { flex-direction: row; text-align: left; gap: 16px; align-items: center; padding: 48px 16px 24px; overflow: visible; max-width: 100%; position: relative; z-index: 1; background: transparent; }
  .profile-avatar { width: 80px; height: 80px; flex-shrink: 0; box-shadow: rgba(124, 92, 255, 0.2) 0px 4px 16px; overflow: hidden; padding: 0px; position: relative; }
  .profile-avatar svg { width: 100%; height: 100%; flex-shrink: 0; padding: 8px; }
  .profile-avatar img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0px; left: 0px; padding: 0px; }
  .profile-info { text-align: left; flex: 1 1 0%; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: relative; z-index: 1; background: transparent; border: none; }
  .profile-name { font-size: 1.4rem; margin: 0px; font-weight: 700; letter-spacing: -0.02em; display: block; }
  .profile-username { font-size: 0.9rem; margin: 0px; font-weight: 600; display: block; }
  .profile-joined { font-size: 0.75rem; margin: 0px; opacity: 0.7; display: block; }
  .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
  .stat-card { padding: 5px !important; }
  .stat-icon { font-size: 1.8rem; margin-bottom: 8px; }
  .stat-value { font-size: 1.4rem; }
  .stat-label { font-size: 0.7rem; }
  .anime-grid { display: grid !important; grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .anime-grid-item { width: 100% !important; padding: 2px !important; }
  .genre-bar-fill { height: 20px; }
  .genre-label { font-size: 0.8rem; }
  .genre-count { font-size: 0.75rem; }
  .recommendations-list { grid-template-columns: 1fr; gap: 16px; }
  .recommendation-card { display: flex; flex-direction: column; padding: 2px !important; }
  .recommendation-image { width: 100%; height: 240px; object-fit: cover; }
  .recommendation-content { padding: 14px; }
  .recommendation-title { font-size: 0.95rem; }
  .recommendation-score { font-size: 0.75rem; padding: 3px 7px; }
  .recommendation-meta { font-size: 0.7rem; }
  .recommendation-badge { padding: 3px 7px; font-size: 0.7rem; }
  .recommendation-reason { font-size: 0.8rem; }
  .genre-tag { font-size: 0.65rem; padding: 3px 8px; }
  #edit-modal .auth-modal-content { width: 90%; margin: 20px; padding: 20px; }
  #edit-modal h2 { font-size: 1.3rem; }
  .skeleton-card { height: auto; }
  .skeleton-image { height: 240px; }
}

@media (max-width: 768px) {
  .avatar-customize-container { grid-template-columns: 1fr; }
  .avatar-customize-preview #avatar-customize-img { width: 200px; height: 200px; }
  .advanced-stats-grid { grid-template-columns: 1fr; }
  .year-review { grid-template-columns: 1fr; }
  .advanced-stat-card { padding: 10px !important; }
  .chart-card { padding: 10px !important; }
  .year-review { grid-template-columns: 1fr; gap: 12px; }
  .year-review-card { grid-column: 1; }
}

@media (max-width: 768px) {
  #achievement-container { top: 80px; right: 12px; left: 12px; }
  .achievement-notification { min-width: auto; max-width: none; width: 100%; }
  .achievement-notification.show { transform: translateX(0px); }
  .achievement-notification { transform: translateY(-100px); }
  .achievements-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .achievement-card { padding: 12px; }
  .achievement-card-icon { font-size: 36px; }
  .achievements-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 768px) {
  #notification-panel { width: calc(-40px + 100vw); right: 20px; max-height: 80vh; }
  .notification-header { padding: 14px 16px; }
  .notification-item { padding: 12px 16px; }
  .notification-image { width: 48px; height: 68px; }
}

@media (max-width: 480px) {
  #notification-panel { width: calc(-20px + 100vw); right: 10px; top: 60px; }
}
