:root {
  --bg: #f6f4f1; --ink: #1c1c1c; --mute: #66615b; --line: #e3ddd5; --card: #fff;
  --char: #232323; --copper: #a3664a; --copper-dk: #8a5339; --sand: #efe7de;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 440px; padding-top: 12vh; padding-bottom: 12vh; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: var(--char); color: #fff; }
.bar { max-width: 1140px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { display: block; font-weight: 700; letter-spacing: .01em; }
.brand small { display: block; font-size: 11px; color: #cfc6bc; letter-spacing: .08em; text-transform: uppercase; }
.mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--copper); font-weight: 800; font-size: 14px; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 999px; color: #e9e3dc; }
nav a:hover, nav a.on { background: rgba(255,255,255,.12); color: #fff; }

/* hero */
.hero { padding: 56px 0 28px; }
.hero.dark { background: var(--char); color: #fff; padding: 84px 0 72px; }
.hero.dark .lead { color: #d9d1c8; }
.kick { display: inline-block; margin: 0 0 12px; padding: 3px 8px; background: var(--copper); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 3px; }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; }
.lead { font-size: 18px; color: var(--mute); max-width: 680px; margin: 0 0 18px; }
.intro { font-size: 18px; max-width: 720px; margin: 22px 0; }
.cover { width: 100%; max-width: 880px; border-radius: 14px; margin-top: 18px; aspect-ratio: 16/9; object-fit: cover; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.chip { text-decoration: none; font-size: 13px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.chip b { font-weight: 600; color: var(--mute); }
.tagline { font-size: 15px; background: var(--sand); display: inline-block; padding: 8px 12px; border-radius: 8px; }

/* hub */
.hubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: -36px 0 56px; }
.hub { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; min-height: 200px; box-shadow: 0 8px 28px rgba(0,0,0,.06); transition: transform .15s, border-color .15s; }
.hub:hover { transform: translateY(-2px); border-color: var(--copper); }
.hub h3 { margin: 0; font-size: 22px; font-weight: 800; }
.hub p { margin: 0; color: var(--mute); font-size: 15px; flex: 1; }
.hub span { color: var(--copper); font-weight: 700; font-size: 14px; }
.band { padding-bottom: 56px; }

/* groups and cards */
main { padding-bottom: 64px; }
.group { padding-top: 40px; }
h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.01em; margin: 0 0 4px; }
h2 small { font-size: 15px; font-weight: 600; color: var(--mute); vertical-align: super; }
.sub { color: var(--mute); margin: 0 0 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; align-items: start; }
.grid.tall { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.card, .tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.media { position: relative; background: #111; aspect-ratio: 16/9; }
.card.v .media { aspect-ratio: 9/16; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: var(--sand); color: var(--mute); font-size: 13px; font-weight: 600; }
.watch { position: absolute; left: 12px; bottom: 12px; font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 0; background: #fff; color: #111; cursor: pointer; }
.lock { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: rgba(0,0,0,.7); color: #fff; }
.meta { padding: 14px 16px 16px; }
.kind { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--copper); font-weight: 700; }
.meta h3, .tile h3 { font-size: 16px; line-height: 1.3; margin: 4px 0 8px; font-weight: 700; }
.tile { text-decoration: none; display: block; }
.tile h3, .tile p { padding: 0 16px; }
.tile h3 { margin-top: 14px; }
.tile p { color: var(--mute); font-size: 14px; margin: 0 0 16px; }
.post { font-size: 13px; margin: 0 0 6px; }
.post span { font-size: 10px; letter-spacing: .08em; color: var(--mute); font-weight: 700; margin-right: 4px; }
.facts { font-size: 13px; color: var(--mute); margin: 0 0 10px; }
.more { display: block; width: 100%; text-align: left; font: inherit; font-size: 13px; font-weight: 600; background: none; border: 0; border-top: 1px solid var(--line); padding: 10px 0; cursor: pointer; color: var(--ink); }
.cap { font-size: 14px; color: var(--mute); white-space: pre-line; margin: 0 0 8px; }
.btn { display: inline-block; font: inherit; font-size: 14px; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; background: var(--copper); color: #fff; }
.btn:hover { background: var(--copper-dk); }
.btn.big { font-size: 15px; padding: 12px 22px; }
.btn.ghost { background: none; border: 1px solid var(--line); color: var(--ink); }
.copy { font: inherit; font-size: 13px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line); background: none; cursor: pointer; margin: 0 0 10px; }
.empty { color: var(--mute); background: var(--card); border: 1px dashed var(--line); border-radius: 12px; padding: 28px; text-align: center; grid-column: 1/-1; }
.embed { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: #000; }
.embed iframe { width: 100%; height: 100%; border: 0; }

/* login */
.login { display: grid; gap: 14px; margin-top: 18px; }
.login label { display: grid; gap: 6px; font-weight: 600; }
.login input { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.err { color: #b3261e; margin: 0; }

/* player */
dialog { border: 0; padding: 0; background: #000; width: min(960px, 94vw); border-radius: 12px; overflow: visible; }
dialog.v { width: min(420px, 90vw); }
dialog::backdrop { background: rgba(0,0,0,.8); }
.frame { aspect-ratio: 16/9; }
dialog.v .frame { aspect-ratio: 9/16; }
.frame iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; }
.x { position: absolute; top: -40px; right: 0; font-size: 28px; line-height: 1; background: none; border: 0; color: #fff; cursor: pointer; }

/* footer */
.foot { background: var(--char); color: #d9d1c8; padding: 36px 0; font-size: 14px; }
.foot b { color: #fff; }
.disc { max-width: 760px; font-size: 13px; color: #b3aaa0; }

/* team library */
.libgrid { display: grid; gap: 22px; }
.lib { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.lib .card { border: 0; }
.libbody { min-width: 0; }
.capset { border-top: 1px solid var(--line); padding: 10px 0; }
.capset .cap { color: var(--ink); margin: 4px 0 6px; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sand); margin: 0 0 6px; }
.status.s-approved { background: #dff1e4; color: #1d6b35; }
.status.s-posted { background: #e3e9f7; color: #2b4a8a; }
.who { font-weight: 700; margin: 0 0 6px; }
.flags { font-size: 13px; background: #fbeaea; color: #8a1f1f; padding: 8px 10px; border-radius: 8px; }
.flags.ok { background: #eef6ef; color: #1d6b35; }
@media (max-width: 720px) { .lib { grid-template-columns: 1fr; } }
