:root{
  color-scheme:dark;
  --bg:#080809;--bg2:#0e0e10;--panel:#111114;--panel2:#17171b;--panel3:#1d1d22;
  --text:#f7f7f8;--muted:#9b9ba3;--line:#29292f;--orange:#ff6a00;--orange2:#ff8a22;
  --green:#39d98a;--red:#ff5d6c;--yellow:#ffc857;--shadow:0 18px 60px rgba(0,0,0,.34);
  --radius:24px;--radius-sm:16px;--max:1180px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 70% -10%,rgba(255,106,0,.14),transparent 34%),var(--bg);color:var(--text);min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit}img{max-width:100%}.hidden{display:none!important}.muted{color:var(--muted)}
.boot-screen{position:fixed;inset:0;z-index:999;background:#080809;display:grid;place-items:center;align-content:center;gap:12px;transition:opacity .25s}.boot-screen strong{letter-spacing:.08em}.boot-screen small{color:var(--muted)}.boot-logo{width:56px;height:56px;border-radius:18px;background:var(--orange);position:relative;box-shadow:0 14px 45px rgba(255,106,0,.32)}.boot-logo span{position:absolute;width:24px;height:12px;border:4px solid white;border-radius:99px;transform:rotate(-42deg)}.boot-logo span:first-child{left:8px;top:14px}.boot-logo span:last-child{right:8px;bottom:14px}
.shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:50;border-bottom:1px solid rgba(255,255,255,.06);background:rgba(8,8,9,.82);backdrop-filter:blur(18px)}.topin{max-width:var(--max);margin:auto;padding:12px 20px;display:flex;align-items:center;gap:18px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;min-width:max-content}.brand-mark{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,var(--orange2),var(--orange));display:grid;place-items:center;box-shadow:0 10px 30px rgba(255,106,0,.25)}.brand-mark svg{width:24px;height:24px}.brand-copy strong{display:block;font-size:17px;letter-spacing:-.03em}.brand-copy small{display:block;color:#8f8f97;font-size:9px;letter-spacing:.13em;margin-top:1px}.nav{margin-left:auto;display:flex;align-items:center;gap:4px}.nav button,.icon-btn{border:0;background:transparent;color:#b0b0b7;border-radius:13px;padding:10px 12px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;gap:7px}.nav button:hover,.nav button.active,.icon-btn:hover{background:#18181c;color:#fff}.nav svg,.icon-btn svg{width:17px;height:17px}.top-actions{display:flex;align-items:center;gap:8px}.login-mini{border:1px solid #34343b;background:#131316;color:#fff;border-radius:13px;padding:10px 14px;font-size:12px;font-weight:800}.login-mini:hover{border-color:#5a5a63}.avatar-mini{width:38px;height:38px;border-radius:12px;border:1px solid #35353b;background:#151519;display:grid;place-items:center;font-weight:900}.bell-wrap{position:relative}.badge{position:absolute;right:2px;top:-2px;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:var(--orange);color:#fff;font-size:10px;font-weight:900;display:grid;place-items:center;border:2px solid var(--bg)}
.mobile-nav{display:none;position:fixed;bottom:0;left:0;right:0;z-index:55;padding:8px max(10px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));background:rgba(9,9,10,.94);border-top:1px solid #242429;backdrop-filter:blur(18px)}.mobile-nav button{flex:1;border:0;background:none;color:#8d8d95;border-radius:12px;padding:8px 4px;font-size:10px;font-weight:800;display:grid;justify-items:center;gap:4px}.mobile-nav button.active{color:#fff;background:#18181c}.mobile-nav svg{width:18px;height:18px}
.container{max-width:var(--max);margin:auto;padding:34px 20px 100px}.hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:28px;align-items:stretch;margin-bottom:28px}.hero-copy,.hero-visual{border:1px solid #28282d;border-radius:32px;min-height:500px;position:relative;overflow:hidden}.hero-copy{padding:52px;background:linear-gradient(150deg,#111114,#0b0b0d)}.hero-copy:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-210px;top:-210px;background:radial-gradient(circle,rgba(255,106,0,.3),transparent 68%)}.kicker{display:inline-flex;align-items:center;gap:8px;color:var(--orange2);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.hero h1{font-size:clamp(44px,6vw,76px);line-height:.96;letter-spacing:-.07em;margin:20px 0 22px;max-width:720px}.hero h1 em{font-style:normal;color:var(--orange)}.hero p{color:#b6b6bd;line-height:1.75;font-size:15px;max-width:620px;margin:0 0 28px}.hero-actions{display:flex;gap:11px;flex-wrap:wrap}.trust-row{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px;color:#85858d;font-size:11px}.trust-row span{display:flex;align-items:center;gap:7px}.hero-visual{background:radial-gradient(circle at 70% 25%,rgba(255,106,0,.32),transparent 34%),linear-gradient(150deg,#17100d,#0d0d0f);padding:28px;display:grid;place-items:center}.phone{width:min(310px,88%);border:1px solid #4a2b1c;border-radius:42px;background:#0b0b0d;padding:13px;box-shadow:0 30px 80px rgba(0,0,0,.5),0 0 0 8px rgba(255,106,0,.04);transform:rotate(4deg)}.phone-screen{border-radius:32px;min-height:420px;background:linear-gradient(180deg,#121215,#0a0a0b);padding:22px;position:relative;overflow:hidden}.phone-notch{height:22px;width:90px;border-radius:0 0 16px 16px;background:#050506;margin:-22px auto 28px}.ig-gradient{width:66px;height:66px;border-radius:19px;background:radial-gradient(circle at 32% 100%,#ffd36a 0 10%,#ff7a00 28%,#f40061 55%,#8038fa 80%,#3b4ee8);display:grid;place-items:center;margin-bottom:24px;box-shadow:0 16px 45px rgba(244,0,97,.2)}.ig-gradient svg{width:34px;height:34px}.phone h3{font-size:25px;margin:0 0 9px;letter-spacing:-.04em}.phone p{font-size:12px;line-height:1.6;margin:0;color:#9f9fa8}.mini-card{margin-top:22px;border:1px solid #303037;border-radius:18px;background:#17171b;padding:16px}.mini-card .line{height:8px;background:#29292f;border-radius:99px;margin:8px 0}.mini-card .line.orange{background:linear-gradient(90deg,var(--orange),#ffb16b);width:72%}
.btn{border:1px solid transparent;border-radius:15px;min-height:48px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;font-size:13px;font-weight:850;transition:.18s transform,.18s filter,.18s border-color}.btn:hover:not(:disabled){transform:translateY(-1px);filter:brightness(1.05)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:linear-gradient(135deg,var(--orange2),var(--orange));color:#fff;box-shadow:0 12px 28px rgba(255,106,0,.2)}.btn.secondary{background:#18181c;color:#fff;border-color:#303037}.btn.ghost{background:transparent;color:#c5c5cb;border-color:#323238}.btn.danger{background:#291316;color:#ff858f;border-color:#4b2026}.btn.success{background:#10251c;color:#61e3a1;border-color:#214f38}.btn.small{min-height:36px;padding:0 12px;border-radius:11px;font-size:11px}.btn.block{width:100%}.btn svg{width:18px;height:18px}
.grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.65fr);gap:22px}.stack{display:grid;gap:18px}.panel{border:1px solid #28282e;background:linear-gradient(160deg,#121215,#0e0e11);border-radius:var(--radius);padding:24px;box-shadow:var(--shadow)}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}.panel-title h2,.panel-title h3{margin:0;letter-spacing:-.035em}.panel-title h2{font-size:22px}.panel-title h3{font-size:17px}.eyebrow{font-size:10px;color:#8f8f98;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #35353b;background:#18181c;padding:7px 10px;border-radius:99px;font-size:10px;font-weight:850;color:#b8b8bf}.pill.orange{color:#ff9b54;border-color:#4d2b18;background:#1c120d}.pill.green{color:#70e7aa;border-color:#234e38;background:#0f2119}.dot{width:7px;height:7px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px color-mix(in srgb,currentColor 14%,transparent)}
.current{padding:28px;background:radial-gradient(circle at 100% 0,rgba(255,106,0,.13),transparent 35%),#111114}.current-empty{text-align:center;padding:34px 18px}.current-empty .big-icon{width:56px;height:56px;border-radius:18px;background:#1a1a1f;display:grid;place-items:center;margin:auto}.current-empty h3{margin:16px 0 8px}.current-empty p{color:var(--muted);font-size:13px;line-height:1.6;max-width:420px;margin:auto}.current-name{font-size:clamp(25px,4vw,38px);font-weight:900;letter-spacing:-.055em;margin:12px 0 5px}.current-meta{color:#9c9ca4;font-size:12px;display:flex;gap:10px;flex-wrap:wrap}.timer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin:22px 0}.timer-card{border:1px solid #2d2d33;background:#17171b;border-radius:16px;padding:14px}.timer-card small{display:block;color:#8e8e96;font-size:10px;margin-bottom:7px}.timer-card strong{font-size:18px;letter-spacing:-.02em}.progress{height:7px;background:#25252b;border-radius:99px;overflow:hidden;margin:15px 0}.progress span{display:block;height:100%;background:linear-gradient(90deg,var(--orange),#ffad6e);border-radius:99px;transition:width .3s}.current-actions{display:flex;gap:9px;flex-wrap:wrap}
.queue{display:grid;gap:9px}.queue-row{border:1px solid #29292f;background:#151519;border-radius:15px;padding:13px 14px;display:flex;align-items:center;gap:12px}.queue-pos{width:32px;height:32px;border-radius:10px;background:#202025;display:grid;place-items:center;font-size:11px;font-weight:900;color:#aaaab2;flex:0 0 auto}.queue-main{min-width:0;flex:1}.queue-main strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.queue-main small{display:block;color:#81818a;font-size:10px;margin-top:4px}.empty-note{padding:28px;text-align:center;border:1px dashed #34343b;border-radius:16px;color:#8c8c94;font-size:12px}
.steps{display:grid;gap:10px}.step{display:flex;align-items:flex-start;gap:12px;padding:13px;border-radius:15px;background:#16161a;border:1px solid #29292e}.step-num{width:30px;height:30px;border-radius:10px;background:#29180d;color:#ff9b54;display:grid;place-items:center;font-weight:900;font-size:12px;flex:0 0 auto}.step strong{font-size:12px}.step p{font-size:11px;color:#8f8f97;margin:4px 0 0;line-height:1.5}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.stat{border:1px solid #29292f;background:#141418;border-radius:16px;padding:16px}.stat strong{font-size:24px;display:block;letter-spacing:-.04em}.stat span{font-size:10px;color:#898992;margin-top:5px;display:block}
.page-head{margin-bottom:24px}.page-head .kicker{margin-bottom:10px}.page-head h1{font-size:clamp(34px,5vw,54px);letter-spacing:-.06em;margin:0 0 10px}.page-head p{color:#9d9da5;line-height:1.7;font-size:13px;max-width:700px;margin:0}.form{display:grid;gap:16px}.field{display:grid;gap:8px}.field label{font-size:11px;font-weight:850;color:#c7c7cc}.input,.select,.textarea{width:100%;border:1px solid #34343a;background:#0f0f12;color:#fff;border-radius:14px;padding:14px 15px;outline:none}.input:focus,.select:focus,.textarea:focus{border-color:#8c471c;box-shadow:0 0 0 3px rgba(255,106,0,.09)}.field small{font-size:10px;color:#85858e;line-height:1.5}.radio-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.radio{border:1px solid #34343a;background:#131317;border-radius:14px;padding:14px;cursor:pointer;display:flex;align-items:center;gap:10px;font-size:12px;font-weight:800}.radio:has(input:checked){border-color:#8d481b;background:#21140d}.radio input{accent-color:var(--orange)}.notice{border:1px solid #4b3b1e;background:#1e180c;color:#e7c86d;border-radius:14px;padding:13px 14px;font-size:11px;line-height:1.55}.notice.info{border-color:#253e55;background:#0e1922;color:#87bce7}.notice.ok{border-color:#24543c;background:#0e2118;color:#7be5ad}.notice.bad{border-color:#54232a;background:#211013;color:#ff8d96}
.my-link{border:1px solid #2d2d33;background:#151519;border-radius:18px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:12px}.my-link strong{font-size:13px}.my-link .url{font-size:10px;color:#7f7f88;margin-top:5px;max-width:560px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.my-link .meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.my-link .actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.community-card{border:1px solid #2e2e34;background:#141418;border-radius:20px;padding:20px;text-decoration:none;transition:.2s transform,.2s border-color}.community-card:hover{transform:translateY(-2px);border-color:#514033}.community-card .icon-box{width:44px;height:44px;border-radius:14px;background:#202025;display:grid;place-items:center;margin-bottom:18px}.community-card h3{margin:0 0 7px;font-size:15px}.community-card p{font-size:11px;line-height:1.55;color:#8f8f98;margin:0}.donation{background:radial-gradient(circle at 90% 20%,rgba(255,106,0,.2),transparent 28%),#15110e}
.notifications-list{display:grid;gap:9px}.notification{border:1px solid #2d2d33;background:#151519;border-radius:15px;padding:14px;display:flex;gap:12px}.notification.unread{border-color:#593116;background:#1d130d}.notification-dot{width:9px;height:9px;border-radius:50%;background:var(--orange);margin-top:5px;flex:0 0 auto}.notification.read .notification-dot{background:#38383f}.notification strong{font-size:12px}.notification p{font-size:11px;line-height:1.5;color:#92929a;margin:5px 0}.notification time{font-size:9px;color:#6f6f77}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-card{display:flex;gap:14px;align-items:center}.profile-avatar{width:58px;height:58px;border-radius:18px;background:linear-gradient(135deg,#28282f,#16161a);border:1px solid #36363d;display:grid;place-items:center;font-size:20px;font-weight:900}.profile-card h3{margin:0 0 4px}.profile-card p{margin:0;color:#888891;font-size:11px}
.snake-shell{border:1px solid #2d2d33;background:#0b0b0d;border-radius:22px;padding:16px}.snake-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.snake-top h3{font-size:14px;margin:0}.snake-score{display:flex;gap:8px}.snake-score span{border:1px solid #303036;background:#151519;border-radius:10px;padding:7px 10px;font-size:10px;font-weight:850}.snake-stage{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:14px}.snake-canvas-wrap{position:relative;aspect-ratio:1;border-radius:18px;overflow:hidden;border:1px solid #303036;background:#09090a}.snake-canvas-wrap canvas{width:100%;height:100%;display:block}.snake-overlay{position:absolute;inset:0;background:rgba(5,5,6,.72);display:grid;place-items:center;text-align:center;padding:20px;backdrop-filter:blur(3px)}.snake-overlay h4{font-size:20px;margin:0 0 8px}.snake-overlay p{font-size:11px;line-height:1.55;color:#a3a3ab;margin:0 0 14px}.snake-ranking{display:grid;gap:8px;align-content:start}.rank-row{border:1px solid #2c2c32;background:#151519;border-radius:13px;padding:11px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px}.rank-num{width:28px;height:28px;border-radius:9px;background:#202025;display:grid;place-items:center;font-size:10px;font-weight:900}.rank-row:first-child .rank-num{background:#3a260d;color:#ffd36b}.rank-main strong{font-size:10px;display:block}.rank-main small{font-size:9px;color:#777780}.rank-score{font-size:11px;font-weight:900}.snake-controls{display:none;grid-template-columns:repeat(3,46px);grid-template-areas:". up ." "left down right";gap:7px;justify-content:center;margin-top:13px}.snake-controls button{width:46px;height:42px;border:1px solid #33333a;border-radius:12px;background:#17171b;color:#fff;font-weight:900}.snake-controls [data-dir="up"]{grid-area:up}.snake-controls [data-dir="left"]{grid-area:left}.snake-controls [data-dir="down"]{grid-area:down}.snake-controls [data-dir="right"]{grid-area:right}
.admin-table{display:grid;gap:8px}.admin-row{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;border:1px solid #2b2b31;border-radius:14px;background:#151519;padding:11px}.admin-row .idx{width:34px;height:34px;border-radius:10px;background:#202025;display:grid;place-items:center;font-size:10px;font-weight:900}.admin-row strong{font-size:11px}.admin-row small{display:block;font-size:9px;color:#81818a;margin-top:3px}
.toast-wrap{position:fixed;z-index:100;right:18px;bottom:18px;width:min(380px,calc(100vw - 36px));display:grid;gap:8px}.toast{border:1px solid #3a3a41;background:#17171b;color:#fff;border-radius:15px;padding:13px 14px;box-shadow:0 16px 45px rgba(0,0,0,.45);font-size:11px;line-height:1.5;animation:toastIn .2s ease}.toast.ok{border-color:#235039}.toast.bad{border-color:#5a2730}.toast.warn{border-color:#57451f}@keyframes toastIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.footer{border-top:1px solid #222227;margin-top:40px}.footer-in{max-width:var(--max);margin:auto;padding:26px 20px 90px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#777780;font-size:10px;line-height:1.6}.footer-links{display:flex;gap:14px;flex-wrap:wrap}.footer-links button{border:0;background:none;color:#92929b;padding:0;font-size:10px}
.modal-backdrop{position:fixed;z-index:120;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(6px);display:grid;place-items:center;padding:18px}.modal{width:min(620px,100%);max-height:min(780px,92vh);overflow:auto;border:1px solid #33333a;background:#111114;border-radius:24px;padding:24px;box-shadow:0 30px 90px rgba(0,0,0,.6)}.modal h2{margin:0 0 8px}.modal p,.modal li{font-size:11px;color:#9b9ba3;line-height:1.7}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}
@media(max-width:980px){.nav{display:none}.hero{grid-template-columns:1fr}.hero-visual{min-height:420px}.grid{grid-template-columns:1fr}.community-grid{grid-template-columns:1fr 1fr}.snake-stage{grid-template-columns:1fr}.snake-ranking{grid-template-columns:repeat(3,1fr)}.account-grid{grid-template-columns:1fr}.mobile-nav{display:flex}.container{padding-bottom:120px}.footer-in{padding-bottom:120px}}
@media(max-width:640px){.topin{padding:10px 12px}.brand-copy small{display:none}.brand-mark{width:38px;height:38px}.top-actions{margin-left:auto}.hero-copy{padding:30px 22px;min-height:auto}.hero-visual{min-height:380px}.hero h1{font-size:44px}.container{padding:22px 12px 120px}.panel{padding:18px;border-radius:20px}.timer-grid{grid-template-columns:1fr 1fr}.timer-grid .timer-card:last-child{grid-column:1/-1}.stats{grid-template-columns:1fr 1fr}.community-grid{grid-template-columns:1fr}.my-link{grid-template-columns:1fr}.my-link .actions{justify-content:flex-start}.snake-ranking{grid-template-columns:1fr}.snake-controls{display:grid}.login-mini{padding:9px 10px}.phone{width:270px}.hero-copy,.hero-visual{border-radius:24px}.current{padding:20px}.radio-row{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
