/* Import Starborn Font */
@import url('https://fonts.cdnfonts.com/css/starborn');

html {
    overflow-x: hidden;
    cursor: var(--horizon-cursor-idle), auto;
}

body {
    font-family: 'Fredoka', sans-serif;
    background-color: #02050c;
    color: #ffffff;
    margin: 0;
    overflow-x: hidden;
    cursor: auto;
    transition: padding-top 0.3s ease;
}

:root {
    --horizon-cursor-idle: url("assets/cursors/cursor-idle-small.png") 6 6;
    --horizon-cursor-hover: url("assets/cursors/cursor-hover-small.png") 6 6;
}

body {
    cursor: var(--horizon-cursor-idle), auto;
}

@media (pointer: fine) {
    :root {
        --horizon-cursor-idle: url("assets/cursors/cursor-idle-small.png") 6 6;
        --horizon-cursor-hover: url("assets/cursors/cursor-hover-small.png") 6 6;
    }

    body {
        cursor: var(--horizon-cursor-idle), auto;
    }

    a,
    button,
    .nav-btn,
    .preorder-btn,
    .interactive,
    .dynamic-moon-phase,
    input[type="checkbox"],
    select,
    .jumping-fish,
    .close-btn,
    .tos-jump-btn,
    .filter-btn,
    .site-guide-launcher,
    .guided-tour-btn,
    .home-top-link,
    .home-proof-chip,
    .care-guide-pill {
        cursor: var(--horizon-cursor-hover), pointer;
    }

    a:hover,
    button:hover,
    .nav-btn:hover,
    .preorder-btn:hover,
    .interactive:hover,
    .dynamic-moon-phase:hover,
    input[type="checkbox"]:hover,
    select:hover,
    .jumping-fish:hover,
    .close-btn:hover,
    .tos-jump-btn:hover,
    .filter-btn:hover,
    .site-guide-launcher:hover,
    .guided-tour-btn:hover,
    .home-top-link:hover,
    .home-proof-chip:hover,
    .care-guide-pill:hover {
        cursor: var(--horizon-cursor-hover), pointer;
    }
}

/* Make sure clickable things have a "pointing" version */
a, button, .nav-btn, .preorder-btn, .interactive, .dynamic-moon-phase, input[type="checkbox"], select, .jumping-fish, .close-btn, .tos-jump-btn, .filter-btn {
    cursor: pointer;
}

a,
button,
.nav-btn,
.preorder-btn,
.interactive,
.dynamic-moon-phase,
input[type="checkbox"],
select,
.jumping-fish,
.close-btn,
.tos-jump-btn,
.filter-btn,
.site-guide-launcher,
.guided-tour-btn,
.home-top-link,
.home-proof-chip,
.care-guide-pill {
    cursor: var(--horizon-cursor-hover), pointer;
}

.gallery-video-close:focus-visible,
#galleryLightboxClose:focus-visible {
    outline: 2px solid #f8fafc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.45);
}

/* --- SYSTEM CANVAS BACKGROUNDS --- */
.bg-environment {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.sky-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    background-color: #02050c;
    pointer-events: none;
}

.ocean-horizon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background: transparent;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

[data-theme="cosmic-green-pink"] .sky-container,
[data-theme="discord-space"] .sky-container {
    height: 100vh;
}

/* Home Nebula Gradients */
[data-theme="horizon"] .galaxy-nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 15% 25%, rgba(155, 81, 224, 0.16) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(0, 242, 254, 0.12) 0%, transparent 50%),
        linear-gradient(to bottom, #040814 0%, #0a142c 100%);
}

/* What We Do Nebula Gradients */
[data-theme="cosmic-green-pink"] .galaxy-nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 25% 35%, rgba(236, 72, 153, 0.45) 0%, transparent 60%),
        radial-gradient(circle at 75% 40%, rgba(34, 197, 94, 0.4) 0%, transparent 60%),
        linear-gradient(to bottom, #06020c 0%, #010804 100%);
}

[data-theme="cosmic-green-pink"] .ocean-horizon,
[data-theme="discord-space"] .ocean-horizon {
    display: none !important;
}

/* New Discord Space Theme Gradients */
[data-theme="discord-space"] .bg-environment {
    background: linear-gradient(to bottom, #1a0b2e 0%, #02050c 100%);
    transition: background 1s ease;
}

[data-theme="discord-space"] .galaxy-nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 40%, rgba(236, 72, 153, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 80% 60%, rgba(34, 197, 94, 0.3) 0%, transparent 60%);
}

/* --- SYSTEM A: BACKGROUND STARS (DECORATIVE) --- */
.star-cluster-field {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.star.decorative {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.6);
    will-change: transform;
    animation: decorativeOrbit linear infinite;
    pointer-events: none;
}

@keyframes decorativeOrbit {
    0% { transform: translateX(-5vw); opacity: 0; }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(105vw); opacity: 0; }
}

.interactive-star-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 99999;
    overflow: hidden;
}

.star.interactive {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto !important;
    box-shadow: 0 0 12px 3px #ffffff, 0 0 25px 6px rgba(0, 242, 254, 0.8), 0 0 40px 10px rgba(236, 72, 153, 0.4);
    animation: magicStarFall 35s linear infinite;
    z-index: 99999;
    will-change: transform;
}

.star.interactive::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 50%;
}

.star.interactive:hover {
    box-shadow: 0 0 15px 5px #ffffff, 0 0 35px 10px #ec4899;
    transform: scale(1.4);
}

.app-animations-paused .magical-bubble,
.app-animations-paused .star.decorative,
.app-animations-paused .star.interactive,
.app-animations-paused .dashboard-star,
.app-animations-paused .cosmic-shooting-star,
.app-animations-paused .fluid-wave,
.app-animations-paused .constellation-drift,
.app-animations-paused .stardust-particle,
.app-animations-paused .jumping-fish,
.app-animations-paused .water-splash,
.app-animations-paused .tos-nebula {
    animation-play-state: paused !important;
}

@keyframes magicStarFall {
    0% { transform: translateY(-5vh) translateX(0) scale(0.8); opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { transform: translateY(105vh) translateX(var(--drift, 30px)) scale(1.2); opacity: 0; }
}

.stardust-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 8px #00f2fe, 0 0 16px #ffffff;
    animation: sparkleRainingDown 1.5s cubic-bezier(0.25, 1, 0.75, 1) forwards;
    z-index: 999999;
}

@keyframes sparkleRainingDown {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    40% { transform: translate(var(--tx), calc(var(--ty) * 0.4)) scale(1.2); opacity: 0.9; }
    100% { transform: translate(calc(var(--tx) * 1.5), calc(var(--ty) + 120px)) scale(0); opacity: 0; }
}

/* --- DENSE PULSING STARS --- */
.cosmic-dashboard-stars {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

[data-theme="cosmic-green-pink"] .cosmic-dashboard-stars,
[data-theme="pricing"] .cosmic-dashboard-stars,
[data-theme="discord-space"] .cosmic-dashboard-stars,
[data-theme="announcements"] .cosmic-dashboard-stars,
[data-theme="reviews"] .cosmic-dashboard-stars { 
    display: block; 
}

.dashboard-star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px #ffffff, 0 0 14px rgba(236, 72, 153, 0.9);
    animation: starPulseFlicker 3s infinite ease-in-out;
    pointer-events: none;
}

@keyframes starPulseFlicker {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* --- SHOOTING STARS --- */
.cosmic-shooting-star {
    display: none;
    position: absolute;
    top: -100px;
    left: -100px;
    width: 160px;
    height: 4px;
    background: linear-gradient(to right, transparent 0%, rgba(236, 72, 153, 0.6) 40%, #ffffff 100%);
    border-radius: 4px;
    filter: drop-shadow(0 0 12px #ffffff) drop-shadow(0 0 22px #ec4899);
    z-index: 5;
    transform: rotate(45deg);
    transform-origin: right center;
    opacity: 0;
    pointer-events: none;
}

[data-theme="cosmic-green-pink"] .cosmic-shooting-star,
[data-theme="pricing"] .cosmic-shooting-star,
[data-theme="discord-space"] .cosmic-shooting-star,
[data-theme="announcements"] .cosmic-shooting-star,
[data-theme="reviews"] .cosmic-shooting-star { 
    display: block; 
}

.comet-one { animation: forwardStreakPassOne 6s linear infinite; }
.comet-two { animation: forwardStreakPassTwo 9s linear infinite; animation-delay: 2s; }
.comet-three { animation: forwardStreakPassThree 12s linear infinite; animation-delay: 4.5s; }

@keyframes forwardStreakPassOne {
    0% { transform: translate(0, 0) rotate(45deg); opacity: 0; }
    4% { opacity: 1; }
    35% { transform: translate(1400px, 1400px) rotate(45deg); opacity: 0; }
    100% { transform: translate(1400px, 1400px) rotate(45deg); opacity: 0; }
}

@keyframes forwardStreakPassTwo {
    0% { transform: translate(400px, -100px) rotate(45deg); opacity: 0; }
    4% { opacity: 1; }
    40% { transform: translate(1700px, 1200px) rotate(45deg); opacity: 0; }
    100% { transform: translate(1700px, 1200px) rotate(45deg); opacity: 0; }
}

@keyframes forwardStreakPassThree {
    0% { transform: translate(-200px, 200px) rotate(45deg); opacity: 0; }
    4% { opacity: 1; }
    30% { transform: translate(1200px, 1600px) rotate(45deg); opacity: 0; }
    100% { transform: translate(1200px, 1600px) rotate(45deg); opacity: 0; }
}

/* --- OCEAN SURFACES --- */
.ripple-ocean-surface {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.flat-horizon-base {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: calc(100% - 20px);
    background: #01142e;
    border-top: 0;
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.4), 0 -10px 28px rgba(0, 210, 255, 0.08);
    z-index: 1;
    pointer-events: none;
}

.flat-horizon-base::before {
    content: '';
    position: absolute;
    left: 0;
    top: -28px;
    width: 100%;
    height: 56px;
    background:
        linear-gradient(
            to bottom,
            rgba(3, 12, 32, 0) 0%,
            rgba(2, 17, 44, 0.38) 42%,
            rgba(1, 20, 46, 0.92) 100%
        );
    pointer-events: none;
}

.flat-horizon-base::after {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 16px;
    background: linear-gradient(to bottom, rgba(52, 211, 255, 0.12), rgba(52, 211, 255, 0));
    opacity: 0.55;
    pointer-events: none;
}

.fluid-wave {
    position: absolute;
    left: 0;
    width: 200%; 
    height: 100%;
    background-repeat: repeat-x;
    transform: translateZ(0); 
    will-change: transform;
    pointer-events: none;
}

.distant-ripple-layer {
    top: 21px;
    height: 40px;
    z-index: 1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 40" preserveAspectRatio="none"><path d="M 0,20 Q 25,12 50,20 T 100,20 T 150,20 T 200,20 T 250,20 T 300,20 T 350,20 T 400,20 L 400,40 L 0,40 Z" fill="%23011a3a" opacity="0.6"/><path d="M 0,20 Q 25,12 50,20 T 100,20 T 150,20 T 200,20 T 250,20 T 300,20 T 350,20 T 400,20" fill="none" stroke="%2300f2fe" stroke-width="0.8" stroke-opacity="0.25"/></svg>');
    background-size: 25% 100%;
    animation: detailedOceanDrift 25s linear infinite reverse; 
}

.mid-sea-layer-2 {
    top: 20px;
    z-index: 2;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 200" preserveAspectRatio="none"><path d="M 0,80 Q 125,20 250,80 T 500,80 T 750,80 T 1000,80 L 1000,200 L 0,200 Z" fill="%23002857" opacity="0.85"/><path d="M 0,80 Q 125,20 250,80 T 500,80 T 750,80 T 1000,80" fill="none" stroke="%2300f2fe" stroke-width="1.5" stroke-opacity="0.4"/></svg>');
    background-size: 50% 100%;
    animation: detailedOceanDrift 18s linear infinite;
}

.surface-sea-layer-1 {
    top: 40px;
    z-index: 3;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 200" preserveAspectRatio="none"><path d="M 0,100 Q 125,160 250,100 T 500,100 T 750,100 T 1000,100 L 1000,200 L 0,200 Z" fill="%23001938"/><path d="M 0,100 Q 125,160 250,100 T 500,100 T 750,100 T 1000,100" fill="none" stroke="%2300f2fe" stroke-width="2.5" stroke-opacity="0.65"/></svg>');
    background-size: 50% 100%;
    animation: detailedOceanDrift 12s linear infinite;
}

@keyframes detailedOceanDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* --- FOREGROUND LAND SILHOUETTE --- */
.foreground-land-silhouette {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 70px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,120 L0,50 Q100,20 250,60 T600,70 T950,40 T1200,80 L1200,120 Z" fill="%2301050c"/></svg>');
    background-size: 100% 100%;
    z-index: 5;
    filter: drop-shadow(0 -8px 15px rgba(0,0,0,0.9));
    pointer-events: none;
}

/* --- PIXEL FISH & SPLASH ANIMATION --- */
.fish-scene {
    position: absolute;
    bottom: 120px; 
    right: 15%; 
    z-index: 99999; 
    pointer-events: none; 
}

.jumping-fish {
    position: absolute;
    height: 60px;
    image-rendering: pixelated;
    opacity: 0;
    z-index: 999999; 
    offset-path: path('M 0,0 Q -150,-400 -300,10');
    offset-rotate: auto 180deg; 
    animation: fishJumpPath 12s infinite linear;
    transition: height 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s ease-in-out;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.6));
    pointer-events: auto; 
}

.water-splash {
    position: absolute;
    bottom: -15px;
    width: 60px;
    height: 15px;
    background: rgba(0, 242, 254, 0.4);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    pointer-events: none;
}

.splash-in { left: -10px; animation: splashEffectIn 12s infinite linear; }
.splash-out { left: -310px; animation: splashEffectOut 12s infinite linear; }

@keyframes fishJumpPath {
    0%, 69.9% { offset-distance: 0%; opacity: 0; }
    70% { offset-distance: 0%; opacity: 1; }
    89% { offset-distance: 100%; opacity: 1; }
    90%, 100% { offset-distance: 100%; opacity: 0; }
}

@keyframes splashEffectIn {
    0%, 69.9% { transform: scale(0); opacity: 0; }
    70% { transform: scale(0.5); opacity: 0.8; }
    73%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes splashEffectOut {
    0%, 88.9% { transform: scale(0); opacity: 0; }
    89% { transform: scale(0.5); opacity: 0.8; }
    92%, 100% { transform: scale(2); opacity: 0; }
}

/* --- USER INTERFACE OVERLAYS --- */
.content-layer {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10vh;
    min-height: 100vh;
    text-align: center;
    pointer-events: none;
}

header, nav, .split-workspace-layout, #backHomeBtn, #backToMenuBtn, .comment-section, .preorder-card, .socials-container, .socials-bio, .meet-faq-shell, .meet-ordering-shell, .tos-container, .form-card, .admin-dashboard, .pricing-container, .nav-btn, .preorder-btn, .btn-preorder-massive, .btn-discord-small, .announcements-container, .reviews-page-shell, .home-trust-shell, .home-trust-grid, .home-trust-card, .home-proof-chip, .care-guide-pill {
    pointer-events: auto;
}

.gif-container { margin-bottom: 15px; height: 75px; }
.active-pokemon-gif { height: 65px; image-rendering: pixelated; }

header h1 { font-size: 3rem; font-weight: 700; text-shadow: 0 0 20px rgba(255,255,255,0.2); margin-bottom: 4px; }
header h2 { font-size: 1.7rem; color: #a2b7cc; margin-bottom: 6vh; }

:root {
    --home-cyan: #3fd8ff;
    --home-cyan-strong: #32c6ea;
    --home-cyan-deep: #1f92b7;
    --home-navy-glass-a: rgba(5, 12, 30, 0.92);
    --home-navy-glass-b: rgba(11, 25, 47, 0.88);
    --home-purple-accent: #7d5cff;
    --home-pink-accent: #9a84ff;
    --home-gold-accent: #d6a64a;
    --home-danger: #f87171;
    --home-text-title: #f7f9ff;
    --home-text-section: #f4efe4;
    --home-text-body: #c9d5e3;
    --home-text-helper: #8fa4bb;
    --home-surface-border: rgba(196, 213, 234, 0.18);
    --home-surface-shadow: 0 14px 28px rgba(2, 8, 23, 0.34), 0 2px 0 rgba(255, 255, 255, 0.04) inset;
    --home-radius: 18px;
    --home-card-shadow: 0 10px 22px rgba(2, 8, 23, 0.28), inset 0 0 12px rgba(255, 255, 255, 0.02);
    --home-chapter-divider: linear-gradient(90deg, rgba(103, 232, 249, 0), rgba(103, 232, 249, 0.28), rgba(167, 139, 250, 0.24), rgba(103, 232, 249, 0));
    --home-border-soft: rgba(177, 210, 255, 0.17);
    --ui-radius-card: 20px;
    --ui-radius-pill: 999px;
    --ui-space-xs: 8px;
    --ui-space-sm: 12px;
    --ui-space-md: 16px;
    --ui-space-lg: 24px;
    --ui-space-xl: 40px;
    --ui-btn-font-size: 1.05rem;
    --ui-btn-pad-y: 12px;
    --ui-btn-pad-x: 24px;
    --ui-transition-fast: 0.22s ease;
}

.home-hero-shell {
    width: 100%;
    max-width: 1040px;
    display: grid;
    justify-items: center;
    gap: 0;
    padding-top: 34px;
    margin-bottom: 48px;
    position: relative;
    background: transparent !important;
    border: 0;
    box-shadow: none;
}

.home-hero-shell::after {
    content: none;
    position: absolute;
    left: 50%;
    top: -34px;
    width: min(760px, 92vw);
    height: 180px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(63, 216, 255, 0.14), rgba(63, 216, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.home-hero-header {
    width: 100%;
    max-width: 900px;
    text-align: center;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.home-hero-header h2 {
    margin-bottom: 12px;
    font-size: 1.62rem;
    letter-spacing: 0.04em;
    color: #edf7ff;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.35);
}

.home-hero-header h1 {
    color: #ffffff;
    font-size: clamp(2.8rem, 6.2vw, 4.7rem);
    line-height: 1.06;
    letter-spacing: 0.01em;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.34), 0 0 14px rgba(63, 216, 255, 0.12);
}

.home-hero-note {
    margin: 0 auto 28px;
    max-width: 820px;
    color: #d5e4f2;
    font-size: 1.08rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.home-top-nav-strip {
    width: 240px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: static;
    top: auto;
    left: auto;
    display: flex;
    justify-content: flex-start;
    z-index: auto;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
    pointer-events: auto;
}

.home-top-nav-strip.sidebar-nav-dim,
.sidebar-nav.sidebar-nav-dim {
    opacity: 0.2;
}

.home-top-nav {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: visible;
    gap: 4px;
}

.home-top-link {
    flex: 0 0 auto;
    white-space: normal;
    text-align: left;
    width: auto;
    max-width: 208px;
    padding: 7px 12px;
    font-size: 0.83rem;
    line-height: 1.3;
}

.nav-pill {
    position: relative;
    border: 2px solid rgba(125, 211, 252, 0.34);
    background: #0a0f1e;
    color: #ffffff !important;
    border-radius: 50px;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-pill::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0a0f1e;
    border-radius: 50px;
    z-index: -1;
}

.nav-pill::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(#ff007f, #ffaa00, #00ffaa, #00aaff, #ff007f);
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#socialsBtn.home-top-link {
    max-width: 212px;
}

.nav-pill:hover {
    border-color: transparent !important;
}

.nav-pill:hover::before {
    opacity: 1;
    animation: spinLED 3s linear infinite;
}

@keyframes spinLED {
    100% {
        transform: rotate(360deg);
    }
}

.home-hero-shell .gif-container {
    margin-top: 16px;
    margin-bottom: 24px;
}

.button-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; max-width: 800px; }

.button-container-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    gap: 0;
    margin-bottom: 26px;
}

.home-cta-badge {
    margin: 8px 0 0;
    padding: 5px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(125, 211, 252, 0.36);
    background: linear-gradient(145deg, rgba(8, 23, 46, 0.66), rgba(8, 18, 35, 0.56));
    color: #bfd3e7;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

.home-cta-badge strong {
    color: #eaf6ff;
    font-size: 0.82rem;
}

.home-proof-badge {
    margin: 8px 0 0;
    padding: 7px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(125, 211, 252, 0.3);
    background: linear-gradient(145deg, rgba(8, 23, 46, 0.66), rgba(8, 18, 35, 0.56));
    color: #bfd3e7;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
}

.home-proof-badge strong {
    color: #f8fdff;
    font-size: 0.84rem;
}

.home-secondary-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.home-secondary-actions {
    gap: var(--ui-space-sm);
    margin-top: 12px;
}

.home-utility-actions {
    margin-top: 8px;
}

.home-discord-btn {
    max-width: 360px;
    font-size: 0.93rem;
    padding: 10px 18px;
    opacity: 0.9;
}

.home-secondary-btn,
.home-secondary-actions .cosmic-updates-btn {
    width: 100%;
    max-width: 310px;
}

.home-secondary-actions .home-secondary-btn,
.home-secondary-actions .cosmic-updates-btn {
    margin-top: 0;
    margin-bottom: 0;
}

.home-secondary-actions .cosmic-updates-btn {
    border-color: rgba(125, 92, 255, 0.38);
    background: rgba(125, 92, 255, 0.09) !important;
    box-shadow: 0 0 8px rgba(125, 92, 255, 0.14) !important;
}

.home-secondary-actions .cosmic-updates-btn:hover {
    background: rgba(125, 92, 255, 0.16) !important;
    border-color: rgba(125, 92, 255, 0.5);
    box-shadow: 0 6px 14px rgba(125, 92, 255, 0.2) !important;
}

.home-secondary-actions .home-secondary-btn {
    border-color: rgba(125, 92, 255, 0.38);
    background: rgba(125, 92, 255, 0.09);
    box-shadow: 0 0 8px rgba(125, 92, 255, 0.14);
}

.home-secondary-actions .home-secondary-btn:hover {
    background: rgba(125, 92, 255, 0.16);
    border-color: rgba(125, 92, 255, 0.5);
    box-shadow: 0 6px 14px rgba(125, 92, 255, 0.2);
    transform: translateY(-2px);
}


.home-pro-shell {
    width: 100%;
    max-width: 1140px;
    display: grid;
    gap: 18px;
    margin-top: 30px;
    position: relative;
    z-index: 2;
    background: transparent !important;
    border: 0;
    box-shadow: none;
}

.home-pro-shell::before {
    content: none;
    position: absolute;
    inset: auto -8px -72px -8px;
    height: 140px;
    background: radial-gradient(58% 78% at 50% 0%, rgba(63, 216, 255, 0.07), rgba(63, 216, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.home-pro-shell::after {
    content: none;
    position: absolute;
    inset: -16px -10px auto -10px;
    height: 200px;
    background:
        radial-gradient(46% 56% at 15% 20%, rgba(63, 216, 255, 0.058), rgba(63, 216, 255, 0)),
        radial-gradient(42% 54% at 85% 30%, rgba(125, 92, 255, 0.05), rgba(125, 92, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.home-pro-intro {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    display: grid;
    gap: 9px;
    position: relative;
    padding-top: 15px;
    background: transparent;
}

.home-pro-intro::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: min(280px, 72vw);
    height: 1px;
    transform: translateX(-50%);
    background: var(--home-chapter-divider);
}

.home-pro-intro::after {
    content: '';
    position: absolute;
    left: 50%;
    top: -8px;
    width: min(220px, 58vw);
    height: 64px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(ellipse at center, rgba(103, 232, 249, 0.12), rgba(103, 232, 249, 0));
    pointer-events: none;
    z-index: -1;
}

.home-pro-kicker {
    margin: 0;
    color: #9ab4cc;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
}

.home-pro-intro h3 {
    margin: 0;
    color: #dce9f6;
    font-size: 1.2rem;
    line-height: 1.55;
    font-weight: 500;
}

.home-pro-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
    background: transparent;
}

.home-pro-grid:first-of-type {
    grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
}

.home-pro-grid:last-of-type {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    position: relative;
}

.home-pro-grid:last-of-type::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: -36px;
    width: 200px;
    height: 108px;
    background: radial-gradient(ellipse at center, rgba(125, 92, 255, 0.09), rgba(125, 92, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.home-pro-grid:first-of-type .home-pro-card {
    border-radius: 22px;
    border-color: rgba(103, 232, 249, 0.36);
    box-shadow: 0 20px 34px rgba(4, 14, 31, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.09), inset 0 0 12px rgba(255, 255, 255, 0.02);
    padding: 16px 17px;
}

.home-pro-grid:first-of-type .home-pro-card h3 {
    font-size: 1.2rem;
}

.home-pro-grid:last-of-type .home-pro-card {
    background:
        radial-gradient(120% 95% at 100% -10%, rgba(125, 92, 255, 0.065), rgba(125, 92, 255, 0) 50%),
        linear-gradient(160deg, rgba(8, 15, 31, 0.86), rgba(8, 21, 39, 0.78));
    box-shadow: 0 6px 12px rgba(2, 8, 23, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 0 8px rgba(255, 255, 255, 0.012);
    border-color: rgba(177, 210, 255, 0.085);
    border-radius: 16px;
}

.home-pro-grid:last-of-type .home-pro-card h3 {
    font-size: 1.04rem;
    color: #e5eef9;
}

.home-pro-grid:last-of-type .home-pro-card::after {
    opacity: 0.52;
}

.home-pro-grid:last-of-type .home-care-card {
    max-width: 96%;
    justify-self: end;
}

.home-pro-grid + .home-pro-grid {
    position: relative;
    margin-top: 18px;
    padding-top: 18px;
}

.home-pro-grid + .home-pro-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: min(360px, 84vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(216, 180, 254, 0), rgba(216, 180, 254, 0.3), rgba(103, 232, 249, 0.18), rgba(216, 180, 254, 0));
}

.home-pro-card {
    --home-card-accent: rgba(125, 211, 252, 0.25);
    background:
        radial-gradient(140% 110% at 100% -10%, rgba(120, 168, 198, 0.13), rgba(120, 168, 198, 0) 45%),
        radial-gradient(120% 100% at -10% 0%, rgba(63, 216, 255, 0.11), rgba(63, 216, 255, 0) 40%),
        linear-gradient(158deg, rgba(10, 18, 36, 0.88), rgba(11, 25, 47, 0.82));
    border: 1px solid rgba(196, 213, 234, 0.14);
    border-radius: var(--ui-radius-card);
    box-shadow: 0 10px 20px rgba(2, 8, 23, 0.28), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
    padding: 14px 15px;
    text-align: left;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.home-pro-card::before {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    top: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(63, 216, 255, 0.4), rgba(63, 216, 255, 0.02), rgba(63, 216, 255, 0));
    pointer-events: none;
}

.home-pro-card::after {
    content: '';
    position: absolute;
    right: -46px;
    top: -44px;
    width: 130px;
    height: 130px;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.home-pro-card h3 {
    color: #f6f0e5;
    margin-bottom: 7px;
    font-size: 1.18rem;
    letter-spacing: 0.01em;
    line-height: 1.3;
    position: relative;
    padding-left: 20px;
}

.home-pro-card h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 1px solid rgba(103, 232, 249, 0.6);
    background: linear-gradient(145deg, rgba(103, 232, 249, 0.22), rgba(167, 139, 250, 0.12));
    box-shadow: 0 0 6px rgba(103, 232, 249, 0.2);
}

.home-pro-card-subtitle {
    margin: 0 0 12px;
    color: #bccddd;
    font-size: 0.9rem;
    line-height: 1.5;
}

.home-availability-card {
    --home-card-accent: rgba(34, 211, 238, 0.3);
    border-color: rgba(214, 166, 74, 0.28);
    box-shadow: 0 7px 13px rgba(3, 12, 28, 0.16), inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.home-availability-card h3::before {
    border-radius: 999px;
    border-color: rgba(214, 166, 74, 0.68);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.78), rgba(214, 166, 74, 0.45) 55%, rgba(90, 64, 22, 0.25));
}

.home-pro-grid:first-of-type .home-pro-card:nth-child(2) h3::before {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    border-color: rgba(103, 232, 249, 0.68);
    background:
        linear-gradient(45deg, transparent 42%, rgba(103, 232, 249, 0.9) 42%, rgba(103, 232, 249, 0.9) 54%, transparent 54%),
        linear-gradient(145deg, rgba(103, 232, 249, 0.18), rgba(12, 74, 110, 0.18));
    box-shadow: 0 0 6px rgba(103, 232, 249, 0.22);
}

.home-updates-card h3::before {
    border-radius: 999px;
    border-color: rgba(125, 92, 255, 0.66);
    background: radial-gradient(circle at 32% 35%, rgba(255, 255, 255, 0.78), rgba(125, 92, 255, 0.48) 58%, rgba(63, 216, 255, 0.14));
}

.home-care-card h3::before {
    border-color: rgba(125, 211, 252, 0.58);
    background:
        linear-gradient(90deg, transparent 43%, rgba(125, 211, 252, 0.88) 43%, rgba(125, 211, 252, 0.88) 57%, transparent 57%),
        linear-gradient(0deg, transparent 43%, rgba(125, 211, 252, 0.88) 43%, rgba(125, 211, 252, 0.88) 57%, transparent 57%),
        linear-gradient(145deg, rgba(125, 211, 252, 0.2), rgba(103, 232, 249, 0.06));
}

.home-availability-card .home-pro-card-subtitle {
    color: #d4d4ce;
}

.availability-list {
    display: grid;
    gap: 8px;
}

.availability-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid rgba(214, 166, 74, 0.28);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(31, 23, 12, 0.3), rgba(8, 18, 36, 0.62));
}

.availability-service {
    display: grid;
    gap: 2px;
}

.availability-service strong {
    color: #fbf4e5;
    font-size: 1.05rem;
}

.availability-service span {
    color: var(--home-text-helper);
    font-size: 0.92rem;
}

.availability-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.status-pill,
.slot-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.status-pill {
    color: #f8fafc;
    backdrop-filter: blur(6px);
}

.status-open {
    background: rgba(214, 166, 74, 0.18);
    border: 1px solid rgba(214, 166, 74, 0.45);
    color: #f9ebc8;
}

.status-limited {
    background: rgba(214, 166, 74, 0.24);
    border: 1px solid rgba(214, 166, 74, 0.58);
    color: #fff2cf;
}

.status-closed {
    background: rgba(248, 113, 113, 0.22);
    border: 1px solid rgba(248, 113, 113, 0.5);
}

.slot-pill {
    color: #f5e9cc;
    background: rgba(214, 166, 74, 0.16);
    border: 1px solid rgba(214, 166, 74, 0.34);
}

.status-open,
.status-limited,
.slot-pill {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.availability-response {
    color: #dbeafe;
    margin-top: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(125, 211, 252, 0.22);
    padding-top: 10px;
    background: linear-gradient(90deg, rgba(6, 18, 38, 0.55), rgba(6, 18, 38, 0.15));
    border-radius: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.pro-checklist,
.mini-updates-list {
    margin: 0;
    padding-left: 0;
    color: #dbeafe;
    line-height: 1.6;
    list-style: none;
}

.pro-checklist li,
.mini-updates-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.home-pro-card .pro-checklist li {
    padding-left: 24px;
    margin-bottom: 6px;
    color: #dce9f8;
}

.pro-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -0.5px;
    color: var(--home-cyan);
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.45);
}

.care-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.care-guide-item {
    background: linear-gradient(145deg, rgba(10, 17, 34, 0.8), rgba(8, 15, 29, 0.64));
    border: 1px solid rgba(143, 164, 187, 0.22);
    border-radius: 12px;
    padding: 9px 11px;
    box-shadow: 0 4px 10px rgba(2, 8, 23, 0.14), inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.care-guide-item h4 {
    color: #edf2f8;
    font-size: 0.98rem;
    margin: 0 0 4px;
}

.care-guide-item p {
    color: #9fb1c4;
    margin: 0;
    line-height: 1.6;
    font-size: 0.9rem;
}

.home-updates-card {
    --home-card-accent: rgba(216, 180, 254, 0.32);
    border-color: rgba(125, 92, 255, 0.18);
    box-shadow: 0 6px 12px rgba(14, 9, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.045), inset 0 0 8px rgba(255, 255, 255, 0.012);
    padding: 12px 13px;
}

.home-updates-card::before {
    background: linear-gradient(90deg, rgba(125, 92, 255, 0.52), rgba(125, 92, 255, 0.16), rgba(125, 92, 255, 0));
}

.home-updates-card .mini-updates-list li {
    padding-left: 24px;
    margin-bottom: 7px;
    border-left: 1px solid rgba(125, 92, 255, 0.38);
    margin-left: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.home-updates-card .mini-updates-list li:last-child {
    margin-bottom: 0;
}

.home-updates-card .mini-updates-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(125, 92, 255, 0.95), rgba(125, 92, 255, 0.72));
    box-shadow: 0 0 6px rgba(125, 92, 255, 0.38);
}

.home-care-card {
    --home-card-accent: rgba(125, 211, 252, 0.24);
    border-color: rgba(143, 164, 187, 0.16);
    box-shadow: 0 6px 11px rgba(3, 10, 24, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.045), inset 0 0 8px rgba(255, 255, 255, 0.012);
    padding: 15px 16px;
}

.home-trust-shell {
    width: 100%;
    max-width: 1140px;
    margin-top: 52px;
    display: grid;
    gap: 20px;
    position: relative;
    z-index: 2;
    background: transparent !important;
    border: 0;
    box-shadow: none;
}

.home-trust-shell::before {
    content: none;
    position: absolute;
    inset: auto -10px -82px -10px;
    height: 150px;
    background: radial-gradient(58% 82% at 50% 0%, rgba(125, 92, 255, 0.11), rgba(125, 92, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.home-trust-shell::after {
    content: none;
    position: absolute;
    inset: -12px -10px auto -10px;
    height: 300px;
    background:
        radial-gradient(66% 82% at 50% 24%, rgba(167, 139, 250, 0.13), rgba(167, 139, 250, 0)),
        radial-gradient(56% 66% at 18% 30%, rgba(63, 216, 255, 0.065), rgba(63, 216, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.home-trust-head {
    text-align: center;
    display: grid;
    gap: 7px;
    position: relative;
    padding-top: 14px;
    background: transparent;
}

.home-trust-head::before {
    content: none;
}

.home-trust-head::after {
    content: none;
}

.home-trust-head h3 {
    margin: 0;
    color: #f2f6fd;
    font-size: 1.5rem;
    letter-spacing: 0.01em;
    text-shadow: 0 3px 12px rgba(7, 15, 34, 0.44);
}

.home-trust-head p {
    margin: 0;
    color: #c8d4e6;
    font-size: 1.02rem;
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 1000px;
    margin: 8px auto 0;
    background: transparent;
}

.home-trust-card {
    --trust-inner-bg: radial-gradient(100% 85% at 18% 0%, rgba(16, 68, 85, 0.1), rgba(16, 68, 85, 0) 42%), linear-gradient(155deg, rgba(12, 18, 38, 0.82), rgba(8, 20, 42, 0.78));
    background:
        var(--trust-inner-bg) padding-box,
        linear-gradient(120deg, rgba(63, 216, 255, 0.95), rgba(125, 92, 255, 0.95), rgba(244, 114, 182, 0.92), rgba(250, 204, 21, 0.9), rgba(63, 216, 255, 0.95)) border-box;
    border: 2px solid transparent;
    border-radius: var(--ui-radius-card);
    box-shadow: 0 7px 13px rgba(4, 10, 24, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.055), inset 0 0 8px rgba(255, 255, 255, 0.022);
    padding: 16px 16px 16px 17px;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 162px;
    background-size: 100% 100%, 260% 260%;
    background-position: 0 0, 0% 50%;
    animation: trustBorderFlow 24s linear infinite;
}

.home-trust-card:nth-child(1) {
    grid-column: auto;
    min-height: 162px;
    max-width: none;
    justify-self: stretch;
    border-color: transparent;
    border-radius: var(--ui-radius-card);
    --trust-inner-bg:
        radial-gradient(115% 95% at 80% -18%, rgba(167, 139, 250, 0.18), rgba(167, 139, 250, 0) 48%),
        radial-gradient(110% 82% at 10% 0%, rgba(63, 216, 255, 0.14), rgba(63, 216, 255, 0) 46%),
        linear-gradient(150deg, rgba(13, 21, 42, 0.88), rgba(8, 22, 49, 0.84));
    box-shadow: 0 10px 18px rgba(8, 11, 34, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 10px rgba(255, 255, 255, 0.02);
    padding: 16px 16px 16px 17px;
}

.home-trust-card:nth-child(2),
.home-trust-card:nth-child(3),
.home-trust-card:nth-child(4) {
    grid-column: auto;
}

.home-trust-card:nth-child(odd) {
    transform: none;
}

.home-trust-card:nth-child(even) {
    transform: none;
}

.home-trust-card::before {
    content: 'TR';
    position: absolute;
    left: 13px;
    top: 15px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(63, 216, 255, 0.28), rgba(63, 216, 255, 0.1));
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.1), 0 0 8px rgba(63, 216, 255, 0.16);
    border: 1px solid rgba(63, 216, 255, 0.35);
    color: #dff6ff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-trust-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 36%);
    pointer-events: none;
}

.home-trust-card h4 {
    margin: 0 0 7px;
    padding-left: 36px;
    color: var(--home-text-section);
    font-size: 1.02rem;
    line-height: 1.38;
    letter-spacing: 0.01em;
}

.home-trust-card p {
    margin: 0;
    padding-left: 36px;
    color: #bfcee0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.home-trust-card:nth-child(1) h4 {
    font-size: 1.02rem;
    margin-bottom: 7px;
    line-height: 1.38;
}

.home-trust-card:nth-child(1) p {
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: none;
}

.home-proof-chips {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 36px;
}

.home-proof-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: #def3ff;
    border: 1px solid rgba(125, 211, 252, 0.42);
    background: linear-gradient(145deg, rgba(8, 24, 48, 0.74), rgba(7, 18, 36, 0.64));
}

.care-guide-pill {
    cursor: pointer;
}

.home-care-click-hint {
    margin-top: 8px;
    padding-left: 36px;
    font-size: 0.76rem;
    color: #a9bfd8;
    letter-spacing: 0.01em;
}

.home-trust-card:nth-child(1)::before {
    content: 'CC';
    top: 19px;
    width: 28px;
    height: 28px;
    font-size: 0.62rem;
    border-radius: 9px;
}

.home-trust-card:nth-child(2)::before {
    content: 'GP';
}

.home-trust-card:nth-child(3)::before {
    content: 'TQ';
}

.home-trust-card:nth-child(4)::before {
    content: 'HC';
}

.home-trust-card:nth-child(1) {
    border-color: transparent;
}

.home-trust-card:nth-child(2) {
    border-color: transparent;
    --trust-inner-bg: linear-gradient(155deg, rgba(10, 19, 39, 0.9), rgba(8, 20, 42, 0.86));
}

.home-trust-card:nth-child(3) {
    border-color: transparent;
    --trust-inner-bg: linear-gradient(155deg, rgba(11, 20, 41, 0.9), rgba(8, 20, 40, 0.86));
}

.home-trust-card:nth-child(4) {
    border-color: transparent;
    --trust-inner-bg: linear-gradient(155deg, rgba(12, 18, 38, 0.9), rgba(8, 18, 37, 0.86));
}

.home-featured-review-shell {
    width: 100%;
    max-width: 960px;
    margin-top: 16px;
    margin-bottom: 22px;
}

.home-featured-review-card {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    background: linear-gradient(155deg, rgba(7, 16, 37, 0.9), rgba(9, 22, 48, 0.84));
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.08), inset 0 0 14px rgba(255, 255, 255, 0.02);
    text-align: center;
}

.home-featured-review-kicker {
    margin: 0;
    color: #c4b5fd;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.home-featured-review-stars {
    color: #facc15;
    font-size: 1.15rem;
    letter-spacing: 0.12em;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.32);
}

.home-featured-review-text {
    margin: 0;
    color: #ecf6ff;
    font-size: 1rem;
    line-height: 1.65;
}

.home-featured-review-meta {
    margin: 0;
    color: #a9bfd8;
    font-size: 0.88rem;
}

.home-featured-review-btn {
    justify-self: center;
}

@keyframes trustBorderFlow {
    0% { background-position: 0 0, 0% 50%; }
    50% { background-position: 0 0, 100% 50%; }
    100% { background-position: 0 0, 0% 50%; }
}

.home-final-cta-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: min(980px, 100%);
    margin-top: 44px;
    margin-bottom: 48px;
    padding: 20px 14px 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    display: grid;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.home-final-cta-shell::after {
    content: none;
}

.home-final-cta-shell::before {
    content: none;
}

.home-final-cta-shell h3 {
    margin: 0;
    color: #f4f8ff;
    font-size: 1.68rem;
    line-height: 1.3;
    text-shadow: 0 4px 16px rgba(7, 15, 34, 0.38);
}

.home-final-cta-shell p {
    margin: 0;
    color: #c9d9eb;
    font-size: 1.02rem;
    line-height: 1.55;
}

.home-final-cta-reassure {
    margin-top: 4px !important;
    color: #a9bfd8 !important;
    font-size: 0.92rem !important;
    letter-spacing: 0.01em;
}

.home-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--ui-space-sm);
    margin-top: 10px;
}

.home-final-cta-actions .nav-btn {
    font-size: 1.04rem;
    padding: 13px 24px;
    border-width: 2px;
}

.home-final-cta-primary {
    border-width: 2px;
    border-color: rgba(63, 216, 255, 0.8);
    box-shadow: 0 16px 28px rgba(20, 122, 152, 0.3), 0 0 20px rgba(63, 216, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(34, 154, 190, 0.95), rgba(23, 97, 140, 0.94) 58%, rgba(22, 70, 120, 0.92));
    color: #ffffff;
    font-size: 1.1rem;
    padding: 14px 28px;
}

.home-final-cta-primary:hover {
    transform: translateY(-5px) scale(1.024);
    border-color: rgba(103, 232, 249, 0.92);
    box-shadow: 0 22px 36px rgba(20, 122, 152, 0.38), 0 0 28px rgba(63, 216, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.home-final-cta-primary:active {
    transform: translateY(-1px) scale(0.995);
}

body[data-page="home"] .btn-preorder-massive,
body[data-page="home"] .home-final-cta-primary {
    position: relative;
    isolation: isolate;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease;
}

body[data-page="home"] .btn-preorder-massive {
    letter-spacing: 0.01em;
}

body[data-page="home"] .btn-preorder-massive:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(180, 243, 255, 0.96);
    box-shadow: 0 30px 44px rgba(14, 104, 133, 0.44), 0 0 32px rgba(63, 216, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

body[data-page="home"] .btn-preorder-massive:active {
    transform: translateY(-2px) scale(0.996);
}

body[data-page="home"] .btn-preorder-massive::before,
body[data-page="home"] .home-final-cta-primary::before {
    content: none;
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    filter: blur(0.8px);
    opacity: 0.82;
    z-index: -1;
    pointer-events: none;
}

.home-final-cta-secondary {
    border-color: rgba(125, 92, 255, 0.3);
    color: #cfd6ea;
    background: linear-gradient(145deg, rgba(20, 24, 52, 0.76), rgba(16, 20, 44, 0.7));
}

/* Keep home waves decorative and less intrusive behind content cards. */
body[data-page="home"] .distant-ripple-layer {
    opacity: 0.44;
}

body[data-page="home"] .mid-sea-layer-2 {
    opacity: 0.4;
}

body[data-page="home"] .surface-sea-layer-1 {
    opacity: 0.28;
}

body[data-page="home"] .flat-horizon-base {
    box-shadow: inset 0 24px 42px rgba(0, 0, 0, 0.58);
}

.update-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #67e8f9, #a78bfa);
    box-shadow: 0 0 8px rgba(103, 232, 249, 0.7);
    position: absolute;
    left: 0;
    top: 9px;
}

/* Clean 2-Column Grid for Preorder Buttons */
.button-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    width: 100%;
}

.nav-btn {
    background: linear-gradient(145deg, rgba(18, 28, 48, 0.86), rgba(13, 21, 39, 0.8));
    border: 2px solid rgba(63, 216, 255, 0.25);
    backdrop-filter: blur(12px);
    color: #ffffff;
    padding: var(--ui-btn-pad-y) var(--ui-btn-pad-x);
    font-family: 'Fredoka', sans-serif;
    font-size: var(--ui-btn-font-size);
    border-radius: var(--ui-radius-pill);
    transition: transform var(--ui-transition-fast), background-color var(--ui-transition-fast), border-color var(--ui-transition-fast), box-shadow var(--ui-transition-fast);
}

.nav-btn:hover {
    background: linear-gradient(145deg, rgba(27, 41, 69, 0.9), rgba(18, 30, 52, 0.86));
    border-color: rgba(63, 216, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(63, 216, 255, 0.2);
}

.split-workspace-layout { display: flex; gap: 35px; max-width: 950px; width: 100%; margin-top: 20px; text-align: left; padding: 0 20px; }

.text-scroller-card {
    flex: 1.3; background: rgba(8, 2, 15, 0.85); border: 3px solid #ec4899; border-radius: 24px; padding: 35px;
    max-height: 440px; overflow-y: auto; backdrop-filter: blur(20px); box-shadow: 0 0 30px rgba(236, 72, 153, 0.2);
}
.text-scroller-card::-webkit-scrollbar { width: 8px; }
.text-scroller-card::-webkit-scrollbar-thumb { background: #22c55e; border-radius: 10px; }

.text-scroller-card h3 { font-size: 2rem; color: #22c55e; margin-bottom: 15px; }
.text-scroller-card p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 15px; color: #f3f4f6; }

.visual-media-card {
    flex: 0.8; background: rgba(1, 12, 4, 0.85); border: 3px solid #22c55e; border-radius: 24px; padding: 35px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; backdrop-filter: blur(20px); box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}
.visual-media-card h3 { font-size: 1.7rem; color: #ec4899; margin-bottom: 25px; }
.mew-display-gif { height: 110px; image-rendering: pixelated; filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.5)); }

/* ==========================================
   --- NEW BUTTON HIERARCHY ---
   ========================================== */

.btn-preorder-massive {
    background: linear-gradient(135deg, #3fd8ff, #249bc0 58%, #1a7696);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 28px rgba(14, 104, 133, 0.32), 0 0 18px rgba(63, 216, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: white;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.65rem;
    padding: 22px 50px;
    border-radius: var(--ui-radius-pill);
    transition: all 0.3s ease;
    margin-top: 0;
    width: 100%;
    max-width: 465px;
}

.btn-preorder-massive:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 34px rgba(14, 104, 133, 0.38), 0 0 24px rgba(63, 216, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes iridescentEdgeShift {
    0% { border-color: rgba(125, 211, 252, 0.96); }
    33% { border-color: rgba(196, 181, 253, 0.94); }
    66% { border-color: rgba(244, 184, 216, 0.9); }
    100% { border-color: rgba(125, 211, 252, 0.96); }
}

body[data-page="home"] .btn-preorder-massive,
body[data-page="home"] .home-secondary-actions .home-secondary-btn,
body[data-page="home"] .home-secondary-actions .cosmic-updates-btn {
    animation: iridescentEdgeShift 16s linear infinite !important;
    border-width: 2px !important;
    border-style: solid !important;
}

body[data-page="home"] .btn-preorder-massive {
    animation-duration: 10s !important;
    border-width: 2px;
}

body[data-page="home"] .nav-btn:focus-visible,
body[data-page="home"] .btn-preorder-massive:focus-visible,
body[data-page="home"] .btn-discord-small:focus-visible,
body[data-page="home"] .cosmic-updates-btn:focus-visible {
    outline: 2px solid rgba(63, 216, 255, 0.85);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(63, 216, 255, 0.2);
}

.btn-discord-small {
    background: rgba(114, 137, 218, 0.2);
    border: 1px solid rgba(114, 137, 218, 0.5);
    color: #e2e8f0;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    padding: 12px 25px;
    border-radius: var(--ui-radius-pill);
    transition: all 0.2s ease;
    margin-top: 0;
    width: 100%;
    max-width: 350px;
}

.btn-discord-small:hover {
    background: rgba(114, 137, 218, 0.4);
    box-shadow: 0 0 15px rgba(114, 137, 218, 0.5);
    color: #ffffff;
}

/* ==========================================
   --- MODALS & FORMS LAYOUT RECOVERY ---
   ========================================== */

.modal {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: hidden; 
    background-color: rgba(0,0,0,0.85); 
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(10, 5, 20, 0.95);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border: 2px solid #00f2fe;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #a2b7cc;
    font-size: 2.5rem;
    font-weight: bold;
    transition: color 0.2s;
    z-index: 10;
}

.close-btn:hover {
    color: #ef4444;
}

.modal-title {
    color: #ffffff;
    text-shadow: 0 0 15px #00f2fe;
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
}

body.admin-login-modal-open {
    overflow: hidden;
}

.admin-login-modal {
    position: fixed;
    inset: 0;
    z-index: 120000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 6, 18, 0.82);
    backdrop-filter: blur(10px);
}

.admin-login-modal__dialog {
    position: relative;
    width: min(460px, 100%);
    background: linear-gradient(180deg, rgba(7, 14, 31, 0.98), rgba(6, 12, 26, 0.96));
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 26px;
    padding: 28px;
    box-shadow: 0 0 34px rgba(56, 189, 248, 0.22), inset 0 0 18px rgba(255,255,255,0.02);
    text-align: left;
    overflow: hidden;
}

.admin-login-modal__dialog.is-error-shake {
    animation: adminLoginErrorShake 360ms ease;
}

@keyframes adminLoginErrorShake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

.admin-login-modal__dialog::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.85), transparent);
}

.admin-login-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    border: 0;
    background: transparent;
    color: #a9c5dd;
    font-size: 2rem;
    line-height: 1;
    padding: 4px 8px;
    cursor: pointer;
}

.admin-login-modal__close:hover {
    color: #ffffff;
}

.admin-login-modal__close:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
    border-radius: 10px;
}

.admin-login-modal__eyebrow {
    color: #7dd3fc;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}

.admin-login-modal__title {
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.25rem);
    line-height: 1.1;
    margin: 0 0 10px;
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.admin-login-modal__copy {
    color: #b9d2e5;
    line-height: 1.65;
    font-size: 0.98rem;
    margin-bottom: 20px;
}

.admin-login-modal__form {
    display: grid;
    gap: 12px;
}

.admin-login-modal__form > * {
    min-width: 0;
}

.admin-login-modal__label {
    color: #eef7ff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.admin-login-modal__input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    background: rgba(2, 8, 22, 0.82);
    color: #ffffff;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 1rem;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.02);
}

.admin-login-modal__input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.95);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16), inset 0 0 10px rgba(255,255,255,0.02);
}

.admin-login-modal__input.is-invalid {
    border-color: rgba(244, 63, 94, 0.95);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.18), inset 0 0 10px rgba(255,255,255,0.02);
    animation: adminLoginFieldPulse 420ms ease;
}

@keyframes adminLoginFieldPulse {
    0% { transform: scale(1); }
    45% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.admin-login-modal__password-row {
    position: relative;
    width: 100%;
    min-width: 0;
}

.admin-login-modal__input--password {
    padding-right: 78px;
}

.admin-login-modal__password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    min-width: 58px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.35);
    background: rgba(12, 28, 51, 0.86);
    color: #dbeafe;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
    cursor: pointer;
}

.admin-login-modal__password-toggle:hover {
    background: rgba(20, 42, 75, 0.96);
}

.admin-login-modal__password-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.admin-login-modal__error {
    min-height: 1.25rem;
    margin: 2px 0 0;
    color: #fda4af;
    font-size: 0.9rem;
    line-height: 1.45;
}

.admin-login-modal__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cfe8ff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.admin-login-modal__remember-input {
    width: 17px;
    height: 17px;
    border-radius: 4px;
    accent-color: #38bdf8;
    cursor: pointer;
}

.admin-login-modal__hint {
    margin: -2px 0 2px;
    color: #9fb9cf;
    font-size: 0.82rem;
}

.admin-login-modal__caps-hint {
    margin: -4px 0 2px;
    color: #fbbf24;
    font-size: 0.82rem;
    font-weight: 600;
}

.admin-login-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 6px;
}

.admin-login-modal__btn {
    border-radius: 999px;
    padding: 11px 18px;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.admin-login-modal__btn:hover {
    transform: translateY(-2px);
}

.admin-login-modal__btn:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.admin-login-modal__btn--secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #dbeafe;
}

.admin-login-modal__btn--secondary:hover {
    background: rgba(255,255,255,0.1);
}

.admin-login-modal__btn--primary {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(168, 85, 247, 0.26));
    border: 1px solid rgba(125, 211, 252, 0.34);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.16);
}

.admin-login-modal__btn--primary:hover {
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.22);
}

/* Base Form Styles */
.form-card {
    background: rgba(10, 5, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 3px solid #00f2fe;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2), inset 0 0 20px rgba(236, 72, 153, 0.1);
    border-radius: calc(var(--ui-radius-card) + 4px);
    padding: var(--ui-space-xl);
    max-width: 700px;
    width: 90%;
    max-height: 75vh;
    overflow-y: auto;
    text-align: left;
    margin-bottom: 20px;
}

.form-fade-wrapper {
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

.form-fade-out {
    opacity: 0;
}

.form-card::-webkit-scrollbar, .modal-content::-webkit-scrollbar { width: 8px; }
.form-card::-webkit-scrollbar-thumb, .modal-content::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #00f2fe, #ec4899); border-radius: 10px; }

.form-card h1 { color: #ffffff; text-shadow: 0 0 15px #00f2fe; margin-bottom: 10px; font-size: 2.2rem; text-align: center; }
.form-card p.form-desc { color: #a2b7cc; text-align: center; margin-bottom: 25px; font-size: 1.1rem; }

.form-section-card {
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: linear-gradient(150deg, rgba(8, 20, 41, 0.56), rgba(7, 15, 30, 0.42));
    box-shadow: inset 0 0 10px rgba(255,255,255,0.02);
}

.form-section-card__head {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
}

.form-section-card__head h3 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.08rem;
}

.form-section-card__head p {
    margin: 0;
    color: #bfd3e7;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-section-card__body {
    display: grid;
    gap: 14px;
}

.form-field-tag {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    vertical-align: middle;
}

.form-field-tag.is-required {
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(74, 222, 128, 0.34);
    color: #bbf7d0;
}

.form-field-tag.is-optional {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: #cbd5e1;
}

.form-helper-text {
    display: block;
    margin-top: 6px;
    color: #9fb6d3;
    font-size: 0.82rem;
    line-height: 1.45;
}

.form-example-card {
    margin-top: 8px;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px dashed rgba(167, 139, 250, 0.28);
    background: rgba(48, 27, 76, 0.18);
}

.form-example-card strong {
    display: block;
    margin-bottom: 4px;
    color: #e9d5ff;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-example-card p {
    margin: 0;
    color: #d8c7f7;
    font-size: 0.84rem;
    line-height: 1.45;
}

.form-optional-panel {
    margin: 4px 0 18px;
    border-radius: 16px;
    border: 1px dashed rgba(125, 211, 252, 0.28);
    background: rgba(6, 12, 26, 0.32);
    overflow: hidden;
}

.form-optional-panel summary {
    cursor: pointer;
    list-style: none;
    padding: 13px 15px;
    color: #dbeafe;
    font-weight: 700;
}

.form-optional-panel summary::-webkit-details-marker {
    display: none;
}

.form-optional-panel summary::after {
    content: '+';
    float: right;
    color: #93c5fd;
}

.form-optional-panel[open] summary::after {
    content: '-';
}

.form-optional-panel__body {
    padding: 0 15px 15px;
    display: grid;
    gap: 14px;
}

.form-summary-card {
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(74, 222, 128, 0.24);
    background: linear-gradient(150deg, rgba(7, 27, 28, 0.54), rgba(8, 20, 24, 0.38));
}

.form-summary-card__head {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
}

.form-summary-card__head h3 {
    margin: 0;
    color: #ecfeff;
    font-size: 1.04rem;
}

.form-summary-card__head p {
    margin: 0;
    color: #b9d8dc;
    font-size: 0.9rem;
    line-height: 1.45;
}

.form-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.form-summary-item {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(4, 12, 18, 0.34);
    border: 1px solid rgba(103, 232, 249, 0.16);
}

.form-summary-item span {
    color: #9cc3d0;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-summary-item strong {
    color: #effcff;
    font-size: 0.92rem;
    line-height: 1.4;
}

.form-group { margin-bottom: 20px; display: flex; flex-direction: column; text-align: left; }
.form-group label { color: #e2e8f0; margin-bottom: 8px; font-weight: 500; font-size: 1.05rem; }
.form-group label span { color: #ec4899; }

.form-input, .form-select, .form-textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: white;
    padding: 12px 15px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
    box-sizing: border-box;
    min-height: 46px;
}

.form-textarea {
    min-height: 108px;
    line-height: 1.45;
}

.form-card .preorder-btn,
.form-card .nav-btn,
.form-wizard-nav .nav-btn {
    min-height: 48px;
    font-weight: 600;
}

.form-wizard-nav .nav-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: saturate(0.7);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
    background: rgba(0, 0, 0, 0.6);
}

.form-select option { background: #0a0514; color: white; }

.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-top: 10px; margin-bottom: 25px; text-align: left; }
.checkbox-group input { margin-top: 5px; }
.checkbox-group label { font-size: 0.9rem; color: #a2b7cc; }

/* Preorder Menu Themes */
[data-theme="preorder"] .bg-environment {
    background: linear-gradient(to bottom, #00f2fe 0%, #4facfe 40%, #006994 100%);
    transition: background 1s ease;
}

[data-theme="preorder"] .sky-container, 
[data-theme="preorder"] .ocean-horizon { 
    display: none !important; 
}

/* Preorder Center Card */
.preorder-card {
    background: rgba(0, 105, 148, 0.2);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
    padding: 45px;
    border-radius: 30px;
    text-align: center;
    width: min(1100px, 94vw);
    max-width: 1100px;
    margin: 0 auto;
    color: white;
}

/* Layout Grid for Preorder Menus */
.preorder-section-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.menu-section {
    background: rgba(0, 0, 0, 0.25);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 254, 0.3);
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.1);
}

.menu-section h3 {
    color: #ec4899;
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
    text-align: center;
}

.menu-section-subtitle {
    margin: -2px 0 4px;
    color: #c4dcf3;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.preorder-guide-shell {
    margin: 16px 0 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: linear-gradient(155deg, rgba(6, 18, 40, 0.88), rgba(8, 28, 53, 0.82));
    display: grid;
    gap: 10px;
}

.preorder-guide-shell h3 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.15rem;
}

.preorder-guide-copy {
    margin: 0;
    color: #c4dcf3;
    font-size: 0.92rem;
    line-height: 1.55;
}

.preorder-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.preorder-guide-card {
    width: 100%;
    display: grid;
    gap: 6px;
    text-align: left;
    padding: 14px 15px;
    border-radius: 16px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: linear-gradient(145deg, rgba(7, 31, 52, 0.84), rgba(6, 19, 36, 0.78));
    color: #eff8ff;
    font-family: 'Fredoka', sans-serif;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.preorder-guide-card strong {
    font-size: 1rem;
}

.preorder-guide-card span {
    color: #c3d9f0;
    font-size: 0.88rem;
    line-height: 1.5;
}

.preorder-guide-card:hover,
.preorder-guide-card:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(103, 232, 249, 0.54);
    box-shadow: 0 12px 24px rgba(2, 8, 23, 0.24), 0 0 18px rgba(34, 211, 238, 0.14);
}

.preorder-guide-card:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.8);
    outline-offset: 2px;
}

.preorder-btn-highlight {
    animation: preorderButtonSpotlight 1.8s ease;
}

@keyframes preorderButtonSpotlight {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
        transform: translateY(0);
    }
    40% {
        box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.22), 0 14px 28px rgba(34, 211, 238, 0.34);
        transform: translateY(-2px);
    }
}

.preorder-prep-shell {
    background: linear-gradient(160deg, rgba(6, 16, 34, 0.9), rgba(10, 27, 50, 0.86));
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 16px;
    padding: 14px 16px;
    margin: 14px 0 18px;
    text-align: left;
}

.preorder-prep-shell h3 {
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 1.04rem;
}

.preorder-prep-shell ul {
    margin: 0;
    padding-left: 18px;
    color: #dbeafe;
    line-height: 1.6;
    font-size: 0.94rem;
}

.huskys-list-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    max-width: 180px;
    font-size: 0.95rem;
    padding: 11px 18px;
    border-color: #22c55e;
    background: rgba(34,197,94,0.17);
    box-shadow: 0 0 18px rgba(34,197,94,0.3);
}

/* Glossy Ocean Pill Buttons */
.preorder-btn {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.5), rgba(79, 172, 254, 0.5));
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 14px 28px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    border-radius: var(--ui-radius-pill);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preorder-btn:hover:not(.disabled) {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.9), rgba(79, 172, 254, 0.9));
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.7);
}

.preorder-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.3);
}

/* --- COMPLEX LOADING STATE FOR SUBMIT BUTTONS --- */
.btn-loading-wave {
    position: relative;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.9;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.7), rgba(168, 85, 247, 0.7)) !important;
    animation: btnSoftPulse 2s infinite alternate;
    border-color: #ffffff;
    color: #fff;
}

@keyframes btnSoftPulse {
    0% { box-shadow: 0 0 10px rgba(236, 72, 153, 0.3); }
    100% { box-shadow: 0 0 25px rgba(236, 72, 153, 0.8); }
}

/* ==========================================
   --- OUR SOCIALS MAGICAL GALAXY THEME ---
   ========================================== */
[data-theme="socials"] .bg-environment {
    background: radial-gradient(circle at top right, #3b0764 0%, #1e1b4b 40%, #02050c 100%);
    transition: background 1s ease;
}

[data-theme="socials"] .sky-container, 
[data-theme="socials"] .ocean-horizon { 
    display: none !important; 
}

/* Galaxy Comets */
.galaxy-comet {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.8);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.starbit-field {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.starbit {
    position: absolute;
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    border-radius: 3px;
    opacity: 0.65;
    filter: drop-shadow(0 0 10px currentColor);
    animation: starbitFloat 5.5s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.starbit::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
}

.starbit-cyan { color: #67e8f9; background: rgba(34, 211, 238, 0.8); }
.starbit-pink { color: #f9a8d4; background: rgba(244, 114, 182, 0.8); }
.starbit-purple { color: #c4b5fd; background: rgba(167, 139, 250, 0.82); }
.starbit-yellow { color: #fde68a; background: rgba(250, 204, 21, 0.8); }
.starbit-white { color: #f8fafc; background: rgba(241, 245, 249, 0.85); }

@keyframes starbitFloat {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(calc(-1 * var(--drift, 18px))) rotate(58deg);
        opacity: 0.92;
    }
}

.galaxy-comet::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8));
    transform: translateY(-50%);
}

.comet-a { top: 20%; left: -10%; animation: shootComet 8s linear infinite; }
.comet-b { top: 60%; left: -10%; animation: shootComet 12s linear infinite 3s; }
.comet-c { top: 30%; left: -10%; animation: shootComet 10s linear infinite 6s; }

@keyframes shootComet {
    0% { transform: translate(0, 0) rotate(15deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(120vw, 30vh) rotate(15deg); opacity: 0; }
}

/* Socials Layout */
.meet-artists-heading {
    width: min(900px, 92vw);
    margin: 0 auto 24px;
    text-align: center;
}

.meet-artists-kicker {
    color: #7dd3fc;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    margin-bottom: 10px;
}

.meet-artists-title {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255,255,255,0.55);
    margin-bottom: 12px;
    font-size: clamp(2.1rem, 4vw, 2.9rem);
    line-height: 1.05;
}

.meet-artists-subtitle {
    color: #dbeafe;
    margin: 0 auto;
    max-width: 760px;
    line-height: 1.75;
    font-size: 1.03rem;
}

.meet-info-signpost {
    width: min(900px, 92vw);
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(10, 28, 52, 0.85), rgba(20, 15, 45, 0.82));
    border: 1px solid rgba(125, 211, 252, 0.3);
    border-radius: 16px;
    padding: 14px 16px;
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.13);
    text-align: center;
}

.meet-info-signpost-label {
    margin: 0 0 10px;
    color: #dbeafe;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
}

.meet-info-signpost-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.meet-jump-btn {
    min-width: 170px;
    padding: 10px 14px;
    border-color: rgba(125, 211, 252, 0.55);
    background: rgba(14, 165, 233, 0.12);
}

.socials-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    max-width: 900px;
}

.profile-card {
    background: rgba(10, 5, 20, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 30px;
    width: 320px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.artist-role {
    color: #dbeafe;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    font-weight: 700;
    margin: 0 0 12px;
    text-align: center;
}

.artist-blurb {
    color: #d1e4f5;
    line-height: 1.7;
    font-size: 0.98rem;
    margin: 0 0 18px;
    text-align: center;
}

.card-green {
    border: 3px solid #22c55e;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.3);
}

.card-pink {
    border: 3px solid #ec4899;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.3);
}

.card-espeon {
    height: 65px;
    image-rendering: pixelated;
    margin-bottom: -10px; 
    z-index: 2;
    position: relative;
}

.profile-img {
    width: 170px; 
    height: 170px; 
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.card-green .profile-img { border: 4px solid #22c55e; }
.card-pink .profile-img { border: 4px solid #ec4899; }

.starborn-name {
    font-family: 'Starborn', 'Fredoka', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.card-green .starborn-name { color: #4ade80; text-shadow: 0 0 10px rgba(74, 222, 128, 0.5); }
.card-pink .starborn-name { color: #f472b6; text-shadow: 0 0 10px rgba(244, 114, 182, 0.5); }

.social-link-btn {
    display: block;
    width: 100%;
    text-decoration: none;
    color: white;
    padding: 10px 0;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.card-green .social-link-btn {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.5);
}
.card-green .social-link-btn:hover {
    background: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.6);
}

.card-pink .social-link-btn {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.5);
}
.card-pink .social-link-btn:hover {
    background: rgba(236, 72, 153, 0.3);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.6);
}

.socials-bio {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px 40px;
    max-width: 800px;
    line-height: 1.8;
    font-size: 1.02rem;
    color: #e2e8f0;
    margin: 10px auto 30px auto;
    backdrop-filter: blur(10px);
}

.meet-faq-shell {
    max-width: 900px;
    margin: 8px auto 24px;
    background: rgba(5, 10, 26, 0.78);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 0 24px rgba(96, 165, 250, 0.12);
    text-align: left;
}

.meet-faq-shell h2 {
    margin: 0 0 8px;
    color: #f8fbff;
    font-size: 1.7rem;
}

.meet-faq-intro {
    margin: 0 0 18px;
    color: #b8d1e5;
    line-height: 1.65;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.03);
    padding: 12px 14px;
}

.faq-item summary {
    color: #e5f3ff;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    color: #7dd3fc;
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    margin: 10px 0 2px;
    color: #cddff0;
    line-height: 1.7;
    font-size: 0.97rem;
}

.meet-ordering-shell {
    max-width: 900px;
    margin: 0 auto 24px;
    background: rgba(7, 14, 30, 0.8);
    border: 1px solid rgba(167, 139, 250, 0.24);
    border-radius: 20px;
    padding: 24px;
    text-align: left;
    box-shadow: 0 0 26px rgba(167, 139, 250, 0.12);
}

.meet-ordering-shell h2 {
    margin: 0 0 12px;
    color: #f8fbff;
    font-size: 1.65rem;
}

.meet-ordering-shell ol {
    margin: 0;
    padding-left: 22px;
    color: #d9e8f5;
    line-height: 1.75;
}

.meet-ordering-shell li {
    margin-bottom: 4px;
}

.meet-trust-note {
    margin: 16px 0 0;
    color: #dbeafe;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    background: rgba(14, 165, 233, 0.12);
    line-height: 1.65;
}

/* ==========================================
   --- START TOS PAGE ---
   ========================================== */
.tos-container {
    background: rgba(6, 3, 16, 0.56);
    backdrop-filter: blur(20px);
    border: 3px solid #22c55e;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.2), inset 0 0 20px rgba(34, 197, 94, 0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    text-align: left;
    margin-bottom: 30px;
    scroll-behavior: smooth;
    position: relative;
    z-index: 10;
}

[data-theme="tos"] .tos-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 8% 16%, rgba(255,255,255,0.78) 0 1.3px, transparent 1.7px),
        radial-gradient(circle at 21% 27%, rgba(255,255,255,0.56) 0 1.1px, transparent 1.5px),
        radial-gradient(circle at 33% 14%, rgba(255,255,255,0.65) 0 1.2px, transparent 1.6px),
        radial-gradient(circle at 46% 29%, rgba(255,255,255,0.52) 0 1.1px, transparent 1.5px),
        radial-gradient(circle at 58% 18%, rgba(255,255,255,0.72) 0 1.2px, transparent 1.6px),
        radial-gradient(circle at 71% 31%, rgba(255,255,255,0.6) 0 1.1px, transparent 1.5px),
        radial-gradient(circle at 83% 21%, rgba(255,255,255,0.74) 0 1.2px, transparent 1.6px),
        radial-gradient(circle at 92% 34%, rgba(255,255,255,0.5) 0 1px, transparent 1.4px),
        radial-gradient(circle at 15% 54%, rgba(255,255,255,0.52) 0 1.1px, transparent 1.5px),
        radial-gradient(circle at 29% 63%, rgba(255,255,255,0.66) 0 1.2px, transparent 1.6px),
        radial-gradient(circle at 44% 52%, rgba(255,255,255,0.57) 0 1.1px, transparent 1.5px),
        radial-gradient(circle at 61% 68%, rgba(255,255,255,0.63) 0 1.1px, transparent 1.5px),
        radial-gradient(circle at 77% 57%, rgba(255,255,255,0.54) 0 1px, transparent 1.4px),
        radial-gradient(circle at 89% 71%, rgba(255,255,255,0.68) 0 1.2px, transparent 1.6px);
    opacity: 0.74;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.34));
    animation: tosStardustDrift 16s infinite alternate ease-in-out, tosCardStarPulse 6s infinite alternate ease-in-out;
}

[data-theme="tos"] .tos-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(255,255,255,0.98) 0 2.8px, transparent 3.8px),
        radial-gradient(circle at 28% 18%, rgba(255,255,255,0.94) 0 2.6px, transparent 3.6px),
        radial-gradient(circle at 46% 24%, rgba(255,255,255,0.99) 0 3px, transparent 4.1px),
        radial-gradient(circle at 63% 19%, rgba(255,255,255,0.92) 0 2.4px, transparent 3.5px),
        radial-gradient(circle at 79% 27%, rgba(255,255,255,0.97) 0 2.8px, transparent 3.9px),
        radial-gradient(circle at 18% 58%, rgba(255,255,255,0.93) 0 2.5px, transparent 3.5px),
        radial-gradient(circle at 36% 66%, rgba(255,255,255,0.98) 0 2.9px, transparent 4px),
        radial-gradient(circle at 55% 61%, rgba(255,255,255,0.94) 0 2.6px, transparent 3.7px),
        radial-gradient(circle at 74% 68%, rgba(255,255,255,0.99) 0 3px, transparent 4.2px),
        radial-gradient(circle at 88% 62%, rgba(255,255,255,0.94) 0 2.6px, transparent 3.7px);
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.58));
    animation: tosCardStarPulse 4.8s infinite alternate ease-in-out;
}

[data-theme="tos"] .tos-container > * {
    position: relative;
    z-index: 1;
}

.tos-container::-webkit-scrollbar { width: 10px; }
.tos-container::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #ec4899, #22c55e); border-radius: 10px; }

.tos-container h1 { color: #f472b6; font-size: 2.5rem; text-align: center; margin-bottom: 10px; text-shadow: 0 0 15px rgba(244, 114, 182, 0.5); }
.tos-container h2 { color: #4ade80; font-size: 1.5rem; margin-top: 30px; margin-bottom: 15px; border-bottom: 1px solid rgba(74, 222, 128, 0.3); padding-bottom: 5px; }
.tos-container p, .tos-container ul { color: #e2e8f0; font-size: 1.1rem; line-height: 1.7; margin-bottom: 15px; }
.tos-container ul { padding-left: 20px; }
.tos-container li { margin-bottom: 8px; }

/* AGE VERIFICATION WARNING STYLE */
.age-verification-warning {
    font-style: italic;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-left: 4px solid #ff6b6b;
    padding: 12px 15px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
}

/* ==========================================
   --- FULL SCREEN CIRCLE TRANSITION ---
   ========================================== */
.btn-squish {
    transform: scale(0.85) !important;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.9) !important;
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.4) !important;
}

.transition-star {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px #ec4899, 0 0 20px 4px #00f2fe;
    pointer-events: none;
    opacity: 1;
    animation: starExplode 1.2s cubic-bezier(0.15, 0.85, 0.35, 1) forwards;
}

@keyframes starExplode {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0) rotate(360deg); opacity: 0; }
}

.transition-circle {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100px; 
    height: 100px;
    z-index: 999999;
    pointer-events: none;
    background: radial-gradient(circle, 
        rgba(236, 72, 153, 1) 0%, 
        rgba(168, 85, 247, 1) 50%, 
        rgba(0, 242, 254, 1) 100%
    );
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    will-change: transform, opacity; 
}

.transition-circle.active {
    pointer-events: auto; /* Catch clicks during transition */
    animation: expandCircleTransition 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes expandCircleTransition {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    5% { opacity: 1; transform: translate(-50%, -50%) scale(0.5); }
    55% { transform: translate(-50%, -50%) scale(35); opacity: 1; } 
    70% { transform: translate(-50%, -50%) scale(35); opacity: 1; } 
    100% { transform: translate(-50%, -50%) scale(45); opacity: 0; }
}

.confetti {
    position: fixed;
    top: -10px;
    width: 10px;
    height: 20px;
    z-index: 999999;
    animation: confettiFall 3s linear forwards;
    pointer-events: none;
}

@keyframes confettiFall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ==========================================
   --- PRICING SHEET STYLE         ---
   ========================================== */
[data-theme="pricing"] .bg-environment {
    background: radial-gradient(circle at center, #1e0a29 0%, #02050c 100%);
    transition: background 1s ease;
}

[data-theme="pricing"] .sky-container, 
[data-theme="pricing"] .ocean-horizon { 
    display: none !important; 
}

.pricing-container {
    box-sizing: border-box;
    background: rgba(10, 5, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 3px solid #a855f7;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3), inset 0 0 20px rgba(0, 242, 254, 0.1);
    border-radius: calc(var(--ui-radius-card) + 4px);
    padding: var(--ui-space-xl);
    max-width: 860px;
    width: 90%;
    max-height: 75vh;
    overflow-y: auto;
    color: white;
    text-align: left;
    margin-bottom: 32px;
    padding-bottom: 50px;
}

.pricing-container::-webkit-scrollbar { width: 8px; }
.pricing-container::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #a855f7, #00f2fe); border-radius: 10px; }

.pricing-container h1 { color: #00f2fe; font-size: 2.5rem; text-align: center; margin-bottom: 10px; text-shadow: 0 0 15px rgba(0, 242, 254, 0.5); }
.pricing-container p.subtitle { color: #a2b7cc; text-align: center; font-size: 1.1rem; margin-bottom: 30px; }

.pricing-container p.subtitle {
    margin-bottom: 24px;
}

.pricing-jump-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 20px;
    padding: 9px 10px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(10, 16, 34, 0.9), rgba(9, 12, 26, 0.86));
    border: 1px solid rgba(125, 211, 252, 0.12);
    box-shadow: 0 6px 16px rgba(2, 8, 23, 0.16);
    backdrop-filter: blur(14px);
}

.pricing-jump-btn,
.pricing-start-btn {
    border: 1px solid rgba(125, 211, 252, 0.2);
    background: rgba(14, 26, 50, 0.52);
    color: #eaf6ff;
    border-radius: 999px;
    padding: 7px 11px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.79rem;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-jump-btn:hover,
.pricing-jump-btn:focus-visible,
.pricing-start-btn:hover,
.pricing-start-btn:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(103, 232, 249, 0.62);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.14);
}

.pricing-jump-btn:focus-visible,
.pricing-start-btn:focus-visible {
    outline: 2px solid rgba(103, 232, 249, 0.78);
    outline-offset: 2px;
}

.pricing-start-shell {
    display: block;
    margin: 0 0 20px;
}

.pricing-start-card {
    background: linear-gradient(145deg, rgba(12, 20, 38, 0.85), rgba(10, 14, 30, 0.88));
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 0 18px rgba(125, 211, 252, 0.12), inset 0 0 12px rgba(255,255,255,0.02);
}

.pricing-start-card--compact {
    display: grid;
    gap: 12px;
}

.pricing-start-card-copy {
    display: grid;
    gap: 8px;
}

.pricing-start-card h3 {
    margin: 0 0 8px;
    color: #f8fbff;
    font-size: 1.08rem;
}

.pricing-start-card p,
.pricing-start-card li {
    color: #dbeafe;
    font-size: 0.94rem;
    line-height: 1.55;
}

.pricing-start-card ul {
    margin: 0;
    padding-left: 18px;
}

.pricing-start-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pricing-start-mini-list {
    margin: 0;
    padding-left: 18px;
    color: #cddff2;
    display: grid;
    gap: 4px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.pricing-policy-shell {
    margin: 0 0 20px;
    border-radius: 16px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: rgba(8, 12, 24, 0.34);
    overflow: hidden;
}

.pricing-policy-summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    color: #eff8ff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(145deg, rgba(10, 17, 34, 0.8), rgba(9, 12, 26, 0.72));
}

.pricing-policy-summary::-webkit-details-marker {
    display: none;
}

.pricing-policy-summary::after {
    content: '+';
    float: right;
    color: #9dd9ff;
}

.pricing-policy-shell[open] .pricing-policy-summary::after {
    content: '-';
}

.pricing-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--ui-radius-card);
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid #ec4899;
}

.pricing-section-head {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.pricing-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pricing-meta-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.74rem;
    color: #c8daed;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: rgba(8, 22, 44, 0.36);
}

.pricing-section-intro {
    color: #c6d9ea !important;
    margin-bottom: 10px !important;
}

.pricing-section h2 { color: #ec4899; font-size: 1.6rem; margin-bottom: 15px; }
.pricing-section h3 { color: #22c55e; font-size: 1.2rem; margin-top: 15px; margin-bottom: 8px; }
.pricing-section p { color: #e2e8f0; font-size: 1.05rem; line-height: 1.6; margin-bottom: 10px; }
.pricing-section ul { padding-left: 20px; margin-bottom: 15px; color: #e2e8f0; }
.pricing-section li { margin-bottom: 6px; }

/* FIXED: The Pricing Grid is now fully controlled and breathable */
.price-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 16px 22px; 
    margin-top: 10px; 
}
.price-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border-bottom: 1px dotted rgba(255,255,255,0.2); 
    padding-bottom: 8px; 
}
.price-item span:first-child { 
    flex: 1;
    padding-right: 15px;
    color: #e2e8f0; 
}
.price-item span:last-child { 
    white-space: nowrap;
    color: #00f2fe; 
    font-weight: bold; 
}

.price-item-popular {
    border-bottom-color: rgba(250, 204, 21, 0.42);
}

.price-item-flag {
    display: inline-block;
    margin-left: 7px;
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fde68a;
}

.pricing-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pricing-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: rgba(8, 20, 41, 0.56);
}

.pricing-chip strong {
    color: #eff8ff;
    font-size: 0.85rem;
}

.pricing-chip span {
    color: #9ae6ff;
    font-size: 0.82rem;
    font-weight: 700;
}

.pricing-section-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-start;
}

.pricing-inline-cta {
    border-color: rgba(103, 232, 249, 0.28) !important;
    background: rgba(9, 22, 44, 0.42) !important;
    font-size: 0.92rem !important;
}

/* Special Glowing Pricing Button */
.pricing-btn-glow {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(236, 72, 153, 0.4));
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5), inset 0 0 10px rgba(236, 72, 153, 0.3);
    animation: glowPulseBtn 2s infinite alternate;
}

.pricing-btn-glow:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(236, 72, 153, 0.8));
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.7), inset 0 0 15px rgba(255, 255, 255, 0.5);
}

.pricing-ending {
    text-align: center;
    color: #c7d2fe;
    margin: 35px 0 22px;
    font-size: 1rem;
    text-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
    letter-spacing: 0.2px;
}

.pricing-ending-divider {
    width: 110px;
    height: 1px;
    margin: 0 auto 15px;
    background: linear-gradient(90deg, rgba(236, 72, 153, 0), rgba(168, 85, 247, 0.85), rgba(0, 242, 254, 0));
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.25), inset 0 0 6px rgba(0, 242, 254, 0.15);
}

.pricing-back-menu-bottom {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.pricing-back-menu-bottom .nav-btn {
    max-width: 320px;
    width: 100%;
    padding: 14px 20px;
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.14);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15), inset 0 0 10px rgba(0, 242, 254, 0.08);
}

.pricing-back-menu-bottom .nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 26px rgba(236, 72, 153, 0.25), inset 0 0 12px rgba(0, 242, 254, 0.12);
}

.pricing-back-menu-bottom-external {
    padding: 12px 0 20px;
    margin-top: 8px;
    display: flex;
    justify-content: center;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 24px;
}

.pricing-back-menu-bottom-external .nav-btn {
    max-width: 360px;
    width: 100%;
    padding: 14px 22px;
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.18);
    box-shadow: 0 0 22px rgba(34, 197, 94, 0.2), inset 0 0 10px rgba(0, 242, 254, 0.08);
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.pricing-back-menu-bottom-external .nav-btn:hover {
    background: rgba(34, 197, 94, 0.24);
    box-shadow: 0 0 32px rgba(34, 197, 94, 0.32), inset 0 0 12px rgba(0, 242, 254, 0.16);
}

@keyframes glowPulseBtn {
    0% { box-shadow: 0 0 15px rgba(168, 85, 247, 0.5); }
    100% { box-shadow: 0 0 25px rgba(236, 72, 153, 0.8); border-color: #fbcfe8; }
}

/* ==========================================
   --- PHASE 2: PREORDER + PRICING CLARITY ---
   ========================================== */
[data-theme="preorder"] .preorder-card {
    width: min(1200px, 96vw) !important;
    max-width: 1200px !important;
    padding: 56px 52px !important;
    border-radius: 34px !important;
    border-width: 2px !important;
    border-color: rgba(199, 235, 255, 0.62) !important;
    background: linear-gradient(165deg, rgba(6, 33, 58, 0.74), rgba(4, 20, 40, 0.7)) !important;
    box-shadow: 0 0 44px rgba(0, 242, 254, 0.3), inset 0 0 26px rgba(255, 255, 255, 0.12) !important;
}

[data-theme="preorder"] .preorder-section-grid {
    gap: 24px !important;
    margin-top: 40px !important;
    margin-bottom: 34px !important;
}

[data-theme="preorder"] .menu-section {
    padding: 30px !important;
    gap: 18px !important;
    border-radius: 24px !important;
    border-color: rgba(125, 211, 252, 0.4) !important;
    background: linear-gradient(165deg, rgba(6, 19, 38, 0.56), rgba(5, 16, 33, 0.52)) !important;
}

[data-theme="preorder"] .menu-section h3 {
    font-size: 1.52rem !important;
    margin-bottom: 12px !important;
}

[data-theme="preorder"] .preorder-prep-shell {
    margin: 16px 0 22px !important;
    padding: 17px 18px !important;
}

[data-theme="preorder"] .preorder-btn {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    padding: 15px 30px !important;
    border-width: 2px !important;
    box-shadow: 0 8px 18px rgba(0, 242, 254, 0.3) !important;
}

[data-theme="preorder"] .form-group {
    margin-bottom: 24px !important;
}

[data-theme="preorder"] .form-group label {
    margin-bottom: 10px !important;
    font-size: 1.08rem !important;
}

[data-theme="preorder"] .form-input,
[data-theme="preorder"] .form-select,
[data-theme="preorder"] .form-textarea {
    padding: 14px 16px !important;
    border-radius: 12px !important;
    border-color: rgba(125, 211, 252, 0.5) !important;
}

[data-theme="pricing"] .pricing-container {
    box-sizing: border-box !important;
    width: min(980px, 94vw) !important;
    max-width: 980px !important;
    padding: 52px 48px !important;
    border-width: 2px !important;
    border-color: rgba(190, 124, 255, 0.78) !important;
    box-shadow: 0 0 42px rgba(168, 85, 247, 0.35), inset 0 0 24px rgba(0, 242, 254, 0.08) !important;
}

[data-theme="pricing"] .pricing-container h1 {
    font-size: 2.8rem !important;
    margin-bottom: 14px !important;
}

[data-theme="pricing"] .pricing-container p.subtitle {
    font-size: 1.14rem !important;
    margin-bottom: 36px !important;
}

[data-theme="pricing"] .pricing-section {
    padding: 30px !important;
    margin-bottom: 30px !important;
    border-left-width: 5px !important;
    background: linear-gradient(165deg, rgba(17, 16, 34, 0.52), rgba(11, 12, 24, 0.42)) !important;
}

[data-theme="pricing"] .pricing-section h2 {
    font-size: 1.72rem !important;
    margin-bottom: 17px !important;
}

[data-theme="pricing"] .pricing-section p,
[data-theme="pricing"] .pricing-section li {
    font-size: 1.08rem !important;
    line-height: 1.7 !important;
}

[data-theme="pricing"] .price-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 18px 28px !important;
    margin-top: 14px !important;
}

[data-theme="pricing"] .price-item {
    padding: 4px 0 11px !important;
}

[data-theme="pricing"] .price-item span:last-child {
    font-size: 1.08rem !important;
}

@media (max-width: 900px) {
    [data-theme="preorder"] .preorder-card,
    [data-theme="pricing"] .pricing-container {
        box-sizing: border-box !important;
        width: 96vw !important;
        max-width: 96vw !important;
        padding: 34px 22px !important;
    }

    [data-theme="preorder"] .preorder-section-grid {
        gap: 18px !important;
        margin-top: 28px !important;
    }

    [data-theme="preorder"] .menu-section,
    [data-theme="pricing"] .pricing-section {
        padding: 22px !important;
    }

    .pricing-section-actions {
        justify-content: center;
    }

    .pricing-start-actions {
        justify-content: center;
    }

    [data-theme="pricing"] .price-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   --- PHASE 3: GALLERY + REVIEWS CLARITY ---
   ========================================== */
body[data-page="gallery"] .preorder-card.menu-large {
    width: min(1240px, 96vw) !important;
    max-width: 1240px !important;
    padding: 52px 48px !important;
    border-radius: 34px !important;
    border-color: rgba(125, 211, 252, 0.62) !important;
    box-shadow: 0 0 44px rgba(0, 242, 254, 0.28), inset 0 0 20px rgba(255, 255, 255, 0.1) !important;
}

body[data-page="gallery"] .filter-btn-group {
    gap: 16px !important;
    margin-bottom: 30px !important;
}

body[data-page="gallery"] .filter-btn {
    padding: 12px 26px !important;
    border-radius: 999px !important;
    font-size: 1.08rem !important;
    border-width: 2px !important;
}

body[data-page="gallery"] .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 28px !important;
    margin-top: 30px !important;
    max-height: 66vh !important;
    padding-right: 18px !important;
}

body[data-page="gallery"] .gallery-card {
    height: 330px !important;
    padding: 18px !important;
    border-radius: 22px !important;
    border-width: 2px !important;
    border-color: rgba(125, 211, 252, 0.62) !important;
    background: linear-gradient(165deg, rgba(9, 16, 34, 0.86), rgba(8, 24, 48, 0.8)) !important;
    box-shadow: 0 10px 24px rgba(0, 242, 254, 0.2) !important;
    animation-duration: 8s !important;
}

body[data-page="gallery"] .gallery-card:hover {
    transform: translateY(-10px) scale(1.035) !important;
    box-shadow: 0 18px 34px rgba(0, 242, 254, 0.38), inset 0 0 20px rgba(255,255,255,0.12) !important;
}

body[data-page="gallery"] .gallery-img {
    border-radius: 14px !important;
    max-height: 180px !important;
}

body[data-page="gallery"] .gallery-card-title {
    font-size: 1.05rem !important;
    line-height: 1.45 !important;
}

body[data-page="reviews"] .reviews-page-shell {
    width: min(1140px, 95vw) !important;
    gap: 24px !important;
}

body[data-page="reviews"] .reviews-hero,
body[data-page="reviews"] .reviews-display-shell,
body[data-page="reviews"] .reviews-form-shell {
    border-width: 2px !important;
    border-radius: 22px !important;
    padding: 26px !important;
    box-shadow: 0 0 30px rgba(103, 232, 249, 0.16), 0 0 44px rgba(167, 139, 250, 0.16), inset 0 0 22px rgba(255, 255, 255, 0.03) !important;
}

body[data-page="reviews"] .reviews-hero h1 {
    font-size: 2.3rem !important;
    margin-bottom: 10px !important;
}

body[data-page="reviews"] .reviews-hero-note {
    font-size: 1rem !important;
    line-height: 1.62 !important;
}

body[data-page="reviews"] .reviews-hero-actions {
    gap: 12px !important;
}

body[data-page="reviews"] .reviews-hero-actions .nav-btn {
    padding: 13px 24px !important;
    font-size: 1.03rem !important;
}

body[data-page="reviews"] .reviews-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)) !important;
    gap: 18px !important;
}

body[data-page="reviews"] .review-card {
    border-radius: 18px !important;
    padding: 18px !important;
    border-width: 2px !important;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.14), inset 0 0 14px rgba(196, 181, 253, 0.1) !important;
}

body[data-page="reviews"] .review-name {
    font-size: 1.06rem !important;
}

body[data-page="reviews"] .review-body {
    font-size: 0.98rem !important;
    line-height: 1.68 !important;
}

body[data-page="reviews"] .reviews-form-grid,
body[data-page="reviews"] .reviews-top-row {
    gap: 16px !important;
}

body[data-page="reviews"] .reviews-field span {
    font-size: 0.95rem !important;
}

body[data-page="reviews"] .reviews-field input,
body[data-page="reviews"] .reviews-field select,
body[data-page="reviews"] .reviews-field textarea {
    padding: 13px !important;
    border-radius: 12px !important;
    border-width: 2px !important;
}

body[data-page="reviews"] .reviews-upload-panel {
    padding: 16px !important;
    border-width: 2px !important;
    border-radius: 14px !important;
}

body[data-page="reviews"] .reviews-image-upload {
    min-width: 290px !important;
    padding: 12px 16px !important;
    border-width: 2px !important;
}

body[data-page="reviews"] .reviews-submit-btn {
    font-size: 1.06rem !important;
    padding: 13px 22px !important;
}

@media (max-width: 900px) {
    body[data-page="gallery"] .preorder-card.menu-large,
    body[data-page="reviews"] .reviews-page-shell {
        width: 96vw !important;
    }

    body[data-page="gallery"] .preorder-card.menu-large {
        padding: 30px 18px !important;
    }

    body[data-page="gallery"] .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        max-height: none !important;
        padding-right: 0 !important;
    }

    body[data-page="gallery"] .gallery-card {
        height: auto !important;
        min-height: 310px !important;
    }

    body[data-page="reviews"] .reviews-hero,
    body[data-page="reviews"] .reviews-display-shell,
    body[data-page="reviews"] .reviews-form-shell {
        padding: 18px !important;
    }

    body[data-page="reviews"] .reviews-card-grid,
    body[data-page="reviews"] .reviews-form-grid,
    body[data-page="reviews"] .reviews-top-row {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   --- GALLERY & PREMADE IMAGE CARDS ---
   ========================================== */

/* Horizon Tide Gallery Homepage Button Highlight */
.btn-pink-highlight {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.5), rgba(168, 85, 247, 0.5)) !important;
    border: 2px solid rgba(251, 207, 232, 0.8) !important;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.4) !important;
    font-size: 1.25rem !important;
    padding: 16px 30px !important;
    animation: glowPulsePink 3s infinite alternate !important;
    color: white !important;
    border-radius: 50px !important;
}

.btn-pink-highlight:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.8), rgba(168, 85, 247, 0.8)) !important;
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.7) !important;
    transform: translateY(-4px) scale(1.02) !important;
    border-color: #ffffff !important;
}

@keyframes glowPulsePink {
    0% { box-shadow: 0 0 15px rgba(236, 72, 153, 0.4); }
    100% { box-shadow: 0 0 25px rgba(236, 72, 153, 0.8); }
}

/* Gallery Filters */
.filter-btn-group {
    display: flex; gap: 15px; justify-content: center; margin-bottom: 25px; flex-wrap: wrap;
}
.filter-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: white; padding: 10px 24px; border-radius: 20px;
    font-family: inherit; transition: 0.3s ease; font-size: 1.05rem;
}
.filter-btn.active, .filter-btn:hover {
    background: rgba(0, 242, 254, 0.25); border-color: #00f2fe; box-shadow: 0 0 15px rgba(0, 242, 254, 0.5);
}

/* Image Grids */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
    padding-left: 5px;
}

.gallery-grid::-webkit-scrollbar { width: 10px; }
.gallery-grid::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #00f2fe, #ec4899); border-radius: 10px; }

/* Floating underwater feeling for gallery cards */
@keyframes subtleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Standard Gallery Card */
.gallery-card {
    background: rgba(10, 5, 20, 0.75);
    border: 2px solid rgba(0, 242, 254, 0.5);
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: subtleFloat 6s ease-in-out infinite;
    height: 300px; 
    overflow: hidden;
}

.gallery-card:nth-child(even) { animation-delay: 1.5s; }
.gallery-card:nth-child(3n) { animation-delay: 3s; }

.gallery-card:hover {
    animation-play-state: paused;
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.5), inset 0 0 20px rgba(255,255,255,0.15);
    border-color: #ffffff;
    z-index: 2;
}

/* Specific Premade Card */
.premade-card {
    background: rgba(10, 5, 20, 0.75);
    border: 2px solid rgba(0, 242, 254, 0.5);
    border-radius: 18px;
    padding: 15px;
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 340px;
    overflow: hidden;
}

.premade-card.is-sold-out {
    border-color: rgba(248, 113, 113, 0.55);
    box-shadow: 0 6px 20px rgba(248, 113, 113, 0.12);
}

.premade-card.is-critical {
    border-color: rgba(248, 113, 113, 0.48);
    box-shadow: 0 6px 20px rgba(248, 113, 113, 0.1);
}

.premade-card.is-low {
    border-color: rgba(250, 204, 21, 0.45);
    box-shadow: 0 6px 20px rgba(250, 204, 21, 0.12);
}

.premade-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.5), inset 0 0 20px rgba(255,255,255,0.15);
    border-color: #ffffff;
    z-index: 2;
}

.premade-card__body {
    width: 100%;
    display: grid;
    gap: 6px;
    justify-items: center;
    text-align: center;
}

.premade-card__title {
    color: #f0f9ff;
    font-weight: 600;
    margin: 0;
}

.premade-card__subtitle {
    color: #a2b7cc;
    font-size: 0.95rem;
    margin: 0;
}

.premade-card__stock {
    margin: 0;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: rgba(8, 47, 73, 0.3);
    color: #bae6fd;
}

.premade-card__stock.is-sold-out {
    border-color: rgba(248, 113, 113, 0.28);
    background: rgba(69, 10, 10, 0.28);
    color: #fecaca;
}

.premade-card__stock.is-critical {
    border-color: rgba(248, 113, 113, 0.28);
    background: rgba(127, 29, 29, 0.25);
    color: #fecaca;
}

.premade-card__stock.is-low {
    border-color: rgba(250, 204, 21, 0.32);
    background: rgba(113, 63, 18, 0.26);
    color: #fde68a;
}

.premade-empty-state {
    margin: 0;
    padding: 18px;
    border-radius: 16px;
    border: 1px dashed rgba(125, 211, 252, 0.28);
    background: rgba(8, 15, 32, 0.55);
    color: #cbd5e1;
    text-align: center;
}

/* Strict Image Sizing Constraints */
.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
    background: rgba(0,0,0,0.3);
}

.premade-img {
    width: 100%;
    height: 220px;
    max-height: 220px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.5);
}

.gallery-img,
.premade-img {
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-img:hover,
.premade-img:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
}

.gallery-card p, .premade-card p {
    font-size: 1rem;
    color: #e2e8f0;
    margin-bottom: 5px;
    text-align: center;
    letter-spacing: 0.5px;
}

.gallery-card-title {
    color: #cbd5e1;
    font-size: 0.86rem;
    margin: 0 0 8px;
    text-align: center;
    line-height: 1.35;
}

.gallery-card-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}

.gallery-category-badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e0f2fe;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 999px;
    padding: 3px 8px;
}

.gallery-video-thumb {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.25);
    cursor: pointer;
}

.gallery-video-thumb:hover {
    box-shadow: 0 0 22px rgba(236, 72, 153, 0.42);
}

/* ==========================================
   --- GALLERY LIGHTBOX OVERLAY ---
   ========================================== */
#galleryLightboxOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#galleryLightboxOverlay.active {
    opacity: 1;
}

#galleryLightboxImage {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.4);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

#galleryLightboxOverlay.active #galleryLightboxImage {
    transform: scale(1);
}

#galleryLightboxClose {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #a2b7cc;
    font-size: 3.5rem;
    font-weight: bold;
    background: transparent;
    border: 0;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

#galleryLightboxClose:hover {
    color: #ef4444;
}

.gallery-video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 7, 18, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-video-overlay.active {
    opacity: 1;
}

.gallery-video-modal {
    width: min(960px, 92vw);
    background: linear-gradient(145deg, rgba(7, 14, 30, 0.96), rgba(7, 19, 38, 0.96));
    border: 1px solid rgba(125, 211, 252, 0.32);
    border-radius: 16px;
    box-shadow: 0 0 36px rgba(14, 165, 233, 0.28), inset 0 0 14px rgba(255,255,255,0.04);
    padding: 16px;
    position: relative;
}

.gallery-video-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #cbd5e1;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
}

.gallery-video-close:hover {
    color: #f87171;
}

.gallery-video-title {
    margin: 0 36px 10px 2px;
    color: #e0f2fe;
    font-size: 1.05rem;
    font-weight: 700;
}

.gallery-video-frame-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0, 0, 0, 0.55);
}

.gallery-video-frame-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ==========================================
   --- MOBILE RESPONSIVENESS & PERFORMANCE ---
   ========================================== */
@media (max-width: 768px) {
    header h1 { font-size: 2.2rem; text-shadow: none; }
    header h2 { font-size: 1.2rem; margin-bottom: 3vh; }
    .starborn-name { font-size: 1.8rem; }
    .gif-container { height: 55px; }
    .active-pokemon-gif { height: 50px; }
    .content-layer { padding-top: 5vh; }

    .form-card, .pricing-container, .preorder-card, .tos-container, .admin-dashboard, .modal-content, .announcements-container {
        padding: 25px 15px;
        width: 95%;
        border-width: 2px;
    }

    .admin-public-nav-row,
    .admin-return-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-return-nav--top-right,
    .admin-return-nav--hero {
        justify-content: stretch;
    }

    .admin-public-nav-row .nav-btn,
    .admin-return-nav .nav-btn {
        width: 100%;
    }
    
    .pricing-container {
        max-height: 85vh;
        padding-bottom: 18px;
    }

    .pricing-back-menu-bottom {
        margin-bottom: 18px;
    }

    .pricing-back-menu-bottom .nav-btn {
        width: 100%;
        max-width: 100%;
        padding: 14px 18px;
    }

    .pricing-back-menu-bottom-external {
        padding: 24px 0 34px;
        margin-top: 28px;
    }

    .pricing-back-menu-bottom-external .nav-btn {
        padding: 16px 20px;
    }
    
    .split-workspace-layout { 
        flex-direction: column; 
        gap: 20px; 
    }

    .home-hero-shell {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .home-hero-header h2 {
        font-size: 1.12rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .home-hero-header h1 {
        font-size: clamp(2.05rem, 8.8vw, 3.1rem);
    }

    .home-hero-note {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }

    .home-cta-badge {
        margin-top: 7px;
        font-size: 0.71rem;
        padding: 4px 9px;
        gap: 7px;
    }

    .home-cta-badge strong {
        font-size: 0.77rem;
    }

    .btn-preorder-massive {
        font-size: 1.34rem;
        padding: 18px 28px;
        max-width: 100%;
    }

    body[data-page="home"] .btn-preorder-massive:hover {
        transform: translateY(-4px) scale(1.02);
    }

    .home-pro-shell {
        gap: 12px;
        margin-top: 22px;
    }

    .home-pro-intro,
    .home-trust-head {
        padding-top: 9px;
    }

    .home-pro-intro h3 {
        font-size: 1.01rem;
    }

    .home-pro-grid {
        gap: 11px;
    }

    .home-pro-grid + .home-pro-grid {
        padding-top: 12px;
        margin-top: 8px;
    }

    .home-pro-grid:first-of-type .home-pro-card h3,
    .home-pro-grid:last-of-type .home-pro-card h3 {
        font-size: 1.06rem;
    }

    .home-pro-card {
        padding: 12px;
        border-radius: 16px;
    }

    .home-availability-card .availability-response {
        padding-left: 9px;
        padding-right: 9px;
    }

    .home-updates-card .mini-updates-list li {
        margin-left: 2px;
    }

    .home-trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-trust-shell {
        gap: 12px;
        margin-top: 38px;
    }

    .home-trust-card {
        min-height: 0;
        padding: 12px 12px 12px 13px;
        transform: none;
    }

    .home-trust-card:nth-child(1) {
        grid-column: auto;
        max-width: 100%;
        padding: 15px 14px 14px 15px;
    }

    .home-trust-card:nth-child(1) h4 {
        font-size: 1.12rem;
        margin-bottom: 7px;
    }

    .home-trust-card:nth-child(1) p {
        font-size: 0.94rem;
        line-height: 1.58;
        max-width: 100%;
    }

    .home-trust-card h4,
    .home-trust-card p {
        padding-left: 33px;
    }

    .home-proof-chips {
        padding-left: 33px;
        gap: 7px;
    }

    .home-proof-chip {
        font-size: 0.72rem;
        padding: 3px 9px;
    }

    .home-final-cta-shell {
        padding: 14px 13px;
        margin-top: 34px;
        margin-bottom: 28px;
        gap: 10px;
    }

    .home-final-cta-shell h3 {
        font-size: 1.34rem;
    }

    .home-final-cta-shell p {
        font-size: 0.95rem;
    }

    .home-final-cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .home-final-cta-actions .nav-btn {
        width: 100%;
        font-size: 1.02rem;
        padding: 13px 20px;
    }

    .home-final-cta-primary:hover {
        transform: translateY(-2px) scale(1.01);
    }

    .home-top-nav,
    .button-container-home,
    .home-secondary-actions,
    .home-utility-actions {
        width: 100%;
    }

    .home-top-nav-strip {
        width: 100%;
        max-width: 430px;
        position: static;
        top: auto;
        left: auto;
        order: 99;
        margin: 28px auto 8px;
        padding: 0 14px 16px;
        z-index: auto;
    }

    .home-top-nav {
        border-radius: 14px;
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        overflow: visible;
        gap: 9px;
        background: linear-gradient(160deg, rgba(8, 16, 34, 0.28), rgba(8, 20, 40, 0.2));
        border: 1px solid rgba(177, 210, 255, 0.2);
        box-shadow: 0 8px 16px rgba(2, 8, 23, 0.16);
        backdrop-filter: blur(4px);
    }

    .home-top-link {
        width: 100%;
        white-space: normal;
        font-size: 0.86rem;
        min-height: 44px;
        padding: 11px 12px;
        text-align: center;
        border-radius: 10px;
        border: 1px solid rgba(143, 164, 187, 0.3);
        background: rgba(143, 164, 187, 0.1);
        color: #e2edf8;
    }

    .home-top-link:hover {
        transform: none;
        background: rgba(143, 164, 187, 0.16);
        border-color: rgba(143, 164, 187, 0.42);
    }

    .home-secondary-actions {
        flex-direction: column;
        align-items: center;
    }

    .home-secondary-btn,
    .home-secondary-actions .cosmic-updates-btn {
        max-width: 100%;
    }

    .home-discord-btn {
        max-width: 100%;
    }
    
    .button-grid { gap: 10px; }
    
    /* On mobile, collapse the 2 column button grid back to a clean list */
    .button-grid-2col { grid-template-columns: 1fr; }
    
    .socials-container { flex-direction: column; align-items: center; }
    .meet-faq-shell,
    .meet-ordering-shell,
    .socials-bio,
    .meet-artists-heading,
    .meet-info-signpost {
        width: min(94vw, 94vw);
    }
    .meet-jump-btn {
        min-width: 0;
        width: 100%;
    }
    .starbit {
        width: 9px;
        height: 9px;
        opacity: 0.45;
    }
    .preorder-section-grid { grid-template-columns: 1fr; gap: 15px; }

    .huskys-list-btn {
        position: static;
        max-width: 100%;
        margin: 0 0 14px;
    }
    
    #footerCredit {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 40px;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
        display: block;
    }

    div[style*="white-space: pre-wrap"] {
        font-size: 0.85rem !important;
        letter-spacing: -0.5px !important;
        line-height: 1.6 !important;
        overflow-x: hidden !important;
    }
    
    /* MOBILE PERFORMANCE OPTIMIZATION: Strips out heavy glowing shadows that cause lag */
    .form-card, .pricing-container, .preorder-card, .tos-container, .profile-card, .text-scroller-card, .visual-media-card, .modal-content, .announcements-container {
        backdrop-filter: none !important;
        background: rgba(10, 5, 20, 0.95) !important; 
        box-shadow: none !important;
    }
    .btn-pink-highlight, .pricing-btn-glow {
        animation: none !important;
        box-shadow: none !important;
    }
    
    .star.interactive {
        box-shadow: 0 0 5px 1px #ffffff, 0 0 10px 2px rgba(0, 242, 254, 0.5) !important;
    }
    
    .magical-bubble {
        box-shadow: none !important;
        opacity: 0.4 !important;
    }


@media (prefers-reduced-motion: reduce) {
    .starbit,
    .galaxy-comet {
        animation: none !important;
    }
}
    .cosmic-shooting-star { display: none !important; }
    .magical-bubble:nth-child(even) { display: none; } 
    .distant-ripple-layer, .mid-sea-layer-2 { animation: none; opacity: 0.5; } 
    .fish-scene { transform: scale(0.6); right: 5%; bottom: 30px; }
    
    .form-input, .form-select, .form-textarea, #adminDiscountPercent, #adminDiscountMessage { font-size: 16px; }

    #galleryLightboxImage {
        max-width: 95vw;
        max-height: 80vh;
    }

    .gallery-video-modal {
        width: 95vw;
        padding: 12px;
    }

    .gallery-video-title {
        font-size: 0.95rem;
        margin-right: 26px;
    }
}

/* ==========================================
   --- ADDED FEATURE STYLES ---
   ========================================== */

/* Layered Magical Night Sky TOS Background */
.tos-night-sky {
    display: none;
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(circle at top center, #1b0a3a 0%, #060913 60%, #02040a 100%);
    z-index: 0; 
    pointer-events: none;
    overflow: hidden;
}

.tos-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatNebula 20s infinite alternate ease-in-out;
}
.tos-nebula-purple { top: 10%; left: 20%; width: 40vw; height: 40vw; background: rgba(168, 85, 247, 0.2); }
.tos-nebula-blue { bottom: 10%; right: 10%; width: 50vw; height: 50vw; background: rgba(0, 242, 254, 0.15); animation-delay: -5s; }
.tos-nebula-seafoam { top: 40%; left: 60%; width: 30vw; height: 30vw; background: rgba(34, 197, 94, 0.1); animation-delay: -10s; }

@keyframes floatNebula {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(20px, 20px); }
}

/* Non-grid floating stardust layer */
.tos-stardust {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 7% 14%, rgba(255,255,255,0.75) 0 1px, transparent 1.2px),
        radial-gradient(circle at 18% 29%, rgba(255,255,255,0.55) 0 1px, transparent 1.2px),
        radial-gradient(circle at 26% 9%, rgba(255,255,255,0.45) 0 1.4px, transparent 1.6px),
        radial-gradient(circle at 34% 38%, rgba(255,255,255,0.7) 0 1px, transparent 1.2px),
        radial-gradient(circle at 42% 16%, rgba(255,255,255,0.5) 0 1px, transparent 1.2px),
        radial-gradient(circle at 53% 31%, rgba(255,255,255,0.6) 0 1px, transparent 1.2px),
        radial-gradient(circle at 61% 11%, rgba(255,255,255,0.8) 0 1.2px, transparent 1.4px),
        radial-gradient(circle at 69% 36%, rgba(255,255,255,0.5) 0 1px, transparent 1.2px),
        radial-gradient(circle at 77% 18%, rgba(255,255,255,0.65) 0 1px, transparent 1.2px),
        radial-gradient(circle at 86% 32%, rgba(255,255,255,0.55) 0 1px, transparent 1.2px),
        radial-gradient(circle at 93% 13%, rgba(255,255,255,0.7) 0 1px, transparent 1.2px),
        radial-gradient(circle at 12% 45%, rgba(255,255,255,0.45) 0 1px, transparent 1.2px),
        radial-gradient(circle at 29% 52%, rgba(255,255,255,0.6) 0 1px, transparent 1.2px),
        radial-gradient(circle at 47% 48%, rgba(255,255,255,0.5) 0 1px, transparent 1.2px),
        radial-gradient(circle at 64% 54%, rgba(255,255,255,0.65) 0 1px, transparent 1.2px),
        radial-gradient(circle at 82% 49%, rgba(255,255,255,0.5) 0 1px, transparent 1.2px),
        radial-gradient(circle at 9% 63%, rgba(255,255,255,0.72) 0 1px, transparent 1.2px),
        radial-gradient(circle at 21% 72%, rgba(255,255,255,0.5) 0 1px, transparent 1.2px),
        radial-gradient(circle at 38% 67%, rgba(255,255,255,0.62) 0 1px, transparent 1.2px),
        radial-gradient(circle at 56% 74%, rgba(255,255,255,0.48) 0 1px, transparent 1.2px),
        radial-gradient(circle at 73% 69%, rgba(255,255,255,0.7) 0 1px, transparent 1.2px),
        radial-gradient(circle at 89% 76%, rgba(255,255,255,0.58) 0 1px, transparent 1.2px);
    opacity: 0.9;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.34));
    animation: tosCardStarPulse 5.2s infinite alternate ease-in-out, tosStardustDrift 16s infinite alternate ease-in-out;
}

.tos-stardust::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 14% 20%, rgba(255,255,255,0.42) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 31% 27%, rgba(255,255,255,0.35) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 45% 14%, rgba(255,255,255,0.38) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 58% 24%, rgba(255,255,255,0.34) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 72% 19%, rgba(255,255,255,0.4) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 84% 28%, rgba(255,255,255,0.36) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 24% 59%, rgba(255,255,255,0.34) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 41% 64%, rgba(255,255,255,0.38) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 67% 61%, rgba(255,255,255,0.35) 0 0.9px, transparent 1.1px),
        radial-gradient(circle at 81% 66%, rgba(255,255,255,0.4) 0 0.9px, transparent 1.1px);
    opacity: 0.78;
    animation: tosCardStarPulse 6.5s infinite alternate-reverse ease-in-out, tosStardustDrift 20s infinite alternate-reverse ease-in-out;
}

@keyframes tosCardStarPulse {
    0% { opacity: 0.82; }
    100% { opacity: 1; }
}
@keyframes twinkleStardust {
    0% { opacity: 0.4; }
    100% { opacity: 0.8; }
}

@keyframes tosStardustDrift {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-16px, -10px, 0); }
}

.tos-ocean-shimmer {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 20%;
    background: linear-gradient(to top, rgba(0, 242, 254, 0.08), transparent);
    animation: shimmerPulse 8s infinite alternate ease-in-out;
}
@keyframes shimmerPulse {
    0% { opacity: 0.5; transform: scaleY(1); }
    100% { opacity: 1; transform: scaleY(1.2); }
}

.constellation-drift {
    position: absolute;
    opacity: 0.82;
    animation: slowConstellationDrift 22s linear infinite;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.32));
    transform-origin: center;
}

.constellation-drift svg {
    width: clamp(72px, 9vw, 150px);
    height: auto;
    display: block;
}

/* Faster Drift with Dynamic Angles */
@keyframes slowConstellationDrift {
    from { transform: translateX(0) translateY(0) rotate(var(--start-rot, 0deg)); }
    to { transform: translateX(-400px) translateY(-200px) rotate(calc(var(--start-rot, 0deg) + 15deg)); } 
}

/* Connecting Stars Line Animation (Using pathLength=100) */
.constellation-line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawConstellationLine 4s alternate infinite ease-in-out;
}
@keyframes drawConstellationLine {
    0%, 20% { stroke-dashoffset: 100; opacity: 0; }
    50% { opacity: 1; }
    80%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

[data-theme="tos"] .sky-container { background: transparent !important; }
[data-theme="tos"] .tos-night-sky { display: block; }
[data-theme="tos"] .galaxy-nebula { display: none; }
[data-theme="tos"] .ocean-horizon { display: none; }

/* Back to Top Button Fixed positioning */
.back-to-top-btn {
    position: fixed;
    bottom: -60px;
    right: 20px;
    background: rgba(10, 5, 20, 0.85);
    border: 1px solid #00f2fe;
    color: #fff;
    padding: 10px 16px;
    border-radius: 20px;
    font-family: 'Fredoka', sans-serif;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.2s;
    z-index: 999999;
}
.back-to-top-btn.visible { bottom: calc(var(--floating-bottom-clearance, 20px) + 54px); }
.back-to-top-btn:hover { transform: translateY(-3px); box-shadow: 0 0 20px rgba(0, 242, 254, 0.6); }
@media (max-width: 768px) { .back-to-top-btn.visible { bottom: calc(var(--floating-bottom-clearance, 14px) + 54px); } }

.sticky-preorder-cta {
    position: fixed;
    left: 50%;
    bottom: calc(var(--floating-bottom-clearance, 20px) + 8px);
    transform: translateX(-50%) translateY(14px);
    border: 2px solid transparent;
    border-radius: 999px;
    padding: 13px 22px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff;
    background:
        linear-gradient(135deg, #ff4f9d, #ff6bb8) padding-box,
        conic-gradient(from 120deg, #ff5aa5, #ff9f43, #ffe066, #4cd964, #00d2ff, #7d5cff, #ff5aa5) border-box;
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.35), 0 0 14px rgba(255, 111, 181, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease, transform 0.26s ease, box-shadow 0.26s ease, background 0.26s ease, filter 0.26s ease;
    z-index: 99990;
}

.sticky-preorder-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    animation: stickyCtaEntrance 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-preorder-cta:hover,
.sticky-preorder-cta:focus-visible {
    background:
        linear-gradient(135deg, #8e4dff, #5f66ff) padding-box,
        conic-gradient(from 120deg, #ff5aa5, #ff9f43, #ffe066, #4cd964, #00d2ff, #7d5cff, #ff5aa5) border-box;
    box-shadow: 0 14px 30px rgba(2, 8, 23, 0.4), 0 0 22px rgba(126, 92, 255, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) translateY(-2px);
    filter: saturate(1.08);
    animation: stickyCtaBorderSpin 1.2s linear infinite;
}

.sticky-preorder-cta:active {
    transform: translateX(-50%) translateY(0);
    box-shadow: 0 8px 18px rgba(2, 8, 23, 0.34), 0 0 14px rgba(126, 92, 255, 0.24);
}

.sticky-preorder-cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.65);
    outline-offset: 2px;
}

@keyframes stickyCtaBorderSpin {
    0% {
        background:
            linear-gradient(135deg, #8e4dff, #5f66ff) padding-box,
            conic-gradient(from 120deg, #ff5aa5, #ff9f43, #ffe066, #4cd964, #00d2ff, #7d5cff, #ff5aa5) border-box;
    }
    100% {
        background:
            linear-gradient(135deg, #8e4dff, #5f66ff) padding-box,
            conic-gradient(from 480deg, #ff5aa5, #ff9f43, #ffe066, #4cd964, #00d2ff, #7d5cff, #ff5aa5) border-box;
    }
}

@keyframes stickyCtaEntrance {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .sticky-preorder-cta {
        width: calc(100% - 28px);
        max-width: 380px;
        bottom: calc(var(--floating-bottom-clearance, 14px) + 8px);
        padding: 12px 16px;
        font-size: 0.96rem;
    }
}

/* Preorder Bubbles Soft Fixes */
.magical-bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(0, 242, 254, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    pointer-events: none !important; 
    z-index: 1 !important; 
    opacity: 0.7;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.3);
    animation: floatBubble linear infinite;
}
@keyframes floatBubble {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(-120vh) scale(1.5); opacity: 0; }
}

/* ==========================================
   --- SMOOTH MOON FIX ---
   ========================================== */
#dynamicMoonContainer {
    position: absolute;
    top: calc(55px + var(--floating-top-offset, 0px));
    left: 46px;
    z-index: 999999;
}

@media (max-width: 768px) {
    #dynamicMoonContainer {
        top: calc(20px + var(--floating-top-offset, 0px));
        left: 26px;
    }
}

.dynamic-moon-phase {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    /* Smooth Real-Life Transition */
    opacity: 0; 
    transition: all 2s ease-in-out;
    pointer-events: auto; 
    /* Slow 60s Drift */
    animation: moonRealLifeFloat 60s ease-in-out infinite alternate;
}

.dynamic-moon-phase.moon-loaded {
    opacity: 1;
}

@keyframes moonRealLifeFloat {
    /* Uses the JS variable to flip it depending on Hemisphere! */
    0% { transform: scaleX(var(--hemi-flip, 1)) translateY(0px) rotate(0deg); }
    100% { transform: scaleX(var(--hemi-flip, 1)) translateY(-10px) rotate(2deg); }
}

.moon-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: rgba(10, 5, 20, 0.9);
    border: 1px solid #f1c40f;
    color: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.3);
    width: max-content;
    max-width: 250px;
    text-align: left;
    line-height: 1.4;
}

.dynamic-moon-phase:hover + .moon-tooltip, 
.dynamic-moon-phase:active + .moon-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.moon-quote-text {
    display: block;
    transition: opacity 0.5s ease;
    min-height: 40px;
}

.tos-jump-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255,255,255,0.2);
}
.tos-jump-btn {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.4);
    color: #e2e8f0;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}
.tos-jump-btn:hover {
    background: rgba(0, 242, 254, 0.3);
    color: #fff;
    box-shadow: 0 0 10px rgba(0,242,254,0.4);
}

.cursor-sparkle {
    position: fixed;
    width: 6px; height: 6px; 
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 999999;
    animation: sparkleFade 0.6s forwards;
    box-shadow: 0 0 10px 2px #00f2fe, 0 0 20px #ec4899; 
}
@keyframes sparkleFade {
    0% { transform: scale(1) translate(0,0); opacity: 1; }
    100% { transform: scale(0) translate(0, 15px); opacity: 0; }
}

.before-order-checklist {
    background: rgba(0,0,0,0.4);
    border: 1px dashed #ec4899;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.before-order-checklist h4 { color: #f472b6; margin-bottom: 15px; font-size: 1.15rem; }
.checklist-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: #e2e8f0; font-size: 0.95rem; }
.checklist-item input { width: 18px; height: 18px; accent-color: #ec4899; }
.form-error-msg {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    text-align: center;
}

.price-estimator {
    background: rgba(34, 197, 94, 0.1);
    border: 1px dashed #22c55e;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.price-estimator p { color: #4ade80; font-weight: 500; font-size: 1.1rem; text-align: center;}
.price-estimator span { color: #e2e8f0; font-size: 0.9rem; text-align: center; font-style: italic;}

.price-estimator-title {
    color: #4ade80;
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.price-estimator-range {
    text-align: center;
    color: #ffffff;
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.15;
    margin: 2px 0;
}

.best-fit-recommendation {
    border: 1px solid rgba(103, 232, 249, 0.35);
    background: linear-gradient(160deg, rgba(8, 31, 46, 0.42), rgba(12, 31, 48, 0.25));
    border-radius: 10px;
    padding: 10px 12px;
    display: grid;
    gap: 4px;
}

.best-fit-kicker {
    margin: 0;
    color: #93c5fd !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.best-fit-title {
    margin: 0;
    color: #ecfeff;
    font-size: 1rem;
    line-height: 1.25;
}

.best-fit-note {
    margin: 0;
    color: #bfdbfe;
    font-size: 0.86rem;
    line-height: 1.45;
}

.form-draft-banner {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(125, 211, 252, 0.26);
    background: linear-gradient(145deg, rgba(8, 23, 46, 0.46), rgba(9, 20, 39, 0.34));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #dbeafe;
    font-size: 0.88rem;
    line-height: 1.45;
}

.form-draft-banner strong {
    color: #f0f9ff;
    white-space: nowrap;
}

.form-draft-banner__status {
    color: #bfdbfe;
    text-align: right;
}

.form-draft-banner[data-tone="success"] .form-draft-banner__status {
    color: #86efac;
}

.form-draft-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-draft-controls .nav-btn {
    font-size: 0.86rem;
    padding: 8px 14px;
    border-width: 1px;
}

.draft-save-btn {
    border-color: rgba(96, 165, 250, 0.8) !important;
}

.draft-clear-btn {
    border-color: rgba(248, 113, 113, 0.55) !important;
    color: #fecaca;
}

.draft-status-text {
    width: 100%;
    text-align: center;
    color: #bfdbfe;
    font-size: 0.8rem;
}

.draft-status-text[data-tone="success"] {
    color: #86efac;
}

.char-counter {
    font-size: 0.8rem;
    color: #a2b7cc;
    text-align: right;
    margin-top: 4px;
    display: block;
}

.premade-design-stock-note {
    margin-top: 8px;
}

/* Cute Status Animations */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px) rotate(5deg); }
}
@keyframes craftingGlow {
    0% { filter: drop-shadow(0 0 5px #f1c40f) brightness(1); }
    100% { filter: drop-shadow(0 0 20px #f1c40f) brightness(1.2); }
}
@keyframes starBurst {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.admin-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34, 197, 94, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    z-index: 9999999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.copy-template-btn { background: rgba(168, 85, 247, 0.2) !important; border-color: #a855f7 !important; }

/* CSS SEA LOADER (NO EMOJIS) */
.sea-submit-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.loader-bottle-mini {
    position: relative; width: 15px; height: 25px; animation: gentleFloat 2s infinite ease-in-out;
}
.loader-bottle-glass {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 18px;
    background: rgba(255, 255, 255, 0.3); border: 1px solid #fff; border-radius: 4px 4px 8px 8px;
}
.loader-bottle-neck {
    position: absolute; top: 3px; left: 4px; width: 7px; height: 6px;
    border-left: 1px solid #fff; border-right: 1px solid #fff; background: rgba(255, 255, 255, 0.3);
}
.loader-bottle-cork {
    position: absolute; top: 0; left: 3px; width: 9px; height: 4px; background: #d4a373; border-radius: 2px;
}
.submit-status-text { font-family: inherit; font-size: 1.15rem; font-weight: 500; }

/* SMOOTH FORM FADING */
.form-fade-wrapper {
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}
.form-fade-out {
    opacity: 0;
}

/* REFINED SUCCESS SCREEN BOTTLE ANIMATION */
.success-screen-wrapper { 
    text-align: center; 
    padding: 20px 10px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 15px; 
}
.bottle-success-anim {
    position: relative; width: 60px; height: 80px; margin: 0 auto;
    animation: bottleFloatUp 3s ease-out forwards, gentleFloat 3s infinite ease-in-out 3s;
}
.bottle-glass {
    position: absolute; bottom: 10px; left: 10px; width: 40px; height: 50px;
    background: rgba(0, 242, 254, 0.15); border: 2px solid #00f2fe; border-radius: 10px 10px 20px 20px;
    box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.5), 0 0 20px rgba(0, 242, 254, 0.6);
}
.bottle-neck-glass {
    position: absolute; bottom: 60px; left: 22px; width: 16px; height: 15px;
    background: rgba(0, 242, 254, 0.15); border-left: 2px solid #00f2fe; border-right: 2px solid #00f2fe;
}
.bottle-cork-wood {
    position: absolute; bottom: 75px; left: 20px; width: 20px; height: 10px;
    background: #d4a373; border-radius: 3px; border: 1px solid #bc8a5f;
}
.success-waves { position: absolute; bottom: 0; left: -10px; width: 80px; height: 10px; border-bottom: 3px solid #22c55e; border-radius: 50%; opacity: 0; animation: waveFadeIn 2s forwards 2s; }
.success-sparkles { position: absolute; top: -10px; left: 50%; width: 100%; height: 100%; pointer-events: none; }
.success-sparkles::before, .success-sparkles::after { content: ''; position: absolute; width: 4px; height: 4px; background: #fff; border-radius: 50%; box-shadow: 0 0 8px #fff, 0 0 15px #ec4899; opacity: 0; animation: successSparkleFloat 3s infinite ease-in-out 2s; }
.success-sparkles::after { left: -20px; animation-delay: 3.5s; }

@keyframes bottleFloatUp { 0% { transform: translateY(50px) scale(0.5); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes waveFadeIn { 0% { opacity: 0; transform: scaleX(0.5); } 100% { opacity: 0.8; transform: scaleX(1); } }
@keyframes successSparkleFloat { 0% { transform: translateY(0) scale(0); opacity: 0; } 50% { transform: translateY(-30px) scale(1); opacity: 1; } 100% { transform: translateY(-50px) scale(0); opacity: 0; } }

.success-headline { color: #4ade80; text-shadow: 0 0 15px rgba(74, 222, 128, 0.5); font-size: 2.2rem; margin: 0; }
.success-subtext { color: #e2e8f0; font-size: 1.05rem; line-height: 1.6; max-width: 500px; margin: 0 auto; word-wrap: break-word; }
.order-number-card { background: rgba(0, 242, 254, 0.1); border: 1px solid #00f2fe; padding: 15px 30px; border-radius: 16px; display: inline-block; box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.2); margin-top: 5px; width: 100%; max-width: 350px; }

.success-next-steps {
    width: 100%;
    max-width: 520px;
    margin: 0 0 4px;
    padding: 12px 16px 12px 34px;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: rgba(14, 165, 233, 0.1);
    color: #dbeafe;
    text-align: left;
    line-height: 1.6;
}

.success-next-steps li {
    margin-bottom: 6px;
}

.success-next-steps li:last-child {
    margin-bottom: 0;
}

/* ==========================================
   --- ADMIN DASHBOARD STYLES RECOVERY ---
   ========================================== */
.admin-dashboard {
    width: 95%; max-width: 1200px;
    display: flex; flex-direction: column; gap: 20px;
}

.admin-mission-shell {
    position: relative;
    width: min(1400px, 98vw);
}

.admin-lockable {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.admin-mission-shell.is-idle-locked .admin-lockable {
    filter: blur(14px) brightness(0.28) saturate(0.7);
    pointer-events: none;
    user-select: none;
}

#adminIdleLockScreen[hidden] {
    display: none;
}

#adminIdleLockScreen {
    position: fixed;
    inset: 0;
    z-index: 110000;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 14%, rgba(56, 189, 248, 0.18), transparent 34%),
        radial-gradient(circle at top, rgba(56, 189, 248, 0.14), transparent 42%),
        radial-gradient(circle at bottom, rgba(236, 72, 153, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(2, 6, 18, 0.95), rgba(1, 4, 12, 0.98));
    backdrop-filter: blur(14px);
}

#adminIdleLockScreen .admin-idle-lock-screen__panel {
    width: min(680px, 100%);
    border-radius: 28px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background:
        linear-gradient(180deg, rgba(8, 13, 28, 0.98), rgba(3, 7, 17, 0.98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255,255,255,0.03);
    padding: 28px 30px 30px;
    text-align: center;
}

#adminIdleLockScreen .admin-idle-lock-screen__kicker {
    margin: 0 0 8px;
    color: #8fdcff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

#adminIdleLockScreen .admin-idle-lock-screen__title {
    margin: 0;
    color: #f8fbff;
    font-size: clamp(1.7rem, 3.6vw, 2.35rem);
    line-height: 1.05;
    text-shadow: 0 0 22px rgba(125, 211, 252, 0.2);
}

#adminIdleLockScreen .admin-idle-lock-screen__copy {
    margin: 10px auto 0;
    max-width: 32ch;
    color: #bdd4e8;
    line-height: 1.55;
    font-size: 0.92rem;
}

#adminIdleLockScreen .admin-idle-lock-screen__scene {
    position: relative;
    width: min(440px, 92vw);
    height: 210px;
    margin: 14px auto 6px;
    isolation: isolate;
}

#adminIdleLockScreen .admin-idle-atmosphere {
    position: absolute;
    inset: 0;
    overflow: visible;
    z-index: 0;
}

#adminIdleLockScreen .admin-idle-moon {
    position: absolute;
    top: 18px;
    right: 38px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 34%, rgba(223, 249, 255, 0.98), rgba(143, 220, 255, 0.92) 46%, rgba(20, 184, 226, 0.38) 68%, rgba(20, 184, 226, 0.04) 100%);
    box-shadow:
        0 0 16px rgba(125, 211, 252, 0.18),
        0 0 36px rgba(45, 212, 255, 0.12),
        inset 0 0 8px rgba(255, 255, 255, 0.26);
    opacity: 0.54;
    animation: adminIdleMoonPulse 10.5s ease-in-out infinite;
}

#adminIdleLockScreen .admin-idle-moon::before {
    content: '';
    position: absolute;
    inset: 11px 14px 16px 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.26), transparent 66%);
    filter: blur(2px);
}

#adminIdleLockScreen .admin-idle-stars,
#adminIdleLockScreen .admin-idle-drifts,
#adminIdleLockScreen .admin-idle-shooting-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#adminIdleLockScreen .admin-idle-star,
#adminIdleLockScreen .admin-idle-drift {
    position: absolute;
    border-radius: 50%;
}

#adminIdleLockScreen .admin-idle-star {
    background: rgba(240, 250, 255, 0.82);
    box-shadow: 0 0 8px rgba(125, 211, 252, 0.32);
    animation-name: adminIdleStarTwinkle;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

#adminIdleLockScreen .admin-idle-star:nth-child(3n) {
    background: rgba(173, 233, 255, 0.95);
}

#adminIdleLockScreen .admin-idle-drift {
    display: none;
}

#adminIdleLockScreen .admin-idle-drift::before {
    content: none;
}

#adminIdleLockScreen .admin-idle-shooting-star {
    display: none;
}

#adminIdleLockScreen .admin-idle-shooting-star::before {
    content: none;
}

#adminIdleLockScreen .admin-idle-zzz {
    display: none;
}

#adminIdleLockScreen .admin-idle-zzz__particle {
    display: none;
}

#adminIdleLockScreen .admin-idle-ripple {
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 156px;
    height: 84px;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: visible;
    z-index: 1;
}

#adminIdleLockScreen .admin-idle-ripple__ring {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(111, 231, 255, 0.44);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.16);
    background: radial-gradient(circle, transparent 60%, rgba(111, 231, 255, 0.05) 64%, transparent 70%);
    opacity: 0;
    transform: scale(0.72);
    will-change: transform, opacity;
}

#adminIdleLockScreen .admin-idle-ripple__ring--one {
    animation: adminIdleRipplePulse var(--admin-idle-ripple-duration, 5.4s) ease-in-out infinite;
    animation-delay: 0s;
}

#adminIdleLockScreen .admin-idle-ripple__ring--two {
    animation: adminIdleRipplePulse var(--admin-idle-ripple-duration, 5.4s) ease-in-out infinite;
    animation-delay: 0.24s;
    inset: 22px;
    border-color: rgba(111, 231, 255, 0.6);
}

#adminIdleLockScreen .admin-idle-ripple__ring--three {
    animation: adminIdleRipplePulse var(--admin-idle-ripple-duration, 5.4s) ease-in-out infinite;
    animation-delay: 0.48s;
    inset: 44px;
    border-color: rgba(111, 231, 255, 0.34);
}

#adminIdleLockScreen .admin-idle-cat {
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 226px;
    height: 142px;
    transform: translateX(-50%);
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(96, 220, 255, 0.14));
    animation: adminIdleCatBreathe var(--admin-idle-breathe-duration, 7.8s) ease-in-out infinite;
}

#adminIdleLockScreen .admin-idle-cat::before {
    content: none;
}

#adminIdleLockScreen .admin-idle-cat__shadow {
    position: absolute;
    left: 50%;
    width: 150px;
    bottom: 12px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
    animation: adminIdleShadowBreathe var(--admin-idle-shadow-duration, 7.8s) ease-in-out infinite;
    z-index: 1;
}

#adminIdleLockScreen .admin-idle-cat__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 2;
}

#adminIdleLockScreen .admin-idle-cat__body-fill,
#adminIdleLockScreen .admin-idle-cat__head-fill,
#adminIdleLockScreen .admin-idle-cat__belly-fill,
#adminIdleLockScreen .admin-idle-cat__ear-fill,
#adminIdleLockScreen .admin-idle-cat__paw-fill {
    fill: #060b1b;
}

#adminIdleLockScreen .admin-idle-cat__belly-fill {
    fill: rgba(9, 20, 43, 0.9);
}

#adminIdleLockScreen .admin-idle-cat__cheek-fill {
    fill: rgba(156, 215, 255, 0.24);
}

#adminIdleLockScreen .admin-idle-cat__rim {
    fill: none;
    stroke: rgba(125, 211, 252, 0.28);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#adminIdleLockScreen .admin-idle-cat__head-group {
    transform-origin: 236px 156px;
    animation: none;
}

#adminIdleLockScreen .admin-idle-cat__tail-group {
    display: none;
}

#adminIdleLockScreen .admin-idle-cat__tail-stroke {
    fill: none;
    stroke: #060b1b;
    stroke-width: 13;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.16));
}

#adminIdleLockScreen .admin-idle-cat__tail-rim {
    fill: none;
    stroke: rgba(125, 211, 252, 0.28);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#adminIdleLockScreen .admin-idle-cat__ear-group {
    animation: none;
    transform-box: fill-box;
}

#adminIdleLockScreen .admin-idle-cat__ear-group--left {
    --ear-rot: -2deg;
    transform-origin: 224px 128px;
    animation-delay: -4.8s;
}

#adminIdleLockScreen .admin-idle-cat__ear-group--right {
    --ear-rot: 2deg;
    transform-origin: 247px 127px;
    animation-delay: -1.7s;
}

#adminIdleLockScreen .admin-idle-cat__eye-stroke {
    fill: none;
    stroke: rgba(228, 246, 255, 0.9);
    stroke-width: 2.4;
    stroke-linecap: round;
}

#adminIdleLockScreen .admin-idle-cat__nose-fill {
    fill: rgba(228, 246, 255, 0.86);
}

#adminIdleLockScreen .admin-idle-cat__mouth-stroke {
    fill: none;
    stroke: rgba(228, 246, 255, 0.84);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#adminIdleLockScreen .admin-idle-cat__whisker-stroke {
    fill: none;
    stroke: rgba(181, 233, 255, 0.68);
    stroke-width: 1.5;
    stroke-linecap: round;
}

#adminIdleLockScreen .admin-idle-cat__paw-group {
    transform-origin: 216px 184px;
    animation: none;
}

#adminIdleLockScreen .admin-idle-lock-screen__dots {
    display: inline-flex;
    gap: 8px;
    margin-top: 6px;
}

#adminIdleLockScreen .admin-idle-lock-screen__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0.95), rgba(14, 165, 233, 0.62));
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.24);
    animation: adminIdleDotPulse 1.8s ease-in-out infinite;
}

#adminIdleLockScreen .admin-idle-lock-screen__dots span:nth-child(2) {
    animation-delay: 0.42s;
}

#adminIdleLockScreen .admin-idle-lock-screen__dots span:nth-child(3) {
    animation-delay: 0.84s;
}

#adminIdleLockScreen .admin-idle-lock-screen__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 640px) {
    #adminIdleLockScreen .admin-idle-lock-screen__panel {
        padding: 22px 16px 24px;
    }

    #adminIdleLockScreen .admin-idle-lock-screen__scene {
        width: min(360px, 100%);
        height: 180px;
    }

    #adminIdleLockScreen .admin-idle-moon {
        top: 16px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    #adminIdleLockScreen .admin-idle-ripple {
        width: 134px;
        height: 70px;
        bottom: 2px;
    }

    #adminIdleLockScreen .admin-idle-cat {
        width: 194px;
        height: 122px;
        bottom: 4px;
    }

    #adminIdleLockScreen .admin-idle-zzz {
        display: none;
    }
}

@keyframes adminIdleCatBreathe {
    0%, 100% {
        transform: translateX(-50%) translateY(0) scale(1, 1);
    }
    50% {
        transform: translateX(-50%) translateY(-2px) scale(1.015, 1.02);
    }
}

@keyframes adminIdleShadowBreathe {
    0%, 100% {
        transform: translateX(-50%) scaleX(1);
        opacity: 0.58;
    }
    50% {
        transform: translateX(-50%) scaleX(1.08);
        opacity: 0.82;
    }
}

@keyframes adminIdleHeadBreath {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    22% {
        transform: translateY(-1px) rotate(-0.15deg);
    }
    50% {
        transform: translateY(-5px) rotate(-0.45deg);
    }
    78% {
        transform: translateY(-1px) rotate(-0.12deg);
    }
}

@keyframes adminIdleTailTwitch {
    0%, 80%, 100% {
        transform: rotate(0deg);
    }
    84% {
        transform: rotate(7deg);
    }
    88% {
        transform: rotate(-2deg);
    }
    92% {
        transform: rotate(4deg);
    }
}

@keyframes adminIdleEarFlick {
    0%, 76%, 100% {
        transform: rotate(var(--ear-rot, 0deg));
    }
    80% {
        transform: rotate(calc(var(--ear-rot, 0deg) + 6deg));
    }
    84% {
        transform: rotate(calc(var(--ear-rot, 0deg) - 2deg));
    }
    88% {
        transform: rotate(calc(var(--ear-rot, 0deg) + 3deg));
    }
}

@keyframes adminIdleZzzFloat {
    0% {
        transform: translate3d(0, 12px, 0) scale(0.88);
        opacity: 0;
    }
    12% {
        opacity: 0.85;
    }
    34% {
        opacity: 1;
    }
    100% {
        transform: translate3d(var(--zzz-drift, 0px), -58px, 0) scale(1.1);
        opacity: 0;
    }
}

@keyframes adminIdleRipplePulse {
    0% {
        transform: scale(0.68);
        opacity: 0.24;
    }
    14% {
        opacity: 0.42;
    }
    34% {
        transform: scale(1.05);
        opacity: 0.64;
    }
    58% {
        transform: scale(1.3);
        opacity: 0;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes adminIdleDotPulse {
    0%, 100% {
        transform: translateY(0) scale(0.8);
        opacity: 0.3;
    }
    22% {
        transform: translateY(-2px) scale(1);
        opacity: 1;
    }
    54% {
        transform: translateY(0) scale(0.9);
        opacity: 0.55;
    }
}

@keyframes adminIdleStarTwinkle {
    0%, 100% {
        opacity: 0.34;
        transform: scale(0.72);
    }
    25% {
        opacity: 0.96;
        transform: scale(1.18);
    }
    50% {
        opacity: 0.42;
        transform: scale(0.84);
    }
    75% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

@keyframes adminIdleDriftFloat {
    0% {
        transform: translate3d(0, 12px, 0) scale(0.9);
        opacity: 0;
    }
    15% {
        opacity: 0.75;
    }
    55% {
        transform: translate3d(6px, -24px, 0) scale(1.08);
        opacity: 0.92;
    }
    100% {
        transform: translate3d(-4px, -60px, 0) scale(1.18);
        opacity: 0;
    }
}

@keyframes adminIdleMoonPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.88;
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        opacity: 1;
        filter: brightness(1.08);
    }
}

@keyframes adminIdleShootingStarFly {
    0%, 74% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(-22deg) scaleX(0.7);
    }
    76% {
        opacity: 1;
    }
    84% {
        opacity: 1;
        transform: translate3d(140px, 66px, 0) rotate(-22deg) scaleX(1);
    }
    90% {
        opacity: 0;
        transform: translate3d(230px, 112px, 0) rotate(-22deg) scaleX(1.1);
    }
    100% {
        opacity: 0;
        transform: translate3d(230px, 112px, 0) rotate(-22deg) scaleX(1.1);
    }
}

.admin-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    border-radius: 16px;
    border: 1px solid rgba(56, 189, 248, 0.28);
    background: linear-gradient(180deg, rgba(8, 15, 34, 0.96), rgba(6, 12, 28, 0.92));
    box-shadow: 0 14px 36px rgba(2, 8, 18, 0.36);
    padding: 14px;
}

.admin-sidebar-title {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #cde7ff;
    margin-bottom: 10px;
}

.admin-sidebar-nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar-group {
    display: grid;
    gap: 6px;
}

.admin-sidebar-group-title {
    margin: 4px 2px 0;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9fb7d4;
    font-weight: 700;
}

.admin-sidebar-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.35), rgba(56, 189, 248, 0));
    margin: 6px 0;
}

.admin-side-link {
    text-align: left;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.55);
    color: #dbeafe;
    padding: 8px 10px;
    font-size: 0.86rem;
    font-weight: 600;
}

.admin-side-link:hover {
    border-color: rgba(56, 189, 248, 0.45);
    background: rgba(14, 165, 233, 0.16);
}

.admin-side-link--section {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c7ddf7;
    background: rgba(9, 15, 30, 0.5);
}

.admin-main-area {
    display: grid;
    gap: 10px;
    min-width: 0;
    width: 100%;
}

.admin-dashboard-band {
    display: grid;
    gap: 7px;
}

.admin-revenue-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 12px;
    background: rgba(7, 16, 34, 0.62);
}

.admin-revenue-controls .admin-label {
    margin: 0;
    font-size: 0.82rem;
    color: #cde7ff;
}

.admin-revenue-controls__hint {
    margin: 0;
    font-size: 0.82rem;
    color: #9fc0d8;
    align-self: end;
}

.admin-management-zone {
    display: grid;
    gap: 8px;
    margin-top: 2px;
    padding-top: 7px;
    border-top: 1px solid rgba(125, 211, 252, 0.24);
}

.admin-zone-heading {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9fcde8;
    font-weight: 700;
}

.admin-quick-actions-card {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
}

.admin-quick-actions-card .admin-card-title {
    grid-column: 1;
    margin-bottom: 2px;
}

.admin-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.admin-quick-actions-grid .nav-btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 980px) {
    .admin-quick-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .admin-quick-actions-grid {
        grid-template-columns: 1fr;
    }
}

.admin-top-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    border-radius: 16px;
    border: 1px solid rgba(96, 165, 250, 0.26);
    background: linear-gradient(180deg, rgba(8, 16, 34, 0.96), rgba(7, 13, 28, 0.92));
    box-shadow: 0 14px 32px rgba(2, 8, 18, 0.32);
    padding: 12px;
}

.admin-top-header h1 {
    color: #ffffff;
    margin-bottom: 2px;
    font-size: 1.8rem;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

.admin-top-kicker {
    color: #9fd6ff;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.admin-top-meta {
    color: #b6cde0;
    font-size: 0.88rem;
}

.admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.admin-quick-search {
    min-width: 260px;
}

.admin-overview-grid {
    display: grid;
    gap: 10px;
}

.admin-overview-row {
    display: grid;
    gap: 8px;
}

.admin-overview-row-title {
    margin: 0;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a6c3dc;
    font-weight: 700;
}

.admin-overview-row-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-overview-card {
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.24);
    background: linear-gradient(180deg, rgba(8, 18, 40, 0.92), rgba(6, 13, 30, 0.86));
    box-shadow: 0 10px 20px rgba(2, 8, 18, 0.28), inset 0 0 16px rgba(255,255,255,0.02);
    padding: 9px;
    text-align: left;
}

.admin-overview-card.is-amber {
    border-color: rgba(251, 191, 36, 0.42);
}

.admin-overview-card.is-purple {
    border-color: rgba(168, 85, 247, 0.42);
}

.admin-overview-card.is-green {
    border-color: rgba(74, 222, 128, 0.4);
}

.admin-overview-card.is-cyan {
    border-color: rgba(56, 189, 248, 0.3);
}

.admin-overview-label {
    color: #a9c7df;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-overview-value {
    color: #f8fbff;
    font-size: 1.05rem;
}

.admin-revenue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-chart-card {
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    background: linear-gradient(180deg, rgba(7, 14, 30, 0.92), rgba(5, 11, 24, 0.9));
    padding: 10px;
    text-align: left;
}

.admin-chart-card h3 {
    color: #e2f5ff;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.admin-chart-card p {
    color: #a9c7df;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.admin-chart-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.admin-chart-label,
.admin-chart-value {
    color: #dbeafe;
    font-size: 0.76rem;
}

.admin-chart-track {
    height: 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    overflow: hidden;
}

.admin-chart-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
}

.admin-line-chart-wrap {
    margin-bottom: 8px;
}

.admin-line-chart {
    width: 100%;
    height: 52px;
    display: block;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(30, 41, 59, 0.2));
}

.admin-line-chart-path {
    fill: none;
    stroke: #38bdf8;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-line-chart-labels {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    margin-top: 4px;
    color: #9cc2dc;
    font-size: 0.68rem;
}

.admin-line-chart-labels span {
    text-align: center;
}

.admin-overview-group {
    color: #7dd3fc;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.admin-overview-row--action .admin-overview-row-title {
    color: #fde68a;
}

.admin-overview-row--action .admin-overview-card {
    border-color: rgba(251, 191, 36, 0.45);
    background: linear-gradient(180deg, rgba(34, 20, 3, 0.9), rgba(20, 12, 3, 0.88));
    box-shadow: 0 14px 26px rgba(24, 14, 2, 0.42), inset 0 0 18px rgba(251, 191, 36, 0.08);
}

.admin-overview-row--action .admin-overview-group,
.admin-overview-row--action .admin-overview-label {
    color: #fcd34d;
}

.admin-overview-row--action .admin-overview-value {
    color: #fff7d6;
    font-size: 1.28rem;
    text-shadow: 0 0 18px rgba(245, 158, 11, 0.42);
}

.admin-overview-row--business .admin-overview-card {
    border-color: rgba(56, 189, 248, 0.28);
}

.admin-overview-row--business .admin-overview-value {
    font-size: 1.14rem;
}

.admin-overview-row--info .admin-overview-row-title {
    color: #8da8c1;
}

.admin-overview-row--info .admin-overview-card {
    border-color: rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, rgba(8, 15, 34, 0.82), rgba(6, 13, 28, 0.8));
    box-shadow: 0 8px 16px rgba(2, 8, 18, 0.24), inset 0 0 10px rgba(255, 255, 255, 0.015);
}

.admin-overview-row--info .admin-overview-group,
.admin-overview-row--info .admin-overview-label {
    color: #9bb5cc;
}

.admin-overview-row--info .admin-overview-value {
    color: #d9e5f2;
    font-size: 1.02rem;
    text-shadow: none;
}

.admin-overview-card.is-purple .admin-overview-group,
.admin-overview-card.is-purple .admin-overview-label,
.admin-overview-card.is-purple .admin-overview-value {
    color: #e9d5ff;
}

.admin-overview-card.is-green .admin-overview-group,
.admin-overview-card.is-green .admin-overview-label,
.admin-overview-card.is-green .admin-overview-value {
    color: #bbf7d0;
}

.admin-overview-card.is-amber .admin-overview-group,
.admin-overview-card.is-amber .admin-overview-label,
.admin-overview-card.is-amber .admin-overview-value {
    color: #fde68a;
}

.admin-overview-card.is-cyan .admin-overview-group,
.admin-overview-card.is-cyan .admin-overview-label,
.admin-overview-card.is-cyan .admin-overview-value {
    color: #d9f2ff;
}

@media (max-width: 900px) {
    .admin-overview-row-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .admin-overview-row-grid {
        grid-template-columns: 1fr;
    }
}

.admin-activity-panel ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
    color: #c7d9ea;
    line-height: 1.55;
    font-size: 0.84rem;
}

.admin-activity-panel {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, rgba(8, 14, 30, 0.92), rgba(5, 11, 24, 0.88));
    padding: 10px;
    text-align: left;
}

.admin-activity-panel h2 {
    color: #f8fbff;
    font-size: 0.98rem;
    margin-bottom: 6px;
}
.admin-activity-row {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.admin-activity-row:last-child {
    border-bottom: 0;
}

.admin-activity-type {
    color: #7dd3fc;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-activity-type.is-amber {
    color: #fbbf24;
}

.admin-activity-type.is-purple {
    color: #c084fc;
}

.admin-activity-type.is-green {
    color: #4ade80;
}

.admin-activity-type.is-cyan {
    color: #7dd3fc;
}

.admin-activity-desc {
    color: #dbeafe;
    font-size: 0.84rem;
}

.admin-activity-time {
    color: #9fbad2;
    font-size: 0.74rem;
    white-space: nowrap;
}

.admin-collapsible {
    border-radius: 14px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    background: linear-gradient(180deg, rgba(7, 14, 30, 0.92), rgba(5, 11, 24, 0.86));
    overflow: hidden;
}

.admin-collapsible > summary {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: #e4f2ff;
    font-weight: 700;
    letter-spacing: 0.04em;
    list-style: none;
    background: linear-gradient(180deg, rgba(12, 26, 52, 0.84), rgba(7, 17, 36, 0.9));
}

.admin-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-panel-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.55rem;
    height: 1.2rem;
    border-radius: 999px;
    padding: 0 6px;
    font-size: 0.7rem;
    line-height: 1;
    border: 1px solid rgba(103, 232, 249, 0.48);
    background: rgba(34, 211, 238, 0.16);
    color: #cffafe;
}

.admin-panel-badge.is-active {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 14px rgba(56, 189, 248, 0.14);
}

.admin-panel-badge.is-amber {
    border-color: rgba(251, 191, 36, 0.55);
    background: rgba(251, 191, 36, 0.16);
    color: #fde68a;
}

.admin-panel-badge.is-purple {
    border-color: rgba(192, 132, 252, 0.55);
    background: rgba(168, 85, 247, 0.16);
    color: #e9d5ff;
}

.admin-panel-badge.is-green {
    border-color: rgba(74, 222, 128, 0.55);
    background: rgba(22, 163, 74, 0.16);
    color: #bbf7d0;
}

.admin-panel-badge.is-cyan {
    border-color: rgba(103, 232, 249, 0.48);
    background: rgba(34, 211, 238, 0.16);
    color: #cffafe;
}

.admin-panel-badge.is-red {
    border-color: rgba(248, 113, 113, 0.58);
    background: rgba(239, 68, 68, 0.18);
    color: #fecaca;
}

.admin-collapsible > summary::after {
    content: '▾';
    font-size: 0.9rem;
    color: #9fd6ff;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.admin-collapsible[open] > summary::after {
    transform: rotate(0deg);
}

.admin-collapsible[open] > summary {
    border-bottom: 1px solid rgba(125, 211, 252, 0.2);
}

.admin-collapsible > summary::-webkit-details-marker {
    display: none;
}

.admin-collapsible-body {
    padding: 0 10px 10px;
    display: grid;
    gap: 12px;
}

.admin-tools-studio-block {
    display: grid;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.admin-collapsible--sub {
    border-color: rgba(125, 211, 252, 0.24);
    background: linear-gradient(180deg, rgba(6, 15, 31, 0.88), rgba(6, 13, 28, 0.82));
}

.admin-collapsible--sub > summary {
    padding: 9px 11px;
    font-size: 0.86rem;
    letter-spacing: 0.03em;
}

.admin-collapsible--sub > .admin-collapsible-body {
    padding: 8px 8px 10px;
}

.admin-diagnostics-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-diagnostics-item {
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 12px;
    background: rgba(7, 16, 34, 0.78);
    padding: 10px 12px;
}

.admin-diagnostics-item h4 {
    margin: 0 0 6px;
    color: #d7ecff;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-diagnostics-item p {
    margin: 0;
    color: #f3fbff;
    font-size: 0.92rem;
    line-height: 1.45;
    word-break: break-word;
}

.admin-diagnostics-item small {
    display: block;
    margin-top: 6px;
    color: #9fc0d8;
    font-size: 0.78rem;
}

.admin-diagnostics-item--full {
    grid-column: 1 / -1;
}

.admin-diagnostics-item--meta {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-management-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.admin-section-note {
    color: #b4cbe0;
    font-size: 0.88rem;
}

.admin-order-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.admin-order-badge.is-amber {
    background: rgba(245, 158, 11, 0.24);
    border-color: rgba(251, 191, 36, 0.5);
    color: #fde68a;
}

.admin-order-badge.is-purple {
    background: rgba(147, 51, 234, 0.24);
    border-color: rgba(192, 132, 252, 0.52);
    color: #f3e8ff;
}

.admin-order-badge.is-green {
    background: rgba(22, 163, 74, 0.24);
    border-color: rgba(74, 222, 128, 0.52);
    color: #dcfce7;
}

.admin-order-badge.is-cyan {
    background: rgba(14, 165, 233, 0.24);
    border-color: rgba(56, 189, 248, 0.52);
    color: #cffafe;
}

.admin-image-thumb-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.admin-image-thumb {
    width: 76px;
    height: 76px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(125, 211, 252, 0.3);
    background: rgba(15, 23, 42, 0.6);
}

.admin-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1100px) {
    .admin-lockable {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
    }
}

@media (max-width: 760px) {
    .admin-revenue-grid {
        grid-template-columns: 1fr;
    }

    .admin-header-actions {
        justify-content: flex-start;
    }

    .admin-quick-search {
        min-width: 0;
        width: 100%;
    }

    .admin-activity-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .admin-inline-collapsible-body {
        grid-template-columns: 1fr;
    }
}
.admin-filters {
    display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px;
}
.admin-card {
    background: rgba(10, 18, 38, 0.9);
    border: 2px solid #a855f7;
    border-radius: 16px;
    padding: 20px;
    text-align: left;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.admin-card h3 { 
    color: #00f2fe; 
    font-size: 1.3rem; 
    grid-column: span 2; 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding-bottom: 10px;
}
.admin-detail { color: #e2e8f0; font-size: 0.95rem; }
.admin-detail strong { color: #f472b6; }
.admin-actions { grid-column: span 2; display: flex; gap: 10px; margin-top: 10px; }

/* Husky's List Page Styles */
[data-theme="huskys-list"] .bg-environment {
    background:
        radial-gradient(circle at 14% 20%, rgba(147, 51, 234, 0.34), transparent 38%),
        radial-gradient(circle at 84% 14%, rgba(250, 204, 21, 0.24), transparent 32%),
        radial-gradient(circle at 80% 82%, rgba(239, 68, 68, 0.2), transparent 35%),
        radial-gradient(circle at 52% 60%, rgba(56, 189, 248, 0.12), transparent 40%),
        linear-gradient(180deg, #01030a 0%, #05081a 46%, #030715 100%);
    background-size: 125% 125%, 125% 125%, 125% 125%, 125% 125%, 100% 100%;
    animation: huskysSkyShift 18s ease-in-out infinite alternate, huskysHuePulse 12s ease-in-out infinite;
}

[data-theme="huskys-list"] .ocean-horizon,
[data-theme="huskys-list"] .sky-container,
[data-theme="huskys-list"] #interactiveStarField {
    display: none !important;
}

.refunds-page-container {
    width: min(1200px, 96vw);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 0 44px;
    position: relative;
    isolation: isolate;
}

.refunds-page-container::before {
    content: none;
}

.refunds-page-container::after {
    content: none;
}

.refunds-page-container > * {
    position: relative;
    z-index: 1;
}

.queue-starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    animation: queueStarfieldFloat 14s ease-in-out infinite alternate;
}

.queue-aurora {
    position: absolute;
    width: 78%;
    height: 48%;
    top: -12%;
    border-radius: 48% 52% 46% 54% / 58% 44% 56% 42%;
    filter: blur(28px);
    opacity: 0.48;
    mix-blend-mode: screen;
    pointer-events: none;
}

.queue-aurora-a {
    left: -14%;
    background: linear-gradient(125deg, rgba(186, 230, 253, 0.64), rgba(196, 181, 253, 0.56), rgba(217, 70, 239, 0.34));
    animation: queueAuroraDriftA 11s ease-in-out infinite alternate;
}

.queue-aurora-b {
    right: -20%;
    top: 8%;
    width: 68%;
    height: 44%;
    background: linear-gradient(140deg, rgba(250, 204, 21, 0.34), rgba(56, 189, 248, 0.48), rgba(14, 165, 233, 0.32));
    opacity: 0.4;
    animation: queueAuroraDriftB 14s ease-in-out infinite alternate;
}

.queue-star-dust,
.queue-twinkle-layer {
    position: absolute;
    inset: -15% -10%;
    pointer-events: none;
}

.queue-star-dust {
    opacity: 0.32;
    background-image:
        radial-gradient(circle at 22% 22%, rgba(147, 197, 253, 0.24), transparent 42%),
        radial-gradient(circle at 76% 68%, rgba(196, 181, 253, 0.2), transparent 44%),
        radial-gradient(circle at 52% 46%, rgba(224, 242, 254, 0.16), transparent 40%);
    background-size: cover;
    animation: cosmicDustPan 46s linear infinite;
    mix-blend-mode: screen;
}

.queue-star-dust-b {
    display: none;
}

.queue-twinkle-layer {
    display: none;
}

.queue-twinkle-layer-b {
    display: none;
}

.queue-comet-streak {
    display: none;
    position: absolute;
    width: 190px;
    height: 2.6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(191, 219, 254, 0.08), rgba(224, 242, 254, 0.32), rgba(255, 255, 255, 0.98));
    opacity: 0.12;
    transform: rotate(32deg) translate3d(0, 0, 0);
    filter: drop-shadow(0 0 14px rgba(186, 230, 253, 0.65));
    pointer-events: none;
}

.queue-comet-streak-1 {
    top: 16%;
    left: 9%;
    animation: queueCometSweep 9s linear infinite;
}

.queue-comet-streak-2 {
    top: 34%;
    right: 14%;
    width: 130px;
    animation: queueCometSweep 12s linear infinite 2.6s;
}

.queue-comet-streak-3 {
    top: 72%;
    left: 36%;
    width: 146px;
    animation: queueCometSweep 15s linear infinite 5.1s;
}

.star-bit {
    position: absolute;
    width: 32px;
    aspect-ratio: 1;
    clip-path: polygon(50% 0%, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0% 50%, 38% 35%);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.32));
    opacity: 0.68;
    animation: starBitDrift var(--float-duration, 22s) ease-in-out infinite alternate,
               starBitPulse var(--pulse-duration, 8s) ease-in-out infinite;
}

.star-bit.depth-far {
    opacity: 0.28;
    filter: blur(0.9px) drop-shadow(0 0 5px rgba(255, 255, 255, 0.16));
}

.star-bit.depth-mid {
    opacity: 0.65;
}

.star-bit.depth-near {
    opacity: 0.84;
    filter: drop-shadow(0 0 16px rgba(255, 255, 255, 0.44));
}

.star-bit::after {
    content: '';
    position: absolute;
    inset: 18% 20% 48% 26%;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    transform: rotate(-20deg);
    filter: blur(0.6px);
}

.star-bit-purple {
    background: radial-gradient(circle at 30% 26%, #f5d0fe, #a855f7 54%, #581c87 100%);
}

.star-bit-gold {
    background: radial-gradient(circle at 30% 26%, #fde68a, #f59e0b 56%, #b45309 100%);
}

.star-bit-red {
    background: radial-gradient(circle at 30% 26%, #fecaca, #ef4444 56%, #991b1b 100%);
}

.star-bit-1 {
    top: 8%;
    left: 7%;
    --float-duration: 19s;
    --pulse-duration: 7.8s;
}

.star-bit-2 {
    top: 7%;
    right: 12%;
    width: 48px;
    --float-duration: 26s;
}

.star-bit-3 {
    top: 24%;
    right: 5%;
    width: 34px;
    --float-duration: 22s;
}

.star-bit-4 {
    top: 39%;
    left: 9%;
    width: 26px;
    --float-duration: 24s;
}

.star-bit-5 {
    top: 52%;
    right: 7%;
    width: 30px;
    --float-duration: 20s;
}

.star-bit-6 {
    top: 70%;
    left: 12%;
    width: 24px;
    --float-duration: 25s;
}

.star-bit-7 {
    top: 82%;
    right: 16%;
    width: 46px;
    --float-duration: 28s;
}

.star-bit-8 {
    top: 92%;
    left: 82%;
    width: 34px;
    --float-duration: 21s;
}

.star-bit-9 {
    top: 16%;
    left: 46%;
    width: 22px;
    --float-duration: 23s;
}

.star-bit-10 {
    top: 33%;
    right: 36%;
    width: 20px;
    --float-duration: 30s;
}

.star-bit-11 {
    top: 45%;
    left: 36%;
    width: 44px;
    --float-duration: 25s;
}

.star-bit-12 {
    top: 58%;
    right: 26%;
    width: 28px;
    --float-duration: 21s;
}

.star-bit-13 {
    top: 63%;
    left: 4%;
    width: 18px;
    --float-duration: 33s;
}

.star-bit-14 {
    top: 76%;
    left: 28%;
    width: 24px;
    --float-duration: 26s;
}

.star-bit-15 {
    top: 87%;
    right: 4%;
    width: 52px;
    --float-duration: 24s;
}

.star-bit-16 {
    top: 97%;
    left: 11%;
    width: 26px;
    --float-duration: 28s;
}

.star-bit-17 {
    top: 9%;
    left: 73%;
    width: 16px;
    --float-duration: 31s;
}

.star-bit-18 {
    top: 49%;
    right: 1%;
    width: 22px;
    --float-duration: 27s;
}

@keyframes starBitDrift {
    0% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(8px, -14px, 0) rotate(9deg);
    }
}

@keyframes starBitPulse {
    0%,
    100% {
        opacity: 0.68;
        filter: drop-shadow(0 0 7px rgba(255, 255, 255, 0.3));
    }
    50% {
        opacity: 0.9;
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.46));
    }
}

@keyframes cosmicDustPan {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-80px, -56px, 0);
    }
}

@keyframes twinkleShift {
    0% {
        opacity: 0.08;
        transform: translate3d(0, 0, 0);
    }
    50% {
        opacity: 0.17;
    }
    100% {
        opacity: 0.11;
        transform: translate3d(24px, -12px, 0);
    }
}

.queue-reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: queueFadeRise 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: var(--queue-stagger, 0ms);
}

@keyframes queueFadeRise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.queue-legend-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.queue-legend-chip {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #f8fafc;
}

.queue-chip-not-started {
    background: rgba(148, 163, 184, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.queue-chip-started {
    background: rgba(14, 165, 233, 0.32);
    border: 1px solid rgba(14, 165, 233, 0.62);
}

.queue-chip-finished {
    background: rgba(34, 197, 94, 0.32);
    border: 1px solid rgba(34, 197, 94, 0.62);
}

.huskys-list-section-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(180deg, rgba(4, 11, 33, 0.93), rgba(4, 9, 26, 0.88));
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 12px 28px rgba(2, 8, 20, 0.24), 0 0 16px rgba(96, 165, 250, 0.06), inset 0 0 22px rgba(255, 255, 255, 0.008);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.commission-priority-shell {
    border-color: rgba(167, 139, 250, 0.3);
    box-shadow: 0 16px 38px rgba(76, 29, 149, 0.28), 0 0 24px rgba(196, 181, 253, 0.2);
}

.refund-focus-shell {
    border-color: rgba(56, 189, 248, 0.24);
    box-shadow: 0 14px 34px rgba(8, 47, 73, 0.3), 0 0 20px rgba(56, 189, 248, 0.14);
}

.huskys-list-section-shell::before {
    content: none;
}

.huskys-list-section-head {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 6px;
    border-bottom: 0;
}

.huskys-list-section-head h2 {
    color: #f8fbff;
    font-size: clamp(1.55rem, 2.2vw, 1.95rem);
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.015em;
    line-height: 1.15;
}

.huskys-list-section-head p {
    color: #c4d4e6;
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.5;
}

.refunds-hero-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    background: linear-gradient(140deg, rgba(6, 14, 38, 0.9), rgba(8, 18, 48, 0.78));
    border: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.24), inset 0 0 14px rgba(255, 255, 255, 0.014);
    border-radius: 18px;
    padding: 12px 16px;
    position: relative;
    overflow: hidden;
}

.refunds-hero-card::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    top: -110px;
    right: -55px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.18), transparent 68%);
    pointer-events: none;
}

.refunds-hero-card::after {
    content: '';
    position: absolute;
    inset: auto auto 0 0;
    width: 190px;
    height: 190px;
    transform: translate(-24%, 35%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.12), transparent 68%);
    pointer-events: none;
}

.refunds-hero-copy {
    max-width: 720px;
}

.portal-hero-copy {
    width: 100%;
    max-width: none;
}

.portal-hero-head {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.portal-last-updated {
    color: #bcd2e5;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(8, 18, 42, 0.42);
}

.portal-last-updated strong {
    color: #f8fbff;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.refunds-hero-card h1 {
    color: #ffffff;
    font-size: clamp(1.95rem, 2.8vw, 3.05rem);
    margin-bottom: 0;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.52), 0 0 34px rgba(56, 189, 248, 0.2);
    line-height: 1;
    letter-spacing: -0.01em;
}

.refunds-subtitle {
    color: #8dd9ff;
    font-size: 0.92rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.refunds-intro {
    color: #d4e2f1;
    line-height: 1.5;
    max-width: 720px;
    font-size: 0.98rem;
    margin: 0;
}

.refunds-meta-card {
    min-width: 220px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(79, 172, 254, 0.25);
    border-radius: 16px;
    padding: 14px 16px;
    color: #e2f8ff;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: inset 0 0 15px rgba(0, 242, 254, 0.08);
}

.refunds-meta-card strong {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.refunds-groups-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    position: relative;
}

.refund-group-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(180deg, rgba(6, 15, 38, 0.66), rgba(4, 11, 29, 0.56));
    border: 1px solid rgba(125, 211, 252, 0.11);
    border-radius: 16px;
    padding: 10px;
    box-shadow: inset 0 0 14px rgba(255,255,255,0.02);
    position: relative;
}

.refund-group-section::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
    pointer-events: none;
}

.refund-group-not-started {
    border-color: rgba(96, 165, 250, 0.26);
    box-shadow: inset 0 0 14px rgba(96,165,250,0.07), 0 10px 24px rgba(11, 32, 62, 0.24);
}

.refund-group-not-started::before {
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.95), rgba(96, 165, 250, 0.15));
}

.refund-group-started {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: inset 0 0 14px rgba(245,158,11,0.07), 0 10px 24px rgba(62, 40, 11, 0.24);
}

.refund-group-started::before {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.92), rgba(245, 158, 11, 0.12));
}

.refund-group-finished {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: inset 0 0 14px rgba(34,197,94,0.07), 0 10px 24px rgba(11, 58, 30, 0.24);
}

.refund-group-finished::before {
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.92), rgba(34, 197, 94, 0.12));
}

.refund-group-not-started .refund-group-header h2 {
    color: #bfdbfe;
}

.refund-group-started .refund-group-header h2 {
    color: #fde68a;
}

.refund-group-finished .refund-group-header h2 {
    color: #bbf7d0;
}

.refund-group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.refund-group-header h2 {
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: 0.01em;
}

.refund-group-count {
    color: #dbeafe;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.14);
}

.refund-group-list {
    display: grid;
    gap: 8px;
}

.refund-card {
    background: radial-gradient(circle at top left, rgba(18, 52, 86, 0.34), transparent 45%), rgba(3, 9, 26, 0.94);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22), 0 0 16px rgba(0, 242, 254, 0.1), inset 0 0 16px rgba(255, 255, 255, 0.012);
    display: grid;
    gap: 7px;
    position: relative;
    overflow: hidden;
}

.refund-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.03), transparent 30%, transparent 70%, rgba(255,255,255,0.02));
    pointer-events: none;
}

.commission-card {
    border-color: rgba(52, 211, 153, 0.22);
}

.refund-card-completed {
    border-color: rgba(34, 197, 94, 0.5);
}

.refund-card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.08);
}

.refund-card-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0.01em;
    margin-bottom: 2px;
}

.refund-card-subtitle {
    color: #a8d7f8;
    font-size: 0.77rem;
    line-height: 1.32;
}

.refund-chip {
    padding: 3px 8px;
    border-radius: 999px;
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.015em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255,255,255,0.08);
}

.refund-chip-queue {
    min-width: 86px;
}

.refund-chip-detail {
    min-width: 98px;
}

.refund-card-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
}

.refund-card-info-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.refund-info-row {
    color: #dbeafe;
    font-size: 0.72rem;
    line-height: 1.28;
    padding: 6px 7px;
    border-radius: 9px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(125, 211, 252, 0.08);
}

.refund-info-row strong,
.refund-amount-row strong {
    color: #f8fbff;
    font-weight: 700;
}

.refund-amount-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.72rem;
    line-height: 1.3;
}

.refund-progress-wrap {
    display: grid;
    gap: 4px;
}

.refund-progress-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.refund-progress-percent {
    color: #d1fae5;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.refund-progress-amount {
    color: #bdd4e9;
    font-size: 0.68rem;
    line-height: 1.2;
}

.refund-progress-bar {
    width: 100%;
    height: 6px;
    margin: 3px 0 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.refund-progress-fill {
    height: 100%;
    transition: width 0.35s ease;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.28);
    transform-origin: left center;
    animation: refundProgressLoad 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes refundProgressLoad {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.refund-progress-label {
    color: #a8dadc;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.refund-card-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.refund-card-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.refund-source-tag {
    color: #8ea8c1;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.refund-notes {
    color: #cbd5e1;
    line-height: 1.4;
    font-size: 0.71rem;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.refunds-empty-state,
.refunds-empty-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border: 1px dashed rgba(0,242,254,0.24);
    border-radius: 14px;
    padding: 12px;
    color: #9ca3af;
    text-align: center;
}

.refunds-footer-note {
    color: #c4d5e6;
    font-size: 0.96rem;
    text-align: center;
    line-height: 1.55;
    margin-top: -2px;
}

.commission-public-list-shell {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.commission-artist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.commission-artist-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.014));
    border: 1px solid rgba(125, 211, 252, 0.06);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.012), 0 6px 14px rgba(0,0,0,0.1);
}

.commission-artist-head {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: 4px;
    border-bottom: 0;
}

.commission-artist-head h3 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.2;
}

.commission-artist-head p {
    margin: 0;
    color: #a9c5dd;
    font-size: 0.86rem;
    line-height: 1.42;
}

.commission-public-list {
    display: grid;
    gap: 6px;
}

.commission-public-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(6, 18, 30, 0.92), rgba(8, 24, 38, 0.88));
    border: 1px solid rgba(110, 231, 183, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), inset 0 0 8px rgba(255,255,255,0.014);
}

.commission-public-order {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(14, 165, 233, 0.14));
    border: 1px solid rgba(110, 231, 183, 0.2);
    color: #f8fbff;
    font-weight: 700;
    font-size: 0.7rem;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.1);
}

.commission-public-name {
    color: #f8fbff;
    font-size: 0.9rem;
    line-height: 1.45;
    letter-spacing: 0.01em;
    word-break: break-word;
}

.commission-public-price-line {
    margin-top: 3px;
    color: #c7deee;
    font-size: 0.78rem;
    line-height: 1.35;
}

.commission-public-price-line--final {
    color: #bbf7d0;
}

.admin-commission-owner-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border: 1px solid rgba(125, 211, 252, 0.08);
}

.admin-commission-owner-group:last-child {
    margin-bottom: 0;
}

.admin-commission-owner-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #f8fbff;
}

.admin-commission-owner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-commission-owner-empty {
    margin: 0;
    color: #a2b7cc;
}

.refunds-page-container #backToPreorderBtn,
.refunds-page-container .huskys-list-btn {
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.refunds-page-container #backToPreorderBtn:hover,
.refunds-page-container .huskys-list-btn:hover {
    transform: translateY(-2px);
}

.huskys-list-btn {
    max-width: 180px;
    width: auto;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(34, 197, 94, 0.16));
    border: 1px solid rgba(34,197,94,0.5);
    color: #e2f7ff;
    box-shadow: 0 0 18px rgba(34,197,94,0.24), inset 0 0 8px rgba(255,255,255,0.05);
}

.huskys-list-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(34, 197, 94, 0.22));
}

.queue-manager-card {
    grid-column: 1 / -1;
    background: linear-gradient(180deg, rgba(5, 10, 22, 0.97), rgba(4, 9, 20, 0.94));
    border-color: rgba(56, 189, 248, 0.28);
    gap: 18px;
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.12), inset 0 0 18px rgba(255,255,255,0.02);
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .home-pro-grid {
        grid-template-columns: 1fr;
    }

    .home-trust-grid {
        grid-template-columns: 1fr;
    }

    .home-pro-grid:last-of-type .home-care-card {
        max-width: 100%;
        justify-self: stretch;
    }

    .home-trust-card:nth-child(2),
    .home-trust-card:nth-child(3),
    .home-trust-card:nth-child(4) {
        grid-column: auto;
    }

    .pricing-policy-grid {
        grid-template-columns: 1fr;
    }

    .tide-artist-row {
        flex-direction: column;
    }

    .tide-status-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .home-pro-card {
        min-height: auto;
    }

    .care-guide-grid {
        grid-template-columns: 1fr;
    }

    .availability-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .availability-meta {
        justify-content: flex-start;
    }

    .availability-response {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

.queue-manager-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(125, 211, 252, 0.8), transparent);
    opacity: 0.75;
}

.queue-manager-card .admin-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 2px;
}

.queue-manager-card .admin-card-title::after {
    content: 'Unified manager';
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cfe8ff;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.14);
    border: 1px solid rgba(125, 211, 252, 0.16);
}

.queue-manager-card .admin-card-subtitle {
    color: #adc9dc;
    max-width: 760px;
    line-height: 1.45;
    font-size: 0.92rem;
}

.queue-manager-tabs {
    grid-column: span 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 999px;
    width: fit-content;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(148, 163, 184, 0.04));
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: inset 0 0 10px rgba(255,255,255,0.03), 0 0 14px rgba(56, 189, 248, 0.08);
}

.queue-manager-tab-btn {
    border: 1px solid transparent;
    background: transparent;
    color: #bcd1e6;
    border-radius: 999px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.queue-manager-tab-btn:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

.queue-manager-tab-btn.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(168, 85, 247, 0.22));
    border-color: rgba(125, 211, 252, 0.28);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
}

.queue-manager-panel {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.018));
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 14px;
    box-shadow: inset 0 0 12px rgba(255,255,255,0.02), 0 10px 26px rgba(0,0,0,0.16);
}

.queue-manager-panel.is-hidden {
    display: none;
}

.queue-manager-panel-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.queue-manager-panel-head h4 {
    margin: 0;
    color: #f8fbff;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.queue-manager-panel-head p {
    margin: 0;
    color: #9fc3dc;
    line-height: 1.4;
    max-width: 760px;
    font-size: 0.86rem;
}

.queue-manager-card .admin-label {
    color: #edf7ff;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

.queue-manager-card .admin-input,
.queue-manager-card .admin-textarea {
    border-radius: 12px;
    border-color: rgba(236, 72, 153, 0.6);
    padding: 10px 12px;
    font-size: 0.96rem;
    line-height: 1.45;
    background: rgba(7, 12, 24, 0.9);
}

.queue-manager-card .admin-input:focus,
.queue-manager-card .admin-textarea:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.95);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.queue-manager-card .admin-btn-save,
.queue-manager-card .admin-btn-publish,
.queue-manager-card .admin-btn-edit,
.queue-manager-card .admin-btn-delete {
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.queue-manager-card .admin-btn-save:hover,
.queue-manager-card .admin-btn-publish:hover,
.queue-manager-card .admin-btn-edit:hover,
.queue-manager-card .admin-btn-delete:hover {
    transform: translateY(-1px);
}

.queue-manager-card .admin-btn-save,
.queue-manager-card .admin-btn-publish {
    padding: 10px 16px;
}

.refund-manager-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
}

.refund-manager-actions > button {
    width: 100%;
    min-width: 0;
    justify-content: center;
    line-height: 1.2;
    white-space: normal;
}

.refund-manager-actions .admin-btn-save:hover,
.refund-manager-actions .admin-btn-publish:hover {
    transform: none;
}

.queue-manager-card .admin-btn-edit,
.queue-manager-card .admin-btn-delete {
    padding: 8px 12px;
}

.refund-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.commission-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 20px;
    align-items: start;
}

.refund-admin-form-column,
.refund-admin-list-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(180deg, rgba(2, 8, 22, 0.68), rgba(2, 8, 22, 0.54));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 18px;
    box-shadow: inset 0 0 12px rgba(255,255,255,0.02);
}

.commission-admin-form-column,
.commission-admin-list-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: linear-gradient(180deg, rgba(2, 8, 22, 0.68), rgba(2, 8, 22, 0.54));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 18px;
    box-shadow: inset 0 0 12px rgba(255,255,255,0.02);
}

.refund-admin-list-column,
.commission-admin-list-column {
    align-self: start;
    position: sticky;
    top: 24px;
}

.admin-queue-tools {
    display: grid;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.admin-queue-search,
.admin-queue-filter {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-queue-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.refund-admin-form-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    align-content: start;
    gap: 14px 16px;
}

.commission-admin-form-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
    align-content: start;
    gap: 14px 16px;
}

.refund-admin-form-column .admin-label:has(textarea),
.commission-admin-form-column .admin-label:has(textarea),
.refund-admin-form-column .admin-checkbox-label-wrap,
.commission-admin-form-column .admin-checkbox-label-wrap,
.refund-admin-form-column .admin-actions,
.commission-admin-form-column .admin-actions {
    grid-column: 1 / -1;
}

.refund-admin-list-header {
    color: #ffffff;
    font-size: 1rem;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-refund-banner {
    background: linear-gradient(135deg, rgba(6, 12, 34, 0.96), rgba(11, 20, 44, 0.96));
    border: 1px solid rgba(79, 70, 229, 0.22);
    box-shadow: 0 0 22px rgba(79, 70, 229, 0.16), inset 0 0 3px rgba(255,255,255,0.08);
    color: #dbeafe;
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
}

.admin-refund-banner::before {
    content: '💡';
    position: absolute;
    left: 14px;
    top: 14px;
    font-size: 1rem;
}

.admin-refund-banner p {
    margin: 0;
    padding-left: 30px;
    color: #eef7ff;
}

.refund-admin-form-column,
.refund-admin-list-column,
.commission-admin-form-column,
.commission-admin-list-column {
    min-width: 0;
}

.commission-admin-list-header {
    color: #ffffff;
    font-size: 1rem;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.admin-list-count-badge {
    color: #dff5ff;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(125, 211, 252, 0.14);
}

.admin-refunds-list {
    display: grid;
    gap: 12px;
    max-height: min(620px, calc(100vh - 300px));
    overflow-y: auto;
    padding-right: 4px;
    align-content: start;
}

.admin-commissions-list {
    display: grid;
    gap: 12px;
    max-height: min(620px, calc(100vh - 300px));
    overflow-y: auto;
    padding-right: 4px;
    align-content: start;
}

.admin-refund-item {
    background: rgba(2, 10, 26, 0.95);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 16px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.admin-refund-item strong {
    color: #38bdf8;
}

.admin-queue-item-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.admin-queue-item-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-queue-item-subline {
    color: #c6d9ea;
    font-size: 0.92rem;
}

.admin-queue-status-badge,
.admin-queue-meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.admin-queue-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-commission-legend {
    margin: 8px 0 0;
    color: #c5d8ea;
    font-size: 0.84rem;
    line-height: 1.5;
}

.admin-queue-meta-pill {
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #dbeafe;
}

.admin-queue-meta-pill-visibility {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(74, 222, 128, 0.18);
}

.admin-queue-meta-pill-source {
    background: rgba(125, 211, 252, 0.12);
    border-color: rgba(125, 211, 252, 0.28);
    color: #dff4ff;
}

.admin-queue-meta-pill-doc {
    font-family: Consolas, 'Courier New', monospace;
    letter-spacing: 0.02em;
    text-transform: none;
    background: rgba(129, 140, 248, 0.14);
    border-color: rgba(129, 140, 248, 0.26);
    color: #e0e7ff;
}

.admin-queue-meta-pill-revenue-yes {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(52, 211, 153, 0.3);
    color: #d1fae5;
}

.admin-queue-meta-pill-revenue-no {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fde68a;
}

.admin-commission-warning {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.45);
    background: rgba(120, 53, 15, 0.26);
    color: #fde68a;
    font-size: 0.77rem;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.admin-commission-item {
    gap: 14px;
}

.admin-queue-item-main {
    display: grid;
    gap: 10px;
}

.admin-queue-meta-row {
    gap: 10px;
}

.admin-final-price-control-row {
    gap: 10px;
}

.admin-queue-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
}

.admin-commission-item .admin-queue-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-items: stretch;
    align-items: stretch;
}

.admin-commission-item .admin-queue-actions > button {
    width: 100%;
    min-width: 0;
}

.admin-commission-item {
    background: rgba(2, 10, 26, 0.95);
    border: 1px solid rgba(96, 165, 250, 0.18);
    border-radius: 16px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.admin-commission-item strong {
    color: #93c5fd;
}

.admin-refund-item button {
    background: rgba(79, 172, 254, 0.14);
    border: 1px solid rgba(79, 172, 254, 0.4);
    color: #ffffff;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.88rem;
}

.admin-refund-item button:hover {
    background: rgba(79, 172, 254, 0.28);
}

.admin-commission-item button {
    background: rgba(96, 165, 250, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #ffffff;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.88rem;
}

.admin-commission-item button:hover {
    background: rgba(96, 165, 250, 0.22);
}

.admin-checkbox-label-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
}

.admin-checkbox-label-wrap input {
    width: 18px;
    height: 18px;
}

.admin-final-price-control-row {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.admin-final-price-label {
    color: #dbeafe;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-final-price-input {
    width: 138px;
    max-width: 100%;
    min-height: 36px;
    padding: 6px 10px;
}

.admin-order-finance-shell {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.admin-order-finance-block {
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 14px;
    padding: 12px;
    background: linear-gradient(165deg, rgba(9, 20, 42, 0.76), rgba(7, 18, 38, 0.58));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 10px 18px rgba(0, 0, 0, 0.18);
    display: grid;
    gap: 10px;
    overflow: hidden;
}

.admin-order-finance-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
}

.admin-order-finance-head h4 {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bae6fd;
}

.admin-order-finance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 8px;
    align-items: end;
}

.admin-order-finance-field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.admin-order-finance-hint {
    font-size: 0.72rem;
    color: #a7bed7;
    letter-spacing: 0.02em;
}

.admin-order-finance-field .admin-final-price-input {
    width: 100%;
    min-height: 40px;
    border-radius: 10px;
    box-sizing: border-box;
    max-width: 100%;
}

.admin-order-finance-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-order-finance-actions .admin-btn-edit {
    min-height: 40px;
    border-radius: 10px;
}

.admin-order-finance-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 10px;
    background: rgba(8, 18, 38, 0.5);
    color: #cfe4ff;
    font-size: 0.76rem;
}

.admin-order-finance-summary strong {
    color: #bae6fd;
}

.admin-order-finance-actions--payment {
    grid-column: 1 / -1;
    justify-content: flex-start;
}

.admin-order-finance-actions--payment .admin-btn-edit {
    min-width: 140px;
}

.admin-clear-payment-tracker-btn {
    border-color: rgba(251, 191, 36, 0.45);
    color: #fde68a;
    background: rgba(51, 37, 14, 0.34);
}

.admin-clear-payment-tracker-btn:hover {
    background: rgba(77, 56, 19, 0.45);
}

.admin-order-finance-block:first-child .admin-order-finance-field,
.admin-order-finance-block:first-child .admin-order-finance-actions {
    grid-column: 1 / -1;
}

.admin-order-finance-block:first-child .admin-order-finance-actions {
    justify-content: flex-end;
}

.admin-order-finance-block:first-child .admin-order-finance-actions .admin-btn-edit {
    flex: 1 1 150px;
    max-width: 180px;
}

.admin-payment-tracker-row {
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.admin-payment-deposit-toggle {
    margin-left: 0;
}

.admin-payment-deposit-toggle .admin-checkbox-label-wrap {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: rgba(15, 23, 42, 0.52);
}

.admin-final-price-state {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #dbeafe;
    background: rgba(148, 163, 184, 0.12);
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-final-price-state.is-draft {
    color: #fef3c7;
    border-color: rgba(251, 191, 36, 0.32);
    background: rgba(251, 191, 36, 0.12);
}

.admin-final-price-state.is-published {
    color: #bbf7d0;
    border-color: rgba(74, 222, 128, 0.3);
    background: rgba(34, 197, 94, 0.12);
}

.queue-quick-note {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    background: linear-gradient(120deg, rgba(14, 20, 44, 0.56), rgba(6, 16, 39, 0.44));
    border: 1px solid rgba(147, 197, 253, 0.13);
    border-radius: 12px;
    padding: 8px 10px;
    color: #cfdeed;
}

.queue-quick-note p {
    margin: 0;
    font-size: 0.78rem;
    color: #b8ccde;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================
   --- QUEUE POLISH + MOTION PASS ---
   ========================================== */
body[data-page="huskys-list"] .refunds-page-container::before {
    animation: queueGridDrift 24s linear infinite;
}

body[data-page="huskys-list"] .refunds-page-container::after {
    animation: queueNebulaPulse 12s ease-in-out infinite alternate;
}

body[data-page="huskys-list"] .queue-reveal {
    animation-duration: 0.82s;
}

body[data-page="huskys-list"] .refunds-hero-card.queue-reveal {
    animation-name: queueHeroRise;
    animation-duration: 0.66s;
}

body[data-page="huskys-list"] .queue-quick-note.queue-reveal {
    animation-name: queueStripRise;
    animation-duration: 0.62s;
}

body[data-page="huskys-list"] .huskys-list-section-shell.queue-reveal {
    animation-name: queueSectionRise;
    animation-duration: 0.72s;
}

body[data-page="huskys-list"] .refund-group-section.queue-reveal,
body[data-page="huskys-list"] .commission-public-item.queue-reveal,
body[data-page="huskys-list"] .refund-card.queue-reveal {
    animation-name: queueCardRise;
    animation-duration: 0.58s;
}

body[data-page="huskys-list"] .queue-star-dust {
    animation: cosmicDustPan 95s linear infinite, queueDustPulse 13s ease-in-out infinite;
}

body[data-page="huskys-list"] .queue-twinkle-layer {
    animation: twinkleShift 42s ease-in-out infinite alternate, queueTwinklePulse 9s ease-in-out infinite;
}

body[data-page="huskys-list"] .star-bit {
    animation: starBitDrift var(--float-duration, 22s) ease-in-out infinite alternate,
               starBitPulse var(--pulse-duration, 8s) ease-in-out infinite,
               queueStarParallax 16s ease-in-out infinite alternate;
}

body[data-page="huskys-list"] .refunds-hero-card,
body[data-page="huskys-list"] .huskys-list-section-shell,
body[data-page="huskys-list"] .refund-group-section,
body[data-page="huskys-list"] .commission-artist-section,
body[data-page="huskys-list"] .refund-card,
body[data-page="huskys-list"] .queue-quick-note {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

body[data-page="huskys-list"] .huskys-list-section-shell:hover,
body[data-page="huskys-list"] .refund-group-section:hover,
body[data-page="huskys-list"] .commission-artist-section:hover,
body[data-page="huskys-list"] .queue-quick-note:hover {
    transform: translateY(-2px);
}

body[data-page="huskys-list"] .refunds-hero-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.42), inset 0 0 20px rgba(255, 255, 255, 0.024);
}

body[data-page="huskys-list"] .huskys-list-section-shell:hover {
    border-color: rgba(147, 197, 253, 0.32);
}

body[data-page="huskys-list"] .refund-group-section:hover {
    box-shadow: inset 0 0 14px rgba(255, 255, 255, 0.03), 0 12px 24px rgba(2, 8, 20, 0.26);
}

body[data-page="huskys-list"] .refund-card {
    isolation: isolate;
}

body[data-page="huskys-list"] .refund-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -120%;
    width: 46%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(219, 234, 254, 0.16), rgba(255, 255, 255, 0));
    transform: skewX(-16deg);
    pointer-events: none;
    z-index: 1;
}

body[data-page="huskys-list"] .refund-card:hover {
    transform: translateY(-2px);
    border-color: rgba(125, 211, 252, 0.42);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.26), 0 0 18px rgba(56, 189, 248, 0.16), inset 0 0 16px rgba(255, 255, 255, 0.015);
}

body[data-page="huskys-list"] .refund-card:hover::before {
    animation: queueSheenSweep 0.72s ease;
}

body[data-page="huskys-list"] .commission-public-item:hover {
    transform: translateY(-1px);
    border-color: rgba(110, 231, 183, 0.34);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2), 0 0 14px rgba(52, 211, 153, 0.14), inset 0 0 10px rgba(255, 255, 255, 0.02);
}

body[data-page="huskys-list"] .queue-legend-chip {
    animation: legendChipGlow 6s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body[data-page="huskys-list"] .queue-legend-chip:hover {
    transform: translateY(-1px);
    filter: brightness(1.07);
    box-shadow: 0 0 18px rgba(186, 230, 253, 0.24);
}

body[data-page="huskys-list"] .queue-legend-chip:nth-child(2) {
    animation-delay: 0.8s;
}

body[data-page="huskys-list"] .queue-legend-chip:nth-child(3) {
    animation-delay: 1.6s;
}

body[data-page="huskys-list"] .refunds-page-container #backToPreorderBtn,
body[data-page="huskys-list"] .refunds-page-container .huskys-list-btn {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

body[data-page="huskys-list"] .refunds-page-container #backToPreorderBtn:hover,
body[data-page="huskys-list"] .refunds-page-container .huskys-list-btn:hover {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.04);
}

body[data-page="huskys-list"] #app-viewport {
    padding-bottom: 92px;
}

body[data-page="huskys-list"] #footerCredit {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin: 20px auto 8px;
    width: 100%;
    text-align: center;
    opacity: 0.7;
}

@keyframes queueSheenSweep {
    from {
        left: -120%;
    }
    to {
        left: 130%;
    }
}

@keyframes queueHeroRise {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.992);
        filter: saturate(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: saturate(1);
    }
}

@keyframes queueStripRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes queueSectionRise {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.995);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes queueCardRise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes queueGridDrift {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(-18px, 10px, 0);
    }
}

@keyframes queueNebulaPulse {
    0% {
        opacity: 0.78;
    }
    100% {
        opacity: 1;
    }
}

@keyframes queueDustPulse {
    0%,
    100% {
        opacity: 0.28;
    }
    50% {
        opacity: 0.38;
    }
}

@keyframes queueTwinklePulse {
    0%,
    100% {
        opacity: 0.12;
    }
    50% {
        opacity: 0.22;
    }
}

@keyframes queueStarParallax {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(4px, -6px, 0);
    }
}

@keyframes legendChipGlow {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        box-shadow: 0 0 14px rgba(186, 230, 253, 0.18);
    }
}

@media (max-width: 960px) {
    .refund-admin-grid {
        grid-template-columns: 1fr;
    }
    .commission-admin-grid {
        grid-template-columns: 1fr;
    }
    .refund-admin-form-column,
    .commission-admin-form-column {
        grid-template-columns: 1fr;
    }
    .refund-admin-list-column,
    .commission-admin-list-column {
        position: static;
    }
    .refund-card-info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .commission-artist-grid {
        grid-template-columns: 1fr;
    }
    .refunds-groups-grid {
        grid-template-columns: 1fr;
    }
    .portal-hero-head {
        align-items: flex-start;
    }
    .star-bit {
        opacity: 0.58;
    }

    .refund-manager-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .admin-login-modal {
        padding: 16px;
    }
    .admin-login-modal__dialog {
        padding: 22px 18px 18px;
        border-radius: 22px;
    }
    .admin-login-modal__actions {
        flex-direction: column-reverse;
    }
    .admin-login-modal__btn {
        width: 100%;
    }
    .refunds-hero-card {
        padding: 12px 13px;
    }
    .refund-card {
        padding: 10px;
    }
    .refund-group-section {
        padding: 10px;
        gap: 10px;
    }
    .refund-group-list {
        gap: 8px;
    }
    .huskys-list-section-shell {
        padding: 12px;
    }
    .refunds-page-container {
        gap: 12px;
        padding-bottom: 40px;
    }
    .portal-last-updated {
        width: auto;
        justify-content: flex-start;
    }
    .refunds-groups-grid {
        gap: 10px;
    }
    .huskys-list-public-note,
    .queue-trust-strip,
    .queue-privacy-promise {
        padding: 16px;
    }
    .refund-card-info {
        grid-template-columns: 1fr;
    }
    .refund-card-info-compact {
        grid-template-columns: 1fr;
    }
    .refund-progress-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }
    .commission-public-item {
        grid-template-columns: 28px 1fr;
        gap: 8px;
        padding: 7px 8px;
    }
    .commission-artist-section {
        padding: 10px;
    }
    .refunds-meta-card {
        width: 100%;
        min-width: 0;
    }
    .refund-group-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-commission-owner-group {
        padding: 14px;
    }
    .commission-public-order {
        width: 26px;
        height: 26px;
        font-size: 0.7rem;
    }
    .huskys-list-btn {
        position: static;
        width: 100%;
    }
    .queue-manager-tabs {
        width: 100%;
        justify-content: stretch;
    }
    .queue-manager-tab-btn {
        flex: 1 1 0;
        text-align: center;
    }
    .queue-manager-panel {
        padding: 16px;
    }

    body[data-page="huskys-list"] #app-viewport {
        padding-bottom: 70px;
    }

    body[data-page="huskys-list"] #footerCredit {
        margin-top: 14px;
    }

    .refund-admin-form-column,
    .refund-admin-list-column,
    .commission-admin-form-column,
    .commission-admin-list-column {
        padding: 16px;
    }
    .admin-queue-filter-row {
        grid-template-columns: 1fr;
    }
    .admin-refund-item,
    .admin-commission-item {
        grid-template-columns: 1fr;
    }
    .admin-queue-actions {
        justify-content: stretch;
    }
    .admin-queue-actions button {
        flex: 1 1 0;
    }
    .admin-final-price-control-row {
        align-items: stretch;
    }
    .admin-order-finance-grid {
        grid-template-columns: 1fr;
    }
    .admin-order-finance-actions {
        width: 100%;
    }
    .admin-order-finance-actions .admin-btn-edit {
        flex: 1 1 0;
        max-width: none;
    }
    .admin-final-price-input {
        width: 100%;
    }
    .admin-payment-deposit-toggle {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .queue-reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .star-bit {
        animation: none;
    }

    .queue-star-dust,
    .queue-twinkle-layer {
        animation: none;
    }

    body[data-page="huskys-list"] .refunds-page-container::before,
    body[data-page="huskys-list"] .refunds-page-container::after,
    body[data-page="huskys-list"] .bg-environment,
    body[data-page="huskys-list"] .queue-starfield,
    body[data-page="huskys-list"] .queue-legend-chip,
    body[data-page="huskys-list"] .refund-card::before,
    body[data-page="huskys-list"] .queue-aurora,
    body[data-page="huskys-list"] .queue-comet-streak,
    body[data-page="huskys-list"] .queue-star-dust,
    body[data-page="huskys-list"] .queue-twinkle-layer,
    body[data-page="huskys-list"] .star-bit,
    body[data-page="huskys-list"] .refund-progress-fill {
        animation: none !important;
    }

    body[data-page="huskys-list"] .refunds-hero-card,
    body[data-page="huskys-list"] .huskys-list-section-shell,
    body[data-page="huskys-list"] .refund-group-section,
    body[data-page="huskys-list"] .commission-artist-section,
    body[data-page="huskys-list"] .refund-card,
    body[data-page="huskys-list"] .commission-public-item,
    body[data-page="huskys-list"] .queue-quick-note {
        transition: none !important;
        transform: none !important;
    }

    body[data-page="home"] .home-trust-card {
        animation: none !important;
    }
}

/* ==========================================
   --- TIDE POOL LOADER ---
   ========================================== */
#tidepoolLoader {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background: #02050c; 
    z-index: 99999999; /* Stays above absolutely everything */
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    animation: tidepoolAutoDismiss 2.8s 1.6s forwards;
}

#tidepoolLoader.fade-out {
    opacity: 0; 
    visibility: hidden;
    pointer-events: none;
    animation: none;
}

@keyframes tidepoolAutoDismiss {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.loader-wave {
    width: 80px; 
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, #ec4899, #00f2fe);
    animation: tidePulse 1.5s infinite alternate ease-in-out;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
    margin-bottom: 25px;
}

@keyframes tidePulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 50px rgba(236, 72, 153, 0.8); }
}

.loader-text {
    color: #ffffff; 
    font-family: 'Starborn', sans-serif; 
    font-size: 1.5rem; 
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.8);
    animation: textFloat 2s infinite alternate ease-in-out;
}

@keyframes textFloat { 
    0% { transform: translateY(0); } 
    100% { transform: translateY(-8px); } 
}

/* ==========================================
   --- NEW FEATURE STYLES: CLEANED UP ---
   ========================================== */

/* Global and Helper Classes */
.global-sale-banner {
    box-sizing: border-box;
    max-width: 100vw;
    background: linear-gradient(90deg, rgba(217, 79, 157, 0.9), rgba(139, 100, 214, 0.9));
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    z-index: 9999999;
    box-shadow: 0 4px 15px rgba(173, 86, 178, 0.34);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(5px) saturate(112%);
    -webkit-backdrop-filter: blur(5px) saturate(112%);
    font-size: 1.1rem;
}

body[data-page="admin"] .global-sale-banner {
    display: none !important;
}

.tos-constellation-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0.6;
    overflow: hidden;
}

.particle-explosion-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999998;
    overflow: hidden;
}

/* Theme: Announcements Page */
[data-theme="announcements"] .bg-environment {
    background: radial-gradient(circle at center, #1e0b36 0%, #06020c 60%, #010206 100%);
    transition: background 1s ease;
}

[data-theme="announcements"] .sky-container {
    height: 100vh;
}

[data-theme="announcements"] .ocean-horizon {
    display: none !important;
}

/* Cosmic Updates Home Button */
.cosmic-updates-btn {
    background: rgba(125, 92, 255, 0.09);
    border: 2px solid rgba(125, 92, 255, 0.38);
    box-shadow: 0 0 8px rgba(125, 92, 255, 0.14);
    font-weight: 500;
    width: 100%;
    max-width: 350px;
    margin-top: 8px;
    margin-bottom: 18px;
}

.cosmic-updates-btn:hover {
    background: rgba(125, 92, 255, 0.16);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 6px 14px rgba(125, 92, 255, 0.2);
    border-color: rgba(125, 92, 255, 0.5);
}

@keyframes glowPulseUpdatesBtn {
    0% { box-shadow: 0 0 15px rgba(168, 85, 247, 0.4); }
    100% { box-shadow: 0 0 25px rgba(236, 72, 153, 0.7); }
}

/* Announcements Main Container */
.announcements-container {
    background: rgba(10, 5, 20, 0.85);
    backdrop-filter: blur(20px);
    border: 3px solid #a855f7;
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.3), inset 0 0 20px rgba(236, 72, 153, 0.15);
    border-radius: 24px;
    padding: 40px;
    max-width: 900px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: center;
    margin-bottom: 20px;
}

.announcements-container::-webkit-scrollbar { width: 8px; }
.announcements-container::-webkit-scrollbar-thumb { background: linear-gradient(to bottom, #a855f7, #ec4899); border-radius: 10px; }

.cosmic-title {
    color: #ffffff;
    text-shadow: 0 0 15px #a855f7;
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.intro-text {
    color: #e0f7fa;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.announcements-mascot-container {
    margin-bottom: 30px;
}

.announcements-mascot-gif {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    background: rgba(255,255,255,0.05);
    border: 2px dashed #a855f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
    overflow: hidden;
}

.announcements-mascot-img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    image-rendering: pixelated;
    border-radius: 50%;
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.empty-announcements-msg {
    padding: 30px;
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    border: 1px dashed #00f2fe;
}
.empty-announcements-msg p {
    color: #a2b7cc;
    font-size: 1.1rem;
}

/* Announcement Cards */
.announcement-card {
    background: rgba(10, 5, 20, 0.85);
    border: 2px solid #00f2fe;
    border-radius: 16px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.announcement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.25) !important;
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.announcement-title {
    color: #ec4899;
    font-size: 1.5rem;
    margin: 0;
}

.announcement-date {
    color: #a2b7cc;
    font-size: 0.9rem;
}

.announcement-badge {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid #22c55e;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
}

.announcement-body {
    color: #e2e8f0;
    line-height: 1.6;
    white-space: pre-wrap;
}

.btn-spacing-top { margin-top: 30px; }

/* Admin Discount Manager */
.discount-manager-card {
    grid-column: 1 / -1;
    background: rgba(236, 72, 153, 0.1);
    border-color: #ec4899;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 10px;
}

.discount-manager-title {
    color: #ec4899;
    border-bottom-color: rgba(236, 72, 153, 0.3);
}

.admin-card-subtitle {
    font-size: 0.85rem;
    color: #a2b7cc;
    margin: 0 0 10px 0;
}

.admin-reviews-card {
    grid-template-columns: 1fr;
}

.admin-comments-card {
    grid-template-columns: 1fr;
}

.admin-customer-requests-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-color: rgba(103, 232, 249, 0.32);
    background: linear-gradient(180deg, rgba(8, 16, 34, 0.96), rgba(6, 12, 26, 0.92));
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.08), 0 18px 40px rgba(2, 8, 23, 0.35);
}

.admin-customer-requests-card .admin-card-title {
    margin-bottom: 0;
}

.admin-customer-requests-card .admin-card-subtitle {
    margin-bottom: 0;
    max-width: 64ch;
}

.admin-customer-requests-card .admin-detail {
    margin: 0;
}

.admin-customer-requests-card .admin-comments-list {
    grid-template-columns: 1fr;
}

.admin-reviews-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-review-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-customer-request-filter-row {
    padding: 2px 0 4px;
}

.admin-review-filter-btn {
    border: 1px solid rgba(103, 232, 249, 0.35);
    background: rgba(8, 25, 45, 0.7);
    color: #dbeafe;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.admin-review-filter-btn:hover {
    border-color: rgba(125, 211, 252, 0.7);
    background: rgba(10, 35, 63, 0.8);
    transform: translateY(-1px);
}

.admin-review-filter-btn.is-active {
    border-color: rgba(110, 231, 183, 0.8);
    background: rgba(6, 78, 59, 0.6);
    color: #d1fae5;
}

.admin-customer-request-filter-btn {
    border-color: rgba(125, 211, 252, 0.28);
    background: rgba(5, 20, 35, 0.82);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.admin-customer-request-filter-btn:hover {
    border-color: rgba(125, 211, 252, 0.75);
    background: rgba(8, 32, 55, 0.9);
}

.admin-customer-request-filter-btn.is-active {
    border-color: rgba(74, 222, 128, 0.8);
    background: rgba(15, 118, 110, 0.55);
    color: #ecfeff;
}

.admin-review-row {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.5);
}

.admin-review-row-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    color: #dbeafe;
    font-size: 0.83rem;
}

.admin-review-row-text {
    margin: 6px 0;
    color: #cfe3f6;
    font-size: 0.82rem;
    line-height: 1.45;
    word-break: break-word;
}

.admin-review-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.admin-review-stars {
    color: #facc15;
    letter-spacing: 0.08em;
    font-size: 0.86rem;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.3);
}

.admin-review-service {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(129, 140, 248, 0.5);
    background: rgba(49, 46, 129, 0.28);
    color: #dbeafe;
    font-size: 0.74rem;
}

.admin-review-image-link {
    display: inline-block;
    margin-top: 2px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(103, 232, 249, 0.35);
    background: rgba(3, 9, 24, 0.8);
}

.admin-review-image-thumb {
    display: block;
    width: 120px;
    height: 84px;
    object-fit: cover;
}

.admin-review-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-review-flags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-review-flag {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 2px 8px;
    background: rgba(30, 41, 59, 0.45);
    color: #cfe3f6;
    font-size: 0.74rem;
}

.admin-review-flag.is-success {
    border-color: rgba(74, 222, 128, 0.55);
    background: rgba(22, 163, 74, 0.25);
    color: #dcfce7;
}

.admin-review-flag.is-warning {
    border-color: rgba(251, 191, 36, 0.55);
    background: rgba(245, 158, 11, 0.18);
    color: #fde68a;
}

.admin-review-flag.is-danger {
    border-color: rgba(248, 113, 113, 0.56);
    background: rgba(239, 68, 68, 0.18);
    color: #fecaca;
}

.admin-comments-list {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .admin-reviews-list,
    .admin-comments-list {
        grid-template-columns: 1fr;
    }
}

.admin-comment-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-comment-filter-btn {
    border: 1px solid rgba(129, 140, 248, 0.38);
    background: rgba(10, 22, 45, 0.68);
    color: #dbeafe;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.admin-comment-filter-btn:hover {
    border-color: rgba(129, 140, 248, 0.7);
    background: rgba(30, 41, 93, 0.72);
    transform: translateY(-1px);
}

.admin-comment-filter-btn.is-active {
    border-color: rgba(34, 197, 94, 0.75);
    background: rgba(21, 128, 61, 0.36);
    color: #dcfce7;
}

.admin-comment-row {
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.5);
    display: grid;
    gap: 8px;
}

.admin-customer-requests-card .admin-comment-row {
    padding: 14px;
    border-radius: 16px;
    border-color: rgba(103, 232, 249, 0.18);
    background:
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(10, 18, 38, 0.92), rgba(8, 15, 30, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-comment-row-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    color: #dbeafe;
    font-size: 0.83rem;
}

.admin-comment-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-comment-meta-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    padding: 2px 8px;
    background: rgba(30, 41, 59, 0.45);
    color: #cfe3f6;
    font-size: 0.74rem;
}

.admin-comment-meta-pill.is-on {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(21, 128, 61, 0.28);
    color: #dcfce7;
}

.admin-comment-meta-pill.is-needs-action {
    border-color: rgba(251, 191, 36, 0.5);
    background: rgba(245, 158, 11, 0.16);
    color: #fde68a;
}

.admin-comment-row-text {
    margin: 0;
    color: #cfe3f6;
    font-size: 0.82rem;
    line-height: 1.45;
    word-break: break-word;
}

.admin-customer-requests-card .admin-comment-row-text {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #e0f2fe;
}

.admin-comment-replies-preview {
    display: grid;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    border: 1px dashed rgba(99, 102, 241, 0.4);
    background: rgba(15, 23, 42, 0.45);
}

.admin-comment-replies-preview p {
    margin: 0;
    color: #dbeafe;
    font-size: 0.76rem;
    line-height: 1.35;
}

.admin-comment-row-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-customer-requests-card .admin-comment-row-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.admin-customer-requests-card .admin-comment-row-actions > button {
    width: 100%;
}

.admin-customer-requests-card .admin-comment-row-head strong {
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.admin-customer-requests-card .admin-comment-row-head span {
    color: #9fd6ff;
    font-size: 0.78rem;
}

.admin-customer-requests-card .admin-comment-meta-row {
    gap: 6px;
}

.admin-customer-requests-card .admin-comment-meta-pill {
    padding: 4px 10px;
    font-size: 0.76rem;
}

.admin-customer-requests-card .admin-detail {
    color: #9fd6ff;
}

.admin-customer-requests-card .admin-detail strong {
    color: #f9a8d4;
}

.admin-customer-requests-card .admin-customer-request-filter-row,
.admin-customer-requests-card .admin-review-filter-row {
    margin-bottom: 2px;
}

@media (max-width: 760px) {
    .admin-customer-requests-card {
        gap: 10px;
        padding: 14px;
    }

    .admin-customer-requests-card .admin-card-subtitle {
        max-width: 100%;
    }

    .admin-customer-requests-card .admin-customer-request-filter-row {
        gap: 6px;
    }

    .admin-customer-requests-card .admin-customer-request-filter-btn {
        flex: 1 1 112px;
        min-width: 0;
    }

    .admin-customer-requests-card .admin-comment-row {
        padding: 12px;
    }

    .admin-customer-requests-card .admin-comment-row-actions {
        grid-template-columns: 1fr;
    }

    .admin-customer-requests-card .admin-comment-row-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-customer-requests-card .admin-comment-meta-row {
        width: 100%;
    }

    .admin-customer-requests-card .admin-comment-meta-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-customer-requests-card .admin-comment-row-actions > button {
        min-height: 42px;
    }
}

.admin-comment-reply-wrap {
    margin-top: 2px;
}

.admin-comment-reply-form {
    display: grid;
    gap: 8px;
    border: 1px dashed rgba(129, 140, 248, 0.5);
    border-radius: 8px;
    padding: 8px;
    background: rgba(7, 15, 34, 0.6);
}

.admin-comment-reply-form textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(129, 140, 248, 0.4);
    background: rgba(2, 6, 23, 0.85);
    color: #f8fafc;
    padding: 8px;
    font-family: inherit;
    resize: vertical;
    min-height: 58px;
}

.admin-list-header-actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
}

.discount-controls {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-label {
    color: white;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-label-wide { flex: 2; min-width: 200px; }
.admin-label-medium { flex: 1; min-width: 150px; }

.admin-input {
    padding: 8px;
    background: #0a0514;
    color: white;
    border: 1px solid #ec4899;
    border-radius: 5px;
    font-family: inherit;
    box-sizing: border-box;
}

.admin-input-narrow { width: 120px; }

.discount-preview-area {
    margin-top: 10px;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    border: 1px dashed #00f2fe;
    border-radius: 8px;
}

.preview-title {
    color: #00f2fe;
    margin-bottom: 10px;
}

.preview-text { margin-bottom: 5px; }

.preview-original {
    text-decoration: line-through;
    color: #a2b7cc;
}

.preview-discounted {
    color: #22c55e;
    font-weight: bold;
    font-size: 1.1rem;
}

.preview-saved {
    color: #ef4444;
    font-weight: bold;
}

.discount-actions {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

/* ADDED: Active Discounts List Styling */
.active-discounts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.admin-discount-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px dashed #ec4899;
    border-radius: 8px;
}

.discount-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.discount-item-title {
    color: #ec4899;
    font-size: 1.1rem;
    font-weight: bold;
}

.discount-item-meta {
    color: #a2b7cc;
    font-size: 0.9rem;
}

.admin-btn-save {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.admin-btn-disable {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

/* Admin Announcements Manager */
.announcements-manager-card {
    grid-column: 1 / -1;
    background: rgba(168, 85, 247, 0.1);
    border-color: #a855f7;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.announcements-manager-title {
    color: #a855f7;
    border-bottom-color: rgba(168, 85, 247, 0.3);
}

.admin-form-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-form-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.admin-textarea {
    resize: vertical;
}

.admin-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-checkbox {
    width: 18px;
    height: 18px;
    accent-color: #a855f7;
}

.admin-checkbox-label {
    color: #e2e8f0;
}

.admin-btn-publish {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid #a855f7;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.existing-announcements-admin {
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

.existing-announcements-title {
    color: #e2e8f0;
    margin-bottom: 10px;
}

.admin-announcements-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-announce-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(0,0,0,0.4);
    border: 1px dashed #a2b7cc;
    border-radius: 6px;
}

.announce-item-info {
    display: flex;
    flex-direction: column;
}

.announce-item-title {
    color: #00f2fe;
}

.announce-item-meta {
    color: #a2b7cc;
    font-size: 0.8rem;
}

.announce-item-actions {
    display: flex;
    gap: 8px;
}

.admin-btn-edit {
    background: rgba(14, 165, 233, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.52);
    color: #e0f2fe;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

.admin-btn-edit.admin-btn-neutral {
    background: rgba(14, 165, 233, 0.16);
    border-color: rgba(56, 189, 248, 0.52);
    color: #e0f2fe;
}

.admin-btn-edit.admin-btn-success {
    background: rgba(22, 163, 74, 0.18);
    border-color: rgba(74, 222, 128, 0.52);
    color: #dcfce7;
}

.admin-btn-delete {
    background: rgba(239,68,68,0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
}

/* Badges for announcements */
.announcement-badge[data-type="Update"] {
    background: rgba(34, 197, 94, 0.2) !important;
    color: #22c55e !important;
    border-color: #22c55e !important;
}

.announcement-badge[data-type="Event"] {
    background: rgba(236, 72, 153, 0.2) !important;
    color: #ec4899 !important;
    border-color: #ec4899 !important;
}

.announcement-badge[data-type="Alert"] {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #ef4444 !important;
    border-color: #ef4444 !important;
}

.announcement-badge[data-type="New Feature"] {
    background: rgba(0, 242, 254, 0.2) !important;
    color: #00f2fe !important;
    border-color: #00f2fe !important;
}

/* Sale Banner Extra Styling */
.sale-banner {
    animation: bannerSlideDown 0.5s ease-out;
}

@keyframes bannerSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.availability-manager-card {
    grid-column: 1 / -1;
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
}

.availability-manager-title {
    color: #34d399;
    border-bottom-color: rgba(52, 211, 153, 0.3);
}

#adminAvailabilitySection .admin-form-row:has([id^="adminAvailWeek"]) .admin-label {
    min-width: 120px;
}

#adminAvailLastSaved {
    margin: -2px 0 0;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px dashed rgba(167, 243, 208, 0.32);
    background: linear-gradient(145deg, rgba(2, 44, 34, 0.22), rgba(2, 46, 38, 0.14));
    color: #ccfbf1;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
}

.premade-manager-card {
    grid-column: 1 / -1;
    background: rgba(14, 165, 233, 0.1);
    border-color: rgba(56, 189, 248, 0.7);
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 10px;
}

.premade-manager-title {
    color: #7dd3fc;
    border-bottom-color: rgba(125, 211, 252, 0.32);
}

.admin-premade-list {
    display: grid;
    gap: 12px;
}

.admin-premade-reorder-hint {
    margin: 0;
    color: #bfdbfe;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
}

.admin-premade-section {
    display: grid;
    gap: 10px;
}

.admin-premade-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-premade-section__header h4 {
    margin: 0;
    color: #e0f2fe;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.admin-premade-section__header span {
    min-width: 28px;
    text-align: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #cfe9ff;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: rgba(10, 30, 52, 0.46);
}

.admin-premade-stock-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-premade-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    background: rgba(8, 20, 41, 0.5);
    color: #dbeafe;
    font-size: 0.8rem;
}

.admin-premade-summary-pill strong {
    color: #f8fbff;
}

.admin-premade-summary-pill.is-low {
    border-color: rgba(250, 204, 21, 0.36);
    background: rgba(120, 53, 15, 0.24);
    color: #fde68a;
}

.admin-premade-summary-pill.is-critical,
.admin-premade-summary-pill.is-sold-out {
    border-color: rgba(248, 113, 113, 0.36);
    background: rgba(127, 29, 29, 0.24);
    color: #fecaca;
}

.admin-premade-preview {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    background: rgba(2, 6, 23, 0.78);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.admin-premade-preview__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-premade-image-hint {
    margin: 0;
    align-self: center;
}

.admin-premade-image-meta {
    display: grid;
    gap: 8px;
    align-content: center;
}

.admin-premade-image-status {
    margin: 0;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(15, 23, 42, 0.55);
    color: #cbd5e1;
}

.admin-premade-image-status[data-mode="hosted"] {
    border-color: rgba(74, 222, 128, 0.34);
    background: rgba(20, 83, 45, 0.28);
    color: #bbf7d0;
}

.admin-premade-image-status[data-mode="embedded"] {
    border-color: rgba(250, 204, 21, 0.34);
    background: rgba(113, 63, 18, 0.28);
    color: #fde68a;
}

.admin-premade-image-status[data-mode="selected"] {
    border-color: rgba(167, 139, 250, 0.34);
    background: rgba(67, 56, 202, 0.2);
    color: #ddd6fe;
}

.admin-premade-image-status[data-mode="path"] {
    border-color: rgba(125, 211, 252, 0.34);
    background: rgba(8, 47, 73, 0.28);
    color: #bae6fd;
}

.admin-premade-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: rgba(4, 13, 28, 0.56);
}

.admin-premade-item[draggable="true"] {
    cursor: grab;
}

.admin-premade-item.is-dragging {
    opacity: 0.55;
    border-style: dashed;
}

.admin-premade-item.is-drop-target {
    border-color: rgba(34, 211, 238, 0.8);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.22);
}

.admin-premade-item.is-drop-blocked {
    border-color: rgba(248, 113, 113, 0.78);
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.admin-premade-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-premade-drag-handle {
    cursor: grab;
}

.admin-premade-item.is-dragging .admin-premade-drag-handle,
.admin-premade-drag-handle:active {
    cursor: grabbing;
}

.admin-premade-item__thumb {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(2, 6, 23, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-premade-item__info {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.admin-premade-item__info strong {
    color: #f0f9ff;
    font-size: 1rem;
}

.admin-premade-pin-indicator {
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fef3c7;
    background: rgba(146, 64, 14, 0.24);
    border: 1px solid rgba(250, 204, 21, 0.36);
    vertical-align: middle;
}

.admin-premade-item__info span {
    color: #cbd5e1;
    font-size: 0.9rem;
}

.admin-premade-item__info code {
    display: block;
    overflow-wrap: anywhere;
    color: #93c5fd;
    font-size: 0.8rem;
}

.admin-premade-item__stock.is-sold-out {
    color: #fecaca;
}

.admin-premade-item__stock.is-critical {
    color: #fca5a5;
}

.admin-premade-item__stock.is-low {
    color: #fde68a;
}

.admin-premade-move-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pricing-policy-shell {
    margin: 0 0 24px;
}

.pricing-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.pricing-policy-card {
    background: linear-gradient(145deg, rgba(12, 20, 38, 0.85), rgba(10, 14, 30, 0.88));
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 0 18px rgba(125, 211, 252, 0.12), inset 0 0 12px rgba(255,255,255,0.02);
}

.pricing-policy-card h3 {
    margin: 0 0 8px;
    color: #f8fbff;
    font-size: 1.1rem;
}

.pricing-policy-card p {
    margin: 0 0 10px;
    color: #dbeafe;
    line-height: 1.62;
    font-size: 0.96rem;
}

.pricing-policy-card ul {
    margin: 0;
    padding-left: 18px;
    color: #d5e5f6;
    line-height: 1.58;
}

.pricing-policy-card li {
    margin-bottom: 6px;
}

.policy-soft-note {
    margin-top: 10px;
    color: #bae6fd;
    font-style: italic;
}

.tide-status-widget {
    border-color: rgba(52, 211, 153, 0.28);
    background: linear-gradient(145deg, rgba(8, 29, 34, 0.86), rgba(8, 21, 31, 0.88));
}

.tide-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.tide-calm {
    background: rgba(34, 197, 94, 0.22);
    color: #dcfce7;
    border-color: rgba(34, 197, 94, 0.45);
}

.tide-busy {
    background: rgba(245, 158, 11, 0.22);
    color: #ffedd5;
    border-color: rgba(245, 158, 11, 0.45);
}

.tide-stormy {
    background: rgba(239, 68, 68, 0.24);
    color: #fee2e2;
    border-color: rgba(239, 68, 68, 0.5);
}

.tide-status-meta {
    border-top: 1px solid rgba(125, 211, 252, 0.18);
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #bfdbfe;
    font-size: 0.92rem;
}

.tide-artist-row {
    margin-top: 10px;
    border-top: 1px dashed rgba(125, 211, 252, 0.2);
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

.tide-artist-row strong {
    color: #f8fafc;
    display: block;
    font-size: 0.98rem;
}

.tide-artist-row span {
    color: #cbd5e1;
    font-size: 0.88rem;
}

.queue-privacy-promise {
    background: linear-gradient(135deg, rgba(7, 17, 36, 0.94), rgba(8, 22, 44, 0.92));
    border: 1px solid rgba(125, 211, 252, 0.22);
    color: #dbeafe;
    border-radius: 16px;
    padding: 12px 16px;
    line-height: 1.62;
    font-size: 0.95rem;
}

.queue-professional-shell {
    gap: 20px;
}

.queue-professional-shell .refunds-card,
.queue-professional-shell .queue-card,
.queue-professional-shell .refund-card,
.queue-professional-shell section {
    line-height: 1.65;
}

.queue-professional-shell h1,
.queue-professional-shell h2,
.queue-professional-shell h3 {
    line-height: 1.2;
}

.commission-queue-simple {
    background: linear-gradient(160deg, rgba(5, 14, 28, 0.92), rgba(11, 23, 39, 0.9));
    border: 1px solid rgba(125, 211, 252, 0.18);
    border-radius: 18px;
    padding: 18px;
}

.commission-queue-simple .queue-item,
.commission-queue-simple .refund-card,
.commission-queue-simple .commission-card,
.commission-queue-simple .queue-card,
.commission-queue-simple li,
.commission-queue-simple article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(125, 211, 252, 0.12);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.commission-queue-simple .queue-item:last-child,
.commission-queue-simple .refund-card:last-child,
.commission-queue-simple .commission-card:last-child,
.commission-queue-simple .queue-card:last-child,
.commission-queue-simple li:last-child,
.commission-queue-simple article:last-child {
    margin-bottom: 0;
}

.commission-queue-row {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 12px;
}

.commission-queue-order {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #dcfce7;
    font-weight: 700;
}

.commission-queue-name {
    color: #f8fbff;
    font-size: 1rem;
    letter-spacing: 0.01em;
    word-break: break-word;
}

.contact-policy-shell {
    width: min(900px, 92vw);
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-policy-card {
    background: linear-gradient(145deg, rgba(6, 14, 30, 0.9), rgba(7, 18, 34, 0.9));
    border: 1px solid rgba(125, 211, 252, 0.25);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.12), inset 0 0 10px rgba(255,255,255,0.03);
}

.contact-policy-card h3 {
    color: #f8fbff;
    margin: 0 0 8px;
    font-size: 1.12rem;
}

.contact-policy-card p {
    color: #dbeafe;
    line-height: 1.62;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.contact-policy-card p:last-child {
    margin-bottom: 0;
}

[data-theme="reviews"] .galaxy-nebula {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 18% 16%, rgba(148, 163, 255, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 78% 22%, rgba(34, 211, 238, 0.18) 0%, transparent 44%),
        radial-gradient(circle at 54% 58%, rgba(168, 85, 247, 0.14) 0%, transparent 50%),
        linear-gradient(180deg, #010309 0%, #040b1f 42%, #020612 100%);
}

[data-theme="reviews"] .ocean-horizon {
    display: none !important;
}

.reviews-page-shell {
    --reviews-card-bg: linear-gradient(158deg, rgba(7, 16, 37, 0.92), rgba(8, 20, 45, 0.84));
    --reviews-border: rgba(103, 232, 249, 0.24);
    width: min(1040px, 94vw);
    display: grid;
    gap: 20px;
    margin-bottom: clamp(170px, 22vh, 260px);
}

body[data-page="reviews"] {
    --floating-bottom-clearance: 36px;
}

.reviews-hero,
.reviews-display-shell,
.reviews-form-shell {
    background: var(--reviews-card-bg);
    border: 1px solid var(--reviews-border);
    border-radius: 18px;
    box-shadow: 0 0 26px rgba(103, 232, 249, 0.12), 0 0 38px rgba(167, 139, 250, 0.12), inset 0 0 20px rgba(255, 255, 255, 0.02);
    padding: 20px;
    text-align: left;
}

.reviews-hero h1 {
    margin-bottom: 6px;
    color: #f8fbff;
    text-shadow: 0 0 14px rgba(125, 211, 252, 0.42);
}

.reviews-hero h2 {
    margin-bottom: 10px;
    color: #dbeafe;
    font-size: 1.2rem;
}

.reviews-hero-note {
    margin-bottom: 12px;
    color: #c3d4ec;
    font-size: 0.94rem;
    line-height: 1.5;
}

.reviews-policy-strip {
    display: grid;
    gap: 7px;
    margin-bottom: 15px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(165, 180, 252, 0.34);
    background: linear-gradient(145deg, rgba(31, 41, 78, 0.42), rgba(15, 23, 42, 0.52));
}

.reviews-policy-strip p {
    margin: 0;
    color: #dbeafe;
    font-size: 0.86rem;
    line-height: 1.45;
}

.reviews-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-return-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-return-nav--top-right,
.admin-return-nav--hero {
    justify-content: flex-end;
}

.admin-return-nav--top-right {
    margin-bottom: 16px;
}

.admin-return-nav--hero {
    margin-top: 12px;
}

.admin-public-nav-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.admin-public-nav-row .nav-btn,
.admin-return-nav .nav-btn {
    margin-bottom: 0;
}

.admin-return-dashboard-btn {
    border-color: rgba(34, 211, 238, 0.55);
}

.reviews-secondary-btn {
    border-color: rgba(148, 163, 184, 0.5);
    color: #dbeafe;
}

.reviews-section-head h3 {
    color: #f8fbff;
    margin-bottom: 4px;
}

.reviews-section-head p {
    color: #b8cae0;
    font-size: 0.92rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.reviews-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.review-card {
    background: linear-gradient(155deg, rgba(8, 18, 38, 0.85), rgba(10, 24, 52, 0.82));
    border: 1px solid rgba(94, 234, 212, 0.24);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.1), inset 0 0 10px rgba(196, 181, 253, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(125, 211, 252, 0.4);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.16), inset 0 0 14px rgba(196, 181, 253, 0.08);
}

.review-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.review-identity {
    display: grid;
    gap: 2px;
}

.review-name {
    color: #e2e8f0;
    font-size: 1rem;
}

.review-date {
    color: #9fb6d3;
    font-size: 0.82rem;
}

.review-approved-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(134, 239, 172, 0.45);
    background: rgba(21, 128, 61, 0.24);
    color: #bbf7d0;
    font-size: 0.74rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.review-stars-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.review-stars {
    color: #facc15;
    letter-spacing: 0.08em;
    font-size: 1.05rem;
    margin-bottom: 0;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.35);
}

.review-rating-value {
    color: #fef08a;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
}

.review-body {
    color: #dbeafe;
    line-height: 1.6;
    margin-bottom: 10px;
    white-space: pre-wrap;
}

.review-meta {
    color: #b8cae0;
    font-size: 0.88rem;
    margin-bottom: 7px;
}

.review-commission-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(165, 180, 252, 0.4);
    background: rgba(49, 46, 129, 0.3);
    color: #dbeafe;
}

.review-meta a {
    color: #67e8f9;
    text-underline-offset: 2px;
}

.review-image-link {
    display: block;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    overflow: hidden;
    background: rgba(2, 6, 16, 0.8);
}

.review-image-thumb {
    width: 100%;
    max-height: 170px;
    object-fit: cover;
    display: block;
}

.reviews-loading-msg,
.reviews-empty-msg {
    margin: 0;
    padding: 18px;
    border-radius: 12px;
    border: 1px dashed rgba(125, 211, 252, 0.35);
    color: #dbeafe;
    background: linear-gradient(145deg, rgba(6, 16, 38, 0.64), rgba(7, 15, 34, 0.72));
}

.reviews-empty-msg strong {
    display: block;
    margin-bottom: 7px;
    font-size: 1.05rem;
    color: #f8fbff;
}

.reviews-empty-stars {
    display: block;
    margin-bottom: 8px;
    color: #facc15;
    letter-spacing: 0.12em;
    text-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
    font-size: 1.08rem;
}

.reviews-empty-msg p {
    margin: 0;
    color: #c8dbf3;
    line-height: 1.55;
}

.reviews-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.reviews-top-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.reviews-top-field {
    min-width: 0;
}

.reviews-field {
    display: grid;
    gap: 6px;
}

.reviews-field span {
    color: #dbeafe;
    font-size: 0.9rem;
}

.reviews-star-fieldset {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(125, 211, 252, 0.38);
    border-radius: 12px;
    padding: 6px 10px;
    background: linear-gradient(145deg, rgba(10, 18, 42, 0.76), rgba(11, 21, 48, 0.64));
    margin: 0;
}

.reviews-star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    gap: 3px;
}

.reviews-star-picker input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.reviews-star-picker label {
    font-size: 1.65rem;
    line-height: 1;
    color: #475569;
    cursor: pointer;
    text-shadow: 0 0 8px rgba(250, 204, 21, 0.1);
    transition: color 0.14s ease, transform 0.14s ease, text-shadow 0.14s ease;
    user-select: none;
}

.reviews-star-picker label:hover,
.reviews-star-picker label:hover ~ label,
.reviews-star-picker input:checked ~ label {
    color: #facc15;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.42), 0 0 18px rgba(250, 204, 21, 0.22);
    transform: translateY(-1px);
}

.reviews-star-picker input:focus-visible + label {
    outline: 2px solid rgba(196, 181, 253, 0.9);
    outline-offset: 3px;
    border-radius: 4px;
    transform: scale(1.06);
}

.reviews-image-options {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
}

.reviews-upload-panel {
    padding: 12px;
    border: 1px solid rgba(103, 232, 249, 0.26);
    border-radius: 12px;
    background: rgba(6, 14, 32, 0.5);
}

.reviews-upload-head {
    display: grid;
    gap: 4px;
}

.reviews-upload-sfw {
    color: #bfdbfe;
    font-size: 0.8rem;
    line-height: 1.45;
}

.reviews-image-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 260px;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.62);
    background: linear-gradient(145deg, rgba(8, 47, 73, 0.72), rgba(15, 118, 110, 0.4));
    color: #e6fdff;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

.reviews-image-upload:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.72);
    box-shadow: 0 0 10px rgba(94, 234, 212, 0.3);
}

.reviews-image-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reviews-image-selected {
    color: #bfdbfe;
    font-size: 0.82rem;
    line-height: 1.4;
    margin-top: -2px;
}

.reviews-image-or {
    color: #a5b4fc;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
}

.reviews-image-note {
    color: #9fb6d3;
    font-size: 0.82rem;
    line-height: 1.45;
}

.reviews-field input,
.reviews-field select,
.reviews-field textarea {
    width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid rgba(103, 232, 249, 0.34);
    background: rgba(3, 9, 24, 0.82);
    color: #f8fafc;
    padding: 11px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reviews-field input:focus,
.reviews-field select:focus,
.reviews-field textarea:focus {
    outline: none;
    border-color: rgba(196, 181, 253, 0.95);
    box-shadow: 0 0 0 2px rgba(167, 139, 250, 0.22);
}

.reviews-field-full {
    grid-column: 1 / -1;
}

.reviews-rating-preview {
    color: #facc15;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    justify-self: end;
    white-space: nowrap;
}

.reviews-submit-btn {
    width: 100%;
}

@media (max-width: 768px) {
    .pricing-container h1 {
        font-size: 2rem;
    }

    .pricing-container p.subtitle {
        font-size: 0.98rem;
        margin-bottom: 20px;
    }

    .pricing-section {
        padding: 18px;
        border-left-width: 3px;
        margin-bottom: 16px;
    }

    .pricing-section h2 {
        font-size: 1.3rem;
    }

    .pricing-section h3 {
        font-size: 1.05rem;
    }

    .pricing-section p,
    .pricing-section li {
        font-size: 0.95rem;
    }

    .price-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .price-item {
        align-items: flex-start;
    }

    .price-item span:last-child {
        text-align: right;
        white-space: normal;
    }

    .gallery-grid {
        gap: 12px;
    }

    .gallery-card,
    .premade-card {
        height: auto;
        min-height: 0;
        padding: 12px;
    }

    .gallery-img {
        height: 170px;
    }

    .premade-img {
        height: 190px;
        max-height: 190px;
    }

    .gallery-card p,
    .premade-card p {
        font-size: 0.92rem;
    }

    .gallery-card-title {
        font-size: 0.82rem;
        line-height: 1.3;
    }

    .refunds-page-container {
        gap: 18px;
    }

    .huskys-list-public-note,
    .queue-trust-strip,
    .queue-privacy-promise {
        font-size: 0.9rem;
        line-height: 1.55;
        padding: 12px 14px;
    }

    .refunds-hero-card h1 {
        font-size: 2rem;
    }

    .huskys-list-section-shell {
        gap: 14px;
        border-radius: 20px;
    }

    .contact-policy-shell {
        grid-template-columns: 1fr;
        width: min(95vw, 95vw);
        margin-top: 14px;
    }

    .contact-policy-card {
        padding: 14px;
    }

    .reviews-form-grid {
        grid-template-columns: 1fr;
    }

    .reviews-top-row {
        grid-template-columns: 1fr;
    }

    .form-summary-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        width: min(96vw, 700px);
        max-height: 78vh;
        padding: 18px 14px;
    }

    .form-card h1 {
        font-size: 1.75rem;
    }

    .form-card p.form-desc {
        font-size: 0.97rem;
        margin-bottom: 18px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px;
        padding: 12px 13px;
    }

    .form-card .preorder-btn,
    .form-card .nav-btn,
    .form-wizard-nav .nav-btn {
        min-height: 46px;
        font-size: 1rem;
    }

    .admin-premade-item {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 10px;
    }

    .admin-premade-item__thumb {
        width: 76px;
        height: 76px;
    }

    .admin-premade-item__actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
        padding-top: 2px;
    }

    .form-section-card,
    .form-summary-card,
    .form-warning-card {
        padding: 14px;
    }

    .form-example-card {
        padding: 8px 10px;
    }

    .form-wizard-progress__meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-wizard-nav {
        flex-direction: column;
    }

    .form-wizard-nav .nav-btn {
        width: 100%;
    }

    .form-draft-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-draft-banner__status {
        text-align: left;
    }

    .reviews-image-options {
        grid-template-columns: 1fr;
    }

    .reviews-star-fieldset {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 4px;
        padding: 8px 10px;
    }

    .reviews-rating-preview {
        justify-self: start;
    }

    body[data-page="reviews"] {
        --floating-bottom-clearance: 18px;
    }

    .reviews-hero,
    .reviews-display-shell,
    .reviews-form-shell {
        padding: 14px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-card,
    .premade-card,
    .queue-reveal,
    .transition-circle,
    .dynamic-moon-phase,
    .nav-btn,
    .preorder-btn,
    .gallery-video-overlay,
    #galleryLightboxOverlay,
    #galleryLightboxImage,
    .bottle-success-anim {
        animation: none !important;
        transition: none !important;
    }
}

.admin-order-card {
    padding: 14px;
    gap: 8px;
    min-height: 0;
    align-content: start;
}

.admin-order-card h3 {
    font-size: 1.04rem;
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-order-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.admin-order-meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.admin-order-meta-pill {
    font-size: 0.78rem;
    color: #cfe4ff;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 8px;
    padding: 5px 8px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-order-meta-pill strong {
    color: #f472b6;
}

.admin-order-preview {
    color: #c6d8ea;
    font-size: 0.84rem;
    line-height: 1.45;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    min-height: calc(1.45em * 3);
    max-height: calc(1.45em * 3);
}

.admin-order-preview-wrap {
    position: relative;
    min-height: calc(1.45em * 3);
    max-height: calc(1.45em * 3);
    overflow: hidden;
}

.admin-order-preview-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1.7em;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(6, 12, 26, 0), rgba(6, 12, 26, 0.94));
}

.admin-order-view-row {
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.admin-order-card .admin-detail {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-order-card .admin-actions {
    flex-wrap: wrap;
    align-items: center;
    margin-top: 2px;
}

/* ==========================================
   --- PREORDER MENU VISUAL REFINEMENT ---
   ========================================== */
body[data-page="preorder"] .bg-environment {
    background:
    radial-gradient(120% 90% at 8% -12%, rgba(186, 230, 253, 0.42), rgba(186, 230, 253, 0) 48%),
    radial-gradient(90% 70% at 92% 8%, rgba(221, 214, 254, 0.32), rgba(221, 214, 254, 0) 46%),
    linear-gradient(180deg, #1e3a5c 0%, #2e5f87 40%, #4f89b2 100%);
}

body[data-page="preorder"] .preorder-card {
    position: relative;
    width: min(1120px, 95vw) !important;
    max-width: 1120px !important;
    padding: 44px 40px 30px !important;
    border-radius: 28px !important;
    border: 1px solid rgba(203, 229, 250, 0.58) !important;
    background:
        linear-gradient(165deg, rgba(22, 53, 85, 0.84), rgba(28, 67, 102, 0.8)) !important;
    box-shadow: 0 20px 40px rgba(9, 25, 44, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

body[data-page="preorder"] .preorder-menu-title {
    margin: 0 0 8px;
    color: #f4f8ff;
    font-size: clamp(2rem, 4.2vw, 3rem);
    line-height: 1.1;
    text-shadow: 0 4px 14px rgba(12, 29, 49, 0.28);
}

body[data-page="preorder"] .preorder-menu-subtitle {
    margin: 0;
    color: #deedf9;
    font-size: 1.02rem;
    line-height: 1.5;
}

body[data-page="preorder"] .preorder-prep-shell {
    margin: 20px 0 24px !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(191, 219, 254, 0.34) !important;
    background: linear-gradient(158deg, rgba(22, 53, 85, 0.72), rgba(30, 71, 106, 0.68)) !important;
}

body[data-page="preorder"] .preorder-prep-shell h3 {
    font-size: 1rem;
    color: #f8fbff;
    margin-bottom: 8px;
}

body[data-page="preorder"] .preorder-prep-shell ul {
    color: #e8f1fb;
    font-size: 0.93rem;
    line-height: 1.58;
}

body[data-page="preorder"] .preorder-section-grid {
    gap: 16px !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="preorder"] .menu-section {
    padding: 20px !important;
    border-radius: 18px !important;
    gap: 12px !important;
    border: 1px solid rgba(191, 219, 254, 0.3) !important;
    background:
        radial-gradient(130% 100% at 100% -20%, rgba(196, 181, 253, 0.12), rgba(196, 181, 253, 0) 52%),
        linear-gradient(160deg, rgba(20, 48, 78, 0.84), rgba(23, 58, 90, 0.8)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 20px rgba(9, 25, 44, 0.24) !important;
}

body[data-page="preorder"] .menu-section h3 {
    margin: 0 0 4px !important;
    font-size: 1.18rem !important;
    text-align: left;
    color: #edf5ff;
    text-shadow: none;
}

body[data-page="preorder"] .menu-section:nth-child(1) h3 {
    color: #d7efff;
}

body[data-page="preorder"] .menu-section:nth-child(2) h3 {
    color: #f7e8ff;
}

body[data-page="preorder"] .menu-section:nth-child(3) h3 {
    color: #dfeaf8;
}

body[data-page="preorder"] .preorder-btn {
    border-width: 1px !important;
    border-color: rgba(191, 219, 254, 0.6) !important;
    background: linear-gradient(155deg, rgba(34, 74, 112, 0.86), rgba(36, 84, 124, 0.84)) !important;
    color: #f4f8ff;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    box-shadow: 0 8px 16px rgba(9, 25, 44, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body[data-page="preorder"] .preorder-btn:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 20px rgba(9, 25, 44, 0.28), 0 0 16px rgba(191, 219, 254, 0.18) !important;
    border-color: rgba(224, 242, 254, 0.92) !important;
}

body[data-page="preorder"] .preorder-btn-magenta {
    border-color: rgba(249, 168, 212, 0.68) !important;
    background: linear-gradient(155deg, rgba(78, 76, 130, 0.82), rgba(111, 89, 151, 0.8)) !important;
}

body[data-page="preorder"] .preorder-btn-cyan {
    border-color: rgba(186, 230, 253, 0.72) !important;
    background: linear-gradient(155deg, rgba(52, 96, 133, 0.84), rgba(67, 112, 148, 0.82)) !important;
}

body[data-page="preorder"] .preorder-btn-violet {
    border-color: rgba(196, 181, 253, 0.74) !important;
    background: linear-gradient(155deg, rgba(79, 76, 132, 0.84), rgba(96, 93, 154, 0.82)) !important;
}

body[data-page="preorder"] .preorder-btn-green {
    border-color: rgba(187, 247, 208, 0.72) !important;
    background: linear-gradient(155deg, rgba(52, 108, 114, 0.84), rgba(57, 124, 120, 0.82)) !important;
}

body[data-page="preorder"] .preorder-btn-wide {
    grid-column: 1 / -1;
}

body[data-page="preorder"] .preorder-btn.disabled {
    background: linear-gradient(155deg, rgba(37, 60, 84, 0.58), rgba(31, 53, 76, 0.54)) !important;
    border-color: rgba(191, 219, 254, 0.28) !important;
    color: #b8cadd;
    box-shadow: none !important;
}

body[data-page="preorder"] .huskys-list-btn {
    top: 18px;
    right: 18px;
    max-width: 170px;
    font-size: 0.9rem !important;
    padding: 10px 14px !important;
    border-color: rgba(167, 243, 208, 0.66) !important;
    background: linear-gradient(140deg, rgba(44, 92, 107, 0.84), rgba(45, 104, 120, 0.82)) !important;
    box-shadow: 0 10px 18px rgba(9, 25, 44, 0.24) !important;
}

body[data-page="preorder"] .preorder-back-btn {
    max-width: 320px;
    margin: 0 auto;
    border-color: rgba(203, 229, 250, 0.56) !important;
    background: linear-gradient(150deg, rgba(47, 85, 120, 0.84), rgba(52, 94, 132, 0.82)) !important;
}

body[data-page="preorder"] .button-grid-2col {
    gap: 10px;
}

body[data-page="preorder"] #app-viewport {
    padding-bottom: 84px;
}

body[data-page="preorder"] #footerCredit {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin: 18px auto 8px;
    width: 100%;
    text-align: center;
    opacity: 0.68;
}

@media (max-width: 980px) {
    body[data-page="preorder"] .preorder-card {
        width: 96vw !important;
        padding: 34px 16px 18px !important;
        border-radius: 22px !important;
    }

    body[data-page="preorder"] .huskys-list-btn {
        position: static;
        margin: 0 auto 14px;
        max-width: 220px;
    }

    body[data-page="preorder"] .preorder-menu-title {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }

    body[data-page="preorder"] .preorder-section-grid {
        grid-template-columns: 1fr;
        gap: 12px !important;
    }

    body[data-page="preorder"] .menu-section {
        padding: 15px !important;
    }

    body[data-page="preorder"] #app-viewport {
        padding-bottom: 64px;
    }
}

.admin-order-card .admin-actions > * {
    flex: 0 0 auto;
}

.admin-view-details-btn {
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: #e0f2fe;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.82rem;
}

.admin-order-details-panel {
    grid-column: span 2;
    margin-top: 2px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.58);
    padding: 10px;
}

.admin-order-details-grid {
    display: grid;
    gap: 6px;
}

.admin-order-detail-row {
    color: #dbeafe;
    font-size: 0.82rem;
    line-height: 1.5;
    word-break: break-word;
    white-space: normal;
}

.admin-order-detail-row strong {
    color: #f8fafc;
}

.admin-inline-collapsible {
    border: 1px solid rgba(96, 165, 250, 0.26);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.35);
    padding: 8px;
}

.admin-inline-collapsible > summary {
    cursor: pointer;
    color: #e2f4ff;
    font-weight: 700;
    letter-spacing: 0.04em;
    list-style: none;
    padding: 4px 2px;
}

.admin-inline-collapsible > summary::-webkit-details-marker {
    display: none;
}

.admin-inline-collapsible-body {
    margin-top: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px 16px;
}

.admin-inline-collapsible-body .admin-label {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.2;
}

.admin-inline-collapsible-body .admin-input,
.admin-inline-collapsible-body .admin-textarea {
    width: 100%;
    min-width: 0;
}

.admin-inline-collapsible-body .admin-actions,
.admin-inline-collapsible-body .admin-checkbox-label-wrap,
.admin-inline-collapsible-body .admin-label:has(textarea) {
    grid-column: 1 / -1;
}

/* Admin premium polish and functionality-safe layout refinements */
.admin-mission-shell {
    width: min(1500px, 98vw);
    gap: 16px;
}

.admin-sidebar,
.admin-top-header,
.admin-collapsible,
.admin-card,
.admin-chart-card,
.admin-overview-card,
.admin-activity-panel {
    border-color: rgba(34, 211, 238, 0.28);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.07), 0 16px 32px rgba(2, 8, 20, 0.34), inset 0 0 22px rgba(255, 255, 255, 0.02);
}

.admin-sidebar {
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(129, 140, 248, 0.18);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.05), 0 18px 40px rgba(2, 8, 20, 0.34), 0 0 18px rgba(45, 212, 191, 0.08);
}

.admin-sidebar-nav {
    gap: 14px;
}

.admin-sidebar-group {
    gap: 4px;
}

.admin-sidebar-group + .admin-sidebar-group {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-group-title,
.admin-sidebar-divider {
    display: none;
}

.admin-sidebar .admin-side-link {
    position: relative;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #deebfb;
    padding: 10px 12px;
    border-left: 3px solid transparent;
    overflow: hidden;
    transition: color 0.28s ease, transform 0.28s ease;
}

.admin-sidebar .admin-side-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.18), rgba(129, 140, 248, 0.16), rgba(236, 72, 153, 0.12));
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    border-radius: 12px;
    z-index: 0;
}

.admin-sidebar .admin-side-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.admin-sidebar .admin-side-link:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.admin-sidebar .admin-side-link > * {
    position: relative;
    z-index: 1;
}

.admin-sidebar .admin-side-link.active-link {
    color: #f8fdff;
    border-left-color: #00f3ff;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.16), rgba(129, 140, 248, 0.08), rgba(255, 255, 255, 0));
    box-shadow: inset 0 0 16px rgba(34, 211, 238, 0.08), 0 0 12px rgba(34, 211, 238, 0.08);
}

.admin-sidebar .admin-side-link.active-link::before {
    opacity: 1;
    transform: translateX(0);
}

.admin-top-header {
    background: linear-gradient(160deg, rgba(7, 14, 31, 0.96), rgba(8, 22, 44, 0.92));
}

.admin-header-actions .nav-btn {
    border: 1px solid #00f3ff;
    background: rgba(0, 243, 255, 0.05);
    color: #dffcff;
    min-height: 40px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 0 rgba(0, 243, 255, 0);
    transition: background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
}

.admin-header-actions .nav-btn:hover,
.admin-header-actions .nav-btn:focus-visible {
    background: rgba(0, 243, 255, 0.1);
    color: #ffffff;
    border-color: #7ff8ff;
    box-shadow: inset 0 0 18px rgba(0, 243, 255, 0.12), 0 0 18px rgba(0, 243, 255, 0.14);
}

.admin-quick-actions-grid .nav-btn {
    border: 0;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.72);
    min-height: 42px;
    padding: 10px 12px;
    box-shadow: none;
    transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.admin-header-actions .nav-btn,
.admin-quick-actions-grid .nav-btn,
.admin-queue-actions button,
.admin-order-card .admin-actions > * {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.admin-quick-actions-grid .nav-btn:hover,
.admin-quick-actions-grid .nav-btn:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: none;
}

.admin-overview-grid {
    gap: 10px;
}

.admin-overview-row-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-overview-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
}

.admin-overview-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.05), rgba(34, 211, 238, 0.8), rgba(96, 165, 250, 0.2));
}

.admin-overview-value {
    font-size: 1.22rem;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

.admin-overview-group,
.admin-overview-label,
.admin-chart-card h3,
.admin-activity-desc,
.admin-queue-item-head strong,
.admin-queue-item-subline {
    overflow-wrap: anywhere;
}

.admin-chart-card {
    border-radius: 16px;
    padding: 12px;
    min-width: 0;
    background:
        radial-gradient(circle at 90% -10%, rgba(56, 189, 248, 0.12), transparent 45%),
        linear-gradient(170deg, rgba(6, 15, 34, 0.96), rgba(4, 9, 21, 0.92));
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.admin-chart-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.08), 0 22px 40px rgba(2, 8, 20, 0.4), 0 0 18px rgba(129, 140, 248, 0.14), inset 0 0 22px rgba(255, 255, 255, 0.02);
}

.admin-chart-card h3 {
    line-height: 1.3;
}

.admin-widget-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.admin-widget-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.3);
    background: rgba(14, 165, 233, 0.12);
    color: #e0f2fe;
    font-size: 0.75rem;
}

.admin-widget-chip strong {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #bae6fd;
}

.admin-widget-chip em {
    font-style: normal;
    color: #ffffff;
}

.admin-line-chart {
    width: 100%;
    height: 148px;
    display: block;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(8, 16, 34, 0.9), rgba(6, 12, 28, 0.82));
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: inset 0 0 14px rgba(56, 189, 248, 0.08);
}

.admin-line-chart-area {
    fill: url(#adminLineAreaGradient);
}

.admin-line-chart-path {
    stroke: #22d3ee;
    stroke-width: 2.8;
    filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.75));
}

.admin-line-chart-node {
    fill: #a5f3fc;
    stroke: #67e8f9;
    stroke-width: 1;
    filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.9));
}

.admin-line-chart-labels {
    display: grid;
    grid-template-columns: repeat(var(--admin-line-label-count, 6), minmax(0, 1fr));
    gap: 4px;
    margin-top: 6px;
    color: #9cc2dc;
    font-size: 0.68rem;
}

.admin-line-chart-labels span {
    text-align: center;
}

.admin-line-chart-wrap {
    position: relative;
}

.admin-line-chart-tooltip {
    position: absolute;
    min-width: 94px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.32);
    background: rgba(10, 15, 30, 0.92);
    color: #f8fbff;
    font-size: 0.74rem;
    line-height: 1.35;
    box-shadow: 0 12px 24px rgba(2, 8, 20, 0.34), 0 0 14px rgba(34, 211, 238, 0.12);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -110%) scale(0.96);
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 5;
    white-space: nowrap;
}

.admin-line-chart-tooltip.active {
    opacity: 1;
    transform: translate(-50%, -118%) scale(1);
}

.admin-mini-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
    gap: 8px;
    margin-top: 4px;
}

.admin-mini-column-item {
    display: grid;
    gap: 6px;
    justify-items: center;
}

.admin-mini-column-track {
    width: 100%;
    height: 84px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45), rgba(30, 41, 59, 0.2));
    display: flex;
    align-items: flex-end;
    padding: 4px;
}

.admin-mini-column-fill {
    width: 100%;
    border-radius: 8px;
    background: linear-gradient(180deg, #22d3ee 0%, #38bdf8 48%, #818cf8 100%);
    box-shadow: 0 0 14px rgba(34, 211, 238, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.admin-mini-column-label {
    color: #dbeafe;
    font-size: 0.74rem;
    line-height: 1.2;
}

.admin-mini-column-value {
    color: #a5f3fc;
    font-size: 0.72rem;
    line-height: 1.2;
}

.admin-donut-layout {
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.admin-donut-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-donut-chart {
    width: 150px;
    height: 150px;
    overflow: visible;
}

.admin-donut-track {
    fill: none;
    stroke: rgba(148, 163, 184, 0.14);
    stroke-width: 18;
}

.admin-donut-slice {
    fill: none;
    stroke-width: 18;
    stroke-linecap: round;
    filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.18));
}

.admin-donut-core {
    fill: rgba(8, 15, 34, 0.96);
    stroke: rgba(125, 211, 252, 0.14);
    stroke-width: 1;
}

.admin-donut-total-label {
    fill: #93c5fd;
    font-size: 7px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-donut-total-value {
    fill: #f8fbff;
    font-size: 9px;
    font-weight: 700;
}

.admin-donut-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.admin-donut-legend-item {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 8px;
    align-items: center;
    color: #dbeafe;
    font-size: 0.75rem;
}

.admin-donut-legend-item.is-empty {
    opacity: 0.62;
}

.admin-donut-legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.admin-donut-legend-swatch.is-art {
    background: linear-gradient(135deg, #22d3ee, #60a5fa);
}

.admin-donut-legend-swatch.is-animation {
    background: linear-gradient(135deg, #a78bfa, #f472b6);
}

.admin-donut-legend-swatch.is-fursuits {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
}

.admin-donut-legend-swatch.is-keychains {
    background: linear-gradient(135deg, #38bdf8, #2dd4bf);
}

.admin-donut-legend-swatch.is-stickers {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.admin-donut-legend-value {
    color: #f8fbff;
}

.admin-pipeline-chart {
    display: grid;
    gap: 10px;
}

.admin-pipeline-track {
    display: flex;
    gap: 6px;
    width: 100%;
}

.admin-pipeline-segment {
    min-height: 42px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(34, 211, 238, 0.25), rgba(56, 189, 248, 0.12));
    border: 1px solid rgba(125, 211, 252, 0.32);
    color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.77rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-pipeline-segment:nth-child(2) {
    background: linear-gradient(145deg, rgba(167, 139, 250, 0.28), rgba(168, 85, 247, 0.16));
}

.admin-pipeline-segment:nth-child(3) {
    background: linear-gradient(145deg, rgba(74, 222, 128, 0.28), rgba(34, 197, 94, 0.16));
}

.admin-pipeline-segment em {
    font-style: normal;
}

.admin-pipeline-legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.admin-pipeline-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #dbeafe;
}

.admin-pipeline-legend strong {
    color: #a5f3fc;
}

.admin-order-card {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    gap: 10px;
}

.admin-order-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.admin-order-meta-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.admin-order-meta-pill {
    font-size: 0.76rem;
    line-height: 1.35;
    color: #d5e7ff;
    background: rgba(12, 21, 40, 0.58);
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 9px;
    padding: 7px 9px;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-order-meta-pill strong {
    color: #f472b6;
    letter-spacing: 0.02em;
}

.admin-order-public-refs-flag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 2px 8px;
    margin-left: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.admin-order-public-refs-flag.is-published {
    color: #052e16;
    background: rgba(134, 239, 172, 0.85);
}

.admin-order-public-refs-flag.is-hidden {
    color: #7f1d1d;
    background: rgba(252, 165, 165, 0.82);
}

.admin-order-card .admin-detail {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-order-card .admin-detail strong {
    color: #f472b6;
}

.admin-order-preview {
    display: block;
    line-height: 1.45;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.admin-order-preview-wrap {
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(125, 211, 252, 0.2);
    margin-bottom: 2px;
}

.admin-order-preview.admin-detail {
    overflow: hidden;
}

.admin-order-preview-label {
    color: #f472b6;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2px;
}

.admin-order-preview-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    width: 100%;
    max-width: 100%;
}

.admin-order-preview-wrap::after {
    content: none;
}

.admin-order-view-row {
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.admin-order-card .admin-actions {
    grid-column: 1;
    margin-top: 2px;
    align-items: stretch;
    gap: 6px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-order-card .admin-actions > * {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
}

.admin-order-status-select,
.admin-order-action-btn {
    background: rgba(8, 18, 38, 0.88);
    border: 1px solid rgba(34, 211, 238, 0.42);
    color: #e0f2fe;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.84rem;
    min-height: 40px;
}

.admin-order-status-select {
    min-width: 145px;
    width: 100%;
}

.admin-order-finance-head .admin-final-price-state {
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
    text-align: right;
}

.admin-order-finance-head--stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: flex-start;
}

.admin-order-finance-head--stack .admin-final-price-state {
    text-align: left;
}

.admin-payment-tracker-row .admin-order-finance-grid {
    grid-template-columns: 1fr;
}

.admin-payment-tracker-row .admin-payment-deposit-toggle {
    grid-column: 1;
}

.admin-payment-tracker-row .admin-payment-deposit-toggle .admin-checkbox-label-wrap {
    min-height: 40px;
    align-items: center;
}

.admin-payment-tracker-row .admin-order-finance-field[for^="lopside-deposit-amount-"] {
    grid-column: 1;
}

.admin-payment-tracker-row .admin-order-finance-actions--payment .admin-btn-edit {
    flex: 1 1 0;
    min-width: 0;
    max-width: 200px;
}

.admin-order-delete-btn {
    border-color: rgba(248, 113, 113, 0.55);
    color: #fecaca;
}

.admin-order-link {
    color: #67e8f9;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.admin-order-details-panel {
    grid-column: 1;
    max-height: 240px;
    overflow: auto;
}

.admin-order-details-grid,
.admin-order-detail-row {
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 1120px) {
    .admin-order-status-select {
        grid-column: 1 / -1;
    }
}

.admin-refund-item,
.admin-commission-item,
.refund-admin-list-column,
.commission-admin-list-column {
    min-width: 0;
}

@media (max-width: 760px) {
    .admin-order-card {
        min-height: auto;
        max-height: none;
    }

    .admin-order-meta-row {
        grid-template-columns: 1fr;
    }

    .admin-pipeline-legend {
        grid-template-columns: 1fr;
    }

    .admin-commission-legend {
        font-size: 0.8rem;
    }

    .admin-commission-item {
        gap: 12px;
    }

    .admin-queue-meta-row {
        gap: 8px;
    }
}

@keyframes adminIdlePawNudge {
    0%, 86%, 100% {
        transform: translateY(0);
    }
    90% {
        transform: translateY(-1.5px);
    }
    94% {
        transform: translateY(0.8px);
    }
}

@keyframes huskysSkyShift {
    0% {
        background-position: 0% 0%, 100% 0%, 100% 100%, 50% 50%, 0% 0%;
    }
    100% {
        background-position: 10% 8%, 92% 6%, 88% 94%, 58% 46%, 0% 0%;
    }
}

@keyframes huskysHuePulse {
    0%,
    100% {
        filter: saturate(1) brightness(1);
    }
    50% {
        filter: saturate(1.2) brightness(1.07);
    }
}

@keyframes queueStarGridDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(28px, 18px, 0);
    }
}

@keyframes queueStarfieldFloat {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes queueNebulaDrift {
    0% {
        transform: translate3d(-1%, -1%, 0) scale(1);
        opacity: 0.88;
    }
    100% {
        transform: translate3d(2.5%, 2%, 0) scale(1.06);
        opacity: 1;
    }
}

/* --- HOME CELESTIAL NAV CONSOLE OVERRIDES --- */

body[data-page="home"] .home-hero-shell {
    min-height: clamp(350px, 56vh, 500px);
    gap: clamp(10px, 1.6vh, 18px);
    max-width: 1220px;
    padding-top: clamp(8px, 2.2vh, 20px);
    display: grid;
    justify-items: center;
}

body[data-page="home"] .home-hero-shell::after {
    content: none;
    background: none;
}

body[data-page="home"] .home-hero-note {
    margin-bottom: 18px;
}

body[data-page="home"] .button-container-home.home-card-deck-shell {
    gap: 18px;
    max-width: 1120px;
    margin-top: clamp(-8px, 0.2vh, 4px);
    margin-bottom: clamp(0px, 0.6vh, 6px);
}

body[data-page="home"] .home-pro-shell {
    margin-top: 0;
}

body[data-page="home"] .home-hero-header {
    margin-bottom: clamp(2px, 0.9vh, 10px);
}

body[data-page="home"] .home-top-nav-strip {
    width: 240px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: fixed;
    top: calc(230px + var(--floating-top-offset, 0px));
    left: 26px;
    display: flex;
    justify-content: flex-start;
    z-index: 26;
}

body[data-page="home"] .home-top-nav {
    gap: 4px;
}

.celestial-nav-console {
    position: relative;
    width: min(96vw, 1020px);
    box-sizing: border-box;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    padding: 16px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 14px;
    border-radius: 50px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    background: linear-gradient(135deg, rgba(20, 30, 50, 0.7), rgba(10, 15, 30, 0.8));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 18px 44px rgba(2, 8, 23, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -10px 24px rgba(6, 12, 24, 0.22), 0 0 15px rgba(0, 243, 255, 0.1);
    overflow: hidden;
    opacity: 1;
    pointer-events: auto;
    z-index: auto;
}

.celestial-nav-console::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 35%, rgba(125, 211, 252, 0.04) 65%, rgba(255, 255, 255, 0.01));
    pointer-events: none;
}

.celestial-nav-console::after {
    content: '';
    position: absolute;
    top: -20%;
    bottom: -20%;
    left: -24%;
    width: 28%;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0), rgba(0, 243, 255, 0.14), rgba(255, 255, 255, 0.1), rgba(0, 243, 255, 0));
    opacity: 0;
    transform: skewX(-18deg) translateX(0);
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.celestial-nav-console:hover::after,
.celestial-nav-console:focus-within::after {
    opacity: 1;
    animation: celestialConsoleSweep 1.35s ease forwards;
}

.celestial-nav-console .nav-item {
    box-sizing: border-box;
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 80px;
    padding: 18px 24px;
    border-radius: 999px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(234, 245, 255, 0.84);
    font-family: 'Fredoka', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.16);
    transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease;
    border: 1px solid transparent;
}

.celestial-nav-console .nav-item.secondary-action {
    opacity: 0.82;
    font-size: 1rem;
    min-height: 72px;
}

.celestial-nav-console .nav-item.primary-action {
    background: linear-gradient(140deg, rgba(9, 102, 145, 0.55), rgba(17, 139, 166, 0.4));
    border-color: rgba(103, 232, 249, 0.28);
    color: #f8fdff;
    font-size: 1.2rem;
    box-shadow: inset 0 0 16px rgba(34, 211, 238, 0.08), 0 0 20px rgba(34, 211, 238, 0.18);
}

.home-cta-proof-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-urgency-badge {
    margin: 0;
    min-width: 230px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    border: 1px solid rgba(251, 191, 36, 0.5);
    background: linear-gradient(145deg, rgba(69, 39, 12, 0.44), rgba(44, 32, 13, 0.3));
    color: #fef3c7;
    font-size: 0.86rem;
    padding: 8px 12px;
}

.home-urgency-badge strong {
    color: #fde68a;
    font-weight: 700;
}

.home-final-cta-pricing-link {
    display: none;
    border: 0;
    background: transparent;
    color: #9dd9ff;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.94rem;
    text-decoration: underline;
    text-decoration-color: rgba(157, 217, 255, 0.45);
    text-underline-offset: 3px;
    justify-self: center;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.home-final-cta-pricing-link:hover,
.home-final-cta-pricing-link:focus-visible {
    color: #d6eeff;
    text-decoration-color: rgba(214, 238, 255, 0.82);
}

.home-final-cta-pricing-link:focus-visible {
    outline: 2px solid rgba(103, 232, 249, 0.65);
    outline-offset: 4px;
    border-radius: 8px;
}

.home-availability-snapshot {
    box-sizing: border-box;
    max-width: 100%;
    width: min(96vw, 920px);
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 14px;
    padding: 10px;
    background: linear-gradient(160deg, rgba(9, 19, 39, 0.46), rgba(8, 19, 34, 0.3));
}

.home-availability-snapshot-kicker {
    margin: 0 0 8px;
    text-align: center;
    color: #c7d2fe;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-availability-snapshot-slot-note {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.slot-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.4);
    color: #dbeafe;
    font-size: 0.78rem;
    padding: 6px 10px;
}

.slot-chip.is-open {
    border-color: rgba(52, 211, 153, 0.5);
}

.slot-chip.is-limited {
    border-color: rgba(251, 191, 36, 0.55);
}

.slot-chip.is-closed {
    border-color: rgba(248, 113, 113, 0.58);
}

.availability-snapshot-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.availability-snapshot-day {
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 7px 5px;
    text-align: center;
    display: grid;
    gap: 2px;
    background: rgba(15, 23, 42, 0.34);
}

.availability-snapshot-name {
    color: #cbd5e1;
    font-size: 0.74rem;
}

.availability-snapshot-state {
    color: #e2e8f0;
    font-size: 0.77rem;
    font-weight: 600;
}

.availability-snapshot-day.is-open {
    border-color: rgba(52, 211, 153, 0.5);
}

.availability-snapshot-day.is-limited {
    border-color: rgba(251, 191, 36, 0.55);
}

.availability-snapshot-day.is-closed {
    border-color: rgba(248, 113, 113, 0.58);
}

.celestial-nav-console .nav-item:hover,
.celestial-nav-console .nav-item:focus-visible {
    background: rgba(0, 243, 255, 0.1);
    color: #ffffff;
    border-color: rgba(160, 242, 255, 0.18);
    box-shadow: inset 0 0 16px rgba(0, 243, 255, 0.08), 0 0 20px rgba(0, 243, 255, 0.12);
    transform: translateY(-1px);
}

.celestial-nav-console .nav-item:focus-visible {
    outline: none;
}

.nav-item__icon,
.nav-item__label {
    display: inline-flex;
    align-items: center;
}

.nav-item__icon {
    font-size: 1.35rem;
    line-height: 1;
}

.nav-item__label {
    justify-content: center;
}

@keyframes celestialConsoleSweep {
    0% {
        opacity: 0;
        transform: skewX(-18deg) translateX(0);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: skewX(-18deg) translateX(460%);
    }
}

@media (max-width: 768px) {
    body[data-page="home"] .home-hero-shell {
        min-height: 0;
        gap: 14px;
        display: grid;
        justify-content: start;
        justify-items: center;
    }

    body[data-page="home"] .button-container-home.home-card-deck-shell {
        gap: 14px;
        margin-top: 0;
        margin-bottom: 16px;
    }

    body[data-page="home"] .home-hero-header,
    body[data-page="home"] .home-hero-note,
    body[data-page="home"] .button-container-home.home-card-deck-shell,
    body[data-page="home"] .home-cta-proof-row,
    body[data-page="home"] .home-availability-snapshot,
    body[data-page="home"] .celestial-nav-console {
        box-sizing: border-box;
        width: min(calc(100vw - 16px), 100%);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    body[data-page="home"] .home-hero-header {
        margin-bottom: 12px;
    }

    body[data-page="home"] .home-hero-header h1 {
        font-size: clamp(2.1rem, 10vw, 3.2rem);
        line-height: 1.1;
    }

    body[data-page="home"] .home-hero-header h2 {
        font-size: clamp(1.1rem, 4.6vw, 1.5rem);
        margin-bottom: 10px;
    }

    body[data-page="home"] .home-hero-note {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .home-proof-badge {
        width: 100%;
    }

    .home-featured-review-card {
        padding: 16px 14px;
    }

    body[data-page="home"] .home-top-nav-strip {
        width: 100%;
        max-width: 430px;
        position: static;
        top: auto;
        left: auto;
        order: 99;
        margin: 28px auto 8px;
        padding: 0 14px 16px;
        z-index: auto;
    }

    body[data-page="home"] .home-top-nav {
        border-radius: 14px;
        padding: 10px 12px;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        overflow: visible;
        gap: 9px;
        background: linear-gradient(160deg, rgba(8, 16, 34, 0.28), rgba(8, 20, 40, 0.2));
        border: 1px solid rgba(177, 210, 255, 0.2);
        box-shadow: 0 8px 16px rgba(2, 8, 23, 0.16);
        backdrop-filter: blur(4px);
    }

    body[data-page="home"] .home-top-link {
        width: 100%;
        white-space: normal;
        font-size: 0.86rem;
        min-height: 44px;
        padding: 11px 12px;
        text-align: center;
        border-radius: 10px;
        border: 1px solid rgba(143, 164, 187, 0.3);
        background: rgba(143, 164, 187, 0.1);
        color: #e2edf8;
    }

    body[data-page="home"] .home-top-link:hover {
        transform: none;
        background: rgba(143, 164, 187, 0.16);
        border-color: rgba(143, 164, 187, 0.42);
    }

    .celestial-nav-console {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: min(calc(100vw - 16px), 640px);
        flex-direction: column;
        align-items: stretch;
        border-radius: 26px;
        padding: 10px;
        gap: 8px;
    }

    .celestial-nav-console .nav-item {
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
        justify-content: center;
        min-height: 56px;
        padding: 10px 14px;
        gap: 8px;
        font-size: 1rem;
        line-height: 1.2;
    }

    .home-urgency-badge {
        min-width: 0;
        width: 100%;
    }

    .home-final-cta-pricing-link {
        display: inline-block;
    }

    .home-availability-snapshot {
        box-sizing: border-box;
        max-width: 100%;
        width: 100%;
    }

    .preorder-guide-grid {
        grid-template-columns: 1fr;
    }

    .form-draft-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-draft-banner__status {
        text-align: left;
    }

    .availability-snapshot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .celestial-nav-console .nav-item .nav-item__icon {
        font-size: 1.15rem;
    }
}

/* --- Home polish sweep (safe visual overrides) --- */
body[data-page="home"] .home-hero-header h1 {
    font-family: 'Starborn', 'Fredoka', sans-serif;
    letter-spacing: 0.02em;
    text-wrap: balance;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.36), 0 0 18px rgba(63, 216, 255, 0.16);
}

body[data-page="home"] .home-hero-header h2 {
    font-weight: 700;
    letter-spacing: 0.045em;
    color: #f3f9ff;
}

body[data-page="home"] .home-hero-note {
    max-width: 840px;
    color: #dbe9f8;
    font-size: 1.04rem;
    line-height: 1.72;
    text-wrap: pretty;
}

body[data-page="home"] .celestial-nav-console .nav-item {
    color: #eef7ff;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(171, 221, 255, 0.14);
    text-shadow: 0 2px 10px rgba(2, 8, 23, 0.45);
}

body[data-page="home"] .celestial-nav-console .nav-item.secondary-action {
    opacity: 1;
    background: linear-gradient(140deg, rgba(16, 30, 54, 0.72), rgba(10, 22, 42, 0.7));
}

body[data-page="home"] .celestial-nav-console .nav-item.primary-action {
    background: linear-gradient(140deg, rgba(12, 113, 158, 0.62), rgba(20, 146, 175, 0.52));
    border-color: rgba(136, 242, 255, 0.34);
    box-shadow: inset 0 0 20px rgba(34, 211, 238, 0.1), 0 0 22px rgba(34, 211, 238, 0.2);
}

body[data-page="home"] .celestial-nav-console .nav-item:hover,
body[data-page="home"] .celestial-nav-console .nav-item:focus-visible {
    background: linear-gradient(140deg, rgba(20, 54, 84, 0.74), rgba(12, 33, 56, 0.72));
    border-color: rgba(178, 243, 255, 0.32);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    body[data-page="home"] .home-hero-shell {
        gap: 16px;
    }

    body[data-page="home"] .home-hero-header {
        margin-bottom: 14px;
    }

    body[data-page="home"] .home-hero-header h1 {
        font-size: clamp(2.2rem, 10.4vw, 3.35rem);
        line-height: 1.08;
    }

    body[data-page="home"] .home-hero-header h2 {
        font-size: clamp(1.08rem, 4.7vw, 1.45rem);
    }

    body[data-page="home"] .home-hero-note {
        font-size: 0.98rem;
        line-height: 1.68;
        margin-bottom: 10px;
        padding: 0 8px;
    }

    body[data-page="home"] .button-container-home.home-card-deck-shell {
        gap: 16px;
        margin-bottom: 18px;
    }
}

@keyframes queueAuroraDriftA {
    0% {
        transform: translate3d(-1%, -1%, 0) rotate(-3deg) scale(1);
        opacity: 0.38;
    }
    100% {
        transform: translate3d(9%, 7%, 0) rotate(4deg) scale(1.1);
        opacity: 0.58;
    }
}

@keyframes queueAuroraDriftB {
    0% {
        transform: translate3d(1%, -1%, 0) rotate(2deg) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate3d(-11%, 8%, 0) rotate(-3deg) scale(1.09);
        opacity: 0.52;
    }
}

@keyframes queueCometSweep {
    0%,
    100% {
        opacity: 0;
        transform: rotate(32deg) translate3d(-22px, -10px, 0);
    }
    8% {
        opacity: 0.88;
    }
    18% {
        opacity: 0.62;
        transform: rotate(32deg) translate3d(118px, 98px, 0);
    }
    26% {
        opacity: 0;
        transform: rotate(32deg) translate3d(150px, 124px, 0);
    }
}

/* --- CARE GUIDE MODAL --- */
#care-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 120000;
}

#care-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.care-modal-card {
    width: min(640px, calc(100vw - 28px));
    background: #0a0f1e;
    border: 1px solid rgba(125, 211, 252, 0.36);
    box-shadow: 0 18px 42px rgba(2, 8, 23, 0.48), 0 0 26px rgba(125, 92, 255, 0.16);
    border-radius: 18px;
    padding: 20px 20px 18px;
    transform: scale(0.96);
    transition: transform 0.28s ease, opacity 0.28s ease;
    opacity: 0;
    position: relative;
}

#care-modal.active .care-modal-card {
    transform: scale(1);
    opacity: 1;
}

.care-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #dbeafe;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.care-modal-close:hover {
    color: #ffffff;
}

#careModalTitle {
    margin: 0 28px 12px 0;
    color: #f8fbff;
    font-size: 1.35rem;
    text-align: left;
}

.care-modal-list {
    margin: 0;
    padding-left: 20px;
    text-align: left;
    display: grid;
    gap: 10px;
    color: #d2dff0;
}

.care-modal-list li {
    line-height: 1.55;
}

.form-warning-card {
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    background: linear-gradient(150deg, rgba(54, 34, 10, 0.42), rgba(40, 24, 8, 0.28));
}

.form-warning-card__head {
    display: grid;
    gap: 5px;
    margin-bottom: 10px;
}

.form-warning-card__head h3 {
    margin: 0;
    color: #fff7db;
    font-size: 1.02rem;
}

.form-warning-card__head p {
    margin: 0;
    color: #f8e7b0;
    font-size: 0.88rem;
}

.form-warning-list {
    margin: 0;
    padding-left: 18px;
    color: #fde68a;
    display: grid;
    gap: 6px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.form-wizard-progress {
    margin: 0 0 16px;
    display: grid;
    gap: 10px;
    width: 100%;
}

.form-wizard-progress__meta {
    display: grid;
    gap: 6px;
    justify-items: flex-start;
    width: 100%;
}

.form-wizard-progress__step {
    color: #9cc3d0;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.form-wizard-progress__title {
    color: #f0f9ff;
    font-size: 0.96rem;
    line-height: 1.25;
}

.form-wizard-progress__bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.12);
    overflow: hidden;
}

.form-wizard-progress__bar span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.9), rgba(168, 85, 247, 0.9));
    transition: width 0.24s ease;
}

.form-wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
}

.form-wizard-nav.is-first-step {
    justify-content: flex-end;
}

.form-wizard-nav.is-final-step {
    justify-content: flex-start;
}

.form-wizard-nav .nav-btn {
    min-width: 120px;
}

@media (max-width: 560px) {
    .admin-order-finance-grid {
        grid-template-columns: 1fr;
    }
    .admin-order-finance-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .admin-payment-tracker-row .admin-order-finance-grid {
        grid-template-columns: 1fr;
    }
    .admin-payment-tracker-row .admin-payment-deposit-toggle,
    .admin-payment-tracker-row .admin-order-finance-field[for^="lopside-deposit-amount-"] {
        grid-column: 1;
    }
    .admin-order-finance-actions,
    .admin-order-finance-actions--payment {
        justify-content: stretch;
    }
    .admin-order-finance-actions .admin-btn-edit {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 1180px) {
    .commission-admin-form-column .admin-inline-collapsible-body,
    .refund-admin-form-column .admin-inline-collapsible-body {
        grid-template-columns: 1fr;
    }

    .admin-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .admin-header-actions .nav-btn {
        flex: 1 1 180px;
    }

    .admin-quick-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-queue-actions {
        justify-content: flex-start;
        gap: 6px;
    }

    .admin-queue-actions button {
        flex: 1 1 140px;
    }

    .admin-commission-item .admin-queue-actions {
        grid-template-columns: 1fr;
    }

    .admin-list-header-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Admin overflow hardening: keep long IDs/text inside boxes across cards and lists */
#adminDashboardView .admin-card,
#adminDashboardView .admin-chart-card,
#adminDashboardView .admin-overview-card,
#adminDashboardView .admin-refund-item,
#adminDashboardView .admin-commission-item,
#adminDashboardView .admin-activity-item,
#adminDashboardView .admin-reviews-card,
#adminDashboardView .admin-comments-card,
#adminDashboardView .admin-list-header-actions,
#adminDashboardView .admin-queue-actions {
    min-width: 0;
}

#adminDashboardView .admin-card-title,
#adminDashboardView .admin-card-subtitle,
#adminDashboardView .admin-overview-label,
#adminDashboardView .admin-overview-value,
#adminDashboardView .admin-overview-group,
#adminDashboardView .admin-activity-label,
#adminDashboardView .admin-activity-description,
#adminDashboardView .admin-queue-meta-pill,
#adminDashboardView .admin-list-count-badge,
#adminDashboardView .admin-order-detail-row,
#adminDashboardView .admin-review-body,
#adminDashboardView .admin-comment-body,
#adminDashboardView .admin-reply-item,
#adminDashboardView .admin-diagnostics-grid,
#adminDashboardView .admin-detail {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

#adminDashboardView .admin-queue-actions > button,
#adminDashboardView .admin-btn-edit,
#adminDashboardView .admin-btn-delete,
#adminDashboardView .admin-btn-save,
#adminDashboardView .admin-btn-publish,
#adminDashboardView .admin-side-link,
#adminDashboardView .admin-review-filter-btn,
#adminDashboardView .admin-comment-filter-btn {
    white-space: normal;
    line-height: 1.25;
}

#adminDashboardView .admin-input,
#adminDashboardView .admin-textarea,
#adminDashboardView .admin-label {
    min-width: 0;
    max-width: 100%;
}

#adminDashboardView .admin-alert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}

#adminDashboardView .admin-alert-item {
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 12px;
    padding: 10px;
    background: rgba(8, 15, 30, 0.62);
}

#adminDashboardView .admin-alert-item.is-amber {
    border-color: rgba(245, 158, 11, 0.42);
}

#adminDashboardView .admin-alert-item.is-purple {
    border-color: rgba(167, 139, 250, 0.44);
}

#adminDashboardView .admin-alert-item.is-red {
    border-color: rgba(248, 113, 113, 0.44);
}

#adminDashboardView .admin-alert-item.is-green {
    border-color: rgba(74, 222, 128, 0.38);
}

#adminDashboardView .admin-alert-title {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a6c4df;
}

#adminDashboardView .admin-alert-value {
    display: block;
    margin-top: 6px;
    font-size: 1.35rem;
    line-height: 1;
    color: #f8fdff;
}

#adminDashboardView .admin-alert-detail {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: #b7cade;
}

#adminDashboardView .admin-reminder-center {
    display: grid;
    gap: 10px;
}

#adminDashboardView .admin-reminder-item {
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 12px;
    padding: 10px;
    background: linear-gradient(160deg, rgba(7, 16, 32, 0.92), rgba(5, 12, 24, 0.88));
}

#adminDashboardView .admin-reminder-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

#adminDashboardView .admin-reminder-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(129, 140, 248, 0.34);
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 0.72rem;
    color: #dbeafe;
}

#adminDashboardView .admin-reminder-item h4 {
    margin: 0;
    color: #f5fbff;
}

#adminDashboardView .admin-reminder-item p {
    margin: 4px 0;
}

#adminDashboardView .admin-reminder-amount {
    color: #67e8f9;
    font-weight: 600;
}

#adminDashboardView .admin-reminder-actions {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#adminDashboardView .admin-orders-toolbar {
    position: sticky;
    top: 8px;
    z-index: 5;
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: 12px;
    background: rgba(6, 14, 28, 0.82);
    backdrop-filter: blur(6px);
}

#adminDashboardView .admin-filters--chips {
    margin: 0;
}

#adminDashboardView .admin-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

#adminDashboardView .admin-bulk-actions .admin-input {
    width: min(240px, 100%);
}

#adminDashboardView .admin-order-select-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #a7c9e7;
    font-size: 0.78rem;
    margin-right: auto;
}

#adminDashboardView .admin-order-select-wrap input {
    accent-color: #22d3ee;
}

@media (max-width: 780px) {
    #adminDashboardView .admin-orders-toolbar {
        position: static;
    }

    #adminDashboardView .admin-bulk-actions .admin-input {
        width: 100%;
    }
}

.skip-link {
    position: fixed;
    top: 14px;
    left: 14px;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(8, 13, 31, 0.96);
    color: #f8fafc;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
    z-index: 140000;
    transition: transform 180ms ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
}

.site-guide-launcher {
    display: none;
    position: fixed;
    right: 18px;
    top: calc(84px + env(safe-area-inset-top, 0px));
    bottom: auto;
    z-index: 100001;
    border: 1px solid rgba(125, 211, 252, 0.28);
    border-radius: 999px;
    padding: 12px 16px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.95), rgba(76, 29, 149, 0.9));
    box-shadow: 0 16px 32px rgba(2, 8, 23, 0.34);
}

body[data-page="home"] .site-guide-launcher,
body[data-page="preorder"] .site-guide-launcher,
body[data-page="gallery"] .site-guide-launcher,
body[data-page="pricing"] .site-guide-launcher,
body[data-page="reviews"] .site-guide-launcher,
body[data-page="contact"] .site-guide-launcher,
body[data-page="socials"] .site-guide-launcher,
body[data-page="status"] .site-guide-launcher,
body[data-page="discord"] .site-guide-launcher,
body[data-page="announcements"] .site-guide-launcher,
body[data-page="tos"] .site-guide-launcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body[data-page="home"] .site-guide-launcher {
    top: calc(84px + env(safe-area-inset-top, 0px));
    right: 18px;
    bottom: auto;
}

.guided-tour-host {
    position: fixed;
    inset: 0;
    z-index: 130000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 220ms ease;
}

.guided-tour-host.is-active {
    opacity: 1;
}

.guided-tour-scrim {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.26);
}

.guided-tour-spotlight {
    position: fixed;
    border-radius: 22px;
    border: 2px solid rgba(125, 211, 252, 0.92);
    box-shadow: 0 0 0 9999px rgba(2, 6, 23, 0.42), 0 0 0 6px rgba(14, 165, 233, 0.08);
    will-change: left, top, width, height, opacity;
    transition: left 280ms cubic-bezier(0.22, 1, 0.36, 1), top 280ms cubic-bezier(0.22, 1, 0.36, 1), width 280ms cubic-bezier(0.22, 1, 0.36, 1), height 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.guided-tour-card {
    position: fixed;
    width: min(360px, calc(100vw - 24px));
    left: 50%;
    bottom: 24px;
    padding: 18px 18px 16px;
    border-radius: 24px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: linear-gradient(180deg, rgba(10, 18, 38, 0.98), rgba(15, 23, 42, 0.96));
    color: #f8fafc;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.28);
    pointer-events: auto;
    transform: translateX(calc(-50% + var(--guided-tour-card-shift, 0px)));
    will-change: opacity, transform;
    transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.guided-tour-arrow {
    content: '';
    position: absolute;
    left: var(--guided-tour-arrow-left, 50%);
    width: var(--guided-tour-arrow-length, 120px);
    height: 18px;
    pointer-events: none;
    overflow: visible;
    transform-origin: 0 50%;
    transform: rotate(var(--guided-tour-arrow-angle, 90deg));
    z-index: 0;
    animation: guidedTourArrowBreath 2.4s ease-in-out infinite;
}

.guided-tour-arrow::before,
.guided-tour-arrow::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.guided-tour-arrow::before {
    left: 0;
    width: calc(100% - 14px);
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, 0.88) 14%, rgba(255, 255, 255, 0.98) 52%, rgba(125, 211, 252, 0.88) 86%, rgba(125, 211, 252, 0));
    box-shadow: 0 0 12px rgba(103, 232, 249, 0.52), 0 0 2px rgba(15, 23, 42, 0.85);
    animation: guidedTourArrowGlow 2.4s ease-in-out infinite;
}

.guided-tour-arrow::after {
    right: 0;
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 38% 35%, rgba(255, 255, 255, 1) 0 26%, rgba(196, 244, 255, 0.96) 27% 54%, rgba(125, 211, 252, 0.98) 55% 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%, 34% 50%);
    filter: drop-shadow(0 0 12px rgba(103, 232, 249, 0.5)) drop-shadow(0 0 2px rgba(15, 23, 42, 0.9));
    animation: guidedTourArrowTip 2.4s ease-in-out infinite;
}

.guided-tour-card[data-side="top"] .guided-tour-arrow {
    bottom: -16px;
}

.guided-tour-card[data-side="bottom"] .guided-tour-arrow {
    top: -16px;
}

.guided-tour-host.is-transitioning .guided-tour-arrow {
    opacity: 0.96;
}

@keyframes guidedTourArrowBreath {
    0%, 100% {
        opacity: 0.88;
        filter: saturate(1.04);
    }
    50% {
        opacity: 1;
        filter: saturate(1.14);
    }
}

@keyframes guidedTourArrowGlow {
    0%, 100% {
        transform: translateY(-50%) scaleX(0.985);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-50%) scaleX(1.015);
        opacity: 1;
    }
}

@keyframes guidedTourArrowTip {
    0%, 100% {
        transform: translateY(-50%) rotate(0deg) scale(0.96);
    }
    50% {
        transform: translateY(-50%) rotate(4deg) scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .guided-tour-arrow,
    .guided-tour-arrow::before,
    .guided-tour-arrow::after {
        animation: none !important;
    }
}

.guided-tour-host.is-transitioning .guided-tour-card {
    opacity: 0.97;
    transform: translateX(calc(-50% + var(--guided-tour-card-shift, 0px))) translateY(4px) scale(0.992);
}

.guided-tour-host.is-transitioning .guided-tour-spotlight {
    opacity: 0.62;
}

.guided-tour-host.is-following-scroll .guided-tour-spotlight,
.guided-tour-host.is-following-scroll .guided-tour-card {
    transition: none;
}

.section-reveal {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(1px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 700ms ease;
    will-change: opacity, transform, filter;
}

.section-reveal.is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
}

@keyframes sectionRevealRise {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
        filter: blur(1px);
    }
    to {
        opacity: 1;
        transform: none;
        filter: none;
    }
}

body[data-page="home"] .home-hero-shell,
body[data-page="home"] .home-pro-intro,
body[data-page="home"] .home-pro-card,
body[data-page="home"] .home-trust-head,
body[data-page="home"] .home-trust-card,
body[data-page="home"] .home-featured-review-card,
body[data-page="home"] .home-final-cta-shell,
body[data-page="preorder"] .preorder-card > * {
    animation: sectionRevealRise 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

body[data-page="home"] .home-hero-shell { animation-delay: 0ms; }
body[data-page="home"] .home-pro-intro { animation-delay: 70ms; }
body[data-page="home"] .home-pro-card:nth-of-type(1) { animation-delay: 130ms; }
body[data-page="home"] .home-pro-card:nth-of-type(2) { animation-delay: 190ms; }
body[data-page="home"] .home-trust-head { animation-delay: 250ms; }
body[data-page="home"] .home-trust-card:nth-of-type(1) { animation-delay: 320ms; }
body[data-page="home"] .home-trust-card:nth-of-type(2) { animation-delay: 390ms; }
body[data-page="home"] .home-trust-card:nth-of-type(3) { animation-delay: 460ms; }
body[data-page="home"] .home-trust-card:nth-of-type(4) { animation-delay: 530ms; }
body[data-page="home"] .home-featured-review-card { animation-delay: 600ms; }
body[data-page="home"] .home-final-cta-shell { animation-delay: 670ms; }
body[data-page="preorder"] .preorder-guide-shell { animation-delay: 70ms; }
body[data-page="preorder"] .preorder-prep-shell { animation-delay: 140ms; }
body[data-page="preorder"] .preorder-section-grid { animation-delay: 210ms; }
body[data-page="preorder"] .preorder-back-btn { animation-delay: 280ms; }

body.guided-tour-active .home-hero-shell,
body.guided-tour-active .home-pro-intro,
body.guided-tour-active .home-pro-card,
body.guided-tour-active .home-trust-head,
body.guided-tour-active .home-trust-card,
body.guided-tour-active .home-featured-review-card,
body.guided-tour-active .home-final-cta-shell,
body.guided-tour-active .preorder-card > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

body.guided-tour-active .section-reveal,
body.guided-tour-active .section-reveal.is-revealed {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
}

.guided-tour-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: rgba(248, 250, 252, 0.88);
    font-size: 1.5rem;
}

.guided-tour-progress {
    margin: 0 0 6px;
    color: #7dd3fc;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.guided-tour-title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    line-height: 1.2;
}

.guided-tour-body {
    margin: 0;
    color: rgba(226, 232, 240, 0.95);
    line-height: 1.55;
}

.guided-tour-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}

.guided-tour-btn {
    border-radius: 999px;
    padding: 10px 14px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

.guided-tour-btn-secondary {
    background: rgba(15, 23, 42, 0.8);
    color: #f8fafc;
}

.guided-tour-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #ec4899);
    color: #fff;
}

.guided-tour-btn:disabled {
    opacity: 0.45;
}

.guided-tour-target {
    outline: 3px solid rgba(125, 211, 252, 0.95);
    outline-offset: 5px;
    box-shadow: 0 0 0 10px rgba(14, 165, 233, 0.12);
}

body.guided-tour-active #backToTopBtn,
body.guided-tour-active #stickyPreorderCtaBtn,
body.guided-tour-active #siteGuideLauncher,
body.guided-tour-active #globalMusicBtn,
body.guided-tour-active #footerCredit {
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
}

body.guided-tour-active[data-guided-tour-step="home-start"] .home-top-nav-strip,
body.guided-tour-active[data-guided-tour-step="home-gallery"] .home-top-nav-strip,
body.guided-tour-active[data-guided-tour-step="home-preorder"] .home-top-nav-strip,
body.guided-tour-active[data-guided-tour-step="preorder-launcher"] .home-top-nav-strip,
body.guided-tour-active[data-guided-tour-step="preorder-pricing"] .home-top-nav-strip,
body.guided-tour-active[data-guided-tour-step="preorder-status"] .home-top-nav-strip,
body.guided-tour-active[data-guided-tour-step="preorder-forms"] .home-top-nav-strip {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .guided-tour-card {
        width: min(342px, calc(100vw - 14px));
        padding: 14px 14px 12px;
        border-radius: 18px;
    }

    .guided-tour-progress {
        margin-bottom: 4px;
        font-size: 0.74rem;
    }

    .guided-tour-title {
        font-size: 1.12rem;
        margin-bottom: 6px;
    }

    .guided-tour-body {
        font-size: 0.96rem;
        line-height: 1.45;
    }

    .guided-tour-actions {
        margin-top: 12px;
        gap: 8px;
    }

    .guided-tour-btn {
        padding: 8px 12px;
        min-height: 40px;
    }

    body[data-page="home"] .site-guide-launcher,
    .site-guide-launcher {
        top: calc(78px + env(safe-area-inset-top, 0px));
        left: 14px;
        right: auto;
        bottom: auto;
    }

    body.guided-tour-active:is([data-guided-tour-step="home-tos"], [data-guided-tour-step="home-socials"], [data-guided-tour-step="home-reviews"]) .home-top-nav-strip {
        opacity: 1;
        pointer-events: auto;
        z-index: 130001;
    }

    body.guided-tour-active:is([data-guided-tour-step="home-tos"], [data-guided-tour-step="home-socials"], [data-guided-tour-step="home-reviews"]) .home-top-nav {
        background: rgba(9, 19, 39, 0.94);
        border-color: rgba(177, 210, 255, 0.42);
        box-shadow: 0 14px 28px rgba(2, 8, 23, 0.28);
    }

    body.guided-tour-active:is([data-guided-tour-step="home-tos"], [data-guided-tour-step="home-socials"], [data-guided-tour-step="home-reviews"]) .home-top-link {
        opacity: 1;
        color: #f8fbff;
        background: rgba(143, 164, 187, 0.18);
        border-color: rgba(179, 217, 255, 0.48);
    }
}

@media (max-height: 820px) {
    body.guided-tour-active:is([data-guided-tour-step="home-tos"], [data-guided-tour-step="home-socials"], [data-guided-tour-step="home-reviews"]) .home-top-nav-strip {
        opacity: 1 !important;
        pointer-events: auto;
        z-index: 130001;
    }

    body.guided-tour-active:is([data-guided-tour-step="home-tos"], [data-guided-tour-step="home-socials"], [data-guided-tour-step="home-reviews"]) .home-top-nav {
        background: rgba(9, 19, 39, 0.96);
        border: 1px solid rgba(177, 210, 255, 0.42);
        box-shadow: 0 14px 28px rgba(2, 8, 23, 0.34);
        backdrop-filter: none;
    }

    body.guided-tour-active:is([data-guided-tour-step="home-tos"], [data-guided-tour-step="home-socials"], [data-guided-tour-step="home-reviews"]) .home-top-link {
        opacity: 1 !important;
        color: #f8fbff;
        background: rgba(143, 164, 187, 0.22);
        border-color: rgba(179, 217, 255, 0.52);
        text-shadow: none;
    }
}

/* Accessibility + performance sweep */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-item:focus-visible,
.home-top-link:focus-visible,
.home-secondary-btn:focus-visible,
.preorder-btn:focus-visible {
    outline: 2px solid rgba(103, 232, 249, 0.95);
    outline-offset: 3px;
    box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.25);
}

@media (max-width: 390px) {
    body[data-page="home"] .home-hero-shell {
        padding-top: 0 !important;
        gap: 8px !important;
        margin-bottom: 28px;
    }

    body[data-page="home"] .home-hero-header h1 {
        font-size: clamp(2rem, 11vw, 2.8rem);
        line-height: 1.1;
    }

    body[data-page="home"] .home-hero-header h2 {
        font-size: clamp(0.98rem, 5.1vw, 1.22rem);
        letter-spacing: 0.03em;
    }

    body[data-page="home"] .home-hero-note {
        font-size: 0.92rem;
        line-height: 1.58;
        padding: 0 10px;
        margin-bottom: 6px;
    }

    body[data-page="home"] .celestial-nav-console {
        width: min(calc(100vw - 16px), 620px);
        padding: 9px;
        gap: 7px;
        border-radius: 22px;
    }

    body[data-page="home"] .celestial-nav-console .nav-item {
        min-height: 52px;
        font-size: 0.94rem;
        padding: 9px 12px;
    }

    body[data-page="home"] .celestial-nav-console .nav-item .nav-item__icon {
        font-size: 1.05rem;
    }

    body.guided-tour-active[data-guided-tour-step="home-start"] .home-hero-header h1.guided-tour-target {
        outline: none;
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .star.decorative,
    .star.interactive,
    .cosmic-shooting-star,
    .fluid-wave,
    .jumping-fish,
    .water-splash,
    .confetti {
        animation: none !important;
    }

    .skip-link,
    .guided-tour-spotlight,
    .guided-tour-card,
    .guided-tour-host,
    body.guided-tour-active #backToTopBtn,
    body.guided-tour-active #stickyPreorderCtaBtn,
    body.guided-tour-active #siteGuideLauncher,
    body.guided-tour-active #globalMusicBtn,
    body.guided-tour-active #footerCredit {
        transition: none !important;
    }
}

@media (max-width: 768px) {
    .site-guide-launcher {
        left: 14px;
        right: auto;
        top: calc(78px + env(safe-area-inset-top, 0px));
        bottom: auto;
        padding: 11px 14px;
        font-size: 0.9rem;
    }

    .guided-tour-card {
        bottom: 18px;
    }

    .guided-tour-actions {
        flex-wrap: wrap;
    }

    .guided-tour-btn {
        flex: 1 1 112px;
    }

    body[data-page="home"] .home-hero-shell {
        padding-top: 4px;
        gap: 10px;
    }

    body[data-page="home"] .home-hero-header {
        margin-bottom: 8px;
    }

    body[data-page="home"] .home-hero-note {
        margin-bottom: 10px;
    }
}

.public-reference-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.public-reference-card {
    border-radius: 14px;
    border: 1px solid rgba(106, 227, 255, 0.28);
    background: rgba(6, 10, 24, 0.72);
    box-shadow: 0 10px 20px rgba(2, 8, 22, 0.44);
    overflow: hidden;
}

.public-reference-card__media {
    display: block;
    width: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.public-reference-card__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.public-reference-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px;
}

.public-reference-card__status {
    border-radius: 999px;
    padding: 4px 9px;
    color: #091124;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.public-reference-card__order {
    color: #c8d9ea;
    font-size: 0.78rem;
    font-family: 'Fredoka', sans-serif;
}