:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', Arial, sans-serif; direction: ltr; background: #0b0f19; color: #f3f4f6; overflow-x: hidden; }
.glow-effect { box-shadow: 0 0 25px rgba(99,102,241,.3); }
.glow-button:hover { box-shadow: 0 0 20px rgba(168,85,247,.6); }
.card-glass { background: rgba(17,24,39,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.08); }
.command-code { direction:ltr; text-align:left; font-family:monospace; background:rgba(0,0,0,.4); padding:2px 6px; border-radius:4px; color:#a78bfa; display:inline-block; }
input, textarea, select { direction:ltr; text-align:left; }
button { cursor:pointer; }
button:disabled { opacity:.65; cursor:wait; }
.server-card { min-height:205px; }
#authModal { z-index:100; }
::selection { background:rgba(99,102,241,.45); color:white; }
@media(max-width:640px) { .server-card { min-height:190px; } }


/* Account dashboard */
.gradient-text {
    background: linear-gradient(90deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.account-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(139,92,246,.20), transparent 32%),
        linear-gradient(120deg, rgba(30,41,80,.92), rgba(17,24,39,.92));
    border: 1px solid rgba(129,140,248,.2);
    box-shadow: 0 20px 70px rgba(0,0,0,.18);
}
.rank-chip {
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 14px;
    color: #ddd6fe;
    background: rgba(139,92,246,.12);
    border: 1px solid rgba(139,92,246,.24);
    font-size: 12px;
    font-weight: 800;
}
.account-info-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(3,7,18,.35);
    border: 1px solid rgba(255,255,255,.055);
}
.info-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #a5b4fc;
    background: rgba(99,102,241,.12);
}
@media (max-width: 640px) {
    .account-info-row { padding: 13px; gap: 10px; }
    .account-info-row > span { display: none; }
}


/* Live activity - Coming Soon state */
.coming-soon-section { position: relative; isolation: isolate; }
.live-console-blurred-content { filter: blur(4px); opacity: .42; pointer-events: none; user-select: none; }
.coming-soon-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 32px 16px;
    background: radial-gradient(ellipse at center, rgba(11,15,25,.48) 0%, rgba(11,15,25,.72) 62%, rgba(11,15,25,.52) 100%);
    border-radius: 22px;
}
.coming-soon-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 14px; margin-bottom: 18px; border-radius: 999px;
    color: #c4b5fd; background: rgba(139,92,246,.14);
    border: 1px solid rgba(167,139,250,.3); font: 700 10px/1.2 monospace; letter-spacing: .2em;
}
.coming-soon-dot { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 12px #a78bfa; animation: comingSoonPulse 1.6s ease-in-out infinite; }
.coming-soon-title {
    font-family: 'Inter', Arial, sans-serif; direction: ltr; font-weight: 1000;
    font-size: clamp(2.5rem, 8vw, 5.7rem); line-height: 1.1; letter-spacing: .035em;
    color: #fff; text-shadow: 0 0 18px rgba(139,92,246,.75), 0 0 48px rgba(99,102,241,.48);
}
.coming-soon-caption { margin-top: 18px; color: #d1d5db; font-size: clamp(.8rem, 2vw, 1rem); }
@keyframes comingSoonPulse { 50% { opacity: .35; transform: scale(.78); } }

/* Survival status dashboard */
.status-hero{background:radial-gradient(circle at 12% 10%,rgba(139,92,246,.24),transparent 34%),linear-gradient(120deg,rgba(24,27,54,.96),rgba(13,18,31,.96));border:1px solid rgba(167,139,250,.18);box-shadow:0 20px 70px rgba(0,0,0,.22)}
.status-panel{background:linear-gradient(145deg,rgba(20,27,43,.92),rgba(13,18,30,.92));border:1px solid rgba(148,163,184,.12);border-radius:24px;box-shadow:0 18px 55px rgba(0,0,0,.16)}
.section-kicker{font:800 10px/1.4 monospace;letter-spacing:.22em;color:#a78bfa}
.status-pill{display:inline-flex;align-items:center;gap:10px;padding:11px 17px;border-radius:999px;background:rgba(100,116,139,.12);border:1px solid rgba(148,163,184,.18);font-size:12px;font-weight:800;color:#cbd5e1}
.status-dot{width:9px;height:9px;border-radius:50%;background:#94a3b8}.is-online{color:#6ee7b7;background:rgba(16,185,129,.09);border-color:rgba(16,185,129,.24)}.is-online .status-dot{background:#34d399;box-shadow:0 0 13px #34d399;animation:statusPulse 1.8s infinite}.is-offline{color:#fda4af;background:rgba(244,63,94,.08);border-color:rgba(244,63,94,.22)}.is-offline .status-dot{background:#fb7185}
@keyframes statusPulse{50%{opacity:.45;transform:scale(.8)}}
.uptime-ring{--progress:0;width:208px;height:208px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(from -90deg,#a78bfa calc(var(--progress)*1%),rgba(148,163,184,.12) 0);position:relative;filter:drop-shadow(0 0 22px rgba(139,92,246,.15));transition:background 1.2s ease}
.uptime-ring:before{content:"";position:absolute;inset:9px;border-radius:50%;background:#121827;border:1px solid rgba(255,255,255,.07)}.uptime-ring-inner{position:relative;display:flex;flex-direction:column;align-items:center;gap:7px}.uptime-ring-inner strong{font-size:35px;font-weight:1000;direction:ltr;color:#f5f3ff}.uptime-ring-inner span{font-size:11px;color:#9ca3af}
.mini-stat{padding:12px;border-radius:13px;background:rgba(2,6,23,.35);border:1px solid rgba(255,255,255,.05);display:flex;flex-direction:column;gap:5px}.mini-stat span{font-size:10px;color:#9ca3af}.mini-stat b{font-size:17px;color:#ddd6fe;direction:ltr}
.live-label{font:800 10px monospace;color:#6ee7b7;background:rgba(16,185,129,.08);border:1px solid rgba(16,185,129,.16);padding:7px 10px;border-radius:9px}
.metric-card{min-height:128px;padding:16px 12px;border-radius:16px;background:rgba(2,6,23,.36);border:1px solid rgba(255,255,255,.055);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.metric-card i{color:#a78bfa;font-size:17px}.metric-card span{font-size:11px;color:#9ca3af}.metric-card strong{font-size:25px;font-weight:900;color:#f5f3ff;direction:ltr}.metric-card small{font-size:9px;color:#64748b}
.chart-wrap{position:relative;min-height:150px;width:100%;overflow:hidden}.chart-wrap canvas{display:block;width:100%}.chart-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:25px;color:#64748b;font-size:12px;pointer-events:none}
.uptime-bars{display:flex;gap:4px;min-height:36px;align-items:stretch}.uptime-bar{flex:1;min-width:3px;border-radius:5px;background:#475569;transition:transform .2s,filter .2s}.uptime-bar:hover{transform:scaleY(1.18);filter:brightness(1.3)}.uptime-bar.up{background:linear-gradient(180deg,#34d399,#059669)}.uptime-bar.down{background:linear-gradient(180deg,#fb7185,#be123c)}.timeline-empty{width:100%;padding:12px;text-align:center;color:#64748b;font-size:12px}.legend-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-left:5px}
@media(max-width:640px){.uptime-ring{width:184px;height:184px}.metric-card{min-height:112px}.uptime-bars{gap:2px}}


/* Global navigation and page controls */
.footer-nav {
    display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
    gap:10px 22px; margin:0 auto 18px; padding:14px 10px;
    border-top:1px solid rgba(148,163,184,.12);
    border-bottom:1px solid rgba(148,163,184,.12);
}
.footer-nav a { color:#cbd5e1; font-size:13px; font-weight:700; transition:color .2s, transform .2s; }
.footer-nav a:hover { color:#a78bfa; transform:translateY(-2px); }
@media(max-width:640px) {
    .footer-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; text-align:center; }
    .footer-nav a { padding:7px 4px; background:rgba(99,102,241,.07); border-radius:9px; }
}

/* Server indicator: pulsing only after a real status response */
#mainServerIndicator { flex:0 0 auto; transition:background-color .2s, box-shadow .2s; }
#mainServerIndicator.is-online { background:#22c55e !important; animation:serverPulseGreen 1.35s ease-in-out infinite; }
#mainServerIndicator.is-offline { background:#ef4444 !important; animation:serverPulseRed 1.35s ease-in-out infinite; }
@keyframes serverPulseGreen {
  0%,100% { box-shadow:0 0 0 0 rgba(34,197,94,.65); opacity:1; }
  50% { box-shadow:0 0 0 7px rgba(34,197,94,0); opacity:.65; }
}
@keyframes serverPulseRed {
  0%,100% { box-shadow:0 0 0 0 rgba(239,68,68,.65); opacity:1; }
  50% { box-shadow:0 0 0 7px rgba(239,68,68,0); opacity:.65; }
}

/* Copy/select deterrent. Form fields remain usable. */
body.site-protection, body.site-protection *:not(input):not(textarea):not([contenteditable="true"]) {
  -webkit-user-select:none !important; user-select:none !important;
  -webkit-touch-callout:none;
}
#securityWarning {
  position:fixed; inset:0; z-index:99999; display:flex; align-items:center; justify-content:center;
  padding:22px; background:rgba(30,5,12,.22); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);
  pointer-events:none; opacity:0; transition:opacity .18s ease;
}
#securityWarning.visible { opacity:1; }
#securityWarning .security-warning-card {
  width:min(440px,100%); padding:25px 22px; text-align:center; border-radius:22px;
  background:rgba(69,10,22,.88); border:1px solid rgba(248,113,113,.65);
  box-shadow:0 20px 80px rgba(0,0,0,.55),0 0 35px rgba(239,68,68,.18);
  color:#fff; transform:translateY(12px) scale(.98); transition:transform .18s ease;
}
#securityWarning.visible .security-warning-card { transform:translateY(0) scale(1); }
#securityWarning .security-warning-icon {
  width:54px;height:54px;margin:0 auto 13px;border-radius:17px;display:grid;place-items:center;
  color:#fecaca;background:rgba(239,68,68,.18);font-size:24px;border:1px solid rgba(248,113,113,.35);
}
#securityWarning h3 {font-size:19px;font-weight:900;color:#fecaca;margin-bottom:8px;letter-spacing:.04em}
#securityWarning p {font-size:13px;line-height:1.8;color:#fee2e2}
#securityWarning .security-countdown {margin-top:12px;font-size:11px;color:#fca5a5;font-weight:800}
#backToTop {
  position:fixed; z-index:900; right:22px; bottom:22px; width:48px;height:48px;border-radius:16px;
  display:grid;place-items:center;color:white;background:linear-gradient(135deg,#4f46e5,#9333ea);
  border:1px solid rgba(255,255,255,.18);box-shadow:0 10px 30px rgba(79,70,229,.35);
  opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .25s,transform .25s,visibility .25s;
}
#backToTop.visible {opacity:1;visibility:visible;transform:translateY(0)}
#backToTop:hover {transform:translateY(-4px);box-shadow:0 14px 34px rgba(124,58,237,.5)}
@media(prefers-reduced-motion:reduce) {
  #backToTop, #securityWarning, #securityWarning .security-warning-card {transition:none}
  #mainServerIndicator.is-online,#mainServerIndicator.is-offline {animation:none}
}


/* Responsive navigation: desktop stays in one row; phones get a clean second row. */
.site-header-inner { min-height:80px; flex-wrap:nowrap; }
.site-main-nav { display:flex !important; align-items:center; white-space:nowrap; }
.site-main-nav a { transition:color .2s ease; }
.is-unknown { color:#fcd34d; background:rgba(245,158,11,.08); border-color:rgba(245,158,11,.2); }
#mainServerIndicator.is-unknown { background:#f59e0b !important; animation:none; box-shadow:0 0 8px rgba(245,158,11,.35); }
@media (max-width: 1023px) {
  .site-header-inner { min-height:0; padding-top:11px; padding-bottom:10px; display:flex; flex-wrap:wrap; gap:9px 10px; }
  .site-header-inner > a:first-child { flex:1 1 auto; min-width:0; }
  .site-header-inner > a:first-child span { font-size:clamp(14px,4vw,18px); white-space:nowrap; }
  .site-header-inner .header-account, .site-header-inner > div:last-child { flex:0 0 auto; }
  .site-main-nav { order:3; width:100%; flex:1 0 100%; overflow-x:auto; overflow-y:hidden; justify-content:flex-start; gap:0 !important; padding:7px 0 2px; border-top:1px solid rgba(148,163,184,.12); scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .site-main-nav::-webkit-scrollbar { display:none; }
  .site-main-nav > :not([hidden]) ~ :not([hidden]) { margin-right:0 !important; margin-left:4px !important; }
  .site-main-nav a { flex:0 0 auto; padding:7px 10px; margin-left:4px; border-radius:9px; background:rgba(99,102,241,.07); font-size:11px; }
  .header-account-actions { margin-right:auto; }
}
@media (max-width: 380px) {
  .site-header-inner > a:first-child { gap:7px; }
  .site-header-inner > a:first-child .w-10 { width:34px; height:34px; }
  .site-header-inner .header-account { font-size:10px; padding:7px 9px; }
}

/* Minecraft-style 45-slot shop category inventory */
.inventory-frame {
  width:min(100%, 790px); padding:18px; border-radius:22px; position:relative; isolation:isolate;
  background:linear-gradient(145deg,rgba(34,39,55,.88),rgba(12,16,29,.9));
  border:1px solid rgba(167,139,250,.42); box-shadow:0 24px 80px rgba(0,0,0,.48),0 0 45px rgba(99,102,241,.12);
}
.inventory-frame::before {content:"";position:absolute;inset:-14px;z-index:-1;border-radius:30px;background:linear-gradient(135deg,rgba(99,102,241,.22),rgba(168,85,247,.12));filter:blur(24px);}
.inventory-titlebar {display:flex;align-items:center;justify-content:space-between;padding:2px 5px 14px;color:#d7d9e4;font-weight:800;font-size:14px;letter-spacing:.06em;text-shadow:0 2px 3px #000;}
.inventory-title-decoration {color:#a78bfa;font-size:19px;}
.minecraft-inventory {display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px;padding:8px;border-radius:9px;background:rgba(10,13,22,.62);border:1px solid rgba(255,255,255,.08);direction:ltr;}
.mc-slot {aspect-ratio:1/1;min-width:0;position:relative;display:grid;place-items:center;border:0;border-radius:2px;background:linear-gradient(145deg,#55565d 0%,#777982 48%,#62636a 100%);box-shadow:inset 2px 2px 0 rgba(255,255,255,.28),inset -2px -2px 0 rgba(0,0,0,.34),0 0 0 1px rgba(0,0,0,.35);}
.mc-empty {opacity:.92;}
.mc-category {cursor:pointer;transition:filter .14s ease,transform .14s ease,box-shadow .14s ease;}
.mc-category:hover,.mc-category:focus-visible {z-index:5;filter:brightness(1.2);transform:translateY(-2px) scale(1.035);box-shadow:inset 2px 2px 0 rgba(255,255,255,.35),inset -2px -2px 0 rgba(0,0,0,.35),0 0 0 2px var(--category-color),0 0 18px color-mix(in srgb,var(--category-color) 35%,transparent);outline:none;}
.mc-item-icon {font-family:Arial,sans-serif;font-size:clamp(19px,4.2vw,38px);font-weight:900;line-height:1;color:var(--category-color);text-shadow:2px 2px 0 rgba(0,0,0,.75),-1px -1px 0 rgba(255,255,255,.28);filter:drop-shadow(1px 2px 1px rgba(0,0,0,.55));}
.mc-category.grass .mc-item-icon {color:#55ff55;text-shadow:2px 2px 0 #6b3e22,-2px -2px 0 #236d24;}
.mc-category.ores .mc-item-icon {color:#e6e9f0;text-shadow:2px 2px 0 #737987,-1px -1px 0 #fff;}
.mc-category.redstone .mc-item-icon {color:#ff2929;text-shadow:2px 2px 0 #650b0b;}
.mc-category.farming .mc-item-icon {color:#ffd34e;text-shadow:2px 2px 0 #78501c;}
.mc-category.mobs .mc-item-icon {color:#8c8c8c;text-shadow:2px 2px 0 #343434;}
.mc-category.enchanting .mc-item-icon {color:#ff65a9;text-shadow:2px 2px 0 #4d1737;}
.mc-category.food .mc-item-icon {color:#b96b3c;text-shadow:2px 2px 0 #4b2114;}
.mc-category.spawners .mc-item-icon {color:#9da6c4;text-shadow:2px 2px 0 #202633;}
.mc-tooltip {position:absolute;left:50%;bottom:calc(100% + 9px);transform:translate(-50%,5px);padding:6px 10px;border-radius:6px;background:rgba(12,13,20,.96);border:1px solid var(--category-color);color:var(--category-color);font-size:12px;font-weight:900;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 6px 18px rgba(0,0,0,.45);transition:opacity .14s ease,transform .14s ease,visibility .14s;direction:ltr;}
.mc-tooltip::after {content:"";position:absolute;left:50%;top:100%;transform:translateX(-50%);border:5px solid transparent;border-top-color:var(--category-color);}
.mc-category:hover .mc-tooltip,.mc-category:focus-visible .mc-tooltip {opacity:1;visibility:visible;transform:translate(-50%,0);}
.inventory-bottom-label {padding:13px 4px 1px;text-align:center;color:#85899a;font-size:10px;font-weight:900;letter-spacing:.2em;}
.inventory-bottom-label span {color:#a78bfa;margin:0 5px;}
@media(max-width:520px) {
 .inventory-frame {padding:11px;border-radius:16px;}
 .minecraft-inventory {gap:3px;padding:5px;}
 .mc-tooltip {font-size:10px;padding:5px 7px;}
 .inventory-titlebar {font-size:12px;padding-bottom:10px;}
}
.mc-item-image {width:76%;height:76%;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(2px 3px 1px rgba(0,0,0,.5));pointer-events:none;}

/* LimboSMP leaderboard preview */
.leaderboard-page{max-width:1240px}
.lb-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:30px 32px;border:1px solid rgba(139,92,246,.18);border-radius:23px;background:radial-gradient(ellipse at 12% 10%,rgba(79,70,229,.17),transparent 45%),linear-gradient(120deg,rgba(20,24,39,.96),rgba(10,13,23,.97));box-shadow:0 18px 55px rgba(0,0,0,.25)}
.lb-hero-main{display:flex;align-items:center;gap:20px}.lb-server-emblem{width:76px;height:76px;flex:0 0 76px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(145deg,#282e50,#171a2e);border:1px solid rgba(167,139,250,.35);color:#c4b5fd;font-size:30px;box-shadow:0 0 30px rgba(139,92,246,.16)}
.lb-live-label{display:flex;align-items:center;gap:7px;color:#a5b4fc;font-size:10px;font-weight:900;letter-spacing:.17em}.lb-live-label span{width:7px;height:7px;border-radius:50%;background:#34d399;box-shadow:0 0 10px #34d399;animation:lbPulse 1.8s infinite}
.lb-hero h1{font-size:clamp(26px,4vw,39px);font-weight:900;letter-spacing:-.04em;line-height:1.2;margin:7px 0}.lb-hero h1 span{background:linear-gradient(90deg,#a78bfa,#6366f1);-webkit-background-clip:text;background-clip:text;color:transparent}.lb-hero p{font-size:13px;color:#8d95a8}.lb-quick-stats{display:flex;gap:25px;margin-top:17px}.lb-quick-stats div{display:flex;flex-direction:column;gap:1px}.lb-quick-stats b{font-size:18px;color:#e5e7eb}.lb-quick-stats small{font-size:9px;letter-spacing:.13em;color:#70798e;font-weight:800}.lb-hero-actions{display:flex;align-items:center;gap:9px}.lb-demo-badge,.lb-discord{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:10px;font-size:11px;font-weight:800;white-space:nowrap}.lb-demo-badge{color:#fbbf24;background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.18)}.lb-discord{color:#c4b5fd;background:rgba(99,102,241,.12);border:1px solid rgba(129,140,248,.2)}
.lb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0 17px;border-bottom:1px solid rgba(148,163,184,.1)}.lb-tabs{display:flex;align-items:center;gap:4px;overflow-x:auto;scrollbar-width:none}.lb-tabs::-webkit-scrollbar{display:none}.lb-tab{position:relative;display:flex;align-items:center;gap:8px;white-space:nowrap;padding:11px 13px;border:0;border-radius:9px;background:transparent;color:#8992a6;font-size:12px;font-weight:800;transition:.18s}.lb-tab i{font-size:12px;color:#929bb0}.lb-tab:hover{color:#e5e7eb;background:rgba(255,255,255,.04)}.lb-tab.active{color:#e0d7ff;background:rgba(124,58,237,.13)}.lb-tab.active i{color:#a78bfa}.lb-tab.active:after{content:"";position:absolute;bottom:-17px;left:13px;right:13px;height:2px;background:#9b7aff;border-radius:3px;box-shadow:0 0 10px #8b5cf6}
.lb-search-wrap{height:40px;min-width:220px;display:flex;align-items:center;gap:9px;padding:0 12px;border-radius:10px;background:rgba(12,16,28,.85);border:1px solid rgba(148,163,184,.13);color:#737d91}.lb-search-wrap:focus-within{border-color:rgba(167,139,250,.6);box-shadow:0 0 0 3px rgba(139,92,246,.09)}.lb-search-wrap input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:#e5e7eb;font-size:11px;direction:ltr}.lb-search-wrap input::placeholder{color:#687186}.lb-search-wrap kbd{padding:2px 6px;border:1px solid #34394a;border-radius:5px;color:#858da0;font-size:10px}
.lb-board-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:23px 0 15px}.lb-board-head>div{display:flex;align-items:center;gap:11px}.lb-section-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;color:#a78bfa;background:rgba(99,102,241,.13)}.lb-board-head h2{font-size:16px;font-weight:900;color:#e5e7eb}.lb-board-head p{font-size:10px;color:#737d91;margin-top:2px}.lb-player-count{padding:7px 10px;border:1px solid rgba(139,92,246,.17);border-radius:20px;background:rgba(99,102,241,.07);color:#b9a6ff;font-size:10px;font-weight:800}
.lb-podium{display:grid;grid-template-columns:1fr 1.08fr 1fr;align-items:end;gap:15px;max-width:850px;margin:0 auto 26px}.lb-podium-card{position:relative;display:flex;flex-direction:column;align-items:center;min-height:214px;padding:20px 12px 16px;border:1px solid var(--medal-border);border-radius:17px;background:linear-gradient(155deg,var(--medal-bg),rgba(13,17,29,.96) 70%);box-shadow:0 14px 35px rgba(0,0,0,.18);transition:transform .2s,box-shadow .2s}.lb-podium-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(0,0,0,.3),0 0 24px var(--medal-glow)}.lb-podium-card.gold{--medal:#f8d477;--medal-border:rgba(245,190,75,.4);--medal-bg:rgba(120,82,23,.2);--medal-glow:rgba(245,190,75,.13);min-height:246px;padding-top:27px}.lb-podium-card.silver{--medal:#cbd5e1;--medal-border:rgba(203,213,225,.28);--medal-bg:rgba(100,116,139,.15);--medal-glow:rgba(203,213,225,.1)}.lb-podium-card.bronze{--medal:#d99a6c;--medal-border:rgba(217,154,108,.3);--medal-bg:rgba(124,69,37,.16);--medal-glow:rgba(217,154,108,.1)}.lb-medal{position:absolute;top:13px;right:14px;color:var(--medal);font-size:15px}.lb-crown{position:absolute;top:-16px;color:#f8d477;font-size:23px;filter:drop-shadow(0 0 10px rgba(245,190,75,.6));animation:lbFloat 2.8s ease-in-out infinite}.lb-avatar-wrap{width:62px;height:62px;display:grid;place-items:center;border-radius:15px;background:rgba(0,0,0,.3);border:2px solid var(--medal-border);box-shadow:0 0 20px var(--medal-glow);overflow:hidden}.gold .lb-avatar-wrap{width:74px;height:74px}.lb-avatar-wrap img{width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.lb-place{margin-top:9px;color:var(--medal);font-size:11px;font-weight:900;letter-spacing:.1em}.lb-podium-card h3{font-size:16px;font-weight:900;color:#f1f2f8;margin-top:3px;direction:ltr}.lb-player-sub{font-size:9px;color:#7f899d;margin-top:2px}.lb-score{margin-top:11px;color:var(--medal);font-size:20px;font-weight:900;direction:ltr}.lb-score-label{font-size:8px;letter-spacing:.17em;color:#737d91;font-weight:800}
.lb-table-panel{overflow:hidden;border:1px solid rgba(148,163,184,.13);border-radius:17px;background:rgba(12,16,27,.78);box-shadow:0 16px 45px rgba(0,0,0,.17)}.lb-table-title{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;border-bottom:1px solid rgba(148,163,184,.1)}.lb-table-title h2{font-size:17px;font-weight:900;color:#e5e7eb;margin-top:3px}.lb-updated{font-size:10px;color:#778197}.lb-table-scroll{overflow-x:auto}.lb-table{width:100%;border-collapse:collapse;min-width:520px;direction:ltr;text-align:left}.lb-table th{padding:12px 20px;background:rgba(255,255,255,.018);color:#69748a;font-size:9px;font-weight:900;letter-spacing:.13em}.lb-table td{padding:11px 20px;border-top:1px solid rgba(148,163,184,.075);color:#d5d9e4;font-size:12px}.lb-table tbody tr{transition:background .16s}.lb-table tbody tr:hover{background:rgba(139,92,246,.07)}.lb-rank-number{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:rgba(148,163,184,.1);color:#c4cada;font-size:11px;font-weight:900}.lb-player-cell{display:flex;align-items:center;gap:9px;direction:ltr}.lb-player-cell img{width:31px;height:31px;border-radius:7px;image-rendering:pixelated;background:#24283a}.lb-player-cell span{font-weight:800;color:#e1e4ed}.lb-player-cell small{font-size:9px;color:#737d91;margin-left:2px}.lb-region{display:inline-block;padding:4px 8px;border-radius:6px;background:rgba(148,163,184,.09);color:#9ba5b8;font-size:9px;font-weight:900}.lb-stat-value{text-align:right!important;color:#c4b5fd!important;font-family:ui-monospace,monospace;font-weight:800}.lb-table-footer{display:flex;justify-content:space-between;gap:10px;padding:13px 20px;border-top:1px solid rgba(148,163,184,.08);font-size:9px;color:#69748a}.lb-table-footer i{color:#a78bfa;margin-left:5px}.lb-no-results{text-align:center;padding:25px;color:#8992a6;font-size:12px}.lb-disclaimer{margin:15px 2px 0;color:#69748a;font-size:10px;text-align:center}.lb-disclaimer i{color:#a78bfa;margin-left:4px}
@keyframes lbPulse{0%,100%{opacity:1;box-shadow:0 0 9px #34d399}50%{opacity:.45;box-shadow:0 0 2px #34d399}}@keyframes lbFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-width:850px){.lb-hero{align-items:flex-start;flex-direction:column}.lb-hero-actions{align-self:flex-end}.lb-toolbar{align-items:stretch;flex-direction:column}.lb-search-wrap{width:100%}.lb-tabs{padding-bottom:4px}.lb-tab.active:after{bottom:-5px}}
@media(max-width:560px){.leaderboard-page{padding-top:24px}.lb-hero{padding:20px 17px;border-radius:17px}.lb-hero-main{gap:12px;align-items:flex-start}.lb-server-emblem{width:51px;height:51px;flex-basis:51px;border-radius:15px;font-size:21px}.lb-hero h1{font-size:25px}.lb-hero p{font-size:11px}.lb-quick-stats{gap:17px;margin-top:13px}.lb-quick-stats b{font-size:15px}.lb-hero-actions{align-self:stretch;justify-content:flex-end}.lb-podium{gap:7px;align-items:end}.lb-podium-card{min-height:185px;padding:17px 5px 12px;border-radius:12px}.lb-podium-card.gold{min-height:211px;padding-top:24px}.lb-avatar-wrap{width:48px;height:48px}.gold .lb-avatar-wrap{width:57px;height:57px}.lb-podium-card h3{font-size:13px}.lb-player-sub{font-size:8px}.lb-score{font-size:16px;margin-top:8px}.lb-medal{top:9px;right:9px;font-size:12px}.lb-crown{font-size:19px}.lb-board-head{margin-top:19px}.lb-board-head h2{font-size:14px}.lb-board-head p{font-size:9px}.lb-player-count{font-size:9px}.lb-table-title{padding:15px}.lb-table td,.lb-table th{padding-left:13px;padding-right:13px}.lb-table-footer{padding:12px 14px}}
@media(prefers-reduced-motion:reduce){.lb-live-label span,.lb-crown{animation:none}.lb-podium-card,.lb-tab{transition:none}}

/* Dedicated login / registration pages */
.auth-page { position:relative; isolation:isolate; }
.auth-page::before { content:""; position:absolute; z-index:-1; width:min(72vw,620px); height:min(72vw,620px); border-radius:50%; top:8%; left:50%; transform:translateX(-50%); background:radial-gradient(circle,rgba(99,102,241,.16),rgba(139,92,246,.06) 48%,transparent 72%); filter:blur(12px); }
.auth-card { background:linear-gradient(145deg,rgba(19,25,42,.94),rgba(10,14,25,.96)); box-shadow:0 28px 90px rgba(0,0,0,.42),0 0 50px rgba(99,102,241,.09); }
.auth-emblem { width:64px;height:64px;margin:0 auto;border-radius:21px;display:grid;place-items:center;color:#ddd6fe;font-size:26px;background:linear-gradient(145deg,rgba(99,102,241,.28),rgba(168,85,247,.18));border:1px solid rgba(167,139,250,.35);box-shadow:0 10px 30px rgba(99,102,241,.18); }
.auth-tab { flex:1;padding:10px 12px;border-radius:11px;color:#9ca3af;font-weight:800;transition:all .18s ease; }
.auth-tab.active { color:#c4b5fd;background:rgba(99,102,241,.13);box-shadow:inset 0 0 0 1px rgba(139,92,246,.26); }
.auth-label { display:block;color:#cbd5e1;font-size:13px;font-weight:700;margin-bottom:7px; }
.auth-input { width:100%;padding:12px 14px;border-radius:12px;background:rgba(3,7,18,.75);border:1px solid rgba(100,116,139,.28);color:#f8fafc;outline:none;transition:border-color .18s,box-shadow .18s; }
.auth-input:focus { border-color:#818cf8;box-shadow:0 0 0 3px rgba(99,102,241,.14); }
.auth-check { display:inline-flex;align-items:center;gap:9px;color:#cbd5e1;font-size:12px;line-height:1.8;cursor:pointer; }
.auth-check input { width:16px;height:16px;accent-color:#8b5cf6;flex:0 0 auto; }
.auth-terms { align-items:flex-start;padding:10px 12px;border:1px solid rgba(100,116,139,.2);border-radius:12px;background:rgba(15,23,42,.35); }
.auth-text-link { color:#a5b4fc;font-weight:800;transition:color .18s;text-decoration:none; }
.auth-text-link:hover { color:#ddd6fe;text-decoration:underline; }
.auth-submit { width:100%;padding:13px 16px;border-radius:13px;color:white;font-weight:900;background:linear-gradient(110deg,#4f46e5,#7c3aed);box-shadow:0 9px 25px rgba(79,70,229,.22);transition:transform .18s,filter .18s,opacity .18s; }
.auth-submit:hover { transform:translateY(-2px);filter:brightness(1.12); }
.auth-submit:disabled { opacity:.55;cursor:wait;transform:none; }
@media(max-width:640px) { .auth-card { padding:22px 18px; } }

/* Blurred admin announcement modal */
.announcement-overlay{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:22px;background:rgba(4,8,18,.58);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);animation:announcementFade .22s ease}
.announcement-popup{width:min(470px,100%);padding:28px 24px;text-align:center;color:#f8fafc;border:1px solid rgba(129,140,248,.38);border-radius:24px;background:linear-gradient(145deg,rgba(25,35,62,.96),rgba(10,16,30,.97));box-shadow:0 25px 90px rgba(0,0,0,.58),0 0 40px rgba(99,102,241,.16);animation:announcementPop .25s ease}
.announcement-badge{display:inline-block;padding:8px 14px;border-radius:30px;background:rgba(99,102,241,.16);border:1px solid rgba(129,140,248,.3);color:#c7d2fe;font-size:12px;font-weight:800}
.announcement-popup h2{margin:18px 0 10px;font-size:23px;font-weight:900;color:#fff}.announcement-popup p{white-space:pre-wrap;overflow-wrap:anywhere;color:#cbd5e1;font-size:14px;line-height:2;margin:0 0 22px}
.announcement-close{border:0;border-radius:12px;padding:11px 24px;color:#fff;font-weight:800;background:linear-gradient(135deg,#4f46e5,#9333ea);cursor:pointer}.announcement-close:hover{filter:brightness(1.12)}
@keyframes announcementFade{from{opacity:0}to{opacity:1}}@keyframes announcementPop{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}

#securityWarning{position:fixed;inset:0;z-index:100001;display:grid;place-items:center;padding:20px;background:rgba(30,5,12,.25);backdrop-filter:blur(10px);opacity:0;pointer-events:none;transition:opacity .18s}
#securityWarning.visible{opacity:1;pointer-events:auto}
#securityWarning .security-warning-card{width:min(420px,100%);padding:25px;text-align:center;border-radius:22px;background:rgba(69,10,22,.96);border:1px solid rgba(248,113,113,.6);color:#fff;box-shadow:0 20px 80px #0008}
#securityWarning .security-warning-icon{font-size:32px;color:#fca5a5}#securityWarning h3{color:#fecaca;font-size:19px;font-weight:900;margin:8px}
#securityWarning p,#securityWarning .security-countdown{color:#fee2e2;font-size:13px;line-height:1.8}
.announcement-overlay{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:22px;background:#04081299;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.announcement-popup{width:min(470px,100%);padding:28px 24px;text-align:center;color:#f8fafc;border:1px solid #818cf866;border-radius:24px;background:linear-gradient(145deg,#19233ef5,#0a101ef7);box-shadow:0 25px 90px #0009}
.announcement-badge{display:inline-block;padding:8px 14px;border-radius:30px;background:#6366f129;color:#c7d2fe;font-size:12px;font-weight:800}
.announcement-popup h2{margin:18px 0 10px;font-size:23px;font-weight:900}.announcement-popup p{white-space:pre-wrap;overflow-wrap:anywhere;color:#cbd5e1;font-size:14px;line-height:2;margin:0 0 22px}
.announcement-close{border:0;border-radius:12px;padding:11px 24px;color:#fff;font-weight:800;background:linear-gradient(135deg,#4f46e5,#9333ea)}
body{ -webkit-user-select:none;user-select:none } input,textarea,[contenteditable="true"]{-webkit-user-select:text;user-select:text}
.site-header-inner{min-height:76px}.site-main-nav a{white-space:nowrap;transition:color .2s}.footer-nav{display:flex;justify-content:center;gap:18px;flex-wrap:wrap}

/* Unified public navigation */
header.card-glass{background:rgba(11,15,25,.88);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}
.site-header-inner{min-height:78px;gap:18px}
.site-main-nav{align-items:center}
.site-main-nav a{color:#cbd5e1;font-size:13px;font-weight:600}
.site-main-nav a:hover{color:#a5b4fc}
.header-account{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.footer-nav a{color:#9ca3af;transition:color .2s}
.footer-nav a:hover{color:#a5b4fc}
@media(max-width:760px){.site-header-inner{flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.site-main-nav{order:3;width:100%;overflow-x:auto;justify-content:flex-start;padding:8px 0}.site-main-nav a{white-space:nowrap}}

/* Neon Ring authentication page inspired by the supplied reference video */
.neon-auth-body{min-height:100vh;margin:0;background:radial-gradient(ellipse at 50% 46%,#0b1c28 0%,#07131e 42%,#040a12 100%);color:#f4fbff;font-family:Inter,Arial,sans-serif;overflow-x:hidden}
.neon-auth-body:before,.neon-auth-body:after{content:"";position:fixed;pointer-events:none;border-radius:50%;filter:blur(90px);opacity:.18;z-index:0}
.neon-auth-body:before{width:260px;height:260px;background:#00f5d4;left:-140px;top:30%}.neon-auth-body:after{width:240px;height:240px;background:#a100ff;right:-130px;bottom:8%}
.neon-brand{position:absolute;top:25px;left:clamp(18px,5vw,64px);display:flex;align-items:center;gap:10px;color:#effcff;text-decoration:none;font-weight:900;letter-spacing:.12em;font-size:13px;z-index:3}.neon-brand small{display:block;color:#718b9a;font-size:8px;letter-spacing:.28em;margin-top:3px}.neon-brand-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid rgba(0,255,220,.45);border-radius:11px;color:#55ffe5;box-shadow:0 0 18px rgba(0,255,220,.2)}
.neon-auth-page{position:relative;z-index:1;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:85px 18px 35px;box-sizing:border-box}
.neon-ring-shell{position:relative;width:min( min(78vw, 560px), calc(100vw - 38px));aspect-ratio:1/1;border-radius:50%;display:grid;place-items:center;isolation:isolate}
.neon-ring-shell:before{content:"";position:absolute;inset:0;border-radius:50%;padding:3px;background:conic-gradient(from 0deg,#00f5d4 0deg,#00e9ff 95deg,#9b35ff 155deg,#00f5d4 220deg,#00d9d0 360deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;filter:drop-shadow(0 0 7px #00ffe0) drop-shadow(0 0 17px rgba(0,255,224,.65));animation:neonRingRotate 10s linear infinite;z-index:-1}
.neon-ring-shell:after{content:"";position:absolute;inset:9px;border-radius:50%;border:1px solid rgba(70,255,229,.09);box-shadow:inset 0 0 35px rgba(0,255,218,.035);z-index:-1}
.neon-ring-glow{position:absolute;inset:-8px;border-radius:50%;background:radial-gradient(circle,transparent 58%,rgba(0,255,218,.06) 72%,transparent 76%);filter:blur(8px);z-index:-2}
.neon-auth-content{width: min(66%,370px);max-height:84%;overflow-y:auto;scrollbar-width:thin;text-align:center;padding:25px 0;box-sizing:border-box}
.neon-auth-mark{display:none}.neon-kicker{font-size:9px;letter-spacing:.28em;color:#6c9a9e;font-weight:800}.neon-auth-content h1{font-size:clamp(22px,3.5vw,31px);line-height:1.15;color:#68ffe5;letter-spacing:.09em;font-weight:900;margin:9px 0 3px;text-shadow:0 0 18px rgba(0,255,218,.28)}.neon-subtitle{font-size:10px;color:#728b98;margin:0 0 24px}
.neon-form{display:flex;flex-direction:column;gap:13px;text-align:left}.neon-field{height:43px;display:flex;align-items:center;gap:10px;padding:0 14px;border-radius:24px;background:rgba(1,9,17,.78);border:1px solid rgba(101,161,171,.14);transition:.2s;box-sizing:border-box}.neon-field:focus-within{border-color:rgba(0,255,221,.65);box-shadow:0 0 0 3px rgba(0,255,221,.07),0 0 17px rgba(0,255,221,.1)}.neon-field>i{font-size:11px;color:#6c9b9d;flex:0 0 auto}.neon-field input{width:100%;min-width:0;background:transparent;border:0;outline:0;color:#eaffff;font:500 11px Inter,Arial,sans-serif;direction:ltr}.neon-field input::placeholder{color:#71838e;opacity:1}.neon-options{display:flex;justify-content:space-between;align-items:center;margin:-1px 3px 2px;font-size:9px;color:#91a8ae}.neon-options label{display:flex;align-items:center;gap:6px}.neon-options input,.neon-terms input{accent-color:#00eacb}.neon-options a,.neon-terms a{color:#5fffe2;text-decoration:none}.neon-submit{width:100%;height:43px;border-radius:25px;border:1px solid rgba(0,255,221,.35);background:linear-gradient(100deg,#eafcff,#cdeef0);color:#07151b;font:900 11px Inter,Arial,sans-serif;letter-spacing:.12em;cursor:pointer;box-shadow:0 0 19px rgba(0,255,221,.12);transition:.2s}.neon-submit:hover{background:#fff;box-shadow:0 0 24px rgba(0,255,221,.34);transform:translateY(-1px)}.neon-submit:disabled{opacity:.55;cursor:wait;transform:none}
.neon-switch-copy{text-align:center;font-size:9px;color:#8299a3;margin:2px 0 0}.neon-switch-copy button{display:inline;padding:0;border:0;background:none;color:#64ffe5;font:800 9px Inter,Arial,sans-serif;cursor:pointer}.neon-terms{display:flex;align-items:flex-start;gap:8px;color:#9cb1b7;font-size:9px;line-height:1.7;padding:2px 3px}.neon-terms input{margin-top:2px}.neon-message{margin:0 0 13px;padding:9px 12px;border-radius:10px;background:rgba(0,255,220,.08);border:1px solid rgba(0,255,220,.18);color:#aaffef;font-size:10px;line-height:1.7;text-align:center}.neon-message.text-red-400{color:#ff9baf;background:rgba(255,60,100,.08);border-color:rgba(255,60,100,.2)}.neon-message.text-green-400{color:#aaffef}.neon-otp-icon{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;margin:0 auto 5px;color:#64ffe5;border:1px solid rgba(0,255,220,.45);box-shadow:0 0 18px rgba(0,255,220,.15);font-size:17px}.neon-otp-title{text-align:center;color:#6bffe5;font-size:16px;font-weight:900;letter-spacing:.06em;margin:0}.neon-otp-copy{text-align:center;color:#8299a3;font-size:10px;line-height:1.8;margin:0 0 6px}.neon-code-field input{text-align:center;letter-spacing:.55em;font-size:17px;font-weight:800}.neon-footer-note{margin:24px 0 0;color:#57717d;font-size:9px;letter-spacing:.05em}.neon-footer-note i{color:#42d9c8;margin-right:5px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes neonRingRotate{to{transform:rotate(360deg)}}
@media(max-width:600px){.neon-brand{top:16px;left:17px;font-size:11px}.neon-brand-icon{width:32px;height:32px}.neon-auth-page{padding:72px 12px 25px}.neon-ring-shell{width:min(calc(100vw - 30px),470px);min-width:0}.neon-ring-shell:before{padding:2.5px}.neon-auth-content{width:68%;padding:18px 0;max-height:88%}.neon-auth-content h1{font-size:clamp(18px,5vw,25px);margin-top:7px}.neon-subtitle{margin-bottom:15px}.neon-form{gap:10px}.neon-field{height:39px;padding:0 11px}.neon-field input{font-size:10px}.neon-submit{height:39px;font-size:10px}.neon-footer-note{font-size:8px;margin-top:17px}}
@media(max-width:370px){.neon-auth-content{width:72%}.neon-field{height:36px}.neon-form{gap:8px}.neon-options{font-size:8px}}
@media(prefers-reduced-motion:reduce){.neon-ring-shell:before{animation:none}.neon-submit,.neon-field{transition:none}}
.neon-form.hidden,.neon-message.hidden{display:none!important}

/* Precision pass: full-viewport mobile layout, animated form transitions and a clearly rotating neon ring. */
.neon-auth-body{width:100%;min-height:100vh;min-height:100dvh;overflow:hidden;overscroll-behavior:none}
.neon-auth-page{width:100%;min-height:100vh;min-height:100dvh;padding:76px 18px 28px;gap:0}
.neon-ring-shell{flex:0 0 auto;width:min( min(78vw, 560px), calc(100vw - 38px));aspect-ratio:1/1;overflow:visible}
.neon-ring-shell:before{inset:0;z-index:0;transform-origin:50% 50%;will-change:transform;animation:neonRingSpin 5.5s linear infinite;background:conic-gradient(from 0deg,transparent 0deg,#00f5d4 38deg,#00e9ff 105deg,#9b35ff 155deg,#00f5d4 225deg,transparent 290deg,transparent 360deg)}
.neon-ring-shell:after{z-index:0;pointer-events:none}
.neon-ring-glow{z-index:0;pointer-events:none}
.neon-auth-content{position:relative;z-index:1;width:68%;max-height:88%;overflow-y:auto;overscroll-behavior:contain}
.auth-form-enter{opacity:0;transform:translateY(13px) scale(.975);filter:blur(4px)}
.auth-form-enter-active{opacity:1;transform:translateY(0) scale(1);filter:blur(0);transition:opacity .42s ease,transform .48s cubic-bezier(.2,.8,.2,1),filter .42s ease}
.neon-form.hidden{display:none!important}
@keyframes neonRingSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@media(max-width:600px){
 html,body.neon-auth-body{width:100%;height:100%;min-height:100%;margin:0}
 .neon-auth-body{min-height:100svh;min-height:100dvh;height:100svh;height:100dvh;overflow:hidden}
 .neon-auth-page{height:100svh;height:100dvh;min-height:0;padding:62px 0 14px;justify-content:center;gap:0}
 .neon-ring-shell{width:min(92vw, calc(100dvh - 104px));max-width:470px;min-width:0;flex-shrink:0}
 .neon-ring-shell:before{padding:2.5px}
 .neon-ring-shell:after{inset:7px}
 .neon-auth-content{width:74%;max-height:86%;padding:12px 0;overflow-x:hidden}
 .neon-kicker{font-size:8px;letter-spacing:.2em}
 .neon-auth-content h1{font-size:clamp(17px,5vw,23px);margin:6px 0 2px}
 .neon-subtitle{font-size:9px;margin:0 0 13px}
 .neon-form{gap:9px}
 .neon-field{height:38px;padding:0 10px;gap:8px}
 .neon-field>i{font-size:10px}
 .neon-field input{font-size:10px}
 .neon-options{font-size:8px}
 .neon-submit{height:39px;font-size:9px}
 .neon-switch-copy{font-size:8px}
 .neon-switch-copy button{font-size:8px}
 .neon-terms{font-size:8px;line-height:1.45}
 .neon-message{font-size:9px;margin-bottom:9px}
 .neon-otp-copy{font-size:9px}
 .neon-code-field input{font-size:16px}
 .neon-footer-note{font-size:8px;margin:12px 0 0;max-width:90vw;text-align:center}
}
@media(max-width:380px){
 .neon-auth-page{padding-top:55px;padding-bottom:8px}
 .neon-ring-shell{width:min(94vw, calc(100dvh - 92px))}
 .neon-auth-content{width:76%;padding:8px 0;max-height:89%}
 .neon-form{gap:7px}.neon-field{height:35px}.neon-submit{height:36px}
 .neon-subtitle{margin-bottom:9px}
}
@media(prefers-reduced-motion:reduce){.neon-ring-shell:before{animation:none}.auth-form-enter-active{transition:none}}


/* Mobile zoom lock and lightweight 3D auth panel rotation */
html, body { touch-action: pan-x pan-y; }
@media (max-width: 768px) {
  html, body { touch-action: pan-x pan-y; -webkit-text-size-adjust: 100%; }
}
.neon-auth-content { perspective: 900px; transform-style: preserve-3d; backface-visibility: hidden; will-change: transform; }
.neon-auth-content.auth-turn-out { animation: authRotateOut 145ms ease-in forwards; }
.neon-auth-content.auth-turn-in { animation: authRotateIn 220ms cubic-bezier(.2,.75,.25,1) both; }
@keyframes authRotateOut { from { transform: rotateY(0deg) scale(1); opacity:1; } to { transform: rotateY(82deg) scale(.97); opacity:.25; } }
@keyframes authRotateIn { from { transform: rotateY(-82deg) scale(.97); opacity:.25; } to { transform: rotateY(0deg) scale(1); opacity:1; } }
@media (prefers-reduced-motion: reduce) { .neon-auth-content.auth-turn-out,.neon-auth-content.auth-turn-in { animation-duration: 1ms; } }

/* Mobile auth card: keep OTP and registration controls fully visible without an inner scrollbar. */
@media (max-width: 600px){
  .neon-auth-body{overflow-x:hidden;overflow-y:auto;min-height:100dvh;height:auto}
  .neon-auth-page{min-height:100dvh;height:auto;padding:64px 10px 22px;justify-content:center;gap:12px}
  .neon-ring-shell{width:min(96vw,460px);height:auto;min-height:min(96vw,430px);aspect-ratio:auto;border-radius:48% / 44%;padding:28px 0;box-sizing:border-box;}
  .neon-ring-shell:before,.neon-ring-shell:after,.neon-ring-glow{border-radius:48% / 44%}
  .neon-auth-content{width:84%;max-height:none;height:auto;overflow:visible;scrollbar-width:none;padding:8px 0;}
  .neon-auth-content::-webkit-scrollbar{display:none}
  .neon-kicker{font-size:9px;letter-spacing:.2em}
  .neon-auth-content h1{font-size:clamp(19px,5.3vw,24px)}
  .neon-subtitle{font-size:11px;margin-bottom:14px}
  .neon-message{font-size:10px;line-height:1.5;margin-bottom:10px;padding:8px 10px}
  .neon-form{gap:9px}
  .neon-field{height:42px;padding:0 13px}
  .neon-field input{font-size:12px}
  .neon-submit{height:42px;font-size:10px;white-space:normal;line-height:1.2;padding:0 8px}
  .neon-otp-title{font-size:clamp(14px,4.2vw,17px)}
  .neon-otp-copy{font-size:10px;line-height:1.55}
  .neon-code-field input{font-size:18px;letter-spacing:.38em}
  .neon-footer-note{margin-top:8px;text-align:center;font-size:9px}
}
@media (max-width:380px){.neon-ring-shell{width:97vw;padding:23px 0}.neon-auth-content{width:86%}.neon-form{gap:8px}.neon-field,.neon-submit{height:39px}.neon-otp-copy{font-size:9px}}

/* Final auth layout correction: a true fixed circle shared by Login, Register and OTP. */
.neon-auth-page{display:flex;align-items:center;justify-content:center;gap:0}
.neon-ring-shell{
  display:grid;place-items:center;position:relative;
  width:min(92vw,680px,calc(100svh - 190px));
  height:auto;aspect-ratio:1/1;min-height:0;max-width:680px;
  flex:0 0 auto;padding:0;box-sizing:border-box;border-radius:50%;
}
.neon-ring-shell:before,.neon-ring-shell:after,.neon-ring-glow{border-radius:50%!important}
.neon-ring-shell:before{inset:0;animation:neonRingSpin 8s linear infinite;transform-origin:50% 50%;}
.neon-ring-shell:after{inset:9px}
.neon-auth-content{
  width:82%;height:auto;max-height:none;overflow:visible;overflow-y:visible;
  padding:22px 0;box-sizing:border-box;scrollbar-width:none;
}
.neon-auth-content::-webkit-scrollbar{display:none}
@media(max-width:600px){
  .neon-auth-page{width:100%;min-height:100svh;min-height:100dvh;height:auto;padding:68px 0 20px;gap:0;justify-content:center;}
  .neon-ring-shell{width:min(92vw,680px,calc(100svh - 190px));width:min(92vw,680px,calc(100dvh - 190px));height:auto;aspect-ratio:1/1;min-height:0;padding:0;border-radius:50%;}
  .neon-ring-shell:before{inset:0;padding:2.5px;border-radius:50%!important;}
  .neon-ring-shell:after{inset:8px;border-radius:50%!important;}
  .neon-auth-content{width:82%;max-height:none;height:auto;overflow:visible;padding:16px 0;}
  .neon-kicker{font-size:9px;letter-spacing:.2em}
  .neon-auth-content h1{font-size:clamp(19px,5.3vw,26px)}
  .neon-subtitle{font-size:11px;margin:0 0 16px}
  .neon-form{gap:10px}
  .neon-field{height:42px;padding:0 13px}
  .neon-field input{font-size:12px}
  .neon-submit{height:43px;font-size:10px}
  .neon-terms{font-size:9px}
  .neon-footer-note{margin-top:14px;text-align:center;font-size:9px}
}
@media(max-width:380px){
  .neon-ring-shell{width:min(92vw,calc(100dvh - 170px));padding:0}
  .neon-auth-content{width:84%;padding:12px 0}
  .neon-form{gap:8px}.neon-field{height:38px}.neon-submit{height:40px}
  .neon-subtitle{margin-bottom:11px}
}

/* Global light/dark theme switch */
#ls-theme-control{position:fixed;right:18px;bottom:18px;z-index:9997;display:flex;align-items:center;gap:5px;padding:5px;border:1px solid rgba(148,163,184,.28);border-radius:999px;background:rgba(8,16,29,.92);box-shadow:0 8px 28px rgba(0,0,0,.25);backdrop-filter:blur(14px)}
#ls-theme-control button{border:0;border-radius:999px;padding:8px 11px;background:transparent;color:#b9c8d8;font:700 11px Inter,Arial,sans-serif;cursor:pointer}
#ls-theme-control button[aria-pressed="true"]{background:linear-gradient(100deg,#14b8a6,#6366f1);color:#fff}
body[data-theme="light"]{background:#f3f6fb!important;color:#172033!important;color-scheme:light}
body[data-theme="light"] .card-glass,body[data-theme="light"] .status-panel,body[data-theme="light"] .lb-table-panel{background:rgba(255,255,255,.9)!important;border-color:rgba(100,116,139,.2)!important;color:#172033!important}
body[data-theme="light"] .text-gray-100,body[data-theme="light"] .text-gray-200,body[data-theme="light"] .text-gray-300,body[data-theme="light"] .text-gray-400,body[data-theme="light"] .text-slate-200,body[data-theme="light"] .text-slate-300{color:#344256!important}
body[data-theme="light"] .bg-gray-800,body[data-theme="light"] .bg-gray-900,body[data-theme="light"] .bg-slate-900{background:#e8edf5!important}
body[data-theme="light"] input,body[data-theme="light"] textarea,body[data-theme="light"] select{background:#fff!important;color:#172033!important;border-color:#cbd5e1!important}
body[data-theme="light"] .neon-auth-body,body.neon-auth-body[data-theme="light"]{background:radial-gradient(ellipse at 50% 46%,#f1fbff 0%,#eaf1fa 48%,#dfe8f3 100%)!important;color:#172033!important}
body.neon-auth-body[data-theme="light"] .neon-ring-shell{background:rgba(255,255,255,.8);box-shadow:0 20px 65px rgba(36,65,90,.14)}
body.neon-auth-body[data-theme="light"] .neon-auth-content h1{color:#087f80;text-shadow:none}
body.neon-auth-body[data-theme="light"] .neon-subtitle,body.neon-auth-body[data-theme="light"] .neon-switch-copy,body.neon-auth-body[data-theme="light"] .neon-otp-copy{color:#53677a}
body.neon-auth-body[data-theme="light"] .neon-field{background:#fff;border-color:#c7d6e2}
body.neon-auth-body[data-theme="light"] .neon-field input{color:#172033}
body.neon-auth-body[data-theme="light"] .neon-brand,body.neon-auth-body[data-theme="light"] .neon-footer-note{color:#344256}
body[data-theme="light"] #ls-chat-panel{background:rgba(250,253,255,.98);color:#172033;border-color:#b9d5df}
body[data-theme="light"] #ls-chat-intro,body[data-theme="light"] #ls-chat-status{color:#526477}
body[data-theme="light"] #ls-chat-start input,body[data-theme="light"] #ls-chat-input{background:#fff;color:#172033;border-color:#cbd5e1}
body[data-theme="light"] #ls-chat-messages .msg{background:#e6eef5;color:#172033}
body[data-theme="light"] #ls-chat-messages .msg.visitor{background:#c7f3eb;color:#12443e}
@media(max-width:480px){#ls-theme-control{right:10px;bottom:12px}#ls-theme-control button{padding:7px 9px;font-size:10px}}
.auth-shared-footer{position:relative;z-index:2;min-height:48px;display:flex;align-items:center;justify-content:center;padding:8px 170px 8px 12px;color:#66808c;font-size:9px;letter-spacing:.04em;text-align:center}
body.neon-auth-body[data-theme="light"] .auth-shared-footer{color:#526477}

/* Refined, consistent light theme */
html:has(body[data-theme="light"]){background:#f3f6fb!important;color-scheme:light}
body[data-theme="light"]{background:#f3f6fb!important;color:#172033!important}
body[data-theme="light"] header,body[data-theme="light"] footer,body[data-theme="light"] .card-glass,body[data-theme="light"] .status-panel,body[data-theme="light"] .lb-table-panel,body[data-theme="light"] .neon-ring-shell{background:rgba(255,255,255,.94)!important;color:#172033!important;border-color:#dbe4ef!important;box-shadow:0 10px 35px rgba(31,51,77,.08)}
body[data-theme="light"] header a:not(.bg-indigo-600),body[data-theme="light"] nav a,body[data-theme="light"] footer a{color:#344256!important}
body[data-theme="light"] h1,body[data-theme="light"] h2,body[data-theme="light"] h3,body[data-theme="light"] h4,body[data-theme="light"] strong,body[data-theme="light"] label{color:#172033}
body[data-theme="light"] p,body[data-theme="light"] .text-gray-400,body[data-theme="light"] .text-gray-300,body[data-theme="light"] .text-gray-200,body[data-theme="light"] .text-slate-300,body[data-theme="light"] .text-slate-200{color:#536477!important}
body[data-theme="light"] .text-white{color:#172033!important}
body[data-theme="light"] .bg-gray-950,body[data-theme="light"] .bg-gray-900,body[data-theme="light"] .bg-gray-800,body[data-theme="light"] .bg-slate-950,body[data-theme="light"] .bg-slate-900,body[data-theme="light"] .bg-slate-800{background:#eaf0f7!important}
body[data-theme="light"] input,body[data-theme="light"] textarea,body[data-theme="light"] select{background:#fff!important;color:#172033!important;border-color:#cbd5e1!important}
body[data-theme="light"] .neon-auth-body{background:radial-gradient(ellipse at 50% 42%,#fff 0%,#edf4fb 55%,#e2eaf4 100%)!important;color:#172033!important}
body[data-theme="light"] .neon-auth-content h1{color:#087f80!important;text-shadow:none!important}
body[data-theme="light"] .neon-field{background:#fff!important;border-color:#c7d6e2!important}
body[data-theme="light"] .neon-field input{color:#172033!important}
body[data-theme="light"] #ls-theme-control{background:#fff;border-color:#d5dfeb}
body[data-theme="light"] #ls-theme-control button{color:#475569}
body[data-theme="light"] #ls-chat-panel{background:#fbfdff!important;color:#172033!important;border-color:#cbd9e6!important}
body[data-theme="light"] #ls-chat-head{background:linear-gradient(110deg,#e0f7f4,#e8edff)!important;border-color:#d7e2ec!important}
body[data-theme="light"] #ls-chat-head strong,body[data-theme="light"] #ls-chat-close{color:#172033!important}
body[data-theme="light"] #ls-chat-intro,body[data-theme="light"] #ls-chat-status{color:#526477!important}
body[data-theme="light"] #ls-chat-start input,body[data-theme="light"] #ls-chat-input{background:#fff!important;color:#172033!important;border-color:#cbd5e1!important}
body[data-theme="light"] #ls-chat-messages .msg{background:#e7eef6!important;color:#172033!important}
body[data-theme="light"] #ls-chat-messages .msg.visitor{background:#c8f3e9!important;color:#12443e!important}
body[data-theme="light"] .auth-shared-footer{background:transparent!important}


/* LimboSMP auth: mobile content-first oval frame, so CAPTCHA and form never spill outside. */
@media(max-width:600px){
  .neon-auth-body{overflow-x:hidden!important;overflow-y:auto!important;min-height:100dvh;height:auto!important}
  .neon-auth-page{width:100%;min-height:100dvh;height:auto!important;padding:64px 10px 28px!important;box-sizing:border-box;align-items:center;justify-content:flex-start!important;gap:16px!important}
  .neon-ring-shell{width:min(94vw,460px)!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;flex:0 0 auto;padding:34px 0!important;box-sizing:border-box;border-radius:48% / 18%!important}
  .neon-ring-shell:before,.neon-ring-shell:after,.neon-ring-glow{border-radius:48% / 18%!important}
  .neon-ring-shell:before{inset:0!important}
  .neon-ring-shell:after{inset:8px!important}
  .neon-auth-content{width:88%!important;max-width:100%;min-width:0;height:auto!important;max-height:none!important;overflow:visible!important;padding:12px 0!important;box-sizing:border-box}
  .neon-form{width:100%;min-width:0}
  .neon-field,.neon-submit{max-width:100%;min-width:0;box-sizing:border-box}
  .neon-terms{max-width:100%;white-space:normal;line-height:1.45}
  .neon-footer-note{max-width:92vw;line-height:1.4}
}
@media(max-width:380px){
  .neon-ring-shell{width:95vw!important}
  .neon-auth-content{width:89%!important}
}

/* LimboSMP rectangular authentication system: rotating neon frame around a card. */
.neon-auth-body{
  overflow-x:hidden!important;overflow-y:auto!important;
  min-height:100dvh!important;height:auto!important;
  overscroll-behavior-y:contain;
}
.neon-auth-page{
  width:100%;min-height:100dvh;height:auto!important;
  box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  padding:88px 16px 34px!important;gap:18px!important;
}
.neon-ring-shell{
  position:relative;isolation:isolate;display:grid;place-items:center;
  width:min(92vw,560px)!important;max-width:560px;
  height:auto!important;min-height:0!important;aspect-ratio:auto!important;
  flex:0 1 auto;padding:34px 30px!important;box-sizing:border-box;
  border-radius:30px!important;
  background:linear-gradient(145deg,rgba(10,26,39,.94),rgba(5,13,24,.96));
  box-shadow:0 24px 75px rgba(0,0,0,.26),inset 0 0 42px rgba(0,255,218,.035);
}
.neon-ring-shell:before{
  content:"";position:absolute;inset:-2px!important;padding:3px;
  border-radius:32px!important;
  background:conic-gradient(from 0deg,transparent 0deg,#00f5d4 45deg,#00e9ff 115deg,#9b35ff 185deg,#00f5d4 260deg,transparent 325deg,transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
  animation:neonRingSpin 8s linear infinite!important;
  filter:drop-shadow(0 0 7px rgba(0,255,224,.7)) drop-shadow(0 0 17px rgba(0,255,224,.25));
  pointer-events:none;z-index:-1;
}
.neon-ring-shell:after{
  content:"";position:absolute;inset:8px!important;border-radius:23px!important;
  border:1px solid rgba(70,255,229,.10);box-shadow:inset 0 0 35px rgba(0,255,218,.035);
  pointer-events:none;z-index:-1;
}
.neon-ring-glow{inset:-14px!important;border-radius:38px!important;opacity:.7;pointer-events:none}
.neon-auth-content{
  position:relative;z-index:1;width:100%!important;max-width:430px;
  height:auto!important;max-height:none!important;overflow:visible!important;
  padding:8px 0!important;box-sizing:border-box;text-align:center;
}
.neon-auth-content h1{font-size:clamp(23px,4vw,31px);}
.neon-subtitle{font-size:13px;margin-bottom:22px}
.neon-form{gap:13px}
.neon-field{height:48px;border-radius:15px;padding:0 15px}
.neon-submit{height:48px;border-radius:15px}
.neon-terms{font-size:11px}
.neon-options{font-size:11px}
.neon-switch-copy{font-size:11px}
.neon-switch-copy button{font-size:11px}
.neon-footer-note{font-size:10px;margin-top:0}
body.neon-auth-body[data-theme="light"] .neon-ring-shell{
  background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(241,248,253,.98));
  box-shadow:0 24px 75px rgba(36,65,90,.14),inset 0 0 42px rgba(0,150,150,.025);
}
@media(max-width:600px){
  .neon-auth-page{min-height:100dvh;height:auto!important;padding:78px 14px 28px!important;justify-content:center;gap:14px!important}
  .neon-ring-shell{width:min(94vw,520px)!important;max-width:520px;padding:28px 22px!important;border-radius:25px!important}
  .neon-ring-shell:before{border-radius:27px!important;padding:2.5px}
  .neon-ring-shell:after{inset:7px!important;border-radius:19px!important}
  .neon-ring-glow{border-radius:32px!important}
  .neon-auth-content{width:100%!important;max-width:100%;padding:5px 0!important}
  .neon-kicker{font-size:9px;letter-spacing:.2em}
  .neon-auth-content h1{font-size:clamp(21px,6vw,27px);margin:8px 0 3px}
  .neon-subtitle{font-size:11px;margin:0 0 17px}
  .neon-form{gap:10px}
  .neon-field{height:44px;padding:0 13px;border-radius:14px}
  .neon-field input{font-size:12px}
  .neon-options{font-size:10px}
  .neon-submit{height:44px;border-radius:14px;font-size:10px}
  .neon-terms{font-size:10px}
  .neon-switch-copy,.neon-switch-copy button{font-size:10px}
  .neon-message{font-size:10px}
  .neon-footer-note{font-size:9px;margin-top:0}
}
@media(max-width:380px){
  .neon-auth-page{padding:72px 10px 22px!important}
  .neon-ring-shell{width:95vw!important;padding:24px 17px!important;border-radius:22px!important}
  .neon-ring-shell:before{border-radius:24px!important}
  .neon-ring-shell:after{border-radius:16px!important}
  .neon-auth-content{width:100%!important}
  .neon-form{gap:9px}.neon-field{height:42px}.neon-submit{height:42px}
}
@media(prefers-reduced-motion:reduce){.neon-ring-shell:before{animation:none!important}}


/* LimboSMP auth frame: animate the neon gradient ALONG the rectangular border.
   The frame itself never rotates. Applies to login/register and password pages. */
@property --limbo-auth-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@keyframes limboAuthBorderTravel {
  to { --limbo-auth-angle: 360deg; }
}
.neon-auth-body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  height: auto !important;
}
.neon-auth-page {
  min-height: 100vh !important;
  min-height: 100dvh !important;
  height: auto !important;
  justify-content: center !important;
  padding: 92px 18px 34px !important;
  gap: 0 !important;
}
.neon-ring-shell {
  width: min(560px, calc(100vw - 36px)) !important;
  max-width: 560px !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  flex: 0 0 auto !important;
  display: block !important;
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
  border-radius: 30px !important;
  background: linear-gradient(145deg, rgba(7,22,32,.96), rgba(5,13,25,.97)) !important;
  box-shadow: 0 20px 65px rgba(0,0,0,.30), inset 0 0 38px rgba(0,238,220,.035) !important;
}
.neon-ring-shell::before {
  content: '' !important;
  position: absolute !important;
  inset: -2px !important;
  z-index: -1 !important;
  padding: 2.5px !important;
  border-radius: inherit !important;
  background: conic-gradient(from var(--limbo-auth-angle),
    #00f5d4 0deg, #00e9ff 95deg, #438cff 155deg,
    #9b35ff 215deg, #00f5d4 285deg, #00d9d0 360deg) !important;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0) !important;
  mask-composite: exclude !important;
  filter: drop-shadow(0 0 6px rgba(0,245,212,.65)) drop-shadow(0 0 15px rgba(0,200,255,.22)) !important;
  transform: none !important;
  animation: limboAuthBorderTravel 7s linear infinite !important;
  will-change: auto !important;
}
.neon-ring-shell::after {
  content: '' !important;
  position: absolute !important;
  inset: 8px !important;
  z-index: -1 !important;
  border: 1px solid rgba(70,255,229,.09) !important;
  border-radius: 23px !important;
  pointer-events: none !important;
}
.neon-ring-glow {
  inset: -10px !important;
  border-radius: 38px !important;
  background: radial-gradient(ellipse at center, rgba(0,255,218,.07), transparent 72%) !important;
  filter: blur(12px) !important;
  pointer-events: none !important;
}
.neon-auth-content {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  padding: 38px 34px !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
.neon-form { width: 100% !important; }
.neon-field, .limbo-captcha, .neon-submit { max-width: 100% !important; box-sizing: border-box !important; }
.neon-footer-note { margin-top: 24px !important; text-align: center !important; }
@media (max-width: 600px) {
  .neon-auth-page { padding: 84px 18px 28px !important; }
  .neon-ring-shell { width: calc(100vw - 36px) !important; border-radius: 25px !important; }
  .neon-ring-shell::after { border-radius: 18px !important; }
  .neon-auth-content { padding: 30px 22px !important; }
  .neon-auth-content h1 { font-size: clamp(23px, 7vw, 31px) !important; }
  .neon-kicker { font-size: 9px !important; }
  .neon-subtitle { font-size: 14px !important; }
  .neon-field { width: 100% !important; min-width: 0 !important; }
  .limbo-captcha { width: 100% !important; min-width: 0 !important; }
}
@media (max-width: 370px) {
  .neon-auth-content { padding: 25px 16px !important; }
  .neon-ring-shell { width: calc(100vw - 28px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .neon-ring-shell::before { animation: none !important; }
}

/* LimboSMP mobile motion tuning: lighter compositing and touch-friendly feedback. */
@media (hover: none), (pointer: coarse) {
  html { scroll-behavior: smooth; }
  button, a, input[type="submit"], input[type="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .lb-podium-card:hover, .mc-category:hover, #backToTop:hover { transform: none; filter: none; }
  .lb-podium-card, .mc-category, .lb-tab, .neon-field, .neon-submit, .auth-tab, .site-main-nav a, .footer-nav a {
    transition-duration: .18s !important;
  }
  .lb-podium-card:active, .mc-category:active, .lb-tab:active, .site-main-nav a:active, .footer-nav a:active {
    transform: scale(.985);
  }
  .neon-submit:active, .auth-tab:active { transform: scale(.985); }
  .announcement-overlay { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
}
@media (max-width: 760px) {
  /* Keep auth panel border animation smooth without rotating the panel itself. */
  .neon-ring-shell::before { animation-duration: 10s !important; filter: drop-shadow(0 0 4px rgba(0,245,212,.42)) !important; }
  .neon-ring-glow { filter: blur(8px) !important; opacity: .75; }
  .neon-auth-content.auth-turn-out { animation: authMobileOut .16s ease-in forwards !important; }
  .neon-auth-content.auth-turn-in { animation: authMobileIn .24s cubic-bezier(.2,.75,.25,1) both !important; }
  @keyframes authMobileOut { to { opacity: 0; transform: translateX(-12px) scale(.99); } }
  @keyframes authMobileIn { from { opacity: 0; transform: translateX(12px) scale(.99); } to { opacity: 1; transform: translateX(0) scale(1); } }
  .announcement-popup { animation-duration: .2s; }
}
@media (max-width: 600px) {
  .neon-ring-shell::before { animation-duration: 11s !important; filter: drop-shadow(0 0 3px rgba(0,245,212,.35)) !important; }
  .neon-ring-glow { filter: blur(6px) !important; }
  .lb-crown { animation-duration: 3.6s; }
  .lb-live-label span, .coming-soon-dot, .is-online .status-dot { animation-duration: 2.4s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
