:root{--bg:#141414;--bg2:#1c1b19;--bg3:#24221e;--gold:#B8892A;--gold2:#E2B655;--red:#C22A31;--ink:#EDE6D6;--dim:#8C8473;--line:#2f2b24}
html body {background:var(--bg)!important;color:var(--ink);font-family:Inter,system-ui,sans-serif;padding:0 0 40px}
html body .container{padding:22px 18px 0;max-width:1150px}
html body h1,html body h2,html body h3,html body .title,html body .rsvpTitle{font-family:Anton,Impact,sans-serif;font-weight:400;letter-spacing:.03em;text-transform:uppercase;color:var(--gold2)}
html body h4{color:var(--gold2)}
html body a{color:var(--gold2)}
html body .logo img{max-height:64px;width:auto}
html body .nav{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:0 0 22px}
html body .nav a{background:var(--bg2);border:1px solid var(--line);color:var(--ink);border-radius:8px;padding:8px 14px;font-weight:600;text-decoration:none}
html body .nav a:hover,html body .nav a.active{color:var(--gold2);border-color:var(--gold);background:var(--bg3)}
html body .card,html body .rcard,html body .kpi,html body .eventItem,html body .rulesBox,html body .rules,html body .rsvpWrap,html body .notice,html body .round,html body .chip,html body .drop-zone{background:var(--bg2);border:1px solid var(--line);border-radius:12px;color:var(--ink)}
html body .card,html body .rcard{box-shadow:0 1px 0 rgba(226,182,85,.06) inset}
html body .kpi .val,html body .gold,html body .stat strong{color:var(--gold2)}
html body .muted,html body .small,html body .subtitle,html body .pt,html body .kpi .label{color:var(--dim)}
html body .btn,html body .aBtn,html body button,html body input[type=submit]{background:var(--bg3);color:var(--ink);border:1px solid var(--line);border-radius:8px;font-weight:700;font-family:Inter,sans-serif}
html body .btn:hover,html body .aBtn:hover,html body button:hover{border-color:var(--gold);color:var(--gold2)}
html body .btn-gold,html body .aBtn.gold,html body button[type=submit]{background:linear-gradient(180deg,var(--gold2),var(--gold));color:#141414;border-color:var(--gold)}
html body .btn-gold:hover,html body .aBtn.gold:hover,html body button[type=submit]:hover{color:#141414;filter:brightness(1.08)}
html body .btn-danger{background:#2a0f10;border-color:var(--red);color:#ffb3b3}
html body input:not([type=checkbox]):not([type=radio]):not([type=file]),html body select,html body textarea,html body .inp{background:#101010;border:1px solid var(--line);color:var(--ink);border-radius:8px}
html body input:focus,html body select:focus,html body textarea:focus{border-color:var(--gold);outline:none}
html body input[type=checkbox],html body input[type=radio]{accent-color:var(--gold)}
html body table{border-collapse:collapse}
html body th{color:var(--gold2);background:transparent;font-size:12px;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--line)}
html body td{border-bottom:1px solid var(--line)}
html body tr:hover td{background:rgba(226,182,85,.04)}
html body .pill.open,html body .badge.open{background:rgba(226,182,85,.12);border-color:rgba(226,182,85,.4);color:var(--gold2)}
html body .pill.closed,html body .badge.closed{background:#1d0d0e;border-color:#5a1f22;color:#f0a5a8}
html body .ok{color:#9be29b}html body .err{color:#f0a5a8}
.d3top{position:sticky;top:0;z-index:50;background:rgba(20,20,20,.94);backdrop-filter:blur(6px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 18px}
.d3brand{display:flex;align-items:center;gap:10px;color:var(--gold2)!important;font-family:Anton,sans-serif;font-size:1.25rem;letter-spacing:.05em;text-decoration:none!important}.d3brand img{height:34px}
.d3top nav{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.d3top nav::-webkit-scrollbar{display:none}
.d3top nav a{color:var(--ink)!important;padding:7px 10px;border-radius:6px;font-weight:600;font-size:.88rem;white-space:nowrap;text-decoration:none!important}
.d3top nav a:hover{color:var(--gold2)!important;background:var(--bg3)}.d3top nav a.on{border:1px solid var(--gold);color:var(--gold2)!important}
@media(max-width:700px){.d3brand span{display:none}.d3top{padding:6px 10px}}
.d3brand span{display:none}
html body .kpi,html body .card .card{background:var(--bg3)}
/* phone-friendly admin */
@media(max-width:760px){
html body .container{padding:12px 10px 0}
html body .nav{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -10px 16px;padding:0 10px}
html body .nav::-webkit-scrollbar{display:none}
html body .nav a{white-space:nowrap;flex:0 0 auto}
html body table{display:block;overflow-x:auto;max-width:100%}
html body input:not([type=checkbox]):not([type=radio]),html body select,html body textarea{font-size:16px!important;max-width:100%}
html body .btn,html body button{min-height:42px}
html body .card,html body .rcard{padding:14px}
html body h1{font-size:28px}
html body .logo img{max-height:44px}
}
html{color-scheme:dark}
html body select{background-color:#1b1a18!important;color:#f2ede3!important}
html body select option,html body select optgroup{background:#1b1a18!important;color:#f2ede3!important}