/* AFR Radio v1.0.1 · app shell (top bar, AFR Insider, install card). Premium black & gold. */
[hidden] { display: none !important; }
:root { --g: #D4AF37; --g2: #F7D774; --ink: #050505; --line: rgba(212,175,55,.35); --mut: #cfc6a8; }
html, body { background: #050505; margin: 0; }
.ar-body { color: #f5f0e1; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.ar-skip { position: absolute; left: -999px; top: 0; background: var(--g2); color: #050505; padding: 8px 12px; z-index: 99999; }
.ar-skip:focus { left: 8px; }
.ar-bar { position: sticky; top: 0; z-index: 9000; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px; background: rgba(5,5,5,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.ar-brand .ar-bulb { border-radius: 8px; flex: none; }
.ar-brand .ar-wordmark { height: 40px; width: auto; display: block; }
.ar-brand .ar-radio-tag { display: inline-block; color: var(--g2); font: 800 .62rem Inter, sans-serif; letter-spacing: .18em; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.ar-install-logo { width: 110px; height: auto; flex: none; filter: drop-shadow(0 0 18px rgba(212,175,55,.35)); }
#arInstallCard { align-items: center; }
.ar-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.ar-brand b { color: var(--g2); letter-spacing: .14em; font-size: .95rem; }
.ar-brand small { color: var(--mut); font-size: .7rem; }
.ar-right { display: flex; align-items: center; gap: 8px; }
.ar-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #f5f0e1; font: 700 .9rem Inter, sans-serif; cursor: pointer; text-decoration: none; }
.ar-btn:hover { border-color: var(--g2); }
.ar-btn:focus-visible, .ar-me:focus-visible, .ar-x:focus-visible { outline: 3px solid var(--g2); outline-offset: 2px; }
.ar-gold { background: linear-gradient(135deg, var(--g2), var(--g)); color: #050505; border: 0; }
.ar-danger { border-color: rgba(255,120,100,.6); color: #ffb3a6; }
.ar-me { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 3px 14px 3px 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #f5f0e1; font: 700 .9rem Inter, sans-serif; cursor: pointer; }
.ar-me img { border-radius: 50%; object-fit: cover; }
.ar-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 10px 14px 0; padding: 12px 14px; border: 1px solid var(--g2); border-radius: 14px; background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(0,0,0,.25)); }
.ar-banner b { color: var(--g2); display: block; }
.ar-banner span { color: var(--mut); font-size: .9rem; }
.ar-banner-btns { display: flex; align-items: center; gap: 6px; }
.ar-x { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--mut); font-size: 1.1rem; cursor: pointer; border-radius: 50%; }
.ar-note { position: fixed; left: 50%; transform: translateX(-50%); top: calc(70px + env(safe-area-inset-top, 0px)); z-index: 9500; max-width: min(560px, 92vw); padding: 12px 16px; border-radius: 14px; background: #0b0b0b; border: 1px solid var(--g2); color: #f5f0e1; font: 600 .92rem Inter, sans-serif; box-shadow: 0 10px 30px rgba(0,0,0,.6); }
.ar-modal { position: fixed; inset: 0; z-index: 9800; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0,0,0,.72); }
.ar-modal[hidden], .ar-note[hidden], .ar-banner[hidden] { display: none; }
.ar-card { width: min(460px, 100%); max-height: 90vh; overflow: auto; background: #0b0b0b; border: 1px solid var(--g2); border-radius: 18px; padding: 16px 18px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.7); }
.ar-card-head { display: flex; align-items: center; justify-content: space-between; }
.ar-card h2 { margin: 0; color: var(--g2); font-size: 1.15rem; }
.ar-p { color: #f5f0e1; }
.ar-small { color: var(--mut); font-size: .82rem; }
.ar-small a { color: var(--g2); }
.ar-check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; line-height: 1.35; cursor: pointer; }
.ar-check input { width: 22px; height: 22px; flex: none; accent-color: var(--g); margin-top: 1px; }
.ar-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ar-who { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.ar-who img { border-radius: 50%; }
.ar-who div { display: flex; flex-direction: column; }
.ar-who small { color: var(--mut); }
.ar-admin { margin-top: 14px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; }
.ar-install-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ar-foot { text-align: center; padding: 24px 12px calc(120px + env(safe-area-inset-bottom, 0px)); color: var(--mut); font-size: .8rem; }
.ar-foot a { color: var(--g2); }
@media (max-width: 480px) { .ar-brand .ar-wordmark { height: 32px; } .ar-brand .ar-bulb { width: 32px; height: 32px; } .ar-brand .ar-radio-tag { display: none; } .ar-install-logo { width: 84px; } .ar-btn { padding: 0 12px; } #arMeName { max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }
html.afr-pop .ar-bar, html.afr-pop .ar-banner, html.afr-pop .ar-foot { display: none !important; }
