:root{color-scheme:light;--ink:#29262e;--purple:#7354a7;--paper:#f5f1fa;--white:#fff; font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}main{width:min(100%,980px);margin:auto;padding:clamp(16px,4vw,48px)}header{text-align:center;margin-bottom:24px}.eyebrow{font-size:.72rem;text-transform:uppercase;letter-spacing:.15em;color:var(--purple);font-weight:700}h1{font-size:clamp(2.2rem,5vw,3.6rem);letter-spacing:-.04em;margin:.2em 0}h2{font-size:1.3rem}.subtitle{font-size:1.1rem;margin:0;color:#625969}.experience,.login{overflow:hidden;border-radius:14px;background:var(--white);box-shadow:0 10px 36px #39275312;border:1px solid #e4dceb}.stage{position:relative;background:#211c19;aspect-ratio:16/9;overflow:hidden}.stage img,.stage video{width:100%;height:100%;object-fit:cover;display:block}.stage video{object-fit:contain}#clock{position:absolute;top:12px;right:12px;background:#18151cbd;color:white;padding:6px 10px;border-radius:6px;font-variant-numeric:tabular-nums}.controls{text-align:center;padding:16px 20px 20px}#status{font-size:.9rem;color:#625969;margin:0 0 12px;overflow-wrap:anywhere}button{appearance:none;border:1px solid transparent;background:var(--purple);color:white;border-radius:8px;padding:12px 20px;min-height:44px;font:inherit;font-weight:650;cursor:pointer}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #a68ad1;outline-offset:3px}.secondary{background:white;color:var(--purple);border-color:#d6c8e8}.small,.disclosure,footer{font-size:.8rem;color:#625969;line-height:1.55}.small{margin:10px 0 0}#active{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}#audio{margin-top:8px}.disclosure{max-width:740px;margin:18px auto;text-align:center}.login{max-width:440px;margin:auto;padding:24px}.login form{display:grid;gap:12px}.login input{width:100%;padding:12px;border:1px solid #cbbddc;border-radius:7px;font:inherit}.logout{text-align:center}.textbutton{background:transparent;color:var(--purple);font-size:.8rem;text-decoration:underline}footer{margin:24px auto 0;text-align:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:center}a{color:var(--purple)}@media(max-width:600px){main{padding:16px}.stage{aspect-ratio:9/16}.stage img{object-position:center}.stage video{object-fit:cover;object-position:center}header{margin-bottom:16px}.controls{padding:16px}#start{width:100%}#active button{flex:1 1 130px}}


/* DHX video-first interface, v0.3 */
main{width:min(100%,1480px);padding:clamp(12px,3vw,40px)}
header{margin-bottom:20px}
.experience{position:relative;border:0;border-radius:14px;background:#211c19;box-shadow:0 10px 36px #39275318}
.stage{isolation:isolate;aspect-ratio:16/9;background:#211c19;position:relative}
.stage img,.stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.stage video{object-fit:contain}
.stage::after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:40%;background:linear-gradient(transparent,rgba(10,8,8,.52));pointer-events:none}
#clock{z-index:3;top:16px;left:16px;right:auto;background:rgba(255,255,255,.87);color:#26242a;padding:7px 12px;border-radius:7px;font-size:clamp(.75rem,1.5vw,.95rem);font-weight:550;backdrop-filter:blur(8px);box-shadow:0 2px 12px #0002;white-space:nowrap}
#clock::before{content:"Time remaining ";}
.controls{position:absolute;z-index:2;bottom:clamp(10px,2vw,24px);left:0;right:0;padding:0 12px;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none}
.controls>*{pointer-events:auto}
#status{max-width:min(100%,640px);margin:0;background:rgba(26,23,28,.82);color:#fff;border-radius:9px;padding:5px 10px;font-size:clamp(.72rem,1.3vw,.85rem);line-height:1.35;backdrop-filter:blur(6px);overflow-wrap:anywhere}
#initial{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;background:#ffffffed;backdrop-filter:blur(8px);padding:8px 12px;border-radius:14px;max-width:100%;box-shadow:0 4px 16px #0002}
#initial .small{margin:0;font-size:.78rem}
#start{width:auto;padding:11px 19px;min-height:44px;white-space:normal}
#active{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:14px;padding:5px 8px;border-radius:999px;background:#2321264d;backdrop-filter:blur(7px)}
#active button.round{position:relative;display:grid;place-items:center;width:52px;height:52px;min-height:52px;flex:0 0 52px;padding:0;border:0;border-radius:50%;font-size:0;line-height:0;box-shadow:0 2px 8px #0003;transition:background .15s ease,transform .15s ease}
#active button.round:active:not(:disabled){transform:scale(.94)}
#active button.round:focus-visible{outline:3px solid #fff;outline-offset:3px}
#mute{background:#fff;color:#29262e}
#mute[aria-pressed="true"]{background:#e9dff8}
#stop{background:#d94a52;color:white}
#stop:hover:not(:disabled){background:#be3943}
#active button.round::before{content:"";display:block;width:24px;height:24px;background-position:center;background-size:contain;background-repeat:no-repeat}
#audio{margin:0;background:#fff;color:#29262e;font-size:.85rem;padding:8px 14px}
.disclosure{margin:16px auto 8px;max-width:800px}
footer{margin-top:14px}
@media(max-width:600px){main{padding:12px}header{margin-bottom:14px}.stage{aspect-ratio:9/16;max-height:none}.stage video,.stage img{object-fit:cover;object-position:center}#clock{top:10px;left:10px;padding:6px 9px}.controls{bottom:12px;padding:0 10px;gap:7px}#initial{flex-direction:column;gap:5px;padding:8px 10px}#start{width:auto}#active button.round{width:48px;height:48px;min-height:48px;flex:0 0 48px}.experience{border-radius:12px}}
@media(prefers-reduced-motion:reduce){#active button.round{transition:none}}

#active #mute::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2329262e%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%229%22%20y%3D%222%22%20width%3D%226%22%20height%3D%2212%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M5%2010v2a7%207%200%200%200%2014%200v-2M12%2019v3m-4%200h8%22%2F%3E%3C%2Fsvg%3E")}

#active #mute[aria-pressed="true"]::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%237354a7%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%203%2018%2018M9%209v2a3%203%200%200%200%205%202.2M9%205a3%203%200%200%201%206%200v4m-10%201v2a7%207%200%200%200%2012%205m2-5v-2m-7%209v3m-4%200h8%22%2F%3E%3C%2Fsvg%3E")}

#active #stop::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%206%2012%2012M18%206%206%2018%22%2F%3E%3C%2Fsvg%3E")}

/* DHX 0.4 — three independent control groups */
:root{--control-size:48px;--control-gap:14px;--mode-color:#00b6dd}
.controls{bottom:clamp(12px,2vw,24px);padding:0 clamp(12px,2vw,24px);gap:8px}
#active{position:relative;width:100%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;padding:0;background:none;border-radius:0;backdrop-filter:none;pointer-events:none}
#active>*{pointer-events:auto}
#active button.round{width:var(--control-size);height:var(--control-size);min-height:var(--control-size);flex:0 0 var(--control-size);box-shadow:0 2px 6px #0003}
#active .round svg,.mode-switch svg{display:block;width:23px;height:23px;flex:none;margin:auto}
#active .transcript-button{justify-self:start;background:#fff;color:#29262e}
#active #transcript-toggle::before{display:none}
#active .transcript-button[aria-expanded=true]{background:#e9dff8}
.call-centre{display:flex;align-items:center;justify-content:center;gap:var(--control-gap)}
.mic-group{display:flex;align-items:center;border-radius:999px;background:#ffffff40;backdrop-filter:blur(8px)}
.activity{display:flex;align-items:center;justify-content:center;gap:3px;width:var(--control-size);height:var(--control-size);padding-left:2px}
.activity i{display:block;width:3px;height:3px;background:#fff;border-radius:3px}
.activity[data-speaking=true] i{animation:dhx-wave .7s ease-in-out infinite alternate}
.activity[data-speaking=true] i:nth-child(2){animation-delay:-.27s;--wave-height:19px}
.activity[data-speaking=true] i:nth-child(3){animation-delay:-.48s;--wave-height:10px}
@keyframes dhx-wave{from{height:4px}to{height:var(--wave-height,13px)}}
.mode-switch{justify-self:end;display:flex;gap:4px;align-items:center;background:white;border-radius:12px;padding:4px;box-shadow:0 2px 8px #0002}
.mode-switch button{display:grid;place-items:center;width:var(--control-size);height:var(--control-size);min-height:var(--control-size);padding:0;border:0;border-radius:8px;color:#29262e;background:transparent}
.mode-switch button[aria-pressed=true]{background:var(--mode-color);color:white;box-shadow:inset 0 0 0 1px #0001}
#status[data-quiet=true]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.chat-panel{position:absolute;z-index:5;top:62px;right:clamp(12px,2vw,24px);bottom:86px;width:min(360px,calc(100% - 24px));background:#fffffff5;border-radius:12px;box-shadow:0 6px 22px #0004;display:flex;flex-direction:column;overflow:hidden;backdrop-filter:blur(10px);text-align:left}
.chat-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #ddd;gap:8px;font-size:.88rem}
#chat-close{color:#29262e;background:transparent;border:0;padding:0;width:36px;height:36px;min-height:36px;font-size:24px;line-height:1}
#chat-log{min-height:0;flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:9px;overscroll-behavior:contain}
.chat-message{margin:0;padding:8px 10px;border-radius:9px;background:#eeebf2;font-size:.85rem;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start;max-width:94%}
.chat-message[data-role=user]{background:#e0f5fa;align-self:flex-end}
.chat-message strong{display:block;font-size:.7rem;margin-bottom:4px;color:#625969}
.empty-log,.chat-notice{font-size:.78rem;color:#625969;margin:0}
#chat-form{display:flex;gap:6px;padding:8px;border-top:1px solid #ddd}
#chat-input{flex:1;min-width:0;border:1px solid #cbbddc;border-radius:8px;padding:8px;font:inherit;font-size:16px}
#chat-send{padding:8px 12px;min-height:44px;font-size:.85rem}
.chat-notice{padding:8px 12px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:600px){:root{--control-size:44px;--control-gap:7px}.controls{padding:0 10px;bottom:12px}#active{gap:4px}.mode-switch{gap:2px;padding:3px;border-radius:10px}.mode-switch button{width:40px;height:44px;min-height:44px}.activity{width:30px}#active .round svg,.mode-switch svg{width:21px;height:21px}.chat-panel{top:52px;bottom:75px;right:10px;width:calc(100% - 20px)}}
@media(max-width:350px){:root{--control-size:42px;--control-gap:5px}.controls{padding:0 7px}.activity{width:24px}.mode-switch button{width:36px}.mode-switch{padding:2px;gap:0}#active{gap:2px}}
@media(prefers-reduced-motion:reduce){.activity[data-speaking=true] i{animation:none;height:11px}}

/* DHX 0.5: independently anchored controls, one centreline, functional audio picker. */
:root{--control-size:44px;--control-gap:16px;--edge:clamp(12px,1.4vw,20px);--mode-color:#00b9e5}
.stage::after{height:23%;background:linear-gradient(transparent,rgba(10,8,8,.32))}
.controls{bottom:var(--edge);padding:0 var(--edge)}
#active{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:0;align-items:center;min-height:calc(var(--control-size) + 8px)}
#active .round,#active .mode-switch button,#active .activity{margin:0;box-sizing:border-box;line-height:1;align-self:center;justify-content:center;align-items:center}
#active button.round{display:grid;place-items:center;width:var(--control-size);height:var(--control-size);min-height:var(--control-size);flex:0 0 var(--control-size);padding:0;border:0;box-shadow:none}
#active .round::before,#active .round svg{width:22px;height:22px;margin:0;align-self:center;justify-self:center}
#active #stop{background:#df4955}
#active #mute{background:#fff}
#active #mute[aria-pressed=true]{background:#eee5f6}
.call-centre{gap:var(--control-gap);justify-self:center}
.mic-group{padding:0;gap:0;background:#ffffff40;box-shadow:none;flex:none}
#active button.activity{position:relative;display:grid;place-items:center;background:transparent;color:#fff;min-width:0;width:var(--control-size);height:var(--control-size);min-height:var(--control-size);padding:0;border:0;border-radius:50%;flex:0 0 var(--control-size);cursor:pointer}
.activity .wave{display:flex;align-items:center;justify-content:center;gap:3px;height:22px}
.activity .device-chevron{display:none;width:21px;height:21px}
.activity[aria-expanded=true] .wave,.activity:hover .wave{display:none}
.activity[aria-expanded=true] .device-chevron,.activity:hover .device-chevron{display:block}
.activity[data-speaking=true]:hover .wave{display:flex}
.activity[data-speaking=true]:hover .device-chevron{display:none}
.activity[aria-expanded=true][data-speaking=true] .wave{display:none}
.activity[aria-expanded=true][data-speaking=true] .device-chevron{display:block}
.activity[data-speaking=true] i{animation:dhx-wave .65s ease-in-out infinite alternate}
.activity[data-speaking=true] i:nth-child(1){--wave-height:12px;animation-delay:-.2s}
.activity[data-speaking=true] i:nth-child(2){--wave-height:19px;animation-delay:-.4s}
.activity[data-speaking=true] i:nth-child(3){--wave-height:15px;animation-delay:-.1s}
.mode-switch{gap:4px;padding:4px;border-radius:11px;box-shadow:none;justify-self:end}
#active .mode-switch button{display:grid;place-items:center;flex:none;width:var(--control-size);height:var(--control-size);min-height:var(--control-size);padding:0;border:0}
#active .mode-switch svg{width:22px;height:22px;margin:0}
.device-panel{position:absolute;z-index:6;left:50%;transform:translateX(-50%);bottom:calc(var(--edge) + var(--control-size) + 18px);width:min(430px,calc(100% - 2 * var(--edge)));max-height:min(380px,calc(100% - 125px));overflow:hidden;background:#fff;border-radius:14px;box-shadow:0 8px 32px #0005;color:#29262e;text-align:left;display:flex;flex-direction:column}
.device-scroll{overflow:auto;overscroll-behavior:contain;padding:5px;min-height:0}
.device-panel h2{margin:0;padding:12px 11px 8px;font-size:.82rem;font-weight:650;color:#7a808e}
#speaker-label{border-top:1px solid #e5e5e5;margin-top:5px}
.device-option{display:block;width:100%;min-height:40px;padding:10px 11px;background:#fff;color:#28282a;text-align:left;font-size:.92rem;font-weight:450;border:0;border-radius:8px;line-height:1.3;overflow-wrap:anywhere}
.device-option[aria-pressed=true]{background:#e6e6e6}
.device-option:hover:not(:disabled){background:#f0f0f0}
.device-help,#device-notice{font-size:.8rem;color:#625969;line-height:1.4;margin:0;padding:10px 11px}
@media(max-width:600px){:root{--control-size:42px;--control-gap:8px;--edge:10px}#active button.activity{width:32px;flex-basis:32px}#active .mode-switch button{width:38px}.mode-switch{padding:3px;gap:2px}#active .round::before,#active .round svg,#active .mode-switch svg{width:21px;height:21px}}
@media(max-width:350px){:root{--control-size:40px;--control-gap:6px;--edge:8px}#active button.activity{width:28px;flex-basis:28px}#active .mode-switch button{width:34px}.mode-switch{padding:2px;gap:0}}
@media(prefers-reduced-motion:reduce){.activity[data-speaking=true] i{animation:none;height:11px}}
/* Text labels remain accessible, but must never occupy a second grid row. */
#active #mute::before,#active #stop::before{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}

/* DHX 0.6: explicit hit targets; keep the speech indicator visible when hovered. */
.controls{z-index:4;pointer-events:none;}
#active{pointer-events:none;overflow:visible;}
#active .call-centre,#active .mic-group,#active button,#active .mode-switch{pointer-events:auto;}
#active .call-centre{position:relative;z-index:2;}
#active .mic-group{position:relative;isolation:isolate;backdrop-filter:none;background:rgba(255,255,255,.27);}
#active button#activity{position:relative;z-index:3;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;}
#activity *{pointer-events:none;}
#activity:not([aria-expanded=true]) .wave{display:flex;}
#activity:not([aria-expanded=true]) .device-chevron{display:none;}
#activity[aria-expanded=true] .wave{display:none;}
#activity[aria-expanded=true] .device-chevron{display:block;}
#activity[data-speaking=true] i{animation:dhx-wave .65s ease-in-out infinite alternate;}
.device-panel{z-index:9;pointer-events:auto;}
.chat-panel{z-index:8;}
@media(prefers-reduced-motion:reduce){#activity[data-speaking=true] i{animation:none;height:11px;}}

/* DHX 0.7 — separate transcript pane; the stage retains its aspect ratio. */
.experience{background:transparent;box-shadow:none;overflow:visible;border-radius:0;min-width:0;}
.stage{border-radius:14px;min-width:0;width:100%;box-shadow:0 10px 36px #39275318;}
.experience.chat-open{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:24px;align-items:stretch;}
.experience .chat-panel{position:relative;inset:auto;z-index:auto;width:100%;height:auto;min-height:0;min-width:0;contain:size;background:#fff;border:1px solid #e4e1e7;border-radius:12px;box-shadow:0 3px 12px #39275308;backdrop-filter:none;overflow:hidden;}
.chat-heading{flex:none;border:0;padding:18px 20px;gap:10px;font-size:1rem;}
#chat-close{display:grid;place-items:center;flex:none;width:32px;height:32px;min-height:32px;border-radius:8px;background:var(--mode-color);color:white;font-size:24px;padding:0;line-height:1;}
#chat-log{flex:1;min-height:0;padding:14px 20px 20px;gap:14px;}
#chat-log>:first-child{margin-top:auto;}
.chat-message{position:relative;flex:none;background:transparent;border-radius:0;font-size:.95rem;line-height:1.5;padding:0 0 0 30px;max-width:100%;}
.chat-message strong{font-size:.72rem;margin-bottom:3px;}
.chat-message[data-role=avatar]::before{content:'A';display:grid;place-items:center;position:absolute;left:0;top:2px;width:22px;height:22px;background:var(--mode-color);color:white;border-radius:50%;font-size:.8rem;font-weight:650;}
.chat-message[data-role=user]{background:#eef8fb;border-radius:9px;padding:8px 12px;max-width:92%;}
#chat-form{flex:none;margin:0 16px 16px;padding:6px;gap:8px;border:1px solid #e4e1e7;border-radius:10px;}
#chat-input{border:0;min-width:0;background:transparent;padding:8px;}
#chat-send{background:var(--mode-color);border-radius:8px;}
#active .transcript-button[aria-expanded=true]{background:var(--mode-color);color:white;}
@media(max-width:900px){.experience.chat-open{grid-template-columns:minmax(0,1fr);gap:14px;}.experience .chat-panel{contain:none;height:clamp(280px,45vh,460px);}.chat-heading{padding:12px 14px;}#chat-log{padding:10px 14px;}#chat-form{margin:0 12px 12px;}}

/* DHX 0.9.1 — independent, non-blocking network warning */
.connection-warning[hidden]{display:none!important}
.connection-warning{position:absolute;z-index:5;top:62px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 24px);padding:9px 13px;border-radius:9px;background:rgba(255,247,226,.96);color:#65400a;font-size:clamp(.72rem,1.3vw,.86rem);font-weight:550;line-height:1.35;box-shadow:0 2px 12px #0003;pointer-events:none;backdrop-filter:blur(6px);}
.connection-warning svg{width:19px;height:19px;flex:none;}
@media(max-width:600px){.connection-warning{top:51px;padding:8px 10px;gap:6px;}}

/* DHX 0.9.2 — neutral interruption button, equal diameter, independent of end call. */
#active #interrupt{background:#d8d8d8;color:#29262e;}
#active #interrupt::before{display:none;}
#active #interrupt:hover:not(:disabled){background:#eeeeee;}
#active #interrupt:disabled{opacity:.55;cursor:default;}
.stage{container-type:inline-size;}
@container (max-width: 340px){
  #active{grid-template-columns:1fr 1fr;row-gap:8px;}
  #active .transcript-button{grid-column:1;grid-row:1;}
  #active .mode-switch{grid-column:2;grid-row:1;}
  #active .call-centre{grid-column:1/-1;grid-row:2;}
  .device-panel{bottom:calc(var(--edge) + 2 * var(--control-size) + 28px);}
}

/* DHX 0.9.3 — transcript close icon: optical centring, consistent header alignment. */
.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;}
#chat-title{min-width:0;line-height:1.35;}
#chat-close{display:grid;place-items:center;box-sizing:border-box;flex:0 0 32px;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;margin:0;border:0;border-radius:8px;line-height:0;font-size:0;align-self:center;box-shadow:none;}
#chat-close svg{display:block;width:20px;height:20px;margin:0;pointer-events:none;flex:none;}
#chat-close:hover{filter:brightness(.94);}

/* DHX 0.9.4 — minimal start control, no outer capsule. */
#initial {
  display:flex; align-items:center; justify-content:center;
  width:auto; max-width:100%; gap:0; padding:0;
  background:transparent; border:0; border-radius:0; box-shadow:none;
  backdrop-filter:none; -webkit-backdrop-filter:none;
}
#start {
  display:inline-flex; align-items:center; justify-content:center;
  width:auto; max-width:100%; min-height:48px;
  padding:14px 24px; border:0; border-radius:10px;
  background:var(--purple); color:#fff;
  font-size:1rem; font-weight:700; line-height:1.25;
  text-align:center; box-shadow:0 3px 12px rgba(0,0,0,.15);
  transition:background .18s ease, box-shadow .18s ease;
}
#start:hover:not(:disabled){background:#644690;}
#start:active:not(:disabled){background:#593c83;}
@media(max-width:600px){#start{min-height:44px;padding:12px 20px;font-size:.95rem;}}
@media(prefers-reduced-motion:reduce){#start{transition:none;}}

/* 0.9.5: keep the existing poster visible until playback starts. */
.stage.startup-pending #poster{z-index:2;pointer-events:none;}
.technical-diagnostics{max-width:880px;margin:20px auto;padding:18px;background:#fff;border:1px solid #e4dceb;border-radius:12px;text-align:left;}
.technical-diagnostics h2{margin:0 0 8px;font-size:1.1rem;}
.technical-diagnostics p{font-size:.85rem;color:#625969;}
.technical-diagnostics textarea{display:block;width:100%;resize:vertical;font:12px/1.5 monospace;padding:10px;border:1px solid #d6c8e8;border-radius:6px;margin-bottom:10px;}
