/* Modello A: Chiaro essenziale. I colori restano personalizzabili da REGIA. */
:root{--base:#fffcf7;--head:#142238;--sub:#526871;--ink:#172434;--accent:#00605b;--on-accent:#fff;--line:color-mix(in srgb,var(--ink) 18%,var(--base));--surface:color-mix(in srgb,var(--base) 94%,var(--accent))}
*{box-sizing:border-box}body.radio-body{margin:0;background:var(--base);color:var(--ink);font:17px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif}a,button,input{font:inherit}a{color:var(--accent)}button{cursor:pointer}a,button,summary,input{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}button:disabled{opacity:.55}.site{max-width:1200px;min-height:100vh;margin:auto}.bar{display:flex;align-items:center;gap:16px;padding:18px 5%;border-bottom:1px solid var(--line)}.site-name{margin-right:auto;color:var(--head);text-decoration:none;font-size:20px;font-weight:850;line-height:1.2;overflow-wrap:anywhere;min-width:0}.small-logo{display:flex;flex:none;color:var(--accent)}.mark{width:44px;height:44px;object-fit:contain;display:block}.bar details{position:relative;flex:none}.bar summary{list-style:none;cursor:pointer;width:44px;min-height:44px;text-align:center;font-size:30px;line-height:44px;border-radius:8px}.bar summary::-webkit-details-marker{display:none}.bar summary:hover{background:var(--surface)}.bar nav{position:absolute;right:0;top:calc(100% + 8px);min-width:220px;max-width:85vw;background:var(--base);border:1px solid var(--line);box-shadow:0 8px 24px #0002;padding:8px;border-radius:12px;z-index:10}.bar nav a{display:block;padding:12px;text-decoration:none;color:var(--ink);overflow-wrap:anywhere}.bar nav a:hover{background:var(--surface);border-radius:6px}.wrap{max-width:920px;margin:auto;padding:0 28px}.hero{text-align:center;padding:36px 0 16px}.bigbrand{display:flex;flex-direction:column;align-items:center;gap:12px;color:var(--accent)}.bigbrand .mark{width:112px;height:112px}.bigbrand b{color:var(--head);font-size:clamp(28px,4vw,42px);font-weight:850;line-height:1.15;overflow-wrap:anywhere;max-width:100%}.status{display:table;max-width:100%;margin:26px auto 18px;padding:12px 24px;background:var(--sub);color:var(--on-sub,#fff);border-radius:12px;font-size:clamp(32px,5vw,60px);line-height:1.12;font-weight:900;letter-spacing:-.035em;overflow-wrap:anywhere}.status.live{background:var(--accent);color:var(--on-accent)}.kicker{color:var(--sub);font-size:14px;font-weight:800;letter-spacing:.08em;margin:18px 0 6px}.title{color:var(--head);font:850 clamp(26px,3.8vw,42px)/1.2 system-ui,sans-serif;margin:8px 0 18px;overflow-wrap:anywhere}.action{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 25px;background:var(--accent);color:var(--on-accent);font-weight:750;border:0;border-radius:30px;text-decoration:none;gap:8px}.action:hover{filter:brightness(.92)}.notice{font-size:15px;line-height:1.5}.notice:empty{display:none}.archives{padding:20px 0 44px}.archives h2{color:var(--head);font-size:26px;line-height:1.2;font-weight:850;margin:0 0 18px}.row{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;margin:10px 0;color:var(--ink);text-decoration:none;background:var(--base)}.row:nth-of-type(even){background:var(--surface)}.row:hover{border-color:var(--accent)}.row .txt{min-width:0}.row strong{color:var(--head);display:block;font-size:18px;line-height:1.3;overflow-wrap:anywhere}.row small,.meta{color:var(--sub);font-size:14px;display:block;margin:6px 0}.arrow{color:var(--accent);font-size:14px;font-weight:750;white-space:nowrap}.cover{display:grid;place-items:center;background:var(--surface);color:var(--accent);overflow:hidden}.thumb{width:62px;height:62px;border-radius:9px;font-size:30px}.cover img{width:100%;height:100%;object-fit:cover}.episode{padding:36px 0;text-align:center}.episode-main{display:grid;grid-template-columns:190px minmax(0,1fr);gap:28px;align-items:center;text-align:left}.art{width:190px;height:190px;margin:auto;border-radius:16px;font-size:70px}.art img{object-fit:contain}.episode-info{min-width:0}.episode-info .title{margin-top:0}.desc{color:var(--ink);max-width:65ch;white-space:normal;overflow-wrap:anywhere;margin:16px auto;line-height:1.65}.track{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--surface);margin:18px 0;color:var(--ink)}.track button{flex:none;width:46px;height:46px;border:0;border-radius:50%;background:var(--accent);color:var(--on-accent);font-size:20px}.track input{min-width:0;width:100%;height:32px;accent-color:var(--accent)}.track small{white-space:nowrap;font-size:13px;font-variant-numeric:tabular-nums}.episode audio{width:100%;max-width:100%;margin:12px 0}.episode audio:not([controls]){display:none}.chat{margin:24px 0;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-align:left}.chat iframe{display:block;width:100%;height:540px;border:0;border-radius:8px}.chat summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--head);font-weight:800;list-style:none}.chat summary::-webkit-details-marker{display:none}.chat summary span{font-size:14px;font-weight:650;color:var(--accent)}.chat[open] summary{margin-bottom:12px}.back{display:inline-block;color:var(--accent);padding:12px 0;margin-top:10px}.foot{padding:24px;text-align:center;border-top:1px solid var(--line);font-size:14px;color:var(--sub)}.info{text-align:center;padding:50px 28px}.info h1{font-size:38px;color:var(--head);line-height:1.2}.info p{max-width:65ch;margin:18px auto;overflow-wrap:anywhere}.regiah-views{color:var(--sub)}
@media(max-width:600px){body.radio-body{font-size:16px}.bar{padding:14px 16px;gap:10px}.site-name{font-size:17px}.mark{width:38px;height:38px}.wrap{padding:0 18px}.hero{padding-top:28px}.bigbrand .mark{width:96px;height:96px}.status{width:100%;padding:14px 8px;font-size:clamp(30px,9vw,48px)}.title{font-size:30px}.action{width:100%;padding:13px 16px}.archives h2{text-align:center;font-size:25px}.row{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:12px}.row .arrow{grid-column:2;white-space:normal}.row strong{font-size:17px}.row small{font-size:13px}.episode-main{grid-template-columns:minmax(0,1fr);gap:20px;text-align:center}.art{width:180px;height:180px}.episode{padding-top:28px}.track{gap:10px;padding:10px}.track small{font-size:12px}.chat{padding:10px;margin-top:24px}.chat summary{flex-wrap:wrap}.info{padding:30px 18px}.info h1{font-size:32px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.live-cover{margin:22px auto 18px;width:min(280px,75%)}.live-cover img{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;border-radius:18px;box-shadow:0 8px 28px #14223818}

/* Shared vector symbols keep the reference shapes identical across platforms. */
.rh-icon{display:inline-block;width:1.25em;height:1.25em;flex:none;vertical-align:middle}
.tagline{display:block;color:var(--ink);font-size:18px;line-height:1.4;font-weight:500}.site-name .tagline{font-size:12px}.site-name strong{font-weight:850}
body.radio-body{font-family:Arial,"Segoe UI",sans-serif;line-height:1.45}
.bar{padding:12px 5%}.bar nav a{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:650}
.hero{padding:24px 0 8px}.bigbrand{gap:5px}.bigbrand .mark{width:100px;height:100px}
.bigbrand b{font-size:clamp(28px,3.6vw,38px);font-weight:850;letter-spacing:-.035em}
.status{font-size:clamp(30px,4.5vw,46px);padding:10px 26px;margin:22px auto 10px;letter-spacing:-.025em}
.status.live .rh-icon{margin-right:18px;width:1.15em;height:1.15em;vertical-align:-.15em}
.title{font-family:inherit;font-size:clamp(27px,3.4vw,36px);letter-spacing:-.03em;font-weight:800;margin:8px 0 16px}
.action{min-height:48px;padding:8px 26px;font-size:20px;font-weight:750;gap:12px}
.play-disc{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--on-accent);color:var(--accent);flex:none}
.play-disc .rh-icon{width:25px;height:25px}
.last-program{border:1px solid var(--line);border-radius:14px;padding:18px 20px 20px;max-width:510px;margin:18px auto 0;background:color-mix(in srgb,var(--base) 97%,var(--ink))}
.kicker{margin:0 0 8px;font-size:17px;letter-spacing:0;color:var(--head)}
.archives{padding:14px 0 32px}.archives h2{font-size:27px;letter-spacing:-.03em;margin-bottom:12px}
.row{padding:8px 10px;gap:16px;grid-template-columns:82px minmax(0,1fr) auto;border-radius:0;margin:0;border-bottom:0;background:transparent}
.row:nth-of-type(even){background:transparent}.row:first-of-type{border-radius:12px 12px 0 0}.row:last-of-type{border-bottom:1px solid var(--line);border-radius:0 0 12px 12px}.row:only-of-type{border-radius:12px}
.thumb{width:82px;height:54px;border-radius:8px}.thumb>.rh-icon{width:70%;height:70%}
.row .txt{display:flex;align-items:center;justify-content:space-between;gap:14px}.row strong{font-weight:800;letter-spacing:-.02em}
.row small,.meta{display:flex;align-items:center;gap:20px;color:var(--ink);font-size:14px}.row small{flex:none}
.row small>span,.meta>span{display:inline-flex;align-items:center;gap:7px}.arrow{display:flex;align-items:center;gap:4px}.arrow>span{text-decoration:underline}
.meta{margin:8px 0 18px}.track{background:transparent;border-radius:15px;padding:10px;gap:12px}.track .mute{background:transparent;color:var(--ink);width:30px;height:40px;border-radius:5px}.track .mute[aria-pressed=true]{opacity:.5}
.track input[type=range]{appearance:none;background:transparent;border:0;padding:0;flex:1;box-shadow:none}.track input[type=range]::-webkit-slider-runnable-track{height:7px;border-radius:6px;background:color-mix(in srgb,var(--sub) 35%,var(--base))}.track input[type=range]::-webkit-slider-thumb{appearance:none;width:17px;height:17px;border-radius:50%;background:var(--accent);margin-top:-5px}.track input[type=range]::-moz-range-track{height:7px;border-radius:6px;background:color-mix(in srgb,var(--sub) 35%,var(--base))}.track input[type=range]::-moz-range-thumb{width:17px;height:17px;border:0;border-radius:50%;background:var(--accent)}
.chat{padding:0;background:transparent;overflow:hidden}.chat summary{padding:12px 15px}.chat summary .chat-label{color:var(--head);font-size:18px;font-weight:800;display:flex;align-items:center;gap:10px}.chat summary .chat-label .rh-icon{color:var(--sub)}
@media(max-width:850px){.row .txt{display:block}.row small{gap:12px}.row strong{font-size:17px}}
@media(max-width:600px){.bar{padding:12px 16px;gap:8px}.hero{padding-top:26px}.wrap{padding:0 18px}.status{font-size:clamp(29px,8vw,40px);padding:12px 8px;margin-top:22px}.status.live .rh-icon{margin-right:8px}.last-program{padding:16px;margin-top:18px}.last-program .title{font-size:28px}.action{font-size:18px;min-height:48px;padding:8px 12px}.archives h2{text-align:left;font-size:25px}.row,.row:first-of-type,.row:last-of-type,.row:only-of-type{grid-template-columns:74px minmax(0,1fr) 28px;border:1px solid var(--line);border-radius:13px;margin:9px 0;padding:9px;gap:12px}.thumb{width:74px;height:74px}.row small{display:grid;gap:4px;margin-bottom:0}.row .arrow{grid-column:auto;width:27px;height:27px;border-radius:50%;justify-content:center;background:var(--accent);color:var(--on-accent)}.row .arrow>span{display:none}.row .arrow .rh-icon{width:20px;height:20px}.episode-main{gap:18px}.episode .title{font-size:32px}.meta{justify-content:center;gap:24px}.art{width:184px;height:184px}.desc{text-align:left;font-size:16px;line-height:1.5}.track{gap:8px;padding:8px}.track button{width:40px;height:40px}.track .mute{width:24px}.track small{font-size:12px}.chat summary{gap:8px}.chat summary span{font-size:12px}.chat summary .chat-label{font-size:17px}}
/* Live home follows the current programme; offline retains the radio identity. */

.site[data-radio-page="home"]:has(.status.live) .hero .live-cover{margin:0 auto 18px}
.weekly-schedule{padding-top:24px;padding-bottom:32px}.weekly-schedule h2{font-size:26px;line-height:1.2;color:var(--head)}.schedule-zone{font-size:13px;color:var(--sub)}.schedule-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.schedule-day{border:1px solid var(--line);border-radius:12px;padding:14px}.schedule-day h3{margin:0 0 12px;color:var(--head);font-size:17px}.schedule-day>p{color:var(--sub);font-size:14px}.schedule-event{display:flex;align-items:center;gap:10px;margin:12px 0}.schedule-event img{width:52px;height:52px;object-fit:contain;border-radius:8px}.schedule-event div{min-width:0}.schedule-event strong{display:block;overflow-wrap:anywhere;font-size:16px;color:var(--head)}.schedule-event time{color:var(--accent);font-weight:700}@media(max-width:600px){.schedule-days{grid-template-columns:minmax(0,1fr)}.weekly-schedule h2{font-size:24px}}

.schedule-day:first-child{grid-column:1 / -1;background:color-mix(in srgb,var(--accent) 6%,var(--base))}.schedule-day:first-child h3{font-size:22px}
@media(max-width:600px){.schedule-days{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.schedule-day{padding:9px 6px}.schedule-day h3{font-size:14px}.schedule-day>p{font-size:12px;overflow-wrap:anywhere}.schedule-event{flex-direction:column;align-items:flex-start;gap:5px}.schedule-event strong{font-size:13px}.schedule-event time{font-size:14px}.schedule-day:first-child .schedule-event{flex-direction:row;gap:10px}.schedule-day:first-child .schedule-event strong{font-size:17px}}

.schedule-dropdown>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;font-size:26px;font-weight:800;color:var(--head);padding:12px 0}.schedule-dropdown>summary::-webkit-details-marker{display:none}.schedule-chevron{display:inline-block;transition:transform .15s;font-size:30px}.schedule-dropdown[open]>summary .schedule-chevron{transform:rotate(180deg)}.schedule-dropdown>summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}

.regia-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px;margin:24px 0}
.regia-gallery figure{margin:0;border:1px solid var(--sub);border-radius:14px;overflow:hidden;background:var(--base)}
.regia-gallery img{display:block;width:100%;height:260px;object-fit:contain;background:var(--base)}
.regia-gallery figcaption{padding:16px;font-size:1.2rem;font-weight:700;color:var(--head);overflow-wrap:anywhere}
@media(max-width:600px){.regia-gallery{grid-template-columns:1fr}.regia-gallery figcaption{text-align:center}}

/* 3.14: header, playback feedback and compact platform credit. */
@font-face{font-family:RegiaFutura;src:url("assets/futura-bold.otf") format("opentype");font-weight:700 900;font-display:swap}
:root{--title-font:RegiaFutura,Futura,"Century Gothic",Arial,sans-serif}
h1,h2,h3,.title,.site-name strong,.bigbrand b,.row strong,.schedule-dropdown>summary{font-family:var(--title-font);font-weight:700}
.radio-body .weekly-schedule>h2,.radio-body .weekly-schedule>.schedule-dropdown>summary{font-family:var(--title-font);font-weight:700}
.site-name{display:flex;flex:1;flex-wrap:wrap;align-items:center;gap:12px}.site-name[hidden]{display:none!important}.site-name .small-logo{max-width:100%}.site-name .small-logo{flex:0 0 auto}.site-name strong{min-width:0}
.rc-live-toggle{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;gap:12px}.status.live .rc-live-toggle .rh-icon{margin:0;flex:none}
.platform-credit{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 16px}.platform-credit img{display:block;width:180px;max-width:60vw;height:auto;border-radius:10px}.platform-credit span{font-size:13px}
.archive-more{display:flex;margin:20px auto 0}.archive-more[hidden]{display:none}.archive-notice:empty{display:none}
.audio-motion{display:flex;align-items:center;justify-content:center;gap:4px;height:28px;margin:10px auto;color:var(--accent)}.audio-motion i{display:block;width:5px;height:6px;border-radius:4px;background:currentColor;transform-origin:center;animation:regia-wave 950ms ease-in-out infinite alternate;animation-play-state:paused}.audio-motion i:nth-child(2n){animation-delay:-300ms}.audio-motion i:nth-child(3n){animation-delay:-650ms}.audio-motion i:nth-child(5n){animation-delay:-150ms}.audio-motion.is-playing i{animation-play-state:running}.audio-motion:not(.is-playing){opacity:.35}
@keyframes regia-wave{from{transform:scaleY(.5)}to{transform:scaleY(4)}}
@media(prefers-reduced-motion:reduce){.audio-motion i{animation:none}.audio-motion.is-playing i{height:16px}}
.track{flex-wrap:wrap}.track .play-label{width:auto;min-width:120px;max-width:100%;border-radius:22px;padding:8px 12px;height:auto;min-height:44px;display:flex;align-items:center;gap:6px;font-size:14px}.track .play-label .rh-icon{width:22px;flex:none}.track .audio-motion{flex-basis:100%;margin:0}.track input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(to right,var(--accent) var(--progress,0%),color-mix(in srgb,var(--sub) 35%,var(--base)) var(--progress,0%))}.track input[type=range]::-moz-range-progress{background:var(--accent);height:7px}
@media(max-width:600px){.track .play-label{flex-basis:100%;justify-content:center}.rc-live-toggle{gap:8px}}

/* Play/pause and moving bars share one stable, theme-coloured banner. */
.rc-play.player-banner,.track .player-banner{display:inline-flex;align-items:center;justify-content:center;width:320px;max-width:100%;min-width:0;min-height:60px;height:auto;padding:10px 20px;gap:18px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:18px;line-height:1.25}
.player-banner .play-disc{width:40px;height:40px;flex:0 0 40px}
.player-banner .play-disc .rh-icon{width:30px;height:30px}
.player-banner .player-label{min-width:0}
.player-banner .audio-motion{display:none;flex:1 1 0;min-width:0;max-width:220px;height:30px;margin:0;gap:clamp(3px,1vw,6px);color:var(--on-accent)}
.player-banner .audio-motion i{width:6px;flex:0 1 6px}
.player-banner.is-active .player-label{display:none}
.player-banner.is-active .audio-motion{display:flex}
.track .player-banner{width:280px;font-size:16px;flex:0 1 280px}
@media(max-width:600px){.rc-play.player-banner,.track .player-banner{padding:10px 16px;gap:14px}.track .player-banner{flex-basis:100%;width:100%}}

/* The account entry stays in the upper right on every radio page. */
.regia-comment .offline-note{color:#737373;font-size:11px;font-weight:400}
/* REGIA adjusts the radio logo only; programme artwork keeps its own dimensions. */
.bigbrand>.mark{width:calc(100px * var(--logo-scale,1));height:auto;aspect-ratio:1;max-width:100%;object-fit:contain}
.small-logo>.mark{width:calc(44px * var(--logo-scale,1));height:auto;aspect-ratio:1;max-width:100%;object-fit:contain}
@media(max-width:600px){.small-logo>.mark{width:calc(38px * var(--logo-scale,1));height:auto}}
.site-account{display:flex;flex:0 0 44px;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;color:var(--head);text-decoration:none}
.site-account:hover{background:var(--surface)}
.site[data-radio-page="home"]>.bar{justify-content:flex-end}
.profile-avatar{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:50%;background:var(--surface);color:var(--accent);overflow:hidden}
.profile-avatar .rh-icon,.profile-avatar svg{width:70%;height:70%}
.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.account-page{padding-top:32px;padding-bottom:32px;max-width:760px}
.account-page .title{margin-bottom:22px}
.account-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:20px 0}
.account-secondary{padding:10px 0}
.profile-form{display:grid;gap:18px;min-width:0}
.profile-form p{margin:0}
.profile-preview{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--base)}
.profile-preview .profile-avatar{width:72px;height:72px}
.profile-preview strong{font-size:25px;overflow-wrap:anywhere;min-width:0}
.profile-form fieldset{min-width:0;margin:0;padding:16px;border:1px solid var(--line);border-radius:12px}
.profile-form legend{font-weight:700;padding:0 6px;color:var(--head)}
.profile-check{display:flex;align-items:center;gap:10px;margin:8px 0}
.profile-check input{width:20px;height:20px;flex:none;accent-color:var(--accent)}
.profile-color-label{display:flex;align-items:center;gap:14px;margin-top:12px}
.profile-color-label input{width:64px;height:44px;padding:3px;cursor:pointer;border:1px solid var(--line);border-radius:8px;background:var(--base)}
.profile-color-label input:disabled{opacity:.45;cursor:default}
.profile-form input[type=file]{display:block;max-width:100%;width:100%;padding:12px 0;color:var(--ink);font:inherit}
.profile-form input[type=text]{display:block;width:100%;padding:12px;margin:8px 0;border:1px solid var(--line);border-radius:8px;background:var(--base);color:var(--ink);font:inherit}
#profile-random-color{padding:10px 14px;margin-top:10px;border:1px solid var(--accent);border-radius:8px;background:var(--base);color:var(--accent);font:inherit}
.profile-hint{font-size:14px;color:var(--sub);line-height:1.5}
.account-result{padding:14px 16px;border:1px solid var(--accent);border-radius:10px}
#profile-preview-status:empty{display:none}
@media(max-width:600px){.account-page{padding-top:24px}.profile-form fieldset{padding:12px}.profile-preview{padding:12px}.profile-preview strong{font-size:22px}}

.regia-comment .comment-time{color:#737373;font-size:11px;font-weight:400;white-space:nowrap}

/* Uniform outline navigation; enough room for labels without shrinking them. */
.bar nav{width:280px;max-width:calc(100vw - 32px)}
.bar nav a{font-family:var(--title-font);font-size:16px;font-weight:700;line-height:1.35;gap:12px;min-height:48px}
.bar nav a .rh-icon{width:24px;height:24px;flex:0 0 24px}
