/* =========================================================
   Quran Radio — e-Quran V15
   UI / UX / dark mode / responsive layer
   ========================================================= */
:root {
    --radio-green-950: #12342c;
    --radio-green-900: #173f35;
    --radio-green-800: #225747;
    --radio-green-700: #2f6c59;
    --radio-green-100: #eaf3ee;
    --radio-gold-600: #a47f32;
    --radio-gold-500: #c09b51;
    --radio-gold-100: #f6efdf;
    --radio-bg: #f6f8f7;
    --radio-card: #ffffff;
    --radio-text: #25342e;
    --radio-muted: #6d7973;
    --radio-border: #dce5e0;
    --radio-shadow: 0 12px 34px rgba(18, 52, 44, .08);
    --radio-radius: 18px;
}

html { scroll-behavior: smooth; }
body.radio-v15-body {
    margin: 0;
    background: var(--radio-bg);
    color: var(--radio-text);
    overflow-x: hidden;
}
#main-content { min-height: 60vh; }
body.radio-v15-body a { text-decoration: none; }

/* Hero */
.radio-v15-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(192,155,81,.14), transparent 30%),
        radial-gradient(circle at 82% 70%, rgba(255,255,255,.05), transparent 26%),
        linear-gradient(135deg, var(--radio-green-950), var(--radio-green-800));
    color: #fff;
    border-bottom: 1px solid rgba(192,155,81,.3);
}
.radio-v15-hero__pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .09;
    background-image:
        linear-gradient(30deg, rgba(255,255,255,.35) 1px, transparent 1px),
        linear-gradient(150deg, rgba(255,255,255,.28) 1px, transparent 1px);
    background-size: 30px 30px;
}
.radio-v15-hero__inner {
    min-height: 158px;
    padding-top: 27px;
    padding-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.radio-v15-hero__copy { max-width: 770px; }
.radio-v15-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #ead8ad;
    font-size: 12px;
    font-weight: 800;
}
.radio-v15-hero__kicker i { color: #e3c477; }
.radio-v15-hero h1 {
    margin: 0 0 7px;
    font-size: clamp(25px, 4vw, 37px);
    line-height: 1.25;
    font-weight: 900;
}
.radio-v15-hero h1 a { color: #fff; }
.radio-v15-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.85;
}
.radio-v15-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}
.radio-v15-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.88);
    font-size: 11px;
    font-weight: 700;
}
.radio-v15-hero__meta i { color: #dfc17a; }
.radio-v15-breadcrumb { padding-bottom: 10px; }
.radio-v15-breadcrumb .breadcrumb-container-top,
.radio-v15-breadcrumb .breadcrumb-container { position: static; margin: 0; }
.radio-v15-breadcrumb .breadcrumb {
    display: inline-flex;
    padding: 5px 9px !important;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.8);
    font-size: 11px;
}
.radio-v15-breadcrumb a { color: #f3e5bd !important; }

/* Search + category navigation */
.radio-v15-tools {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    padding: 11px 0 7px;
    background: rgba(246,248,247,.96);
    border-bottom: 1px solid #e5ece8;
    backdrop-filter: blur(10px);
}
.radio-v15-tools__bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
}
.radio-v15-tools__bar--single { grid-template-columns: auto; justify-content: end; }
.radio-v15-search {
    min-height: 42px;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 0 9px 0 7px;
    border: 1px solid var(--radio-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(18,52,44,.04);
}
.radio-v15-search > i { color: var(--radio-gold-600); }
.radio-v15-search input {
    width: 100%;
    min-width: 0;
    height: 40px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--radio-text);
    font: inherit;
    font-size: 13px;
}
#radioSearchClear {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #84918a;
}
#radioSearchClear:hover { background: #edf3ef; color: var(--radio-green-800); }
.radio-v15-home {
    min-height: 42px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--radio-border);
    border-radius: 12px;
    background: #fff;
    color: var(--radio-green-900) !important;
    font-size: 12px;
    font-weight: 850;
}
.radio-v15-home:hover { border-color: #bdcec5; background: #f8fbf9; }
.radio-v15-categories {
    display: flex;
    gap: 7px;
    margin-top: 8px;
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: none;
}
.radio-v15-categories::-webkit-scrollbar { display: none; }
.radio-v15-categories a {
    flex: 0 0 auto;
    padding: 6px 10px;
    border: 1px solid var(--radio-border);
    border-radius: 999px;
    background: #fff;
    color: #4d5d55;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.radio-v15-categories a:hover { border-color: #cdb884; background: var(--radio-gold-100); color: #745b23; }
.radio-v15-search-status {
    min-height: 16px;
    margin-top: 3px;
    color: var(--radio-muted);
    font-size: 11px;
}

/* Radio categories/cards */
.radio-container { margin-top: 0 !important; }
.radio-category {
    scroll-margin-top: 120px;
    padding: 28px 0 !important;
    border-bottom: 1px solid #e1e8e4 !important;
    background-image: none !important;
}
.radio-category.white { background: #f8faf9 !important; }
.radio-category.gray { background: #f1f5f3 !important; }
.radio-category-title { margin-bottom: 20px !important; }
.radio-category-title h1 {
    margin: 0 !important;
    padding: 0 0 8px !important;
    color: var(--radio-green-900);
    font-size: clamp(20px, 3vw, 27px) !important;
    font-weight: 900 !important;
}
.radio-category-title h1 a { color: inherit !important; }
.radio-category-title::after {
    width: 52px !important;
    height: 3px !important;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--radio-green-700), var(--radio-gold-500)) !important;
}
.radio-category .row { --bs-gutter-x: 14px; --bs-gutter-y: 14px; }
.radio-category [class*="col-"] { display: flex; }
.radio-info {
    width: 100%;
    min-height: 100%;
    padding: 14px 12px 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid var(--radio-border);
    border-radius: 16px;
    background: var(--radio-card);
    box-shadow: 0 7px 22px rgba(18,52,44,.045);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.radio-info:hover {
    transform: translateY(-2px);
    border-color: #c6d7ce;
    box-shadow: 0 12px 28px rgba(18,52,44,.09);
}
.radio-image {
    width: 94px;
    height: 94px;
    margin-bottom: 10px;
    position: relative;
}
.radio-image::after {
    content: "\f04b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-end: 0;
    bottom: 2px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--radio-green-800);
    color: #fff;
    font-size: 10px;
    box-shadow: 0 4px 12px rgba(18,52,44,.22);
}
.radio-image img {
    width: 94px !important;
    height: 94px !important;
    margin: 0 !important;
    object-fit: cover;
    border: 3px solid #edf2ef;
    box-shadow: 0 5px 15px rgba(18,52,44,.08);
}
.radio-info > p { margin: 0; line-height: 1.7; }
.radio-info > p a {
    display: block;
    color: var(--radio-text) !important;
    font-size: 13px;
    font-weight: 800;
}
.radio-info:hover > p a { color: var(--radio-green-800) !important; }
.radio-search-empty { display: none !important; }

/* Single radio */
.radio-title {
    margin: 22px 0 16px !important;
}
.radio-title h1 {
    color: var(--radio-green-900);
    font-size: clamp(22px, 4vw, 31px);
    font-weight: 900;
}
.radio-container > .container > .row {
    margin-bottom: 20px;
    padding: 17px;
    border: 1px solid var(--radio-border);
    border-radius: 17px;
    background: #fff;
    box-shadow: var(--radio-shadow);
}
.radio-container > .container > .row .radio-image {
    width: 100%;
    height: auto;
    margin: 0;
}
.radio-container > .container > .row .radio-image::after { display: none; }
.radio-container > .container > .row .radio-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 14px !important;
}
.audio-player {
    width: 100%;
    min-height: 44px;
    margin: 0 0 11px !important;
}
.radio-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 7px;
}
.radio-icons a {
    width: 36px;
    height: 36px;
    margin: 0 !important;
    display: grid;
    place-items: center;
    border: 1px solid var(--radio-border);
    border-radius: 10px;
    background: #f8faf9;
    color: #52645a;
    font-size: 15px !important;
}
.radio-icons a:hover { border-color: #c8d5ce; color: var(--radio-green-800); }

/* Share */
.radio-v15-share {
    max-width: 1110px;
    margin: 20px auto 24px;
    padding: 15px;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--radio-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(18,52,44,.055);
}
.radio-v15-share__copy strong { display: block; margin-bottom: 2px; color: var(--radio-green-900); font-size: 14px; }
.radio-v15-share__copy span { color: var(--radio-muted); font-size: 11px; }
.radio-v15-share__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.radio-share-btn {
    min-height: 36px;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid var(--radio-border);
    border-radius: 10px;
    background: #f8faf9;
    color: #45584e;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}
.radio-share-btn:hover { background: #eef4f1; }
.radio-share-whatsapp { color: #216e42; }
.radio-native-share { background: var(--radio-green-800); border-color: var(--radio-green-800); color: #fff; }
.radio-share-status { grid-column: 1 / -1; color: var(--radio-green-700); font-size: 11px; }
.radio-share-status:empty { display: none; }

/* Floating gear — fixed at one third from top, left side */
.radio-settings {
    position: fixed;
    z-index: 1060;
    top: 33vh;
    left: 14px;
    right: auto;
}
.radio-settings-gear {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(192,155,81,.45);
    border-radius: 13px;
    background: var(--radio-green-900);
    color: #e7cc88;
    box-shadow: 0 10px 28px rgba(18,52,44,.22);
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.radio-settings-gear:hover { transform: translateY(-1px) rotate(5deg); background: var(--radio-green-800); }
.radio-settings-gear i { font-size: 17px; }
.radio-settings-panel {
    position: fixed;
    z-index: 1070;
    top: 0;
    left: 0;
    width: min(350px, 92vw);
    height: 100dvh;
    padding: 19px;
    overflow-y: auto;
    border-inline-end: 1px solid var(--radio-border);
    background: #fff;
    box-shadow: 22px 0 65px rgba(10,31,23,.17);
    transform: translateX(-103%);
    transition: transform .23s ease;
}
.radio-settings.is-open .radio-settings-panel { transform: translateX(0); }
.radio-settings-backdrop {
    position: fixed;
    z-index: 1055;
    inset: 0;
    background: rgba(9,25,18,.38);
    backdrop-filter: blur(2px);
}
.radio-settings-open { overflow: hidden; }
.radio-settings-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
}
.radio-settings-head span { color: var(--radio-gold-600); font-size: 10px; font-weight: 800; }
.radio-settings-head h2 { margin: 2px 0 0; color: var(--radio-green-900); font-size: 20px; font-weight: 900; }
#radioSettingsClose {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid var(--radio-border);
    border-radius: 10px;
    background: #f7f9f8;
    color: #536159;
}
.radio-settings-group {
    padding: 14px 0;
    border-top: 1px solid #edf1ef;
}
.radio-settings-group h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    color: #4c5d54;
    font-size: 12px;
    font-weight: 850;
}
.radio-settings-group h3 i { color: var(--radio-gold-600); }
.radio-settings-languages .flags { margin: 0; text-align: start; }
.radio-settings-languages .flags img {
    width: 38px;
    height: 27px;
    margin: 0 4px;
    object-fit: cover;
    border: 1px solid var(--radio-border);
    border-radius: 7px;
}
.radio-settings-filters { display: grid; gap: 7px; }
.radio-filter-option,
.radio-theme-option {
    min-height: 39px;
    padding: 6px 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid var(--radio-border);
    border-radius: 10px;
    background: #f8faf9;
    color: #47584f;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}
.radio-filter-option input { accent-color: var(--radio-green-700); }
.radio-theme-option input { position: absolute; opacity: 0; }
.radio-theme-option i {
    width: 41px;
    height: 23px;
    padding: 3px;
    display: block;
    position: relative;
    border-radius: 999px;
    background: #c7d1cc;
    transition: .18s ease;
}
.radio-theme-option i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,.14);
    transition: transform .18s ease;
}
.radio-theme-option input:checked + i { background: var(--radio-green-700); }
.radio-theme-option input:checked + i::after { transform: translateX(18px); }
[dir="rtl"] .radio-theme-option input:checked + i::after { transform: translateX(18px); }
.radio-settings-reset {
    width: 100%;
    min-height: 40px;
    margin-top: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #e7dbbd;
    border-radius: 10px;
    background: #faf6ec;
    color: #725a28;
    font-size: 11px;
    font-weight: 850;
}

/* Modal */
.radio-v15-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--radio-border);
    border-radius: 19px;
    box-shadow: 0 22px 70px rgba(10,32,23,.22);
}
.radio-v15-modal .modal-header,
.radio-v15-modal .modal-footer { border-color: #e7ece9; }
.radio-modal-kicker { color: var(--radio-gold-600); font-size: 10px; font-weight: 850; }
.radio-v15-modal .modal-title { margin-top: 2px; color: var(--radio-green-900); font-weight: 900; }
.radio-live-player { padding: 12px; border: 1px solid var(--radio-border); border-radius: 13px; background: #f8faf9; }
.radio-live-note { display: flex; align-items: center; gap: 7px; color: var(--radio-muted); font-size: 10px; }
.radio-live-note i { color: var(--radio-green-700); }
.radio-modal-close { min-height: 38px; padding: 7px 13px; border: 1px solid var(--radio-border); border-radius: 10px; background: #f8faf9; color: #45564d; font-weight: 800; }

/* Dark */
body.radio-dark {
    --radio-bg: #101814;
    --radio-card: #17221c;
    --radio-text: #edf3ef;
    --radio-muted: #a8b4ad;
    --radio-border: #2c3b33;
    background: var(--radio-bg) !important;
    color: var(--radio-text);
}
body.radio-dark .radio-v15-tools { background: rgba(16,24,20,.96); border-color: #26352d; }
body.radio-dark .radio-v15-search,
body.radio-dark .radio-v15-home,
body.radio-dark .radio-v15-categories a,
body.radio-dark .radio-info,
body.radio-dark .radio-container > .container > .row,
body.radio-dark .radio-v15-share,
body.radio-dark .radio-settings-panel,
body.radio-dark .radio-filter-option,
body.radio-dark .radio-theme-option,
body.radio-dark #radioSettingsClose,
body.radio-dark .radio-live-player,
body.radio-dark .radio-modal-close,
body.radio-dark .radio-v15-modal .modal-content,
body.radio-dark .radio-v15-modal .modal-header,
body.radio-dark .radio-v15-modal .modal-body,
body.radio-dark .radio-v15-modal .modal-footer {
    background: #17221c !important;
    border-color: #2c3b33 !important;
    color: #edf3ef !important;
}
body.radio-dark .radio-v15-search input { color: #edf3ef; }
body.radio-dark .radio-category.white { background: #101814 !important; }
body.radio-dark .radio-category.gray { background: #131d18 !important; }
body.radio-dark .radio-category { border-color: #24332b !important; }
body.radio-dark .radio-category-title h1,
body.radio-dark .radio-info > p a,
body.radio-dark .radio-title h1,
body.radio-dark .radio-v15-share__copy strong,
body.radio-dark .radio-settings-head h2,
body.radio-dark .radio-v15-modal .modal-title { color: #e7efe9 !important; }
body.radio-dark .radio-icons a { background: #1c2a23; border-color: #33463c; color: #c7d3cc; }
body.radio-dark .radio-settings-gear { background: #203d32; }

/* Accessibility */
.radio-settings-gear:focus-visible,
.radio-share-btn:focus-visible,
.radio-v15-home:focus-visible,
.radio-v15-categories a:focus-visible,
.radio-info a:focus-visible,
#radioSettingsClose:focus-visible,
.radio-settings-reset:focus-visible,
.radio-v15-search input:focus-visible {
    outline: 3px solid rgba(192,155,81,.36);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .radio-v15-hero__inner { min-height: 137px; padding-top: 20px; padding-bottom: 20px; }
    .radio-v15-hero h1 { font-size: 25px; }
    .radio-v15-hero p { font-size: 12px; line-height: 1.65; }
    .radio-v15-hero__meta { margin-top: 8px; }
    .radio-v15-hero__meta span { padding: 4px 7px; font-size: 9px; }

    .radio-v15-tools { padding-top: 8px; }
    .radio-v15-search { min-height: 39px; }
    .radio-v15-search input { height: 37px; font-size: 12px; }
    .radio-v15-home { width: 40px; min-width: 40px; min-height: 40px; padding: 0; }
    .radio-v15-home span { display: none; }
    .radio-v15-categories { margin-top: 6px; gap: 5px; }
    .radio-v15-categories a { padding: 5px 8px; font-size: 10px; }

    .radio-category { scroll-margin-top: 105px; padding: 22px 0 !important; }
    .radio-category-title { margin-bottom: 15px !important; }
    .radio-category-title h1 { font-size: 20px !important; }
    .radio-info { padding: 11px 8px; border-radius: 13px; }
    .radio-image,
    .radio-image img { width: 78px !important; height: 78px !important; }
    .radio-image::after { width: 27px; height: 27px; font-size: 9px; }
    .radio-info > p a { font-size: 11px; }

    .radio-v15-share { grid-template-columns: 1fr; margin-inline: 10px; padding: 13px; }
    .radio-v15-share__actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; }
    .radio-share-btn { width: 100%; }

    .radio-settings { top: 33vh; left: 9px; }
    .radio-settings-gear { width: 42px; height: 42px; border-radius: 12px; }

    .radio-v15-modal .modal-dialog { margin: 10px; }
}

@media (max-width: 390px) {
    .radio-v15-hero__meta span:last-child { display: none; }
    .radio-category .row { --bs-gutter-x: 9px; --bs-gutter-y: 9px; }
    .radio-info { padding-inline: 6px; }
    .radio-image,
    .radio-image img { width: 70px !important; height: 70px !important; }
}

@media (max-width: 320px) {
    .radio-v15-hero h1 { font-size: 22px; }
    .radio-v15-hero p { font-size: 11px; }
    .radio-v15-tools__bar { gap: 6px; }
    .radio-v15-search { padding-inline: 7px 4px; }
    .radio-v15-categories a { font-size: 9px; }
    .radio-settings { left: 7px; }
    .radio-settings-gear { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   Radio playback reliability + clear card actions
   Source directory: current MP3Quran radios (resolved at runtime)
   ========================================================= */
.radio-info {
    cursor: default;
}

.radio-info:hover {
    transform: translateY(-1px);
}

.radio-info .radio-image::after {
    display: none !important;
}

.radio-info .radio-image a {
    display: block;
    border-radius: 50%;
}

.radio-card-title {
    width: 100%;
    min-height: 44px;
    margin: 0 0 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    text-align: center;
}

.radio-card-title a {
    color: var(--radio-text) !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.65;
}

.radio-card-actions {
    width: 100%;
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
}

.radio-card-action {
    width: 100%;
    min-height: 39px;
    padding: 7px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 10px;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.radio-card-action:hover {
    transform: translateY(-1px);
}

.radio-play-btn {
    border: 1px solid var(--radio-green-800);
    background: var(--radio-green-800);
    color: #fff !important;
    box-shadow: 0 6px 15px rgba(29, 79, 62, .13);
}

.radio-play-btn:hover {
    background: var(--radio-green-900);
    border-color: var(--radio-green-900);
    color: #fff !important;
}

.radio-open-btn {
    border: 1px solid #dfd2ae;
    background: #faf6eb;
    color: #745b24 !important;
}

.radio-open-btn:hover {
    border-color: #cfbb83;
    background: #f6edd8;
    color: #5e4719 !important;
}

/* Native player on the dedicated radio page */
.radio-single-player {
    padding: 13px;
    border: 1px solid var(--radio-border);
    border-radius: 13px;
    background: #f8faf9;
}

.radio-single-player .audio-player {
    display: block;
    width: 100%;
    margin: 9px 0 0 !important;
}

.radio-stream-status {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--radio-muted);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.6;
}

.radio-stream-status .fa-circle-check {
    color: var(--radio-green-700);
}

.radio-stream-status .fa-circle-exclamation {
    color: #a36e25;
}

.radio-stream-retry,
.radio-modal-retry,
.radio-modal-page-link {
    min-height: 38px;
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--radio-border);
    border-radius: 10px;
    background: #fff;
    color: #47594f !important;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none !important;
}

.radio-stream-retry {
    margin-top: 9px;
}

.radio-modal-page-link {
    border-color: #d8c99f;
    background: #fbf7ed;
    color: #705823 !important;
}

.radio-modal-retry {
    background: var(--radio-green-800);
    border-color: var(--radio-green-800);
    color: #fff !important;
}

.radio-modal-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.radio-live-player--loading {
    min-height: 108px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.radio-stream-error {
    min-height: 82px;
    padding: 12px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 9px;
    align-items: center;
    border: 1px solid #eadcc4;
    border-radius: 11px;
    background: #fffaf1;
    color: #735a2d;
}

.radio-stream-error i {
    grid-row: 1 / 3;
    font-size: 18px;
    color: #b08232;
}

.radio-stream-error strong {
    font-size: 12px;
}

.radio-stream-error span {
    font-size: 10px;
    color: #827055;
}

body.radio-dark .radio-open-btn,
body.radio-dark .radio-single-player,
body.radio-dark .radio-stream-retry,
body.radio-dark .radio-modal-page-link {
    background: #1b2922 !important;
    border-color: #3a4b42 !important;
    color: #e3d19d !important;
}

body.radio-dark .radio-stream-error {
    background: #2b271d;
    border-color: #51472f;
    color: #ead9a8;
}

.radio-card-action:focus-visible,
.radio-stream-retry:focus-visible,
.radio-modal-retry:focus-visible,
.radio-modal-page-link:focus-visible {
    outline: 3px solid rgba(192, 155, 81, .34);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .radio-info {
        padding: 11px 8px 10px;
    }

    .radio-card-title {
        min-height: 42px;
        margin-bottom: 9px !important;
    }

    .radio-card-title a {
        font-size: 10.5px !important;
    }

    .radio-card-actions {
        gap: 9px;
    }

    .radio-card-action {
        min-height: 36px;
        padding: 6px 5px;
        gap: 5px;
        font-size: 9.5px;
    }

    .radio-card-action i {
        font-size: 9px;
    }

    .radio-modal-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 390px) {
    .radio-card-actions {
        gap: 8px;
    }

    .radio-card-action {
        min-height: 35px;
        font-size: 9px;
    }
}
