.wd-shell{position:relative;max-width:1040px;margin:32px auto;padding:clamp(22px,5vw,54px);background:#fff;border:1px solid #e5e9ef;border-radius:18px;box-shadow:0 16px 48px rgba(22,37,58,.08);color:#172333;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.wd-header{display:flex;align-items:flex-start;gap:16px}.wd-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin:22px 0 10px}.wd-live-block{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex:0 0 auto}.wd-kicker{font-size:12px;letter-spacing:.13em;font-weight:750;color:#64758b}.wd-live{display:inline-flex;align-items:center;gap:8px;color:#c83e48;font-size:13px;font-weight:800}.wd-live i,.wd-dot{display:inline-block;width:9px;height:9px;background:#e44853;border-radius:50%;box-shadow:0 0 0 4px #fcebed}.wd-title{font-size:clamp(30px,5vw,46px);line-height:1.12;margin:0;color:#102a43}.wd-session{color:#62748a;margin:0 0 25px}.wd-attendance{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;margin:0;background:#fff5f5;border:1px solid #f4dadd;border-radius:999px;font-size:14px;color:#31445a}.wd-attendance small{color:#758397}.wd-status{font-weight:700;font-size:clamp(19px,3vw,25px);color:#183b56;margin:10px 0}.wd-wait-help{display:flex;align-items:flex-start;gap:12px;color:#183b56;font-size:16px;line-height:1.55;margin:0 0 26px;padding:16px 18px;background:#eef7fa;border:1px solid #c8e2e9;border-left:5px solid #176b87;border-radius:10px}.wd-wait-help[hidden]{display:none}.wd-wait-icon{flex:0 0 auto;font-size:21px;line-height:1.4}.wd-wait-help strong{color:#102a43}
.wd-countdown{font-variant-numeric:tabular-nums;font-size:clamp(28px,6vw,50px);font-weight:800;letter-spacing:.04em;color:#176b87;margin:8px 0 24px}.wd-player-wrap{position:relative;aspect-ratio:16/9;background:#071321;border-radius:12px;overflow:hidden}.wd-player,.wd-player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.wd-fullscreen{position:absolute;z-index:2;right:12px;bottom:12px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.45);border-radius:8px;background:rgba(9,20,32,.78);color:#fff;cursor:pointer}.wd-fullscreen:hover,.wd-fullscreen:focus-visible{background:rgba(9,20,32,.96);outline:2px solid #fff;outline-offset:2px}.wd-fullscreen svg{width:22px;height:22px}.wd-player-wrap:fullscreen,.wd-player-wrap:-webkit-full-screen{width:100vw;height:100vh;aspect-ratio:auto;border-radius:0}.wd-player-wrap:fullscreen .wd-player,.wd-player-wrap:-webkit-full-screen .wd-player{position:absolute;inset:0}.wd-start{margin:20px 0 0;padding:13px 20px;border:0;border-radius:8px;background:#176b87;color:#fff;font-size:16px;font-weight:700;cursor:pointer}.wd-start:hover{background:#10566e}.wd-help{color:#66778a;font-size:14px}.wd-ended{padding:22px;margin-top:20px;border-radius:10px;background:#f2f5f7;font-weight:700}.wd-notice{padding:18px;border:1px solid #e1e6ec;background:#f7f9fb;border-radius:8px}

/* Respect the HTML hidden state even when theme styles set display explicitly. */
.wd-shell [hidden]{display:none!important}
@media(max-width:640px){.wd-title-row{flex-direction:column;gap:12px;margin-top:16px}.wd-live-block{align-items:flex-start}.wd-title{font-size:clamp(29px,8vw,40px)}}
.wd-wait-music{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;margin:0 0 24px;padding:16px 18px;border:1px solid #d7e4e9;border-radius:12px;background:#f7fafb;color:#31445a}.wd-wait-music p{flex:1 1 100%;margin:0;font-size:15px;font-weight:650;color:#183b56}.wd-music-toggle{padding:10px 16px;border:0;border-radius:8px;background:#176b87;color:#fff;font:inherit;font-weight:700;cursor:pointer}.wd-music-toggle:hover,.wd-music-toggle:focus-visible{background:#10566e}.wd-music-toggle:focus-visible{outline:3px solid #8ac5d5;outline-offset:2px}.wd-music-message{font-size:14px;color:#52667a}
.wd-page-content{width:min(100%,1200px);margin:0 auto}.wd-brand{margin:0 auto clamp(14px,2.5vw,28px);text-align:center}.wd-brand img{display:block;width:min(403px,84vw);height:auto;margin:0 auto}.wd-page-content>.wd-shell{margin:0 auto}

/* iPhone Safari does not expose reliable fullscreen for a generic container.
   This viewport theater keeps the embedded player controls hidden. */
html.wd-theater-open,body.wd-theater-open{overflow:hidden!important;overscroll-behavior:none}
.wd-shell.wd-mobile-theater{position:fixed!important;inset:0!important;z-index:2147483646!important;width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#000!important;box-shadow:none!important}
.wd-shell.wd-mobile-theater>*:not(.wd-player-wrap){display:none!important}
.wd-shell.wd-mobile-theater .wd-player-wrap{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;border-radius:0!important;background:#000!important}
.wd-shell.wd-mobile-theater .wd-player{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
.wd-shell.wd-mobile-theater .wd-fullscreen{display:grid!important;z-index:4}
.wd-rotate-hint{display:flex;align-items:center;gap:9px;width:fit-content;margin:13px 0 0;padding:10px 13px;border-radius:9px;background:#fff8e7;border:1px solid #efd99a;color:#5d4a14;font-size:14px;font-weight:650}.wd-rotate-hint span{font-size:22px;line-height:1}
.wd-status>span{display:block}.wd-audio-retry{margin-top:5px;color:#c83e48}

/* Atelier 0.3.33 — presentation only; 0.3.30 player logic is unchanged. */
.wd-page-content{--wd-ink:#142e3b;--wd-muted:#5b707b;--wd-teal:#17636c;--wd-gold:#bc9659;--wd-red:#b93642;--wd-line:#dde5e6;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.wd-page-content *,.wd-page-content *::before,.wd-page-content *::after{box-sizing:border-box}
.wd-brand{position:relative;width:fit-content;max-width:100%;margin:0 auto 32px;padding:19px 30px;text-align:center}
.wd-brand::after{content:"";position:absolute;bottom:0;left:calc(50% - 24px);width:48px;height:2px;background:var(--wd-gold)}
.wd-brand img{width:min(403px,72vw);height:auto}
.wd-shell{max-width:1120px;margin:0 auto;padding:clamp(24px,4.6vw,54px);border:1px solid rgba(255,255,255,.95);border-radius:24px;background:#fff;box-shadow:0 28px 80px -32px rgba(19,45,58,.28),0 2px 8px rgba(19,45,58,.03);color:var(--wd-ink);font-family:inherit;overflow:visible}
.wd-shell::before{content:"";position:absolute;top:0;left:40px;right:40px;height:3px;background:linear-gradient(90deg,var(--wd-teal),#568c8d 60%,var(--wd-gold));border-radius:0 0 3px 3px}
.wd-title-row{align-items:center;gap:28px;margin:0 0 18px}
.wd-title{flex:1;min-width:0;margin:0;color:var(--wd-ink);font-size:clamp(30px,4vw,43px);font-weight:650;line-height:1.15;letter-spacing:-.04em;overflow-wrap:anywhere}
.wd-live-block{gap:10px}
.wd-live{color:var(--wd-red);font-size:11px;line-height:1.5;letter-spacing:.065em}
.wd-live i,.wd-dot{flex:0 0 auto;width:7px;height:7px;background:#d14954;box-shadow:0 0 0 4px #f8e8ea}
.wd-attendance{justify-content:center;gap:9px;padding:10px 15px;border:1px solid #e3e9e9;border-radius:9px;background:#f7f9f9;color:#415761;font-size:13px;line-height:1.4;white-space:nowrap}
.wd-attendance strong{font-size:17px;font-variant-numeric:tabular-nums;color:var(--wd-ink)}
.wd-attendance .wd-dot{width:6px;height:6px;background:var(--wd-teal);box-shadow:0 0 0 4px #e5efee;margin-right:3px}
.wd-session{margin:0 0 26px;padding-bottom:26px;border-bottom:1px solid var(--wd-line);color:var(--wd-muted);font-size:14px;line-height:1.7}
.wd-status{margin:0 0 20px;color:var(--wd-ink);font-size:clamp(18px,2.1vw,22px);font-weight:550;line-height:1.6;letter-spacing:-.015em}
.wd-status:empty,.wd-countdown:empty{display:none}
.wd-status .wd-audio-retry{margin-top:6px;color:var(--wd-red);font-weight:750}
.wd-countdown{position:relative;margin:0 0 26px;padding:25px 30px;border:1px solid #285160;border-radius:15px;color:#fff;background:radial-gradient(ellipse at 100% 0,#255b63,transparent 72%),#132f3d;box-shadow:0 12px 24px -15px #163b49;font-size:clamp(40px,7vw,72px);font-weight:500;letter-spacing:.055em;line-height:1.35}
.wd-countdown::after{content:"ORE  /  MINUTI  /  SECONDI";display:block;margin-top:5px;color:#c4d5d9;font-size:9px;font-weight:650;letter-spacing:.23em;line-height:1.8}
.wd-wait-help{gap:14px;margin:0 0 20px;padding:20px 22px;border:1px solid #ded9cd;border-left:3px solid var(--wd-gold);border-radius:12px;background:#faf8f3;color:#465963;font-size:14px;line-height:1.8}
.wd-wait-help strong{color:var(--wd-ink);font-weight:700}
.wd-wait-help>span:last-child>strong:first-child{display:block;margin-bottom:4px;font-size:10px;letter-spacing:.13em;color:#75613f}
.wd-wait-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid #e2d7c4;background:#fff;border-radius:50%;font-size:17px}
.wd-wait-music{position:relative;gap:14px;padding:24px;margin:0 0 24px;border:1px solid #dbe5e5;border-radius:14px;background:linear-gradient(145deg,#f1f7f6,#fbfcfc);color:var(--wd-muted)}
.wd-wait-music::before{content:"♫";display:grid;place-items:center;width:44px;height:44px;border:1px solid #cddfdf;border-radius:12px;background:#e4efee;color:var(--wd-teal);font-size:25px}
.wd-wait-music p{color:var(--wd-ink);font-size:17px;font-weight:650;letter-spacing:-.02em;line-height:1.55}
.wd-shell button{font-family:inherit;-webkit-tap-highlight-color:transparent}
.wd-music-toggle{min-height:44px;padding:11px 16px;border:1px solid #a8c3c6;border-radius:8px;background:#fff;color:#15545e;font-size:13px;font-weight:750;transition:background .18s,border-color .18s}
.wd-music-toggle:hover{background:#e7f0ef;border-color:#648e93;color:#15545e}
.wd-music-toggle[aria-pressed="true"]{background:#17636c;border-color:#17636c;color:#fff}
.wd-music-message{flex:1 1 100%;font-size:12px;line-height:1.6;color:#526a73}
.wd-music-message:empty{display:none}
.wd-player-wrap{border-radius:14px;box-shadow:0 12px 28px -16px rgba(9,30,43,.4)}
.wd-fullscreen{border-color:rgba(255,255,255,.6);border-radius:9px;background:rgba(9,20,32,.88)}
.wd-start{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:54px;margin:24px 0 0;padding:16px 25px;border:1px solid #11515b;border-radius:9px;background:linear-gradient(120deg,#17636c,#124c59);box-shadow:0 7px 16px -8px rgba(18,76,89,.5);color:#fff;font-size:16px;font-weight:750;line-height:1.3;transition:background .18s,box-shadow .18s}
.wd-start::after{content:"→";font-size:20px;font-weight:400}
.wd-start:hover{background:#103e4b;color:#fff;box-shadow:0 8px 20px -8px rgba(18,76,89,.6)}
.wd-start:focus-visible,.wd-music-toggle:focus-visible{outline:3px solid #bc9659;outline-offset:4px}
.wd-help{margin:12px 0 0;color:var(--wd-muted);font-size:13px;line-height:1.7}
.wd-rotate-hint{gap:10px;margin:16px 0 0;padding:12px 15px;border:1px solid #e1d4bb;background:#faf7ee;color:#685632;font-size:13px;line-height:1.6;font-weight:600}
.wd-ended{margin-top:12px;padding:30px;border:1px solid #d7e4e2;border-radius:14px;background:linear-gradient(110deg,#eef5f3,#f9fbfa);color:#28514f;font-size:18px;line-height:1.6;font-weight:650}
.wd-ended::before{content:"✓";display:grid;place-items:center;width:40px;height:40px;margin-bottom:16px;border-radius:50%;background:#dbece6;color:#24634e;font-size:20px}
/* Countdown text identifies the waiting state without another state machine. */
@media(min-width:820px){
 .wd-shell:has(.wd-countdown:not(:empty)){display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);column-gap:34px}
 .wd-shell:has(.wd-countdown:not(:empty)) .wd-title-row,.wd-shell:has(.wd-countdown:not(:empty)) .wd-session{grid-column:1/-1}
 .wd-shell:has(.wd-countdown:not(:empty)) .wd-status{grid-column:1;grid-row:3;align-self:end}
 .wd-shell:has(.wd-countdown:not(:empty)) .wd-countdown{grid-column:1;grid-row:4;margin-bottom:0}
 .wd-shell:has(.wd-countdown:not(:empty)) .wd-wait-music{grid-column:2;grid-row:3/5;margin:0;align-content:center}
 .wd-shell:has(.wd-countdown:not(:empty)) .wd-wait-help{grid-column:1/-1;grid-row:5;margin:28px 0 0}
 .wd-shell:has(.wd-countdown:not(:empty)):has(.wd-wait-music[hidden]) .wd-status,.wd-shell:has(.wd-countdown:not(:empty)):has(.wd-wait-music[hidden]) .wd-countdown{grid-column:1/-1}
}
@media(max-width:819px){.wd-brand{margin-bottom:24px;padding:12px 8px 20px}.wd-shell{padding:28px;border-radius:18px}.wd-title-row{gap:18px}.wd-attendance{padding:9px 11px;font-size:12px}.wd-countdown{text-align:center}.wd-wait-music{margin-bottom:0}}
@media(max-width:580px){.wd-shell{padding:24px 18px;border-radius:16px}.wd-shell::before{left:24px;right:24px}.wd-title-row{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:17px}.wd-title{font-size:clamp(28px,7.5vw,36px)}.wd-live-block{align-items:flex-start;gap:9px}.wd-session{font-size:12px;padding-bottom:20px;margin-bottom:23px}.wd-status{font-size:17px;line-height:1.65}.wd-countdown{padding:23px 10px;font-size:clamp(34px,10vw,49px);letter-spacing:.02em;border-radius:12px}.wd-wait-help{gap:10px;padding:16px 13px;font-size:13px}.wd-wait-icon{width:27px;height:27px;font-size:15px}.wd-wait-music{padding:20px}.wd-wait-music p{font-size:16px}.wd-music-toggle{width:100%}.wd-start{width:100%;margin-top:20px;font-size:15px}.wd-player-wrap{border-radius:10px}.wd-help{text-align:center;font-size:12px}}
@media(prefers-reduced-motion:reduce){.wd-shell *,.wd-shell *::after{transition:none!important}}
.wd-shell [hidden]{display:none!important}
.wd-player-wrap:fullscreen,.wd-player-wrap:-webkit-full-screen{border-radius:0;box-shadow:none}
.wd-shell.wd-mobile-theater::before{display:none!important}
