/* The phone pages' own few rules, on top of theme.css and web.css (copied from the mock-ups'
   docs/cloud-platform/ui/ on research/2026-11-15-cloud-web; when W1 brings the site's CSS, these pages load
   that instead). Like web.css, this file names no colour: only var(--token). */

body { padding-bottom: 1rem; }
/* No 300 ms wait for a double-tap zoom: a press acts on the tap (RULES 3's reason, on a phone). */
a, button, summary, input { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.hdr__title { font: 700 1.25rem/1 var(--font-title); text-transform: uppercase; }
#app > * + * { margin-top: .75rem; }
.center { text-align: center; }
.final { margin: .375rem 0; }
.final::after { margin-left: auto; margin-right: auto; }
.big { min-height: 4rem; font-size: 1.25rem; }
.linkish { color: var(--link); min-height: 44px; text-decoration: underline; }
.u13 .rules summary { list-style: none; }
.u13 .rules summary::-webkit-details-marker { display: none; }
.u13 .rules p { margin-top: .5rem; }
.guest-note { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.frames li { padding: .25rem 0; border-bottom: 1px solid var(--hairline); }

/* the shot clock is its own big button: tap when the balls stop, tap again to stop it */
.clock-btn { display: block; width: 100%; }
.clock-btn[aria-disabled="true"] .t { color: var(--text-faint); }

/* a dialog over the pad, in reach of the thumb */
.dlg { position: fixed; inset: 0; z-index: 20; background: var(--scrim); display: flex; align-items: flex-end; justify-content: center; padding: 1rem; }
.dlg__in { --frame: var(--edge-accent); --fill: var(--panel-850); width: 100%; max-width: 34rem; padding: 1rem; }
.dlg__in > * + * { margin-top: .75rem; }
.dlg .pad { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.readonly { margin-bottom: .75rem; }
/* a second tab only shows the match (v0.3 §11.4): its pad and actions are drawn as not pressable */
.is-readonly .pad, .is-readonly .actions, .is-readonly .clock-btn { opacity: .45; pointer-events: none; }
