/* The home page (owner, 19 Nov 2026: "not a template; something you can tell was worked on"). Two windows on the
   two worlds the games are drawn in: the sea of Nadidle (its own painting, the turtle swimming in the middle) and
   the studio (the host, live, his lights moving). The shows are the games' own pixel plates on the stage floor.
   Type: Jersey 25 for names, IBM Plex Sans for sentences; Silkscreen TR only inside buttons, as in the games. */
@font-face { font-family: "Jersey 25"; src: url("/fonts/Jersey25-latin.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+2000-206F; }
@font-face { font-family: "Jersey 25"; src: url("/fonts/Jersey25-latin-ext.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02AF; }
@font-face { font-family: "Silkscreen TR"; font-weight: 700; src: url("/fonts/SilkscreenTR-700.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Departure Mono"; src: url("/fonts/DepartureMono.woff2") format("woff2"); font-display: swap; }
:root {
  --stage: #13132a;      /* ink blue (owner, 19 Nov 2026: the purple was too loud) */
  --curtain: #9e1238;    /* the curtains */
  --spot: #ffcf4a;       /* the spotlight's gold: what to press */
  --card: #f4ead0;       /* the host's cue cards: the plates */
  --ink: #1b1424;        /* text on the plates */
  --sea: #1fa3b5;        /* Nadidle's water */
  --deep: #072a44;
  --pale: #d3d2e8;       /* quiet text on the dark (about 11:1 on the panel) */
  --text: #fff7ef;       /* main text on the dark */
  --panel: #1d1c3a;      /* the panels */
  --raised: #272649;     /* rows and chips inside a panel */
  --rose: #ff8ea3;       /* the curtain's red as readable text on the dark (8.1:1) */
  --edge: #3d3b69;       /* decorative frames */
  --meta: #5c5165;       /* small print on the cream cards */
  --px: "Silkscreen TR", monospace; --name: "Jersey 25", "Silkscreen TR", monospace; --sans: "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--stage); color: var(--text); font: 16px/1.55 var(--sans); }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

/* the top bar: the name and today's date, nothing else */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; max-width: 1280px; margin: 0 auto; padding: 6px 24px 2px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { image-rendering: pixelated; width: 28px; height: 28px; }
.logo span { font: 400 32px/1 var(--name); letter-spacing: 1px; color: var(--card); text-shadow: 3px 3px 0 var(--curtain); }
/* the date: a small tear-off calendar leaf, slightly tilted */
/* taped to the television's top left corner, like a calendar leaf stuck on the set */
.cal { position: absolute; z-index: 3; left: -10px; top: -18px; margin: 0; display: grid; width: 54px; text-align: center; background: var(--card); color: var(--ink); transform: rotate(-7deg);
  box-shadow: 0 0 0 2px #0a0a18, 3px 3px 0 2px rgba(0, 0, 0, .45); }
.cal-m { display: block; padding: 2px 0 1px; font: 400 9px/1.2 var(--px); letter-spacing: .5px; text-transform: uppercase; color: var(--card); background: var(--curtain); }
.cal-d { display: block; padding: 1px 0 2px; font: 400 26px/1 var(--name); }

/* the board: on the left Nadidle's sea and the friends' league (38%), on the right the studio and its six shows */
.board { display: grid; gap: 20px 16px; padding: 14px 24px 16px; max-width: 1280px; margin: 0 auto;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); grid-template-rows: clamp(450px, 62vh, 550px) auto; align-items: start; }
.board > .sea, .board > .room { align-self: stretch; }
.board > * { min-width: 0; }
.frame { position: relative; overflow: hidden; box-shadow: 0 0 0 3px #0a0a18, 0 0 0 6px #2c2b52; }
.bar-right { display: flex; align-items: center; gap: 16px; }

/* Nadidle: its painting, the turtle in the middle of the water */
.sea { position: relative; overflow: hidden; display: block; min-height: 0; text-decoration: none; box-shadow: 0 0 0 3px #0a0a18, 0 0 0 5px var(--edge); background: var(--deep); }
#sea-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.fizz-layer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.sea::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(rgba(7, 42, 68, 0), rgba(7, 42, 68, .94) 55%); pointer-events: none; }
.sea-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px 22px 22px; }
.sea h2 { margin: 0; font: 400 clamp(52px, 5.5vw, 72px)/.9 var(--name); color: #fff; text-shadow: 4px 4px 0 var(--deep); }
.sea p { margin: 10px 0 16px; max-width: 36ch; color: var(--text); font-size: 15px; line-height: 1.45; }
.sea p b { color: #8fe9f4; font-weight: 600; }
.sea .tag { margin: 6px 0 0; font: 400 26px/1.1 var(--name); color: #fff; text-shadow: 2px 2px 0 var(--deep); max-width: none; }
.btn { display: inline-flex; align-items: center; min-height: 48px; font: 700 15px var(--px); letter-spacing: 1px; padding: 12px 22px; border: 0; cursor: pointer; }
.sea-btn { background: var(--card); color: var(--deep); box-shadow: 0 -3px 0 #fff, 0 3px 0 #9cc4cc, -3px 0 0 #e6f4f6, 3px 0 0 #b7d7dd; }
.sea:hover .sea-btn { background: #fff; }

/* the friends' league: a ranking among friends (sign-in with Google) */
.league, .shows { position: relative; padding: 16px 20px 18px; background: var(--panel); box-shadow: 0 0 0 3px #0a0a18, 0 0 0 5px var(--edge); }
.league h2, .shows h2 { margin: 0; font: 400 30px/1 var(--name); color: var(--spot); text-shadow: 3px 3px 0 var(--curtain); }
.league p, .shows > p { margin: 6px 0 12px; color: var(--pale); font-size: 14px; line-height: 1.45; max-width: 48ch; }
.sample-tag { display: inline-block; margin-bottom: 6px; font: 600 12px var(--sans); color: var(--panel); background: var(--pale); padding: 1px 8px; }
.sample { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px; opacity: .6; }
.sample li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 6px 10px; background: var(--raised); font: 400 20px/1 var(--name); }
.sample li:first-child { background: #36346a; color: var(--spot); }
.sample em { font-style: normal; }
.league-btn { background: #fff; color: var(--ink); box-shadow: 0 -3px 0 #fff, 0 3px 0 #b9b0c9, -3px 0 0 #f2eef8, 3px 0 0 #d4cce2; }
.soon { display: block; margin-top: 10px; color: var(--pale); font-size: 14px; }
.league-btn, .signin { text-decoration: none; }
/* signed in: the rankings, requests, adding friends, the account */
.lg-scope { display: flex; gap: 18px; margin: 10px 0 0; border-bottom: 2px solid #2c2b52; }
.lg-scope button { font: 600 15px var(--sans); min-height: 44px; color: #9a98c4; background: none; border: 0; padding: 6px 0 8px; margin-bottom: -2px; cursor: pointer; border-bottom: 3px solid transparent; }
.lg-scope button[aria-selected="true"] { color: var(--spot); border-bottom-color: var(--spot); }
.lg-stream { margin: 14px 0 4px; }
.lg-stream p { margin: 10px 0 0 !important; padding: 12px 14px; background: #2c2b52; color: var(--card) !important; }
.lg-stream a { color: var(--spot); }
.lg-streamers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lg-streamers li a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; background: #2c2b52; font: 400 20px/1 var(--name); color: var(--card); text-decoration: none; }
.lg-streamers li a:hover { background: #36346a; }
.lg-streamers small { font: 600 12px var(--sans); color: #9a98c4; align-self: center; }
.lg-tabs { display: flex; gap: 6px; margin: 12px 0 10px; }
.lg-tabs button { flex: 1; min-height: 44px; font: 400 20px/1 var(--name); padding: 8px 6px 7px; border: 0; cursor: pointer; background: #2c2b52; color: var(--pale); }
.lg-tabs button[aria-selected="true"] { background: var(--spot); color: var(--ink); }
.lg-pick { display: flex; align-items: center; gap: 8px; color: var(--pale); font-size: 13px; margin-bottom: 8px; }
.lg-pick select { flex: 1; min-height: 40px; font: 600 14px var(--sans); padding: 6px 8px; background: #101024; color: var(--card); border: 2px solid #36346a; }
.lg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 330px; overflow: auto; }
.lg-list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 8px; align-items: center; padding: 7px 10px; background: #2c2b52; font: 400 20px/1 var(--name); }
.lg-list li.lg-gap { display: block; background: none; padding: 0; text-align: center; color: #9a98c4; }
.lg-list li.me { background: #36346a; color: var(--spot); }
.lg-list li.none { color: #8e7fa3; }
.lg-list em { font-style: normal; text-align: right; }
.lg-list em small { display: block; font: 12px var(--sans); color: #9a98c4; margin-top: 2px; }
.lg-list .dots { display: flex; gap: 3px; margin-top: 4px; }
.lg-list .dots i { width: 8px; height: 8px; background: #241233; }
.lg-list .dots i.on { background: #7fdc4f; }
.lg-list .who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-list li.lg-empty { display: block; background: none; padding: 4px 0; color: var(--pale); font: 15px/1.45 var(--sans); }
.lg-req { margin-top: 10px; display: grid; gap: 4px; }
.lg-req div { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #36346a; font-size: 14px; }
.lg-req div span { flex: 1; }
.lg-add { margin-top: 16px; padding-top: 12px; border-top: 2px solid #2c2b52; }
.lg-add h3 { margin: 0 0 6px; font: 400 22px/1 var(--name); color: var(--card); }
.lg-code { margin: 0 0 8px !important; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.lg-code b { font: 400 22px/1 var(--name); letter-spacing: 3px; color: var(--spot); }
#lg-find { display: flex; gap: 6px; }
#lg-find input { flex: 1; min-width: 0; min-height: 40px; font: 15px var(--sans); padding: 7px 9px; background: #101024; color: var(--card); border: 2px solid #36346a; }
.lg-mini { font: 600 14px var(--sans); min-height: 36px; padding: 6px 12px; border: 0; cursor: pointer; background: var(--card); color: var(--ink); }
.lg-mini.no { background: #2c2b52; color: var(--pale); }
.lg-found { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.lg-found li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 10px; background: #2c2b52; font-size: 14px; }
.lg-acct { margin: 14px 0 0 !important; font-size: 13px !important; }
.lg-link { font: inherit; color: var(--pale); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.league :focus-visible { outline: 3px solid var(--spot); outline-offset: 2px; }
.soon.say { color: var(--spot); }

/* the television (owner, 19 Nov 2026: "fit the television into that rectangle"): an 80s wooden set as tall as
   Nadidle's sea; its screen holds the studio, the host on the left and the evening's programme on the curtain */
.room { position: relative; display: flex; min-height: 0; }
.tv { position: relative; flex: 1; display: grid; grid-template-columns: 1fr 84px; gap: 16px; padding: 18px;
  background: linear-gradient(#8a5530, #6b3f22 60%, #57321b);
  box-shadow: 0 0 0 4px #2a140a, inset 0 4px 0 #a86a3c, inset 0 -6px 0 #3f230f, 0 14px 0 -4px rgba(0, 0, 0, .45); }
.antenna { position: absolute; left: 46%; top: -30px; width: 120px; height: 34px; pointer-events: none; }
.antenna::before, .antenna::after { content: ""; position: absolute; bottom: 0; width: 4px; height: 46px; background: #b9b2a6; transform-origin: bottom center; }
.antenna::before { left: 56px; transform: rotate(-34deg); } .antenna::after { left: 60px; transform: rotate(30deg); }
.screen { position: relative; overflow: hidden; min-height: 0; background: #101024; border-radius: 30px / 24px;
  box-shadow: 0 0 0 6px #1d1410, 0 0 0 10px #4a2e1a, inset 0 0 0 2px #000; }
.screen canvas { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.glass { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: radial-gradient(ellipse at 28% 14%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 34%), radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .5) 100%),
    repeating-linear-gradient(rgba(0, 0, 0, .14) 0 1px, transparent 1px 3px); }
.panel { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 12px 0; background: #2d1a10; box-shadow: inset 0 0 0 3px #1b0f08; }
.panel-btn { display: grid; place-items: center; width: 44px; height: 36px; border: 0; cursor: pointer; background: #1b0f08; color: #d9b98a; box-shadow: inset 0 0 0 2px #4a2e1a; }
.hostmenu.corner { position: absolute; z-index: 4; right: 10px; top: 10px; }
.panel-btn:hover { color: #ffcf4a; }
.panel-btn.off { color: #6b5440; }
.panel .brand { font: 400 18px/1 var(--name); color: #d9b98a; letter-spacing: 2px; }
.knob { width: 48px; height: 48px; pointer-events: auto; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #e9dccb, #9c8f7e 60%, #5d544a); box-shadow: 0 3px 0 #120904; position: relative; }
.knob::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 15px; margin-left: -1.5px; background: #3a2a1e; }
.knob + .knob::after { transform: rotate(60deg); transform-origin: 50% 19px; }
.grille { flex: 1; width: 50px; min-height: 60px; background: repeating-linear-gradient(#1b0f08 0 3px, #4a2e1a 3px 6px); }
.led { width: 8px; height: 8px; background: #ff4b3a; box-shadow: 0 0 8px #ff4b3a; animation: led 3s steps(2) infinite; }
@keyframes led { 90% { opacity: 1; } 95% { opacity: .4; } }
.bubble { position: absolute; z-index: 2; margin: 0; max-width: 150px; padding: 6px 9px; background: #efe9dc; color: var(--ink); border: 3px solid var(--ink);
  font: 13px/1.35 "Departure Mono", ui-monospace, monospace; box-shadow: 4px 4px 0 rgba(10, 4, 20, .5); }
.bubble::before { content: ""; position: absolute; top: 50%; left: -14px; margin-top: -8px; width: 12px; height: 16px; background: var(--ink); clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.bubble.left::before { left: auto; right: -14px; clip-path: polygon(100% 50%, 0 0, 0 100%); }
/* the evening's programme, on the curtain right of the host, as a TV guide card */
.guide { position: absolute; z-index: 1; right: 20px; top: 20px; width: max-content; padding: 12px 12px 10px; background: rgba(20, 8, 30, .82); box-shadow: 0 0 0 3px #0a0a18, 0 0 0 5px #6d3a7e; }
.guide h3 { margin: 0 0 6px; font: 400 26px/1 var(--name); color: var(--spot); text-shadow: 2px 2px 0 var(--curtain); }
.guide ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.guide li { display: grid; grid-template-columns: 42px auto 10px; gap: 6px; white-space: nowrap; align-items: baseline; font: 400 19px/1.25 var(--name); color: var(--text); }
.guide time { color: var(--pale); }
@media (max-width: 1180px) { .guide { right: 14px; top: 14px; padding: 9px 10px 8px; } .guide h3 { font-size: 22px; } .guide li { font-size: 16px; grid-template-columns: 36px auto 10px; gap: 5px; } }
.guide li.now { color: var(--spot); }
.guide li.now::after { content: "◂"; color: var(--spot); }
.guide li.done { color: #b3a5c6; text-decoration: line-through; text-decoration-thickness: 2px; }
.guide li.done::after { content: "✓"; color: #7fdc4f; text-decoration: none; }
/* inside the television, bottom right on the stage: start the whole broadcast */
/* the league and the shows side by side end on one line (owner, 19 Nov 2026: "it went lopsided again"): the league
   stretches to the shows' height and keeps its button at the bottom */
.board > .shows, .board > .league { align-self: stretch; }
.league { display: flex; flex-direction: column; }
#lg-out:not([hidden]) { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
#lg-out .sample, #lg-out > .lg-scope, #lg-out > .lg-o { align-self: stretch; }
#lg-out > .lg-o { margin-top: 10px; }
#lg-out > .lg-o > p:first-child { margin-top: 0; }
#lg-out .league-btn { margin-top: 0; }
#lg-out .lg-why { margin: auto 0 10px; padding-top: 12px; }
#lg-out > .lg-o:not([hidden]) + .lg-o, #lg-out .lg-o + .league-btn { }
#lg-out .league-btn { margin-top: 0; }
#lg-out .lg-why { margin: auto 0 10px; padding-top: 12px; }
.sample.live { opacity: 1; }
.sample.live li:first-child { background: #36346a; }
.all { position: absolute; z-index: 2; right: 22px; bottom: 22px; display: grid; gap: 3px; min-height: 56px; text-decoration: none; padding: 12px 20px 13px; background: var(--spot); color: var(--ink);
  box-shadow: 0 -4px 0 #fff0a8, 0 4px 0 #b97a1f, -4px 0 0 #ffe07a, 4px 0 0 #d99a2b, 0 10px 0 rgba(0, 0, 0, .45); }
.all b { font: 400 32px/1 var(--name); }
.all b::after { content: " ▶"; font-size: .7em; vertical-align: .12em; }
.all small { font-size: 15px; color: #4a2c0c; }
.all:hover { background: #ffd95e; }
.all:active { transform: translateY(3px); }
.all.over { background: #2c2b52; color: var(--pale); box-shadow: 0 0 0 3px #0a0a18; }
.all.over b::after { content: none; }
.all.over small { color: var(--pale); }
/* the six shows under the television: a picture each (drawn later; until then a poster in the show's colour with its
   letter), "Oyna" on the picture, the name and a line under it */
.plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.plate { display: grid; text-decoration: none; height: 100%; background: var(--card); color: var(--ink); padding: 0 0 10px;
  box-shadow: 0 0 0 3px #0a0a18, 0 6px 0 rgba(0, 0, 0, .35); }
.plate > b { padding: 0 12px; }
.plate .pic { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; margin-bottom: 7px; background: var(--c);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .14) 0 14px, rgba(255, 255, 255, 0) 14px 28px),
    radial-gradient(ellipse at 50% 120%, rgba(18, 8, 26, .55), rgba(18, 8, 26, 0) 70%); box-shadow: inset 0 -3px 0 #0a0a18; }
.plate .pic.art { background-size: cover; background-position: center; }
.plate .pic.art .big, .plate .pic.art .chip { display: none; }
.plate .big { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); font: normal 400 clamp(70px, 7vw, 110px)/1 var(--name); color: rgba(18, 8, 26, .22); }
.plate .pic .chip { position: absolute; left: 10px; top: 10px; }
/* a compact card (owner, 19 Nov 2026): the picture, the name, then the line and a small OYNA side by side */
.plate { grid-template-rows: auto auto auto 1fr; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 12px; margin-top: 4px; }
.foot small { margin: 0; padding: 0; }
.plate > .meta { padding: 0 12px; margin: 2px 0 0; }
.plate > .meta:has(span:empty) { display: none; }
.play { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 30px; font: 700 10px var(--px); letter-spacing: .5px; padding: 6px 8px; background: var(--ink); color: var(--card);
  box-shadow: 0 -2px 0 #2c2b52, 0 2px 0 #000, 2px 0 0 #000, -2px 0 0 #2c2b52; }
.play::after { content: "▶"; margin-left: 5px; }
.plate:hover .play { background: #2c2b52; }
.plate:hover .pic { filter: brightness(1.06); }
.plate:active { transform: translateY(2px); }
.plate b { font: 400 24px/1.05 var(--name); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plate small { font-size: 13px; color: #4a3f55; line-height: 1.35; margin-top: 4px; }
.plate .meta { display: flex; justify-content: space-between; gap: 6px; font: normal 13px/1.35 var(--sans); color: var(--meta); margin-top: 5px; }
.plate.done .meta span:last-child { color: #1f7a45; font-weight: 600; }
.plate.done.lost .meta span:last-child { color: #a3271c; }
.plate.done.lost .play { background: #8a3b30; }
.plate.started .meta span:last-child { color: #a3521a; font-weight: 600; }
.plate.done .play { background: #2e9e5b; }
.plate.done .play::after, .plate.started .play::after { content: none; }
.chip { width: 36px; height: 38px; display: grid; place-items: center; font: normal 400 25px/1 var(--name); color: var(--ink); background: var(--card);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.p-kelime { --c: #ffcf4a; } .p-harf { --c: #46f0d2; } .p-islem { --c: #ff9a5c; }
.p-sekil { --c: #7fdc4f; } .p-rota { --c: #8fb4ff; } .p-sicak { --c: #ff5a6e; }

/* the league folded into one row on phones (home.js opens it) */
.lg-fold { display: none; position: relative; width: 100%; text-align: left; gap: 2px; padding: 14px 44px 14px 16px; background: none; border: 0; color: var(--text); cursor: pointer; font: inherit; }
.lg-fold b { font: 400 30px/1 var(--name); color: var(--spot); text-shadow: 3px 3px 0 var(--curtain); }
.lg-fold small { color: var(--pale); font-size: 14px; }
.lg-fold::after { content: "›"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 400 34px/1 var(--name); color: var(--text); }
.lg-fold[aria-expanded="true"]::after { transform: translateY(-50%) rotate(90deg); }

footer { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; padding: 18px 16px 28px; font-size: 14px; }
footer a { color: var(--pale); display: inline-block; padding: 8px 2px; }
.signin { display: flex; align-items: center; gap: 8px; min-height: 44px; font: 600 14px var(--sans); color: var(--ink); background: #fff; border: 0; padding: 8px 12px; cursor: pointer;
  box-shadow: 0 -2px 0 #fff, 0 2px 0 #b9b0c9, -2px 0 0 #f2eef8, 2px 0 0 #d4cce2; }
.signin .g, .league-btn .g { flex: none; }
.league-btn { display: inline-flex; align-items: center; gap: 10px; }

/* narrower screens: the studio and the shows first, then the sea and the league */
@media (max-width: 899px) {
  .board { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; padding: 30px 12px 16px; }
  .sea { order: 1; } .room { order: 2; } .shows { order: 3; } .league { order: 4; }
  .bar { min-height: 56px; padding: 6px 12px; }
  .league, .shows { padding: 16px; }
  .tv { grid-template-columns: 1fr; padding: 12px; }
  .panel { display: none; }
  .screen { height: 300px; }
  .guide { display: none; }
  .all { right: 12px; bottom: 12px; left: 12px; padding: 10px 14px; }
  .all b { font-size: 26px; }
  .all small { font-size: 13px; }
  .plates { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .plate { grid-template-rows: auto auto; grid-template-columns: 1fr auto; padding: 0 0 8px; }
  .foot small, .plate > .meta { display: none; }
  .plate .pic { grid-column: 1 / -1; aspect-ratio: 16 / 9; margin-bottom: 7px; }
  .plate > b { font-size: 19px; align-self: center; padding: 0 0 0 9px; }
  .foot { padding: 0 6px 0 0; margin: 0; align-self: center; }
  .play { font-size: 0; letter-spacing: 0; min-height: 32px; min-width: 24px; padding: 0; background: none; color: var(--ink); box-shadow: none; }
  .play::after { margin: 0; font: 400 20px/1 var(--sans); }
  .plate.done .play { background: none; color: #2e9e5b; }
  .plate.done .play::after { content: "✓"; }
  .lg-fold { display: grid; }
  .league > h2 { display: none; }
  .league.folded > :not(.lg-fold) { display: none !important; }
  .league.folded { padding: 0; }
  .sea { height: 230px; }
  .sea::after { inset: 25% 0 0; }
  .sea-copy { padding: 14px 16px 16px; }
  .sea h2 { font-size: 46px; }
  .sea .long { display: none; }
  .sea .tag { font-size: 20px; margin: 4px 0 12px; }
  .sea-btn { min-height: 44px; padding: 10px 16px; font-size: 13px; }
  .logo span { font-size: 30px; }
  .logo img { width: 26px; height: 26px; }
  .cal { display: none; }
}
@media (max-width: 520px) {
  .plates { gap: 8px; } .shows { padding: 14px 10px; } .shows > h2, .shows > p { padding: 0 4px; }
  .plate > b, .foot, .plate > .meta { padding: 0 9px; }
  .plate b { font-size: 18px; }
  .plate .big { font-size: 64px; }
  .chip { width: 28px; height: 30px; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) { .turtle { animation: none; }  }
@media (max-width: 520px) { .bubble { max-width: 150px; font-size: 12px; } }

/* signed out, where you would stand today */
.lg-list li.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--spot); color: var(--spot); }
.lg-list li.ghost .who small { display: block; font: 600 12px var(--sans); color: var(--pale); }

/* how long a show takes, in the picture's corner (owner, 19 Nov 2026: "the minutes are gone") */
.plate .dur { position: absolute; left: 8px; bottom: 8px; z-index: 1; padding: 3px 7px 2px; font: 400 15px/1 var(--name); color: var(--card); background: rgba(10, 10, 24, .78); }

/* moving between the shows and the home page: a soft cross-fade where the browser can (same-origin page change) */
@view-transition { navigation: auto; }

/* before the first broadcast: the cards say Yakında and do not open */
.plate.soon { cursor: default; }
.plate.soon .pic { filter: saturate(.75) brightness(.85); }
.plate.soon .play { background: #5c5165; }
.plate.soon .play::after { content: none; }
.plate.soon:active { transform: none; }
body.off-air .sea { cursor: default; }

/* the league as part of the game (owner, 19 Nov 2026: "from a programmer's design to a game site"): pixel buttons
   with stepped edges, dark wells for the fields, the rank in a small hexagon, the code on cream tiles */
.league .lg-scope { gap: 4px; border-bottom: 3px solid #0a0a18; }
.league .lg-scope button { font: 400 22px/1 var(--name); padding: 10px 14px 8px; min-height: 0; margin: 0; border: 0; color: #9a98c4; background: #232245;
  box-shadow: inset 0 3px 0 #2f2e5c; }
.league .lg-scope button[aria-selected="true"] { color: var(--ink); background: var(--spot); box-shadow: inset 0 3px 0 #fff0a8, inset 0 -3px 0 #d99a2b; }
.league .lg-tabs button { font: 400 20px/1 var(--name); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); }
.league .lg-tabs button[aria-selected="true"] { box-shadow: inset 0 3px 0 #fff0a8, inset 0 -3px 0 #d99a2b; }
.lg-mini { font: 700 11px var(--px); letter-spacing: 1px; text-transform: uppercase; min-height: 38px; padding: 8px 12px 7px; color: var(--ink); background: var(--spot);
  box-shadow: 0 -3px 0 #fff0a8, 0 3px 0 #b97a1f, -3px 0 0 #ffe07a, 3px 0 0 #d99a2b; margin: 3px; }
.lg-mini:hover { background: #ffd95e; }
.lg-mini:active { transform: translateY(2px); }
.lg-mini.no { background: #2c2b52; color: var(--pale); box-shadow: 0 -3px 0 #3d3b69, 0 3px 0 #0a0a18, -3px 0 0 #36346a, 3px 0 0 #1d1c3a; }
.lg-pick { font: 400 18px/1 var(--name); color: var(--pale); }
.lg-pick select, #lg-find input { min-height: 44px; border: 0; background-color: #0c0c1c; color: var(--card);
  box-shadow: inset 0 0 0 3px #36346a, inset 0 4px 0 3px #07070f; }
.lg-pick select { appearance: none; font: 400 20px/1 var(--name); padding: 8px 34px 6px 12px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--spot) 50%), linear-gradient(135deg, var(--spot) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
#lg-find input { font: 400 20px/1 var(--name); padding: 8px 12px 6px; }
#lg-find input::placeholder { color: #6e6c99; }
.lg-pick select:focus-visible, #lg-find input:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--spot), inset 0 4px 0 3px #07070f; }
.lg-list li, .sample li { box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28), inset 0 3px 0 rgba(255, 255, 255, .04); }
.lg-list li > b { display: grid; place-items: center; width: 26px; height: 24px; font: 400 17px/1 var(--name); color: var(--ink); background: var(--card);
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.lg-list li > b:empty { background: #3d3b69; }
.lg-list li.me { background: #3a3870; color: var(--spot); box-shadow: inset 4px 0 0 var(--spot), inset 0 -3px 0 rgba(0, 0, 0, .28); }
.lg-list li.me > b { background: var(--spot); }
.lg-list li.none { color: #8e8cbb; }
.lg-add { border-top: 3px dashed #2c2b52; }
.lg-add h3 { font: 400 26px/1 var(--name); color: var(--spot); text-shadow: 2px 2px 0 var(--curtain); }
.lg-code { font: 400 18px/1 var(--name); color: var(--pale); }
.lg-code b { display: inline-flex; gap: 3px; letter-spacing: 0; }
.lg-code b i { display: grid; place-items: center; width: 24px; height: 28px; font: normal 400 22px/1 var(--name); color: var(--ink); background: var(--card);
  box-shadow: inset 0 -3px 0 #c9b98e; }
.lg-found li, .lg-req div { font: 400 18px/1.1 var(--name); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28); }
.lg-acct { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 400 18px/1 var(--name) !important; color: var(--pale); }
.lg-acct b { color: var(--card); font-weight: 400; }
.lg-link { font: 400 16px/1 var(--name); text-decoration: none; color: var(--pale); padding: 6px 9px 5px; background: #232245; box-shadow: inset 0 -2px 0 #0a0a18; }
.lg-link:hover { color: var(--card); background: #2c2b52; }
#lg-del { color: #ff8ea3; }
.lg-list li.lg-empty, .lg-list li.lg-gap { box-shadow: none; }
.league .lg-code { font: 400 18px/1 var(--name); }

/* one type family per role in the league (owner, 19 Nov 2026: "the mixed fonts look odd"): Jersey for everything you
   read at a glance (tabs, buttons, rows, labels), Plex only for the sentences */
.lg-mini { font: 400 18px/1 var(--name); letter-spacing: 0; text-transform: none; padding: 9px 12px 7px; }
.league .lg-code { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 10px; }
.league .lg-code > span:first-child { font: 400 18px/1 var(--name); color: var(--pale); }
/* your code: the label, the tiles and Kopyala on one line; the invite link as a full-width button under it */
.league .lg-code { flex-wrap: nowrap; gap: 10px; }
/* Kopyala fills the rest of the code's line, so its right edge lines up with the buttons under it; the code line, the
   invite button and the search sit 14 px apart */
.league .lg-code { margin: 0; }
.league .lg-code #lg-copycode { flex: 1; margin: 3px; min-height: 30px; padding: 6px 10px 5px; }
.lg-invite { display: block; width: calc(100% - 6px); }
.lg-invite { margin: 17px 3px 17px; }          /* 14 px of air on each side, counting the buttons' 3 px pixel edges */
/* the league's sentences in the same face as the rest of the panel */
.league p, .league .lg-list li.lg-empty, .league .soon { font: 400 19px/1.25 var(--name); color: var(--pale); }
.lg-list em small { font: 400 15px/1 var(--name); }
.league .lg-code > span:first-child { white-space: nowrap; }
@media (max-width: 520px) {
  .lg-code b i { width: 21px; height: 26px; font-size: 19px; }
  .league .lg-code { gap: 6px; }
  .room { margin-top: 26px; }                 /* room for the antenna above the TV, under the sea */
}
