/* The pages the references don't draw (Add music, the review, the J-card, Record over, Send tape,
   the Tower panel, the account menu, sign-in and join), in the new look: the same panels, thin
   rules, square keys and type as the main screen, from theme.css. Their features are unchanged. */
.overlay { background: #0d0d0cc7; }
[data-theme="light"] .overlay { background: #1d1d1b59; }
#review.overlay { background: #0d0d0c80; }
.card { background: var(--panel); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: 0 24px 60px var(--shadow); }
.card > .topbar { background: transparent; height: 64px; border-bottom: 1px solid var(--line); }
.card .wordmark { font-size: 16px; letter-spacing: 6px; }
.crumb { font-family: var(--mono); font-size: 12px; letter-spacing: 2.4px; color: var(--muted); text-transform: uppercase; }
.col-left { border-right-color: var(--line); }
.hint { color: var(--muted); }

/* fields */
.name-input, .t-input, .t-select { height: 40px; border-radius: 3px; border: 1px solid var(--line-2); background: var(--field); color: var(--text);
  font-family: var(--sans); font-weight: 500; font-size: 15px; }
.name-input:focus, .t-input:focus, .t-select:focus { outline: none; border-color: var(--accent); }
.label-input { font-family: "Permanent Marker", cursive; font-weight: 400; } /* where a tape's title is written */
.me-menu .name-input, .t-invite-email { height: 36px; font-size: 14px; }
.me-menu { padding: 16px; }
.me-about { color: var(--text); }
.chip-in { color: var(--muted); border-top-color: var(--line); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }

/* Add to the crate */
.drop-zone { border: 1px dashed var(--line-3); border-radius: 4px; background: var(--well); }
.count-ready, .count-check { font-family: var(--mono); font-weight: 500; text-shadow: none; background: var(--recess); color: var(--text);
  border: 1px solid var(--line-2); border-radius: 3px; padding: 2px 8px; font-size: 14px; }
.scan { background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.add-list .song { border-bottom: 1px solid var(--line); border-radius: 0; grid-template-columns: 26px 36px minmax(0, 1fr) auto; }
.song .cover.dim { opacity: .45; }
.song .num { color: var(--muted); font-family: var(--mono); }
.review-art { border-radius: 3px; background: var(--well); border: 1px solid var(--line-2); overflow: hidden; }
.review-blank { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 12px; font-size: 12px; color: #fff; text-shadow: 0 1px 2px #0008; }

/* the stack of three tapes (the empty crate, the drop zone) */
.tape-stack { position: relative; width: 150px; height: 128px; margin: 0 auto; }
.tape-stack svg { position: absolute; left: 0; }
.tape-stack svg:nth-child(1) { top: 36px; }
.tape-stack svg:nth-child(2) { top: 18px; }
.tape-stack svg:nth-child(3) { top: 0; }

/* the J-card */
.cover-choice { border-radius: 3px; border: 1px solid var(--line-2); background: var(--key); color: var(--text); font-family: var(--sans); font-weight: 700; }
.cover-choice[aria-checked="true"] { border-color: var(--accent); background: var(--accent-bg); color: var(--accent-text); }

/* Record over, Send tape */
.rec-over-row { border-radius: 3px; }
.rec-over-row:hover { background: var(--well); }
.rec-over-row:has(input:checked) { background: var(--well); box-shadow: inset 0 0 0 1px var(--line-2); }
.rec-over-row .shelf-cassette svg.tape { width: 56px; height: auto; }
.on-air-tag { background: var(--accent); color: #1d1d1b; border-radius: 2px; }

/* the Tower panel */
.t-num { font-family: var(--mono); font-weight: 500; color: var(--text); text-shadow: none; font-size: 20px; }
.t-disk { height: 6px; border-radius: 3px; background: var(--line-2); }
.t-disk-fill { background: var(--text); }
.t-disk-fill.warn { background: var(--accent); }
.t-warn { color: var(--accent-text); }

/* sign-in, join, reset, about */
.auth-card { background: var(--panel); }
.terms-box { border-radius: 3px; border-color: var(--line-2); background: var(--field); }
.terms-status { border-radius: 3px; }
.terms-doc { font-family: var(--sans); color: var(--text); }
.terms-doc h1, .terms-doc h2, .terms-doc h3 { font-family: var(--sans); font-weight: 700; }
.terms-doc h2 { font-size: 13px; letter-spacing: 3.5px; text-transform: uppercase; }
body.terms-page { background: var(--bg); }
