:root {
  --radio-ink: #101820;
  --radio-panel: rgba(18, 31, 39, .34);
  --radio-gold: #969da1;
  --radio-accent: #53d79b;
  --radio-muted: #d5e0e3;
}
.world-radio { position:absolute; z-index:30; top:2px; left:2px; width:min(420px,100%); max-width:100%; height:92px; pointer-events:none; font-family:Inter,system-ui,sans-serif; }
.radio-antenna-button { position:absolute; z-index:4; top:39px; left:8px; display:block; width:18px; height:15px; padding:0; border:0; background:transparent; color:var(--radio-gold); cursor:pointer; pointer-events:auto; touch-action:manipulation; transform:translate(1px,-1px); }
.radio-antenna-button:focus-visible { outline:2px solid var(--radio-gold); outline-offset:2px; border-radius:5px; }
.radio-antenna-button::before { content:""; position:absolute; z-index:2; left:1px; bottom:1px; width:12px; height:9px; border:1px solid #747c80; border-radius:2px 2px 1px 1px; background:linear-gradient(90deg,#343b3e,#697175 45%,#363d40); box-shadow:0 1px 2px #1119,inset 0 1px #c2c8c9a6; }
.radio-antenna-button::after { content:""; position:absolute; z-index:3; left:5px; bottom:3px; width:4px; height:4px; border-radius:50%; background:#d84c45; box-shadow:0 0 4px #d84c4566; transition:background .2s,box-shadow .2s; }
.world-radio.is-on .radio-antenna-button::after { background:#48dc91; box-shadow:0 0 7px #48dc91,0 0 13px #48dc9180; }
.radio-antenna-art { display:none; }
.radio-case { fill:url(#radioWood); stroke:#4d2e1a; stroke-width:1.4; }
.radio-face { fill:url(#radioFace); stroke:#e2b878; stroke-width:.8; }
.radio-grille-frame { fill:#53341f; stroke:#edc78e; stroke-width:.8; }
.radio-tuner { fill:url(#radioDial); stroke:#65472b; stroke-width:.8; }
.radio-tuner-mark,.radio-dial-line { fill:none; stroke:#684426; stroke-width:.72; stroke-linecap:round; }
.radio-dial-line { stroke:#a42f22; stroke-width:1.2; }
.radio-dial-label { fill:#553b27; font:700 3px/1 system-ui,sans-serif; letter-spacing:.15px; }
.radio-knob { fill:url(#radioKnob); stroke:#4e301c; stroke-width:1; }
.radio-knob-mark { fill:none; stroke:#f0cc8c; stroke-width:.9; stroke-linecap:round; }
.radio-screw { fill:#f2d6a4; stroke:#704a2d; stroke-width:.35; }
.radio-feet { fill:none; stroke:#452a19; stroke-width:2.5; stroke-linecap:round; }
.radio-piano-bed { fill:#55351f; stroke:#e2bd86; stroke-width:.7; }
.radio-piano-key { fill:#f1dfb8; stroke:#705337; stroke-width:.55; }
.radio-piano-key-dark { fill:#3b281d; stroke:#25180f; stroke-width:.35; }
.radio-cloud-broadcast { position:absolute; top:4px; left:37px; display:block; width:min(300px,calc(100% - 42px)); height:32px; overflow:hidden; pointer-events:none; }
.radio-cloud-broadcast::before { display:block; }
.radio-cloud-broadcast::before { content:"FM  88.1  ·  91.5  ·  98.3  ·  104.7 MHz"; color:var(--radio-gold); font-size:8px; line-height:1; font-weight:800; letter-spacing:.08em; opacity:.78; text-shadow:0 1px 2px #161b1e; }
.radio-marquee { width:100%; max-width:100%; overflow:hidden; clip-path:inset(0); white-space:nowrap; color:var(--radio-gold); background:none; -webkit-text-fill-color:var(--radio-gold); font-size:11px; line-height:1.2; font-weight:800; text-shadow:0 1px 2px #161b1e; opacity:.78; }
.radio-marquee span { display:inline-block; width:max-content; min-width:100%; padding-right:3em; animation:radio-marquee 20s linear infinite; animation-play-state:paused; }
.world-radio.is-on .radio-marquee span { animation-play-state:running; }
.radio-marquee span::after { content:attr(data-marquee); padding-left:3em; }
@keyframes radio-marquee { from { transform:translateX(-50%); } to { transform:translateX(0); } }
.radio-message.visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.world-radio audio { display:none; }
.world-radio::before { content:""; position:absolute; z-index:1; top:8px; left:0; width:33px; height:44px; pointer-events:none; background:center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 88' fill='none'%3E%3Cpath d='M33 5 4 84h58L33 5Z' stroke='%23868e94' stroke-opacity='.8' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M33 5v79M12 62h42M17 47h32M22 32h22M9 74l48-29M57 74 9 45M7 84h52' stroke='%23939ba0' stroke-opacity='.67' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
/* Separate left/right wave groups pulse independently from the mast tip. */
.world-radio::after { content:""; position:absolute; z-index:3; top:-8px; left:-10px; width:52px; height:28px; pointer-events:none; opacity:0; transform:scale(.72); transform-origin:26px 14px; background:center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 28' fill='none'%3E%3Cpath d='M23 8 Q11 14 23 20 M20 3 Q2 14 20 25' stroke='%23b0b8bc' stroke-opacity='.92' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='26' cy='14' r='2' fill='%23dce3e5'/%3C/svg%3E"); }
.world-radio.is-on::after { opacity:.95; animation:mastSignalLeft 1.7s ease-out infinite; }
.radio-cloud-broadcast { overflow:visible; }
.radio-cloud-broadcast::before { position:relative; z-index:2; }
.radio-cloud-broadcast::after { content:""; position:absolute; z-index:1; top:-12px; left:-47px; width:52px; height:28px; pointer-events:none; opacity:0; transform:scale(.72); transform-origin:26px 14px; background:center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 28' fill='none'%3E%3Cpath d='M29 8 Q41 14 29 20 M32 3 Q50 14 32 25' stroke='%23b0b8bc' stroke-opacity='.92' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='26' cy='14' r='2' fill='%23dce3e5'/%3C/svg%3E"); }
.world-radio.is-on .radio-cloud-broadcast::after { opacity:.95; animation:mastSignalRight 2.05s ease-out -0.65s infinite; }
.radio-marquee { position:relative; z-index:2; }
@keyframes mastSignalLeft { 0% { opacity:.12; transform:scale(.62); } 48% { opacity:.96; } 100% { opacity:.12; transform:scale(1.12); } }
@keyframes mastSignalRight { 0% { opacity:.12; transform:scale(.62); } 48% { opacity:.96; } 100% { opacity:.12; transform:scale(1.12); } }
.world-radio.is-on .radio-case { stroke:#f2ce96; filter:brightness(1.08); }
.world-radio.is-on .radio-dial-line { stroke:#df3e28; }
/* Broader, brighter broadcast arcs make the mast read clearly as a radio transmitter. */
.world-radio::after { left:-18px; width:70px; height:36px; transform:scale(.58); transform-origin:35px 18px; filter:drop-shadow(0 0 3px #dce3e599); background:center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 36' fill='none'%3E%3Cpath d='M32 10Q19 18 32 26M29 6Q10 18 29 30M26 2Q1 18 26 34' stroke='%23969da1' stroke-opacity='.98' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='35' cy='18' r='2.6' fill='%23969da1'/%3E%3C/svg%3E"); }
.world-radio.is-on::after { animation:mastSignalLeft 1.45s ease-out infinite; }
.radio-cloud-broadcast::after { left:-55px; width:70px; height:36px; transform:scale(.58); transform-origin:35px 18px; filter:drop-shadow(0 0 3px #dce3e599); background:center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 36' fill='none'%3E%3Cpath d='M38 10Q51 18 38 26M41 6Q60 18 41 30M44 2Q69 18 44 34' stroke='%23969da1' stroke-opacity='.98' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='35' cy='18' r='2.6' fill='%23969da1'/%3E%3C/svg%3E"); }
.world-radio.is-on .radio-cloud-broadcast::after { animation:mastSignalRight 1.7s ease-out -0.5s infinite; }
@keyframes mastSignalLeft { 0% { opacity:.16; transform:scale(.55) translateX(0); } 45% { opacity:1; } 100% { opacity:.08; transform:scale(1.28) translateX(-2px); } }
@keyframes mastSignalRight { 0% { opacity:.16; transform:scale(.55) translateX(0); } 45% { opacity:1; } 100% { opacity:.08; transform:scale(1.28) translateX(2px); } }
@media (max-width:600px) {
  .world-radio { top:1px; left:1px; width:100%; max-width:100%; height:76px; }
  .radio-antenna-button { top:35px; left:6px; }
  .radio-antenna-art { display:none; }
  .radio-cloud-broadcast { top:17px; left:35px; width:calc(100% - 39px); height:32px; }
  .radio-cloud-broadcast::after { top:-29px; left:-53px; }
  .radio-marquee { font-size:10px; }
  .world-radio::before { width:30px; height:40px; }
  .world-radio::after { top:-8px; left:-11px; width:52px; height:28px; }
}
@media (prefers-reduced-motion:reduce) { .world-radio *, .world-radio *::before, .world-radio::after { animation-duration:.01ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; } }

/* Let the station ticker use the full plot width, stopping before the price scale. */
.world-radio { width:100%; max-width:100%; }
.radio-cloud-broadcast { width:calc(100% - 87px); }
.radio-wave-hitbox {
  position:absolute;
  z-index:6;
  top:-14px;
  width:42px;
  height:44px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  pointer-events:auto;
  cursor:pointer;
  touch-action:manipulation;
}
.radio-wave-left { left:-12px; }
.radio-wave-right { left:20px; }
.radio-wave-hitbox:disabled { pointer-events:none; cursor:default; }
.radio-wave-hitbox:focus-visible { outline:2px solid var(--radio-gold); outline-offset:1px; }
@media (max-width:600px) {
  .radio-cloud-broadcast { width:calc(100% - 85px); }
  .radio-wave-hitbox { top:-15px; }
}

/* The station readouts follow the radio power state; next-station sits by the mast tip. */
.world-radio:not(.is-on) .radio-cloud-broadcast { visibility:hidden; }
.radio-tune-button {
  position:absolute;
  z-index:7;
  top:0px;
  left:13px;
  display:grid;
  place-items:center;
  width:10px;
  height:10px;
  padding:0;
  border:1px solid #55d99a;
  border-radius:50%;
  color:#62efa9;
  background:rgba(13,28,24,.9);
  box-shadow:0 0 7px rgba(75,224,150,.56), inset 0 0 4px rgba(87,232,159,.2);
  font:900 9px/1 system-ui,sans-serif;
  cursor:pointer;
  pointer-events:auto;
  opacity:0;
  visibility:hidden;
  transform:scale(.78);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
  touch-action:manipulation;
}
.world-radio.is-on .radio-tune-button:not(:disabled) {
  opacity:1;
  visibility:visible;
  transform:scale(1);
}
.radio-tune-button:hover { background:rgba(22,53,40,.96); box-shadow:0 0 10px rgba(75,224,150,.8); }
.radio-tune-button:focus-visible { outline:2px solid #8dffc1; outline-offset:2px; }
.radio-tune-button:disabled { cursor:default; pointer-events:none; }
@media (max-width:600px) {
  .radio-tune-button { top:0px; left:11px; }
}

/* A restrained frontier silhouette begins beneath the mast and follows the ticker lane. */
.radio-frontier {
  position:absolute;
  z-index:2;
  top:53px;
  left:23px;
  width:calc(100% - 78px);
  height:27px;
  pointer-events:none;
  opacity:.76;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.65));
}
.radio-frontier-wire {
  position:absolute;
  left:0;
  right:0;
  top:7px;
  height:15px;
  border-top:1px solid rgba(150,157,161,.72);
  border-bottom:1px solid rgba(150,157,161,.42);
  background:
    repeating-linear-gradient(45deg,transparent 0 7px,rgba(180,187,190,.76) 7.5px 8.5px,transparent 9px 16px),
    repeating-linear-gradient(-45deg,transparent 0 7px,rgba(180,187,190,.76) 7.5px 8.5px,transparent 9px 16px);
  background-size:16px 9px;
  background-position:0 0,8px 5px;
}
.radio-frontier-tower {
  position:absolute;
  z-index:1;
  top:0;
  width:12px;
  height:26px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent 2px,rgba(150,157,161,.72) 2px 3px,transparent 3px 9px,rgba(150,157,161,.72) 9px 10px,transparent 10px);
}
.radio-frontier-tower::before {
  content:"";
  position:absolute;
  left:1px;
  top:3px;
  width:10px;
  height:7px;
  border:1px solid rgba(180,187,190,.82);
  background:linear-gradient(135deg,rgba(150,157,161,.34),rgba(16,24,32,.72));
  clip-path:polygon(0 30%,50% 0,100% 30%,100% 100%,0 100%);
}
.radio-frontier-tower::after {
  content:"";
  position:absolute;
  left:5px;
  top:11px;
  width:2px;
  height:3px;
  background:#d9e0e2;
  box-shadow:0 0 4px rgba(217,224,226,.8);
}
@media (max-width:600px) {
  .radio-frontier { top:50px; left:22px; width:calc(100% - 76px); height:24px; }
  .radio-frontier-wire { top:6px; height:13px; }
  .radio-frontier-tower { height:23px; }
}

/* A continuous border fence now starts at the chart's far-left edge under the mast. */
.radio-frontier {
  top:53px;
  left:0;
  width:calc(100% - 50px);
  height:30px;
  opacity:.94;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.82));
}
.radio-frontier-wire {
  top:8px;
  height:15px;
  border-top:1px solid rgba(190,198,201,.9);
  border-bottom:1px solid rgba(150,157,161,.78);
  background:
    repeating-linear-gradient(45deg,transparent 0 6px,rgba(190,198,201,.92) 6.5px 7.5px,transparent 8px 13px),
    repeating-linear-gradient(-45deg,transparent 0 6px,rgba(190,198,201,.92) 6.5px 7.5px,transparent 8px 13px);
  background-size:13px 9px;
  background-position:0 0,6.5px 5px;
}
.radio-frontier-wire::before,
.radio-frontier-wire::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:3px;
  background:repeating-linear-gradient(115deg,transparent 0 7px,rgba(211,218,220,.92) 7.5px 8px,transparent 8.5px 14px);
}
.radio-frontier-wire::before {
  top:-5px;
  border-top:1px solid rgba(190,198,201,.82);
}
.radio-frontier-wire::after {
  bottom:-5px;
  border-bottom:1px solid rgba(190,198,201,.66);
}
.radio-frontier-tower {
  top:-1px;
  height:30px;
  background:
    linear-gradient(75deg,transparent 0 3px,rgba(190,198,201,.9) 3.3px 4.2px,transparent 4.5px),
    linear-gradient(105deg,transparent 0 7px,rgba(190,198,201,.9) 7.3px 8.2px,transparent 8.5px),
    linear-gradient(90deg,transparent 2px,rgba(190,198,201,.95) 2.5px 3.5px,transparent 4px 8px,rgba(190,198,201,.95) 8.5px 9.5px,transparent 10px);
}
.radio-frontier-tower::before {
  left:0;
  top:1px;
  width:12px;
  height:9px;
  border:1px solid rgba(208,215,217,.96);
  background:
    linear-gradient(rgba(214,221,223,.9),rgba(108,119,123,.88)),
    linear-gradient(90deg,transparent 0 3px,rgba(28,36,39,.9) 3px 8px,transparent 8px);
  clip-path:polygon(0 27%,50% 0,100% 27%,91% 39%,91% 100%,9% 100%,9% 39%);
  box-shadow:0 0 4px rgba(196,205,207,.35);
}
.radio-frontier-tower::after {
  left:5px;
  top:11px;
  width:3px;
  height:4px;
  background:rgba(225,232,234,.98);
  box-shadow:0 0 4px rgba(225,232,234,.88),-4px 8px 0 -1px rgba(190,198,201,.95),4px 8px 0 -1px rgba(190,198,201,.95);
}
@media (max-width:600px) {
  .radio-frontier { top:50px; left:0; width:calc(100% - 50px); height:28px; }
  .radio-frontier-wire { top:7px; height:14px; }
  .radio-frontier-tower { height:28px; }
}

/* A deeper, quieter horizon: larger mast, broad paired X wire, fewer lookout towers. */
.world-radio::before {
  top:5px;
  width:39px;
  height:54px;
  opacity:.84;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 88' fill='none'%3E%3Cpath d='M33 5 4 84h58L33 5Z' stroke='%23868e94' stroke-opacity='.8' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M33 5v79M12 62h42M17 47h32M22 32h22M9 74l48-29M57 74 9 45M7 84h52' stroke='%23939ba0' stroke-opacity='.67' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.radio-frontier {
  top:59px;
  height:29px;
  opacity:.82;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.72));
}
.radio-frontier-wire {
  top:8px;
  height:13px;
  border-color:rgba(174,183,186,.72);
  background:
    repeating-linear-gradient(45deg,transparent 0 13px,rgba(190,198,201,.86) 13.5px 14.5px,transparent 15px 28px),
    repeating-linear-gradient(-45deg,transparent 0 13px,rgba(190,198,201,.86) 13.5px 14.5px,transparent 15px 28px);
  background-size:28px 14px;
  background-position:0 0,14px 0;
}
.radio-frontier-wire::before,
.radio-frontier-wire::after {
  height:3px;
  background:repeating-linear-gradient(115deg,transparent 0 12px,rgba(211,218,220,.88) 12.5px 13.5px,transparent 14px 28px);
}
.radio-frontier-tower {
  top:-2px;
  width:18px;
  height:31px;
  background:
    linear-gradient(74deg,transparent 0 4px,rgba(179,188,191,.82) 4.4px 5.5px,transparent 6px),
    linear-gradient(106deg,transparent 0 11px,rgba(179,188,191,.82) 11.4px 12.5px,transparent 13px),
    linear-gradient(90deg,transparent 3px,rgba(190,198,201,.9) 3.5px 4.7px,transparent 5px 13px,rgba(190,198,201,.9) 13.5px 14.7px,transparent 15px);
}
.radio-frontier-tower::before {
  left:0;
  top:1px;
  width:18px;
  height:12px;
}
.radio-frontier-tower::after {
  left:7px;
  top:14px;
  width:4px;
  height:5px;
  box-shadow:0 0 4px rgba(225,232,234,.82),-5px 8px 0 -1px rgba(190,198,201,.9),5px 8px 0 -1px rgba(190,198,201,.9);
}
@media (max-width:600px) {
  .world-radio::before { top:5px; width:35px; height:48px; }
  .radio-frontier { top:54px; height:27px; }
  .radio-frontier-tower { height:29px; }
}

/* Weathered, old-style military boundary: taut strands, large crossed mesh and barbs. */
.radio-frontier {
  top:58px;
  height:40px;
  opacity:.9;
  filter:drop-shadow(0 2px 2px rgba(0,0,0,.88));
}
.radio-frontier-wire {
  top:14px;
  height:17px;
  border:0;
  background:
    linear-gradient(to bottom, transparent 0 1px, rgba(184,185,174,.9) 1px 2px, transparent 2px 14px, rgba(184,185,174,.82) 14px 15px, transparent 15px),
    repeating-linear-gradient(45deg, transparent 0 17px, rgba(165,169,158,.86) 17.5px 19px, transparent 19.5px 36px),
    repeating-linear-gradient(-45deg, transparent 0 17px, rgba(165,169,158,.86) 17.5px 19px, transparent 19.5px 36px);
  background-size:100% 17px,36px 17px,36px 17px;
  background-position:0 0,0 0,18px 0;
}
.radio-frontier-wire::before,
.radio-frontier-wire::after {
  left:-1px;
  right:-1px;
  height:5px;
  background:
    repeating-linear-gradient(112deg, transparent 0 12px, rgba(197,197,183,.96) 12.5px 13.5px, transparent 14px 28px),
    repeating-linear-gradient(68deg, transparent 0 12px, rgba(197,197,183,.96) 12.5px 13.5px, transparent 14px 28px);
  background-position:0 0,7px 0;
}
.radio-frontier-wire::before {
  top:-5px;
  border-top:1px solid rgba(184,185,174,.82);
}
.radio-frontier-wire::after {
  bottom:-5px;
  border-bottom:1px solid rgba(184,185,174,.74);
}
.radio-frontier-tower {
  top:-8px;
  width:25px;
  height:47px;
  background:
    linear-gradient(72deg, transparent 0 6px, rgba(139,145,139,.9) 6.5px 8px, transparent 8.5px),
    linear-gradient(108deg, transparent 0 16px, rgba(139,145,139,.9) 16.5px 18px, transparent 18.5px),
    linear-gradient(90deg, transparent 4px, rgba(173,177,166,.96) 4.5px 6px, transparent 6.5px 18px, rgba(173,177,166,.96) 18.5px 20px, transparent 20.5px),
    linear-gradient(to bottom, transparent 0 14px, rgba(153,159,151,.96) 14px 15px, transparent 15px 100%);
}
.radio-frontier-tower::before {
  left:1px;
  top:0;
  width:23px;
  height:15px;
  border:1px solid rgba(183,187,176,.96);
  background:
    linear-gradient(90deg, transparent 0 5px, rgba(38,43,39,.92) 5px 17px, transparent 17px),
    linear-gradient(135deg, rgba(157,163,153,.96), rgba(67,73,67,.96));
  clip-path:polygon(0 30%,50% 0,100% 30%,93% 42%,93% 100%,7% 100%,7% 42%);
  box-shadow:0 0 5px rgba(201,203,188,.32);
}
.radio-frontier-tower::after {
  left:10px;
  top:18px;
  width:5px;
  height:7px;
  background:rgba(232,222,174,.98);
  box-shadow:0 0 6px rgba(255,230,147,.8),-6px 13px 0 -1px rgba(165,169,158,.96),6px 13px 0 -1px rgba(165,169,158,.96);
}
@media (max-width:600px) {
  .radio-frontier { top:53px; height:37px; }
  .radio-frontier-wire { top:13px; }
  .radio-frontier-tower { height:44px; }
}
.radio-frontier-warning {
  position:absolute;
  z-index:2;
  top:8px;
  width:17px;
  height:27px;
  transform:translateX(-50%);
}
.radio-frontier-warning::before {
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:17px;
  height:12px;
  border:1px solid rgba(221,205,157,.92);
  background:
    linear-gradient(45deg, transparent 43%, rgba(228,216,179,.94) 45% 53%, transparent 55%),
    linear-gradient(-45deg, transparent 43%, rgba(228,216,179,.94) 45% 53%, transparent 55%),
    linear-gradient(135deg, rgba(119,57,47,.96), rgba(55,39,35,.96));
  box-shadow:0 0 4px rgba(0,0,0,.7);
}
.radio-frontier-warning::after {
  content:"";
  position:absolute;
  left:7px;
  top:12px;
  width:3px;
  height:15px;
  background:rgba(168,171,159,.94);
  box-shadow:0 0 2px rgba(0,0,0,.8);
}

/* Rebuilt as taut, recognizable military barbed wire: large X mesh and sharp paired barbs. */
.radio-frontier-wire {
  top:13px;
  height:18px;
  border:0;
  background:
    linear-gradient(to bottom,
      transparent 0 1px,
      rgba(203,207,194,.96) 1px 2px,
      transparent 2px 5px,
      rgba(157,164,154,.9) 5px 6px,
      transparent 6px 11px,
      rgba(157,164,154,.9) 11px 12px,
      transparent 12px 15px,
      rgba(203,207,194,.94) 15px 16px,
      transparent 16px),
    repeating-linear-gradient(45deg,
      transparent 0 14px,
      rgba(183,190,179,.92) 14.5px 15.6px,
      transparent 16px 29px),
    repeating-linear-gradient(-45deg,
      transparent 0 14px,
      rgba(183,190,179,.92) 14.5px 15.6px,
      transparent 16px 29px);
  background-size:100% 18px,29px 18px,29px 18px;
  background-position:0 0,0 0,14.5px 0;
  box-shadow:0 1px 2px rgba(0,0,0,.55);
}
.radio-frontier-wire::before,
.radio-frontier-wire::after {
  left:-2px;
  right:-2px;
  height:7px;
  background:
    repeating-linear-gradient(55deg,
      transparent 0 9px,
      rgba(221,222,207,.98) 9.5px 10.5px,
      transparent 11px 19px),
    repeating-linear-gradient(125deg,
      transparent 0 9px,
      rgba(221,222,207,.98) 9.5px 10.5px,
      transparent 11px 19px);
  background-size:19px 7px;
  background-position:0 0,9.5px 0;
  filter:drop-shadow(0 0 1px rgba(0,0,0,.9));
}
.radio-frontier-wire::before {
  top:-7px;
  border-top:1px solid rgba(203,207,194,.94);
}
.radio-frontier-wire::after {
  bottom:-7px;
  border-bottom:1px solid rgba(203,207,194,.9);
}
@media (max-width:600px) {
  .radio-frontier-wire {
    top:12px;
    height:17px;
    background-size:100% 17px,27px 17px,27px 17px;
    background-position:0 0,0 0,13.5px 0;
  }
  .radio-frontier-wire::before,
  .radio-frontier-wire::after {
    background-size:18px 7px;
    background-position:0 0,9px 0;
  }
}

/* Replace the military fence with a modest, hand-built timber picket fence. */
.radio-frontier {
  top:58px;
  left:0;
  width:calc(100% - 50px);
  height:30px;
  opacity:.72;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.78));
  overflow:hidden;
}
.radio-wood-fence { position:absolute; inset:1px 0 0; }
.radio-wood-rail {
  position:absolute;
  left:0;
  right:0;
  height:4px;
  border:1px solid rgba(61,48,37,.82);
  background:linear-gradient(180deg,rgba(153,126,91,.94),rgba(91,72,53,.96) 55%,rgba(57,48,40,.94));
  box-shadow:inset 0 1px rgba(197,171,132,.42),0 1px rgba(17,20,20,.58);
}
.radio-wood-rail-upper { top:8px; transform:rotate(-.3deg); }
.radio-wood-rail-lower { top:20px; transform:rotate(.25deg); }
.radio-wood-post,
.radio-wood-slat {
  position:absolute;
  bottom:2px;
  display:block;
  transform:translateX(-50%);
}
.radio-wood-post {
  left:var(--x);
  width:5px;
  height:28px;
  background:linear-gradient(90deg,rgba(48,43,37,.96),rgba(137,111,79,.95) 36%,rgba(86,69,51,.98) 76%,rgba(43,40,35,.96));
  clip-path:polygon(18% 100%,18% 12%,35% 12%,42% 0,57% 10%,72% 4%,78% 14%,88% 14%,88% 100%);
  box-shadow:0 0 1px rgba(20,20,18,.9);
}
.radio-wood-slat {
  left:var(--x);
  width:4px;
  height:var(--height);
  transform:translateX(-50%) rotate(var(--lean));
  transform-origin:bottom center;
  border-left:1px solid rgba(38,37,32,.72);
  border-right:1px solid rgba(180,151,111,.48);
  background:linear-gradient(90deg,rgba(60,52,42,.96),rgba(139,112,79,.94) 48%,rgba(79,65,49,.98));
  clip-path:polygon(0 100%,0 8%,27% 8%,36% 0,54% 7%,100% 5%,100% 100%);
}
.radio-wood-slat::after {
  content:"";
  position:absolute;
  left:1px;
  top:48%;
  width:1px;
  height:3px;
  border-radius:50%;
  background:rgba(43,38,31,.75);
}
@media (max-width:600px) {
  .radio-frontier { top:53px; height:27px; }
  .radio-wood-post { height:25px; }
  .radio-wood-rail-upper { top:7px; }
  .radio-wood-rail-lower { top:18px; }
}

/* Sparse old timber uprights with horizontal, barbed wire; no pickets or rails. */
.radio-frontier {
  top:58px;
  left:0;
  width:calc(100% - 50px);
  height:30px;
  opacity:.84;
  overflow:hidden;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.82));
}
.radio-wood-fence {
  position:absolute;
  inset:1px 0 0;
  background:
    linear-gradient(to bottom, transparent 4px, rgba(191,198,189,.9) 4px 5px, transparent 5px 11px, rgba(191,198,189,.86) 11px 12px, transparent 12px 18px, rgba(191,198,189,.86) 18px 19px, transparent 19px 25px, rgba(191,198,189,.9) 25px 26px, transparent 26px),
    repeating-linear-gradient(55deg, transparent 0 12px, rgba(202,207,194,.94) 12.5px 13.5px, transparent 14px 25px),
    repeating-linear-gradient(125deg, transparent 0 12px, rgba(202,207,194,.94) 12.5px 13.5px, transparent 14px 25px);
  background-size:100% 30px,25px 8px,25px 8px;
  background-position:0 0,0 2px,12.5px 6px;
}
.radio-wood-rail,
.radio-wood-slat { display:none !important; }
.radio-wood-post {
  z-index:2;
  bottom:0;
  width:5px;
  height:28px;
  transform:translateX(-50%);
  clip-path:polygon(12% 100%,15% 4%,35% 0,59% 5%,82% 2%,88% 100%);
  background:linear-gradient(90deg,rgba(43,37,30,.98),rgba(114,91,64,.98) 35%,rgba(78,62,45,.98) 72%,rgba(35,33,29,.98));
  box-shadow:0 0 2px rgba(10,12,11,.9);
}
.radio-wood-post::after {
  content:"";
  position:absolute;
  top:3px;
  left:2px;
  width:1px;
  height:21px;
  background:rgba(196,162,116,.32);
}
@media (max-width:600px) {
  .radio-frontier { top:53px; height:27px; }
  .radio-wood-fence {
    background-size:100% 27px,22px 7px,22px 7px;
    background-position:0 0,0 2px,11px 5px;
  }
  .radio-wood-post { height:25px; }
}

/* Exactly three loose horizontal barbed-wire strands between timber posts. */
.radio-wood-fence {
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 30' fill='none'%3E%3Cg stroke='%23c5c9bd' stroke-width='.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 5 Q20 7 40 5 T80 5 T120 5 T160 5 M9 1l4 8m0-8L9 8m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7'/%3E%3Cpath d='M0 15 Q20 17 40 15 T80 15 T120 15 T160 15 M19 11l4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7'/%3E%3Cpath d='M0 25 Q20 27 40 25 T80 25 T120 25 T160 25 M9 21l4 8m0-8L9 28m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7m20-7 4 8m0-8-4 7'/%3E%3C/g%3E%3C/svg%3E");
  background-size:160px 30px;
  background-position:left top;
  background-repeat:repeat-x;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.72));
}
.radio-wood-post {
  height:28px;
  width:4px;
  opacity:.9;
}
@media (max-width:600px) {
  .radio-wood-fence {
    background-size:145px 27px;
  }
  .radio-wood-post { height:25px; }
}

/* Final size and placement requested for the three-strand fence. */
.radio-frontier { top:46px; }
.radio-wood-fence { background-size:80px 15px; }
.radio-wood-post { bottom:8px; height:23px; width:3px; opacity:1; }
@media (max-width:600px) {
  .radio-frontier { top:41px; }
  .radio-wood-fence { background-size:72.5px 13.5px; }
  .radio-wood-post { bottom:8px; height:21px; width:3px; }
}

/* Short diagonal braces reinforce every post; fine metal wraps tie the wire onto them. */
.radio-wood-brace {
  position:absolute;
  z-index:3;
  left:1px;
  top:50%;
  width:5.75px;
  height:2px;
  transform:rotate(-45deg);
  transform-origin:left center;
  border:1px solid rgba(48,40,31,.95);
  background:linear-gradient(180deg,rgba(163,133,96,.98),rgba(81,65,48,.98));
  box-shadow:0 0 1px rgba(12,13,12,.95);
}
.radio-wood-brace::after {
  content:"";
  position:absolute;
  inset:-1px 0;
  background:repeating-linear-gradient(90deg,transparent 0 2px,rgba(205,211,200,.98) 2.2px 2.7px,transparent 2.9px 4px);
  filter:drop-shadow(0 0 1px rgba(0,0,0,.9));
}
.radio-wood-post:nth-child(even) .radio-wood-brace { transform:rotate(45deg); }
@media (max-width:600px) {
  .radio-wood-brace { width:5.25px; }
}

/* Reduce the fence height by 20% while keeping its full horizontal span. */
.radio-frontier {
  transform:scaleY(.8);
  transform-origin:top left;
}

/* Crossarms rise from each timber post and carry two extra barbed strands. */
.radio-wood-post { clip-path:none; }
.radio-wood-post::before {
  content:"";
  position:absolute;
  z-index:4;
  left:-3px;
  top:-2px;
  width:9px;
  height:2px;
  transform:rotate(-42deg);
  transform-origin:center;
  border:1px solid rgba(48,40,31,.96);
  background:linear-gradient(180deg,rgba(163,133,96,.98),rgba(81,65,48,.98));
  box-shadow:0 0 1px rgba(12,13,12,.95);
}
.radio-wood-fence::before {
  content:"";
  position:absolute;
  z-index:3;
  inset:0;
  pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 30' fill='none'%3E%3Cg stroke='%23d0d3c8' stroke-width='.85' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M0 2 Q20 4 40 2 T80 2 T120 2 T160 2 M9 -2l4 8m0-8L9 4m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6M0 8 Q20 10 40 8 T80 8 T120 8 T160 8 M19 4l4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6m20-6 4 8m0-8-4 6'/%3E%3C/g%3E%3C/svg%3E") left top / 80px 15px repeat-x;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.75));
}

