/* cast.css - Settings › Cast (p0pc0rn Cast). Uses app.css's tokens and its .list / .btn / .sheet / .attest pieces. */
#cast-root { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-6); }
.cast-list { margin-top: 0; }
.cast-card { padding: var(--s-3) var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.cast-card + .cast-card { box-shadow: inset 0 1px 0 var(--hairline); }
.cast-top { display: flex; align-items: center; gap: var(--s-3); }
.cast-av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; overflow: hidden;
  font-weight: 600; font-size: 18px; color: var(--text-2); }
.cast-av img { width: 100%; height: 100%; object-fit: cover; }
.cast-txt { flex: 1; min-width: 0; }
.cast-name { margin: 0; font-size: 17px; line-height: 22px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cast-txt .footnote { margin: 2px 0 0; }
.cast-say { display: flex; gap: var(--s-2); }
.cast-in, .cast-field { flex: 1; min-width: 0; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-sm); border: 0; background: var(--surface-2); color: var(--text-1);
  font: 16px/20px var(--font); box-shadow: inset 0 0 0 1px var(--hairline); }
textarea.cast-field { padding: var(--s-2) var(--s-3); resize: vertical; width: 100%; }
.cast-in:disabled { opacity: .5; }
.cast-out audio, .cast-take audio { width: 100%; margin-top: var(--s-2); }
.cast-out .footnote { margin: var(--s-1) 0 0; }
.cast-wrap .cast-sheet { max-height: 92vh; overflow-y: auto; padding-bottom: calc(var(--s-6) + var(--safe-b)); }
.cast-head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.cast-head .title { margin: 0; }
.cast-row { display: flex; gap: var(--s-2); }
.cast-who { display: flex; gap: var(--s-2); }
.cast-radio { flex: 1; display: flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-sm); background: var(--surface-2); font-size: 15px; }
.cast-radio input { accent-color: var(--accent); width: 20px; height: 20px; margin: 0; }
.cast-voice { display: flex; flex-direction: column; gap: var(--s-2); }
.cast-voice .footnote { margin: 0; }
.cast-prompter { font: 600 24px/32px var(--font); letter-spacing: -.01em; padding: var(--s-4); border-radius: var(--r-md); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--hairline); }
.cast-prompter.live { box-shadow: inset 0 0 0 2px var(--danger); }
.cast-count { font: 700 56px/1 var(--font); text-align: center; padding: var(--s-2) 0; }
.cast-meter { height: 14px; border-radius: 7px; background: var(--surface-3); overflow: hidden; position: relative; }
.cast-meter i { position: absolute; inset: 0; background: var(--ok); transform-origin: left; transform: scaleX(0); transition: transform 50ms linear; }
.cast-meter i.hot { background: var(--danger); }
.cast-checks { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 22px; }
.cast-checks .ok { color: var(--ok); } .cast-checks .bad { color: var(--danger); } .cast-checks .warn { color: var(--warn); }
.cast-adv summary { min-height: 44px; display: flex; align-items: center; color: var(--text-2); font-size: 15px; }
.cast-adv { display: flex; flex-direction: column; gap: var(--s-2); }
.cast-adv[open] { gap: var(--s-2); }
.cast-photos { display: flex; flex-direction: column; gap: var(--s-2); }
.cast-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.cast-grid:empty { display: none; }
.cast-ph { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-sm); overflow: hidden; background: var(--surface-2); }
.cast-ph img { width: 100%; height: 100%; object-fit: cover; }
.cast-x { position: absolute; top: 2px; right: 2px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--scrim); color: #fff; font-size: 20px; line-height: 1; }
.cast-nf { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; text-align: center; background: var(--scrim); color: #fff; padding: 2px; }
.cast-prev { max-width: 160px; max-height: 200px; border-radius: var(--r-sm); object-fit: cover; }
.cast-pick { align-self: flex-start; display: inline-flex; align-items: center; }
.cast-del { margin-top: var(--s-4); }
.cast-two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.cast-two .btn { width: 100%; }
.cast-two .done { color: var(--ok); }
.cast-lip { align-self: flex-start; }
.cast-exp { align-self: flex-start; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); border: 1px solid var(--warn); border-radius: 6px; padding: 2px 6px; }
.cast-pend { display: flex; flex-direction: column; gap: var(--s-4); }
.cast-pitem { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3); border-radius: var(--r-md); background: var(--surface-2); }
.cast-pitem .footnote { margin: 0; }
.cast-pitem .ok { color: var(--ok); } .cast-pitem .warn { color: var(--warn); } .cast-perr { color: var(--danger); margin: 0; }
.cast-pvis { display: flex; gap: var(--s-2); align-items: flex-start; }
.cast-cv { max-width: 100%; border-radius: var(--r-xs); touch-action: none; }
.cast-pv { width: 96px; height: 96px; border-radius: var(--r-xs); background: var(--surface-3); flex: none; }
.cast-ctl { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.cast-nudge { min-width: 44px; padding: 0; font-size: 18px; }
.talk-pick.on { box-shadow: inset 0 0 0 3px var(--accent); }
.talk-who { display: flex; flex-direction: column; gap: var(--s-2); }
.v-actions #v-talk span { font-size: 11px; line-height: 13px; }
