:root {
    --bg: #070707;
    --bg2: #111112;
    --card: #161617;
    --line: #2a2a2c;
    --text: #f3efe6;
    --muted: #9a9487;
    --gold: #c9973f;
    --gold-hi: #e6bf6e;
    --gold-lo: #8f6a26;
    --ok: #4fae7b;
    --danger: #d2503f;
    --radius: 14px;
    font-size: 16px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); min-height: 100%;
    font-family: 'Montserrat', 'Segoe UI', 'Helvetica Neue', system-ui, sans-serif; }
body { background: radial-gradient(1200px 500px at 50% -150px, #1d1708 0%, var(--bg) 60%) no-repeat, var(--bg); }
a { color: var(--gold-hi); text-decoration: none; }
h1, h2 { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .4rem; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.05rem; color: var(--gold-hi); }
.muted { color: var(--muted); } .center { text-align: center; }
code, pre { background: #0d0d0e; border: 1px solid var(--line); border-radius: 8px; padding: .15rem .4rem; color: var(--gold-hi); }
pre { padding: .8rem 1rem; overflow: auto; color: var(--text); line-height: 1.5; }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; gap: 1.2rem; padding: .5rem 1.2rem; background: #000; border-bottom: 1px solid var(--gold-lo); position: sticky; top: 0; z-index: 10; }
.brand img { height: 46px; display: block; }
.topbar nav { display: flex; gap: .3rem; flex: 1; }
.topbar nav a { padding: .6rem 1rem; border-radius: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; }
.topbar nav a.active { color: #000; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); }
.whoami { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .85rem; }
.whoami small { display: block; color: var(--gold); text-transform: uppercase; letter-spacing: .1em; font-size: .65rem; }
.content { padding: 1rem 1.2rem 3rem; max-width: 1400px; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn, button.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 0; cursor: pointer;
    padding: .7rem 1.2rem; border-radius: 12px; font: inherit; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem;
    color: #000; background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 2px 0 var(--gold-lo); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.small { padding: .4rem .8rem; font-size: .72rem; border-radius: 9px; }
.btn.big { padding: 1rem 1.8rem; font-size: 1.05rem; min-height: 64px; }
.btn.ghost { background: transparent; color: var(--gold-hi); border: 1px solid var(--gold-lo); box-shadow: none; }
.btn.danger { background: var(--danger); color: #fff; box-shadow: 0 2px 0 #7e2a20; }
.btn.accent { background: linear-gradient(180deg, #67d19a, var(--ok)); box-shadow: 0 2px 0 #2c6b4a; }
.btn.solve { background: transparent; color: var(--ok); border: 2px solid var(--ok); box-shadow: none; }
.danger-text { color: #e8806f !important; border-color: #7e2a20 !important; }
.upload { cursor: pointer; }

/* ---------- forms / cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.card h2 { margin-bottom: .6rem; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .4rem 0 1rem; flex-wrap: wrap; }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.list .card { margin-bottom: .7rem; }
.list h2 { color: var(--text); margin: 0; }
input, select { background: #0c0c0d; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: .65rem .8rem; font: inherit; min-width: 0; }
input:focus, select:focus { outline: 2px solid var(--gold); outline-offset: 0; }
input.inline { min-width: 220px; } .grow { flex: 1; }
label { display: flex; flex-direction: column; gap: .3rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.lbl { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: .3rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.alert { background: #2a1c0a; border: 1px solid var(--gold-lo); color: var(--gold-hi); padding: .7rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.err { color: #e8806f; font-size: .8rem; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.table td, .table th { padding: .5rem .5rem; border-bottom: 1px solid var(--line); }
.audiofield { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.audiofield .fname { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audiofield audio { height: 34px; max-width: 220px; }
.step-card .row-field { display: flex; align-items: center; gap: 1rem; padding: .5rem 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.step-card .row-field .lbl { width: 110px; margin: 0; }
.step-card .help input.inline { min-width: 110px; width: 130px; }

/* ---------- login ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.login-card { width: min(420px, 100%); background: var(--card); border: 1px solid var(--gold-lo); border-radius: 20px; padding: 2rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 0 60px rgba(201,151,63,.12); }
.login-card img { mix-blend-mode: lighten; width: 100%; max-width: 300px; margin: 0 auto; display: block; }
.login-card h1 { text-align: center; font-size: 1.1rem; color: var(--gold-hi); }

/* ---------- picker ---------- */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.room-tile { position: relative; text-align: left; background: var(--card); color: var(--text); border: 2px solid var(--line); border-radius: 16px; padding: 1.4rem 1.2rem; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: .3rem; min-height: 110px; }
.room-tile strong { font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; }
.room-tile small { color: var(--muted); }
.room-tile.picked { border-color: var(--gold); background: linear-gradient(180deg, #221a09, var(--card)); }
.room-tile .badge { position: absolute; top: .7rem; right: .7rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #000; font-weight: 800; }
.actions { display: flex; justify-content: flex-end; }

/* ---------- run ---------- */
.roomtabs { display: flex; gap: .5rem; align-items: stretch; margin-bottom: 1rem; flex-wrap: wrap; }
.roomtab { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "n t" "n s"; column-gap: .7rem; align-items: center; text-align: left; background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: .5rem .9rem; font: inherit; cursor: pointer; min-width: 170px; }
.roomtab .n { grid-area: n; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #222; font-weight: 700; }
.roomtab .t { grid-area: t; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.roomtab .s { grid-area: s; color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.roomtab.active { border-color: var(--gold); background: #1c1608; }
.roomtab.active .n { background: var(--gold); color: #000; }
.roomtab.st-running .s { color: var(--ok); } .roomtab.st-gameover .s { color: var(--danger); } .roomtab.st-solved .s { color: var(--gold-hi); }
.spacer { flex: 1; }

.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.panel-head h1 { font-size: 1.8rem; }
.chip { display: inline-block; padding: .2rem .7rem; border-radius: 999px; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; border: 1px solid var(--line); color: var(--muted); }
.chip.st-running { color: #000; background: var(--ok); border-color: var(--ok); }
.chip.st-paused { color: #000; background: var(--gold); border-color: var(--gold); }
.chip.st-gameover { color: #fff; background: var(--danger); border-color: var(--danger); }
.chip.st-solved { color: #000; background: var(--gold-hi); border-color: var(--gold-hi); }
.clock { font-size: 5rem; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .04em; color: var(--gold-hi); text-shadow: 0 0 30px rgba(201,151,63,.35); }
.clock.st-idle { color: var(--muted); text-shadow: none; }
.clock.st-paused { color: var(--gold); animation: blink 1.2s steps(2) infinite; }
.clock.low { color: var(--danger); text-shadow: 0 0 30px rgba(210,80,63,.45); }
.clock.st-gameover { color: var(--danger); } .clock.st-solved { color: var(--ok); }
@keyframes blink { 50% { opacity: .35; } }
.bar { height: 8px; background: #1b1b1c; border-radius: 99px; overflow: hidden; margin: .8rem 0 1rem; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transition: width .5s linear; }
.controls { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }

.nowplaying { display: flex; align-items: center; gap: 1rem; background: #1c1608; border: 1px solid var(--gold-lo); border-radius: 12px; padding: .7rem 1rem; margin-bottom: 1rem; }
.nowplaying.muted-bar { background: var(--card); border-color: var(--line); color: var(--muted); }
.eq { display: inline-flex; gap: 3px; align-items: flex-end; height: 20px; }
.eq i { width: 4px; background: var(--gold-hi); animation: eq 1s ease-in-out infinite; height: 40%; }
.eq i:nth-child(2) { animation-delay: .2s; } .eq i:nth-child(3) { animation-delay: .4s; } .eq i:nth-child(4) { animation-delay: .6s; }
@keyframes eq { 50% { height: 100%; } }

.grid-wrap { overflow-x: auto; }
table.steps { width: 100%; border-collapse: separate; border-spacing: 8px; }
table.steps th { text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; padding: 0 .3rem; }
table.steps th.stepname { font-size: .95rem; color: var(--text); letter-spacing: .04em; min-width: 140px; vertical-align: middle; }
table.steps td { padding: 0; }
.pad { width: 100%; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    background: linear-gradient(180deg, #232324, #1a1a1b); color: var(--text); border: 1px solid #343436; border-radius: 12px; font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; cursor: pointer; padding: .4rem .6rem; }
.pad small { color: var(--muted); font-weight: 500; font-size: .68rem; text-transform: none; letter-spacing: 0; }
.pad:not(:disabled):active { transform: scale(.98); }
.pad:not(:disabled) { border-color: var(--gold-lo); }
.pad:disabled { opacity: .35; cursor: not-allowed; }
.pad.used { border-color: #2f4f3d; color: #9bd3b4; }
.pad.playing { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #000; border-color: var(--gold-hi); animation: pulse 1.4s ease-in-out infinite; }
.pad.playing small { color: #3b2b0c; }
@keyframes pulse { 50% { box-shadow: 0 0 22px rgba(230,191,110,.6); } }

#blazor-error-ui { background: #3a1410; color: #fff; bottom: 0; display: none; left: 0; padding: .6rem 1.2rem; position: fixed; width: 100%; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }
.blazor-error-boundary { background: #3a1410; padding: 1rem; color: #fff; }

@media (max-width: 800px) { .clock { font-size: 3.2rem; } .topbar { flex-wrap: wrap; } }

/* ---------- volume ---------- */
.volume { display: flex; align-items: center; gap: .8rem; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: .5rem 1rem; margin-bottom: 1rem; }
.volume .vicon { font-size: 1.3rem; }
.volume .vval { min-width: 3.2rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--gold-hi); font-weight: 700; }
.volume .btn.small { min-width: 44px; min-height: 44px; font-size: 1.1rem; }
.volume input[type=range] { flex: 1; padding: 0; height: 44px; accent-color: var(--gold); background: transparent; border: 0; }

/* ---------- modalità demo: cornice display 10" ---------- */
body.demo { overflow: hidden; height: 100vh; display: flex; flex-direction: column; align-items: center; background: #050505; }
.demo-bar { width: 100%; display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; align-items: center; justify-content: center; padding: .6rem 1rem; background: #0b0b0c; border-bottom: 1px solid var(--line); font-size: .78rem; color: var(--muted); z-index: 5; }
.demo-bar b { color: var(--gold-hi); letter-spacing: .1em; text-transform: uppercase; }
.demo-bar .note { opacity: .7; }
.demo-bar .seg { display: inline-flex; border: 1px solid var(--gold-lo); border-radius: 8px; overflow: hidden; margin-left: .3rem; }
.demo-bar .seg button { background: transparent; color: var(--gold-hi); border: 0; padding: .35rem .7rem; font: inherit; cursor: pointer; }
.demo-bar .seg button.on { background: var(--gold); color: #000; font-weight: 700; }
#stage { flex: 1; width: 100%; display: grid; place-items: center; overflow: hidden; }
.devwrap { display: flex; flex-direction: column; align-items: center; }
#device { width: 1336px; height: 856px; flex: none; transform-origin: center center; background: linear-gradient(145deg, #2a2a2c, #0e0e0f); border-radius: 34px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.8), inset 0 0 0 2px #3a3a3d; position: relative; }
#device::after { content: ""; position: absolute; left: 50%; top: 10px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #1b1b1d; box-shadow: inset 0 0 2px #444; }
#screen { width: 1280px; height: 800px; overflow-y: auto; overflow-x: hidden; background: var(--bg); border-radius: 6px; position: relative; scrollbar-width: thin; scrollbar-color: var(--gold-lo) transparent; }
body.demo .login-wrap { min-height: 800px; }
.caption { color: #555; font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; padding: .4rem; text-align: center; }

/* =========================================================
   VERTICALE (display ruotato): classe .portrait su <html>
   ========================================================= */
.portrait #device { width: 856px; height: 1336px; }
.portrait #screen { width: 800px; height: 1280px; }
.portrait body.demo .login-wrap { min-height: 1280px; }

.portrait .topbar { gap: .6rem; padding: .4rem .8rem; flex-wrap: wrap; }
.portrait .brand img { height: 38px; }
.portrait .topbar nav { order: 3; flex-basis: 100%; overflow-x: auto; padding-bottom: .2rem; }
.portrait .topbar nav a { padding: .5rem .8rem; white-space: nowrap; }
.portrait .whoami { margin-left: auto; }
.portrait .content { padding: .8rem .8rem 2.5rem; }

/* schede stanza in una riga scorrevole */
.portrait .roomtabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; }
.portrait .roomtab { min-width: 150px; flex: none; }
.portrait .roomtabs .spacer { display: none; }
.portrait .roomtabs > .btn { flex: none; margin-left: auto; }

/* pannello: timer in evidenza, pulsanti larghi */
.portrait .panel-head { flex-direction: column; align-items: flex-start; gap: .2rem; }
.portrait .panel-head h1 { font-size: 1.5rem; }
.portrait .clock { font-size: 6.5rem; align-self: center; width: 100%; text-align: center; margin: .3rem 0; }
.portrait .controls .btn { flex: 1 1 30%; min-width: 0; padding: .9rem .6rem; }

/* griglia step: ogni step diventa una card con i pulsanti affiancati */
.portrait .grid-wrap { overflow: visible; }
.portrait table.steps, .portrait table.steps tbody, .portrait table.steps tr, .portrait table.steps td, .portrait table.steps th { display: block; }
.portrait table.steps { border-spacing: 0; }
.portrait table.steps thead { display: none; }
.portrait table.steps tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: .8rem; margin-bottom: .8rem; }
.portrait table.steps th.stepname { grid-column: 1 / -1; min-width: 0; font-size: 1.05rem; padding: 0 0 .2rem; color: var(--gold-hi); }
.portrait table.steps td:not(:has(button)) { display: none; }
.portrait .pad { min-height: 74px; }

/* pagine di impostazione */
.portrait .form-grid { grid-template-columns: 1fr; }
.portrait .step-card .row-field .lbl { width: 100%; }
.portrait .audiofield .fname { max-width: 100%; }
.portrait .page-head { flex-direction: column; align-items: stretch; }
.portrait .list .card.row-between { flex-direction: column; align-items: stretch; }
.portrait .table { display: block; overflow-x: auto; }
.portrait .room-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* =========================================================
   COMPATTAZIONE VERTICALE: timer + comandi sulla stessa riga
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.content { padding-top: .6rem; }
.roomtabs { margin-bottom: .6rem; }
.roomtab { padding: .3rem .8rem; }
.runrow { display: flex; align-items: center; gap: 1rem; }
.clockbox { display: flex; align-items: center; gap: .8rem; flex: none; }
.clockbox .clock { font-size: 4.2rem; }
.runrow .controls { margin: 0; flex: 1; justify-content: flex-end; flex-wrap: nowrap; }
.runrow .controls .btn.big { min-height: 56px; padding: .6rem 1rem; font-size: .95rem; }
.bar { margin: .5rem 0 .6rem; height: 6px; }
.statusrow { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .6rem; }
.statusrow:has(> :only-child) { grid-template-columns: 1fr; }
.statusrow .volume, .statusrow .nowplaying { margin: 0; padding: .25rem .8rem; min-height: 52px; }
.volume .btn.small { min-width: 40px; min-height: 40px; }
table.steps { border-spacing: 6px; }
.pad { min-height: 60px; }

.portrait .runrow { flex-direction: column; align-items: stretch; gap: .4rem; }
.portrait .clockbox { justify-content: center; }
.portrait .clockbox .clock { font-size: 4.6rem; width: auto; margin: 0; }
.portrait .runrow .controls { justify-content: stretch; }
.portrait .runrow .controls .btn { flex: 1 1 0; }
.portrait .statusrow { grid-template-columns: 1fr; gap: .5rem; }
.portrait table.steps tr { padding: .6rem; margin-bottom: .6rem; gap: 6px; }
.portrait .pad { min-height: 62px; }

/* =========================================================
   FOOTER FISSO: Risolto / Game over / tempo aggiuntivo
   ========================================================= */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.demo .app-shell { min-height: 800px; }
.portrait body.demo .app-shell { min-height: 1280px; }
.app-shell > .content { flex: 1; display: flex; flex-direction: column; width: 100%; }
.app-shell > .content > .panel { flex: 1; display: flex; flex-direction: column; }
.panel .runfooter { margin-top: auto; position: sticky; bottom: 0; z-index: 6; display: flex; gap: .8rem; align-items: center; justify-content: flex-end; flex-wrap: wrap;
    padding: .7rem 1.2rem; margin-left: -1.2rem; margin-right: -1.2rem; margin-bottom: -3rem;
    background: linear-gradient(180deg, rgba(7,7,7,.0), #070707 18%); border-top: 1px solid var(--gold-lo); }
.runfooter .btn.big { min-width: 200px; }
.runfooter .extra { display: flex; align-items: center; gap: .6rem; margin-right: auto; color: var(--gold-hi); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.btn.gameover { background: transparent; color: var(--danger); border: 2px solid #5a2a24; box-shadow: none; }
.btn.gameover:disabled { opacity: .35; }
.btn.gameover.ready { background: var(--danger); color: #fff; border-color: var(--danger); animation: pulse-red 1.4s ease-in-out infinite; }
@keyframes pulse-red { 50% { box-shadow: 0 0 22px rgba(210,80,63,.7); } }
.clock.st-timeup { color: var(--danger); animation: blink 1s steps(2) infinite; text-shadow: 0 0 30px rgba(210,80,63,.5); }
.chip.st-timeup { background: var(--danger); color: #fff; border-color: var(--danger); }
.roomtab.st-timeup .s { color: var(--danger); }
.portrait .runfooter { margin-left: -.8rem; margin-right: -.8rem; margin-bottom: -2.5rem; padding: .7rem .8rem; }
.portrait .runfooter .btn.big { flex: 1 1 0; min-width: 0; }
.portrait .runfooter .extra { flex-basis: 100%; justify-content: center; }

/* ---------- pulsante Parla (microfono operatore) ---------- */
.talk { display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: .5rem 1.1rem; border-radius: 14px; border: 2px solid var(--gold-lo); background: #141414; color: var(--gold-hi);
    font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; cursor: pointer;
    touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.talk .mic { font-size: 1.4rem; }
.talk.live { background: var(--danger); border-color: var(--danger); color: #fff; animation: pulse-red 1s ease-in-out infinite; }
.portrait .talk .tlabel { display: none; }
.portrait .talk.live .tlabel { display: inline; }

/* ---------- volume microfono ---------- */
.micvol { display: inline-flex; align-items: center; gap: .3rem; margin-left: .4rem; }
.micvol .btn.small { min-width: 40px; min-height: 40px; font-size: 1.1rem; }
.micvol .mv { min-width: 3.4rem; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gold-hi); display: inline-flex; flex-direction: column; line-height: 1.1; font-size: .85rem; }
.micvol .mv small { font-size: .55rem; letter-spacing: .12em; color: var(--muted); font-weight: 600; }

/* slider volume microfono */
.micvol { gap: .5rem; }
.micvol input[type=range] { width: 120px; height: 44px; padding: 0; border: 0; background: transparent; accent-color: var(--gold); touch-action: pan-y; }
.portrait .micvol input[type=range] { width: 90px; }

/* leggibilità pulsante Parla */
.talk .tlabel { color: inherit; font-size: .85rem; letter-spacing: .06em; }
.talk.live { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.55); border-color: #ffb3a8; }
.talk.live .tlabel { color: #fff; font-size: .95rem; font-weight: 800; }
