/* THE PAD — live launches on the console (2026-10-21).
   The strip rides under the big screen; the theater is the Day Zero CRT,
   generalized. Transform/opacity motion only; calm under .fx-off and
   prefers-reduced-motion. */

/* ── the strip ── */
.pad-strip {
  display: flex; align-items: center; gap: 10px;
  width: min(100%, 860px); min-width: 0; max-width: 100%;
  margin-top: var(--s-3);
  padding: 8px 12px;
  border: 1px solid rgba(255, 176, 32, .45); border-radius: 8px;
  background: linear-gradient(180deg, rgba(26, 16, 7, .9), rgba(13, 8, 3, .94));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 14px 30px -18px rgba(0, 0, 0, .9);
  font-family: "Space Mono", monospace; color: var(--ink, #f4e6c6);
}
.pad-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ffb020; box-shadow: 0 0 10px rgba(255, 176, 32, .7); }
.pad--live .pad-dot { background: #ff5030; box-shadow: 0 0 12px rgba(255, 80, 48, .9); animation: pad-blink 1.4s ease-in-out infinite; }
.pad--live { border-color: rgba(255, 80, 48, .65); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 0 26px -6px rgba(255, 80, 48, .5); }
.pad-slate { flex: none; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: #ffb020; white-space: nowrap; }
.pad--live .pad-slate { color: #ff9c6c; }
.pad-count { flex: none; font-size: .9rem; font-weight: 700; letter-spacing: .12em; color: #ffd08a; text-shadow: 0 0 10px rgba(255, 208, 138, .35); font-variant-numeric: tabular-nums; }
.pad-name { flex: 1 1 auto; min-width: 0; font-size: .68rem; letter-spacing: .08em; color: var(--ink-dim, #cbb488); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pad-tune {
  flex: none; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: #0a0604; background: #ffb020; border: 0; border-radius: 4px; padding: 8px 14px; cursor: pointer;
  transition: background var(--dur-fast, 150ms) ease, transform var(--dur-fast, 150ms) ease;
}
.pad-tune:hover, .pad-tune:focus-visible { background: #ffd08a; outline: none; transform: translateY(-1px); }
.pad--live .pad-tune { background: #ff5030; color: #fff4ea; }
.pad--live .pad-tune:hover, .pad--live .pad-tune:focus-visible { background: #ff7a5c; }
@keyframes pad-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ── the theater ── */
#pad-th { position: fixed; inset: 0; z-index: 2147482999; background: #0a0604; display: flex; align-items: center; justify-content: center; padding: 18px; }
#pad-th::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 176, 32, .04) 0 1px, transparent 1px 3px); }
.pth-in { position: relative; width: min(900px, 100%); max-height: 100%; overflow: auto; text-align: center; padding-top: 6px; }
.pth-shut { position: absolute; top: 0; right: 0; z-index: 2; background: none; border: 1px solid rgba(232, 217, 195, .3); color: #e8d9c3; font-family: "Chakra Petch", sans-serif; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; padding: 7px 14px; cursor: pointer; border-radius: 3px; }
.pth-shut:hover, .pth-shut:focus-visible { border-color: #ffb020; color: #ffb020; outline: none; }
.pth-slate { font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: #ff5030; }
.pth-title { font-family: "Bowlby One", cursive; font-size: clamp(26px, 6vw, 52px); line-height: 1; color: #ffb020; margin: 10px auto 10px; max-width: 18ch; text-shadow: 0 0 28px rgba(255, 176, 32, .4); }
.pth-copy { font-family: "Space Mono", monospace; font-size: 12px; line-height: 1.7; color: rgba(232, 217, 195, .72); max-width: 70ch; margin: 0 auto 8px; }
.pth-clock { font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: .12em; color: #ffd08a; margin: 0 0 14px; }
.pth-clock b { font-size: 20px; letter-spacing: .14em; font-variant-numeric: tabular-nums; display: inline-block; margin-right: 6px; }
.pth-stage { margin: 0 auto; max-width: 860px; }
.pth-tube { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(255, 176, 32, .35); border-radius: 8px; overflow: hidden; }
.pth-tube iframe, .pth-tube img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.pth-play { position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(10, 6, 4, .35); border: 0; cursor: pointer; }
.pth-play i { width: 74px; height: 74px; border-radius: 50%; border: 2px solid #ffb020; display: flex; align-items: center; justify-content: center; color: #ffb020; font-style: normal; font-size: 26px; background: rgba(10, 6, 4, .7); padding-left: 6px; }
.pth-play:hover i, .pth-play:focus-visible i { background: #ffb020; color: #0a0604; }
.pth-play:focus-visible { outline: none; }
.pth-tape { position: absolute; top: 10px; left: 10px; z-index: 1; pointer-events: none; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 10px; letter-spacing: .26em; color: #ffd08a; background: rgba(10, 6, 4, .78); border: 1px solid rgba(255, 176, 32, .45); border-radius: 3px; padding: 4px 8px; }
.pth-under { margin: 10px auto 0; max-width: 70ch; font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .04em; line-height: 1.8; color: rgba(232, 217, 195, .6); }
.pth-under a { color: rgba(232, 217, 195, .8); text-decoration: underline; text-underline-offset: 3px; }
.pth-under a:hover, .pth-under a:focus-visible { color: #ffb020; outline: none; }
.pth-under .pth-under-go { display: inline-block; margin: 4px 0; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 10px; letter-spacing: .22em; color: #ffb020; text-decoration: none; border: 1px solid rgba(255, 176, 32, .5); border-radius: 3px; padding: 5px 10px; }
.pth-under .pth-under-go:hover, .pth-under .pth-under-go:focus-visible { background: #ffb020; color: #0a0604; }
.pth-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid rgba(255, 176, 32, .35); border-radius: 8px; overflow: hidden; background: #120b04; text-align: left; }
.pth-art { width: 100%; max-height: 300px; object-fit: cover; opacity: .55; display: block; }
.pth-card-in { padding: 18px 20px 20px; }
.pth-card-kick { margin: 0 0 6px; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 10px; letter-spacing: .3em; color: #ffb020; }
.pth-card-copy { margin: 0 0 12px; font-family: "Space Mono", monospace; font-size: 12px; line-height: 1.7; color: rgba(232, 217, 195, .75); }
.pth-card-go { display: inline-block; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 11px; letter-spacing: .22em; color: #0a0604; background: #ffb020; border-radius: 4px; padding: 9px 14px; text-decoration: none; }
.pth-card-go:hover, .pth-card-go:focus-visible { background: #ffd08a; outline: none; }
.pth-dial { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 14px 0 6px; }
.pth-dial button { display: grid; gap: 3px; font-family: "Chakra Petch", sans-serif; font-weight: 600; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #e8d9c3; background: none; border: 1px solid rgba(232, 217, 195, .3); border-radius: 4px; padding: 8px 12px; cursor: pointer; max-width: 240px; }
.pth-dial button .pth-dial-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pth-dial button .pth-dial-t { font-family: "Space Mono", monospace; font-size: 10px; letter-spacing: .1em; color: #ffd08a; font-variant-numeric: tabular-nums; }
.pth-dial button.is-live { border-color: rgba(255, 80, 48, .7); }
.pth-dial button.is-live .pth-dial-t::before { content: "● "; color: #ff5030; }
.pth-dial button[aria-pressed="true"] { color: #0a0604; background: #ffb020; border-color: #ffb020; }
.pth-dial button[aria-pressed="true"] .pth-dial-t { color: #4a2a05; }
.pth-dial button:hover, .pth-dial button:focus-visible { border-color: #ffb020; color: #ffb020; outline: none; }
.pth-dial button[aria-pressed="true"]:hover { color: #0a0604; }
.pth-rcpt { margin-top: 10px; font-family: "Space Mono", monospace; font-size: 10px; letter-spacing: .12em; color: rgba(232, 217, 195, .45); line-height: 2.2; }
.pth-rcpt a { display: inline-block; margin-left: 8px; color: rgba(232, 217, 195, .65); border: 1px solid rgba(232, 217, 195, .25); border-radius: 3px; padding: 2px 8px; text-decoration: none; }
.pth-rcpt a:hover, .pth-rcpt a:focus-visible { color: #ffb020; border-color: #ffb020; outline: none; }
.pth-rcpt .pth-chain { color: #ffb020; border-color: rgba(255, 176, 32, .5); }

/* calm */
.fx-off .pad--live .pad-dot { animation: none; }
.fx-off #pad-th::before { background: none; }
@media (prefers-reduced-motion: reduce) { .pad--live .pad-dot { animation: none; } .pad-tune { transition: none; } }

/* phones: the strip wraps to two rows under the glass; the theater fills the screen */
@media (max-width: 700px) {
  .pad-strip { flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; padding: 10px 12px; }
  .pad-slate { font-size: .6rem; }
  .pad-count { font-size: 1rem; margin-left: auto; }
  .pad-name { flex-basis: 100%; white-space: normal; font-size: .7rem; line-height: 1.35; }
  .pad-tune { flex-basis: 100%; padding: 11px 14px; font-size: .7rem; }
  #pad-th { padding: 10px; align-items: flex-start; }
  .pth-in { padding-top: 40px; }
  .pth-title { font-size: clamp(22px, 7.5vw, 34px); }
  .pth-dial button { max-width: 100%; flex: 1 1 46%; }
}
