:root{
  --panel:rgba(30,15,9,.9); --panel-2:rgba(46,22,15,.72); --panel-3:rgba(58,28,18,.5);
  --line:rgba(255,184,0,.22); --line-soft:rgba(255,210,77,.12);
  --gold:#ffb800; --gold-hi:#ffd24d; --gold-deep:#e08600;
  --good:#48c6ad; --bad:#ff5e44; --warn:#ffb02e; --info:#4da3ff; --violet:#b07aff;
  --ink:#f7eedd; --ink-soft:#ead4bd; --ink-mute:#cdb9a0; --ink-faint:#a08d77;
  --font-pixel:"Press Start 2P",monospace;
  --font-display:"Bricolage Grotesque",system-ui,sans-serif;
  --font-body:"Sora",system-ui,sans-serif;
  --shadow:0 24px 60px -28px rgba(0,0,0,.85); --radius:18px;
  color-scheme:dark;
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth}
body{font-family:var(--font-body);color:var(--ink);line-height:1.6;min-height:100vh;display:flex;flex-direction:column;overflow-x:hidden;-webkit-font-smoothing:antialiased;background:#070302}
body::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,#0d0604 0%,#090401 52%,#050201 100%)}
::selection{background:rgba(255,184,0,.85);color:#1a0a05}
a{color:var(--gold);text-decoration:none}a:hover{color:var(--gold-hi)}
:focus-visible{outline:2px solid var(--gold);outline-offset:2px;border-radius:6px}

.bg{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.bg::before{content:"";position:absolute;left:50%;top:-8vh;width:120vmax;height:60vh;transform:translateX(-50%);background:radial-gradient(50% 60% at 50% 0%,rgba(255,168,52,.13),transparent 62%)}
.embers{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.embers i{position:absolute;bottom:-3vh;width:5px;height:5px;border-radius:50%;background:#ffc24d;box-shadow:0 0 12px 3px rgba(255,170,50,.5);opacity:0;animation:ember linear infinite}
.embers i:nth-child(3n){background:#ff9a3d}
.embers i:nth-child(1){left:10%;animation-duration:19s;animation-delay:-3s}
.embers i:nth-child(2){left:26%;animation-duration:25s;animation-delay:-11s}
.embers i:nth-child(3){left:40%;animation-duration:21s;animation-delay:-6s}
.embers i:nth-child(4){left:54%;animation-duration:27s;animation-delay:-15s}
.embers i:nth-child(5){left:68%;animation-duration:18s;animation-delay:-1s}
.embers i:nth-child(6){left:82%;animation-duration:24s;animation-delay:-9s}
.embers i:nth-child(7){left:92%;animation-duration:20s;animation-delay:-13s}
@keyframes ember{0%{transform:translate(0,0);opacity:0}8%{opacity:.6}50%{transform:translate(2vw,-52vh)}88%{opacity:.2}100%{transform:translate(-1.5vw,-105vh);opacity:0}}

.topbar{position:sticky;top:0;z-index:70;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px clamp(16px,4vw,42px);background:rgba(12,6,4,.92);box-shadow:0 14px 34px -22px rgba(0,0,0,.9);border-bottom:1px solid var(--line-soft)}
.brand{display:flex;align-items:center;gap:10px}
.brand img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(255,168,52,.4))}
.brand__name{font-family:var(--font-pixel);font-size:13px;color:var(--gold-hi);text-shadow:0 2px 0 var(--gold-deep),0 0 22px rgba(255,184,0,.4)}
.brand__tag{font-family:var(--font-display);font-weight:700;font-size:11px;letter-spacing:3px;color:var(--ink-faint)}
.nav{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.nav a,.nav .who{display:inline-flex;align-items:center;gap:7px;color:var(--ink-mute);font-weight:600;font-size:13px;padding:7px 13px;border-radius:999px;border:1px solid var(--line-soft);transition:color .2s,border-color .2s,background .2s;cursor:pointer;background:none}
.nav a svg{width:15px;height:15px;color:var(--gold)}
.nav a:hover,.nav .who:hover{color:var(--gold-hi);border-color:var(--line);background:rgba(255,184,0,.06)}
.nav .who img{width:22px;height:22px;border-radius:6px;image-rendering:pixelated}

main{flex:1;position:relative;z-index:1;width:100%;max-width:980px;margin:0 auto;padding:clamp(20px,4vw,40px) 16px 70px}
.card{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);box-shadow:var(--shadow);padding:clamp(20px,3vw,28px);margin-bottom:18px}
.center{text-align:center}
h1{font-family:var(--font-display);font-weight:800;font-size:clamp(28px,5vw,40px);line-height:1.05;letter-spacing:-.5px}
h2{font-family:var(--font-display);font-weight:800;font-size:19px;margin-bottom:5px}
h3{font-family:var(--font-display);font-weight:700;font-size:15px}
.goldtext{background:linear-gradient(180deg,#fff3d6 12%,#ffd24d 58%,#c98a00 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.muted{color:var(--ink-faint);font-size:13.5px}
.kicker{font-family:var(--font-pixel);font-size:10px;letter-spacing:3px;text-transform:uppercase;color:var(--gold);text-shadow:0 0 18px rgba(255,184,0,.45)}

.reveal{opacity:0;transform:translateY(14px);animation:reveal .55s cubic-bezier(.22,1,.36,1) forwards}
.reveal.d1{animation-delay:.06s}.reveal.d2{animation-delay:.12s}
@keyframes reveal{to{opacity:1;transform:none}}
.fade{animation:fade .35s ease forwards}
@keyframes fade{from{opacity:0}to{opacity:1}}
.hidden{display:none!important}

.hero-logo{width:min(130px,38vw);height:auto;margin:4px auto 14px;display:block;filter:drop-shadow(0 0 42px rgba(255,168,52,.4)) drop-shadow(0 14px 30px rgba(0,0,0,.5));animation:float 6s ease-in-out infinite}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}

/* buttons */
.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer;border:0;font-family:var(--font-display);font-weight:700;font-size:14.5px;color:#1a0a05;background:linear-gradient(180deg,var(--gold-hi),var(--gold) 62%,var(--gold-deep));border-radius:13px;padding:12px 22px;box-shadow:0 12px 28px -10px rgba(255,184,0,.6),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .16s,filter .16s,box-shadow .22s}
.btn:hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 18px 36px -12px rgba(255,184,0,.7),inset 0 1px 0 rgba(255,255,255,.4)}
.btn:active{transform:translateY(0)}
.btn:disabled{opacity:.55;cursor:not-allowed;transform:none;filter:grayscale(.3);box-shadow:none}
.btn.small{padding:8px 15px;font-size:13px;border-radius:11px;box-shadow:0 8px 18px -10px rgba(255,184,0,.5)}
.btn.wide{width:100%}
.btn.big{padding:15px 26px;font-size:16px;border-radius:15px}
.btn.big svg{width:19px;height:19px}
.btn.ghost{background:transparent;color:var(--ink-mute);border:1px solid var(--line-soft);box-shadow:none}
.btn.ghost:hover{color:var(--gold-hi);border-color:var(--line);background:rgba(255,184,0,.05);box-shadow:none}
.btn.discord{background:linear-gradient(180deg,#8a99fb,#5865F2 62%,#4453d6);color:#fff;box-shadow:0 12px 28px -10px rgba(88,101,242,.65),inset 0 1px 0 rgba(255,255,255,.28)}
.btn.discord:hover{box-shadow:0 18px 36px -12px rgba(88,101,242,.75),inset 0 1px 0 rgba(255,255,255,.34)}
.btn svg{width:17px;height:17px}

.orline{display:flex;align-items:center;gap:14px;max-width:360px;margin:22px auto}
.orline::before,.orline::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,var(--line-soft),transparent)}
.orline span{font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:var(--ink-faint)}
.hint-center{font-size:12.5px;color:var(--ink-faint);margin-top:11px;text-align:center}
.hint-center b{color:var(--gold-hi)}
.btn.danger-ghost{background:transparent;color:#ff8a72;border:1px solid rgba(255,94,68,.3);box-shadow:none}
.btn.danger-ghost:hover{background:rgba(255,94,68,.08);border-color:rgba(255,94,68,.5)}

label{display:block;font-size:13px;font-weight:600;color:var(--ink-mute);margin:14px 0 6px}
input,textarea,select{width:100%;background:var(--panel-2);border:1px solid var(--line-soft);border-radius:12px;color:var(--ink);padding:11px 14px;font-size:14.5px;font-family:var(--font-body);transition:border-color .18s,box-shadow .18s}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(255,184,0,.12)}
textarea{resize:vertical}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a08d77' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}
select option{background:#1a0d08;color:var(--ink)}
.codein{text-align:center;font-family:var(--font-display);font-weight:800;letter-spacing:6px;font-size:20px;text-transform:uppercase}

.msg{margin-top:13px;font-size:13.5px;border-radius:11px;padding:11px 14px;display:flex;gap:9px;align-items:flex-start}
.msg svg{width:16px;height:16px;flex:none;margin-top:2px}
.msg.ok{background:rgba(72,198,173,.12);color:var(--good);border:1px solid rgba(72,198,173,.3)}
.msg.err{background:rgba(255,94,68,.12);color:#ffb3a6;border:1px solid rgba(255,94,68,.3)}

/* notices */
.notice{display:flex;gap:13px;align-items:flex-start;border-radius:13px;padding:14px 16px;margin:14px 0;border:1px solid rgba(255,184,0,.25);background:linear-gradient(180deg,rgba(255,184,0,.07),rgba(255,184,0,.02))}
.notice .ico{flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:rgba(255,184,0,.13);color:var(--gold)}
.notice .ico svg{width:18px;height:18px}
.notice p{font-size:13px;color:var(--ink-mute);line-height:1.6}
.notice b{color:var(--gold-hi)}
.notice.safety{border-color:rgba(176,122,255,.3);background:linear-gradient(180deg,rgba(176,122,255,.08),rgba(176,122,255,.02))}
.notice.safety .ico{background:rgba(176,122,255,.14);color:var(--violet)}
.notice.safety b{color:#d3b8ff}

/* profile strip */
.profile{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.profile .head{width:58px;height:58px;image-rendering:pixelated;border-radius:12px;border:1px solid var(--line-soft);background:var(--panel-2)}
.profile .pn{font-family:var(--font-display);font-weight:800;font-size:23px;line-height:1.1;display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.profile .sub{color:var(--ink-faint);font-size:13px;margin-top:2px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.dot{display:inline-block;width:7px;height:7px;border-radius:50%}
.dot.on{background:var(--good);box-shadow:0 0 8px rgba(72,198,173,.7)}
.dot.off{background:var(--ink-faint)}
.rankpill{font-size:10.5px;font-weight:800;letter-spacing:.6px;text-transform:uppercase;padding:3px 10px;border-radius:999px;background:rgba(255,184,0,.14);color:var(--gold-hi);border:1px solid rgba(255,184,0,.3)}

/* tabs */
.tabs{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line-soft);margin-bottom:18px;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{position:relative;white-space:nowrap;background:none;border:0;cursor:pointer;color:var(--ink-faint);font-family:var(--font-display);font-weight:700;font-size:13.5px;padding:11px 13px;display:inline-flex;align-items:center;gap:7px;transition:color .2s}
.tab svg{width:15px;height:15px}
.tab:hover{color:var(--ink)}
.tab.on{color:var(--gold-hi)}
.tab .u{position:absolute;left:8px;right:8px;bottom:-1px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--gold-deep),var(--gold-hi));transform:scaleX(0);transition:transform .25s}
.tab.on .u{transform:scaleX(1)}
.tabpanel{animation:fade .3s ease}

/* impact banner */
.impact{display:flex;align-items:center;gap:18px;padding:18px 20px;border-radius:15px;border:1px solid rgba(72,198,173,.3);background:linear-gradient(180deg,rgba(72,198,173,.09),rgba(72,198,173,.02));margin-bottom:16px}
.impact .num{font-family:var(--font-display);font-weight:800;font-size:38px;color:var(--good);line-height:1;text-shadow:0 0 24px rgba(72,198,173,.4)}
.impact p{font-size:13.5px;color:var(--ink-mute)}
.impact b{color:#a9ecdf}

/* case cards */
.clist{display:flex;flex-direction:column;gap:11px}
.ccard{border:1px solid var(--line-soft);border-radius:14px;background:var(--panel-2);overflow:hidden;transition:border-color .2s}
.ccard:hover{border-color:var(--line)}
.ccard .chead{display:flex;align-items:center;gap:13px;padding:13px 16px;cursor:pointer;user-select:none}
.ccard .chead img{width:38px;height:38px;border-radius:9px;image-rendering:pixelated;flex:none}
.ccard .cico{flex:none;width:38px;height:38px;border-radius:9px;display:grid;place-items:center}
.ccard .cico svg{width:19px;height:19px}
.ccard .cmid{flex:1;min-width:0}
.ccard .ct{font-family:var(--font-display);font-weight:700;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ccard .cd{font-size:12px;color:var(--ink-faint);margin-top:1px}
.ccard .chev{flex:none;color:var(--ink-faint);transition:transform .25s}
.ccard.open .chev{transform:rotate(180deg)}
.ccard .cbody{display:none;padding:2px 16px 16px;border-top:1px solid rgba(255,210,77,.07)}
.ccard.open .cbody{display:block;animation:fade .3s ease}
.frow{padding:10px 0;border-bottom:1px solid rgba(255,210,77,.06)}
.frow:last-child{border-bottom:0}
.frow .k{font-size:11px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;color:var(--ink-faint);margin-bottom:3px}
.frow .v{font-size:14px;color:var(--ink-soft);overflow-wrap:anywhere}
.frow.gold{background:rgba(255,184,0,.06);border:1px solid rgba(255,184,0,.2);border-radius:11px;padding:11px 13px;margin-top:10px}
.frow.gold .k{color:var(--gold-hi)}

/* status pills */
.pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:800;letter-spacing:.4px;text-transform:uppercase;padding:5px 11px;border-radius:999px;flex:none}
.pill svg{width:12px;height:12px}
.pill.pending,.pill.open{background:rgba(255,176,46,.14);color:var(--warn);border:1px solid rgba(255,176,46,.35)}
.pill.investigating,.pill.claimed{background:rgba(77,163,255,.13);color:#8cc1ff;border:1px solid rgba(77,163,255,.35)}
.pill.accepted{background:rgba(72,198,173,.13);color:var(--good);border:1px solid rgba(72,198,173,.35)}
.pill.denied,.pill.closed{background:rgba(255,94,68,.13);color:#ff8a72;border:1px solid rgba(255,94,68,.35)}
.pill.primary{background:rgba(77,163,255,.13);color:#8cc1ff;border:1px solid rgba(77,163,255,.35)}

/* chat */
.chat{display:flex;flex-direction:column;gap:9px;margin:12px 0}
.bubble{max-width:86%;padding:10px 13px;border-radius:13px;font-size:13.5px;line-height:1.55;overflow-wrap:anywhere}
.bubble .who{font-size:10.5px;font-weight:700;opacity:.85;margin-bottom:3px;display:flex;align-items:center;gap:5px}
.bubble .who svg{width:12px;height:12px}
.bubble .bt{font-size:10px;color:var(--ink-faint);margin-top:4px;opacity:.8}
.bubble.player{align-self:flex-end;background:rgba(255,184,0,.1);border:1px solid var(--line)}
.bubble.staff{align-self:flex-start;background:var(--panel);border:1px solid rgba(77,163,255,.25)}
.row{display:flex;gap:9px;margin-top:12px}
.row input{margin:0}
.row .btn{flex:none}

/* attachments */
.attach-btn{display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:var(--ink-mute);font-weight:600;font-size:13px;padding:9px 15px;border-radius:11px;border:1px dashed var(--line);background:rgba(255,184,0,.04);transition:color .2s,border-color .2s;margin-top:14px}
.attach-btn:hover{color:var(--gold-hi);border-color:var(--gold)}
.attach-btn svg{width:16px;height:16px;color:var(--gold)}
.attach-hint{font-size:11.5px;color:var(--ink-faint);margin-top:6px}
.thumbs{display:flex;gap:9px;flex-wrap:wrap;margin-top:11px}
.thumb{position:relative;width:74px;height:74px;border-radius:11px;overflow:hidden;border:1px solid var(--line-soft);background:var(--panel-3)}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb .vid{display:grid;place-items:center;width:100%;height:100%;font-size:11px;font-weight:700;color:var(--ink-mute)}
.thumb .rm{position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:7px;border:0;cursor:pointer;background:rgba(10,5,2,.8);color:#ffb3a6;font-size:12px;line-height:1;display:grid;place-items:center}
.thumb .rm:hover{background:rgba(255,94,68,.8);color:#fff}
.mediagrid{display:flex;gap:9px;flex-wrap:wrap;margin-top:8px}
.mediagrid a{display:block;width:82px;height:82px;border-radius:11px;overflow:hidden;border:1px solid var(--line-soft);background:var(--panel-3)}
.mediagrid img{width:100%;height:100%;object-fit:cover}
.mediagrid .vid{display:grid;place-items:center;width:100%;height:100%;font-size:12px;font-weight:700;color:var(--ink-mute)}

/* accounts */
.acc{display:flex;align-items:center;gap:13px;padding:12px 14px;border:1px solid var(--line-soft);border-radius:13px;background:var(--panel-2);margin-bottom:9px}
.acc img{width:36px;height:36px;border-radius:9px;image-rendering:pixelated;flex:none}
.acc .amid{flex:1;min-width:0}
.acc .an{font-family:var(--font-display);font-weight:700;font-size:14.5px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.acc .ag{font-size:12px;color:var(--ink-faint);margin-top:1px}
.acc .actions{display:flex;gap:7px;flex-wrap:wrap}

/* empty / loading */
.empty{text-align:center;padding:34px 20px;color:var(--ink-faint)}
.empty svg{width:42px;height:42px;color:var(--gold);opacity:.45;margin-bottom:11px}
.empty h3{color:var(--ink-soft);margin-bottom:4px}
.loading{display:flex;align-items:center;justify-content:center;gap:12px;padding:26px;color:var(--ink-mute);font-size:13.5px}
.mspin{width:26px;height:26px;border-radius:50%;border:3px solid rgba(255,184,0,.25);border-top-color:var(--gold);animation:spin .8s linear infinite}
.loading .mspin{width:20px;height:20px;border-width:2px}
@keyframes spin{to{transform:rotate(360deg)}}

footer{position:relative;z-index:1;padding:20px 16px;text-align:center;color:var(--ink-faint);font-size:13px;border-top:1px solid var(--line-soft)}

@media(max-width:560px){
  .nav a span{display:none}
  .profile .pn{font-size:19px}
  .impact{gap:14px}.impact .num{font-size:30px}
  .acc{flex-wrap:wrap}.acc .actions{width:100%;justify-content:flex-end}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}
