/* TTTV Arcade — extras on top of styles.css + game.css (shared with Don't Touch That Dial). */
.g-top__back { white-space: nowrap; }
.g-badge-art { display: block; object-fit: contain; width: auto; height: min(26vh, 230px); height: min(26dvh, 230px); aspect-ratio: 1; margin: 0 auto; filter: drop-shadow(5px 5px 0 #000); transform: rotate(-3deg); animation: a-bob 2.4s ease-in-out infinite; }
@keyframes a-bob { 50% { transform: rotate(2deg) translateY(-4px); } }
.g-how { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.g-how li { font: 600 12px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: #000; background: #fff; border: 2px solid #000; border-radius: 3px; padding: 5px 7px; box-shadow: 2px 2px 0 #000; }
.g-how li:nth-child(2n) { background: var(--yellow); }
.g-ov--over .g-card { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; justify-content: flex-start; }
.g-ov--over .g-title--over { font-size: clamp(22px, 4vh, 34px); margin-top: 2px; }
.g-ov--over .g-quote img { width: clamp(58px, 9vh, 92px); height: clamp(58px, 9vh, 92px); }
.g-ov--over .g-bubble { font-size: clamp(15px, 2.4vh, 20px); }
.g-ov--over .g-play, .g-ov--over .g-actions .btn--ghost { min-height: 52px; }
/* leaderboard panel */
.ab-wrap { width: 100%; background: #070910; border: 3px solid #000; border-radius: 6px; box-shadow: 4px 4px 0 var(--yellow); padding: 8px 10px 10px; text-align: left; }
.ab-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
.ab-title { margin: 0; font: 400 19px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 7px; }
.ab-tabs { display: flex; gap: 4px; }
.ab-tabs button { font: 600 11px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; padding: 7px 8px; min-height: 32px; border: 2px solid #000; border-radius: 3px; background: #1d2233; color: #c7cad4; cursor: pointer; }
.ab-tabs button[aria-pressed="true"] { background: var(--yellow); color: #000; }
.ab-msg { margin: 0 0 6px; font: 500 13px/1.3 var(--body); color: var(--yellow); min-height: 1.2em; }
.ab-form { display: flex; gap: 6px; margin: 0 0 8px; }
.ab-form[hidden] { display: none; }
.ab-form input { flex: 1 1 auto; min-width: 0; font: 600 16px/1 var(--body); padding: 10px 10px; border: 3px solid #000; border-radius: 4px; background: #fff; color: #000; }
.ab-form button { flex: 0 0 auto; font: 400 17px/1 var(--display); letter-spacing: .05em; text-transform: uppercase; padding: 0 14px; min-height: 44px; border: 3px solid #000; border-radius: 4px; background: var(--red); color: #fff; box-shadow: 2px 2px 0 #000; cursor: pointer; }
.ab-form button:disabled { opacity: .6; }
.ab-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 3px; }
.ab-list li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; padding: 4px 6px; background: #121626; border-radius: 3px; font: 600 14px/1.2 var(--body); color: #fff; }
.ab-list li:nth-child(1) .ab-n { background: var(--yellow); color: #000; }
.ab-list li.is-you { outline: 2px solid var(--red); }
.ab-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #2a2f44; font: 700 12px/1 var(--label); }
.ab-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ab-score { font: 400 17px/1 var(--display); color: var(--yellow); font-variant-numeric: tabular-nums; }
.ab-empty { margin: 2px 0; font: 500 13px/1.35 var(--body); color: #a7acbb; }
@media (max-height: 700px) { .g-ov--over .g-follow { display: none; } .g-ov--over .g-offair { display: none; } }
@media (max-height: 640px) { .g-badge-art { height: 20vh; height: 20dvh; } }
/* DOM-driven game (quiz) */
.q-wrap { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 2vh, 18px); padding: 70px max(14px, env(safe-area-inset-right)) calc(48px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: radial-gradient(rgba(255,255,255,.06) 1.5px, transparent 2px) 0 0 / 12px 12px, linear-gradient(#141a33, #06070c); }
.q-prog { display: flex; gap: 6px; }
.q-prog i { width: 34px; height: 10px; border: 2px solid #000; border-radius: 3px; background: #2a2f44; }
.q-prog i.on { background: var(--yellow); } .q-prog i.now { background: var(--red); }
.q-timer { width: min(520px, 100%); height: 10px; border: 2px solid #000; border-radius: 6px; background: #1d2233; overflow: hidden; }
.q-timer b { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--yellow)); transform-origin: left; }
.q-q { margin: 0; max-width: 22ch; text-align: center; font: 400 clamp(26px, 4.8vh, 44px)/1.05 var(--display); text-transform: uppercase; color: #fff; -webkit-text-stroke: 1px #000; text-shadow: 3px 3px 0 #000, 5px 5px 0 var(--red); transform: rotate(-1deg); }
.q-opts { width: min(560px, 100%); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-opt { min-height: clamp(70px, 12vh, 110px); padding: 10px; border: 3px solid #000; border-radius: 8px; background: #fff; color: #000; box-shadow: 4px 4px 0 #000; font: 400 clamp(17px, 2.6vh, 23px)/1.1 var(--display); letter-spacing: .02em; text-transform: uppercase; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.q-opt:nth-child(2) { background: var(--yellow); } .q-opt:nth-child(3) { background: #8fd0ff; } .q-opt:nth-child(4) { background: #ff9aa5; }
.q-opt:active, .q-opt.picked { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; }
.q-combo { margin: 0; min-height: 1.3em; font: 400 22px/1 var(--display); color: var(--yellow); text-transform: uppercase; letter-spacing: .04em; }
.q-wrap[hidden] { display: none; }
.q-card { width: min(100%, 300px, 32vh); width: min(100%, 300px, 32dvh); height: auto; border: 3px solid #000; border-radius: 8px; box-shadow: 4px 4px 0 var(--yellow); background: #111; }
@media (prefers-reduced-motion: reduce) { .g-badge-art { animation: none; } .q-opt:active, .q-opt.picked { transform: none; } }
/* ---------- Arcade hub ---------- */
.arc-body { background: #06070c; min-height: 100vh; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.arc-top { position: sticky; top: 0; }
.arc-main { max-width: 1180px; margin: 0 auto; padding: 18px max(14px, env(safe-area-inset-right)) 30px max(14px, env(safe-area-inset-left)); }
.arc-hero { text-align: center; margin: 8px auto 20px; max-width: 760px; }
.arc-kicker { margin: 0 0 10px; display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.arc-kicker b { color: var(--red); }
.arc-title { margin: 0; font: 400 clamp(44px, 9vw, 92px)/.9 var(--display); text-transform: uppercase; color: var(--yellow); -webkit-text-stroke: 2px #000; text-shadow: 4px 4px 0 #000, 7px 7px 0 var(--red); transform: rotate(-1.5deg); }
.arc-lede { margin: 14px auto 0; max-width: 52ch; color: #d6d8e0; font-size: 16px; line-height: 1.5; }
.arc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.arc-tile { position: relative; display: flex; flex-direction: column; background: #0e1220; border: 3px solid #000; border-radius: 10px; box-shadow: 6px 6px 0 var(--red), 6px 6px 0 3px #000; overflow: hidden; animation: g-pop .5s cubic-bezier(.2,1.4,.4,1) both; animation-delay: calc(var(--i) * 60ms); transition: transform .2s; }
.arc-tile:nth-child(3n+2) { box-shadow: 6px 6px 0 var(--yellow), 6px 6px 0 3px #000; }
.arc-tile:hover { transform: rotate(-1deg) translateY(-3px); }
.arc-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.arc-art { position: relative; display: grid; place-items: center; height: 180px; background: radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 2px) 0 0 / 11px 11px, linear-gradient(#1b2142, #0c0f1d); border-bottom: 3px solid #000; }
.arc-art img { height: 160px; width: auto; filter: drop-shadow(4px 4px 0 #000); transition: transform .25s; }
.arc-art--tv img { height: 168px; border: 3px solid #000; border-radius: 8px; }
.arc-tile:hover .arc-art img { transform: scale(1.05) rotate(-2deg); }
.arc-tag { position: absolute; top: 10px; left: 10px; font: 700 11px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; background: var(--yellow); color: #000; padding: 5px 7px; border: 2px solid #000; border-radius: 3px; box-shadow: 2px 2px 0 #000; }
.arc-body-t { display: grid; gap: 6px; padding: 12px 14px 10px; }
.arc-name { font: 400 26px/1 var(--display); text-transform: uppercase; color: #fff; letter-spacing: .01em; }
.arc-pitch { font-size: 14px; line-height: 1.4; color: #c7cad4; }
.arc-best { font: 600 12px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; color: #a7acbb; }
.arc-best b { color: var(--yellow); font-size: 15px; }
.arc-play { justify-self: start; margin-top: 4px; font: 400 20px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; background: var(--red); color: #fff; padding: 10px 18px; border: 3px solid #000; border-radius: 6px; box-shadow: 3px 3px 0 #000; }
.arc-board { margin: auto 12px 12px; padding: 8px 10px; background: #070910; border: 2px solid #000; border-radius: 6px; }
.arc-board__h { margin: 0 0 5px; font: 700 11px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.arc-board .ab-list li { font-size: 13px; padding: 3px 6px; }
.arc-board .ab-score { font-size: 15px; }
.arc-foot { margin: 26px auto 0; max-width: 60ch; text-align: center; color: #a7acbb; font-size: 13.5px; }
.arc-lower { position: fixed; }
@media (max-width: 480px) { .arc-grid { grid-template-columns: 1fr; } .arc-art { height: 150px; } .arc-art img { height: 132px; } .arc-art--tv img { height: 140px; } }
@media (prefers-reduced-motion: reduce) { .arc-tile { animation: none; transition: none; } .arc-tile:hover { transform: none; } }
/* FishyMop-led games: "Starring FishyMop" stamp on the start card and hub tiles */
.g-starring { display: inline-block; margin: 0 auto 6px; font: 700 12px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; background: #3fdc6b; color: #000; padding: 6px 9px; border: 2px solid #000; border-radius: 3px; box-shadow: 3px 3px 0 #000; transform: rotate(-2deg); }
.arc-star { position: absolute; top: 10px; right: 10px; font: 700 11px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; background: #3fdc6b; color: #000; padding: 5px 7px; border: 2px solid #000; border-radius: 3px; box-shadow: 2px 2px 0 #000; transform: rotate(2deg); }
.arc-tile--fm { box-shadow: 6px 6px 0 #3fdc6b, 6px 6px 0 3px #000; }
.arc-tile--fm:nth-child(3n+2) { box-shadow: 6px 6px 0 #3fdc6b, 6px 6px 0 3px #000; }
.arc-new { justify-self: start; font: 700 11px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: #3fdc6b; }
