/* The Arena (rockosworld.com/arena): shared styles for the hub, game boards and connect page.
   Arcade tokens match the homepage; game cards are the "Big & simple" look (Ron, 2026-10-08). */
:root{
  --bg:#161d2b; --bg2:#101624; --panel:#1e2740; --panel2:#283356; --edge:#0b1020; --cream:#fff8ec;
  --red:#d83a34; --gold:#ffc93c; --sky:#7ec8ff; --teal:#0E9E8E; --muted:#9fb0c9;
  --disp:'Lilita One',system-ui,sans-serif; --body:'Nunito',system-ui,sans-serif; --game:'Fredoka','Nunito',system-ui,sans-serif;
}
*{ box-sizing:border-box; } html,body{ margin:0; }
body{ font-family:var(--body); color:var(--cream); font-weight:700; background:linear-gradient(180deg,var(--bg),var(--bg2)); min-height:100vh; overflow-x:hidden; -webkit-font-smoothing:antialiased; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; }
[hidden]{ display:none !important; }
.wrap{ max-width:1100px; margin:0 auto; padding:0 16px; }
.narrow{ max-width:620px; }

/* nav (same as the homepage) */
.nav{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 0; }
.brand{ display:inline-flex; align-items:center; gap:9px; }
.brand img{ height:40px; width:auto; }
.brand .wm{ font-family:var(--disp); font-size:1.3rem; letter-spacing:.5px; line-height:1; -webkit-text-stroke:2px var(--edge); paint-order:stroke fill; }
.brand .wm .a{ color:var(--red); } .brand .wm .b{ color:var(--gold); }
.nav-right{ display:inline-flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.signin{ font-weight:900; font-size:.82rem; color:var(--edge); background:var(--gold); border:3px solid var(--edge); padding:8px 14px; border-radius:12px; box-shadow:0 4px 0 var(--edge); }
@media (max-width:430px){ .brand .wm{ font-size:1.05rem; } .signin{ font-size:.76rem; padding:7px 8px; } }

/* hub header */
.arena-head{ text-align:center; padding:18px 0 8px; }
.arena-head .ribbon{ display:inline-flex; align-items:center; gap:7px; background:var(--red); color:#fff; font-family:var(--disp); letter-spacing:.6px; font-size:.9rem; padding:6px 16px; border-radius:999px; border:3px solid var(--edge); box-shadow:0 4px 0 var(--edge); }
.arena-head h1{ font-family:var(--disp); font-weight:400; font-size:clamp(2.4rem,9vw,4rem); line-height:1; margin:14px 0 6px; -webkit-text-stroke:3px var(--edge); paint-order:stroke fill; text-shadow:0 6px 0 var(--edge); }
.arena-head h1 .a{ color:var(--gold); }
.arena-head p{ color:#dde6f2; font-weight:800; margin:0 auto; max-width:560px; }

/* "you" panel: sign in / join / signed-in strip */
.panel{ background:var(--panel); border:4px solid var(--edge); border-radius:22px; padding:18px; box-shadow:0 6px 0 var(--edge); margin:22px 0; }
.panel h2{ font-family:var(--disp); font-weight:400; font-size:1.45rem; margin:0 0 4px; }
.panel p{ color:var(--muted); font-weight:700; margin:0 0 12px; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; font-family:var(--disp); font-size:1.1rem; letter-spacing:.4px; color:var(--edge); background:var(--gold); border:3px solid var(--edge); border-radius:14px; padding:10px 20px; box-shadow:0 5px 0 var(--edge); }
.btn:active{ transform:translateY(2px); box-shadow:0 3px 0 var(--edge); }
.btn.ghost{ background:var(--panel2); color:var(--cream); }
.btn[disabled]{ opacity:.6; cursor:default; }
.me-strip{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.me-strip .who{ display:flex; align-items:center; gap:12px; font-family:var(--disp); font-size:1.35rem; }
.me-strip .who .av{ width:52px; height:52px; border-radius:50%; display:grid; place-items:center; font-size:1.7rem; background:var(--teal); border:3px solid var(--edge); }
.me-strip .who small{ display:block; font-family:var(--body); color:var(--muted); font-size:.8rem; font-weight:800; }
.link{ background:none; border:0; color:var(--sky); font-weight:900; cursor:pointer; padding:0; }

/* join form */
.field{ margin:12px 0; }
.field label{ display:block; font-weight:900; font-size:.9rem; margin-bottom:6px; }
.field input[type=text]{ width:100%; font:inherit; font-weight:800; font-size:1.05rem; padding:11px 13px; border-radius:12px; border:3px solid var(--edge); background:#fff; color:#16202e; }
.field .hint{ color:var(--muted); font-size:.8rem; font-weight:700; margin-top:5px; }
.icons{ display:grid; grid-template-columns:repeat(10,1fr); gap:6px; }
@media (max-width:520px){ .icons{ grid-template-columns:repeat(5,1fr); } }
.icons button{ aspect-ratio:1; border-radius:12px; border:3px solid transparent; background:var(--panel2); font-size:1.4rem; cursor:pointer; }
.icons button.on{ border-color:var(--gold); background:#3a3460; }
.check{ display:flex; gap:10px; align-items:flex-start; font-weight:800; margin:14px 0; }
.check input{ width:20px; height:20px; margin-top:2px; flex:none; }
.msg{ margin-top:10px; padding:9px 12px; border-radius:12px; font-weight:800; font-size:.9rem; display:none; }
.msg.err{ display:block; background:#4a1d1d; color:#ffd0cc; }
.msg.ok{ display:block; background:#173d2f; color:#c8f5dc; }

/* Big & simple game cards */
.cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; }
.gc{ display:block; border-radius:26px; padding:18px; position:relative; overflow:hidden; color:#fff; border:4px solid var(--edge); box-shadow:0 7px 0 var(--edge), 0 18px 34px rgba(0,0,0,.35); transition:transform .12s; }
a.gc:hover{ transform:translateY(-3px); }
.gc.dark{ color:#2a1700; }
.gc .bg{ position:absolute; right:-34px; top:-26px; width:190px; height:190px; object-fit:cover; opacity:.26; transform:rotate(10deg); border-radius:40px; pointer-events:none;
  -webkit-mask-image:radial-gradient(circle at 60% 40%,#000 35%,transparent 72%); mask-image:radial-gradient(circle at 60% 40%,#000 35%,transparent 72%); }
.gc > *:not(.bg){ position:relative; }
.gname{ display:flex; align-items:center; gap:10px; font-family:var(--game); font-weight:700; font-size:1.45rem; }
.gname img{ width:42px; height:42px; border-radius:12px; object-fit:cover; background:#fff; box-shadow:0 3px 8px rgba(0,0,0,.3); }
.gc .lab{ margin-top:14px; font-weight:900; font-size:.78rem; opacity:.9; text-transform:uppercase; letter-spacing:1px; }
.gc .num{ font-family:var(--disp); font-size:3rem; line-height:1.02; }
.gc .num small{ font-size:1rem; opacity:.85; margin-left:4px; }
.gc .who{ font-weight:900; font-size:.98rem; opacity:.95; }
.gc .empty{ font-family:var(--disp); font-size:1.6rem; line-height:1.1; margin-top:2px; }
.gc .foot{ margin-top:14px; background:rgba(0,0,0,.22); border-radius:16px; padding:10px 12px; display:flex; justify-content:space-between; align-items:center; gap:10px; font-weight:900; }
.gc .foot small{ display:block; font-size:.76rem; opacity:.88; }
.gc .foot .rk{ font-family:var(--disp); font-size:1.6rem; }
.gc .play{ display:inline-flex; align-items:center; gap:6px; font-family:var(--disp); font-size:1.05rem; background:#fff; color:#1a2236; border-radius:999px; padding:8px 16px; box-shadow:0 4px 0 rgba(0,0,0,.22); }

/* the overall card spans the row */
.gc.overall{ grid-column:1/-1; background:linear-gradient(135deg,#3b2d7a,#1f2a5c 55%,#14365a); }
.gc.overall .crown{ width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:var(--gold); font-size:1.4rem; }
.gc.overall .badges{ position:absolute; right:16px; top:16px; display:flex; gap:6px; }
.gc.overall .badges img{ width:46px; height:46px; border-radius:12px; object-fit:cover; border:3px solid var(--edge); }
@media (max-width:520px){ .gc.overall .badges{ position:static; margin-top:10px; } }

/* the rest of the Arena (coming soon) */
.soon{ margin:30px 0 8px; text-align:center; }
.soon h2{ font-family:var(--disp); font-weight:400; font-size:1.3rem; margin:0 0 10px; color:var(--muted); }
.soon .chips{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }
.soon .chip{ display:inline-flex; align-items:center; gap:7px; background:rgba(255,255,255,.06); border:3px solid var(--edge); border-radius:12px; padding:7px 12px; font-family:var(--disp); font-size:.9rem; color:#c9d4e4; }
.soon .chip img{ height:24px; width:auto; }

/* board page */
.back{ display:inline-flex; gap:6px; color:var(--muted); font-weight:900; margin:4px 0 12px; }
.back:hover{ color:var(--cream); }
.hero.gc .gname{ font-size:1.8rem; } .hero.gc .gname img{ width:54px; height:54px; border-radius:14px; }
.hero.gc .num{ font-size:3.6rem; }
.hero.gc .bg{ width:240px; height:240px; right:-40px; top:-30px; }
.seg{ display:flex; gap:6px; background:var(--panel); padding:5px; border-radius:999px; border:3px solid var(--edge); margin-top:16px; }
.seg button{ flex:1; border:0; border-radius:999px; padding:9px 6px; background:none; color:var(--muted); font-weight:900; font-size:.92rem; cursor:pointer; }
.seg button.on{ background:var(--cream); color:#1a2236; }
.seg.modes{ margin-top:10px; }
.resets{ color:var(--muted); font-weight:700; font-size:.82rem; text-align:center; margin:10px 0 12px; }
.list{ display:flex; flex-direction:column; gap:8px; }
.row{ display:grid; grid-template-columns:44px 40px 1fr auto; align-items:center; gap:10px; background:var(--panel); border-radius:18px; padding:10px 14px 10px 8px; border:3px solid transparent; }
.row .rk{ font-family:var(--disp); font-size:1.35rem; text-align:center; color:var(--muted); }
.row .av{ width:40px; height:40px; border-radius:50%; display:grid; place-items:center; font-size:1.25rem; background:var(--panel2); }
.row .nm{ font-weight:900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.row .nm small{ display:block; color:var(--muted); font-weight:700; font-size:.76rem; }
.row .sc{ font-family:var(--disp); font-size:1.3rem; }
.row.t1{ background:linear-gradient(90deg,#4a3a10,#2a2440); } .row.t1 .rk{ color:var(--gold); font-size:1.6rem; }
.row.t2 .rk{ color:#d6deea; font-size:1.6rem; } .row.t3 .rk{ color:#f0a070; font-size:1.6rem; }
.row.me{ border-color:var(--teal); }
.empty-board{ text-align:center; color:var(--muted); font-weight:800; padding:28px 12px; background:var(--panel); border-radius:18px; }
.more{ display:block; margin:14px auto 0; background:none; border:3px solid var(--panel); color:var(--cream); border-radius:999px; padding:9px 18px; font-weight:900; cursor:pointer; }
.youbar{ position:fixed; left:0; right:0; bottom:0; padding:10px 16px 16px; background:linear-gradient(180deg,rgba(16,22,36,0),var(--bg2) 30%); }
.youbar .row{ max-width:620px; margin:0 auto; background:linear-gradient(90deg,rgba(14,158,142,.6),rgba(14,158,142,.3)); border-color:var(--teal); box-shadow:0 -6px 24px rgba(0,0,0,.4); }
.youbar .row .rk{ color:#fff; }
.youbar .nm{ white-space:normal; }
.youbar .nudge{ display:block; color:#c4f6ec; font-size:.76rem; font-weight:800; line-height:1.25; }
.youbar a.row{ grid-template-columns:1fr auto; padding:12px 16px; }
.pad-bottom{ height:110px; }

/* footer */
.site-foot{ margin:40px 0 0; padding:20px 0 30px; border-top:2px solid var(--panel); text-align:center; color:var(--muted); font-size:.85rem; }
.site-foot .links{ display:flex; flex-wrap:wrap; justify-content:center; gap:6px 16px; margin-bottom:8px; }
.site-foot a:hover{ color:var(--cream); }

/* "Report name" on the boards + its reason picker (moderation, 2026-10-10) */
.row .rep{ background:none; border:0; padding:0; color:var(--muted); font:inherit; font-weight:800; text-decoration:underline; cursor:pointer; }
.row .rep:hover{ color:var(--cream); } .row .rep:disabled{ text-decoration:none; cursor:default; }
dialog.report{ width:min(420px,calc(100vw - 32px)); background:var(--panel); color:var(--cream); border:4px solid var(--edge); border-radius:22px; box-shadow:0 8px 0 var(--edge); padding:18px; }
dialog.report::backdrop{ background:rgba(5,8,16,.7); }
dialog.report h3{ font-family:var(--disp); font-weight:400; font-size:1.35rem; margin:0 0 6px; word-break:break-all; }
dialog.report p{ color:var(--muted); font-weight:700; margin:0 0 14px; font-size:.92rem; }
dialog.report .reasons{ display:grid; gap:8px; }
dialog.report .reasons button{ text-align:left; font-weight:900; color:var(--cream); background:var(--panel2); border:3px solid var(--edge); border-radius:12px; padding:10px 12px; cursor:pointer; }
dialog.report .reasons button:hover{ background:#3a3460; }
dialog.report .cancel{ margin-top:12px; background:none; border:0; color:var(--sky); font-weight:900; cursor:pointer; padding:0; }
