/* «Guest stations» (guest_radio.php, MIBL_Mobile/guest-radio.php, guest_radio_player.php). Logical properties throughout: fa, ar and ur
   are right-to-left. Colours follow the site: night background, cyan accent. */
.gr{max-width:1080px;margin:0 auto;padding:30px 18px 120px;color:#e6ebf7}
.gr-mobile{padding:14px 12px calc(150px + var(--gr-bottom,0px))}
.gr-hero{text-align:center;margin-bottom:20px}
.gr-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#00d4ff;margin-bottom:8px}
.gr-h1{font-size:clamp(26px,5vw,42px);font-weight:900;line-height:1.15;margin:0 0 10px;color:#f0f2ff}
.gr-lede{font-size:15px;line-height:1.8;color:#98a3ba;max-width:60ch;margin:0 auto}
.gr-search{display:flex;gap:8px;max-width:640px;margin:0 auto 14px}
.gr-search input{flex:1;min-width:0;min-height:46px;padding:0 16px;border-radius:14px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#f0f2ff;font:inherit;font-size:15px}
.gr-search input:focus{outline:2px solid rgba(0,212,255,.55);outline-offset:1px}
.gr-search button{min-height:46px;padding:0 20px;border-radius:14px;border:none;background:linear-gradient(135deg,#00d4ff,#a78bfa);color:#04121f;font:inherit;font-weight:800;cursor:pointer}
.gr-filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center;margin:0 0 22px}
.gr-chips{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}
.gr-chip{min-height:34px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.04);color:#cbd3e6;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.gr-chip[aria-pressed="true"]{background:rgba(0,212,255,.16);border-color:rgba(0,212,255,.6);color:#bff3ff}
.gr-country{display:flex;align-items:center;gap:8px;font-size:12px;color:#8b95ad}
.gr-country select{min-height:34px;max-width:220px;border-radius:10px;border:1px solid rgba(255,255,255,.16);background:#0d0d20;color:#e6ebf7;font:inherit;font-size:13px;padding:0 8px}
.gr-shelf{margin:0 0 26px}
.gr-shelf h2{font-size:17px;font-weight:800;margin:0 0 10px;color:#eef1fb}
.gr-shelf h2 small{font-size:12px;font-weight:600;color:#7d879e;margin-inline-start:6px}
.gr-row{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px;scroll-snap-type:x proximity}
.gr-row .gr-card{flex:0 0 240px;scroll-snap-align:start}
.gr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.gr-mobile .gr-grid{grid-template-columns:minmax(0,1fr)}
.gr-card{min-width:0}
.gr-mobile .gr-row .gr-card{flex-basis:78%}
.gr-card{position:relative;display:flex;align-items:center;gap:10px;min-height:66px;padding:9px 10px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.07)}
.gr-card.on{border-color:rgba(0,212,255,.55);background:rgba(0,212,255,.07)}
.gr-card.gr-mibl{background:rgba(167,139,250,.07);border-color:rgba(167,139,250,.28)}
.gr-logo,.gr-plogo{--gr-h:200;position:relative;flex:none;width:46px;height:46px;border-radius:11px;overflow:visible;display:flex;align-items:center;justify-content:center;
  background:hsl(var(--gr-h) 45% 24%);color:hsl(var(--gr-h) 80% 86%);font-weight:900;font-size:15px}
.gr-logo img,.gr-plogo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:11px;background:#0d0d20}
.gr-logo.has-img .gr-ini,.gr-plogo.has-img .gr-ini{visibility:hidden}
.gr-crown{position:absolute;inset-block-start:-9px;inset-inline-end:-6px;font-size:15px;line-height:1;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.gr-crown-gold{color:#facc15}.gr-crown-silver{color:#d6dae3}.gr-crown-bronze{color:#d39b6a}
.gr-meta{flex:1;min-width:0}
.gr-name{font-size:14px;font-weight:800;color:#eef1fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr-sub{font-size:12px;color:#8b95ad;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr-live{display:inline-block;margin-inline-end:6px;padding:0 6px;border-radius:6px;background:rgba(239,68,68,.18);color:#fca5a5;font-size:10.5px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.gr-play{flex:none;width:40px;height:40px;border-radius:50%;border:1px solid rgba(0,212,255,.45);background:rgba(0,212,255,.1);color:#00d4ff;cursor:pointer;position:relative}
.gr-play::before{content:"";position:absolute;inset-block-start:50%;inset-inline-start:52%;transform:translate(-50%,-50%);border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent currentColor}
[dir="rtl"] .gr-play::before{transform:translate(50%,-50%) scaleX(-1)}
.gr-card.live .gr-play::before,.gr-card.on .gr-play::before{border:none;width:11px;height:13px;background:linear-gradient(90deg,currentColor 0 35%,transparent 35% 65%,currentColor 65%)}
.gr-open{flex:none;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#a78bfa;text-decoration:none;font-weight:900}
.gr-empty{color:#8b95ad;font-size:13.5px;margin:6px 2px}
.gr-more{display:block;margin:12px auto 0;min-height:40px;padding:0 20px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05);color:#e6ebf7;font:inherit;font-weight:700;cursor:pointer}
.gr-note,.gr-credit{font-size:12px;line-height:1.7;color:#7d879e;text-align:center;max-width:70ch;margin:8px auto 0}
.gr-play:focus-visible,.gr-chip:focus-visible,.gr-picon:focus-visible,.gr-pbtn:focus-visible,.gr-open:focus-visible{outline:2px solid #00d4ff;outline-offset:2px}

.gr-player{position:fixed;inset-inline:0;inset-block-end:0;z-index:60;display:flex;align-items:center;gap:10px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));
  background:rgba(9,9,24,.96);border-top:1px solid rgba(255,255,255,.1);backdrop-filter:blur(14px)}
.gr-player.gr-mobile{inset-block-end:var(--gr-bottom,0px);padding-bottom:10px}
.gr-player[hidden]{display:none}
.gr-pmeta{flex:1;min-width:0}
.gr-pname{font-size:14px;font-weight:800;color:#eef1fb;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr-psub{font-size:12px;color:#8b95ad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gr-player[data-state="error"] .gr-psub{color:#fca5a5}
.gr-pbtn{flex:none;width:46px;height:46px;border-radius:50%;border:none;background:linear-gradient(135deg,#00d4ff,#a78bfa);cursor:pointer;position:relative}
.gr-pbtn::before{content:"";position:absolute;inset-block-start:50%;inset-inline-start:53%;transform:translate(-50%,-50%);border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #04121f}
[dir="rtl"] .gr-pbtn::before{transform:translate(50%,-50%) scaleX(-1)}
.gr-player[data-state="playing"] .gr-pbtn::before,.gr-player[data-state="connecting"] .gr-pbtn::before{border:none;width:13px;height:16px;background:linear-gradient(90deg,#04121f 0 35%,transparent 35% 65%,#04121f 65%)}
.gr-player[data-state="connecting"] .gr-pbtn{animation:grPulse 1.2s ease-in-out infinite}
@keyframes grPulse{50%{opacity:.6}}
.gr-pvol{width:110px;accent-color:#00d4ff}
.gr-mobile .gr-pvol{display:none}
.gr-picon{flex:none;width:36px;height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:#cbd3e6;font-size:17px;line-height:1;cursor:pointer}
.gr-picon[hidden]{display:none}
.gr-fav[aria-pressed="true"]{color:#f472b6;border-color:rgba(244,114,182,.5)}
.gr-mobile #grPPop{display:none}
body.gr-has-player .gr{padding-bottom:140px}

.gr-dialog{max-width:420px;width:calc(100% - 32px);border:1px solid rgba(255,255,255,.14);border-radius:18px;background:#0d0d20;color:#e6ebf7;padding:20px}
.gr-dialog::backdrop{background:rgba(0,0,0,.6)}
.gr-dialog h3{margin:0 0 4px;font-size:17px}
.gr-repname{margin:0 0 12px;color:#8b95ad;font-size:13px}
.gr-radio{display:flex;gap:8px;align-items:center;font-size:14px;margin:6px 0}
.gr-notel{display:block;font-size:13px;color:#8b95ad;margin:10px 0}
.gr-notel textarea{display:block;width:100%;margin-top:6px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:#e6ebf7;font:inherit;padding:8px}
.gr-hp{position:absolute;inset-inline-start:-9999px;width:1px;height:1px;opacity:0}
.gr-repmsg{min-height:1.2em;font-size:13px;color:#34d399}
.gr-repacts{display:flex;gap:8px;flex-wrap:wrap}
.gr-repacts button{min-height:40px;padding:0 16px;border-radius:12px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#e6ebf7;font:inherit;font-weight:700;cursor:pointer}
.gr-repacts .gr-btn-pri{background:linear-gradient(135deg,#00d4ff,#a78bfa);color:#04121f;border-color:transparent}

.gr-pop{margin:0;min-height:100vh;background:#07070f;color:#e6ebf7;font-family:Vazirmatn,system-ui,sans-serif}
.gr-pop .gr-player{position:static;flex-wrap:wrap;border-top:none;background:transparent;padding:18px}
.gr-pop .gr-plogo{width:72px;height:72px;border-radius:16px;font-size:22px}
.gr-pop .gr-plogo img{border-radius:16px}
.gr-pop .gr-pvol{flex:1 1 100%;width:auto;order:9}
.gr-pop .gr-back{display:block;text-align:center;font-size:12px;color:#7d879e;padding:0 0 14px}
@media (prefers-reduced-motion: reduce){.gr-player[data-state="connecting"] .gr-pbtn{animation:none}}
@media (max-width:560px){.gr-pvol{display:none}}
