/* ufo-radio.css
   UFO Radio page (ufo-radio.html): the card around the receiver and the receiver parts themselves.
   The receiver rules (from .pbtn down) come from the Planetsonic file.
   Needs theme.css and page-shell.css. Image paths are relative to this file. */

.radio-card { padding: 16px; border: 1px solid rgba(244, 163, 74, .34); border-radius: 14px; background: linear-gradient(135deg, rgba(244, 163, 74, .09), rgba(255, 255, 255, .035) 62%); }
.radio-card h2 { margin: 0 0 4px; color: #fff; font-size: 19px; line-height: 1.3; }
.radio-hint { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 1.5; }
/* The radio is scaled to fit this box. Both boxes clip, so the 1280px panel can never widen the page. */
#radioView { width: 100%; overflow: hidden; border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .45); }
#radioBox { position: relative; margin: 0 auto; overflow: hidden; }
.tex { position: absolute; left: 0; top: 0; width: 1280px; height: 780px; pointer-events: none; mix-blend-mode: overlay; }
.tex-brush { background: url("../images/radio-brush.jpg") 0 0 / 1280px 780px no-repeat; opacity: .5; }
.tex-grain { background: url("../images/radio-grain.png") 0 0 / 256px 256px repeat; opacity: .28; }
.turn-hint { display: none; margin: 10px 2px 0; color: var(--muted); font-size: 11px; text-align: center; }
@media (max-width: 560px) and (orientation: portrait) { .turn-hint { display: block; } }
#stage { position: absolute; left: 0; top: 0; width: 1280px; height: 780px; transform-origin: 0 0; user-select: none; -webkit-user-select: none; }
#stage button { font: inherit; cursor: pointer; padding: 0; }
#stage button:focus-visible { outline: 2px solid #5fe3ff; outline-offset: 3px; }
.pbtn { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 0; background: radial-gradient(circle at 36% 26%, #a3a7af 0, #686c73 36%, #2d2f34 100%); box-shadow: 0 0 0 3px #0e0f11, 0 0 0 4px #5f636a, 0 7px 0 3px #0a0b0c, 0 13px 14px 3px rgba(0, 0, 0, .65), inset 0 2px 2px rgba(255, 255, 255, .4), inset 0 -4px 7px rgba(0, 0, 0, .5); transition: transform .22s cubic-bezier(.3, 1.9, .5, 1), box-shadow .22s; }
.pbtn:active { transform: translateY(5px); box-shadow: 0 0 0 3px #0e0f11, 0 0 0 4px #5f636a, 0 2px 0 3px #0a0b0c, 0 4px 6px 2px rgba(0, 0, 0, .6), inset 0 2px 6px rgba(0, 0, 0, .55); transition: transform .035s, box-shadow .035s; }
.pdish { position: absolute; left: 8px; top: 8px; right: 8px; bottom: 8px; border-radius: 50%; background: radial-gradient(circle at 50% 72%, #40434a, #212327); box-shadow: inset 0 3px 5px rgba(0, 0, 0, .75), 0 1px 0 rgba(255, 255, 255, .28); }
.spring { transition: transform .26s cubic-bezier(.3, 1.9, .5, 1), box-shadow .26s, filter .26s; }
.spring:active { transform: translateY(4px) !important; box-shadow: 0 1px 0 #0b0c0d, inset 0 2px 5px rgba(0, 0, 0, .55) !important; filter: brightness(.82); transition: transform .035s, box-shadow .035s, filter .035s; }
@keyframes pflick { 0% { opacity: 0 } 8% { opacity: .85 } 15% { opacity: .1 } 30% { opacity: 1 } 38% { opacity: .35 } 52% { opacity: 1 } 60% { opacity: .7 } 100% { opacity: 1 } }
@keyframes pwarm { 0% { opacity: 0 } 30% { opacity: .5 } 45% { opacity: .25 } 100% { opacity: 1 } }
.sk:hover span { background: #bff6ff !important; box-shadow: 0 0 8px #5fe3ff !important; }
@media (max-width: 560px) { .radio-card { padding: 10px; border-radius: 11px; } .radio-card h2 { font-size: 17px; } }
