:root {
    --bg: #f6f7fb;
    --surface: rgba(255,255,255,.86);
    --surface-strong: #ffffff;
    --text: #142033;
    --muted: #647187;
    --line: rgba(20,32,51,.12);
    --brand: #f26a2e;
    --brand-2: #244c9a;
    --accent: #0aa37f;
    --shadow: 0 20px 60px rgba(18,28,45,.12);
    --radius: 26px;
    --gap: 22px;
    --hero-min: 430px;
}

body[data-theme="light"] {
    --bg: #f7f9fc;
    --surface: rgba(255,255,255,.92);
    --brand: #1d65d8;
    --brand-2: #0f264a;
    --accent: #f26a2e;
}

body[data-theme="dark"] {
    --bg: #0d1420;
    --surface: rgba(22,31,48,.88);
    --surface-strong: #162033;
    --text: #f5f7fb;
    --muted: #aab6c9;
    --line: rgba(255,255,255,.12);
    --brand: #ff7a3d;
    --brand-2: #82a8ff;
    --accent: #49d4aa;
    --shadow: 0 24px 70px rgba(0,0,0,.34);
}

body[data-theme="classic"] {
    --bg: #f3efe6;
    --surface: rgba(255,250,238,.92);
    --text: #261f1a;
    --muted: #74695f;
    --brand: #b64022;
    --brand-2: #3f2c1d;
    --accent: #84643b;
}

body[data-theme="warm"] {
    --bg: #fff5ec;
    --surface: rgba(255,255,255,.9);
    --text: #2b211b;
    --muted: #7a6658;
    --brand: #e6582f;
    --brand-2: #7938d7;
    --accent: #d8a225;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.front {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 8%, rgba(242,106,46,.22), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(36,76,154,.22), transparent 34%),
        var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    padding-bottom: 96px;
}

a { color: inherit; }
.site-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 14px 0 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
    flex: 0 1 320px;
}
.brand-logo-animated {
    position: relative;
    display: block;
    width: clamp(120px, 14vw, 170px);
    aspect-ratio: 872 / 446;
    flex: 0 0 auto;
    perspective: 900px;
}
.brand-logo-animated img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.brand-globe-spin {
    animation: sepsiGlobeSpinSideways 18s linear infinite;
    transform-origin: 50% 50%;
    transform-style: preserve-3d;
    backface-visibility: visible;
    will-change: transform;
    filter: drop-shadow(0 8px 14px rgba(15, 23, 42, .10));
}
.brand-text-static {
    z-index: 1;
}
.brand-copy strong, .brand-copy em { display: block; }
.brand-copy em { color: var(--muted); font-size: 12px; font-style: normal; margin-top: 2px; }
.brand-copy strong { font-size: 20px; line-height: 1; }
.brand-copy { white-space: nowrap; }
.main-nav { flex: 1; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.main-nav a, .admin-link {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 999px;
}
.main-nav a:hover, .admin-link:hover { color: var(--text); background: rgba(127,139,163,.12); }
.admin-link { border: 1px solid var(--line); }

.appearance-panel {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
}
.appearance-panel > div { margin-right: auto; }
.appearance-panel strong, .appearance-panel span { display: block; }
.appearance-panel span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.appearance-panel label { color: var(--muted); font-size: 12px; font-weight: 800; }
.appearance-panel select {
    display: block;
    min-width: 150px;
    margin-top: 5px;
    padding: 9px 12px;
    color: var(--text);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    border-radius: 14px;
}

.hero {
    min-height: var(--hero-min);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    gap: var(--gap);
    align-items: stretch;
}
.hero-copy, .broadcast-info-card, .panel, .section, .legacy-sections article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.hero-copy {
    padding: clamp(28px, 6vw, 62px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.hero-copy:after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), transparent 70%);
    opacity: .18;
}
.eyebrow, .section-label {
    margin: 0 0 10px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}
h1 { margin: 0; max-width: 760px; font-size: clamp(42px, 7vw, 78px); line-height: .92; letter-spacing: -.065em; }
.lead { max-width: 650px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.primary-action, .secondary-action, .button-like {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
}
.primary-action { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.secondary-action { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.08); }
.broadcast-info-card { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.live-badge { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; color: #fff; background: var(--brand); font-weight: 900; }
.live-badge i { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.2); }
.info-badge { background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.broadcast-info-card h2 { margin: 18px 0 8px; font-size: 30px; }
.broadcast-info-card p { color: var(--muted); line-height: 1.5; }
.next-show-teaser {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.40);
}
body[data-theme="dark"] .next-show-teaser { background: rgba(255,255,255,.06); }
.next-show-teaser span,
.next-show-teaser strong,
.next-show-teaser em { display: block; }
.next-show-teaser span { color: var(--brand); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.next-show-teaser strong { margin-top: 5px; color: var(--text); font-size: 20px; line-height: 1.2; }
.next-show-teaser em { margin-top: 4px; color: var(--muted); font-style: normal; font-weight: 800; }
audio { width: 100%; margin: 12px 0; }
dl { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; margin: 16px 0 0; }
dt { color: var(--muted); font-weight: 800; } dd { margin: 0; font-weight: 800; }
.station-facts { margin-top: 16px; }
.next-show-line a { color: var(--text); font-weight: 900; text-decoration: none; }
.next-show-line a:hover { text-decoration: underline; }

.content-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--gap); margin-top: var(--gap); }
.panel { padding: 26px; }
.panel h2, .section h2, .legacy-sections h2 { margin: 0 0 10px; font-size: 28px; letter-spacing: -.03em; }
.panel p, .news-card p, .schedule-item p, .legacy-sections p { color: var(--muted); line-height: 1.55; }
.meter { height: 10px; margin-top: 20px; overflow: hidden; border-radius: 999px; background: rgba(127,139,163,.16); }
.meter span { display: block; width: 46%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--accent)); }

.section { margin-top: var(--gap); padding: 26px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head span { color: var(--muted); font-size: 14px; max-width: 380px; text-align: right; }
.schedule-list { display: grid; gap: 12px; }
.schedule-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
}
.schedule-item time { color: var(--brand); font-size: 24px; font-weight: 950; }
.schedule-item h3, .news-card h3 { margin: 0 0 6px; }
.schedule-item p { margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.news-card { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.08); }
.news-card span { color: var(--brand); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.legacy-sections { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: var(--gap); }
.legacy-sections article { padding: 20px; }
.legacy-sections h2 { font-size: 21px; }

.sticky-player {
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(260px, 390px) minmax(280px, 1fr);
    align-items: center;
    gap: 18px;
    width: min(1040px, calc(100% - 28px));
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.78));
    box-shadow: 0 26px 80px rgba(15, 23, 42, .18);
    backdrop-filter: blur(22px);
}
body[data-theme="dark"] .sticky-player {
    background: linear-gradient(135deg, rgba(22,31,48,.94), rgba(22,31,48,.80));
}
.sticky-player-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.sticky-player-logo {
    position: relative;
    display: block;
    width: clamp(92px, 10vw, 130px);
    aspect-ratio: 872 / 446;
    flex: 0 0 auto;
    perspective: 900px;
}
.sticky-player-logo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.sticky-player-copy {
    min-width: 0;
}
.sticky-player-copy strong,
.sticky-player-copy span {
    display: block;
}
.sticky-player-copy strong {
    color: var(--text);
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.player-status-text {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    margin-top: 4px;
}
.sticky-player-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
}
.player-toggle {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 16px 34px rgba(36,76,154,.28);
    cursor: pointer;
    font-weight: 950;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.player-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(36,76,154,.34);
}
.player-toggle:active {
    transform: translateY(0) scale(.97);
}
.player-toggle-icon-pause { display: none; }
.player-live-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 42px;
    min-width: 0;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.62);
}
body[data-theme="dark"] .player-live-meta {
    background: rgba(255,255,255,.06);
}
.player-live-dot {
    width: 11px;
    height: 11px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #a9b3c5;
    box-shadow: 0 0 0 5px rgba(169,179,197,.16);
}
.player-live-label {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sticky-player audio {
    display: none;
}
.sticky-player[data-player-state="playing"] .player-toggle-icon-play { display: none; }
.sticky-player[data-player-state="playing"] .player-toggle-icon-pause { display: block; }
.sticky-player[data-player-state="playing"] .player-live-dot {
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(10,163,127,.18), 0 0 24px rgba(10,163,127,.45);
    animation: sepsiLivePulse 1.5s ease-in-out infinite;
}
.sticky-player[data-player-state="playing"] .player-status-text {
    color: var(--accent);
}
.sticky-player[data-player-state="loading"] .player-live-dot {
    background: var(--brand);
    box-shadow: 0 0 0 6px rgba(242,106,46,.16);
    animation: sepsiLivePulse 1s ease-in-out infinite;
}
.sticky-player[data-player-state="error"] .player-live-dot {
    background: #ef4444;
    box-shadow: 0 0 0 6px rgba(239,68,68,.14);
}

body.is-page-loading main {
    opacity: .55;
    transition: opacity .16s ease;
}
@keyframes sepsiLivePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.22); opacity: .72; }
}

@keyframes sepsiGlobeSpinSideways {
    0% { transform: rotateY(0deg) translateZ(0); }
    25% { transform: rotateY(90deg) translateZ(0); }
    50% { transform: rotateY(180deg) translateZ(0); }
    75% { transform: rotateY(270deg) translateZ(0); }
    100% { transform: rotateY(360deg) translateZ(0); }
}

@media (prefers-reduced-motion: reduce) {
    .brand-globe-spin, .player-live-dot { animation: none; transform: none; }
}

body[data-layout="magazine"] .hero { grid-template-columns: 1fr; }
body[data-layout="magazine"] .hero-copy { min-height: 360px; }
body[data-layout="magazine"] .content-grid { grid-template-columns: 1fr 1fr; }
body[data-layout="compact"] { --gap: 14px; --hero-min: 320px; }
body[data-layout="compact"] h1 { font-size: clamp(36px, 5vw, 58px); }
body[data-layout="compact"] .hero { grid-template-columns: 1fr 1fr; }
body[data-layout="compact"] .hero-copy, body[data-layout="compact"] .broadcast-info-card, body[data-layout="compact"] .section, body[data-layout="compact"] .panel { padding: 20px; }
body[data-density="dense"] { --gap: 14px; --radius: 20px; }
body[data-density="dense"] .site-header, body[data-density="dense"] .appearance-panel { padding: 10px; }
body[data-density="dense"] .hero-copy, body[data-density="dense"] .broadcast-info-card, body[data-density="dense"] .section, body[data-density="dense"] .panel { padding: 20px; }

@media (max-width: 980px) {
    .site-header { align-items: flex-start; flex-direction: column; }
    .main-nav { justify-content: flex-start; }
    .hero, body[data-layout="compact"] .hero, .content-grid, body[data-layout="magazine"] .content-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .legacy-sections { grid-template-columns: 1fr 1fr; }
    .sticky-player { grid-template-columns: 1fr; }
    .sticky-player-controls { justify-content: flex-start; }
}

@media (max-width: 640px) {
    .site-wrap { width: min(100% - 22px, 1180px); }
    .legacy-sections { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .section-head span { display: block; max-width: none; text-align: left; margin-top: 8px; }
    .schedule-item { grid-template-columns: 1fr; }
    h1 { font-size: 40px; }
    .sticky-player { bottom: 10px; width: calc(100% - 18px); padding: 10px; }
    .sticky-player-logo { width: 92px; }
    .player-live-meta { flex: 1; min-width: 0; }
}

@media (max-width: 1180px) {
    .site-header { flex-wrap: wrap; }
    .brand { flex: 1 1 100%; }
    .main-nav { order: 3; width: 100%; justify-content: flex-start; }
}
@media (max-width: 760px) {
    .brand { flex-wrap: wrap; gap: 10px; }
    .brand-logo-animated { width: min(52vw, 180px); }
    .brand-copy { white-space: normal; }
}

.page-hero {
    margin-top: var(--gap);
    padding: clamp(28px, 5vw, 56px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}
.page-hero h1 {
    max-width: 900px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
}
.page-content-section {
    overflow: hidden;
}
.page-body {
    max-width: 920px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.72;
}
.page-body h1,
.page-body h2,
.page-body h3 {
    color: var(--text);
    letter-spacing: -.025em;
}
.page-body h1 { font-size: 34px; }
.page-body h2 { font-size: 28px; margin-top: 30px; }
.page-body h3 { font-size: 22px; margin-top: 24px; }
.page-body p { color: var(--text); }
.page-body a { color: var(--brand); font-weight: 800; }
.page-body img,
.page-body iframe,
.page-body object,
.page-body embed {
    max-width: 100%;
    height: auto;
}
.legacy-import-block {
    padding: 0 0 24px;
    margin: 0 0 24px;
    border-bottom: 1px solid var(--line);
}
.legacy-import-block:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.news-card h3 a {
    text-decoration: none;
}
.news-card h3 a:hover {
    color: var(--brand);
}
.news-card.is-imported {
    outline: 1px solid rgba(10, 163, 127, .25);
}
.news-card.is-pending {
    opacity: .78;
}

.news-list {
    display: grid;
    gap: 14px;
}
.news-list-card {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
}
.news-list-card time {
    color: var(--brand);
    font-weight: 950;
    letter-spacing: -.02em;
}
.news-list-card span {
    display: inline-block;
    margin-bottom: 6px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.news-list-card h3 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.6vw, 30px);
    letter-spacing: -.035em;
    line-height: 1.08;
}
.news-list-card h3 a {
    text-decoration: none;
}
.news-list-card h3 a:hover {
    color: var(--brand);
}
.news-list-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}
.empty-state {
    padding: 22px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    color: var(--muted);
    background: rgba(255,255,255,.08);
}
.back-link {
    margin-top: 22px;
}
.back-link a {
    color: var(--brand);
    font-weight: 900;
    text-decoration: none;
}
.section-actions {
    margin-top: 18px;
}
.news-detail-hero .lead {
    color: var(--brand);
    font-weight: 900;
}
@media (max-width: 720px) {
    .news-list-card {
        grid-template-columns: 1fr;
    }
}

.not-found-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.not-found-hero .lead {
    max-width: 780px;
}

/* 018 schedule module */
.next-show-line { margin-top: 8px; color: var(--muted); }
.next-show-line strong { color: var(--text); }
.schedule-overview-section { overflow: hidden; }
.now-playing-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.10);
    margin-bottom: 18px;
}
.now-playing-card strong,
.now-playing-card span,
.now-playing-card a { display: block; }
.now-playing-card strong { font-size: 24px; letter-spacing: -.035em; }
.now-playing-card span { color: var(--muted); }
.now-playing-card a { color: var(--brand); font-weight: 900; text-decoration: none; }
.week-schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(210px, 1fr));
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.day-schedule-card {
    min-width: 210px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    padding: 16px;
}
.day-schedule-card h3 { margin: 0 0 12px; font-size: 20px; }
.schedule-slot-row {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}
.schedule-slot-row:first-of-type { border-top: 0; }
.schedule-slot-row time { color: var(--brand); font-weight: 950; font-size: 14px; }
.schedule-slot-row a { text-decoration: none; font-weight: 850; line-height: 1.25; }
.schedule-slot-row a:hover { color: var(--brand); }
.show-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.show-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    padding: 18px;
}
.show-card h3 { margin: 0 0 8px; line-height: 1.12; }
.show-card h3 a { text-decoration: none; }
.show-card h3 a:hover { color: var(--brand); }
.show-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.show-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: var(--gap);
}
.show-side-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    padding: 20px;
    height: fit-content;
}
.show-time-list { display: grid; gap: 10px; }
.show-time-list div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}
.show-time-list div:first-child { border-top: 0; }
.show-time-list span { color: var(--brand); font-weight: 900; }
.muted-inline { color: var(--muted); line-height: 1.55; }
.schedule-item h3 a { text-decoration: none; }
.schedule-item h3 a:hover { color: var(--brand); }
@media (max-width: 1180px) { .show-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .show-detail-grid { grid-template-columns: 1fr; } .now-playing-card { display: block; } .now-playing-card span, .now-playing-card a { margin-top: 6px; } }
@media (max-width: 640px) { .show-card-grid { grid-template-columns: 1fr; } }

.gallery-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.gallery-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,.08);
}
.gallery-card a {
    display: grid;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}
.gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: rgba(127,139,163,.12);
}
.gallery-card div {
    padding: 18px;
}
.gallery-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
    letter-spacing: -.02em;
}
.gallery-card p {
    margin: 0 0 12px;
    color: var(--muted);
    line-height: 1.5;
}
.gallery-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.gallery-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.gallery-photo-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(127,139,163,.12);
    min-height: 130px;
    text-decoration: none;
}
.gallery-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .25s ease;
}
.gallery-photo-card:hover img { transform: scale(1.04); }
.gallery-photo-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(transparent, rgba(0,0,0,.72));
}
@media (max-width: 980px) {
    .gallery-card-grid { grid-template-columns: 1fr 1fr; }
    .gallery-photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .gallery-card-grid, .gallery-photo-grid { grid-template-columns: 1fr; }
}

/* 024: egységes, valódi kártyás front minden nézetben */
:root {
    --card-bg: rgba(255,255,255,.94);
    --card-bg-soft: rgba(255,255,255,.74);
    --card-border: rgba(20,32,51,.11);
    --card-shadow-strong: 0 24px 70px rgba(18,28,45,.13);
    --card-shadow-soft: 0 14px 40px rgba(18,28,45,.08);
    --card-radius: 28px;
    --card-radius-small: 20px;
}
body[data-theme="dark"] {
    --card-bg: rgba(22,31,48,.92);
    --card-bg-soft: rgba(22,31,48,.72);
    --card-border: rgba(255,255,255,.13);
    --card-shadow-strong: 0 24px 70px rgba(0,0,0,.36);
    --card-shadow-soft: 0 14px 42px rgba(0,0,0,.26);
}
body[data-theme="warm"],
body[data-theme="classic"],
body[data-theme="light"] {
    --surface: var(--card-bg);
    --surface-strong: #ffffff;
}
.site-header,
.appearance-panel,
.hero-copy,
.broadcast-info-card,
.panel,
.section,
.legacy-sections article,
.page-hero,
.page-content-section,
.show-side-card,
.gallery-list-hero,
.gallery-detail-hero,
.schedule-hero,
.news-list-hero,
.news-detail-hero,
.not-found-hero,
.sticky-player {
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    background: var(--card-bg);
    box-shadow: var(--card-shadow-strong);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}
.hero {
    align-items: stretch;
}
.hero-copy,
.broadcast-info-card {
    min-height: 100%;
    isolation: isolate;
}
.hero-copy:after {
    z-index: -1;
}
.broadcast-info-card {
    position: relative;
    overflow: hidden;
    justify-content: center;
    gap: 8px;
}
.broadcast-info-card:before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -86px;
    top: -96px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(242,106,46,.22), rgba(36,76,154,.12));
    pointer-events: none;
}
.broadcast-info-card > * {
    position: relative;
    z-index: 1;
}
.broadcast-info-card h2 {
    letter-spacing: -.035em;
    line-height: 1.08;
}
.station-facts {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--card-border);
}
.station-facts dl,
.broadcast-info-card dl {
    margin-top: 0;
}
.station-facts dt,
.broadcast-info-card dt {
    color: var(--muted);
}
.station-facts dd,
.broadcast-info-card dd {
    color: var(--text);
}
.news-card,
.schedule-item,
.gallery-card,
.gallery-photo-card,
.next-show-teaser,
.show-time-list div,
.imported-page-card,
.card-link,
.content-card {
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius-small);
    background: var(--card-bg-soft);
    box-shadow: var(--card-shadow-soft);
}
.news-card,
.gallery-card,
.legacy-sections article,
.schedule-item {
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.news-card:hover,
.gallery-card:hover,
.legacy-sections article:hover,
.schedule-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-strong);
    border-color: rgba(242,106,46,.25);
}
.appearance-panel {
    padding: 16px;
}
.appearance-panel select {
    background: var(--surface-strong);
    border-color: var(--card-border);
    box-shadow: 0 8px 22px rgba(18,28,45,.05);
}
body[data-layout="compact"] .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .98fr);
    align-items: stretch;
}
body[data-layout="compact"] .hero-copy,
body[data-layout="compact"] .broadcast-info-card {
    min-height: 320px;
}
body[data-layout="magazine"] .hero {
    align-items: stretch;
}
body[data-layout="magazine"] .broadcast-info-card {
    min-height: 260px;
}
body[data-density="dense"] .site-header,
body[data-density="dense"] .appearance-panel,
body[data-density="dense"] .hero-copy,
body[data-density="dense"] .broadcast-info-card,
body[data-density="dense"] .panel,
body[data-density="dense"] .section,
body[data-density="dense"] .page-hero {
    border-radius: 22px;
}
.sticky-player {
    border-radius: 28px;
    background: rgba(255,255,255,.96);
}
body[data-theme="dark"] .sticky-player {
    background: var(--card-bg);
}
.player-status-pill {
    background: var(--card-bg-soft);
    border-color: var(--card-border);
}
@media (max-width: 980px) {
    body[data-layout="compact"] .hero,
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-copy,
    .broadcast-info-card,
    body[data-layout="compact"] .hero-copy,
    body[data-layout="compact"] .broadcast-info-card {
        min-height: auto;
    }
}
@media (max-width: 640px) {
    :root {
        --card-radius: 22px;
        --card-radius-small: 18px;
    }
    .appearance-panel,
    .hero-copy,
    .broadcast-info-card,
    .panel,
    .section,
    .page-hero,
    .page-content-section {
        border-radius: var(--card-radius);
    }
}

/* 025 - markans megjelenesvalto presetek */
body[data-theme="sepsi"] {
    --bg: #f6f7fb;
    --surface: rgba(255,255,255,.92);
    --surface-strong: #ffffff;
    --text: #142033;
    --muted: #647187;
    --line: rgba(20,32,51,.12);
    --brand: #f26a2e;
    --brand-2: #244c9a;
    --accent: #0aa37f;
    --wash-1: rgba(242,106,46,.22);
    --wash-2: rgba(36,76,154,.22);
}
body[data-theme="light"] {
    --bg: #f7f9fc;
    --surface: rgba(255,255,255,.95);
    --surface-strong: #ffffff;
    --text: #111827;
    --muted: #5d687a;
    --line: rgba(17,24,39,.12);
    --brand: #1d65d8;
    --brand-2: #0f264a;
    --accent: #f26a2e;
    --wash-1: rgba(29,101,216,.18);
    --wash-2: rgba(242,106,46,.15);
}
body[data-theme="dark"] {
    --bg: #0d1420;
    --surface: rgba(22,31,48,.9);
    --surface-strong: #162033;
    --text: #f5f7fb;
    --muted: #aab6c9;
    --line: rgba(255,255,255,.13);
    --brand: #ff7a3d;
    --brand-2: #82a8ff;
    --accent: #49d4aa;
    --wash-1: rgba(255,122,61,.18);
    --wash-2: rgba(130,168,255,.18);
}
body[data-theme="classic"] {
    --bg: #f3efe6;
    --surface: rgba(255,250,238,.94);
    --surface-strong: #fff9ec;
    --text: #261f1a;
    --muted: #74695f;
    --line: rgba(38,31,26,.13);
    --brand: #b64022;
    --brand-2: #3f2c1d;
    --accent: #84643b;
    --wash-1: rgba(182,64,34,.18);
    --wash-2: rgba(132,100,59,.14);
}
body[data-theme="sunrise"] {
    --bg: #fff4df;
    --surface: rgba(255,255,255,.93);
    --surface-strong: #fffaf0;
    --text: #2f2418;
    --muted: #7a6550;
    --line: rgba(104,72,39,.16);
    --brand: #f06b2f;
    --brand-2: #f7b733;
    --accent: #8f42d6;
    --wash-1: rgba(240,107,47,.24);
    --wash-2: rgba(247,183,51,.24);
}
body[data-theme="sky"] {
    --bg: #eef7ff;
    --surface: rgba(255,255,255,.93);
    --surface-strong: #ffffff;
    --text: #12304c;
    --muted: #5b7893;
    --line: rgba(18,48,76,.14);
    --brand: #1683e2;
    --brand-2: #0ba6c7;
    --accent: #ff8b39;
    --wash-1: rgba(22,131,226,.24);
    --wash-2: rgba(11,166,199,.2);
}
body[data-theme="coral"] {
    --bg: #fff0ef;
    --surface: rgba(255,255,255,.94);
    --surface-strong: #ffffff;
    --text: #302023;
    --muted: #806269;
    --line: rgba(180,69,78,.15);
    --brand: #ff4e50;
    --brand-2: #f9a03f;
    --accent: #2ab7ca;
    --wash-1: rgba(255,78,80,.22);
    --wash-2: rgba(249,160,63,.2);
}
body[data-theme="mint"] {
    --bg: #eefbf4;
    --surface: rgba(255,255,255,.94);
    --surface-strong: #ffffff;
    --text: #12372f;
    --muted: #5e7e74;
    --line: rgba(18,55,47,.14);
    --brand: #04a777;
    --brand-2: #0c6b82;
    --accent: #f26a2e;
    --wash-1: rgba(4,167,119,.24);
    --wash-2: rgba(12,107,130,.18);
}
body[data-theme="gold"] {
    --bg: #fff7df;
    --surface: rgba(255,252,243,.95);
    --surface-strong: #ffffff;
    --text: #2d230f;
    --muted: #806f4b;
    --line: rgba(122,91,22,.16);
    --brand: #cf8a00;
    --brand-2: #5d3a00;
    --accent: #2f80ed;
    --wash-1: rgba(207,138,0,.24);
    --wash-2: rgba(93,58,0,.12);
}
body[data-theme="mono"] {
    --bg: #f4f4f5;
    --surface: rgba(255,255,255,.94);
    --surface-strong: #ffffff;
    --text: #18181b;
    --muted: #71717a;
    --line: rgba(24,24,27,.13);
    --brand: #27272a;
    --brand-2: #71717a;
    --accent: #0ea5e9;
    --wash-1: rgba(39,39,42,.13);
    --wash-2: rgba(113,113,122,.13);
}
body[data-theme="earth"] {
    --bg: #f4eadc;
    --surface: rgba(255,250,242,.94);
    --surface-strong: #fff8ee;
    --text: #2d2218;
    --muted: #7b6855;
    --line: rgba(86,58,33,.16);
    --brand: #8b5e34;
    --brand-2: #3d6b45;
    --accent: #c56a2d;
    --wash-1: rgba(139,94,52,.22);
    --wash-2: rgba(61,107,69,.17);
}
body[data-theme="neon"] {
    --bg: #10091f;
    --surface: rgba(24,14,44,.9);
    --surface-strong: #20113b;
    --text: #fff7ff;
    --muted: #c7b7df;
    --line: rgba(255,255,255,.14);
    --brand: #ff2bd6;
    --brand-2: #00e5ff;
    --accent: #b6ff00;
    --wash-1: rgba(255,43,214,.23);
    --wash-2: rgba(0,229,255,.2);
}
body[data-theme="nocturne"] {
    --bg: #070b16;
    --surface: rgba(12,18,34,.92);
    --surface-strong: #0f172a;
    --text: #f8fafc;
    --muted: #a8b3c6;
    --line: rgba(226,232,240,.13);
    --brand: #7c3aed;
    --brand-2: #2563eb;
    --accent: #22d3ee;
    --wash-1: rgba(124,58,237,.2);
    --wash-2: rgba(37,99,235,.18);
}
body[data-theme="forest"] {
    --bg: #edf6ed;
    --surface: rgba(255,255,255,.94);
    --surface-strong: #ffffff;
    --text: #112a1c;
    --muted: #607b68;
    --line: rgba(17,42,28,.14);
    --brand: #247a3d;
    --brand-2: #0f5132;
    --accent: #d97706;
    --wash-1: rgba(36,122,61,.23);
    --wash-2: rgba(15,81,50,.17);
}
body[data-theme="royal"] {
    --bg: #f0f2ff;
    --surface: rgba(255,255,255,.94);
    --surface-strong: #ffffff;
    --text: #171432;
    --muted: #67648a;
    --line: rgba(23,20,50,.14);
    --brand: #4438ca;
    --brand-2: #b45309;
    --accent: #d946ef;
    --wash-1: rgba(68,56,202,.23);
    --wash-2: rgba(180,83,9,.18);
}
body.front {
    background:
        radial-gradient(circle at 12% 8%, var(--wash-1, rgba(242,106,46,.22)), transparent 30%),
        radial-gradient(circle at 88% 0%, var(--wash-2, rgba(36,76,154,.22)), transparent 34%),
        var(--bg);
}
.primary-action,
.player-toggle-button,
.live-badge,
.info-badge {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.meter span {
    background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* 025 - markans layout presetek */
body[data-layout="broadcast"] .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
}
body[data-layout="magazine"] .hero {
    grid-template-columns: 1fr;
}
body[data-layout="magazine"] .hero-copy {
    min-height: 340px;
}
body[data-layout="magazine"] .broadcast-info-card {
    min-height: 220px;
}
body[data-layout="magazine"] .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-layout="magazine"] .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-layout="compact"] .hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
    --hero-min: 300px;
}
body[data-layout="compact"] h1 {
    font-size: clamp(34px, 4.8vw, 58px);
}
body[data-layout="compact"] .news-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
body[data-layout="compact"] .legacy-sections {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
body[data-layout="portal"] main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}
body[data-layout="portal"] main > * {
    margin-top: 0;
}
body[data-layout="portal"] .hero,
body[data-layout="portal"] .section,
body[data-layout="portal"] .legacy-sections,
body[data-layout="portal"] .gallery-section,
body[data-layout="portal"] .page-hero,
body[data-layout="portal"] .page-content-section {
    grid-column: 1 / -1;
}
body[data-layout="portal"] .content-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}
body[data-layout="portal"] .news-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
body[data-layout="split"] .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 46px);
}
body[data-layout="split"] .hero-copy,
body[data-layout="split"] .broadcast-info-card {
    min-height: 460px;
}
body[data-layout="split"] .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
body[data-layout="split"] .section-head {
    align-items: center;
}
body[data-layout="mosaic"] .hero {
    grid-template-columns: minmax(0, .75fr) minmax(300px, 1.25fr);
}
body[data-layout="mosaic"] .content-grid {
    grid-template-columns: .82fr 1.18fr;
}
body[data-layout="mosaic"] .news-grid {
    grid-template-columns: 1.25fr .85fr .85fr;
}
body[data-layout="mosaic"] .news-card:first-child {
    grid-row: span 2;
    min-height: 260px;
}
body[data-layout="mosaic"] .legacy-sections {
    grid-template-columns: 1.2fr .8fr 1fr 1fr;
}
body[data-layout="sidebar"] main {
    display: grid;
    grid-template-columns: minmax(230px, 300px) minmax(0, 1fr);
    gap: var(--gap);
    align-items: start;
}
body[data-layout="sidebar"] .hero {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
}
body[data-layout="sidebar"] .content-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 0;
}
body[data-layout="sidebar"] .section,
body[data-layout="sidebar"] .legacy-sections,
body[data-layout="sidebar"] .gallery-section {
    margin-top: 0;
}
body[data-layout="sidebar"] .news-grid,
body[data-layout="sidebar"] .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 025 - lathato surusegi fokozatok */
body[data-density="airy"] {
    --gap: 34px;
    --radius: 34px;
    --hero-min: 520px;
}
body[data-density="airy"] .site-wrap { width: min(1260px, calc(100% - 56px)); }
body[data-density="airy"] .site-header,
body[data-density="airy"] .appearance-panel { padding: 22px; }
body[data-density="airy"] .hero-copy,
body[data-density="airy"] .broadcast-info-card,
body[data-density="airy"] .panel,
body[data-density="airy"] .section,
body[data-density="airy"] .page-hero { padding: clamp(34px, 6vw, 78px); }
body[data-density="airy"] h1 { font-size: clamp(50px, 8vw, 92px); }
body[data-density="airy"] .lead { font-size: clamp(19px, 2.3vw, 24px); }

body[data-density="comfortable"] {
    --gap: 24px;
    --radius: 28px;
    --hero-min: 430px;
}
body[data-density="balanced"] {
    --gap: 18px;
    --radius: 24px;
    --hero-min: 380px;
}
body[data-density="balanced"] .site-header,
body[data-density="balanced"] .appearance-panel { padding: 13px; }
body[data-density="balanced"] .hero-copy,
body[data-density="balanced"] .broadcast-info-card,
body[data-density="balanced"] .panel,
body[data-density="balanced"] .section,
body[data-density="balanced"] .page-hero { padding: 24px; }
body[data-density="balanced"] h1 { font-size: clamp(40px, 6vw, 66px); }

body[data-density="compact"] {
    --gap: 12px;
    --radius: 18px;
    --hero-min: 300px;
}
body[data-density="compact"] .site-wrap { width: min(1180px, calc(100% - 20px)); }
body[data-density="compact"] .site-header,
body[data-density="compact"] .appearance-panel { padding: 10px; }
body[data-density="compact"] .hero-copy,
body[data-density="compact"] .broadcast-info-card,
body[data-density="compact"] .panel,
body[data-density="compact"] .section,
body[data-density="compact"] .page-hero { padding: 18px; }
body[data-density="compact"] h1 { font-size: clamp(34px, 5vw, 54px); }
body[data-density="compact"] .lead { font-size: 16px; }
body[data-density="compact"] .main-nav a { padding: 8px 9px; }

body[data-density="dense"] {
    --gap: 8px;
    --radius: 15px;
    --hero-min: 260px;
}
body[data-density="dense"] .site-wrap { width: min(1200px, calc(100% - 14px)); }
body[data-density="dense"] .site-header,
body[data-density="dense"] .appearance-panel { padding: 8px; }
body[data-density="dense"] .hero-copy,
body[data-density="dense"] .broadcast-info-card,
body[data-density="dense"] .panel,
body[data-density="dense"] .section,
body[data-density="dense"] .page-hero { padding: 14px; }
body[data-density="dense"] h1 { font-size: clamp(30px, 4.4vw, 46px); }
body[data-density="dense"] .lead,
body[data-density="dense"] p { font-size: 14px; }
body[data-density="dense"] .main-nav a { padding: 7px 8px; font-size: 13px; }
body[data-density="dense"] .brand-logo-animated { width: clamp(92px, 10vw, 130px); }

body[data-density="ultra"] {
    --gap: 6px;
    --radius: 12px;
    --hero-min: 220px;
}
body[data-density="ultra"] .site-wrap { width: min(1260px, calc(100% - 10px)); }
body[data-density="ultra"] .site-header,
body[data-density="ultra"] .appearance-panel { padding: 6px; margin-top: 8px; margin-bottom: 8px; }
body[data-density="ultra"] .hero-copy,
body[data-density="ultra"] .broadcast-info-card,
body[data-density="ultra"] .panel,
body[data-density="ultra"] .section,
body[data-density="ultra"] .page-hero { padding: 10px; }
body[data-density="ultra"] h1 { font-size: clamp(26px, 3.9vw, 38px); line-height: 1; }
body[data-density="ultra"] h2 { font-size: 22px; }
body[data-density="ultra"] .lead,
body[data-density="ultra"] p { font-size: 13px; line-height: 1.35; }
body[data-density="ultra"] .main-nav { gap: 2px; }
body[data-density="ultra"] .main-nav a { padding: 6px 7px; font-size: 12px; }
body[data-density="ultra"] .brand-logo-animated { width: clamp(76px, 8vw, 108px); }
body[data-density="ultra"] .brand-copy strong { font-size: 16px; }
body[data-density="ultra"] .brand-copy em { font-size: 11px; }
body[data-density="ultra"] .news-card,
body[data-density="ultra"] .schedule-item,
body[data-density="ultra"] .gallery-card,
body[data-density="ultra"] .legacy-sections article { padding: 10px; }

@media (max-width: 980px) {
    body[data-layout="portal"] main,
    body[data-layout="sidebar"] main {
        display: block;
    }
    body[data-layout="portal"] main > *,
    body[data-layout="sidebar"] main > * {
        margin-top: var(--gap);
    }
    body[data-layout="portal"] main > *:first-child,
    body[data-layout="sidebar"] main > *:first-child {
        margin-top: 0;
    }
    body[data-layout="compact"] .news-grid,
    body[data-layout="portal"] .news-grid,
    body[data-layout="mosaic"] .news-grid,
    body[data-layout="sidebar"] .news-grid,
    body[data-layout="sidebar"] .gallery-grid {
        grid-template-columns: 1fr;
    }
    body[data-layout="mosaic"] .news-card:first-child {
        grid-row: auto;
        min-height: auto;
    }
}


/* 028 - alsó rádiólejátszó: dinamikus retro LED VU */
.sticky-player {
    position: fixed;
    overflow: hidden;
    grid-template-columns: minmax(260px, 390px) minmax(250px, 1fr) minmax(280px, auto);
    padding: 16px 18px;
    border: 0 !important;
    background: linear-gradient(90deg,
        #06b6d4 0%,
        #4f46e5 16%,
        #a855f7 33%,
        #ec4899 50%,
        #f97316 66%,
        #eab308 83%,
        #22c55e 100%
    ) !important;
    background-size: 220% 100% !important;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .24), 0 0 34px rgba(118, 74, 241, .18);
    animation: sepsiPlayerBorderFlow 8s linear infinite;
    isolation: isolate;
}
.sticky-player:before {
    content: "";
    position: absolute;
    inset: 4px;
    z-index: 0;
    border-radius: calc(var(--card-radius, 28px) - 4px);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,249,255,.9));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.78), inset 0 18px 36px rgba(255,255,255,.28);
    pointer-events: none;
}
body[data-theme="dark"] .sticky-player:before {
    background: linear-gradient(180deg, rgba(11,16,27,.96), rgba(18,25,40,.92));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 14px 28px rgba(255,255,255,.02);
}
.sticky-player > * {
    position: relative;
    z-index: 1;
}
.sticky-player-brand {
    min-width: 0;
}
.sticky-player-vu {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 18px;
    min-width: 250px;
    height: 78px;
    padding: 12px 18px 10px;
    border: 1px solid rgba(47,62,94,.18);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0)) top/100% 26% no-repeat,
        linear-gradient(180deg, #1c2534 0%, #0d1320 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -10px 18px rgba(0,0,0,.28),
        0 12px 30px rgba(15,23,42,.08);
}
.sticky-player-vu:before,
.sticky-player-vu:after {
    position: absolute;
    top: 7px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(236, 241, 249, .62);
}
.sticky-player-vu:before {
    content: 'L';
    left: 18px;
}
.sticky-player-vu:after {
    content: 'R';
    right: 18px;
}
body[data-theme="dark"] .sticky-player-vu {
    border-color: rgba(255,255,255,.10);
}
.vu-channel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(10px, 1fr));
    align-items: end;
    gap: 5px;
    height: 100%;
    padding-top: 10px;
}
.vu-channel + .vu-channel {
    border-left: 1px solid rgba(255,255,255,.10);
    padding-left: 16px;
}
.vu-channel span {
    display: block;
    align-self: end;
    height: 22%;
    min-height: 12px;
    border-radius: 2px;
    border: 1px solid rgba(20,28,40,.66);
    background:
        repeating-linear-gradient(
            to top,
            #1ec97b 0 7px,
            #1ec97b 7px,
            #0e1522 7px 9px,
            #0e1522 9px
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.2),
        inset 0 -1px 0 rgba(0,0,0,.38),
        0 0 0 rgba(30,201,123,0);
    opacity: .44;
    filter: saturate(.85) brightness(.9);
    transform-origin: bottom center;
    transition: opacity .18s ease, height .16s ease, filter .18s ease, box-shadow .18s ease;
}
.vu-channel span:nth-child(1) { height: 18%; }
.vu-channel span:nth-child(2) { height: 34%; }
.vu-channel span:nth-child(3) { height: 52%; }
.vu-channel span:nth-child(4) { height: 76%; }
.vu-channel span:nth-child(5) { height: 48%; }
.vu-channel span:nth-child(6) { height: 26%; }
.sticky-player[data-player-state="playing"] .vu-channel span {
    opacity: .98;
    filter: saturate(1.15) brightness(1.02);
    box-shadow: 0 0 12px rgba(255, 200, 64, .14), 0 0 22px rgba(30,201,123,.12);
}
.sticky-player[data-player-state="playing"] .vu-channel span:nth-child(4),
.sticky-player[data-player-state="playing"] .vu-channel span:nth-child(5),
.sticky-player[data-player-state="playing"] .vu-channel span:nth-child(6) {
    background: repeating-linear-gradient(
        to top,
        #16c772 0 8px,
        #16c772 8px 18px,
        #ffd33d 18px 28px,
        #0e1522 28px 30px,
        #ff8f34 30px 38px,
        #ff4f5f 38px 46px,
        #0e1522 46px 48px
    );
}
.sticky-player[data-player-state="playing"] .vu-left span:nth-child(1) { animation: sepsiVuKick 520ms steps(5, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-left span:nth-child(2) { animation: sepsiVuSwing 680ms steps(6, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-left span:nth-child(3) { animation: sepsiVuRise 730ms steps(7, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-left span:nth-child(4) { animation: sepsiVuPeak 480ms steps(8, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-left span:nth-child(5) { animation: sepsiVuSwing 600ms steps(6, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-left span:nth-child(6) { animation: sepsiVuPulse 560ms steps(5, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-right span:nth-child(1) { animation: sepsiVuPulse 570ms steps(5, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-right span:nth-child(2) { animation: sepsiVuKick 490ms steps(5, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-right span:nth-child(3) { animation: sepsiVuPeak 650ms steps(8, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-right span:nth-child(4) { animation: sepsiVuRise 710ms steps(7, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-right span:nth-child(5) { animation: sepsiVuSwing 540ms steps(6, end) infinite alternate; }
.sticky-player[data-player-state="playing"] .vu-right span:nth-child(6) { animation: sepsiVuKick 620ms steps(5, end) infinite alternate; }
.sticky-player[data-player-state="idle"] .sticky-player-vu,
.sticky-player[data-player-state="paused"] .sticky-player-vu {
    opacity: .92;
}
.sticky-player[data-player-state="idle"] .vu-channel span,
.sticky-player[data-player-state="paused"] .vu-channel span {
    opacity: .36;
    filter: saturate(.65) brightness(.82);
}
.sticky-player[data-player-state="loading"] .vu-channel span {
    opacity: .82;
    animation: sepsiVuScan 860ms steps(5, end) infinite alternate;
}
.sticky-player[data-player-state="error"] .vu-channel span {
    background: repeating-linear-gradient(
        to top,
        #ff5568 0 8px,
        #ff5568 8px 18px,
        #0e1522 18px 20px,
        #ff8896 20px 28px,
        #0e1522 28px 30px
    );
    opacity: .72;
}
@keyframes sepsiPlayerBorderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
}
@keyframes sepsiVuKick { from { height: 16%; } to { height: 58%; } }
@keyframes sepsiVuSwing { from { height: 28%; } to { height: 72%; } }
@keyframes sepsiVuRise { from { height: 38%; } to { height: 88%; } }
@keyframes sepsiVuPeak { from { height: 46%; } to { height: 100%; } }
@keyframes sepsiVuPulse { from { height: 22%; } to { height: 66%; } }
@keyframes sepsiVuScan { from { height: 18%; } to { height: 50%; } }
@media (max-width: 980px) {
    .sticky-player {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .sticky-player-vu {
        width: 100%;
        min-width: 0;
        order: 3;
        height: 64px;
    }
    .sticky-player-controls {
        justify-content: space-between;
        width: 100%;
    }
}
@media (max-width: 640px) {
    .sticky-player {
        padding: 12px;
    }
    .sticky-player:before {
        inset: 3px;
    }
    .sticky-player-vu {
        height: 58px;
        padding: 10px 12px 8px;
        gap: 12px;
        border-radius: 16px;
    }
    .vu-channel {
        grid-template-columns: repeat(6, minmax(8px, 1fr));
        gap: 4px;
    }
    .vu-channel + .vu-channel {
        padding-left: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .sticky-player,
    .sticky-player[data-player-state="playing"] .vu-channel span,
    .sticky-player[data-player-state="loading"] .vu-channel span {
        animation: none !important;
    }
}


/* 030 - kompakt, webes műsorfüzet nézet */
.schedule-overview-section {
    overflow: visible;
}
.schedule-overview-section .section-head {
    margin-bottom: 12px;
}
.schedule-overview-section .section-head h2 {
    font-size: clamp(23px, 2.2vw, 34px);
    line-height: 1.05;
}
.now-playing-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 18px;
}
.now-playing-card strong {
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.05;
}
.now-playing-card span {
    font-size: 13px;
    white-space: nowrap;
}
.now-playing-card a {
    font-size: 13px;
    white-space: nowrap;
}
.week-schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 9px;
    overflow: visible;
    padding-bottom: 0;
    width: 100%;
}
.day-schedule-card {
    min-width: 0;
    padding: 11px 10px 10px;
    border-radius: 16px;
}
.day-schedule-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.schedule-slot-row {
    display: block;
    padding: 7px 0 8px;
    border-top: 1px solid var(--card-border, var(--line));
}
.schedule-slot-row:first-of-type {
    border-top: 0;
}
.schedule-slot-row time {
    position: relative;
    display: block;
    color: var(--brand);
    font-weight: 900;
    font-size: 11px;
    line-height: 1.05;
    letter-spacing: .015em;
    padding-bottom: 4px;
    margin-bottom: 5px;
}
.schedule-slot-row time:after {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    margin-top: 4px;
    background: linear-gradient(90deg, var(--brand), rgba(255,255,255,0));
    opacity: .42;
}
.schedule-slot-row a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    font-weight: 850;
    font-size: 12px;
    line-height: 1.16;
    letter-spacing: -.012em;
}
.schedule-slot-row a:hover {
    color: var(--brand);
}
body[data-density="airy"] .week-schedule-grid { gap: 12px; }
body[data-density="airy"] .day-schedule-card { padding: 13px 12px; }
body[data-density="airy"] .schedule-slot-row { padding: 8px 0 9px; }
body[data-density="airy"] .schedule-slot-row a { font-size: 12.5px; }
body[data-density="comfortable"] .schedule-slot-row a,
body[data-density="balanced"] .schedule-slot-row a { font-size: 12px; }
body[data-density="compact"] .week-schedule-grid,
body[data-density="dense"] .week-schedule-grid,
body[data-density="ultra"] .week-schedule-grid { gap: 7px; }
body[data-density="compact"] .day-schedule-card,
body[data-density="dense"] .day-schedule-card,
body[data-density="ultra"] .day-schedule-card { padding: 9px 8px; }
body[data-density="compact"] .day-schedule-card h3,
body[data-density="dense"] .day-schedule-card h3,
body[data-density="ultra"] .day-schedule-card h3 { font-size: 14px; }
body[data-density="compact"] .schedule-slot-row,
body[data-density="dense"] .schedule-slot-row,
body[data-density="ultra"] .schedule-slot-row { padding: 6px 0; }
body[data-density="compact"] .schedule-slot-row time,
body[data-density="dense"] .schedule-slot-row time,
body[data-density="ultra"] .schedule-slot-row time { font-size: 10.5px; }
body[data-density="compact"] .schedule-slot-row a,
body[data-density="dense"] .schedule-slot-row a,
body[data-density="ultra"] .schedule-slot-row a { font-size: 11px; line-height: 1.12; }

@media (max-width: 1180px) {
    .week-schedule-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 820px) {
    .week-schedule-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .now-playing-card {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .now-playing-card span,
    .now-playing-card a {
        white-space: normal;
    }
}
@media (max-width: 560px) {
    .week-schedule-grid {
        grid-template-columns: 1fr;
    }
    .day-schedule-card h3 {
        font-size: 17px;
    }
    .schedule-slot-row a {
        font-size: 13px;
    }
}


/* 031 - aktuális műsor kijelzés az alsó lejátszóban */
.player-now-line {
    display: block;
    max-width: 320px;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-now-line b {
    color: var(--text);
    font-weight: 950;
}
.sticky-player[data-player-state="playing"] .player-now-line b {
    color: var(--brand);
}
@media (max-width: 640px) {
    .player-now-line {
        max-width: 100%;
        white-space: normal;
    }
}


/* 032 - publikus keresősáv és találati oldal */
.site-search-panel {
    margin-top: 12px;
    border-radius: calc(var(--card-radius, 28px) - 6px);
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: var(--shadow-soft);
    padding: 12px 14px;
}
.site-search-form {
    display: grid;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}
.site-search-label {
    font-size: 13px;
    font-weight: 950;
    color: var(--text);
}
.site-search-box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 7px 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
body[data-theme="dark"] .site-search-box {
    background: rgba(255,255,255,.06);
}
.site-search-icon {
    color: var(--brand);
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}
.site-search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}
.site-search-box input::placeholder {
    color: var(--muted);
    font-weight: 650;
}
.site-search-box button {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15,23,42,.13);
}
.search-result-list {
    display: grid;
    gap: 12px;
}
.search-result-card {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: calc(var(--card-radius, 28px) - 8px);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.search-result-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.search-result-card h3 {
    margin: 0 0 8px;
    font-size: clamp(20px, 2.1vw, 28px);
    line-height: 1.05;
}
.search-result-card h3 a {
    color: inherit;
    text-decoration: none;
}
.search-result-card h3 a:hover {
    color: var(--brand);
}
.search-result-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}
.search-empty-state h2 {
    margin: 0 0 8px;
}
.search-empty-state p {
    margin: 0 0 16px;
    color: var(--muted);
}
@media (max-width: 760px) {
    .site-search-form {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .site-search-box {
        grid-template-columns: auto minmax(0, 1fr);
        border-radius: 22px;
    }
    .site-search-box button {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* 033 - kereső a fejléc kapszuláján belül */
.site-header {
    display: grid !important;
    grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
    align-items: center;
    gap: 10px 18px;
}
.site-header .brand {
    grid-column: 1;
    grid-row: 1;
}
.site-header .main-nav {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    justify-content: flex-end;
}
.site-header .site-search-panel {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin: 2px 0 0;
    padding: 11px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.site-header .site-search-form {
    grid-template-columns: minmax(70px, 110px) minmax(0, 1fr);
    gap: 12px;
}
.site-header .site-search-label {
    padding-left: 4px;
}
.site-header .site-search-box {
    min-height: 42px;
    background: color-mix(in srgb, var(--surface) 70%, transparent);
}
body[data-theme="dark"] .site-header .site-search-box {
    background: rgba(255,255,255,.055);
}
@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .site-header .brand,
    .site-header .main-nav,
    .site-header .site-search-panel {
        grid-column: 1;
        grid-row: auto;
    }
    .site-header .main-nav {
        justify-content: flex-start;
    }
}
@media (max-width: 760px) {
    .site-header .site-search-form {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .site-header .site-search-box {
        grid-template-columns: auto minmax(0, 1fr);
        border-radius: 20px;
    }
    .site-header .site-search-box button {
        grid-column: 1 / -1;
        width: 100%;
    }
}


/* 034/069 - kompakt információs footer és footer-közeli top player mód */
.site-wrap {
    padding-bottom: 148px;
}
.site-footer {
    margin: clamp(28px, 5vw, 58px) 0 clamp(108px, 13vw, 160px);
    border: 1px solid var(--border);
    border-radius: calc(var(--card-radius) * .82);
    background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.78));
    box-shadow: 0 18px 48px rgba(15,23,42,.10);
    overflow: hidden;
}
body[data-theme="dark"] .site-footer {
    background: linear-gradient(135deg, rgba(17,24,39,.92), rgba(22,31,48,.78));
}
.site-footer-main {
    display: grid;
    grid-template-columns: minmax(230px, .72fr) minmax(0, 1.55fr);
    gap: clamp(16px, 3vw, 32px);
    padding: clamp(16px, 3vw, 26px) clamp(20px, 4vw, 36px);
    align-items: center;
}
.site-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.footer-brand-mark {
    position: relative;
    display: block;
    width: 92px;
    aspect-ratio: 872 / 446;
    flex: 0 0 auto;
}
.footer-brand-mark img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.site-footer-brand strong,
.site-footer-brand span {
    display: block;
}
.site-footer-brand strong {
    font-size: 18px;
    color: var(--text);
    line-height: 1.15;
}
.site-footer-brand span,
.site-footer-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.42;
}
.site-footer-link-groups {
    display: grid;
    gap: 8px;
    justify-items: end;
}
.site-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}
.site-footer-links a {
    color: var(--text);
    font-weight: 800;
    font-size: 13px;
    line-height: 1.1;
    text-decoration: none;
    padding: 7px 10px;
    border: 1px solid rgba(100,113,135,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.36);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.site-footer-links.is-secondary a {
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 750;
    padding: 6px 9px;
    background: rgba(255,255,255,.22);
}
.site-footer-links a:hover {
    transform: translateY(-1px);
    color: var(--text);
    border-color: color-mix(in srgb, var(--brand) 42%, transparent);
    background: color-mix(in srgb, var(--brand) 10%, rgba(255,255,255,.68));
}
.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px clamp(20px, 4vw, 36px) 12px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 700;
    flex-wrap: wrap;
}
.site-footer-developer {
    text-align: center;
}
.site-footer-developer a {
    color: var(--brand);
    font-weight: 900;
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--brand) 45%, transparent);
}
.site-footer-developer a:hover {
    color: var(--brand-2);
    border-bottom-color: var(--brand-2);
}
.legal-content-card {
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid var(--border);
    border-radius: var(--card-radius);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.78));
    box-shadow: var(--shadow);
}
body[data-theme="dark"] .legal-content-card {
    background: linear-gradient(135deg, rgba(17,24,39,.94), rgba(22,31,48,.82));
}
.legal-content-card h2,
.legal-content-card h3 {
    color: var(--text);
}
.legal-content-card p {
    color: var(--muted);
    max-width: 860px;
}
.sticky-player {
    transition: top .32s ease, bottom .32s ease, transform .32s ease, width .32s ease, box-shadow .32s ease;
}
.sticky-player.is-footer-mode {
    top: 14px;
    bottom: auto;
    transform: translateX(-50%) scale(.94);
    z-index: 80;
    box-shadow: 0 20px 70px rgba(15,23,42,.28), 0 0 30px rgba(118,74,241,.20);
}
body.is-player-top .site-header {
    margin-top: 104px;
}
@media (max-width: 980px) {
    .site-footer-main {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .site-footer-link-groups {
        justify-items: start;
    }
    .site-footer-links {
        justify-content: flex-start;
    }
    body.is-player-top .site-header {
        margin-top: 0;
    }
    .sticky-player.is-footer-mode {
        top: 8px;
        width: calc(100% - 18px);
        transform: translateX(-50%) scale(.98);
    }
}
@media (max-width: 640px) {
    .site-footer {
        margin-bottom: 170px;
    }
    .site-footer-main {
        padding: 16px;
    }
    .site-footer-bottom {
        flex-direction: column;
    }
    .footer-brand-mark {
        width: 82px;
    }
}


/* 036 - stream metadata now playing */
.sticky-player[data-now-source="stream_metadata"] .player-now-title:after {
    content: " · live";
    font-size: .72em;
    font-weight: 800;
    color: var(--brand, #ef3f48);
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* 037 public listener account */
.account-strip {
    flex: 1 1 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 2px 4px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.account-strip span {
    opacity: .76;
}
.account-strip a {
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.34);
    color: var(--text);
}
.account-strip a:hover {
    border-color: color-mix(in srgb, var(--brand) 52%, var(--line));
    color: var(--brand);
    background: color-mix(in srgb, var(--brand) 10%, transparent);
}
.account-hero {
    min-height: 0;
    padding-block: clamp(34px, 6vw, 74px);
}
.account-section {
    max-width: 980px;
    margin-inline: auto;
}
.account-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: clamp(22px, 4vw, 34px);
}
.account-card h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -.03em;
}
.account-card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.6;
}
.account-form {
    display: grid;
    gap: 18px;
}
.account-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.account-form label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}
.account-form label span {
    font-weight: 700;
    opacity: .72;
}
.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.account-form input[type="date"],
.account-form input[type="tel"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-strong);
    color: var(--text);
    padding: 13px 14px;
    font: inherit;
    font-size: 15px;
    outline: none;
}
.account-form input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent);
}
.account-form input:disabled {
    opacity: .68;
    cursor: not-allowed;
}
.account-consent {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 10px !important;
    line-height: 1.5;
    font-size: 13px !important;
    font-weight: 700 !important;
}
.account-consent a {
    color: var(--brand);
}
.account-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.account-actions button.primary-action {
    border: 0;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}
.compact-account-form {
    max-width: 560px;
    margin-inline: auto;
}
.account-alert {
    margin: 0 0 16px;
    padding: 13px 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    font-weight: 800;
}
.account-alert.is-success {
    background: color-mix(in srgb, var(--accent) 12%, var(--surface));
    color: var(--text);
}
.account-alert.is-error {
    background: color-mix(in srgb, #d83434 12%, var(--surface));
    color: var(--text);
}
.account-profile-grid {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.35fr);
    gap: 18px;
    align-items: start;
}
.account-summary-card dl {
    display: grid;
    gap: 11px;
    margin: 18px 0;
}
.account-summary-card dl div {
    display: grid;
    gap: 3px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
}
.account-summary-card dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}
.account-summary-card dd {
    margin: 0;
    font-weight: 800;
    overflow-wrap: anywhere;
}
@media (max-width: 860px) {
    .account-strip { justify-content: center; }
    .account-form .form-grid, .account-profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .account-strip {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .account-strip a, .account-strip span { white-space: nowrap; }
    .account-card { border-radius: 22px; }
}

/* 038 - diszkrét hallgatói fiók ikon és modal */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.site-header .main-nav {
    padding-right: 48px;
}
.listener-account-trigger {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    background: color-mix(in srgb, var(--surface) 84%, transparent);
    box-shadow: 0 10px 24px rgba(15,23,42,.08), inset 0 1px 0 rgba(255,255,255,.5);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
}
.listener-account-trigger:hover,
.listener-account-trigger:focus-visible {
    color: #fff;
    border-color: color-mix(in srgb, var(--brand) 64%, var(--line));
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    transform: translateY(-1px);
    outline: none;
}
.listener-account-trigger svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: currentColor;
}
.account-strip {
    display: none !important;
}
.account-modal[hidden] {
    display: none !important;
}
.account-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: clamp(18px, 4vw, 34px);
}
.account-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12,18,32,.34);
    backdrop-filter: blur(8px);
}
.account-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100vh - 36px);
    overflow: auto;
    margin-top: 78px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: 0 30px 80px rgba(15,23,42,.28);
}
.account-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.36);
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.account-modal-close:hover,
.account-modal-close:focus-visible {
    color: var(--text);
    border-color: var(--brand);
    outline: none;
}
.account-modal-kicker {
    margin: 0 0 6px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.account-modal h2 {
    margin: 0 44px 14px 0;
    font-size: clamp(24px, 3vw, 31px);
    line-height: 1;
    letter-spacing: -.04em;
}
.account-modal-copy {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.55;
}
.account-modal-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 16px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 62%, transparent);
}
.account-modal-tabs button {
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}
.account-modal-tabs button.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 22px rgba(15,23,42,.14);
}
.account-modal-panel[hidden] {
    display: none !important;
}
.account-modal-form {
    gap: 14px;
}
.account-modal-form .form-grid,
.account-modal-form .compact-register-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}
.account-modal-form input[type="text"],
.account-modal-form input[type="email"],
.account-modal-form input[type="password"],
.account-modal-form input[type="date"],
.account-modal-form input[type="tel"] {
    padding: 11px 12px;
    border-radius: 14px;
    font-size: 14px;
}
.account-modal-form .account-actions {
    margin-top: 0;
}
.account-modal-form .primary-action {
    width: 100%;
    min-height: 42px;
}
.account-modal-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
@media (max-width: 980px) {
    .site-header .main-nav {
        padding-right: 0;
        padding-top: 34px;
    }
    .listener-account-trigger {
        top: 14px;
        right: 14px;
    }
    .account-modal {
        justify-content: center;
    }
    .account-modal-dialog {
        margin-top: 62px;
    }
}
@media (max-width: 640px) {
    .listener-account-trigger {
        width: 36px;
        height: 36px;
    }
    .account-modal {
        align-items: flex-start;
        padding: 12px;
    }
    .account-modal-dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        margin-top: 50px;
        padding: 18px;
        border-radius: 24px;
    }
}
body.is-account-modal-open {
    overflow: hidden;
}


/* 039 - kompakt kereső közvetlenül a menüsor alatt */
.site-header {
    grid-template-columns: minmax(250px, 360px) minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 5px 18px !important;
    padding: 10px 12px !important;
}
.site-header .brand {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
}
.site-header .main-nav {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: end !important;
    width: 100% !important;
    justify-content: flex-end !important;
    padding-right: 48px !important;
    padding-top: 0 !important;
}
.site-header .site-search-panel {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: start !important;
    width: min(100%, 720px) !important;
    margin: -1px 0 0 !important;
    padding: 0 48px 0 0 !important;
    border: 0 !important;
    border-top: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.site-header .site-search-form {
    display: block !important;
}
.site-header .site-search-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.site-header .site-search-box {
    min-height: 34px !important;
    padding: 3px 4px 3px 12px !important;
    gap: 8px !important;
    border-radius: 999px !important;
    background: color-mix(in srgb, var(--surface) 76%, transparent) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55) !important;
}
.site-header .site-search-icon {
    font-size: 16px !important;
}
.site-header .site-search-box input {
    font-size: 13px !important;
    font-weight: 750 !important;
}
.site-header .site-search-box button {
    min-height: 28px !important;
    padding: 6px 13px !important;
    font-size: 13px !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.11) !important;
}
@media (max-width: 980px) {
    .site-header {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto auto !important;
        gap: 8px !important;
    }
    .site-header .brand,
    .site-header .main-nav,
    .site-header .site-search-panel {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    .site-header .main-nav {
        justify-content: flex-start !important;
        padding-right: 46px !important;
        padding-top: 0 !important;
    }
    .site-header .site-search-panel {
        justify-self: stretch !important;
        width: 100% !important;
        padding-right: 0 !important;
    }
}
@media (max-width: 760px) {
    .site-header .site-search-box {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        border-radius: 999px !important;
    }
    .site-header .site-search-box button {
        grid-column: auto !important;
        width: auto !important;
        padding-inline: 11px !important;
    }
}
@media (max-width: 520px) {
    .site-header .site-search-box {
        grid-template-columns: auto minmax(0, 1fr) !important;
        border-radius: 18px !important;
    }
    .site-header .site-search-box button {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }
}

/* 040 - határozottabb, de nem tolakodó keresőmező-keret */
.site-header .site-search-box {
    border: 2px solid color-mix(in srgb, var(--brand) 34%, var(--border)) !important;
    background: color-mix(in srgb, var(--surface) 84%, transparent) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.62),
        0 8px 18px rgba(15,23,42,.055) !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease !important;
}
.site-header .site-search-box:hover {
    border-color: color-mix(in srgb, var(--brand) 48%, var(--brand-2)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.68),
        0 10px 22px rgba(15,23,42,.075) !important;
}
.site-header .site-search-box:focus-within {
    border-color: var(--brand) !important;
    background: color-mix(in srgb, var(--surface) 92%, transparent) !important;
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--brand) 16%, transparent),
        inset 0 1px 0 rgba(255,255,255,.72),
        0 12px 26px rgba(15,23,42,.09) !important;
}
body[data-theme="dark"] .site-header .site-search-box {
    border-color: color-mix(in srgb, var(--brand) 42%, rgba(255,255,255,.24)) !important;
    background: rgba(255,255,255,.075) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 10px 24px rgba(0,0,0,.18) !important;
}
body[data-theme="dark"] .site-header .site-search-box:hover,
body[data-theme="dark"] .site-header .site-search-box:focus-within {
    border-color: color-mix(in srgb, var(--brand) 70%, #ffffff) !important;
}

/* 041 home today schedule cleanup */
.today-schedule-section {
    overflow: hidden;
}
.today-schedule-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.today-schedule-head h2 {
    margin: 0 0 5px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -.045em;
}
.today-date-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 850;
}
.today-date-label:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    box-shadow: 0 0 0 4px rgba(242,106,46,.10);
}
.today-schedule-action {
    white-space: nowrap;
    margin-top: 4px;
}
.today-now-card {
    display: grid;
    grid-template-columns: auto minmax(120px, auto) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(242,106,46,.28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(242,106,46,.14), rgba(36,100,214,.08));
    box-shadow: 0 14px 35px rgba(18,28,45,.08);
}
.today-now-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    color: var(--brand);
    background: rgba(242,106,46,.12);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.today-now-card time {
    color: var(--brand);
    font-size: 17px;
    font-weight: 950;
}
.today-now-card strong,
.today-now-card a {
    min-width: 0;
    color: var(--text);
    font-size: 18px;
    font-weight: 950;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.today-now-card a:hover {
    color: var(--brand);
}
.today-schedule-list {
    display: grid;
    gap: 9px;
}
.today-schedule-item {
    display: grid;
    grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 58px;
    padding: 11px 14px;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    background: var(--card-bg-soft);
    box-shadow: var(--card-shadow-soft);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.today-schedule-item:hover {
    transform: translateY(-1px);
    border-color: rgba(242,106,46,.26);
    box-shadow: var(--card-shadow-strong);
}
.today-schedule-item.is-current {
    border-color: rgba(242,106,46,.38);
    background: linear-gradient(135deg, rgba(242,106,46,.13), var(--card-bg-soft));
}
.today-schedule-item.is-next {
    border-color: rgba(36,100,214,.24);
}
.today-schedule-time {
    color: var(--brand);
    font-size: 22px;
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -.04em;
}
.today-schedule-content {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.today-schedule-content h3 {
    min-width: 0;
    margin: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 930;
}
.today-schedule-content h3 a {
    color: inherit;
    text-decoration: none;
}
.today-schedule-content h3 a:hover {
    color: var(--brand);
}
.schedule-status-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--brand);
    background: rgba(242,106,46,.13);
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .055em;
}
.schedule-status-badge.is-next {
    color: var(--text);
    background: rgba(36,100,214,.12);
}
@media (max-width: 820px) {
    .today-schedule-head {
        display: grid;
        gap: 12px;
    }
    .today-schedule-action {
        justify-self: start;
    }
    .today-now-card {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .today-now-card strong,
    .today-now-card a {
        white-space: normal;
    }
    .today-schedule-item {
        grid-template-columns: 1fr;
        gap: 7px;
        min-height: 0;
    }
    .today-schedule-time {
        font-size: 19px;
    }
    .today-schedule-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

/* 043 CSS-only fix: premium radio dayboard styling without touching index.php */
.today-schedule-section {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(22px, 2.5vw, 32px) !important;
    border: 1px solid rgba(255,255,255,.58) !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at top right, rgba(36,100,214,.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(242,106,46,.11), transparent 36%),
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.84)) !important;
    box-shadow: 0 28px 65px rgba(16,27,48,.09) !important;
}
.today-schedule-section:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--brand), var(--accent));
    border-radius: 30px 0 0 30px;
}
.today-schedule-head {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: start !important;
    gap: 18px !important;
    margin: 0 0 18px !important;
}
.today-schedule-head h2 {
    margin: 0 0 6px !important;
    font-size: clamp(30px, 3.25vw, 44px) !important;
    line-height: .98 !important;
    letter-spacing: -.055em !important;
}
.today-date-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    color: var(--muted) !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 900 !important;
}
.today-date-label:before {
    content: "" !important;
    width: 10px !important;
    height: 10px !important;
    flex: 0 0 auto !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--brand), var(--accent)) !important;
    box-shadow: 0 0 0 5px rgba(242,106,46,.08) !important;
}
.today-schedule-action {
    align-self: start !important;
    white-space: nowrap !important;
    margin: 4px 0 0 !important;
}
.today-now-card {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: auto minmax(105px, auto) minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 0 16px !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    border-radius: 26px !important;
    background:
        linear-gradient(180deg, rgba(18,30,56,.97), rgba(18,30,56,.91)),
        linear-gradient(135deg, rgba(242,106,46,.2), rgba(36,100,214,.16)) !important;
    box-shadow: 0 22px 46px rgba(17,27,46,.20) !important;
    color: #fff !important;
}
.today-now-card span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.12) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
}
.today-now-card span:before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #56f0a9;
    box-shadow: 0 0 0 5px rgba(86,240,169,.16);
}
.today-now-card time {
    color: rgba(255,255,255,.88) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}
.today-now-card strong,
.today-now-card a {
    color: #fff !important;
    font-size: clamp(20px, 2vw, 28px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.045em !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
.today-now-card a:hover {
    color: #fff2ea !important;
}
.today-schedule-list {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 14px !important;
}
.today-schedule-item {
    display: block !important;
    min-height: 0 !important;
    padding: 16px 16px 15px !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.84) !important;
    box-shadow: 0 14px 30px rgba(17,27,46,.06) !important;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
.today-schedule-item:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(242,106,46,.3) !important;
    box-shadow: 0 18px 34px rgba(17,27,46,.11) !important;
}
.today-schedule-item.is-current {
    border-color: rgba(242,106,46,.36) !important;
    background: linear-gradient(180deg, rgba(255,244,238,.96), rgba(255,255,255,.91)) !important;
}
.today-schedule-item.is-next {
    border-color: rgba(36,100,214,.28) !important;
    background: linear-gradient(180deg, rgba(241,246,255,.96), rgba(255,255,255,.91)) !important;
}
.today-schedule-time {
    display: block !important;
    color: var(--brand) !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    letter-spacing: -.04em !important;
}
.today-schedule-time:after {
    content: "" !important;
    display: block !important;
    height: 1px !important;
    margin: 11px 0 10px !important;
    background: linear-gradient(90deg, var(--brand), var(--accent)) !important;
    opacity: .52 !important;
}
.today-schedule-content {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
}
.today-schedule-content h3 {
    flex-basis: 100% !important;
    margin: 0 !important;
    color: var(--text) !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 920 !important;
}
.today-schedule-content h3 a {
    color: inherit !important;
    text-decoration: none !important;
}
.today-schedule-content h3 a:hover {
    color: var(--brand) !important;
}
.schedule-status-badge {
    order: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 8px !important;
    padding: 5px 9px !important;
    border-radius: 999px !important;
    background: rgba(242,106,46,.12) !important;
    color: var(--brand) !important;
    font-size: 10px !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    letter-spacing: .065em !important;
}
.schedule-status-badge.is-next {
    background: rgba(36,100,214,.10) !important;
    color: #2358b0 !important;
}
body[data-theme="dark"] .today-schedule-section {
    border-color: rgba(255,255,255,.10) !important;
    background:
        radial-gradient(circle at top right, rgba(36,100,214,.20), transparent 34%),
        radial-gradient(circle at bottom left, rgba(242,106,46,.16), transparent 36%),
        linear-gradient(180deg, rgba(18,30,56,.94), rgba(18,30,56,.84)) !important;
}
body[data-theme="dark"] .today-schedule-item {
    background: rgba(255,255,255,.06) !important;
    border-color: rgba(255,255,255,.10) !important;
}
@media (max-width: 820px) {
    .today-schedule-head {
        grid-template-columns: 1fr !important;
    }
    .today-schedule-action {
        justify-self: start !important;
    }
    .today-now-card {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .today-now-card strong,
    .today-now-card a {
        white-space: normal !important;
    }
    .today-schedule-list {
        grid-template-columns: 1fr !important;
    }
}

/* 050 news portal stabilization */
.news-portal-hero {
    padding: clamp(22px, 3vw, 36px);
    border-radius: 22px;
}
.news-portal-hero h1 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
    letter-spacing: -.055em;
    margin-bottom: 12px;
}
.news-portal-hero .lead {
    max-width: 760px;
    font-size: clamp(15px, 1.4vw, 18px);
}
.news-portal-section {
    padding-top: 24px;
}
.news-portal-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}
.news-portal-head h2 {
    margin: 0 0 4px;
    font-size: clamp(24px, 3vw, 34px);
    letter-spacing: -.04em;
}
.news-portal-head span {
    color: var(--muted);
    font-weight: 700;
    font-size: 14px;
}
.news-page-size-form {
    min-width: 190px;
    display: flex;
    justify-content: flex-end;
}
.news-page-size-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.news-page-size-form select {
    min-width: 150px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 14px;
    background: var(--surface-strong);
    color: var(--text);
    font: inherit;
    font-weight: 850;
    text-transform: none;
    letter-spacing: 0;
}
.news-category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0 0 18px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.14);
}
.news-category-bar a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    background: var(--surface-strong);
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}
.news-category-bar a:hover,
.news-category-bar a.active {
    border-color: rgba(242,106,46,.45);
    background: var(--brand);
    color: #fff;
}
.news-category-bar em {
    font-style: normal;
    opacity: .78;
    font-size: 12px;
}
.news-portal-list {
    gap: 10px;
}
.news-portal-card {
    position: relative;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.16);
}
.news-portal-card:hover {
    background: rgba(255,255,255,.26);
    border-color: rgba(242,106,46,.30);
}
.news-card-date time {
    display: block;
    color: var(--brand);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: -.02em;
}
.news-card-main {
    min-width: 0;
}
.news-portal-card .news-tag {
    display: inline-flex;
    margin: 0 0 6px;
    color: var(--brand);
    text-decoration: none;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .10em;
    text-transform: uppercase;
}
.news-portal-card .news-tag:hover {
    color: var(--accent);
}
.news-portal-card h3 {
    margin: 0 0 6px;
    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.16;
    letter-spacing: -.035em;
}
.news-portal-card p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
    font-size: 15px;
}
.news-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 12px;
    background: var(--surface-strong);
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}
.news-read-more:hover {
    border-color: rgba(242,106,46,.4);
    color: var(--brand);
}
.news-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 22px 0 0;
}
.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 14px;
    background: var(--surface-strong);
    text-decoration: none;
    color: var(--text);
    font-weight: 900;
}
.news-pagination a.active,
.news-pagination a:hover {
    background: var(--brand);
    color: #fff;
    border-color: rgba(242,106,46,.45);
}
.news-pagination .disabled {
    opacity: .45;
}
@media (max-width: 820px) {
    .news-portal-head { display: block; }
    .news-page-size-form { justify-content: flex-start; margin-top: 14px; }
    .news-portal-card { grid-template-columns: 1fr; align-items: start; }
    .news-read-more { width: max-content; }
}

/* 052 registration bot protection */
.captcha-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.account-captcha {
    display: grid !important;
    gap: 7px !important;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--brand) 5%, var(--surface-strong));
}
.account-captcha span {
    color: var(--text) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
}
.account-captcha input[type="text"] {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    padding: 10px 11px;
    font: inherit;
    font-size: 14px;
    outline: none;
}
.account-captcha input[type="text"]:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}

/* 055 news thumbnails from optimized uploads */
.news-portal-card.has-thumb {
    grid-template-columns: 132px 112px minmax(0, 1fr) auto;
    align-items: center;
}
.news-card-thumb {
    display: block;
    width: 132px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255,255,255,.42);
    border: 1px solid rgba(95,54,66,.10);
}
.news-card-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-portal-card.has-thumb .news-card-date {
    min-width: 0;
}
@media (max-width: 980px) {
    .news-portal-card.has-thumb { grid-template-columns: 112px minmax(0,1fr); }
    .news-portal-card.has-thumb .news-card-date { grid-column: 2; grid-row: 1; }
    .news-portal-card.has-thumb .news-card-main { grid-column: 2; }
    .news-portal-card.has-thumb .news-read-more { grid-column: 2; width: max-content; }
    .news-card-thumb { grid-row: 1 / span 3; width: 112px; }
}
@media (max-width: 640px) {
    .news-portal-card.has-thumb { grid-template-columns: 1fr; }
    .news-card-thumb { grid-row: auto; width: 100%; }
    .news-portal-card.has-thumb .news-card-date,
    .news-portal-card.has-thumb .news-card-main,
    .news-portal-card.has-thumb .news-read-more { grid-column: auto; }
}

/* 060 article Facebook sharing */
.article-detail-section { position: relative; }
.article-detail-layout {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}
.article-main-content { min-width: 0; }
.article-floating-share {
    position: sticky;
    top: 120px;
    align-self: start;
}
.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.article-share-top {
    margin-top: 20px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.18);
    box-shadow: 0 14px 35px rgba(18,28,45,.08);
    width: fit-content;
    max-width: 100%;
}
.article-share-label {
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .11em;
    color: var(--muted);
}
.article-share-button {
    border: 0;
    border-radius: 999px;
    min-height: 42px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(18,28,45,.12);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.article-share-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(18,28,45,.18);
}
.article-share-button.is-facebook {
    color: #fff;
    background: linear-gradient(135deg, #1877f2, #244c9a);
}
.article-share-button.is-copy {
    color: var(--text);
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
}
.share-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.18);
    font-weight: 950;
    line-height: 1;
}
.article-share-button.is-copy .share-icon { background: rgba(20,32,51,.07); }
.share-copy-status {
    font-style: normal;
    color: var(--accent);
    font-weight: 850;
    font-size: 13px;
}
.article-share-side {
    display: grid;
    gap: 10px;
    justify-items: stretch;
    width: 76px;
}
.article-share-side .article-share-label {
    text-align: center;
    font-size: 10px;
}
.article-share-side .article-share-button {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 20px;
    justify-self: center;
}
.article-share-side .article-share-button strong,
.article-share-side .share-copy-status { display: none; }
.article-mobile-share { display: none; }
.news-detail-hero .article-share-top .article-share-button.is-facebook { font-size: 15px; }
@media (max-width: 900px) {
    .article-detail-layout { grid-template-columns: 1fr; }
    .article-floating-share { display: none; }
    .article-share-top { width: 100%; }
}
@media (max-width: 720px) {
    .article-share-top { display: none; }
    .article-mobile-share {
        display: block;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 92px;
        z-index: 35;
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(255,255,255,.94);
        box-shadow: 0 18px 45px rgba(18,28,45,.22);
        backdrop-filter: blur(16px);
    }
    .article-share-mobile {
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    .article-share-mobile .article-share-label { display: none; }
    .article-share-mobile .article-share-button {
        flex: 1 1 auto;
        min-height: 42px;
        padding: 8px 12px;
        font-size: 13px;
    }
    .article-share-mobile .share-copy-status {
        position: absolute;
        right: 18px;
        top: -24px;
        padding: 4px 8px;
        border-radius: 999px;
        background: var(--surface-strong);
        box-shadow: 0 10px 24px rgba(18,28,45,.14);
    }
}

/* 065 article title proportion hotfix */
.news-detail-hero {
    padding: clamp(24px, 3.2vw, 42px);
}
.news-detail-hero h1 {
    max-width: 760px;
    font-size: clamp(32px, 3.55vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    text-wrap: balance;
    margin-top: 8px;
}
.news-detail-hero .eyebrow {
    font-size: 12px;
    letter-spacing: .13em;
}
.news-detail-hero .lead {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.35;
}
.news-detail-hero .article-share-top {
    margin-top: 20px;
}
body[data-density="airy"] .news-detail-hero,
body[data-density="balanced"] .news-detail-hero,
body[data-density="compact"] .news-detail-hero,
body[data-density="dense"] .news-detail-hero,
body[data-density="ultra"] .news-detail-hero {
    padding: clamp(20px, 3vw, 38px);
}
body[data-density="airy"] .news-detail-hero h1,
body[data-density="balanced"] .news-detail-hero h1,
body[data-density="compact"] .news-detail-hero h1,
body[data-density="dense"] .news-detail-hero h1,
body[data-density="ultra"] .news-detail-hero h1 {
    font-size: clamp(30px, 3.35vw, 50px);
}
@media (max-width: 900px) {
    .news-detail-hero h1 {
        max-width: none;
        font-size: clamp(30px, 6.2vw, 44px);
        line-height: 1.1;
    }
}
@media (max-width: 640px) {
    .news-detail-hero {
        padding: 22px 18px;
    }
    .news-detail-hero h1 {
        font-size: clamp(27px, 8vw, 36px);
        line-height: 1.12;
        letter-spacing: -0.045em;
    }
    .news-detail-hero .lead {
        margin-top: 14px;
        font-size: 15px;
    }
}

/* 066 article title further reduction hotfix */
.news-detail-hero h1 {
    max-width: 720px;
    font-size: clamp(22px, 2.5vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}
body[data-density="airy"] .news-detail-hero h1,
body[data-density="balanced"] .news-detail-hero h1,
body[data-density="compact"] .news-detail-hero h1,
body[data-density="dense"] .news-detail-hero h1,
body[data-density="ultra"] .news-detail-hero h1 {
    font-size: clamp(21px, 2.35vw, 35px);
    line-height: 1.12;
}
@media (max-width: 900px) {
    .news-detail-hero h1 {
        font-size: clamp(21px, 4.35vw, 31px);
        line-height: 1.14;
        letter-spacing: -0.035em;
    }
}
@media (max-width: 640px) {
    .news-detail-hero h1 {
        font-size: clamp(19px, 5.6vw, 25px);
        line-height: 1.16;
        letter-spacing: -0.025em;
    }
}


/* 067 article title flow and compact share buttons */
.news-detail-hero h1 {
    max-width: min(100%, 1040px);
    font-size: clamp(24px, 2.15vw, 34px);
    line-height: 1.16;
    letter-spacing: -0.032em;
    text-wrap: pretty;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
}
body[data-density="airy"] .news-detail-hero h1,
body[data-density="balanced"] .news-detail-hero h1,
body[data-density="compact"] .news-detail-hero h1,
body[data-density="dense"] .news-detail-hero h1,
body[data-density="ultra"] .news-detail-hero h1 {
    max-width: min(100%, 1040px);
    font-size: clamp(23px, 2.05vw, 33px);
    line-height: 1.16;
}
.news-detail-hero .article-share-top {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 18px;
    gap: 8px;
}
.news-detail-hero .article-share-label,
.article-share-top .article-share-label {
    font-size: 10px;
    letter-spacing: .09em;
}
.news-detail-hero .article-share-button,
.article-share-top .article-share-button {
    min-height: 34px;
    padding: 6px 11px;
    gap: 7px;
    font-size: 13px;
    box-shadow: 0 8px 18px rgba(18,28,45,.10);
}
.news-detail-hero .share-icon,
.article-share-top .share-icon {
    width: 19px;
    height: 19px;
    font-size: 11px;
}
.news-detail-hero .article-share-top .article-share-button.is-facebook {
    font-size: 13px;
}
.article-share-side {
    width: 58px;
    gap: 8px;
}
.article-share-side .article-share-button {
    width: 46px;
    height: 46px;
    border-radius: 16px;
}
.article-share-side .share-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
}
@media (max-width: 900px) {
    .news-detail-hero h1,
    body[data-density="airy"] .news-detail-hero h1,
    body[data-density="balanced"] .news-detail-hero h1,
    body[data-density="compact"] .news-detail-hero h1,
    body[data-density="dense"] .news-detail-hero h1,
    body[data-density="ultra"] .news-detail-hero h1 {
        max-width: none;
        font-size: clamp(22px, 4vw, 30px);
        line-height: 1.17;
        letter-spacing: -0.028em;
    }
}
@media (max-width: 640px) {
    .news-detail-hero h1,
    body[data-density="airy"] .news-detail-hero h1,
    body[data-density="balanced"] .news-detail-hero h1,
    body[data-density="compact"] .news-detail-hero h1,
    body[data-density="dense"] .news-detail-hero h1,
    body[data-density="ultra"] .news-detail-hero h1 {
        font-size: clamp(20px, 5.4vw, 25px);
        line-height: 1.18;
        letter-spacing: -0.02em;
    }
    .article-share-mobile .article-share-button {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 12px;
    }
}

/* 070 - datum + idojaras kapszula es kompakt megjelenes sor */
.top-info-row {
    display: grid;
    grid-template-columns: minmax(360px, .92fr) minmax(520px, 1.08fr);
    gap: 14px;
    align-items: stretch;
    margin-bottom: 18px;
}
.weather-pill,
.top-info-row .appearance-panel {
    margin-bottom: 0;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 16px 45px rgba(18,28,45,.06);
}
.weather-pill {
    position: relative;
    min-height: 78px;
    overflow: visible;
}
.weather-pill summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 78px;
    padding: 13px 16px;
    cursor: pointer;
    list-style: none;
    outline: none;
}
.weather-pill summary::-webkit-details-marker { display: none; }
.weather-pill summary:focus-visible {
    box-shadow: 0 0 0 3px rgba(242,106,46,.18);
    border-radius: 20px;
}
.weather-pill-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}
.weather-date-line,
.weather-summary-line {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.weather-date-line {
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -.01em;
}
.weather-summary-line {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}
.weather-emoji {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 999px;
    background: rgba(242,106,46,.10);
    font-size: 15px;
}
.weather-summary-line .weather-emoji {
    background: rgba(28,178,197,.12);
}
.weather-toggle {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface-strong);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.weather-pill[open] .weather-toggle { color: var(--accent-strong); }
.weather-details {
    margin: 0 16px 15px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.weather-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.weather-detail-item {
    display: grid;
    gap: 2px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface-strong);
}
.weather-detail-item em {
    color: var(--muted);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.weather-detail-item strong {
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}
.weather-detail-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}
.top-info-row .appearance-panel {
    display: grid;
    grid-template-columns: minmax(92px, .7fr) repeat(3, minmax(118px, 1fr));
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
}
.top-info-row .appearance-panel > div { margin-right: 0; }
.top-info-row .appearance-panel strong {
    color: var(--text);
    font-size: 15px;
    line-height: 1.1;
}
.top-info-row .appearance-panel span {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}
.top-info-row .appearance-panel label {
    min-width: 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}
.top-info-row .appearance-panel select {
    width: 100%;
    min-width: 0;
    margin-top: 5px;
    padding: 8px 10px;
    border-radius: 13px;
}
body[data-density="dense"] .top-info-row .appearance-panel,
body[data-density="dense"] .weather-pill { padding: 0; }
body[data-density="dense"] .weather-pill summary { min-height: 68px; padding: 10px 13px; }
body[data-density="dense"] .top-info-row .appearance-panel { padding: 10px 13px; }
body[data-density="compact"] .weather-pill summary { min-height: 70px; }
body[data-density="ultra"] .top-info-row { gap: 10px; margin-bottom: 10px; }
body[data-density="ultra"] .weather-pill summary { min-height: 62px; padding: 8px 11px; }
body[data-density="ultra"] .top-info-row .appearance-panel { padding: 8px 11px; }
body[data-density="ultra"] .weather-date-line { font-size: 13px; }
body[data-density="ultra"] .weather-summary-line { font-size: 12px; }
body[data-theme="dark"] .weather-pill,
body[data-theme="dark"] .top-info-row .appearance-panel {
    background: rgba(18,28,45,.88);
    border-color: rgba(255,255,255,.10);
}
@media (max-width: 1120px) {
    .top-info-row { grid-template-columns: 1fr; }
    .top-info-row .appearance-panel { grid-template-columns: minmax(130px, 1fr) repeat(3, minmax(130px, 1fr)); }
}
@media (max-width: 760px) {
    .top-info-row .appearance-panel { grid-template-columns: 1fr; }
    .weather-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .weather-pill summary { align-items: flex-start; }
    .weather-toggle { margin-top: 2px; }
}
@media (max-width: 520px) {
    .weather-pill summary { flex-direction: column; align-items: stretch; }
    .weather-toggle { width: fit-content; }
    .weather-detail-grid { grid-template-columns: 1fr; }
    .weather-date-line,
    .weather-summary-line { align-items: flex-start; }
}
body[data-density="airy"] .top-info-row .appearance-panel,
body[data-density="comfortable"] .top-info-row .appearance-panel,
body[data-density="balanced"] .top-info-row .appearance-panel,
body[data-density="compact"] .top-info-row .appearance-panel,
body[data-density="dense"] .top-info-row .appearance-panel,
body[data-density="ultra"] .top-info-row .appearance-panel {
    margin-top: 0;
    margin-bottom: 0;
    padding: 13px 16px;
}
body[data-density="airy"] .weather-pill summary,
body[data-density="comfortable"] .weather-pill summary,
body[data-density="balanced"] .weather-pill summary,
body[data-density="compact"] .weather-pill summary {
    min-height: 78px;
    padding: 13px 16px;
}

/* 071 - lapozhato 5 napos idojaras elorejelzes */
.weather-details-paged {
    padding-top: 13px;
}
.weather-pager {
    position: relative;
}
.weather-day-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.weather-day-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    padding: 0 0 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.weather-day-tab {
    flex: 0 0 auto;
    display: grid;
    gap: 1px;
    min-width: 82px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-strong);
    color: var(--muted);
    cursor: pointer;
    user-select: none;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}
.weather-day-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(242,106,46,.28);
}
.weather-day-tab span {
    color: inherit;
    font-size: 12px;
    font-weight: 950;
    line-height: 1.1;
    white-space: nowrap;
}
.weather-day-tab em {
    color: inherit;
    opacity: .72;
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    line-height: 1.1;
    white-space: nowrap;
}
.weather-day-panels {
    min-height: 158px;
}
.weather-day-panel {
    display: none;
    animation: sepsiWeatherPanelIn .16s ease-out;
}
@keyframes sepsiWeatherPanelIn {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}
.weather-day-headline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(242,106,46,.10), rgba(28,178,197,.08));
}
.weather-day-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 999px;
    background: rgba(255,255,255,.70);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.58);
    font-size: 21px;
}
.weather-day-headline span:last-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.weather-day-headline strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.15;
}
.weather-day-headline em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
    line-height: 1.25;
}
#weather_day_0:checked ~ .weather-day-tabs .weather-day-tab-0,
#weather_day_1:checked ~ .weather-day-tabs .weather-day-tab-1,
#weather_day_2:checked ~ .weather-day-tabs .weather-day-tab-2,
#weather_day_3:checked ~ .weather-day-tabs .weather-day-tab-3,
#weather_day_4:checked ~ .weather-day-tabs .weather-day-tab-4 {
    border-color: rgba(242,106,46,.45);
    background: rgba(242,106,46,.12);
    color: var(--accent-strong);
}
#weather_day_0:checked ~ .weather-day-panels .weather-day-panel-0,
#weather_day_1:checked ~ .weather-day-panels .weather-day-panel-1,
#weather_day_2:checked ~ .weather-day-panels .weather-day-panel-2,
#weather_day_3:checked ~ .weather-day-panels .weather-day-panel-3,
#weather_day_4:checked ~ .weather-day-panels .weather-day-panel-4 {
    display: block;
}
body[data-theme="dark"] .weather-day-headline {
    background: linear-gradient(135deg, rgba(242,106,46,.16), rgba(28,178,197,.12));
}
body[data-theme="dark"] .weather-day-icon {
    background: rgba(255,255,255,.10);
}
@media (max-width: 760px) {
    .weather-day-panels { min-height: 0; }
    .weather-day-tab { min-width: 78px; padding: 8px 9px; }
    .weather-day-headline { align-items: flex-start; }
}
@media (max-width: 520px) {
    .weather-day-tabs { margin-right: -4px; }
    .weather-day-headline { padding: 10px; }
    .weather-day-icon { width: 34px; height: 34px; flex-basis: 34px; font-size: 19px; }
}

/* 073 - mobilnezeti optimalizalas: fejlec, idojaras, hero, listak, player, footer */
@media (max-width: 820px) {
    html,
    body.front {
        max-width: 100%;
        overflow-x: hidden;
    }
    body.front {
        padding-bottom: 92px;
    }
    .site-wrap {
        width: min(100% - 20px, 1180px) !important;
        padding-bottom: 112px !important;
    }
    .site-header {
        position: static !important;
        top: auto !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 9px 10px !important;
        align-items: center !important;
        margin: 10px 0 12px !important;
        padding: 10px !important;
        border-radius: 22px !important;
    }
    .site-header .brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        flex-basis: auto !important;
        gap: 9px !important;
    }
    .brand-logo-animated {
        width: clamp(86px, 29vw, 118px) !important;
    }
    .brand-copy strong {
        font-size: 17px !important;
        line-height: 1.05 !important;
    }
    .brand-copy em {
        font-size: 11px !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }
    .listener-account-trigger {
        position: static !important;
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 38px !important;
        height: 38px !important;
        align-self: center !important;
        justify-self: end !important;
    }
    .site-header .main-nav {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 6px !important;
        width: auto !important;
        margin: 0 -2px !important;
        padding: 2px 2px 7px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .site-header .main-nav::-webkit-scrollbar {
        display: none !important;
    }
    .main-nav a,
    .admin-link {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
        line-height: 1 !important;
        border: 1px solid rgba(100,113,135,.13) !important;
        background: rgba(255,255,255,.24) !important;
    }
    .site-header .site-search-panel {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        margin: 0 !important;
        padding: 8px 0 0 !important;
    }
    .site-header .site-search-form {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .site-header .site-search-box {
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        min-height: 38px !important;
        padding: 4px 4px 4px 11px !important;
        border-radius: 18px !important;
    }
    .site-header .site-search-box input {
        min-width: 0 !important;
        padding: 0 7px !important;
        font-size: 14px !important;
    }
    .site-header .site-search-box button {
        grid-column: auto !important;
        width: auto !important;
        min-height: 32px !important;
        padding: 0 12px !important;
        border-radius: 15px !important;
        font-size: 12px !important;
    }
    .top-info-row {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 12px !important;
    }
    .weather-pill,
    .top-info-row .appearance-panel {
        border-radius: 20px !important;
        box-shadow: 0 12px 32px rgba(18,28,45,.07) !important;
    }
    .weather-pill {
        min-height: 0 !important;
    }
    .weather-pill summary {
        min-height: 62px !important;
        padding: 11px 12px !important;
        gap: 9px !important;
    }
    .weather-date-line {
        font-size: 13px !important;
        line-height: 1.18 !important;
    }
    .weather-summary-line {
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-size: 12.5px !important;
        line-height: 1.22 !important;
    }
    .weather-emoji {
        width: 21px !important;
        height: 21px !important;
        flex-basis: 21px !important;
        font-size: 13px !important;
    }
    .weather-toggle {
        padding: 6px 9px !important;
        font-size: 10px !important;
        align-self: flex-start !important;
    }
    .weather-details {
        margin: 0 12px 12px !important;
        padding-top: 10px !important;
    }
    .weather-day-tabs {
        gap: 6px !important;
        padding-bottom: 8px !important;
    }
    .weather-day-tab {
        min-width: 72px !important;
        padding: 7px 8px !important;
        border-radius: 13px !important;
    }
    .weather-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
    }
    .weather-detail-item {
        padding: 8px 9px !important;
        border-radius: 13px !important;
    }
    .weather-detail-note {
        font-size: 11.5px !important;
    }
    .top-info-row .appearance-panel {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 11px 12px !important;
    }
    .top-info-row .appearance-panel > div {
        grid-column: 1 / -1 !important;
        display: flex !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        gap: 8px !important;
        min-width: 0 !important;
    }
    .top-info-row .appearance-panel strong {
        font-size: 14px !important;
    }
    .top-info-row .appearance-panel span {
        margin-top: 0 !important;
        font-size: 11px !important;
    }
    .top-info-row .appearance-panel label {
        font-size: 10px !important;
    }
    .top-info-row .appearance-panel select {
        width: 100% !important;
        min-width: 0 !important;
        padding: 7px 8px !important;
        font-size: 12px !important;
        border-radius: 12px !important;
    }
    .hero,
    body[data-layout="compact"] .hero,
    body[data-layout="broadcast"] .hero,
    body[data-layout="split"] .hero,
    body[data-layout="mosaic"] .hero,
    body[data-layout="sidebar"] .hero,
    body[data-layout="portal"] .hero {
        min-height: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 11px !important;
    }
    .hero-copy,
    .broadcast-info-card,
    .panel,
    .section,
    .page-hero,
    .news-list-hero,
    .news-detail-hero,
    .gallery-list-hero,
    .gallery-detail-hero,
    .schedule-hero,
    .legacy-sections article {
        border-radius: 20px !important;
        padding: 17px !important;
    }
    h1,
    body[data-layout="compact"] h1 {
        font-size: clamp(29px, 8.7vw, 40px) !important;
        line-height: 1.02 !important;
        letter-spacing: -.048em !important;
    }
    .lead,
    .hero-copy .lead,
    .page-hero .lead,
    .news-portal-hero .lead {
        max-width: none !important;
        font-size: 15px !important;
        line-height: 1.42 !important;
    }
    .hero-actions,
    .section-head,
    .news-portal-head {
        gap: 9px !important;
    }
    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 11px !important;
        margin-top: 11px !important;
    }
    .section {
        margin-top: 11px !important;
    }
    .broadcast-info-card h2,
    .panel h2,
    .section h2,
    .legacy-sections h2,
    .news-portal-head h2,
    .today-schedule-head h2 {
        font-size: clamp(21px, 6vw, 27px) !important;
        line-height: 1.08 !important;
    }
    .news-grid,
    .legacy-sections,
    .gallery-card-grid,
    .today-schedule-list {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .news-card,
    .news-portal-card,
    .today-schedule-item,
    .schedule-item,
    .gallery-card {
        border-radius: 17px !important;
        padding: 13px !important;
    }
    .news-card h3,
    .news-portal-card h3,
    .today-schedule-content h3,
    .gallery-card h3 {
        font-size: clamp(17px, 5vw, 21px) !important;
        line-height: 1.18 !important;
        letter-spacing: -.025em !important;
    }
    .news-card p,
    .news-portal-card p,
    .gallery-card p {
        font-size: 14px !important;
        line-height: 1.38 !important;
    }
    .news-category-bar {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 9px !important;
        gap: 7px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .news-category-bar::-webkit-scrollbar {
        display: none !important;
    }
    .news-category-bar a {
        flex: 0 0 auto !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 560px) {
    body.front {
        padding-bottom: 78px !important;
    }
    .site-wrap {
        width: calc(100% - 14px) !important;
        padding-bottom: 92px !important;
    }
    .site-header {
        margin: 7px 0 10px !important;
        padding: 8px !important;
        border-radius: 20px !important;
    }
    .brand-logo-animated {
        width: 86px !important;
    }
    .brand-copy strong {
        font-size: 15px !important;
    }
    .brand-copy em {
        font-size: 10px !important;
    }
    .listener-account-trigger {
        width: 34px !important;
        height: 34px !important;
    }
    .listener-account-trigger svg {
        width: 17px !important;
        height: 17px !important;
    }
    .main-nav a,
    .admin-link {
        padding: 7px 9px !important;
        font-size: 12px !important;
    }
    .site-header .site-search-box {
        min-height: 36px !important;
        border-radius: 17px !important;
    }
    .site-header .site-search-icon {
        font-size: 12px !important;
    }
    .site-header .site-search-box input {
        font-size: 13px !important;
    }
    .site-header .site-search-box button {
        min-height: 30px !important;
        padding: 0 10px !important;
        font-size: 11.5px !important;
    }
    .weather-pill summary {
        flex-direction: row !important;
        align-items: flex-start !important;
        min-height: 58px !important;
        padding: 10px !important;
    }
    .weather-date-line {
        font-size: 12.5px !important;
    }
    .weather-summary-line {
        font-size: 12px !important;
    }
    .weather-toggle {
        padding: 5px 8px !important;
    }
    .weather-detail-grid {
        grid-template-columns: 1fr !important;
    }
    .weather-day-headline {
        padding: 9px !important;
        border-radius: 15px !important;
    }
    .weather-day-icon {
        width: 32px !important;
        height: 32px !important;
        flex-basis: 32px !important;
        font-size: 18px !important;
    }
    .top-info-row .appearance-panel {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        padding: 10px !important;
    }
    .top-info-row .appearance-panel > div {
        display: grid !important;
        gap: 2px !important;
        justify-content: stretch !important;
    }
    .top-info-row .appearance-panel select {
        min-height: 35px !important;
        font-size: 13px !important;
    }
    .hero-copy,
    .broadcast-info-card,
    .panel,
    .section,
    .page-hero,
    .news-list-hero,
    .news-detail-hero,
    .gallery-list-hero,
    .gallery-detail-hero,
    .schedule-hero,
    .legacy-sections article {
        padding: 15px !important;
        border-radius: 18px !important;
    }
    h1,
    body[data-layout="compact"] h1 {
        font-size: clamp(27px, 10vw, 36px) !important;
        line-height: 1.03 !important;
    }
    .eyebrow,
    .section-label {
        font-size: 10px !important;
        letter-spacing: .10em !important;
    }
    .primary-action,
    .secondary-action,
    .button-like {
        width: 100% !important;
        min-height: 39px !important;
        padding: 0 13px !important;
        font-size: 13px !important;
    }
    .broadcast-info-card h2,
    .panel h2,
    .section h2,
    .legacy-sections h2,
    .news-portal-head h2,
    .today-schedule-head h2 {
        font-size: 22px !important;
    }
    .news-portal-card.has-thumb,
    .news-portal-card {
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }
    .news-card-thumb {
        width: 100% !important;
        grid-row: auto !important;
    }
    .news-portal-card.has-thumb .news-card-date,
    .news-portal-card.has-thumb .news-card-main,
    .news-portal-card.has-thumb .news-read-more {
        grid-column: auto !important;
    }
    .news-pagination a,
    .news-pagination span {
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 11px !important;
        font-size: 12px !important;
    }
    .today-schedule-head,
    .today-now-card,
    .today-schedule-item,
    .schedule-item {
        grid-template-columns: 1fr !important;
    }
    .today-schedule-time,
    .schedule-item time {
        font-size: 15px !important;
    }
    .gallery-photo-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 7px !important;
    }
    .site-footer {
        margin: 22px 0 92px !important;
        border-radius: 20px !important;
    }
    .site-footer-main {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 15px !important;
    }
    .site-footer-brand {
        gap: 9px !important;
    }
    .footer-brand-mark {
        width: 74px !important;
    }
    .site-footer-brand strong {
        font-size: 15px !important;
    }
    .site-footer-brand span,
    .site-footer-note {
        font-size: 12px !important;
        line-height: 1.32 !important;
    }
    .site-footer-link-groups {
        justify-items: start !important;
    }
    .site-footer-links {
        justify-content: flex-start !important;
        gap: 6px !important;
    }
    .site-footer-links a,
    .site-footer-links.is-secondary a {
        padding: 6px 8px !important;
        font-size: 11.5px !important;
    }
    .site-footer-bottom {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 5px !important;
        padding: 9px 15px 12px !important;
        font-size: 11.5px !important;
        text-align: left !important;
    }
    .site-footer-developer {
        text-align: left !important;
    }
    .sticky-player {
        width: calc(100% - 14px) !important;
        bottom: 7px !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px !important;
        padding: 7px 8px !important;
        border-radius: 21px !important;
    }
    .sticky-player-brand {
        gap: 7px !important;
        min-width: 0 !important;
    }
    .sticky-player-logo {
        width: 64px !important;
    }
    .sticky-player-copy strong {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 12.5px !important;
    }
    .player-status-text,
    .player-now-line {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }
    .sticky-player-vu,
    .player-live-meta {
        display: none !important;
    }
    .sticky-player-controls {
        justify-content: flex-end !important;
        gap: 7px !important;
    }
    .player-toggle {
        width: 40px !important;
        height: 40px !important;
        box-shadow: 0 10px 22px rgba(36,76,154,.22) !important;
    }
    .article-mobile-share {
        left: 8px !important;
        right: 8px !important;
        bottom: 68px !important;
        padding: 8px !important;
        border-radius: 19px !important;
    }
    .article-share-mobile .article-share-button {
        min-height: 34px !important;
        padding: 6px 8px !important;
        font-size: 11.5px !important;
    }
    .news-detail-hero h1,
    body[data-density="airy"] .news-detail-hero h1,
    body[data-density="balanced"] .news-detail-hero h1,
    body[data-density="compact"] .news-detail-hero h1,
    body[data-density="dense"] .news-detail-hero h1,
    body[data-density="ultra"] .news-detail-hero h1 {
        font-size: clamp(20px, 6.2vw, 25px) !important;
        line-height: 1.17 !important;
    }
    .account-modal {
        padding: 8px !important;
    }
    .account-modal-dialog {
        width: 100% !important;
        max-height: calc(100vh - 16px) !important;
        margin-top: 36px !important;
        padding: 15px !important;
        border-radius: 22px !important;
    }
    .account-modal h2 {
        font-size: 23px !important;
    }
}


/* 074 - markans megjelenesvalto: logikus egy/ketoszlopos layoutok, erosebb szinek, lathatobb suruseg */
:root {
    --theme-border: rgba(20,32,51,.12);
    --theme-panel-glow: rgba(242,106,46,.10);
    --theme-soft: rgba(255,255,255,.38);
}
body[data-theme="sepsi"] { --theme-border: rgba(242,106,46,.24); --theme-panel-glow: rgba(242,106,46,.14); }
body[data-theme="light"] { --theme-border: rgba(29,101,216,.22); --theme-panel-glow: rgba(29,101,216,.12); }
body[data-theme="dark"] { --theme-border: rgba(130,168,255,.28); --theme-panel-glow: rgba(130,168,255,.13); }
body[data-theme="classic"] { --theme-border: rgba(182,64,34,.24); --theme-panel-glow: rgba(182,64,34,.12); }
body[data-theme="sunrise"] { --theme-border: rgba(240,107,47,.30); --theme-panel-glow: rgba(247,183,51,.18); }
body[data-theme="sky"] { --theme-border: rgba(22,131,226,.28); --theme-panel-glow: rgba(11,166,199,.15); }
body[data-theme="coral"] { --theme-border: rgba(255,78,80,.30); --theme-panel-glow: rgba(255,78,80,.15); }
body[data-theme="mint"] { --theme-border: rgba(4,167,119,.30); --theme-panel-glow: rgba(4,167,119,.15); }
body[data-theme="gold"] { --theme-border: rgba(207,138,0,.32); --theme-panel-glow: rgba(207,138,0,.16); }
body[data-theme="mono"] { --theme-border: rgba(39,39,42,.22); --theme-panel-glow: rgba(39,39,42,.10); }
body[data-theme="earth"] { --theme-border: rgba(139,94,52,.30); --theme-panel-glow: rgba(139,94,52,.15); }
body[data-theme="neon"] { --theme-border: rgba(255,43,214,.36); --theme-panel-glow: rgba(0,229,255,.18); }
body[data-theme="nocturne"] { --theme-border: rgba(124,58,237,.34); --theme-panel-glow: rgba(37,99,235,.16); }
body[data-theme="forest"] { --theme-border: rgba(36,122,61,.30); --theme-panel-glow: rgba(36,122,61,.15); }
body[data-theme="royal"] { --theme-border: rgba(68,56,202,.32); --theme-panel-glow: rgba(180,83,9,.14); }
body[data-theme="berry"] {
    --bg: #fff0f6;
    --surface: rgba(255,255,255,.94);
    --surface-strong: #ffffff;
    --text: #2a1020;
    --muted: #806274;
    --line: rgba(128,30,73,.16);
    --brand: #c2185b;
    --brand-2: #6d28d9;
    --accent: #f97316;
    --wash-1: rgba(194,24,91,.30);
    --wash-2: rgba(109,40,217,.22);
    --theme-border: rgba(194,24,91,.32);
    --theme-panel-glow: rgba(194,24,91,.16);
}
body[data-theme="ice"] {
    --bg: #eaf7ff;
    --surface: rgba(255,255,255,.92);
    --surface-strong: #ffffff;
    --text: #0b263d;
    --muted: #56748c;
    --line: rgba(3,105,161,.16);
    --brand: #0284c7;
    --brand-2: #38bdf8;
    --accent: #7c3aed;
    --wash-1: rgba(2,132,199,.28);
    --wash-2: rgba(125,211,252,.30);
    --theme-border: rgba(2,132,199,.32);
    --theme-panel-glow: rgba(56,189,248,.17);
}
body[data-theme="lime"] {
    --bg: #f2ffe5;
    --surface: rgba(255,255,255,.93);
    --surface-strong: #ffffff;
    --text: #17230c;
    --muted: #667653;
    --line: rgba(77,124,15,.17);
    --brand: #65a30d;
    --brand-2: #16a34a;
    --accent: #ef4444;
    --wash-1: rgba(101,163,13,.30);
    --wash-2: rgba(22,163,74,.22);
    --theme-border: rgba(101,163,13,.34);
    --theme-panel-glow: rgba(101,163,13,.17);
}
body[data-theme="amber"] {
    --bg: #fff3d7;
    --surface: rgba(255,250,239,.95);
    --surface-strong: #ffffff;
    --text: #2b1b08;
    --muted: #7c6343;
    --line: rgba(180,83,9,.18);
    --brand: #b45309;
    --brand-2: #dc2626;
    --accent: #2563eb;
    --wash-1: rgba(245,158,11,.34);
    --wash-2: rgba(220,38,38,.18);
    --theme-border: rgba(180,83,9,.34);
    --theme-panel-glow: rgba(245,158,11,.18);
}
body[data-theme="violet"] {
    --bg: #f4efff;
    --surface: rgba(255,255,255,.94);
    --surface-strong: #ffffff;
    --text: #1f1438;
    --muted: #71638c;
    --line: rgba(109,40,217,.16);
    --brand: #7c3aed;
    --brand-2: #db2777;
    --accent: #06b6d4;
    --wash-1: rgba(124,58,237,.30);
    --wash-2: rgba(219,39,119,.20);
    --theme-border: rgba(124,58,237,.32);
    --theme-panel-glow: rgba(124,58,237,.16);
}
body.front {
    background:
        radial-gradient(circle at 8% 0%, var(--wash-1, rgba(242,106,46,.22)), transparent 34%),
        radial-gradient(circle at 92% 6%, var(--wash-2, rgba(36,76,154,.22)), transparent 36%),
        linear-gradient(135deg, color-mix(in srgb, var(--bg) 82%, var(--brand) 18%), var(--bg) 42%, color-mix(in srgb, var(--bg) 78%, var(--brand-2) 22%));
}
.site-header,
.weather-pill,
.top-info-row .appearance-panel,
.hero-copy,
.broadcast-info-card,
.panel,
.section,
.page-hero,
.page-content-section,
.news-card,
.gallery-card,
.today-schedule-item,
.site-footer {
    border-color: var(--theme-border) !important;
}
.hero-copy,
.broadcast-info-card,
.panel,
.section,
.page-hero,
.site-footer {
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.42), 0 0 0 1px var(--theme-panel-glow);
}
body[data-theme="dark"] .hero-copy,
body[data-theme="dark"] .broadcast-info-card,
body[data-theme="dark"] .panel,
body[data-theme="dark"] .section,
body[data-theme="dark"] .page-hero,
body[data-theme="neon"] .hero-copy,
body[data-theme="neon"] .broadcast-info-card,
body[data-theme="neon"] .panel,
body[data-theme="neon"] .section,
body[data-theme="neon"] .page-hero,
body[data-theme="nocturne"] .hero-copy,
body[data-theme="nocturne"] .broadcast-info-card,
body[data-theme="nocturne"] .panel,
body[data-theme="nocturne"] .section,
body[data-theme="nocturne"] .page-hero {
    box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px var(--theme-panel-glow);
}

/* Maximum ket oszlop: a megjelenesvalto soha nem rak ki harom vagy tobb hasabot. */
.front .news-grid,
.front .legacy-sections,
.front .gallery-card-grid,
.front .compact-gallery-grid,
.front .show-card-grid,
.front .gallery-photo-grid,
.front .news-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.front .news-card:first-child,
.front .gallery-card:first-child {
    min-height: 0;
}
.front.is-home main.home-main-fallback,
.front.is-home main {
    min-width: 0;
}
.front.is-home[data-layout="broadcast"] main {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--gap) !important;
}
.front.is-home[data-layout="broadcast"] main > * { margin-top: 0 !important; }
.front.is-home[data-layout="broadcast"] .hero { order: 1; grid-template-columns: minmax(0, .82fr) minmax(360px, 1.18fr) !important; }
.front.is-home[data-layout="broadcast"] .broadcast-info-card { min-height: 460px; background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-strong) 78%, var(--brand) 22%)); }
.front.is-home[data-layout="broadcast"] .content-grid { order: 2; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important; margin-top: 0 !important; }
.front.is-home[data-layout="broadcast"] #musorok { order: 3; }
.front.is-home[data-layout="broadcast"] #hirek { order: 4; }
.front.is-home[data-layout="broadcast"] #galeria { order: 5; }
.front.is-home[data-layout="broadcast"] #importalt-oldalak { order: 6; }

.front.is-home[data-layout="portal"] main {
    display: flex !important;
    flex-direction: column !important;
    gap: var(--gap) !important;
}
.front.is-home[data-layout="portal"] main > * { margin-top: 0 !important; }
.front.is-home[data-layout="portal"] #hirek { order: 1; }
.front.is-home[data-layout="portal"] .hero { order: 2; grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr) !important; min-height: 280px; }
.front.is-home[data-layout="portal"] .content-grid { order: 3; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin-top: 0 !important; }
.front.is-home[data-layout="portal"] #musorok { order: 4; }
.front.is-home[data-layout="portal"] #galeria { order: 5; }
.front.is-home[data-layout="portal"] #importalt-oldalak { order: 6; }
.front.is-home[data-layout="portal"] #hirek {
    background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface-strong) 78%, var(--brand) 22%));
}
.front.is-home[data-layout="portal"] #hirek .section-head h2 { font-size: clamp(34px, 5.2vw, 62px); }
.front.is-home[data-layout="portal"] #hirek .news-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr) !important; }
.front.is-home[data-layout="portal"] #hirek .news-card:first-child { grid-row: span 2; min-height: 260px; }
.front.is-home[data-layout="portal"] #hirek .news-card:first-child h3 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.02; letter-spacing: -.05em; }

.front.is-home[data-layout="magazine"] main {
    display: flex !important;
    flex-direction: column !important;
    gap: calc(var(--gap) * 1.15) !important;
}
.front.is-home[data-layout="magazine"] main > * { margin-top: 0 !important; }
.front.is-home[data-layout="magazine"] .hero { order: 1; grid-template-columns: 1fr !important; }
.front.is-home[data-layout="magazine"] .hero-copy { min-height: 420px; align-items: flex-start; }
.front.is-home[data-layout="magazine"] .broadcast-info-card { min-height: 200px; }
.front.is-home[data-layout="magazine"] #hirek { order: 2; }
.front.is-home[data-layout="magazine"] #hirek .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: calc(var(--gap) * .85); }
.front.is-home[data-layout="magazine"] #hirek .news-card { min-height: 210px; }
.front.is-home[data-layout="magazine"] .content-grid { order: 3; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; margin-top: 0 !important; }
.front.is-home[data-layout="magazine"] #galeria { order: 4; }
.front.is-home[data-layout="magazine"] #musorok { order: 5; }
.front.is-home[data-layout="magazine"] #importalt-oldalak { order: 6; }

.front.is-home[data-layout="split"] main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: var(--gap) !important;
    align-items: start;
}
.front.is-home[data-layout="split"] main > * { margin-top: 0 !important; }
.front.is-home[data-layout="split"] .hero { grid-column: 1; grid-row: 1 / span 2; grid-template-columns: 1fr !important; min-height: 620px; }
.front.is-home[data-layout="split"] .hero-copy,
.front.is-home[data-layout="split"] .broadcast-info-card { min-height: 300px; }
.front.is-home[data-layout="split"] #hirek { grid-column: 2; grid-row: 1; }
.front.is-home[data-layout="split"] #musorok { grid-column: 2; grid-row: 2; }
.front.is-home[data-layout="split"] .content-grid { grid-column: 1; grid-row: 3; grid-template-columns: 1fr !important; margin-top: 0 !important; }
.front.is-home[data-layout="split"] #galeria { grid-column: 2; grid-row: 3; }
.front.is-home[data-layout="split"] #importalt-oldalak { grid-column: 1 / -1; grid-row: 4; }
.front.is-home[data-layout="split"] #hirek .news-grid,
.front.is-home[data-layout="split"] #galeria .gallery-card-grid { grid-template-columns: 1fr !important; }

.front.is-home[data-layout="mosaic"] main {
    display: grid !important;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr) !important;
    gap: var(--gap) !important;
    align-items: start;
}
.front.is-home[data-layout="mosaic"] main > * { margin-top: 0 !important; }
.front.is-home[data-layout="mosaic"] .hero { grid-column: 1 / -1; grid-template-columns: minmax(0, .72fr) minmax(330px, 1.28fr) !important; }
.front.is-home[data-layout="mosaic"] #hirek { grid-column: 1; }
.front.is-home[data-layout="mosaic"] .content-grid { grid-column: 2; grid-template-columns: 1fr !important; margin-top: 0 !important; }
.front.is-home[data-layout="mosaic"] #galeria { grid-column: 1; }
.front.is-home[data-layout="mosaic"] #musorok { grid-column: 2; }
.front.is-home[data-layout="mosaic"] #importalt-oldalak { grid-column: 1 / -1; }
.front.is-home[data-layout="mosaic"] #hirek .news-grid,
.front.is-home[data-layout="mosaic"] #galeria .gallery-card-grid,
.front.is-home[data-layout="mosaic"] #musorok .today-schedule-list { grid-template-columns: 1fr !important; }
.front.is-home[data-layout="mosaic"] .broadcast-info-card { background: linear-gradient(145deg, color-mix(in srgb, var(--surface) 84%, var(--brand-2) 16%), var(--surface)); }

.front.is-home[data-layout="compact"] main {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: calc(var(--gap) * .75) !important;
    align-items: start;
}
.front.is-home[data-layout="compact"] main > * { margin-top: 0 !important; }
.front.is-home[data-layout="compact"] .hero { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(280px, .68fr) !important; min-height: 280px; }
.front.is-home[data-layout="compact"] .content-grid,
.front.is-home[data-layout="compact"] #hirek,
.front.is-home[data-layout="compact"] #musorok,
.front.is-home[data-layout="compact"] #galeria,
.front.is-home[data-layout="compact"] #importalt-oldalak { grid-column: auto; }
.front.is-home[data-layout="compact"] .content-grid { grid-template-columns: 1fr !important; }
.front.is-home[data-layout="compact"] .news-grid,
.front.is-home[data-layout="compact"] .gallery-card-grid,
.front.is-home[data-layout="compact"] .today-schedule-list { grid-template-columns: 1fr !important; }
.front.is-home[data-layout="compact"] h1 { font-size: clamp(30px, 4.4vw, 52px); }
.front.is-home[data-layout="compact"] .section-head { display: block; }
.front.is-home[data-layout="compact"] .section-head span { display: block; text-align: left; margin-top: 5px; }

/* Lathato suruseg: a valtasok meretben, terkozben, kartyamagassagban is erezhetok. */
body[data-density="airy"] { --gap: 42px; --radius: 38px; --hero-min: 560px; }
body[data-density="airy"] .site-wrap { width: min(1320px, calc(100% - 72px)) !important; }
body[data-density="airy"] .site-header,
body[data-density="airy"] .weather-pill,
body[data-density="airy"] .appearance-panel { padding: 24px !important; border-radius: 34px !important; }
body[data-density="airy"] .hero-copy,
body[data-density="airy"] .broadcast-info-card,
body[data-density="airy"] .panel,
body[data-density="airy"] .section,
body[data-density="airy"] .page-hero { padding: clamp(44px, 7vw, 92px) !important; }
body[data-density="airy"] .news-card,
body[data-density="airy"] .gallery-card,
body[data-density="airy"] .today-schedule-item { padding: 28px !important; border-radius: 28px !important; }
body[data-density="airy"] h1 { font-size: clamp(58px, 8.5vw, 104px) !important; }
body[data-density="airy"] .lead { font-size: clamp(20px, 2.5vw, 26px) !important; line-height: 1.62 !important; }
body[data-density="airy"] p { line-height: 1.68; }

body[data-density="comfortable"] { --gap: 26px; --radius: 28px; --hero-min: 440px; }

body[data-density="balanced"] { --gap: 18px; --radius: 22px; --hero-min: 360px; }
body[data-density="balanced"] .site-header,
body[data-density="balanced"] .weather-pill,
body[data-density="balanced"] .appearance-panel { padding: 13px !important; }
body[data-density="balanced"] .hero-copy,
body[data-density="balanced"] .broadcast-info-card,
body[data-density="balanced"] .panel,
body[data-density="balanced"] .section,
body[data-density="balanced"] .page-hero { padding: 24px !important; }
body[data-density="balanced"] h1 { font-size: clamp(38px, 5.8vw, 64px) !important; }

body[data-density="compact"] { --gap: 11px; --radius: 16px; --hero-min: 285px; }
body[data-density="compact"] .site-wrap { width: min(1200px, calc(100% - 18px)) !important; }
body[data-density="compact"] .site-header,
body[data-density="compact"] .weather-pill,
body[data-density="compact"] .appearance-panel { padding: 9px !important; border-radius: 18px !important; }
body[data-density="compact"] .hero-copy,
body[data-density="compact"] .broadcast-info-card,
body[data-density="compact"] .panel,
body[data-density="compact"] .section,
body[data-density="compact"] .page-hero { padding: 16px !important; }
body[data-density="compact"] .news-card,
body[data-density="compact"] .gallery-card,
body[data-density="compact"] .today-schedule-item { padding: 12px !important; border-radius: 14px !important; }
body[data-density="compact"] h1 { font-size: clamp(30px, 4.5vw, 48px) !important; }
body[data-density="compact"] h2 { font-size: 24px; }
body[data-density="compact"] p { font-size: 14px; line-height: 1.42; }

body[data-density="dense"] { --gap: 7px; --radius: 12px; --hero-min: 235px; }
body[data-density="dense"] .site-wrap { width: min(1240px, calc(100% - 10px)) !important; }
body[data-density="dense"] .site-header,
body[data-density="dense"] .weather-pill,
body[data-density="dense"] .appearance-panel { padding: 7px !important; border-radius: 14px !important; }
body[data-density="dense"] .hero-copy,
body[data-density="dense"] .broadcast-info-card,
body[data-density="dense"] .panel,
body[data-density="dense"] .section,
body[data-density="dense"] .page-hero { padding: 11px !important; }
body[data-density="dense"] .news-card,
body[data-density="dense"] .gallery-card,
body[data-density="dense"] .today-schedule-item { padding: 9px !important; border-radius: 12px !important; }
body[data-density="dense"] h1 { font-size: clamp(25px, 3.8vw, 38px) !important; line-height: 1 !important; }
body[data-density="dense"] h2 { font-size: 20px !important; }
body[data-density="dense"] p,
body[data-density="dense"] .lead { font-size: 13px !important; line-height: 1.32 !important; }
body[data-density="dense"] .brand-logo-animated { width: clamp(82px, 8vw, 112px) !important; }
body[data-density="dense"] .main-nav a { padding: 6px 7px !important; font-size: 12px !important; }

body[data-density="ultra"] { --gap: 4px; --radius: 9px; --hero-min: 190px; }
body[data-density="ultra"] .site-wrap { width: min(1280px, calc(100% - 6px)) !important; }
body[data-density="ultra"] .site-header,
body[data-density="ultra"] .weather-pill,
body[data-density="ultra"] .appearance-panel { padding: 5px !important; margin-top: 5px !important; margin-bottom: 5px !important; border-radius: 11px !important; }
body[data-density="ultra"] .hero-copy,
body[data-density="ultra"] .broadcast-info-card,
body[data-density="ultra"] .panel,
body[data-density="ultra"] .section,
body[data-density="ultra"] .page-hero { padding: 8px !important; }
body[data-density="ultra"] .news-card,
body[data-density="ultra"] .gallery-card,
body[data-density="ultra"] .today-schedule-item { padding: 7px !important; border-radius: 9px !important; }
body[data-density="ultra"] h1 { font-size: clamp(21px, 3.4vw, 31px) !important; line-height: .98 !important; }
body[data-density="ultra"] h2 { font-size: 18px !important; }
body[data-density="ultra"] p,
body[data-density="ultra"] .lead { font-size: 12px !important; line-height: 1.24 !important; }
body[data-density="ultra"] .brand-logo-animated { width: clamp(66px, 7vw, 92px) !important; }
body[data-density="ultra"] .brand-copy strong { font-size: 14px !important; }
body[data-density="ultra"] .brand-copy em { font-size: 10px !important; }
body[data-density="ultra"] .weather-detail-note,
body[data-density="ultra"] .section-head span { display: none; }

@media (max-width: 980px) {
    .front.is-home[data-layout="split"] main,
    .front.is-home[data-layout="mosaic"] main,
    .front.is-home[data-layout="compact"] main {
        display: flex !important;
        flex-direction: column !important;
    }
    .front.is-home[data-layout="split"] main > *,
    .front.is-home[data-layout="mosaic"] main > *,
    .front.is-home[data-layout="compact"] main > * {
        grid-column: auto !important;
        grid-row: auto !important;
        margin-top: 0 !important;
    }
    .front.is-home[data-layout="portal"] #hirek .news-grid,
    .front.is-home[data-layout="magazine"] #hirek .news-grid,
    .front.is-home[data-layout="broadcast"] .content-grid,
    .front.is-home[data-layout="portal"] .content-grid,
    .front.is-home[data-layout="magazine"] .content-grid,
    .front.is-home[data-layout="compact"] .hero,
    .front.is-home[data-layout="mosaic"] .hero,
    .front.is-home[data-layout="split"] .hero,
    .front.is-home[data-layout="portal"] .hero,
    .front.is-home[data-layout="broadcast"] .hero {
        grid-template-columns: 1fr !important;
    }
    .front .news-grid,
    .front .legacy-sections,
    .front .gallery-card-grid,
    .front .compact-gallery-grid,
    .front .show-card-grid,
    .front .gallery-photo-grid,
    .front .news-portal-grid {
        grid-template-columns: 1fr !important;
    }
    .front.is-home[data-layout="portal"] #hirek .news-card:first-child {
        grid-row: auto;
        min-height: 0;
    }
}
@media (max-width: 820px) {
    body[data-density="airy"] .site-wrap,
    body[data-density="comfortable"] .site-wrap,
    body[data-density="balanced"] .site-wrap,
    body[data-density="compact"] .site-wrap,
    body[data-density="dense"] .site-wrap,
    body[data-density="ultra"] .site-wrap {
        width: min(100% - 20px, 1180px) !important;
    }
    body[data-density="airy"] h1,
    body[data-density="comfortable"] h1,
    body[data-density="balanced"] h1,
    body[data-density="compact"] h1,
    body[data-density="dense"] h1,
    body[data-density="ultra"] h1 {
        font-size: clamp(28px, 8.4vw, 40px) !important;
    }
}
.weather-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (max-width: 820px) {
    .top-info-row .appearance-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .top-info-row .appearance-panel > div {
        grid-column: 1 / -1 !important;
    }
}


/* 075 - SOS hallgatoi fiok modal: kompakt, belsoleg gorgetheto regisztracio */
.account-modal {
    align-items: flex-start !important;
    justify-content: flex-end !important;
    padding: clamp(10px, 2.4vw, 22px) !important;
}
.account-modal-dialog {
    display: flex !important;
    flex-direction: column !important;
    width: min(430px, calc(100vw - 24px)) !important;
    max-height: min(760px, calc(100dvh - 22px)) !important;
    overflow: hidden !important;
    margin-top: clamp(14px, 4.5vh, 34px) !important;
    padding: 17px !important;
    border-radius: 24px !important;
}
.account-modal-kicker {
    margin-bottom: 3px !important;
    font-size: 11px !important;
    letter-spacing: .09em !important;
}
.account-modal h2 {
    margin: 0 40px 10px 0 !important;
    font-size: clamp(20px, 2.35vw, 25px) !important;
    line-height: 1.04 !important;
}
.account-modal-tabs {
    flex: 0 0 auto !important;
    margin: 0 0 10px !important;
    padding: 4px !important;
    gap: 5px !important;
}
.account-modal-tabs button {
    min-height: 34px !important;
    font-size: 14px !important;
}
.account-modal-panel.is-active {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 3px !important;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}
.account-modal-form {
    gap: 8px !important;
    padding-bottom: 2px !important;
}
.account-modal-form .form-grid,
.account-modal-form .compact-register-grid {
    gap: 7px !important;
}
.account-modal-form label {
    gap: 4px !important;
    font-size: 12.5px !important;
    line-height: 1.18 !important;
}
.account-modal-form label span {
    font-size: 11px !important;
}
.account-modal-form input[type="text"],
.account-modal-form input[type="email"],
.account-modal-form input[type="password"],
.account-modal-form input[type="date"],
.account-modal-form input[type="tel"] {
    min-height: 37px !important;
    padding: 8px 11px !important;
    border-radius: 12px !important;
    font-size: 13.5px !important;
}
.account-modal-form .account-captcha {
    margin-top: 3px !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
}
.account-modal-form .account-captcha input {
    margin-top: 6px !important;
}
.account-modal-form .account-consent {
    align-items: flex-start !important;
    display: flex !important;
    gap: 8px !important;
    margin: 6px 0 0 !important;
    padding: 10px 12px !important;
    border-radius: 16px !important;
    background: color-mix(in srgb, var(--surface-strong) 52%, transparent) !important;
    border: 1px solid var(--line) !important;
}
.account-modal-form .account-consent input[type="checkbox"] {
    flex: 0 0 auto !important;
    margin-top: 1px !important;
}
.account-modal-form .account-actions {
    position: sticky !important;
    bottom: -2px !important;
    z-index: 3 !important;
    margin-top: 7px !important;
    padding: 8px 0 1px !important;
    background: linear-gradient(to top, var(--surface) 72%, color-mix(in srgb, var(--surface) 0%, transparent)) !important;
}
.account-modal-form .primary-action {
    min-height: 38px !important;
    font-size: 14px !important;
    border-radius: 999px !important;
}
.account-modal-close {
    top: 10px !important;
    right: 10px !important;
    width: 31px !important;
    height: 31px !important;
    font-size: 20px !important;
}

@media (max-width: 760px) {
    .account-modal {
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    .account-modal-dialog {
        width: 100% !important;
        max-width: none !important;
        max-height: calc(100dvh - 8px) !important;
        margin: 8px 0 0 !important;
        padding: 15px 14px calc(14px + env(safe-area-inset-bottom)) !important;
        border-radius: 24px 24px 0 0 !important;
    }
    .account-modal h2 {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }
    .account-modal-tabs button {
        min-height: 32px !important;
        font-size: 13.5px !important;
    }
    .account-modal-form .compact-register-grid {
        gap: 6px !important;
    }
    .account-modal-form input[type="text"],
    .account-modal-form input[type="email"],
    .account-modal-form input[type="password"],
    .account-modal-form input[type="date"],
    .account-modal-form input[type="tel"] {
        min-height: 35px !important;
        padding: 7px 10px !important;
        font-size: 13px !important;
    }
    .account-modal-form .account-captcha,
    .account-modal-form .account-consent {
        padding: 8px 10px !important;
        border-radius: 14px !important;
    }
}

@media (max-height: 760px) {
    .account-modal-dialog {
        max-height: calc(100dvh - 10px) !important;
        margin-top: 5px !important;
        padding-top: 13px !important;
        padding-bottom: 13px !important;
    }
    .account-modal h2 {
        font-size: 19px !important;
        margin-bottom: 7px !important;
    }
    .account-modal-kicker {
        font-size: 10.5px !important;
    }
    .account-modal-tabs {
        margin-bottom: 7px !important;
    }
    .account-modal-tabs button {
        min-height: 31px !important;
    }
}

/* 076 - hallgatoi fiok modal: ketoszlopos regisztracio nagyobb kijelzon */
@media (min-width: 761px) {
    .account-modal-dialog {
        width: min(760px, calc(100vw - 44px)) !important;
        max-height: min(720px, calc(100dvh - 28px)) !important;
        padding: 18px !important;
    }
    .account-modal h2 {
        margin-bottom: 9px !important;
    }
    .account-modal-tabs {
        max-width: 520px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .account-modal-panel[data-account-panel="login"].is-active {
        max-width: 430px !important;
        margin-inline: auto !important;
    }
    .account-modal-panel[data-account-panel="register"].is-active {
        padding-right: 5px !important;
    }
    .account-modal-panel[data-account-panel="register"] .account-modal-form {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px 12px !important;
        align-items: start !important;
    }
    .account-modal-panel[data-account-panel="register"] .compact-register-grid {
        display: grid !important;
        grid-column: 1 / -1 !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px 12px !important;
    }
    .account-modal-panel[data-account-panel="register"] .account-captcha,
    .account-modal-panel[data-account-panel="register"] .account-consent {
        min-height: 70px !important;
        margin-top: 2px !important;
    }
    .account-modal-panel[data-account-panel="register"] .account-captcha {
        grid-column: 1 / 2 !important;
    }
    .account-modal-panel[data-account-panel="register"] .account-consent {
        grid-column: 2 / 3 !important;
    }
    .account-modal-panel[data-account-panel="register"] .account-actions {
        grid-column: 1 / -1 !important;
        margin-top: 2px !important;
    }
    .account-modal-panel[data-account-panel="register"] .primary-action {
        min-height: 39px !important;
    }
}

@media (min-width: 761px) and (max-height: 760px) {
    .account-modal-dialog {
        max-height: calc(100dvh - 14px) !important;
        margin-top: 7px !important;
        padding: 14px 16px !important;
    }
    .account-modal-panel[data-account-panel="register"] .compact-register-grid {
        gap: 6px 10px !important;
    }
    .account-modal-panel[data-account-panel="register"] .account-modal-form {
        gap: 6px 10px !important;
    }
    .account-modal-panel[data-account-panel="register"] .account-captcha,
    .account-modal-panel[data-account-panel="register"] .account-consent {
        min-height: 62px !important;
        padding: 8px 10px !important;
    }
}

@media (max-width: 760px) {
    .account-modal-panel[data-account-panel="register"] .compact-register-grid {
        grid-template-columns: 1fr !important;
    }
}


/* 079 - mobilos lejátszó hotfix: a player nem ugorhat fel és nem nyúlhat teljes képernyőre */
@media (max-width: 760px) {
    html body.front .sticky-player,
    html body.front .sticky-player.is-footer-mode {
        position: fixed !important;
        top: auto !important;
        right: auto !important;
        left: 50% !important;
        bottom: max(7px, env(safe-area-inset-bottom)) !important;
        transform: translateX(-50%) !important;
        width: calc(100% - 14px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 68px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-auto-rows: auto !important;
        align-items: center !important;
        align-content: center !important;
        gap: 8px !important;
        padding: 7px 8px !important;
        border-radius: 21px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        z-index: 90 !important;
    }
    html body.front .sticky-player:before,
    html body.front .sticky-player.is-footer-mode:before {
        inset: 3px !important;
        border-radius: 18px !important;
    }
    html body.front .sticky-player > *,
    html body.front .sticky-player.is-footer-mode > * {
        min-width: 0 !important;
        min-height: 0 !important;
    }
    html body.front .sticky-player-brand {
        display: flex !important;
        align-items: center !important;
        height: 48px !important;
        max-height: 48px !important;
        gap: 7px !important;
        overflow: hidden !important;
    }
    html body.front .sticky-player-logo {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        flex: 0 0 58px !important;
    }
    html body.front .sticky-player-copy {
        min-width: 0 !important;
        overflow: hidden !important;
    }
    html body.front .sticky-player-copy strong,
    html body.front .player-now-line,
    html body.front .player-status-text {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    html body.front .sticky-player-copy strong {
        font-size: 12.5px !important;
        line-height: 1.08 !important;
    }
    html body.front .player-now-line,
    html body.front .player-status-text {
        font-size: 10.5px !important;
        line-height: 1.14 !important;
        margin-top: 2px !important;
    }
    html body.front .sticky-player-vu,
    html body.front .player-live-meta {
        display: none !important;
    }
    html body.front .sticky-player-controls {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        height: 48px !important;
        max-height: 48px !important;
        gap: 0 !important;
        overflow: hidden !important;
    }
    html body.front .player-toggle {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        border-radius: 999px !important;
        box-shadow: 0 10px 22px rgba(36,76,154,.22) !important;
    }
    html body.front.is-player-top .site-header,
    html body.front.is-player-top .site-wrap {
        margin-top: 0 !important;
    }
    html body.front {
        padding-bottom: 82px !important;
    }
    html body.front .site-wrap {
        padding-bottom: 92px !important;
    }
}

@media (max-width: 390px) {
    html body.front .sticky-player,
    html body.front .sticky-player.is-footer-mode {
        width: calc(100% - 10px) !important;
        max-height: 62px !important;
        padding: 6px 7px !important;
        border-radius: 19px !important;
    }
    html body.front .sticky-player-brand,
    html body.front .sticky-player-controls {
        height: 44px !important;
        max-height: 44px !important;
    }
    html body.front .sticky-player-logo {
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
        flex-basis: 52px !important;
    }
    html body.front .player-toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
}

/* 082 - Jazzler NowOnAir: eloado, dalcim es kovetkezo szam */
.live-song-card {
    margin: 18px 0 16px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line));
    border-radius: 22px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--surface) 88%, var(--brand) 12%), color-mix(in srgb, var(--surface) 86%, var(--brand-2) 14%));
    box-shadow: 0 14px 28px rgba(18, 24, 40, .08);
}
.live-song-card span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 7px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.live-song-card span:before {
    content: "♫";
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    letter-spacing: 0;
}
.live-song-card strong {
    display: block;
    color: var(--text);
    font-size: clamp(20px, 2.4vw, 30px);
    line-height: 1.08;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
}
.live-song-card em {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}
.live-song-card small {
    display: block;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
    color: color-mix(in srgb, var(--text) 78%, var(--muted));
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
}
.live-song-card small:empty {
    display: none;
}
.panel-now-playing-line {
    margin: 12px 0 8px;
    padding: 10px 12px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface-strong) 82%, var(--brand) 18%);
    color: var(--text);
    font-size: 14px;
    line-height: 1.3;
}
.panel-now-playing-line span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.panel-now-playing-line strong {
    font-weight: 950;
}
.panel-now-playing-line em {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
}
.panel-now-playing-line em:empty {
    display: none;
}
.player-next-line {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.15;
    max-width: 460px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.player-next-line:empty {
    display: none;
}
.sticky-player[data-now-source="jazzler_now_on_air"] .player-now-title:after,
.sticky-player[data-now-source="stream_metadata"] .player-now-title:after {
    content: "LIVE";
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #fff;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
    vertical-align: middle;
}
@media (max-width: 720px) {
    .live-song-card {
        margin: 14px 0 12px;
        padding: 12px 13px;
        border-radius: 18px;
    }
    .live-song-card strong {
        font-size: 18px;
        line-height: 1.14;
    }
    .live-song-card em {
        font-size: 12px;
    }
    .live-song-card small {
        font-size: 11px;
    }
    .player-next-line {
        display: none !important;
    }
    .panel-now-playing-line {
        font-size: 13px;
    }
}


/* 084 - kompaktabb "Most a rádióban" kartya */
.hero {
    align-items: start;
}
.broadcast-info-card {
    align-self: start;
    min-height: 0;
    padding: 20px;
    gap: 6px;
}
.broadcast-info-card:before {
    width: 180px;
    height: 180px;
    right: -74px;
    top: -82px;
    opacity: .9;
}
.broadcast-info-card .live-badge,
.broadcast-info-card .info-badge {
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1;
}
.broadcast-info-card h2 {
    margin: 10px 0 4px;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.08;
}
.broadcast-info-card > p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.42;
}
.broadcast-info-card .live-song-card {
    margin-top: 8px;
    padding: 14px 16px;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--card-bg-soft) 82%, white 18%);
    box-shadow: var(--card-shadow-soft);
    display: grid;
    gap: 6px;
}
.broadcast-info-card .live-song-card span {
    color: var(--brand);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.broadcast-info-card .live-song-card strong {
    color: var(--text);
    font-size: clamp(17px, 1.9vw, 20px);
    line-height: 1.14;
    letter-spacing: -.02em;
}
.broadcast-info-card .live-song-card em {
    display: none;
}
.broadcast-info-card .live-song-card small {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(68, 56, 202, .10);
    color: var(--text);
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
}
.next-show-teaser {
    margin-top: 10px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
}
.next-show-teaser span {
    grid-column: 1 / -1;
    font-size: 11px;
    line-height: 1;
}
.next-show-teaser strong {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.16;
}
.next-show-teaser em {
    margin-top: 0;
    justify-self: end;
    font-size: 12px;
    line-height: 1.2;
}
.station-facts {
    margin-top: 12px;
    padding-top: 12px;
}
.station-facts dt,
.station-facts dd,
.broadcast-info-card dt,
.broadcast-info-card dd {
    font-size: 14px;
    line-height: 1.25;
}
@media (max-width: 900px) {
    .hero {
        align-items: stretch;
    }
    .broadcast-info-card {
        align-self: stretch;
    }
}

/* 085 - Jazzler dalelőzmények / elmúlt óra dalai */
.airplay-history-button {
    appearance: none;
    border: 1px solid rgba(68, 56, 202, .18);
    background: rgba(255,255,255,.70);
    color: var(--text);
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
    min-height: 32px;
    padding: 7px 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.airplay-history-button:hover {
    transform: translateY(-1px);
    border-color: rgba(68, 56, 202, .34);
    box-shadow: 0 12px 24px rgba(15, 23, 42, .10);
}
body[data-theme="dark"] .airplay-history-button {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
}
.airplay-history-modal[hidden] { display: none !important; }
.airplay-history-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 24px;
}
.airplay-history-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.airplay-history-sheet {
    position: relative;
    width: min(560px, calc(100vw - 32px));
    max-height: min(680px, calc(100vh - 64px));
    overflow: hidden;
    border: 1px solid var(--card-border);
    border-radius: 30px;
    background: color-mix(in srgb, var(--card-bg) 92%, white 8%);
    box-shadow: 0 32px 80px rgba(15, 23, 42, .24);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}
.airplay-history-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--card-border);
    border-radius: 999px;
    background: rgba(255,255,255,.76);
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}
.airplay-history-head {
    padding: 24px 62px 16px 24px;
    border-bottom: 1px solid var(--card-border);
}
.airplay-history-head span {
    display: block;
    margin-bottom: 5px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.airplay-history-head h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.airplay-history-head p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}
.airplay-history-list {
    overflow: auto;
    padding: 12px;
    display: grid;
    gap: 8px;
}
.airplay-history-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    background: var(--card-bg-soft);
}
.airplay-history-item time {
    color: var(--brand);
    font-size: 13px;
    font-weight: 950;
}
.airplay-history-item strong {
    display: block;
    color: var(--text);
    font-size: 15px;
    line-height: 1.16;
    letter-spacing: -.015em;
}
.airplay-history-item span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.airplay-history-item em {
    color: var(--muted);
    font-style: normal;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}
.airplay-history-empty {
    padding: 22px;
    border: 1px dashed var(--card-border);
    border-radius: 18px;
    color: var(--muted);
    font-weight: 850;
    text-align: center;
}
.airplay-history-source {
    margin: 0;
    padding: 12px 24px 18px;
    border-top: 1px solid var(--card-border);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
body.is-airplay-history-open { overflow: hidden; }
@media (max-width: 700px) {
    .airplay-history-modal {
        place-items: end center;
        padding: 10px;
    }
    .airplay-history-sheet {
        width: 100%;
        max-height: 82vh;
        border-radius: 26px 26px 18px 18px;
    }
    .airplay-history-head {
        padding: 20px 58px 13px 18px;
    }
    .airplay-history-list {
        padding: 10px;
    }
    .airplay-history-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 9px;
        min-height: 54px;
        padding: 9px 10px;
    }
    .airplay-history-item em {
        grid-column: 2;
        justify-self: start;
        margin-top: -4px;
    }
}


/* 086 - AirPlay history modal hotfix: fixen kozepen, nem a sticky playerben */
html body.front .airplay-history-modal[hidden] {
    display: none !important;
}
html body.front .airplay-history-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 50000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: max(16px, env(safe-area-inset-top)) 16px max(96px, calc(env(safe-area-inset-bottom) + 86px)) !important;
    box-sizing: border-box !important;
    pointer-events: auto !important;
}
html body.front .airplay-history-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    background: rgba(15, 23, 42, .46) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}
html body.front .airplay-history-sheet {
    position: relative !important;
    z-index: 1 !important;
    width: min(540px, calc(100vw - 28px)) !important;
    max-height: min(620px, calc(100dvh - 128px)) !important;
    overflow: hidden !important;
    border-radius: 26px !important;
    display: grid !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    transform: none !important;
}
html body.front .airplay-history-head {
    padding: 18px 58px 12px 20px !important;
}
html body.front .airplay-history-head h2 {
    font-size: clamp(20px, 2.8vw, 25px) !important;
}
html body.front .airplay-history-list {
    padding: 10px !important;
    gap: 7px !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
html body.front .airplay-history-item {
    grid-template-columns: 48px minmax(0, 1fr) auto !important;
    min-height: 0 !important;
    padding: 9px 10px !important;
    gap: 10px !important;
    border-radius: 16px !important;
}
html body.front .airplay-history-item strong {
    font-size: 14px !important;
    line-height: 1.14 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
html body.front .airplay-history-item span {
    font-size: 12px !important;
    line-height: 1.18 !important;
}
html body.front .airplay-history-item em {
    padding: 4px 8px !important;
    border-radius: 999px !important;
    background: rgba(68, 56, 202, .09) !important;
    font-size: 11px !important;
}
html body.front .airplay-history-source {
    padding: 10px 20px 14px !important;
}
html body.front.is-airplay-history-open {
    overflow: hidden !important;
}
html body.front.is-airplay-history-open .sticky-player {
    z-index: 80 !important;
}
@media (max-width: 700px) {
    html body.front .airplay-history-modal {
        align-items: center !important;
        justify-content: center !important;
        padding: max(12px, env(safe-area-inset-top)) 10px max(92px, calc(env(safe-area-inset-bottom) + 82px)) !important;
    }
    html body.front .airplay-history-sheet {
        width: calc(100vw - 20px) !important;
        max-height: min(560px, calc(100dvh - 128px)) !important;
        border-radius: 22px !important;
    }
    html body.front .airplay-history-head {
        padding: 16px 52px 10px 16px !important;
    }
    html body.front .airplay-history-item {
        grid-template-columns: 44px minmax(0, 1fr) !important;
        padding: 8px 9px !important;
    }
    html body.front .airplay-history-item em {
        grid-column: 2 !important;
        justify-self: start !important;
        margin-top: -2px !important;
    }
}


/* 089 - AirPlay history modal visual spacing fix */
html body.front .airplay-history-sheet {
    width: min(600px, calc(100vw - 28px)) !important;
}
html body.front .airplay-history-list {
    padding: 14px 14px 12px !important;
    gap: 10px !important;
}
html body.front .airplay-history-item {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) auto !important;
    align-items: start !important;
    min-height: 72px !important;
    padding: 12px 14px !important;
    gap: 12px !important;
    border-radius: 16px !important;
    background: color-mix(in srgb, var(--card-bg-soft) 92%, white 8%) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55) !important;
}
html body.front .airplay-history-item > div {
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
    align-content: start !important;
}
html body.front .airplay-history-item time {
    display: block !important;
    align-self: start !important;
    padding-top: 5px !important;
    font-size: 14px !important;
    line-height: 1 !important;
}
html body.front .airplay-history-item strong {
    display: block !important;
    margin: 0 !important;
    color: var(--text) !important;
    font-size: 18px !important;
    line-height: 1.14 !important;
    letter-spacing: -.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
html body.front .airplay-history-item span {
    display: block !important;
    margin: 0 !important;
    color: var(--muted) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
html body.front .airplay-history-item em {
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: rgba(68, 56, 202, .10) !important;
    color: var(--muted) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
html body.front .airplay-history-empty {
    padding: 26px 20px !important;
    line-height: 1.4 !important;
}
@media (max-width: 700px) {
    html body.front .airplay-history-sheet {
        width: calc(100vw - 20px) !important;
    }
    html body.front .airplay-history-list {
        padding: 12px 10px 10px !important;
        gap: 8px !important;
    }
    html body.front .airplay-history-item {
        grid-template-columns: 50px minmax(0, 1fr) !important;
        min-height: 0 !important;
        padding: 10px 11px !important;
        gap: 10px !important;
    }
    html body.front .airplay-history-item > div {
        gap: 3px !important;
    }
    html body.front .airplay-history-item time {
        padding-top: 4px !important;
        font-size: 13px !important;
    }
    html body.front .airplay-history-item strong {
        font-size: 16px !important;
        line-height: 1.14 !important;
    }
    html body.front .airplay-history-item span {
        font-size: 13px !important;
    }
    html body.front .airplay-history-item em {
        grid-column: 2 !important;
        justify-self: start !important;
        align-self: start !important;
        margin-top: 3px !important;
        padding: 5px 9px !important;
    }
}

/* 096 - next song visibility guard */
html body.front [data-now-playing-next][hidden] {
    display: none !important;
}
html body.front .live-song-card [data-now-playing-next]:empty {
    display: none !important;
}
