/* The studio shows (owner, 19 Nov 2026): Kelime ile İşlem, Bu İl Hangisi, En Kısa Yol, Sıcak Soğuk in the same studio
   as Dilimin Ucunda. The host sits above, behind his table (canvas#scene, kelime/studio.js); the play panel ("the
   floor") starts at the table's edge and the page scrolls under him. Pixel frames are stepped box-shadows. */
:root {
  --ink: #050818; --panel: rgba(8, 12, 32, 0.93); --line: #2b3a63; --text: #f4ead0; --muted: #8f9cc4;
  --ui: #ffcf4a; --ui-dark: #b97a1f; --bar: #8c1a2e; --bar-light: #b93348; --bar-dark: #5b0f1e;
  --go: #7fdc4f; --miss: #e2476a; --edge: #17101c; --tq: #46f0d2;
  --ok: #2E9E5B; --near: #E2B93B; --mid: #E07B39; --far: #C8372D; --land: #E3D3B0; --sea: #CFE6EA;
  --px: "Silkscreen TR", monospace; --num: "Jersey 25", "Silkscreen TR", monospace; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --stage: clamp(190px, 40svh, 360px);
}
@font-face { font-family: "Silkscreen TR"; font-weight: 400; src: url("/fonts/SilkscreenTR-400.woff2") format("woff2"); font-display: block; }
@font-face { font-family: "Silkscreen TR"; font-weight: 700; src: url("/fonts/SilkscreenTR-700.woff2") format("woff2"); font-display: block; }
/* Jersey 25 (SIL OFL 1.1, fonts/Jersey25-OFL.txt), served from here; the latin file has a pointed V
   (scripts/fonts/jersey-v.py: friends read V as U, 21 Nov 2026) so Ç Ş Ğ İ come from the same font */
@font-face { font-family: "Jersey 25"; src: url("/fonts/Jersey25V-latin.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jersey 25"; src: url("/fonts/Jersey25-latin-ext.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Departure Mono"; src: url("/fonts/DepartureMono.woff2") format("woff2"); font-display: swap; }
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; min-height: 100svh; background: var(--ink); color: var(--text); font: 500 15px/1.45 var(--mono); font-synthesis: none; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--ui); }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; z-index: 0; }
.scan { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.13) 0 1px, transparent 1px 4px); }

/* header: the show's name, the day, the day's programme (one square per show), sound */
.top { position: fixed; z-index: 6; top: 0; left: 0; right: 0; height: 44px; padding: 0 10px; padding-top: env(safe-area-inset-top); display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: linear-gradient(rgba(3, 5, 20, 0.92), rgba(3, 5, 20, 0.6) 70%, rgba(3, 5, 20, 0)); }
.top .left, .top .right { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo { font: 700 clamp(12px, 3.4vw, 17px) var(--px); color: var(--ui); text-decoration: none; letter-spacing: 1px; text-shadow: 2px 2px 0 #8c1a2e; white-space: nowrap; }
.dayno { font: 13px var(--px); color: var(--muted); white-space: nowrap; }
.prog { display: flex; gap: 3px; }
.pg { width: 20px; height: 20px; display: grid; place-items: center; font: 700 10px var(--px); color: var(--muted); text-decoration: none; background: rgba(8, 12, 32, 0.8);
  box-shadow: 0 -2px 0 var(--line), 0 2px 0 var(--line), -2px 0 0 var(--line), 2px 0 0 var(--line); }
.pg.started { color: var(--ui); }
.pg.done { background: var(--go); color: var(--edge); }
.pg.now { box-shadow: 0 -2px 0 var(--ui), 0 2px 0 var(--ui), -2px 0 0 var(--ui), 2px 0 0 var(--ui); color: var(--ui); }
.pg.done.now { color: var(--edge); }
.icon { width: 30px; height: 30px; display: grid; place-items: center; color: var(--text); font: 700 15px var(--px); background: rgba(8, 12, 32, 0.7); box-shadow: 0 -2px 0 var(--line), 0 2px 0 var(--line), -2px 0 0 var(--line), 2px 0 0 var(--line); text-decoration: none; }
.icon.off .wave { opacity: 0.2; }

/* the room above the floor: the host and his bubble live here */
.stage { height: var(--stage); pointer-events: none; }
.floor { position: relative; z-index: 3; min-height: calc(100svh - var(--stage)); padding: 14px 8px calc(24px + env(safe-area-inset-bottom));
  background: none; }
/* no black floor (owner, 19 Nov 2026): the studio fills the screen and the game stands on it; loose text gets a
   dark outline so it reads on the curtains */
.lead, .msg, .legend, .count, .board-row, .next, footer a { text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
.lead, .legend, .count, .board-row { color: #c9d0ec; }
.deck { width: min(600px, 100%); margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.title { font: 700 clamp(18px, 5.5vw, 24px)/1.1 var(--px); color: var(--ui); text-shadow: 2px 2px 0 #8c1a2e; margin: 0; text-align: center; }
.lead { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
/* the dark red banner of the TV quiz: the task of the day */
.bar { background: var(--bar); color: var(--text); font: 700 clamp(14px, 4.2vw, 18px)/1.35 var(--px); text-align: center; padding: 10px 14px; letter-spacing: .5px;
  box-shadow: 0 -3px 0 var(--bar-light), 0 3px 0 var(--bar-dark), -3px 0 0 var(--bar), 3px 0 0 var(--bar), 0 -6px 0 var(--edge), 0 6px 0 var(--edge), -6px 0 0 var(--edge), 6px 0 0 var(--edge); margin: 6px 6px; }
.bar .from { color: #9ff3e4; } .bar .to { color: var(--ui); }
/* the studio's screen: a framed monitor for the map, the shape, the target number */
.screen { position: relative; background: var(--sea); margin: 6px; image-rendering: auto;
  box-shadow: 0 0 0 3px var(--edge), 0 0 0 6px #3a4677, 0 0 0 9px var(--edge), 0 8px 0 9px rgba(0, 0, 0, 0.35); }
.screen.dark { background: radial-gradient(ellipse at top, #1d2a55, #0b1230); }

/* buttons and the answer box */
.btn { font: 700 14px var(--px); padding: 10px 14px; color: var(--text); background: #26305a; box-shadow: 0 -3px 0 #3d4a82, 0 3px 0 #141a36, -3px 0 0 #2f3a6b, 3px 0 0 #1b2247; letter-spacing: 1px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn:active { transform: translateY(2px); }
.btn.primary { background: var(--ui); color: var(--edge); box-shadow: 0 -3px 0 #fff0a8, 0 3px 0 var(--ui-dark), -3px 0 0 #ffe07a, 3px 0 0 #d99a2b; }
.btn.go { background: var(--go); color: var(--edge); box-shadow: 0 -3px 0 #c6f59e, 0 3px 0 #3f9a2c, -3px 0 0 #a5ea78, 3px 0 0 #56b53a; }
.btn:disabled { filter: saturate(0.3) brightness(0.7); cursor: default; }
.btn:focus-visible, .pg:focus-visible, .tile:focus-visible, input:focus-visible { outline: 3px solid var(--tq); outline-offset: 3px; }
.row { display: flex; gap: 10px; margin: 4px 3px; }
.row .btn { flex: 1; }
.guess { position: relative; margin: 4px 3px; }
form.box { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 12px; }
form.box input { flex: 1; min-width: 0; font: 700 clamp(16px, 4.8vw, 20px) var(--px); letter-spacing: 1px; padding: 10px 12px; border: 0; border-radius: 0; color: var(--text);
  background: rgba(5, 8, 24, 0.94); box-shadow: inset 0 0 0 3px var(--go); text-transform: uppercase; }
/* the answer box shows focus with its own frame (an outline beside the green frame looked shifted: owner, 19 Nov 2026) */
form.box input:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--go), inset 0 0 0 5px rgba(126, 220, 79, .35); }
form.box input::placeholder { color: #5f6b93; text-transform: none; font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.sugg { position: absolute; left: 0; right: 0; top: 100%; z-index: 7; margin: 8px 0 0; padding: 4px; list-style: none; background: #0d1430;
  box-shadow: 0 -3px 0 var(--line), 0 3px 0 var(--line), -3px 0 0 var(--line), 3px 0 0 var(--line), 0 10px 0 rgba(0, 0, 0, 0.4); }
.sugg li { padding: 8px 10px; cursor: pointer; display: flex; justify-content: space-between; font: 700 14px var(--px); }
.sugg li small { color: var(--muted); font: 600 12px var(--mono); }
.sugg li.sel, .sugg li:hover { background: #26305a; color: var(--ui); }
.msg { min-height: 1.4em; margin: 0 4px; color: var(--muted); font-size: 13px; }
.quit { display: block; margin: 6px auto 0; padding: 6px 10px; background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-shadow: 1px 1px 0 #000, -1px -1px 0 #000; }
.quit:hover, .quit:focus-visible { color: #f4ead0; }
.quit.sure { color: #ff8fa3; font-weight: 700; }
.msg.bad { color: #ff8fa3; } .msg.good { color: var(--go); font-weight: 700; }
.msg.hot { color: #ff7a5c; font-weight: 700; } .msg.warm { color: #ffb15c; font-weight: 700; } .msg.cold { color: #8fc7ff; font-weight: 700; }
.shake { animation: shake .32s steps(6); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.count { font: 12px var(--px); color: var(--muted); display: flex; justify-content: space-between; margin: 0 4px; gap: 10px; }

/* the guesses */
.guesses { list-style: none; padding: 0; margin: 4px 3px 0; display: grid; gap: 6px; }
.guesses li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: #0d1430; box-shadow: -6px 0 0 var(--c, var(--line)); margin-left: 6px; animation: pop .3s steps(4); }
.guesses li b { flex: 1; font: 700 14px var(--px); letter-spacing: .5px; }
.guesses li span { font: 600 14px var(--mono); }
.guesses.wide li span { min-width: 62px; text-align: right; }
.guesses.wide li span:nth-of-type(2) { min-width: 30px; text-align: center; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); margin: 0 4px; }
.legend i { display: inline-block; width: 11px; height: 11px; vertical-align: -1px; margin-right: 4px; }

/* the map */
.map { width: 100%; height: auto; display: block; background: var(--sea); }
.map .pv { fill: var(--land); stroke: none; transition: fill .4s; }
.map .pv.o, .map .pv.on { stroke: rgba(29, 43, 79, .55); stroke-width: 1.4; stroke-linejoin: round; }
.map .pl { font-weight: 700; font-family: "IBM Plex Sans", "IBM Plex Mono", sans-serif; fill: #1D2B4F; text-anchor: middle; paint-order: stroke; stroke: rgba(244, 234, 213, .85); stroke-width: 3px; pointer-events: none; }
.map.grid .pv { stroke: rgba(29, 43, 79, .18); stroke-width: .8; }
.shape { display: grid; place-items: center; aspect-ratio: 16 / 10; }
.shape svg { width: 80%; height: 80%; }
.shape path { fill: #1D2B4F; }
.tries { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; margin: 2px 6px 0; }
.tries i { height: 8px; background: var(--line); }
.tries i.used { background: var(--ui); }

/* the result and the next show */
.result { background: var(--panel); padding: 16px; margin: 6px; text-align: center;
  box-shadow: 0 -4px 0 var(--line), 0 4px 0 var(--line), -4px 0 0 var(--line), 4px 0 0 var(--line), 0 8px 0 rgba(0, 0, 0, 0.35); }
.result h2 { font: 700 clamp(17px, 5vw, 21px)/1.2 var(--px); color: var(--ui); margin: 0 0 6px; }
.result p { margin: 4px 0; }
.result .big { font: clamp(46px, 14vw, 64px)/1 var(--num); margin: 4px 0; color: var(--text); }
.result .big small { font-size: .45em; color: var(--muted); }
.result .note { color: var(--muted); font-size: 13px; }
.share-text { white-space: pre-line; background: rgba(0, 0, 0, .3); padding: 10px; font: 600 14px var(--mono); text-align: left; margin: 10px 0 4px !important; }
.next { text-align: center; color: var(--muted); font-size: 13px; }
.next b { font: 18px var(--num); color: var(--text); font-weight: 400; }
.nextshow { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin: 14px 0 4px; }
.nextshow small { font: 11px var(--px); color: var(--muted); letter-spacing: 2px; }
.nextshow .home-link { align-self: center; margin-top: 6px; padding: 6px 4px; color: var(--muted); font-size: 14px; }
.nextshow .btn { font-size: 16px; padding: 14px 16px; }
.res-line { display: flex; justify-content: space-between; border-top: 2px solid var(--line); padding: 8px 0; gap: 10px; text-align: left; }
.res-line b { font: 22px/1 var(--num); color: var(--ui); font-weight: 400; white-space: nowrap; }

/* Kelime ile İşlem: the letter and number tiles, the operations, the target on the screen */
.board-row { display: flex; justify-content: space-between; font: 12px var(--px); color: var(--muted); letter-spacing: 1px; margin: 0 4px; }
.tiles { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; margin: 4px 6px; }
.tiles.nums { grid-template-columns: repeat(6, 1fr); }
.tile { aspect-ratio: 1; background: #f4ead0; color: var(--edge); font: 700 clamp(17px, 5.4vw, 26px)/1 var(--px); display: grid; place-items: center;
  box-shadow: 0 -3px 0 var(--edge), 0 3px 0 var(--edge), -3px 0 0 var(--edge), 3px 0 0 var(--edge), 0 6px 0 rgba(0, 0, 0, .4); }
.tiles.nums .tile { aspect-ratio: auto; height: 50px; font: clamp(22px, 6vw, 30px)/1 var(--num); }
.tile.joker { background: var(--ui); }
.tile.used { opacity: .28; }
.tile.sel { background: var(--tq); }
.tile.pop { animation: tpop .3s steps(5); }
@keyframes tpop { 0% { transform: scale(.4); } 60% { transform: scale(1.2); } 100% { transform: none; } }
.target { font: clamp(64px, 20vw, 96px)/1 var(--num); text-align: center; color: var(--ui); padding: 10px 0 6px; letter-spacing: 4px; text-shadow: 4px 4px 0 #8c1a2e; }
.ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 4px 6px; }
.ops button { height: 46px; background: #26305a; color: var(--text); font: 30px/1 var(--num); box-shadow: 0 -3px 0 #3d4a82, 0 3px 0 #141a36, -3px 0 0 #2f3a6b, 3px 0 0 #1b2247; }
.ops button.sel { background: var(--tq); color: var(--edge); }
.steps { list-style: none; padding: 0; margin: 2px 6px; font: 600 15px var(--mono); }
.steps li { padding: 4px 0; border-top: 2px solid var(--line); }
.steps li:first-child { border-top: 0; }
.steps b { color: var(--ui); }

/* the host's speech bubble, as in Dilimin Ucunda */
.bubble { position: fixed; z-index: 2; width: max-content; max-width: var(--bw, 300px); padding: 7px 10px 8px; background: #efe9dc; color: #1b1424;
  font: clamp(13px, 3.6vw, 15px)/1.3 "Departure Mono", var(--mono); text-align: left; pointer-events: none; border: 3px solid #1b1424;
  box-shadow: 4px 4px 0 rgba(10, 4, 20, 0.55); animation: bub 0.12s steps(2) both; }
.bubble::before, .bubble::after { content: ""; position: absolute; top: var(--ty, 50%); width: 14px; height: 16px; margin-top: -8px; }
.bubble::before { left: -16px; background: #1b1424; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.bubble::after { left: -10px; width: 10px; height: 10px; margin-top: -5px; background: inherit; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.bubble.left::before { left: auto; right: -16px; clip-path: polygon(100% 50%, 0 0, 0 100%); }
.bubble.left::after { left: auto; right: -10px; clip-path: polygon(100% 50%, 0 0, 0 100%); }
.bubble.miss { background: #f6d9d4; } .bubble.yay { background: #f6ecc4; }
@keyframes bub { from { opacity: 0; } }

footer { position: relative; z-index: 3; background: none; padding: 6px 16px 30px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; font: 400 11px var(--px); }
footer a { color: var(--muted); text-decoration: none; }

@media (min-width: 900px) { :root { --stage: clamp(260px, 46svh, 440px); } .deck { width: 600px; } }
@media (max-width: 480px) {
  .logo { font-size: 11px; letter-spacing: 0; } .dayno { display: none; } .top .right { gap: 6px; }
  .pg { width: 17px; height: 17px; font-size: 9px; } .prog { gap: 2px; }
  .tiles { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
/* names in the pixel type: upper case the Turkish way (lang="tr": i → İ) */
.title, .bar, .guesses li b, .sugg li { text-transform: uppercase; }
.screen .map { max-height: 50svh; }

/* A'dan Z'ye: the letters round a hexagon (positions set by site/js/harf/app.js), the clue in its middle */
.ring { position: relative; width: min(100%, 540px); margin: 4px auto 6px; --s: 30px; flex: none; }
.ring .lt { position: absolute; width: var(--s); height: var(--s); display: grid; place-items: center; font: 700 calc(var(--s) * 0.48)/1 var(--px);
  color: var(--edge); background: #f4ead0; clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); transition: background .2s; }
.ring .lt.ok { background: var(--ui); }
.ring .lt.bad { background: #7a1626; color: #f6d9d4; }
.ring .lt.passed { background: #9ff3e4; }
.ring .lt.none { background: #3a4677; color: var(--muted); }
.ring .lt.cur { background: #fff; animation: cur 0.8s steps(2) infinite; z-index: 1; }
@keyframes cur { 50% { background: var(--tq); transform: scale(1.15); } }
.ring .lt.pop { animation: tpop .3s steps(5); }
.core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: radial-gradient(ellipse at center, rgba(29, 42, 85, 0.96), rgba(11, 18, 48, 0.96)); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
/* the middle: only the letter being asked, big, in a cream hexagon (as Dilimin Ucunda's tiles) */
.core .now { width: 46%; aspect-ratio: 1.1; display: grid; place-items: center; background: #f4ead0; color: var(--edge); font: 400 clamp(54px, 17vw, 96px)/1 var(--num); padding-bottom: 4%;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0 50%); }
.core .rule { font: 11px var(--px); color: var(--muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 6px; }
.core.in .now { animation: tpop .3s steps(5); }
/* under the ring, as in Dilimin Ucunda: the score tab and the clock tab, then the dark red clue banner */
.tabrow { display: flex; justify-content: space-between; align-items: flex-end; margin: 2px 12px -2px; position: relative; z-index: 1; }
.tab { font: 22px/1 var(--num); padding: 3px 10px 2px; min-width: 64px; text-align: center; background: #f4ead0; color: var(--edge); letter-spacing: 1px;
  box-shadow: 0 -2px 0 var(--edge), -2px 0 0 var(--edge), 2px 0 0 var(--edge); }
.tab.timer { background: var(--edge); color: var(--text); box-shadow: 0 -2px 0 var(--bar-light), -2px 0 0 var(--bar-light), 2px 0 0 var(--bar-light); }
.tab.timer.low { color: #ff5a6e; animation: blinkc 0.5s steps(2) infinite; }
@keyframes blinkc { 50% { opacity: .5; } }
.cluebar { margin: 0 6px 8px; background: var(--bar); color: var(--text); font: 600 clamp(13px, 3.9vw, 17px)/1.35 var(--mono); text-transform: uppercase; letter-spacing: .4px;
  padding: 10px 14px; min-height: 64px; display: grid; align-items: center; text-align: center;
  box-shadow: 0 -3px 0 var(--bar-light), 0 3px 0 var(--bar-dark), -3px 0 0 var(--bar), 3px 0 0 var(--bar), 0 -6px 0 var(--edge), 0 6px 0 var(--edge), -6px 0 0 var(--edge), 6px 0 0 var(--edge); }
.cluebar.in { animation: cluein .25s steps(3); }
@keyframes cluein { from { opacity: 0; } }
.btn.start { align-self: center; font-size: 18px; padding: 12px 36px; margin: 4px 0 8px; }
body.harf form.box .btn { padding: 10px 12px; }
.answers { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; text-align: left; font: 700 12px var(--px); }
.answers li { display: flex; gap: 8px; align-items: center; padding: 3px 6px; background: #0d1430; }
.answers b { width: 18px; color: var(--muted); }
.answers li.ok span { color: var(--ui); } .answers li.bad span { color: #ff8fa3; } .answers li.none span { color: var(--muted); }
body.harf #play .msg { margin-top: 8px; }

/* wide screens: the host on the left, the game in the right half, never on top of him (owner, 19 Nov 2026) */
body.side .stage { display: none; }
body.side .floor { min-height: 100svh; margin-left: 46%; width: 54%; padding: 58px 24px 24px; display: flex; flex-direction: column; justify-content: center; }
body.side .deck { width: min(600px, 100%); }
body.side footer { margin-left: 46%; width: 54%; }
/* phones: the game sits in the middle of the room under the table, not stuck to its edge with empty floor below
   (owner, 19 Nov 2026: "too much empty space in Kelime ile İşlem"); A'dan Z'ye's ring keeps clear of the table */
body:not(.side) .floor { display: flex; flex-direction: column; }
body:not(.side) .deck { margin-block: auto; }
body:not(.side).harf .ring { margin-top: 16px; }
@media (max-width: 899px) {
  .tiles .tile { font-size: clamp(26px, 8vw, 36px); }
  #words form.box input, #words .btn { min-height: 54px; }
  #words .row .btn { min-height: 56px; font-size: 15px; }
}
/* Kelime ile İşlem: the letters on the studio's screen, the best word so far above them */
.letters-screen { padding: 16px 8px 18px; }
.letters-screen .best { margin: 0 0 10px; text-align: center; font: clamp(26px, 8vw, 40px)/1.1 var(--num); color: var(--ui); text-shadow: 3px 3px 0 #8c1a2e; letter-spacing: 2px; }
.letters-screen .best small { display: block; font: 11px var(--px); color: var(--muted); text-shadow: none; letter-spacing: 1px; margin-top: 4px; }
.letters-screen .tiles { margin: 0; }
/* Kelime ile İşlem's clocks and best scores */
.tile.down { background: #3a4677; box-shadow: 0 -3px 0 var(--edge), 0 3px 0 var(--edge), -3px 0 0 var(--edge), 3px 0 0 var(--edge), 0 6px 0 rgba(0, 0, 0, .4); }
.tile.pop { animation: tpop .3s steps(5) both; }
.nbest { margin: 0 0 10px; text-align: center; font: 11px var(--px); color: var(--muted); letter-spacing: 1px; padding: 0 8px; }
#words .tabrow, #numbers .tabrow { margin: 0 12px -2px; }
/* letters in Jersey 25, where Silkscreen's M and H look alike (a player, 19 Nov 2026) */
.ring .lt { font: 400 calc(var(--s) * 0.7)/1 var(--num); padding-bottom: 1px; }
.tile { font-family: var(--num); font-weight: 400; font-size: clamp(24px, 7.4vw, 34px); }
.tabrow.geo { justify-content: flex-end; margin: 0 8px -6px; }
.result .note { color: var(--muted); font-size: 13px; }

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

/* SEO text (h1 and the rules block): crawlable, quiet */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.about { position: relative; z-index: 3; width: min(600px, 100%); margin: 0 auto; padding: 4px 14px 18px; color: #c9d0ec; font: 400 12px/1.65 var(--mono); text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; }
.about h2 { margin: 0 0 6px; font: 700 12px/1.3 var(--px); color: var(--muted); letter-spacing: .5px; }
.about p { margin: 0 0 6px; }
.about a { color: var(--tq); }
body.side .about { margin-left: 46%; width: 54%; padding-left: 24px; padding-right: 24px; }
@media (min-width: 900px) { .about { width: 600px; } body.side .about { width: 54%; } }

/* the phone's or tablet's keyboard is open (js/kbfit.js; owner, 21 Nov 2026: "players kept scrolling up for the
   question and down to type"): the host steps out and the game fills the visible part above the keys */
html.kbopen body { overflow: hidden; }
html.kbopen .stage, html.kbopen .about, html.kbopen footer, html.kbopen .lead, html.kbopen #bubble, html.kbopen .quit { display: none !important; }
html.kbopen .top { top: var(--vvtop); }
html.kbopen .floor { position: fixed; left: 0; right: 0; top: var(--vvtop); height: var(--vvh); min-height: 0; margin: 0; width: auto;
  padding: calc(46px + env(safe-area-inset-top)) 8px 6px; overflow-y: auto; display: flex; flex-direction: column; justify-content: flex-end; }
html.kbopen body.side .floor { left: 46%; padding-left: 24px; padding-right: 24px; }
html.kbopen .deck { margin-block: 0; gap: 6px; }
html.kbopen body.harf .ring { margin-top: 0; }
html.kbopen .cluebar { min-height: 0; padding: 8px 12px; }
html.kbopen .screen .map { max-height: calc(var(--vvh) * 0.42); }
html.kbopen .msg { min-height: 0; }
.tab.mini { display: none; }
body.noring .ring { display: none; }
body.noring .tab.mini { display: flex; align-items: center; gap: 6px; font: 26px/1 var(--num); min-width: 0; }
body.noring .tab.mini small { font: 10px var(--px); letter-spacing: 1px; text-transform: uppercase; }
html.kbopen .hostmenu .tip { display: none; }
/* a long word (the sponsor address) breaks inside the bubble instead of running out of it (owner, 24 Nov 2026) */
.bubble { overflow-wrap: anywhere; }

/* Nadidle and Eldidan when not played today, under the next show (owner, 25 Nov 2026) */
.nextshow .sea-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.nextshow .sea-link { padding: 8px 12px; border-radius: 6px; font-size: 14px; font-weight: 600; text-decoration: none; color: #fff;
  background: #0b2a44; box-shadow: inset 0 0 0 2px #3fc1c9; }
.nextshow .sea-link:hover { background: #12406a; }
