/* HanMa demonstrations — TV casting face (§一百一十七 投屏律).
   Family standard component, copied from the verified Artsymus 3D build
   (assets/3d/cast.css, live 2026-11-30) with one adaptation: --sans carries a
   concrete fallback stack because hanmaco does not define --sans.
   Dark player face by design (the TV shell is dark on every family site). */
/* — the named cast entry on the stage: first screen, fixed spot (§117.2) — */
.amcast-entry{ position:absolute; top:14px; right:14px; z-index:6; min-height:48px;
  display:inline-flex; align-items:center; gap:8px; cursor:pointer;
  font-family:var(--sans, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size:15px; font-weight:600; letter-spacing:.06em;
  color:#f5efe2; background:rgba(10,10,13,.85); border:1.5px solid #c9a86a;
  border-radius:999px; padding:12px 20px; backdrop-filter:blur(4px); }
.amcast-entry:active{ background:rgba(154,123,45,.35); }
/* — the named cast entry on the gallery index — */
.amcast-entry-row{ text-align:center; margin:26px 0 4px; }
.amcast-entry-big{ min-height:56px; display:inline-flex; align-items:center; gap:10px; cursor:pointer;
  font-family:var(--sans, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size:17px; font-weight:600; letter-spacing:.06em;
  color:#f5efe2; background:#141417; border:1.5px solid #c9a86a; border-radius:999px; padding:16px 30px; }
.amcast-entry-big:active{ background:#2a2a30; }
.amcast-entry-note{ color:var(--muted); font-size:13.5px; margin:10px auto 0; max-width:560px; font-family:var(--sans, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); }
/* — the player / remote overlay — */
.amcast-overlay{ position:fixed; inset:0; z-index:1000; display:flex; flex-direction:column;
  background:#060607; color:#ece7dd; font-family:var(--sans, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); }
.amcast-overlay[hidden]{ display:none; }
.amcast-top{ display:flex; align-items:center; gap:14px; padding:14px 18px 6px; }
.amcast-live{ font-size:13px; letter-spacing:.14em; color:#c9a86a; white-space:nowrap; }
.amcast-now{ font-size:17px; font-weight:600; flex:1; text-align:center; }
.amcast-video{ flex:1 1 auto; min-height:0; width:100%; background:radial-gradient(120% 90% at 50% 30%, #1b1b20 0%, #0b0b0e 62%, #060607 100%); }
.amcast-status{ text-align:center; font-size:13.5px; color:#c9a86a; min-height:20px; padding:8px 16px 0; }
.amcast-guide{ text-align:center; font-size:13px; color:rgba(236,231,221,.62); padding:4px 22px 0; max-width:760px; margin:0 auto; line-height:1.6; }
.amcast-bar{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center; padding:12px 16px 4px; }
.amcast-btn{ font-family:var(--sans, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size:15px; color:#ece7dd; background:#17171b;
  border:1px solid rgba(201,168,106,.5); border-radius:999px; min-width:48px; min-height:48px;
  padding:10px 16px; cursor:pointer; }
.amcast-btn:active{ background:rgba(154,123,45,.3); }
.amcast-castbtn.on{ background:#F37021; border-color:#F37021; color:#fff; }
.amcast-seek{ flex:1 1 180px; max-width:420px; accent-color:#c9a86a; }
.amcast-vol{ width:90px; accent-color:#c9a86a; }
.amcast-time{ font-size:12.5px; color:rgba(236,231,221,.7); font-variant-numeric:tabular-nums; }
.amcast-nextwrap{ padding:8px 18px 20px; max-width:820px; width:100%; margin:0 auto; overflow-y:auto; }
.amcast-nexthead{ font-size:12.5px; letter-spacing:.14em; color:rgba(236,231,221,.55); margin:6px 2px 8px; }
.amcast-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.amcast-row{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px;
  min-height:52px; text-align:left; cursor:pointer; color:#ece7dd; background:#101013;
  border:1px solid rgba(201,168,106,.28); border-radius:14px; padding:12px 16px; font-family:var(--sans, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size:15px; }
.amcast-row.now{ border-color:#c9a86a; background:rgba(154,123,45,.16); }
.amcast-row-tag{ font-size:12px; letter-spacing:.08em; color:#c9a86a; white-space:nowrap; }
.amcast-row.picked .amcast-row-tag{ color:#F37021; }
