/* Bozo's Theme v5.0.0: first-party circus-radio design system.
 * All overrides are scoped; Legacy mode remains exactly as v4.9. */
body.bozos-v500-active{
  --bv5-ink:#080e20;--bv5-navy:#0c1830;--bv5-panel:#111e34;--bv5-red:#d32931;
  --bv5-gold:#f9be50;--bv5-line:rgba(242,182,75,.42);--bv5-soft:#b8c9dc;
  background-color:var(--bv5-ink)!important;
  background-image:radial-gradient(ellipse at 50% 0,rgba(42,83,157,.2),transparent 60%),linear-gradient(180deg,#091021,#0a1426 50%,#08111e);
}
body.bozos-v500-midnight{--bv5-red:#2577a0;--bv5-gold:#82d7f3;--bv5-line:rgba(119,218,244,.38)}
body.bozos-v500-chrome{--bv5-red:#596b81;--bv5-gold:#dce4ef;--bv5-line:rgba(220,231,242,.36)}
body.bozos-v500-compact{--bv5-gap:10px}body.bozos-v500-comfortable{--bv5-gap:16px}
body.bozos-v500-active .cm-site-header.cm-v150{
  background:linear-gradient(135deg,#0c1429 5%,#09101f 60%,#132644)!important;
  border-bottom:3px solid var(--bv5-red)!important;box-shadow:0 7px 30px rgba(0,0,0,.4)!important;
}
body.bozos-v500-active .cm-site-header.cm-v150 .cm-header-inner{max-width:1470px;gap:8px 16px}
body.bozos-v500-active .cm-site-header.cm-v150 .cm-custom-logo{
  object-fit:cover;border:2px solid var(--bv5-gold);border-radius:50%;background:#081324;
  box-shadow:0 0 0 3px rgba(222,52,40,.22),0 0 22px rgba(249,184,62,.22)
}
body.bozos-v500-active .cm-site-header.cm-v150 .cm-brand-title strong{font-weight:900;letter-spacing:-.035em}
body.bozos-v500-active .cm-site-header.cm-v150 .cm-brand-title small{letter-spacing:.085em}
body.bozos-v500-active .cm-v150-navigation a,body.bozos-v500-active .cm-v150-navigation summary{font-weight:750}
body.bozos-v500-active .cm-site-header .cm-nav-item:hover>a,body.bozos-v500-active .cm-site-header .cm-nav-item summary:hover{color:var(--bv5-gold)}
body.bozos-v500-active .cm-site-header .cm-menu-button{border-color:var(--bv5-gold)!important}
body.bozos-v500-active .cm-site-header .cm-theme-toggle{z-index:3}
body.bozos-v500-active :is(.cm-explore,.cm-heritage,.cm-latest,.cm-signoff){max-width:1370px}
body.bozos-v500-active :is(.cm-topic-card,.cm-post-card){border-color:var(--bv5-line);border-radius:18px}
body.bozos-v500-active .cm-heritage-mark{filter:drop-shadow(0 8px 18px rgba(0,0,0,.2))}
body.bozos-v500-active .bozos-v500-home{max-width:1480px;width:calc(100% - 28px);margin:15px auto 38px;padding:0;display:grid;gap:clamp(15px,2.1vw,28px);color:#f9f6ec}
body.bozos-v500-active .bozos-v500-home *{box-sizing:border-box}
.bozos-v500-home :is(h1,h2,h3,p){margin:0!important}
.bozos-v500-home a{color:inherit!important}
.bozos-v500-home a:hover{text-decoration:none}
.bozos-v500-home a:focus-visible{outline:3px solid #88e7ff;outline-offset:3px}
.bv5-hero{overflow:hidden;border:2px solid #b68443;border-radius:20px;background:#09132d;box-shadow:0 18px 50px rgba(0,0,0,.48),inset 0 0 0 2px rgba(251,191,82,.15)}
.bv5-hero-art{position:relative;aspect-ratio:2.5;background:#0c2352;overflow:hidden}
.bv5-hero-art:after{content:"";position:absolute;inset:auto 0 0;height:25%;background:linear-gradient(transparent,rgba(7,14,29,.6));pointer-events:none}
.bv5-hero-art picture,.bv5-hero-art img{display:block;width:100%;height:100%}
.bv5-hero-art img{object-fit:cover;object-position:center;filter:saturate(1.04)}
.bv5-hero-copy{padding:17px clamp(18px,3vw,38px) 22px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;border-top:3px solid #cf242b;background:linear-gradient(120deg,#0a1327,#182d4c)}
.bv5-kicker{font-size:.69rem!important;font-weight:900;letter-spacing:.13em;color:var(--bv5-gold)!important;text-transform:uppercase}
.bv5-live-dot{display:inline-block;vertical-align:middle;width:8px;height:8px;margin-right:8px;background:#ff6a59;border-radius:50%;box-shadow:0 0 0 4px rgba(255,81,76,.14)}
.bv5-hero-copy h1{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bv5-hero-copy>p:not(.bv5-kicker){font-weight:700;color:#e8eaf4;font-size:.95rem;max-width:560px}
.bv5-hero-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bv5-primary,.bv5-secondary{min-height:43px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 17px;border-radius:11px;text-decoration:none!important;font-weight:850;font-size:.87rem;line-height:1.3;border:1px solid rgba(255,207,117,.67);transition:transform .18s ease,box-shadow .18s ease}
.bv5-primary{background:linear-gradient(180deg,#f24c40,#ba1322);color:white!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.3)}
.bv5-secondary{background:#101d34;color:#ffe3ab!important}
.bv5-primary:hover,.bv5-secondary:hover{transform:translateY(-2px);box-shadow:0 7px 22px rgba(0,0,0,.24)}
/* Decorative radio console. Not an RF receiver or live instrument. */
.bv5-radio-section{border:1px solid var(--bv5-line);border-radius:21px;padding:clamp(13px,2vw,24px);background:linear-gradient(#12203a,#070f1d);box-shadow:0 12px 35px rgba(0,0,0,.28)}
.bv5-radio-top{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}
.bv5-radio-top h2,.bv5-section-heading h2{font-size:clamp(1.28rem,2.3vw,2rem);line-height:1.25;color:#fff!important;margin:.27em 0 0!important}
.bv5-radio-top h2 span,.bv5-section-heading h2 span{color:#f5c572}
.bv5-radio-top>p{font-size:.75rem;color:#a9b8cb!important}
.bv5-radio{position:relative;display:grid;grid-template-columns:1fr .9fr 1.4fr auto .45fr;align-items:center;gap:14px;padding:17px 20px;border:5px ridge #d8dee5;border-radius:21px;background:linear-gradient(140deg,#383d48 0,#b7c1c8 22%,#565d66 40%,#e1e2dd 51%,#4b505b 70%,#aeb4bf 93%,#272e39);box-shadow:inset 0 2px 3px #f5f3eb,inset 0 -3px 9px #171a24,0 6px 23px rgba(0,0,0,.53);min-height:160px}
.bv5-radio-name{color:#faf5ed!important;font-family:Georgia,serif;font-weight:850;font-size:clamp(.8rem,1.4vw,1.23rem);line-height:1.25;text-shadow:0 2px 2px #12141b;background:linear-gradient(#0b101b,#232b3a);border:2px solid #dad9cf;border-radius:6px;padding:12px;text-align:center}
.bv5-radio-name small{display:block;margin-top:7px;color:#edd29b;font:700 .64rem system-ui;letter-spacing:.08em}
.bv5-meter{background:radial-gradient(ellipse at 50% 100%,#ffc85d,#a55818 40%,#3c1e14 85%);border:3px solid #424040;border-radius:7px;height:105px;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:12px;box-shadow:inset 0 0 15px #1a0b0b;min-width:0}
.bv5-meter-label,.bv5-meter small{font-size:.7rem;color:#24170f!important;font-weight:900;text-align:center}
.bv5-meter-track{display:flex;align-items:end;justify-content:space-around;gap:3px;height:31px;border-bottom:2px solid #422615}
.bv5-meter-track span{flex:1;height:35%;background:#7f2b13;border-radius:2px 2px 0 0}
.bv5-meter-track span:nth-child(2){height:50%}.bv5-meter-track span:nth-child(3){height:65%}.bv5-meter-track span:nth-child(4){height:83%}.bv5-meter-track span:nth-child(5){height:95%}.bv5-meter-track span:nth-child(6){height:74%}.bv5-meter-track span:nth-child(7){height:40%}.bv5-meter-track span:nth-child(8){height:22%}
.bv5-digits{background:linear-gradient(180deg,#080a0b,#170c05);border:4px ridge #aeb1b1;border-radius:9px;min-width:0;text-align:center;padding:13px 10px;box-shadow:inset 0 0 26px #2b1402}
.bv5-digits small{display:block;font-size:clamp(.77rem,1.35vw,1rem);font-weight:800;letter-spacing:.1em;color:#ffbf54!important}
.bv5-digits strong{display:block;color:#ff9a0c!important;font-family:Consolas,'Courier New',monospace;font-weight:900;letter-spacing:.035em;font-size:clamp(1.2rem,3vw,2.7rem);text-shadow:0 0 10px #ff740d;white-space:nowrap}
.bv5-digits strong i{font-size:.48em;font-style:normal}
.bv5-knobs{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}
.bv5-knobs i,.bv5-radio-side i{display:block;aspect-ratio:1;width:40px;max-width:100%;border-radius:50%;border:4px ridge #e2dfd3;background:radial-gradient(circle at 28% 25%,#f4e7d0,#545860 45%,#161b22 62%,#c1ced3 74%,#4b525e 100%);box-shadow:0 2px 3px #171924}
.bv5-radio-side i{width:64px;border-width:6px}
/* Published WordPress links only; no dummy pages or fake station data. */
.bv5-links{border:1px solid var(--bv5-line);padding:clamp(15px,2vw,26px);border-radius:21px;background:linear-gradient(160deg,#101c33,#081325)}
.bv5-section-heading{margin-bottom:18px}
.bv5-link-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--bv5-gap,16px)}
.bv5-tile{display:flex;align-items:center;gap:12px;min-width:0;min-height:123px;border:1px solid rgba(253,195,84,.52);border-radius:14px;padding:14px 12px;text-decoration:none!important;background:linear-gradient(150deg,rgba(40,71,120,.37),rgba(7,19,35,.95));box-shadow:inset 0 1px 0 rgba(255,255,255,.075);transition:transform .2s ease,border-color .2s ease,background .2s ease}
.bv5-tile:hover{border-color:#fff0ac;transform:translateY(-3px);background:#1b3358}
.bv5-tile-emoji{font-size:clamp(1.4rem,2vw,2rem);line-height:1;flex:0 0 auto;filter:drop-shadow(0 1px 1px #000)}
.bv5-tile-body{display:flex;flex-direction:column;gap:3px;min-width:0}
.bv5-tile-body small{font-size:.64rem;letter-spacing:.12em;color:#f9ba54!important;font-weight:800}
.bv5-tile-body strong{font-size:clamp(.91rem,1.35vw,1.07rem);line-height:1.22;color:#fff!important;font-weight:900}
.bv5-tile-body>span{font-size:.77rem;color:#b9cce4!important;line-height:1.38}
.bv5-tile-arrow{margin-left:auto;color:#fcd27b!important;font-size:1.1rem}
.bv5-community{min-width:0}.bv5-community .cbrt-forum{max-width:none;margin:0}
.bv5-support{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:23px 27px;border:1px solid #edbf62;border-radius:19px;background:linear-gradient(110deg,#71101c,#1a1626 50%,#101c35);box-shadow:inset 0 1px 0 rgba(255,255,255,.17)}
.bv5-support>span{font-size:2.5rem;color:#ffdd83}
.bv5-support div{min-width:180px;flex:1}.bv5-support h2{font-size:clamp(1.12rem,2vw,1.6rem);color:#fff!important}.bv5-support p{font-size:.86rem;color:#f0d9be!important;margin-top:7px!important}
.bv5-support a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 20px;background:linear-gradient(#e94b38,#a3121b);border:1px solid #f8c26c;border-radius:10px;color:#fff!important;font-weight:850;text-decoration:none!important}
body.bozos-v500-active .cm160-station,body.bozos-v500-active .cm330-station{border-color:var(--bv5-line);box-shadow:0 12px 40px rgba(0,0,0,.2)}
body.bozos-v500-active .cm-topic-grid .cm-topic-card{box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
body.bozos-v500-active.bozos-v500-compact .bv5-link-grid{gap:9px}body.bozos-v500-active.bozos-v500-compact .bv5-tile{min-height:92px;padding:10px}
@media(min-width:1400px){body.bozos-v500-active .cm-site-header{padding-inline:25px}}
@media(max-width:1199px){.bv5-radio{grid-template-columns:1fr 1fr 1.5fr .6fr;gap:9px}.bv5-radio-name{display:none}.bv5-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){
 .bv5-hero-copy{align-items:start}.bv5-radio{grid-template-columns:1fr 1.35fr auto;min-height:130px}
 .bv5-radio .bv5-knobs{display:none}.bv5-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 body.bozos-v500-active .bozos-v500-home{width:calc(100% - 20px);margin-top:10px;margin-bottom:22px;gap:13px}
 .bv5-hero{border-radius:14px}.bv5-hero-art{aspect-ratio:auto;height:clamp(220px,58vw,300px)}
 .bv5-hero-art img{object-fit:cover;object-position:center 35%}
 .bv5-hero-copy{padding:14px 15px 16px;gap:8px}
 .bv5-hero-copy h1{position:static;width:auto;height:auto;margin:3px 0!important;clip:auto;overflow:visible;white-space:normal;font-size:clamp(1.45rem,7vw,2rem);font-weight:950;line-height:1.02;color:#ffc35d!important;letter-spacing:-.03em}
 .bv5-hero-copy h1 span{display:block;font-size:.76em;color:white}
 .bv5-hero-copy>p:not(.bv5-kicker){font-size:.83rem}
 .bv5-hero-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
 .bv5-primary,.bv5-secondary{padding:9px 8px;min-height:45px;font-size:.75rem;text-align:center}
 .bv5-radio-section{padding:12px;border-radius:14px}.bv5-radio-top{align-items:start}
 .bv5-radio-top h2{font-size:1.23rem}.bv5-radio-top>p{font-size:.7rem}
 .bv5-radio{grid-template-columns:.75fr 1.4fr;gap:8px;padding:10px;border-width:3px;min-height:110px;border-radius:14px}
 .bv5-radio .bv5-radio-side{display:none}.bv5-meter{height:84px;padding:5px;gap:4px;border-width:2px}.bv5-meter-track{height:24px}.bv5-meter-label,.bv5-meter small{font-size:.51rem}
 .bv5-digits{padding:9px 3px;border-width:2px}.bv5-digits strong{font-size:clamp(1.14rem,5.9vw,1.7rem)}.bv5-digits small{font-size:.73rem}
 .bv5-links{padding:13px;border-radius:14px}.bv5-section-heading h2{font-size:1.25rem}
 .bv5-link-grid{grid-template-columns:1fr;gap:8px}
 .bv5-tile{min-height:71px;padding:10px 13px;gap:12px;border-radius:10px}.bv5-tile-emoji{font-size:1.55rem}
 .bv5-tile-body{gap:1px}.bv5-tile-body small{font-size:.58rem}.bv5-tile-body strong{font-size:.95rem}.bv5-tile-body>span{font-size:.73rem}
 .bv5-support{border-radius:13px;padding:16px;gap:8px}.bv5-support>span{font-size:1.6rem}.bv5-support h2{font-size:1.07rem}.bv5-support a{width:100%}
 body.bozos-v500-active .cm-site-header.cm-v150{padding-inline:9px!important}
 body.bozos-v500-active .cm-site-header.cm-v150 .cm-header-inner{gap:5px}
 body.bozos-v500-active .cm-site-header.cm-v150 .cm-custom-logo{width:48px!important;height:48px!important}
}
@media(max-width:360px){.bv5-hero-actions{grid-template-columns:1fr}.bv5-hero-art{height:215px}.bv5-hero-copy h1{font-size:1.5rem}}
/* Light mode stays readable; the brand panels retain intentionally dark radio styling. */
html[data-cm-theme="light"] body.bozos-v500-active{--bv5-ink:#f4f6fa;--bv5-soft:#344b62;background:#eff3f9!important}
html[data-cm-theme="light"] body.bozos-v500-active .bozos-v500-home{color:#eff5ff}
html[data-cm-theme="light"] body.bozos-v500-active :is(.cm-explore,.cm-latest,.cm-heritage){color:var(--cm-text)}
body.bozos-v500-no-motion .bozos-v500-home *,body.bozos-v500-no-motion .bozos-v500-home *:before,body.bozos-v500-no-motion .bozos-v500-home *:after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.bozos-v500-home *, .bozos-v500-home *:before,.bozos-v500-home *:after{animation:none!important;transition:none!important}}
/* Self-contained brand typography. No remote font loading. */
body.bozos-v500-active .bozos-v500-home{font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif}
body.bozos-v500-active .bozos-v500-home :is(h1,h2,h3,.bv5-tile-body strong){font-family:'Trebuchet MS','Segoe UI',Arial,sans-serif}
body.bozos-v500-active .bozos-v500-home .bv5-digits strong{font-family:Consolas,'Courier New',monospace}
body.bozos-v500-active .bozos-v500-home .bv5-radio-name{font-family:Georgia,serif}
@keyframes bv5-station-glow{0%,100%{box-shadow:0 0 0 4px rgba(255,81,76,.14)}50%{box-shadow:0 0 0 7px rgba(255,81,76,.03)}}
body.bozos-v500-active:not(.bozos-v500-no-motion) .bv5-live-dot{animation:bv5-station-glow 2.6s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){body.bozos-v500-active .bv5-live-dot{animation:none!important}}
