/* Take the Rock, recorded: intro line, after-match row, Garage bench, loop rail. */
.rr-intro { margin: 14px auto 0; max-width: 34ch; font-size: 16px; line-height: 1.4; color: var(--dim, #9fb0cf); }
.rr-intro a { display: inline-block; padding: 12px 6px; color: var(--you, #35e6ff); font-weight: 700; }
.rr-after { margin-top: 18px; text-align: left; }
.rr-status { margin: 0 0 12px; text-align: center; font-size: 16px; color: var(--dim, #9fb0cf); }
.rr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.rr-row[hidden] { display: none; }
.rr-go { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 72px; padding: 10px;
  border-radius: 16px; text-decoration: none; font-weight: 900; letter-spacing: .03em; color: #001018;
  background: linear-gradient(180deg, #8ff4ff, #35e6ff); box-shadow: 0 6px 22px rgba(53, 230, 255, .28); }
.rr-card { background: linear-gradient(180deg, #ffe6a3, #f5c46b); box-shadow: 0 6px 22px rgba(245, 196, 107, .28); }
.rr-go-i { font-size: 22px; line-height: 1; }
.rr-go-t { font-size: 16px; text-transform: uppercase; }
.rr-h { margin: 0 0 6px; font-size: 16px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #e8eefc; }
.rr-garage { position: relative; overflow: hidden; margin: 0 0 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .12); background: #0a1424; }
.rr-bench { display: block; width: 100%; height: 120px; object-fit: cover; object-position: 50% 40%; opacity: .9; }
.rr-garage-body { padding: 12px 12px 10px; }
.rr-line { margin: 0 0 10px; font-size: 16px; line-height: 1.35; color: var(--dim, #9fb0cf); }
.rr-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rr-chip { min-height: 44px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(53, 230, 255, .4); background: transparent;
  color: #cfe9ff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.rr-chip[aria-pressed="true"] { background: rgba(53, 230, 255, .18); border-color: #35e6ff; color: #fff; box-shadow: 0 0 12px rgba(53, 230, 255, .25) inset; }
.rr-chip[aria-pressed="true"]::before { content: '\2713\00a0'; color: #35e6ff; }
.rr-note { min-height: 1.2em; margin: 8px 0 0; font-size: 16px; color: var(--dim, #9fb0cf); }
.rr-standings { margin: 0 0 16px; }
.rr-best { margin: 0 0 8px; text-align: center; font-size: 16px; font-weight: 800; color: #e8eefc; }
.rr-board { margin: 0; padding: 0 0 0 1.2em; color: #cfe9ff; font-size: 16px; line-height: 1.45; }
.rr-board li { margin: 2px 0; }
.rr-rail { margin: 0; }
.rr-strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; -webkit-overflow-scrolling: touch; }
.rr-tile { position: relative; flex: 0 0 148px; height: 104px; border-radius: 14px; overflow: hidden; scroll-snap-align: start;
  text-decoration: none; color: #fff; border: 1px solid rgba(255, 255, 255, .14); background: #0a1424; }
.rr-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rr-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(3, 8, 18, .92) 100%); }
.rr-tile-k, .rr-tile-n { position: absolute; left: 8px; right: 8px; z-index: 1; }
.rr-tile-k { top: 6px; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: #9fe9ff; text-shadow: 0 1px 3px #000; }
.rr-tile-n { bottom: 7px; font-size: 16px; font-weight: 800; line-height: 1.2; text-shadow: 0 1px 4px #000; }
.ttr-choice.sent { outline: 2px solid rgba(255, 255, 255, .6); }
/* The over panel scrolls inside itself so the Bay and the Rock stay on screen. */
.ttr-over { max-height: 66vh; max-height: 66dvh; overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) {
  .ttr-over { max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); }
}
.rr-next { margin: 16px 0 14px; }
.rr-board { list-style: none; padding-left: 0; } /* rock-run.js numbers each row itself */
/* One small optional callsign field under Play, only while this device has no callsign. */
.rr-callsign { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 14px auto 0; max-width: 340px; font-size: 16px; color: var(--ink, #eaf1ff); text-align: left; }
.rr-callsign-k { font-weight: 700; }
.rr-callsign-in { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 6px 10px; border-radius: 10px; border: 1px solid rgba(53, 230, 255, .35);
  background: rgba(10, 20, 36, .7); color: #e8eefc; font: inherit; font-size: 16px; }
.rr-callsign-in:focus { outline: 2px solid #35e6ff; outline-offset: 1px; }
