/* Uj kinezet (2026) - az onlinestat.css utan toltodik be es felulirja azt.
   A HTML szerkezethez nem nyul: a lista tablazatabol flex sorokat csinal. */

:root {
    --rd-bg: #0b0c0e;
    --rd-surface: #14171a;
    --rd-surface-2: #1b1f23;
    --rd-line: #23272c;
    --rd-text: #f3f5f2;
    --rd-muted: #9aa0a6;
    --rd-green: #6fc401;
    --rd-green-ink: #0c1400;
    --rd-red: #e5564f;
    --rd-text-2: #c9cdd1;
    --rd-dim: #6b7178;
    --rd-line-2: #2a2e33;
    --rd-line-3: #3a3f45;
    --rd-tile: #1d2125;
    --rd-tile-2: #262b30;
    --rd-inset: #0f1113;
    --rd-green-soft: #b9e28a;
    --rd-green-border: #2f4a12;
    --rd-green-bg: #12160d;
    --rd-warn-text: #f2d48a;
    --rd-warn-border: #5a4612;
    --rd-warn-bg: #2a2108;
    --rd-err-text: #f29a94;
    --rd-err-border: #5a2622;
    --rd-err-bg: #2a1513;
    --rd-green-text: #6fc401;
    --rd-strong: #ffffff;
}

/* vilagos tema: a fejlec kapcsoloja allitja (html data-theme="light") */
html[data-theme="light"] {
    --rd-bg: #f3f4f6;
    --rd-surface: #ffffff;
    --rd-surface-2: #eef0f3;
    --rd-line: #e1e4e8;
    --rd-text: #15181b;
    --rd-muted: #5f6770;
    --rd-text-2: #3a4047;
    --rd-dim: #7a828b;
    --rd-line-2: #cfd4da;
    --rd-line-3: #aab1b9;
    --rd-tile: #e9ecef;
    --rd-tile-2: #dde1e6;
    --rd-inset: #f0f2f4;
    --rd-green-soft: #2f6100;
    --rd-green-border: #a9d67a;
    --rd-green-bg: #eef8e0;
    --rd-warn-text: #7a5a00;
    --rd-warn-border: #e6cf8a;
    --rd-warn-bg: #fdf6dc;
    --rd-err-text: #b3261e;
    --rd-err-border: #f0b8b3;
    --rd-err-bg: #fdecea;
    --rd-green-text: #3d7a00;
    --rd-strong: #000000;
}


html body {
    background: var(--rd-bg);
    color: var(--rd-text);
    font-size: 15px;
    padding-bottom: 76px;
}

/* ---------- fejlec ---------- */
body > header.container { padding-top: 6px; }
body .header_logo { width: 250px; height: 38px; margin: 10px auto 6px; }
body .header_felirat_1 { color: var(--rd-muted); font-size: 13px; font-weight: 400; margin-bottom: 14px; }

/* ---------- mobil szurosav ---------- */
body .navbar.sidebar_collapse { background: transparent; border: 0; margin: 0 0 6px; min-height: 0; box-shadow: none; }
body .navbar.sidebar_collapse > .container { display: flex; align-items: center; gap: 8px; }
body .navbar.sidebar_collapse > .container:before,
body .navbar.sidebar_collapse > .container:after { display: none; }
body .navbar.sidebar_collapse .rd-chips { display: flex; gap: 8px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
body .navbar.sidebar_collapse .rd-chips a {
    font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--rd-line-2);
    color: var(--rd-text-2); white-space: nowrap; text-decoration: none;
}
body .navbar.sidebar_collapse .rd-chips a.rd-check { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); font-weight: 700; }
body .navbar.sidebar_collapse .navbar-header { float: none; margin: 0; }
body .navbar.sidebar_collapse .navbar-toggle { margin: 0; border: 1px solid var(--rd-line-2); border-radius: 10px; padding: 10px; background: transparent; }
body .navbar.sidebar_collapse .navbar-toggle .icon-bar { background: var(--rd-text-2); }

/* ---------- oldalsav ---------- */
body .sidebar .sidebar_adok_listazasa > a,
body .sidebar .sidebar_adok_listazasa > span > a,
body .sidebar .egyeb_menu > a { display: block; margin-bottom: 4px; text-decoration: none; }
body .sidebar .sidebar_adok_listazasa > a > div,
body .sidebar .egyeb_menu > a > div {
    background: transparent; border: 0; border-radius: 10px; padding: 9px 12px; margin: 0;
    display: flex; align-items: center; justify-content: space-between; min-height: 0; height: auto;
}
body .sidebar .sidebar_adok_listazasa > a > div p,
body .sidebar .egyeb_menu > a > div p { margin: 0; padding: 0; font-size: 14px; font-weight: 400; color: var(--rd-text-2); float: none; }
body .sidebar .sidebar_adok_listazasa > a:hover > div,
body .sidebar .egyeb_menu > a:hover > div { background: var(--rd-surface); }
body .sidebar .sidebar_adok_listazasa > a > div > .glyphicon { position: static; float: none; font-size: 0; width: 8px; height: 8px; border-radius: 50%; }
body .sidebar .sidebar_adok_listazasa > a > div > .glyphicon-check { background: var(--rd-green); }
body .sidebar .sidebar_adok_listazasa > a > div:has(.glyphicon-check) { background: var(--rd-surface); }
body .sidebar .sidebar_adok_listazasa > a > div:has(.glyphicon-check) p { color: var(--rd-text); font-weight: 700; }
body .sidebar .egyeb_menu > a > div > .glyphicon,
body .sidebar .egyeb_menu > a > div > .fa { position: static; float: none; color: var(--rd-muted); font-size: 14px; }
body .sidebar .sidebar_adok_reszletes_kereses_box,
body .sidebar .sidebar_szamcim_kereses_box {
    background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; padding: 12px; margin: 10px 0;
}
body .sidebar .sidebar_adok_reszletes_kereses_box > p,
body .sidebar .sidebar_szamcim_kereses_box > p { font-size: 11px; letter-spacing: .6px; color: var(--rd-muted); margin: 0 0 8px; }
body .sidebar input[type=text], body .sidebar select, body .sidebar .dropdown > button {
    background: var(--rd-bg); border: 1px solid var(--rd-line-2); border-radius: 8px; color: var(--rd-text); box-shadow: none;
}
body .sidebar button[type=submit], body .sidebar input[type=submit] {
    background: var(--rd-green); color: var(--rd-green-ink); border: 0; border-radius: 8px; font-weight: 700; box-shadow: none; text-shadow: none;
}

/* ---------- lapozo ---------- */
body .content .pagination { margin: 4px 0 10px; }
body .content .pagination > li > a, body .content .pagination > li > span {
    background: transparent; border: 0; color: var(--rd-muted); border-radius: 8px; margin-right: 2px; padding: 6px 11px; font-size: 14px;
}
body .content .pagination > li > a:hover { background: var(--rd-surface); color: var(--rd-text); }
body .content .pagination > .active > a, body .content .pagination > .active > span,
body .content .pagination > .active > a:hover { background: var(--rd-surface-2); color: var(--rd-text); font-weight: 700; }
body .lista_talalat_oldal > button {
    background: transparent; border: 1px solid var(--rd-line-2); border-radius: 8px; color: var(--rd-text-2); font-size: 13px; padding: 6px 12px; box-shadow: none;
}

/* ---------- lista: tablazatbol sorok ---------- */
body .lista { background: transparent; border: 0; margin: 0 0 10px; padding: 0; }
body .lista > table, body .lista > table > tbody { display: block; width: 100%; border: 0; background: transparent; }
body .lista > table > tbody > tr {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-bottom: 1px solid var(--rd-line);
    background: transparent; height: auto;
}
body .lista > table > tbody > tr.lista_paros_sor,
body .lista > table > tbody > tr.lista_paratlan_sor,
body .lista_collapse > table > tbody > tr.lista_collapse_paros_sor,
body .lista_collapse > table > tbody > tr.lista_collapse_paratlan_sor { background: transparent; }
body .lista > table > tbody > tr.lista_paros_sor:hover,
body .lista > table > tbody > tr.lista_paratlan_sor:hover,
body .lista_collapse > table > tbody > tr:hover { background: var(--rd-surface); }
body .lista > table > tbody > tr.listr_tr_selected,
body .lista > table > tbody > tr.rd-playing,
body .lista > table > tbody > tr.listr_tr_selected:hover,
body .lista > table > tbody > tr.rd-playing:hover { background: var(--rd-green-bg); }
body .lista > table > tbody > tr > td, body .lista > table > tbody > tr > th {
    display: block; border: 0; padding: 0; height: auto; width: auto; background: transparent; text-align: left;
}

/* fejlecsor: csak a rendezes marad */
body .lista > table > tbody > tr.lista_head_row { padding: 6px 12px; border-top: 1px solid var(--rd-line); }
body .lista > table > tbody > tr.lista_head_row > th { font-size: 12px; font-weight: 400; color: var(--rd-muted); }
body .lista > table > tbody > tr.lista_head_row > th a { color: var(--rd-muted); }
body .lista > table > tbody > tr.lista_head_row > th.sorszam,
body .lista > table > tbody > tr.lista_head_row > th.info,
body .lista > table > tbody > tr.lista_head_row > th.letoltes,
body .lista > table > tbody > tr.lista_head_row > th.minoseg,
body .lista > table > tbody > tr.lista_head_row > th.play_xs_sm { display: none !important; }
body .lista > table > tbody > tr.lista_head_row > th.allomasnev { flex: 1; }
body .lista > table > tbody > tr.lista_head_row > th.kapcs { display: block !important; }

/* elrejtett oszlopok */
body .lista > table > tbody > tr > td.letoltes,
body .lista > table > tbody > tr > td.play,
body .lista > table > tbody > tr > td.minoseg { display: none !important; }

/* helyezes */
body .lista > table > tbody > tr > td.sorszam {
    display: block !important; flex: none; width: 34px; text-align: right; font-size: 15px; font-weight: 700; color: var(--rd-muted);
    font-variant-numeric: tabular-nums; position: relative; line-height: 1.2;
}
body .lista > table > tbody > tr > td.sorszam > span.glyphicon { display: block; font-size: 9px; margin: 0 0 2px; top: 0; }
body .lista > table > tbody > tr > td.sorszam > span.glyphicon-chevron-up { color: var(--rd-green-text); }
body .lista > table > tbody > tr > td.sorszam > span.glyphicon-chevron-down { color: var(--rd-red); }

/* logo */
body .lista > table > tbody > tr > td.info { flex: none; width: 46px; }
body .lista > table > tbody > tr > td.info > a { display: block; width: 46px; height: 46px; position: relative; }
body .lista > table > tbody > tr > td.info > a > div.logo_logo,
body .lista > table > tbody > tr > td.info > a > div.logo_nologo {
    width: 46px; height: 46px; border-radius: 10px; background-color: #fff; background-size: contain;
    background-position: center; background-repeat: no-repeat; margin: 0; opacity: 1; position: static;
}
body .lista > table > tbody > tr > td.info > a > div.logo_icon { display: none; }
body .lista_collapse > table > tbody > tr > td.info > a > div.logo_icon {
    display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; position: static; color: var(--rd-muted); font-size: 16px;
}
body .lista_collapse > table > tbody > tr > td.info > a > div.logo_icon + div.logo_icon { display: none; }

/* nev + musor */
body .lista > table > tbody > tr > td.allomasnev { flex: 1; min-width: 0; }
body .lista td.allomasnev > p.allomasnev_sorszam { display: none !important; }
body .lista td.allomasnev > span.allomasnev,
body .lista td.allomasnev > span.allomasnev a,
body .lista td.allomasnev > a.allomasnev_allomasnev {
    display: block !important; font-size: 15px; font-weight: 700; color: var(--rd-text); line-height: 1.3; margin: 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none;
}
body .lista td.allomasnev > span.allomasnev img, body .lista td.allomasnev > span.allomasnev .glyphicon,
body .lista td.allomasnev > span.allomasnev .fa { display: none; }
body .lista td.allomasnev > p.allomasnev_mufaj,
body .lista td.allomasnev > p.allomasnev_minoseg { display: none !important; }
body .lista td.allomasnev > a.allomasnev_szamcim {
    display: block; font-size: 13px; font-weight: 400; color: var(--rd-muted); line-height: 1.4; margin: 1px 0 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none;
}
body .lista td.allomasnev > a.allomasnev_szamcim:hover { color: var(--rd-text); }
body .lista tr.listr_tr_selected td.allomasnev > a.allomasnev_szamcim,
body .lista tr.rd-playing td.allomasnev > a.allomasnev_szamcim { color: var(--rd-green-soft); }

/* hallgatok */
body .lista > table > tbody > tr > td.kapcs {
    display: block !important; flex: none; min-width: 52px; text-align: right; font-size: 0; color: transparent;
}
body .lista > table > tbody > tr > td.kapcs > span.kapcs_bold {
    font-size: 14px; font-weight: 700; color: var(--rd-text); font-variant-numeric: tabular-nums;
}

/* lejatszas gomb */
body .lista > table > tbody > tr > td.play_xs_sm { display: block !important; flex: none; width: 40px; }
body .lista td.play_xs_sm > a {
    width: 40px; height: 40px; border-radius: 50%; background: var(--rd-green); color: var(--rd-green-ink);
    display: flex !important; align-items: center; justify-content: center; font-size: 15px; text-decoration: none; cursor: pointer;
    padding: 0; margin: 0; border: 0; text-shadow: none; line-height: 1;
}
body .lista td.play_xs_sm > a[style*="display:none"], body .lista td.play_xs_sm > a[style*="display: none"] { display: none !important; }
body .lista td.play_xs_sm > a:hover { filter: brightness(1.12); }
body .lista td.play_xs_sm > a > i { color: inherit; font-size: 15px; margin: 0; text-shadow: none; }
body .lista td.play_xs_sm > a > i.fa-play { margin-left: 3px; }
body .lista td.play_xs_sm > a > i.fa-volume-up,
body .lista td.play_xs_sm > a > i + i { display: none; }
body .lista td.play_xs_sm > a.audio_player_stop_link { background: var(--rd-text); color: var(--rd-bg); }
body .lista td.play_xs_sm > a.lista_collapse_link > i:before { content: "\f04b"; }
body .lista td.play_xs_sm > a.lista_collapse_link > i { margin-left: 3px; }
body .lista tr.rd-playing td.play_xs_sm > a.lista_collapse_link { background: var(--rd-text); color: var(--rd-bg); }
body .lista tr.rd-playing td.play_xs_sm > a.lista_collapse_link > i:before { content: "\f04d"; }
body .lista tr.rd-playing td.play_xs_sm > a.lista_collapse_link > i { margin-left: 0; }
/* TV / video: nincs zold kor, csak ikon */
body .lista td.play_xs_sm > a:not(.audio_player_play_link):not(.audio_player_stop_link):not(.lista_collapse_link) {
    background: var(--rd-surface-2); color: var(--rd-green-text);
}

/* alcsatornak */
body .lista > table > tbody > tr:has(> td.collapse_cella) { padding: 0; border: 0; display: block; }
body .lista > table > tbody > tr > td.collapse_cella { padding: 0; }
body .lista.lista_collapse { margin: 0; background: var(--rd-inset); border-bottom: 1px solid var(--rd-line); }
body .lista.lista_collapse > table > tbody > tr { padding: 7px 12px 7px 24px; border-bottom: 1px solid var(--rd-tile); }
body .lista.lista_collapse > table > tbody > tr > td.sorszam { font-size: 12px; font-weight: 400; }
body .lista.lista_collapse > table > tbody > tr > td.info,
body .lista.lista_collapse > table > tbody > tr > td.info > a,
body .lista_collapse > table > tbody > tr > td.info > a > div.logo_icon { width: 28px; height: 28px; }
body .lista.lista_collapse td.play_xs_sm, body .lista.lista_collapse td.play_xs_sm > a { width: 32px; height: 32px; }

/* hirdetes sor: fix hely, nem fekete lyuk */
body .lista > table > tbody > tr.lista_banner_sor { padding: 8px 12px; background: transparent; }
body .lista > table > tbody > tr.lista_banner_sor > td { flex: 1; min-width: 0; }
body .lista .content_banner { margin: 0 !important; min-height: 60px; max-height: 120px; overflow: hidden; border-radius: 10px; background: var(--rd-inset); }
body .lista .content_banner br { display: none; }
body .lista .content_banner img { max-width: 100%; height: auto; border-radius: 8px; }

/* ---------- also lejatszosav ---------- */
body #audio_player { background: var(--rd-surface); border-top: 2px solid var(--rd-green); box-shadow: none; }
body #audio_player > .container { background: transparent; height: 64px; }
body #audio_player > .container > .canvas_container { display: none; }
body #audio_player .audio_player_table { position: static; top: 0; height: 64px; background: none; display: flex; align-items: center; gap: 12px; }
body #audio_player .allomasnev { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 0; order: 1; }
body #audio_player .allomasnev:before {
    content: ""; flex: none; width: 42px; height: 42px; border-radius: 10px; background: #fff var(--rd-logo, none) center / contain no-repeat;
}
body #audio_player .allomasnev .allomasnev_allomasnev { font-size: 15px; text-shadow: none; padding: 0; }
body #audio_player .volume { display: block; order: 2; width: 110px; padding: 0; }
body #audio_player div.jp-volume-bar { position: static; margin: 0; background: var(--rd-line-2); border-radius: 3px; }
body #audio_player div.jp-volume-bar-value { background: var(--rd-green); }
body #audio_player .dropdown_lista { display: block; order: 3; width: auto; padding: 0; }
body #audio_player .dropdown_lista a { font-size: 18px; color: var(--rd-text-2); }
body #audio_player .stop { display: block; order: 4; width: auto; }
body #audio_player .stop > a {
    width: 42px; height: 42px; border-radius: 50%; background: var(--rd-text); color: var(--rd-bg); font-size: 15px;
    display: flex; align-items: center; justify-content: center; text-shadow: none;
}
body #audio_player .stop > a:hover { color: var(--rd-bg); filter: brightness(.9); }

/* ---------- lablec ---------- */
body footer { border-top: 0; margin-top: 30px; }
body footer .footer_belso { background: var(--rd-surface); border-top: 2px solid var(--rd-green); }
body footer h2 { font-size: 16px; color: var(--rd-green-text); }
body footer p, body footer a { font-size: 13px; color: var(--rd-text-2); }
body #top-link { bottom: 84px; }

@media (min-width: 992px) {
    body .header_logo { width: 300px; height: 46px; }
    body .lista > table > tbody > tr { padding: 10px 14px; gap: 14px; }
    body .lista > table > tbody > tr > td.kapcs { min-width: 70px; }
    body .lista > table > tbody > tr > td.kapcs > span.kapcs_bold { font-size: 15px; }
    body .lista td.allomasnev > span.allomasnev, body .lista td.allomasnev > span.allomasnev a { font-size: 16px; }
}
@media (max-width: 767px) {
    body .content { padding-left: 0; padding-right: 0; }
    body .lista > table > tbody > tr > td.sorszam { width: 26px; }
    body .content > .row { margin: 0; padding: 0 12px; }
    body #audio_player .volume { display: none; }
}

/* ---------- a regi szabalyok erosebb felulirasa ---------- */
html body .lista > table > tbody > tr > td.sorszam { width: 34px !important; overflow: visible !important; }
html body .lista > table > tbody > tr > td.kapcs { width: auto !important; min-width: 52px; overflow: visible !important; }
html body .lista > table > tbody > tr > td.play_xs_sm { width: 40px !important; overflow: visible !important; }
html body .lista.lista_collapse > table > tbody > tr > td.play_xs_sm { width: 32px !important; }
html body .lista > table > tbody > tr > td.letoltes,
html body .lista > table > tbody > tr > td.play,
html body .lista > table > tbody > tr > td.minoseg { width: 0 !important; }

html body .lista > table > tbody > tr > td.play_xs_sm > a,
html body .lista > table > tbody > tr > td.play_xs_sm > a:hover,
html body .lista > table > tbody > tr > td.play_xs_sm > a:focus,
html body .lista > table > tbody > tr > td.play_xs_sm > a:active { color: var(--rd-green-ink); }
html body .lista > table > tbody > tr > td.play_xs_sm > a > i,
html body .lista > table > tbody > tr > td.play_xs_sm > a:hover > i {
    color: inherit !important; font-size: 15px !important; margin-top: 0; margin-right: 0; display: inline-block;
}
html body .lista > table > tbody > tr > td.play_xs_sm > a > i.fa-volume-up,
html body .lista > table > tbody > tr > td.play_xs_sm > a > i.fa-television { display: none; }
html body .lista > table > tbody > tr > td.play_xs_sm > a.audio_player_stop_link,
html body .lista > table > tbody > tr.rd-playing > td.play_xs_sm > a.lista_collapse_link { color: var(--rd-bg); }
html body .lista.lista_collapse > table > tbody > tr > td.play_xs_sm > a > i { font-size: 12px !important; }

html body .sidebar .sidebar_adok_listazasa > a { background: transparent; margin-bottom: 2px; }
html body .sidebar .sidebar_adok_listazasa > a > div > p { display: block; padding: 0; }
html body .sidebar .sidebar_adok_listazasa > a > div > span.glyphicon { display: block; padding: 0; width: 8px; }
html body .sidebar .sidebar_adok_listazasa > a > div > span.glyphicon-unchecked { visibility: hidden; }

html body .lista_talalat_oldal > button {
    background: transparent !important; border: 1px solid var(--rd-line-2) !important; border-radius: 8px; color: var(--rd-text-2); padding: 6px 12px !important;
}
html body .lista > table > tbody > tr > td.info > a > div.logo_logo,
html body .lista > table > tbody > tr > td.info > a > div.logo_nologo { background-color: var(--rd-line-2); }
@media (max-width: 767px) {
    html body .lista > table > tbody > tr > td.sorszam { width: 26px !important; }
    html body .lista .content_banner { max-height: 64px; }
}

/* masodlagos oldalsav menu + mobil sav igazitas */
html body .sidebar .egyeb_menu > a { background: transparent; margin-bottom: 2px; }
html body .sidebar .egyeb_menu > a > div > p { display: block; padding: 0; }
html body .sidebar .egyeb_menu > a > div > span { display: block; padding: 0; width: auto; color: var(--rd-muted); font-size: 14px; }
html body .navbar.sidebar_collapse .navbar-header { margin-left: auto; }

/* lenyitott alcsatornak: a regi olajzold hatter helyett */
html body .lista_collapse > table > tbody > tr.lista_collapse_paros_sor,
html body .lista_collapse > table > tbody > tr.lista_collapse_paratlan_sor { background: transparent !important; }
html body .lista_collapse > table > tbody > tr.lista_collapse_paros_sor:hover,
html body .lista_collapse > table > tbody > tr.lista_collapse_paratlan_sor:hover { background: var(--rd-surface) !important; }
html body .lista_collapse > table > tbody > tr.listr_tr_selected,
html body .lista_collapse > table > tbody > tr.listr_tr_selected:hover { background: var(--rd-green-bg) !important; }

/* ---------- nagy kepernyon szelesebb nyilvanos oldal, fix szelessegu oldalsavval ---------- */
@media (min-width: 1400px) {
    html body:not(:has(.ad-menu)) > header.container,
    html body:not(:has(.ad-menu)) > main.container,
    html body:not(:has(.ad-menu)) .navbar > .container,
    html body:not(:has(.ad-menu)) footer .container,
    html body:not(:has(.ad-menu)) #audio_player > .container { width: 1320px; }
    html body:not(:has(.ad-menu)) > main.container > .row { display: flex; align-items: flex-start; }
    html body:not(:has(.ad-menu)) #ajax_sidebar { flex: 0 0 290px; width: 290px; float: none; }
    html body:not(:has(.ad-menu)) #ajax_content { flex: 1 1 auto; min-width: 0; width: auto; float: none; }
}

/* ---------- szeles kepernyon a sorban a mufaj es a csatornaszam / hangminoseg is latszik ---------- */
@media (min-width: 1400px) {
    html body .lista:not(.lista_collapse) > table > tbody > tr > td.allomasnev {
        display: grid !important; grid-template-columns: minmax(0, 1fr) 190px; column-gap: 16px; align-items: center;
    }
    html body .lista:not(.lista_collapse) td.allomasnev > span.allomasnev { grid-column: 1; grid-row: 1; }
    html body .lista:not(.lista_collapse) td.allomasnev > a.allomasnev_szamcim { grid-column: 1; grid-row: 2; }
    html body .lista:not(.lista_collapse) td.allomasnev > p.allomasnev_mufaj {
        display: block !important; grid-column: 2; grid-row: 1 / span 2; margin: 0; font-size: 13px; color: var(--rd-muted);
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
    html body .lista:not(.lista_collapse) > table > tbody > tr > td.minoseg {
        display: block !important; flex: none; width: 120px !important; overflow: hidden !important; text-align: right;
        font-size: 13px; color: var(--rd-muted); white-space: nowrap; text-overflow: ellipsis;
    }
    html body .lista:not(.lista_collapse) > table > tbody > tr > td.minoseg a { color: var(--rd-muted); text-decoration: none; }
    html body .lista:not(.lista_collapse) > table > tbody > tr > td.minoseg a:hover { color: var(--rd-text); }
    html body .lista > table > tbody > tr.lista_head_row > th.minoseg {
        display: block !important; flex: none; width: 120px !important; text-align: right; overflow: hidden;
    }
    html body .lista > table > tbody > tr.lista_head_row > th.allomasnev { padding-right: 0; }
}

/* ================= kiemelt allomasok savja a toplista folott ================= */
html body .rd-feat { margin: 0 0 18px; }
html body .rd-feat-title {
    font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rd-muted);
    margin: 0 0 8px; padding: 0; background: none; border: 0; text-shadow: none;
}
html body .rd-feat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
html body .rd-feat-card {
    display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; background: var(--rd-surface);
    border: 1px solid var(--rd-line); border-radius: 12px; box-shadow: inset 3px 0 0 var(--rd-green);
}
html body .rd-feat-card:hover { background: var(--rd-surface-2); }
html body .rd-feat-card.listr_tr_selected { background: var(--rd-green-bg); border-color: var(--rd-green-border); }
html body .rd-feat-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; }
html body .rd-feat-logo {
    flex: none; width: 42px; height: 42px; border-radius: 10px; background-color: var(--rd-line-2);
    background-size: contain; background-position: center; background-repeat: no-repeat;
}
html body .rd-feat-text { display: block; min-width: 0; }
html body .rd-feat-text b {
    display: block; font-size: 14px; font-weight: 700; color: var(--rd-text); line-height: 1.3;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html body .rd-feat-text em {
    display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); line-height: 1.4;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html body .rd-feat-card.listr_tr_selected .rd-feat-text em { color: var(--rd-green-soft); }
/* fizetett kiemeles jelzese */
html body .rd-feat-text em .rd-feat-tag {
    display: inline-block; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; line-height: 1;
    color: var(--rd-text-2); border: 1px solid var(--rd-line-3); border-radius: 4px; padding: 2px 5px; margin-right: 6px; vertical-align: 1px;
}
html body .rd-feat-n { flex: none; font-size: 13px; font-weight: 700; color: var(--rd-text-2); font-variant-numeric: tabular-nums; }
html body .rd-feat-play { flex: none; }
html body .rd-feat-play > a {
    width: 36px; height: 36px; border-radius: 50%; background: var(--rd-green); color: var(--rd-green-ink);
    display: flex !important; align-items: center; justify-content: center; text-decoration: none; cursor: pointer;
}
html body .rd-feat-play > a[style*="display:none"], html body .rd-feat-play > a[style*="display: none"] { display: none !important; }
html body .rd-feat-play > a > i { font-size: 13px; color: inherit; line-height: 1; }
html body .rd-feat-play > a > i.fa-play { margin-left: 3px; }
html body .rd-feat-play > a.audio_player_stop_link { background: var(--rd-text); color: var(--rd-bg); }
html body .rd-feat-play > a:hover { filter: brightness(1.1); }

@media (max-width: 767px) {
    /* mobilon egymas alatti, tomor sorok egy kozos keretben (legfeljebb harom), nem felbevagott korhinta */
    html body .rd-feat { margin: 0 12px 14px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-surface); overflow: hidden; }
    html body .rd-feat-title { padding: 10px 12px 6px; margin: 0; }
    html body .rd-feat-row { display: block; padding: 0; }
    html body .rd-feat-card {
        width: auto; max-width: none; border: 0; border-top: 1px solid var(--rd-line); border-radius: 0; background: transparent;
        box-shadow: inset 3px 0 0 var(--rd-green); padding: 9px 12px; gap: 10px;
    }
    html body .rd-feat-card:nth-child(n+4) { display: none; }
    html body .rd-feat-logo { width: 38px; height: 38px; border-radius: 9px; }
    html body .rd-feat-text b { font-size: 15px; }
    html body .rd-feat-text em { font-size: 13px; }
    html body .rd-feat-n { font-size: 15px; min-width: 34px; text-align: right; }
    html body .rd-feat-play > a { width: 40px; height: 40px; }
}

/* link az arlistara a sav cimsoraban */
html body .rd-feat-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
html body .rd-feat-title a.rd-feat-how { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--rd-muted); text-decoration: none; white-space: nowrap; }
html body .rd-feat-title a.rd-feat-how:hover { color: var(--rd-green-text); }

/* ================= oldalsav menu ================= */
html body .sidebar .rd-menu-title {
    font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: var(--rd-dim); margin: 18px 0 6px; padding: 0 12px;
}
html body .sidebar .sidebar_adok_listazasa > .rd-menu-title:first-child { margin-top: 0; }

/* ikon a felirat elott */
html body .sidebar .sidebar_adok_listazasa > a > div > p,
html body .sidebar .egyeb_menu > a > div > p { display: flex; align-items: center; gap: 10px; }
html body .sidebar .sidebar_adok_listazasa > a > div > p > .glyphicon {
    position: static; width: 16px; font-size: 13px; color: var(--rd-muted); text-align: center; top: 0;
}

/* alpontok (Sugarzo / Internetes) */
html body .sidebar .sidebar_adok_listazasa > a.rd-m-sub > div { padding: 6px 12px 6px 38px; }
html body .sidebar .sidebar_adok_listazasa > a.rd-m-sub > div > p { font-size: 13px; color: var(--rd-muted); }

/* a jobb oldali allapotjelzo pott nincs: az aktiv elemet a hatter es a zold bal sav jelzi */
html body .sidebar .sidebar_adok_listazasa > a > div > span.glyphicon { display: none; }
html body .sidebar .sidebar_adok_listazasa > a > div { position: relative; }

/* aktiv elem */
html body .sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check),
html body .sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div {
    background: var(--rd-surface);
}
html body .sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check):before,
html body .sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div:before {
    content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--rd-green);
}
html body .sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check) > p,
html body .sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div > p {
    color: var(--rd-text); font-weight: 700;
}
html body .sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check) > p > .glyphicon,
html body .sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div > p > .glyphicon { color: var(--rd-green-text); }

/* ha mindket radio-alpont aktiv, akkor a "Radiok" a kivalasztott, az alpontok nem */
html body .sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-sub > div { background: transparent; }
html body .sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-sub > div:before { display: none; }
html body .sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-sub > div > p { color: var(--rd-muted); font-weight: 400; }
html body .sidebar .sidebar_adok_listazasa > a.rd-m-sub > div:hover > p { color: var(--rd-text); }

/* masodlagos menu */
html body .sidebar .egyeb_menu { margin-top: 6px; }
html body .sidebar .egyeb_menu > a > div > span { order: -1; width: 16px; text-align: center; margin-right: 10px; }
html body .sidebar .egyeb_menu > a > div { justify-content: flex-start; }
html body .sidebar .egyeb_menu > a > div > span img { opacity: .6; }

/* ================= mobil ================= */
html body .navbar.sidebar_collapse .rd-chips a { font-size: 13px; padding: 7px 12px; }
html body .navbar.sidebar_collapse .rd-chips a.rd-chip-icon { padding: 7px 11px; display: inline-flex; align-items: center; }
html body .navbar.sidebar_collapse .rd-chips a.rd-chip-icon .glyphicon { top: 0; font-size: 13px; }

@media (max-width: 991px) {
    /* a lenyilo mobil menuben is legyen ott a teljes navigacio, ne csak a keresok */
    html body .sidebar .sidebar_adok_listazasa.hidden-xs,
    html body .sidebar .egyeb_menu.hidden-xs { display: block !important; }
    html body #ajax_sidebar.sidebar { padding: 4px 12px 12px; margin-bottom: 8px; border-bottom: 1px solid var(--rd-line); }
    html body .sidebar .sidebar_adok_listazasa > a > div,
    html body .sidebar .egyeb_menu > a > div { padding-top: 11px; padding-bottom: 11px; }
    html body .sidebar .sidebar_adok_listazasa > a.rd-m-sub > div { padding-top: 8px; padding-bottom: 8px; }
}

/* sajat SVG ikonok (a Glyphicons betukeszlet az oldalon csonkitott) */
html body .rd-ic { flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--rd-muted); }
html body .sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check) > p > .rd-ic,
html body .sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div > p > .rd-ic { color: var(--rd-green-text); }
html body .navbar.sidebar_collapse .rd-chips a.rd-chip-icon .rd-ic { width: 15px; height: 15px; color: inherit; }

/* ================= oldalsav 2: egyesitett kereso, mufajok, reszletes szuro, sajat, elo szamlalo ================= */
html body .rd-search { margin: 0 0 14px; }
html body .rd-search .rd-st { position: absolute; opacity: 0; pointer-events: none; }
html body .rd-search .rd-sf { margin: 0; }
html body .rd-search #rd-st1:checked ~ .rd-sf2,
html body .rd-search #rd-st2:checked ~ .rd-sf1 { display: none; }
html body .rd-search-field {
    display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 12px; background: var(--rd-surface);
    border: 1px solid var(--rd-line-2); border-radius: 10px;
}
html body .rd-search-field:focus-within { border-color: var(--rd-green); box-shadow: 0 0 0 3px rgba(111,196,1,.18); }
html body .rd-search-field > .rd-ic { color: var(--rd-muted); }
html body .sidebar .rd-search-field input[type=text] {
    flex: 1; min-width: 0; height: 40px; background: transparent !important; border: 0 !important; box-shadow: none !important; outline: none;
    color: var(--rd-text); font-size: 14px; padding: 0; margin: 0; width: auto;
}
html body .sidebar .rd-search-go {
    flex: none; width: 32px; height: 32px; border: 0; border-radius: 8px; background: var(--rd-green); color: var(--rd-green-ink);
    display: flex; align-items: center; justify-content: center; padding: 0; margin: 0; cursor: pointer;
}
html body .sidebar .rd-search-go .rd-ic { color: var(--rd-green-ink); width: 15px; height: 15px; stroke-width: 2.6; }
html body .rd-search-tabs { display: flex; gap: 6px; margin-top: 8px; }
html body .rd-search-tabs label {
    font-size: 12px; font-weight: 400; color: var(--rd-text-2); border: 1px solid var(--rd-line-2); border-radius: 999px; padding: 4px 11px; margin: 0; cursor: pointer;
}
html body .rd-search #rd-st1:checked ~ .rd-search-tabs label[for=rd-st1],
html body .rd-search #rd-st2:checked ~ .rd-search-tabs label[for=rd-st2] { background: var(--rd-green-bg); border-color: var(--rd-green-border); color: var(--rd-green-soft); font-weight: 700; }
html body .rd-search .rd-st:focus-visible ~ .rd-search-tabs { outline: 2px solid var(--rd-green); outline-offset: 3px; border-radius: 999px; }

/* darabszam a menupont jobb szelen */
html body .sidebar .sidebar_adok_listazasa > a > div > p { width: 100%; }
html body .sidebar .rd-m-n { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--rd-dim); font-variant-numeric: tabular-nums; }

/* mufajok */
html body .rd-genres { margin: 6px 0 0; }
html body .rd-genres[hidden] { display: none; }
html body .rd-genre-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px; }
html body .sidebar a.rd-genre {
    font-size: 12px; color: var(--rd-text-2); border: 1px solid var(--rd-line-2); border-radius: 999px; padding: 4px 11px; text-decoration: none; background: transparent;
}
html body .sidebar a.rd-genre:hover { background: var(--rd-surface); color: var(--rd-text); border-color: var(--rd-line-3); }

/* reszletes szuro: becsukva */
html body details.rd-filter { margin: 14px 0 0; border: 1px solid var(--rd-line); border-radius: 10px; }
html body details.rd-filter > summary {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: 13px; color: var(--rd-text-2); cursor: pointer; list-style: none; user-select: none;
}
html body details.rd-filter > summary::-webkit-details-marker { display: none; }
html body details.rd-filter > summary:after {
    content: ""; margin-left: auto; width: 7px; height: 7px; border-right: 2px solid var(--rd-muted); border-bottom: 2px solid var(--rd-muted);
    transform: rotate(45deg); transition: transform .15s;
}
html body details.rd-filter[open] > summary:after { transform: rotate(-135deg); }
html body details.rd-filter > summary:hover { color: var(--rd-text); }
html body .sidebar details.rd-filter .sidebar_adok_reszletes_kereses_box {
    display: block !important; background: transparent; border: 0; border-top: 1px solid var(--rd-line); border-radius: 0; margin: 0; padding: 10px;
}

/* sajat: belepes + legutobb hallgatott */
html body .sidebar .rd-recent { margin: 2px 0 4px; padding: 0 0 0 38px; }
html body .sidebar .rd-recent-title { font-size: 11px; color: var(--rd-dim); margin: 4px 0 4px; }
html body .sidebar a.rd-recent-item { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 0; text-decoration: none; border-radius: 6px; margin: 0; background: transparent; }
html body .sidebar .rd-recent-logo { flex: none; width: 22px; height: 22px; border-radius: 5px; background: var(--rd-line-2) center / contain no-repeat; }
html body .sidebar .rd-recent-name { font-size: 12px; color: var(--rd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .sidebar a.rd-recent-item:hover .rd-recent-name { color: var(--rd-text); }

/* elo hallgatoszam */
html body .rd-live {
    display: flex; align-items: center; gap: 12px; margin: 14px 0 0; padding: 12px; background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 10px;
}
html body .rd-live[hidden] { display: none; }
html body .rd-live-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rd-green); box-shadow: 0 0 0 4px rgba(111,196,1,.18); }
html body .rd-live b { display: block; font-size: 18px; font-weight: 700; color: var(--rd-text); line-height: 1.2; font-variant-numeric: tabular-nums; }
html body .rd-live span { display: block; font-size: 11px; color: var(--rd-muted); line-height: 1.3; }
html body .rd-live .rd-live-dot { display: block; }

html body .rd-side-foot { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; padding: 0 12px; }
html body .sidebar .rd-side-foot a { font-size: 12px; color: var(--rd-muted); text-decoration: none; }
html body .sidebar .rd-side-foot a:hover { color: var(--rd-green-text); }

/* Az oldalsavnak nincs sajat gorgetosavja. Ha a kepernyo eleg magas ahhoz, hogy az egesz
   kiferjen, gorgeteskor helyben marad; alacsonyabb kepernyon egyutt gorog az oldallal. */
html body:not(:has(.ad-menu)) #ajax_sidebar { max-height: none; overflow: visible; }
@media (min-width: 992px) and (min-height: 900px) {
    html body:not(:has(.ad-menu)):not(:has(main.rd-authpage:not(.rd-withsb))) #ajax_sidebar { position: sticky; top: 12px; align-self: flex-start; }
}
@media (max-width: 991px) {
    html body .rd-search { margin-top: 6px; }
    html body details.rd-filter.hidden-xs, html body details.rd-filter { display: block !important; }
}

/* ================= oldalsav egyseges hatterfeluleten =================
   A regi kinezetben a menupontok kulon szurke savokon ultek; most az egesz oldalsav
   egyetlen, egyseges panel, a benne levo elemek ehhez igazodnak. */
@media (min-width: 992px) {
    html body:not(:has(.ad-menu)):not(:has(main.rd-authpage:not(.rd-withsb))) #ajax_sidebar {
        background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 14px; padding: 14px 12px 14px;
    }
    html body:not(:has(.ad-menu)) #ajax_sidebar .rd-search-field { background: var(--rd-bg); }
    html body:not(:has(.ad-menu)) #ajax_sidebar .rd-live { background: var(--rd-bg); }
    html body:not(:has(.ad-menu)) #ajax_sidebar details.rd-filter { background: var(--rd-bg); }
    /* kijelolt es ramutatott elem: egy arnyalattal vilagosabb a panelnel */
    html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a:hover > div { background: var(--rd-surface-2); }
    html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check),
    html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div { background: var(--rd-surface-2); }
    html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-sub > div { background: transparent; }
    html body:not(:has(.ad-menu)) #ajax_sidebar a.rd-genre:hover { background: var(--rd-surface-2); }
    html body:not(:has(.ad-menu)) #ajax_sidebar .rd-side-foot { border-top: 1px solid var(--rd-line); padding-top: 12px; }
    /* a panel es a lista kozott legyen hely */
    html body:not(:has(.ad-menu)):not(:has(main.rd-authpage:not(.rd-withsb))) #ajax_content { padding-left: 24px; }
}

/* ================= oldalsav alja: ajanlo kartyak (regisztracio, chat) ================= */
html body .rd-promo { display: flex; flex-direction: column; gap: 8px; margin: 14px 0 0; }
html body .sidebar a.rd-promo-card {
    display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; text-decoration: none; border: 1px solid var(--rd-line);
    background: var(--rd-bg); color: var(--rd-text);
}
html body .sidebar a.rd-promo-card:hover { border-color: var(--rd-line-3); }
html body .rd-promo-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--rd-surface-2); }
html body .rd-promo-ic .rd-ic { width: 17px; height: 17px; color: var(--rd-text-2); }
html body .rd-promo-text { flex: 1; min-width: 0; display: block; }
html body .rd-promo-text b { display: block; font-size: 13px; font-weight: 700; color: var(--rd-text); line-height: 1.3; }
html body .rd-promo-text em { display: block; font-style: normal; font-size: 12px; line-height: 1.4; color: var(--rd-muted); margin-top: 2px; }
html body .rd-promo-arrow { flex: none; width: 15px; height: 15px; color: var(--rd-muted); }

/* a regisztracios ajanlo kiemelt: zold keret, alul teljes szelessegu gomb */
html body .sidebar a.rd-promo-main {
    flex-wrap: wrap; border-color: var(--rd-green-border); background: linear-gradient(180deg, var(--rd-green-bg) 0%, var(--rd-green-bg) 100%);
}
html body .sidebar a.rd-promo-main:hover { border-color: var(--rd-green); }
html body .rd-promo-main .rd-promo-ic { background: var(--rd-green); }
html body .rd-promo-main .rd-promo-ic .rd-ic { color: var(--rd-green-ink); }
html body .rd-promo-btn {
    flex: 1 1 100%; text-align: center; font-size: 13px; font-weight: 700; color: var(--rd-green-ink); background: var(--rd-green);
    border-radius: 8px; padding: 8px 10px; margin-top: 2px;
}
html body .sidebar a.rd-promo-main:hover .rd-promo-btn { filter: brightness(1.08); }
html body .sidebar a.rd-promo-card[hidden] { display: none; }

/* mobil menusor: ot gomb (Radio, TV, Webkamera, kedvencek, Arak) ferjen ki a menugomb mellett */
@media (max-width: 480px) {
    html body .navbar.sidebar_collapse .rd-chips { gap: 5px; }
    html body .navbar.sidebar_collapse .rd-chips a { padding: 7px 9px; }
    html body .navbar.sidebar_collapse .rd-chips a.rd-chip-icon { padding: 7px 9px; }
}

/* ================= oldalsav: tagoltabb, kontrasztosabb menu =================
   A menupontok korabban beleolvadtak a panelbe (szurke szoveg, apro szurke cimek). Itt:
   elvalaszto vonal a csoportok kozott, vilagosabb szoveg, ikon sajat kis lapkan, darabszam jelvenyben,
   az alpontok faszerkezetben, a kijelolt elem zold arnyalattal. */
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > .rd-menu-title,
html body:not(:has(.ad-menu)) #ajax_sidebar .rd-genres > .rd-menu-title {
    color: var(--rd-muted); font-size: 11px; letter-spacing: .8px; margin: 14px 0 8px; padding: 14px 12px 0; border-top: 1px solid var(--rd-line);
}
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > .rd-menu-title:first-child { border-top: 0; padding-top: 0; margin-top: 2px; }

/* menupont: vilagos szoveg, ikon lapkan */
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div { padding: 6px 10px 6px 8px; border-radius: 10px; margin: 1px 0; }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div > p { color: var(--rd-text); font-weight: 500; font-size: 14px; gap: 11px; }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div > p > .rd-ic {
    box-sizing: border-box; width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: var(--rd-tile); color: var(--rd-text-2);
    transition: background .12s, color .12s;
}
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a:hover > div > p > .rd-ic { background: var(--rd-tile-2); color: var(--rd-strong); }

/* darabszam jelvenyben */
html body:not(:has(.ad-menu)) #ajax_sidebar .rd-m-n {
    font-size: 12px; font-weight: 700; color: var(--rd-text-2); background: var(--rd-tile); border-radius: 999px; padding: 2px 9px; min-width: 30px; text-align: center;
}

/* kijelolt elem: zold arnyalat, zold ikonlapka */
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check),
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div {
    background: rgba(111, 196, 1, .11);
}
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check):before,
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div:before { display: none; }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check) > p,
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div > p { color: var(--rd-strong); font-weight: 700; }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check) > p > .rd-ic,
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div > p > .rd-ic {
    background: var(--rd-green); color: var(--rd-green-ink);
}
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check) .rd-m-n,
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-radio > div .rd-m-n { background: rgba(111, 196, 1, .22); color: var(--rd-green-soft); }

/* alpontok: behuzva, fuggoleges vezetovonallal */
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a.rd-m-sub > div { padding: 6px 10px 6px 49px; margin: 0; border-radius: 8px; }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a.rd-m-sub > div:after {
    content: ""; position: absolute; left: 22px; top: -1px; bottom: -1px; width: 2px; background: var(--rd-tile-2); border-radius: 1px;
}
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a.rd-m-sub > div > p { color: var(--rd-text-2); font-weight: 400; font-size: 13px; }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a.rd-m-sub:hover > div > p { color: var(--rd-strong); }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a.rd-m-sub > div:has(> .glyphicon-check):after { background: var(--rd-green); }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a.rd-m-sub > div:has(> .glyphicon-check) > p { color: var(--rd-strong); font-weight: 700; }
/* ha mindket radio-alpont aktiv, a "Radiok" a kijelolt, az alpontok semlegesek */
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-sub > div { background: transparent; }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-sub > div:after { background: var(--rd-tile-2); }
html body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa:has(.rd-m-fm .glyphicon-check):has(.rd-m-net .glyphicon-check) > a.rd-m-sub > div > p { color: var(--rd-text-2); font-weight: 400; }

/* legutobb hallgatott: sajat csoport, a sorok ugyanugy neznek ki, mint a menupontok (ikon helyett az allomas logoja) */
html body:not(:has(.ad-menu)) #ajax_sidebar .rd-recent { position: static; margin: 0; padding: 0; }
html body:not(:has(.ad-menu)) #ajax_sidebar .rd-recent > .rd-recent-title {
    color: var(--rd-muted); font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    margin: 14px 0 8px; padding: 14px 12px 0; border-top: 1px solid var(--rd-line);
}
html body:not(:has(.ad-menu)) #ajax_sidebar a.rd-recent-item { gap: 11px; padding: 5px 10px 5px 8px; margin: 1px 0; border-radius: 10px; }
html body:not(:has(.ad-menu)) #ajax_sidebar a.rd-recent-item:hover { background: var(--rd-surface-2); }
html body:not(:has(.ad-menu)) #ajax_sidebar .rd-recent-logo { width: 30px; height: 30px; border-radius: 8px; background-color: var(--rd-tile); }
html body:not(:has(.ad-menu)) #ajax_sidebar .rd-recent-name { color: var(--rd-text); font-size: 14px; font-weight: 500; }

/* mufajok: kitoltott cimkek */
html body:not(:has(.ad-menu)) #ajax_sidebar .rd-genres { margin-top: 0; }
html body:not(:has(.ad-menu)) #ajax_sidebar a.rd-genre { background: var(--rd-tile); border-color: transparent; color: var(--rd-text-2); font-size: 12px; padding: 5px 12px; }
html body:not(:has(.ad-menu)) #ajax_sidebar a.rd-genre:hover { background: rgba(111, 196, 1, .16); color: var(--rd-green-soft); border-color: transparent; }

/* reszletes szuro felirata */
html body:not(:has(.ad-menu)) #ajax_sidebar details.rd-filter > summary { color: var(--rd-text); font-weight: 500; }

/* "Hirdess nalunk" grafikus banner a menu vegen. Sajat, marka-zold szinvilaga van, mindket temaban ugyanaz. */
html body #ajax_sidebar .sidebar_adok_listazasa > a.rd-adbanner {
    position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 172px; margin: 16px 0 2px; padding: 14px 14px 14px;
    border-radius: 14px; overflow: hidden; text-decoration: none; isolation: isolate;
    background: radial-gradient(120% 90% at 100% 0%, #2f5f06 0%, rgba(47, 95, 6, 0) 60%), linear-gradient(160deg, #16300a 0%, #0c1a04 55%, #081103 100%);
    border: 1px solid #2f4a12; transition: border-color .15s, transform .15s;
}
html body #ajax_sidebar .sidebar_adok_listazasa > a.rd-adbanner:hover { border-color: #6fc401; transform: translateY(-1px); }
html body #ajax_sidebar .sidebar_adok_listazasa > a.rd-adbanner[hidden] { display: none; }
html body .rd-adbanner-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
html body .rd-adbanner-tag {
    font-size: 10px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #b9e28a; background: rgba(111, 196, 1, .16);
    border-radius: 999px; padding: 3px 9px;
}
html body .rd-adbanner-title { margin-top: 12px; font-size: 26px; line-height: 1.02; font-weight: 800; letter-spacing: -.6px; color: #ffffff; }
html body .rd-adbanner-sub { margin-top: 8px; max-width: 150px; font-size: 12px; line-height: 1.4; color: #c5d9b0; }
html body .rd-adbanner-cta {
    margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #6fc401; color: #0c1400;
    font-size: 12px; font-weight: 700;
}
html body .rd-adbanner-cta .rd-ic { width: 13px; height: 13px; color: #0c1400; stroke-width: 2.6; transition: transform .15s; }
html body a.rd-adbanner:hover .rd-adbanner-cta .rd-ic { transform: translateX(3px); }
html body .rd-adbanner-sub + .rd-adbanner-cta { margin-top: 14px; }
@media (max-width: 991px) {
    html body #ajax_sidebar .sidebar_adok_listazasa > a.rd-adbanner { min-height: 150px; }
    html body .rd-adbanner-sub { max-width: 60%; }
}
html body .rd-adbanner-sub { max-width: 112px; }
html body .rd-adbanner-art { opacity: .95; }

/* ================= szoveges logo, fejlec, szamok =================
   A kep-logo (pics/ostat.png) helyett betukbol allo logo: "online" normal, "stat" felkover zold, ".hu" halvany.
   A fejlec egy sor: balra a logo, jobbra a szlogen. */

html body > header.container {
    display: flex; align-items: center; justify-content: flex-start; gap: 22px; padding-top: 18px; padding-bottom: 18px;
}
html body > header.container:before, html body > header.container:after { display: none; }

html body a.header_logo, html body .rd-error-logo {
    background: none !important; width: auto !important; height: auto !important; margin: 0 !important; flex: none;
    display: inline-flex; align-items: baseline; font-family: Roboto, Arial, sans-serif; font-size: 30px; line-height: 1;
    letter-spacing: -.8px; text-decoration: none; text-transform: none; white-space: nowrap;
}
html body a.header_logo .rd-lg-a { font-weight: 400; color: var(--rd-text); }
html body a.header_logo .rd-lg-b { font-weight: 700; color: var(--rd-green-text); }
html body a.header_logo .rd-lg-c { font-weight: 400; color: var(--rd-dim); font-size: .6em; letter-spacing: 0; margin-left: 2px; }
html body a.header_logo:hover .rd-lg-a { color: var(--rd-strong); }
/* kis "elo" jelzes a logo elott */
html body a.header_logo:before {
    content: ""; align-self: center; width: 9px; height: 9px; border-radius: 50%; background: var(--rd-green); margin-right: 10px;
    box-shadow: 0 0 0 4px rgba(111,196,1,.16);
}

/* a hibaoldalakon a logo ures link: ott a betuk CSS-bol jonnek */
html body .rd-error-logo { display: flex; justify-content: center; margin: 0 auto 34px !important; }
html body .rd-error-logo:before { content: "online"; font-weight: 400; color: var(--rd-text); }
html body .rd-error-logo:after { content: "stat"; font-weight: 700; color: var(--rd-green-text); }

/* szlogen: kozvetlenul a logo mellett, balra zarva (balrol jobbra olvasunk), vekony elvalaszto vonallal */
html body > header.container .header_felirat_1 {
    margin: 0; padding: 2px 0 2px 22px; border-left: 1px solid var(--rd-line); font-size: 13px; line-height: 1.45; font-weight: 400;
    color: var(--rd-muted); text-align: left; max-width: 470px; text-wrap: balance;
}

/* lablec: ugyanaz a szoveges logo */
html body footer h2.footer_felirat_cim {
    display: flex; align-items: baseline; text-transform: none; letter-spacing: -.8px; font-size: 26px; line-height: 1; white-space: nowrap;
    font-family: Roboto, Arial, sans-serif; font-style: normal; text-shadow: none;
}
html body footer h2.footer_felirat_cim .rd-lg-a { font-weight: 400; color: var(--rd-text); }
html body footer h2.footer_felirat_cim .rd-lg-b { font-weight: 700; color: var(--rd-green-text); }
html body footer h2.footer_felirat_cim .rd-lg-c { font-weight: 400; color: var(--rd-dim); font-size: .6em; letter-spacing: 0; margin-left: 2px; }
html body footer h2.footer_felirat_cim:before {
    content: ""; align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--rd-green); margin-right: 9px;
    box-shadow: 0 0 0 4px rgba(111,196,1,.16);
}

/* admin: kisebb logo */
html body:has(.ad-menu) > header.container { justify-content: flex-start; }
html body:has(.ad-menu) a.header_logo { font-size: 21px; }
html body:has(.ad-menu) a.header_logo:before { width: 7px; height: 7px; margin-right: 8px; box-shadow: 0 0 0 3px rgba(111,196,1,.16); }

/* ---------- szamok: egyenlo szelessegu szamjegyek, a hallgatoszam a sor foszereploje ---------- */
html body { font-variant-numeric: tabular-nums; }
html body .lista > table > tbody > tr > td.kapcs > span.kapcs_bold { font-size: 17px; font-weight: 700; letter-spacing: -.2px; }
html body .lista > table > tbody > tr > td.sorszam { font-size: 14px; color: var(--rd-dim); }
html body .rd-feat-n { font-size: 15px; color: var(--rd-text); }
html body .lista.lista_collapse > table > tbody > tr > td.kapcs > span.kapcs_bold { font-size: 14px; font-weight: 700; }

@media (min-width: 992px) {
    html body a.header_logo { font-size: 34px; }
    html body .lista > table > tbody > tr > td.kapcs { min-width: 84px; }
    html body .lista > table > tbody > tr > td.kapcs > span.kapcs_bold { font-size: 19px; }
}
@media (max-width: 991px) {
    html body > header.container { justify-content: center; padding-top: 14px; padding-bottom: 10px; }
    html body a.header_logo { font-size: 27px; }
}

/* ================= lablec ================= */
html body { padding-bottom: 0; }
html body footer { border: 0; margin-top: 48px; }
html body footer .footer_belso {
    background: var(--rd-inset); border: 0; border-top: 1px solid var(--rd-line); padding: 36px 0 96px;
}
html body footer .footer_table {
    display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 32px 40px; width: 100%; table-layout: auto;
}
html body footer .footer_table > div {
    display: block; width: auto; border: 0 !important; padding: 0; margin: 0; float: none; vertical-align: top;
}
/* ures "Partnerek" oszlop ne foglaljon helyet */
html body footer .footer_table > div:has(> .footer_tamogatoink:empty) { display: none; }

html body footer h2 {
    font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rd-muted); margin: 0 0 14px; padding: 0;
}
html body footer h2.footer_felirat_cim { font-size: 26px; letter-spacing: -.8px; margin-bottom: 18px; text-shadow: none !important; }
/* a regi stilus eltolta egymas fele a ket szot (position: relative + left/right): itt ez nem kell */
html body footer h2.footer_felirat_cim span { text-shadow: none !important; position: static !important; left: auto !important; right: auto !important; top: auto !important; flex: none; }

/* osszesito szamok: ket oszlopos racs */
html body footer .footer_kapcsolatok { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; max-width: 420px; }
html body footer .footer_kapcsolatok > p {
    display: flex; flex-direction: column-reverse; gap: 2px; margin: 0; padding: 0; font-size: 12px; line-height: 1.3; color: var(--rd-muted);
}
html body footer .footer_kapcsolatok > p > span {
    font-size: 18px; font-weight: 700; color: var(--rd-text); font-variant-numeric: tabular-nums; margin: 0; padding: 0; float: none;
}

/* linkek */
html body footer .footer_regisztralj_most { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
html body footer .footer_regisztralj_most > a {
    display: inline-block; font-size: 14px; color: var(--rd-text-2); text-decoration: none; padding: 0; margin: 0; background: none; border: 0;
}
html body footer .footer_regisztralj_most > a:hover { color: var(--rd-green-text); text-decoration: none; }

/* kozossegi media */
html body footer .footer_kapcsolat > a {
    display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border: 1px solid var(--rd-line-2); border-radius: 999px; background: transparent;
}
html body footer .footer_kapcsolat > a:hover { background: var(--rd-surface); }
html body footer .footer_kapcsolat > a > img { height: 14px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
/* vilagos nezetben a feher felirat nem latszana: ott sotet */
html[data-theme="light"] body footer .footer_kapcsolat > a > img { filter: brightness(0); opacity: .8; }

html body #top-link { bottom: 84px; }

@media (max-width: 991px) {
    html body footer .footer_table { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding: 0 4px; }
    html body footer .footer_table > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    html body footer .footer_belso { padding-top: 28px; }
    html body footer .footer_kapcsolatok > p > span { font-size: 16px; }
}

/* ---------- "az oldal tetejere" gomb: kerek, visszafogott gomb a jobb also sarokban ---------- */
html body #top-link {
    right: 18px; bottom: 84px; width: 44px; height: 44px; border-radius: 50%; background: var(--rd-surface); border: 1px solid var(--rd-line-2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35); color: var(--rd-text-2); text-decoration: none; outline: none;
    transition: border-color .15s, background .15s, transform .15s;
}
html body #top-link:hover { border-color: var(--rd-green); background: var(--rd-surface-2); transform: translateY(-2px); }
html body #top-link:focus-visible { outline: 2px solid var(--rd-green); outline-offset: 2px; }
/* a regi, nagy betuikon helyett rajzolt nyil */
html body #top-link span, html body #top-link:hover span { display: none !important; }
html body #top-link:before {
    content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -3px 0 0 -6px;
    border-left: 2.5px solid currentColor; border-top: 2.5px solid currentColor; transform: rotate(45deg); border-radius: 1px;
}
html body #top-link:hover:before { border-color: var(--rd-green); }
html body:has(.rd-cookie) #top-link { bottom: 150px; }
@media (max-width: 767px) { html body #top-link.hidden-xs { display: none !important; } }

/* jol lathato valtozat: zold, felirattal ("Tetejére") */
html body #top-link {
    width: auto; height: 42px; padding: 0 16px 0 38px; border-radius: 999px; background: var(--rd-green); border: 1px solid var(--rd-green);
    color: var(--rd-green-ink) !important; font-size: 14px; font-weight: 700; line-height: 40px; white-space: nowrap; text-align: left;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
html body #top-link:after { content: "Tetej\00E9re"; }
html body #top-link:before { left: 20px; margin: -3px 0 0 -4px; width: 10px; height: 10px; border-color: var(--rd-green-ink); }
html body #top-link:hover { background: var(--rd-green); border-color: var(--rd-green); filter: brightness(1.08); }
html body #top-link:hover:before { border-color: var(--rd-green-ink); }

/* ================= elo frissites: mozgas ott, ahol adat valtozik ================= */
html body .lista .kapcs_bold, html body .rd-feat-n { transition: color .3s; display: inline-block; }
html body .lista .kapcs_bold.rd-up, html body .rd-feat-n.rd-up { color: var(--rd-green-text) !important; }
html body .lista .kapcs_bold.rd-down, html body .rd-feat-n.rd-down { color: var(--rd-err-text) !important; }
html body .lista a.allomasnev_szamcim { transition: opacity .2s; }
html body .lista a.allomasnev_szamcim.rd-fade { opacity: 0; }
html body .lista > table > tbody > tr.rd-moved-up { background: rgba(111,196,1,.10) !important; position: relative; z-index: 2; }
html body .lista > table > tbody > tr.rd-moved-down { background: rgba(229,86,79,.08) !important; position: relative; z-index: 1; }

/* az eppen szolo allomas logojan mozgo hangszin-oszlopok */
html body .lista tr.listr_tr_selected td.info > a, html body .lista tr.rd-playing td.info > a { position: relative; }
html body .lista tr.listr_tr_selected td.info > a:before, html body .lista tr.rd-playing td.info > a:before,
html body .lista tr.listr_tr_selected td.info > a:after, html body .lista tr.rd-playing td.info > a:after {
    content: ""; position: absolute; bottom: 11px; width: 4px; height: 22px; border-radius: 2px; background: var(--rd-green);
    transform-origin: bottom; z-index: 2;
}
html body .lista tr.listr_tr_selected td.info > a:before, html body .lista tr.rd-playing td.info > a:before {
    left: 13px; box-shadow: 14px 0 0 var(--rd-green); animation: rd-eq 0.9s ease-in-out infinite;
}
html body .lista tr.listr_tr_selected td.info > a:after, html body .lista tr.rd-playing td.info > a:after {
    left: 20px; animation: rd-eq 0.7s ease-in-out -0.35s infinite;
}
html body .lista tr.listr_tr_selected td.info > a > div.logo_logo, html body .lista tr.rd-playing td.info > a > div.logo_logo { filter: brightness(.35); }
@keyframes rd-eq { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* a hallgatoszam-kartya pontja lassan luktet */
html body .rd-live-dot { animation: rd-pulse 2.4s ease-in-out infinite; }
@keyframes rd-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(111,196,1,.18); } 50% { box-shadow: 0 0 0 7px rgba(111,196,1,.05); } }

html body .rd-demo-tag {
    position: fixed; left: 50%; top: 10px; transform: translateX(-50%); z-index: 2000; background: var(--rd-warn-bg); border: 1px solid var(--rd-warn-border); color: var(--rd-warn-text);
    font-size: 12px; padding: 6px 14px; border-radius: 999px;
}
@media (prefers-reduced-motion: reduce) {
    html body .lista tr td.info > a:before, html body .lista tr td.info > a:after, html body .rd-live-dot { animation: none !important; }
}

/* ================= Google-hirdeteshelyek ================= */
/* ki nem toltott hely ne hagyjon ures dobozt */
html body ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

@media (max-width: 767px) {
    /* a lista ket fel szelessegu doboza mobilon tul kicsi lenne: egy, teljes szelessegu hely marad */
    html body .content_banner ins.adsbygoogle { width: 100% !important; }
    html body .content_banner ins.adsbygoogle ~ ins.adsbygoogle { display: none !important; }
}

/* az adatlap hirdetesei: amig a Google nem toltotte ki, a hely nem foglal magassagot (ne ugraljon a tartalom) */
html body .rd-ad-flow ins.adsbygoogle[data-adsbygoogle-status]:not([data-ad-status="filled"]) {
    height: 0 !important; min-height: 0 !important; margin: 0 !important; overflow: hidden !important;
}
html body .rd-ad-flow:has(ins.adsbygoogle[data-ad-status="filled"]) { margin: 0 0 16px; }

/* a lista Google-sora: ha egyik helyre sem jott hirdetes, az egesz sor eltunik (ne maradjon ures sav) */
html body tr.lista_banner_sor:has(ins.adsbygoogle[data-ad-status="unfilled"]):not(:has(ins.adsbygoogle[data-ad-status="filled"])) { display: none !important; }

/* ================= allomasoldal (info.cgi) ================= */
html body .rd-hero { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 4px 0 18px; margin: 0 0 18px; border-bottom: 1px solid var(--rd-line); }
html body .rd-hero-logo { flex: none; width: 72px; height: 72px; border-radius: 14px; background: var(--rd-line-2); object-fit: contain; }
html body .rd-hero-main { flex: 1; min-width: 0; }
html body .rd-hero .info_csatornalista_select { margin: 0; width: auto; float: none; }
html body .rd-hero .info_csatornalista_select > button {
    background: transparent !important; border: 0 !important; padding: 0 !important; margin: 0 !important; width: 100%; height: auto;
    display: flex; align-items: center; gap: 8px; color: var(--rd-text); text-align: left; box-shadow: none;
}
html body .rd-hero .info_csatornalista_select > button > span:first-child {
    font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--rd-text); white-space: normal; overflow: hidden; float: none; width: auto; padding: 0;
}
html body .rd-hero .info_csatornalista_select > button > span.glyphicon { float: none; font-size: 11px; color: var(--rd-muted); padding: 0; position: static; }
html body .info_csatornalista_select > .dropdown-menu,
html body .info_letoltes .dropdown-menu {
    background: var(--rd-surface-2) !important; border: 1px solid var(--rd-line-2); border-radius: 10px; padding: 6px; max-height: 60vh; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
html body .info_csatornalista_select > .dropdown-menu > li > a,
html body .info_letoltes .dropdown-menu > li > a { color: var(--rd-text-2); border-radius: 6px; padding: 7px 10px; font-size: 14px; background: transparent; }
html body .info_csatornalista_select > .dropdown-menu > li > a:hover,
html body .info_letoltes .dropdown-menu > li > a:hover { background: var(--rd-surface); color: var(--rd-text); }
html body .info_letoltes .dropdown-menu .dropdown-header { color: var(--rd-muted); font-size: 11px; padding: 6px 10px; background: transparent; }

html body .rd-hero-actions { display: flex; align-items: center; gap: 10px; flex: none; }
html body .rd-hero-actions > div { float: none; position: static; margin: 0 !important; padding: 0 !important; width: auto; height: auto; }
html body .rd-hero-actions .info_letoltes > div { position: relative; float: none; margin: 0; }
html body .rd-hero-actions .info_prev a,
html body .rd-hero-actions .info_fav a,
html body .rd-hero-actions .info_letoltes > div > a {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rd-line-2); background: transparent; color: var(--rd-text-2);
    display: flex; align-items: center; justify-content: center; font-size: 15px; text-decoration: none; text-shadow: none; padding: 0; margin: 0;
}
html body .rd-hero-actions .info_prev a:hover,
html body .rd-hero-actions .info_fav a:hover,
html body .rd-hero-actions .info_letoltes > div > a:hover { background: var(--rd-surface); color: var(--rd-text); }
html body .rd-hero-actions .info_prev a i, html body .rd-hero-actions .info_fav a i,
html body .rd-hero-actions .info_letoltes a span { font-size: 15px; color: inherit; top: 0; }
html body .rd-hero-actions .info_play a {
    width: 54px; height: 54px; border-radius: 50%; background: var(--rd-green); color: var(--rd-green-ink);
    display: flex; align-items: center; justify-content: center; text-decoration: none; padding: 0; margin: 0; cursor: pointer;
}
html body .rd-hero-actions .info_play a[style*="display:none"],
html body .rd-hero-actions .info_play a[style*="display: none"] { display: none !important; }
html body .rd-hero-actions .info_play a > i { color: inherit !important; font-size: 20px !important; margin: 0; text-shadow: none; animation: none; display: inline-block; }
html body .rd-hero-actions .info_play a > i.fa-play { margin-left: 4px; }
html body .rd-hero-actions .info_play a > i.fa-volume-up,
html body .rd-hero-actions .info_play a > i.fa-television { display: none; }
html body .rd-hero-actions .info_play a.audio_player_stop_link { background: var(--rd-text); color: var(--rd-bg); }
html body .rd-hero-actions .info_play a:hover { filter: brightness(1.1); }

/* szakaszcimek: zold sav helyett egyszeru felirat */
html body .info_altalanos_inf h3, html body #ajax_content .tracklist h3, html body .frekvencialista h3 {
    background: none; border: 0; color: var(--rd-muted); font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    padding: 0 0 8px; margin: 18px 0 0; border-bottom: 1px solid var(--rd-line); text-shadow: none; border-radius: 0;
}
html body .info_altalanos_inf > h2 + h3, html body #ajax_content .tracklist > h3:first-child { margin-top: 0; }

/* adat tablak */
html body .info_altalanos_inf table.table { background: transparent; margin: 0 0 6px; border: 0; table-layout: fixed; width: 100%; }
html body .info_altalanos_inf table.table > tbody > tr > td,
html body .info_altalanos_inf table.table > tbody > tr > th,
html body .info_altalanos_inf table.table > tr > td,
html body .info_altalanos_inf table.table > tr > th {
    background: transparent; border: 0; border-bottom: 1px solid var(--rd-line); padding: 9px 0; vertical-align: top; font-size: 14px; line-height: 1.4;
}
html body .info_altalanos_inf table.table td { color: var(--rd-muted); font-weight: 400; width: 42%; }
html body .info_altalanos_inf table.table th { color: var(--rd-text); font-weight: 700; word-break: break-word; }
html body .info_altalanos_inf table.table th a { color: var(--rd-text); text-decoration: underline; text-decoration-color: var(--rd-line-3); }
html body .info_altalanos_inf table.table tr:has(> th > img[src^="/logos/"]) { display: none; }
html body .info_altalanos_inf .label { border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 700; letter-spacing: .4px; }
html body .info_altalanos_inf .label-online { background: var(--rd-green); color: var(--rd-green-ink); }
html body .info_altalanos_inf .label-offline { background: var(--rd-red); color: var(--rd-strong); }
html body .info_altalanos_inf .glyphicon-chevron-up { color: var(--rd-green-text); }
html body .info_altalanos_inf .glyphicon-chevron-down { color: var(--rd-red); }

/* musorlista az allomasoldalon */
html body .info_tracklist_table { background: transparent; border: 0; margin: 0; padding: 0; display: block; width: 100%; font-size: 14px; color: var(--rd-text-2); }
html body .info_tracklist_sor { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--rd-line); background: transparent; }
html body .info_tracklist_ido, html body .info_tracklist_szamcim { display: block; padding: 0; border: 0; background: transparent; width: auto; }
html body .info_tracklist_ido { flex: none; width: 44px; }
html body .info_tracklist_ido > span.badge { background: transparent; color: var(--rd-muted); font-family: 'Roboto Mono', monospace; font-size: 12px; font-weight: 400; padding: 0; border-radius: 0; }
html body .info_tracklist_szamcim { flex: 1; min-width: 0; color: var(--rd-text); font-size: 14px; }
html body .info_tracklist_szamcim a { color: var(--rd-green-text); font-size: 13px; text-decoration: none; }
html body .info_tracklist_sor:last-child { border-bottom: 0; }
html body .info_tracklist_table b { color: var(--rd-text); }

/* ismerteto szoveg */
html body #ajax_content > div:not([class]):not([style]):not([id]) {
    background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; padding: 4px 18px 16px; margin: 22px 0 0;
    font-size: 14px; line-height: 1.65; color: var(--rd-text-2); overflow-wrap: anywhere;
}
html body #ajax_content > div:not([class]):not([style]):not([id]):empty { display: none; }
html body #ajax_content > div:not([class]):not([style]):not([id]) font { font-size: 16px; font-weight: 700; color: var(--rd-text); }
html body #ajax_content > div:not([class]):not([style]):not([id]) a { color: var(--rd-text); }

@media (max-width: 767px) {
    html body .rd-hero { padding: 4px 12px 14px; gap: 12px; }
    html body .rd-hero-logo { width: 56px; height: 56px; border-radius: 12px; }
    html body .rd-hero .info_csatornalista_select > button > span:first-child { font-size: 17px; }
    html body .rd-hero-actions { width: 100%; justify-content: flex-end; }
    html body .rd-hero-actions .info_prev { margin-right: auto !important; }
    html body #ajax_content > div:not([class]):not([style]):not([id]) { margin: 18px 12px 0; }
}

html body .rd-hero-actions .info_play a { display: flex !important; }
html body .rd-hero-actions .info_play a > i { animation: none !important; -webkit-animation: none !important; line-height: 1; }

/* az allomasleirasok sajat <style> blokkja (span { color }) ne szinezze at az oldal tobbi reszet */
html body .sidebar span, html body .rd-hero span, html body .navbar span, html body .pagination span,
html body .info_altalanos_inf td span, html body #audio_player span { color: inherit; }
html body .sidebar .sidebar_adok_listazasa > a > div > span.glyphicon-check { color: transparent; }

/* a musorlista utolso sora: "Korabbi musorok" gomb (ures idooszlop es alahuzas nelkul) */
html body .info_tracklist_sor:has(> .info_tracklist_szamcim > a.ajax_link) { border-bottom: 0 !important; padding: 14px 0 2px; justify-content: flex-end; }
html body .info_tracklist_sor:has(> .info_tracklist_szamcim > a.ajax_link) > .info_tracklist_ido { display: none !important; }
html body .info_tracklist_sor:has(> .info_tracklist_szamcim > a.ajax_link) > .info_tracklist_szamcim { flex: none; border: 0 !important; text-align: right; }
html body .info_tracklist_sor > .info_tracklist_szamcim > a.ajax_link {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--rd-line-2); border-radius: 8px; background: transparent;
    color: var(--rd-text) !important; font-size: 13px; font-weight: 700; text-decoration: none !important;
}
html body .info_tracklist_sor > .info_tracklist_szamcim > a.ajax_link:hover { border-color: var(--rd-green); color: var(--rd-green-text) !important; }
html body .info_tracklist_sor > .info_tracklist_szamcim > a.ajax_link .glyphicon { top: 0; font-size: 12px; color: var(--rd-green-text); }
html body .info_tracklist_sor > div { border-bottom: 0; }

/* ---------- grafikonok (allomas adatlapja, osszehasonlitas, globalis statisztika) ----------
   A kepeket a szerver atlatszo hatterrel rajzolja; a hatteret (sotet vagy vilagos) es a keretet itt adjuk. */
html body #ajax_content > h2.graph_focim {
    background: none !important; border: 0; border-top: 1px solid var(--rd-line); border-radius: 0; box-shadow: none; text-shadow: none;
    color: var(--rd-text) !important; font-size: 18px; font-weight: 700; line-height: 1.3; margin: 30px 0 4px !important; padding: 22px 0 0 !important; height: auto;
}
html body .info_graph { margin-left: -8px; margin-right: -8px; }
html body .info_graph > div { padding-left: 8px; padding-right: 8px; }
html body .info_graph h4 {
    background: none !important; border: 0; box-shadow: none; text-shadow: none; height: auto; padding: 0 !important;
    font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rd-muted) !important; margin: 18px 0 8px !important;
}
html body .info_graph img {
    display: block; width: 100%; height: auto; aspect-ratio: 780 / 393; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-inset);
}
html body .cmp-a { color: #6fc401; }
html body .cmp-b { color: #f0a23b; }
html[data-theme="light"] body .cmp-a { color: #3d7a00; }
html[data-theme="light"] body .cmp-b { color: #b36b00; }

/* a grafikonok cimsavjai minden oldalon igazodjanak (nincs zold sav, lekerekitett kepkeret) */
html body .content h2.graph_focim:has(+ .info_graph), html body .content h2.graph_focim:has(+ br + .info_graph) {
    background: none !important; box-shadow: none; text-shadow: none; border-radius: 0; color: var(--rd-text) !important; height: auto;
}
html body .content .info_graph h4 { background: none !important; border-radius: 0; }
html body .content .info_graph img { border-radius: 12px; }

/* ---------- adatlap alja: osszehasonlito lenyilo es az "Adatok pontossaga" megjegyzes ---------- */
html body #ajax_content .info_csatornalista_select:not(.rd-hero .info_csatornalista_select) { position: relative; max-width: 460px; }
html body #ajax_content .info_csatornalista_select:not(.rd-hero .info_csatornalista_select) > button {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 44px; padding: 0 14px; background: var(--rd-surface) !important;
    border: 1px solid var(--rd-line-2); border-radius: 10px; color: var(--rd-text) !important; font-size: 14px; font-weight: 500; box-shadow: none; text-shadow: none;
}
html body #ajax_content .info_csatornalista_select:not(.rd-hero .info_csatornalista_select) > button:hover { border-color: var(--rd-line-3); }
html body #ajax_content .info_csatornalista_select:not(.rd-hero .info_csatornalista_select).open > button { border-color: var(--rd-green); }
html body #ajax_content .info_csatornalista_select:not(.rd-hero .info_csatornalista_select) > button .glyphicon { top: 0; font-size: 11px; color: var(--rd-muted); }
html body #ajax_content .info_csatornalista_select:not(.rd-hero .info_csatornalista_select) > .dropdown-menu { width: 100%; max-height: 340px; overflow-y: auto; margin-top: 6px; border-radius: 10px; }
html body #ajax_content h2.graph_focim + .row > div > br:first-child { display: none; }
html body .rd-note { margin: 28px 0 0; padding: 14px 16px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-surface); }
html body .rd-note h4 {
    background: none !important; border: 0; box-shadow: none; text-shadow: none; height: auto; padding: 0 !important; margin: 0 0 6px !important;
    font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rd-muted) !important;
}
html body .rd-note p { margin: 0 0 4px; font-size: 13px; line-height: 1.55; color: var(--rd-muted); }
/* Allomas ismertetoje (admin: Ismerteto): a longdesc fajlbol generalt HTML-reszlet (h3.rd-longdesc-title, p, br, a).
   A reszlet az info- es a videolejatszo oldalon a 20-info.css-ben kartyava formazott div-ben ul. */
html body #ajax_content > div:not([class]):not([style]):not([id]) h3.rd-longdesc-title {
    margin: 14px 0 10px; padding: 0; border: 0; background: none; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--rd-text); text-shadow: none;
}
html body #ajax_content > div:not([class]):not([style]):not([id]) h3.rd-longdesc-title + p { margin-top: 0; }
html body #ajax_content > div:not([class]):not([style]):not([id]) p {
    margin: 0 0 12px; font-size: 14px; line-height: 1.65; color: var(--rd-text-2); text-align: left;
}
html body #ajax_content > div:not([class]):not([style]):not([id]) p:last-child { margin-bottom: 0; }
html body #ajax_content > div:not([class]):not([style]):not([id]) p a {
    color: var(--rd-text); text-decoration: underline; text-decoration-color: rgba(111, 196, 1, .65); text-underline-offset: 2px; word-break: break-word;
}
html body #ajax_content > div:not([class]):not([style]):not([id]) p a:hover, html body #ajax_content > div:not([class]):not([style]):not([id]) p a:focus {
    color: var(--rd-green-text); text-decoration-color: currentColor;
}

/* ---------- elerhetosegek az adatlapon (kulon mezokbol) ---------- */
html body .rd-contacts { margin: 18px 0 0; }
html body .rd-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 10px; }
html body a.rd-contact { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--rd-line); border-radius: 10px; background: var(--rd-surface-2); text-decoration: none; min-width: 0; }
html body a.rd-contact:hover { border-color: var(--rd-green); }
html body .rd-contact-ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--rd-tile); display: flex; align-items: center; justify-content: center; }
html body .rd-contact-ic .rd-ic { width: 17px; height: 17px; color: var(--rd-text-2); }
html body a.rd-contact:hover .rd-contact-ic { background: var(--rd-green); }
html body a.rd-contact:hover .rd-contact-ic .rd-ic { color: var(--rd-green-ink); }
html body .rd-contact-t { min-width: 0; display: block; text-align: left; }
html body .rd-contact-t em { display: block; font-style: normal; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; color: var(--rd-muted); }
html body .rd-contact-t b { display: block; font-size: 14px; font-weight: 700; color: var(--rd-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* szerkeszto (radios felulet es admin) */
html body .content .ab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
html body .content .ab-grid .pm-field { margin: 0; max-width: none; display: block; font-weight: 400; }
html body .content .ab-grid .pm-field > span { display: block; font-size: 12px; color: var(--rd-muted); margin: 0 0 5px; }
html body .content .ab-grid .pm-field input { display: block; width: 100%; height: 40px; padding: 0 12px; background: var(--rd-inset); border: 1px solid var(--rd-line); border-radius: 8px; color: var(--rd-text); font-size: 14px; box-shadow: none; outline: 0; }
html body .content .ab-grid .pm-field input:focus { border-color: var(--rd-green); }
html body .content textarea.ab-text { display: block; width: 100%; min-height: 180px; padding: 11px 12px; background: var(--rd-inset); border: 1px solid var(--rd-line); border-radius: 8px; color: var(--rd-text); font: inherit; font-size: 14px; line-height: 1.5; resize: vertical; box-shadow: none; outline: 0; }
html body .content .ab-h { margin-top: 22px; }
html body .content .ab-page .pm-actions a.rg-btn { text-decoration: none; background: transparent !important; border: 1px solid var(--rd-line-3) !important; color: var(--rd-text) !important; }
html body .content .ab-adminform .ab-grid { margin: 12px 0; }
@media (max-width: 767px) { html body .content .ab-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- jovahagyasra varo modositasok (radios felulet + admin) ---------- */
html body .content .ab-pending { margin: 0 0 14px; }
html body .content .ab-withdraw { margin: 10px 0 0; }
html body .content .ab-withdraw .rg-btn { background: transparent !important; border: 1px solid var(--rd-warn-border) !important; color: var(--rd-warn-text) !important; }
html body .content .ar-page { max-width: 1100px; }
html body .content .ar-req { padding: 18px 20px; margin: 0 0 14px; }
html body .content .ar-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
html body .content .ar-head b { font-size: 16px; color: var(--rd-text); }
html body .content .ar-head a { color: var(--rd-text); text-decoration: none; }
html body .content .ar-head a:hover b { color: var(--rd-green-text); }
html body .content .ar-head em { font-style: normal; font-size: 12px; color: var(--rd-muted); }
html body .content .ar-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
html body .content .ar-cmp > div { border: 1px solid var(--rd-line); border-radius: 10px; padding: 12px 14px; background: var(--rd-surface-2); min-width: 0; }
html body .content .ar-cmp > div.ar-new { border-color: var(--rd-green-border); background: var(--rd-green-bg); }
html body .content .ar-cmp h3 { font-size: 11px; letter-spacing: .6px; text-transform: uppercase; color: var(--rd-muted); margin: 0 0 8px; padding: 0; border: 0; background: none; }
html body .content .ar-cmp p { font-size: 13px; line-height: 1.55; color: var(--rd-text-2); margin: 0 0 8px; white-space: pre-wrap; word-break: break-word; }
html body .content .ar-cmp p.ar-none { color: var(--rd-muted); font-style: italic; }
html body .content .ar-rows { margin: 12px 0 0; border: 1px solid var(--rd-line); border-radius: 10px; overflow: hidden; }
html body .content .ar-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 8px 14px; border-top: 1px solid var(--rd-line); font-size: 13px; color: var(--rd-text-2); }
html body .content .ar-row:first-child { border-top: 0; }
html body .content .ar-row span { min-width: 0; word-break: break-all; }
html body .content .ar-row span:first-child { color: var(--rd-muted); }
html body .content .ar-row.ar-chg span:last-child { color: var(--rd-green-soft); font-weight: 700; }
html body .content .ar-row.ar-chg span:nth-child(2) { text-decoration: line-through; color: var(--rd-muted); }
html body .content .ar-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
html body .content .ar-act form { margin: 0; }
html body .content .ar-act button.rg-btn:not(.rg-btn-primary) { background: transparent !important; border: 1px solid var(--rd-line-3) !important; color: var(--rd-text) !important; }
@media (max-width: 767px) { html body .content .ar-cmp { grid-template-columns: minmax(0, 1fr); } html body .content .ar-row { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ================= lenyilo listak egysegesen ================= */
html body .dropdown-menu {
    background: var(--rd-surface-2) !important; border: 1px solid var(--rd-line-2) !important; border-radius: 10px !important; padding: 6px !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.55) !important; margin-top: 6px; min-width: 200px;
    scrollbar-width: thin; scrollbar-color: var(--rd-line-3) transparent;
}
html body .dropdown-menu::-webkit-scrollbar { width: 8px; height: 8px; }
html body .dropdown-menu::-webkit-scrollbar-thumb { background: var(--rd-line-3); border-radius: 4px; }
html body .dropdown-menu::-webkit-scrollbar-track { background: transparent; }
html body .dropdown-menu > li > a {
    display: flex; align-items: center; gap: 10px; padding: 8px 10px !important; border-radius: 6px; font-size: 14px; line-height: 1.3;
    color: var(--rd-text-2) !important; background: transparent !important; white-space: nowrap; text-shadow: none;
}
html body .dropdown-menu > li > a:hover, html body .dropdown-menu > li > a:focus { background: var(--rd-surface) !important; color: var(--rd-text) !important; }
html body .dropdown-menu .dropdown-header {
    font-size: 11px !important; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rd-dim) !important;
    padding: 6px 10px 4px !important; background: transparent !important; white-space: nowrap; width: auto !important;
}
html body .dropdown-menu .divider { background: var(--rd-line-2); margin: 6px 0; }

/* allomasoldal: csatornavalaszto - a cim alatt, keskeny, gorgetheto panel */
html body .rd-hero .info_csatornalista_select { position: relative; display: inline-block; max-width: 100%; }
html body .rd-hero .info_csatornalista_select > .dropdown-menu {
    left: 0; right: auto; width: max-content; min-width: 260px; max-width: min(460px, 92vw); max-height: 336px; overflow-y: auto; overflow-x: hidden;
}
html body .rd-hero .info_csatornalista_select > .dropdown-menu > li > a { overflow: hidden; text-overflow: ellipsis; display: block; }
html body .rd-hero .info_csatornalista_select > .dropdown-menu > li > a.rd-current {
    background: var(--rd-surface) !important; color: var(--rd-text) !important; font-weight: 700; box-shadow: inset 3px 0 0 var(--rd-green);
}

/* allomasoldal: letoltes (lejatszasi listak) - jobbra igazitva, gorgetosav nelkul */
html body .rd-hero-actions .info_letoltes .dropdown-menu {
    left: auto; right: 0; width: max-content; min-width: 250px; max-height: none; overflow: visible;
}
html body .info_letoltes .dropdown-menu > li > a > span,
html body .lista td.letoltes .dropdown-menu > li > a > span {
    order: -1; flex: none; min-width: 44px; text-align: center; font-family: 'Roboto Mono', monospace; font-size: 11px; font-weight: 700;
    color: var(--rd-green-text); background: var(--rd-green-bg); border-radius: 4px; padding: 3px 6px; margin: 0; float: none; width: auto;
}
html body .info_letoltes .dropdown-menu > li > a > i { display: none; }

/* oldalsav szurok es a "talalat/oldal" valaszto */
html body .sidebar .dropdown-menu, html body .lista_talalat_oldal > .dropdown-menu { min-width: 100%; max-height: 320px; overflow-y: auto; }
/* Musorlista (tracklist.cgi) es zene/musor kereses (songsearch.cgi) - uj kinezet.
   Csak a #ajax_content kozvetlen gyereke, tracklist/songsearch tablazatra hat, a lista (.lista),
   az allomas info (nem kozvetlen gyerek) es a video oldalak nem erintettek. */

/* ---------- cim (songsearch / tracklist h1) ---------- */
html body #ajax_content > h1:not([style]):has(+ table.table),
html body #ajax_content > h1:not([style]):has(+ .row + table.table),
html body #ajax_content > h1:not([style]):has(+ font[color]) {
    background: transparent !important; text-shadow: none !important; box-shadow: none; border: 0;
    padding: 4px 12px !important; margin: 4px 0 12px !important;
    font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--rd-text) !important;
    overflow-wrap: anywhere;
}
html body #ajax_content > h1:not([style]) a { color: var(--rd-green-text); text-decoration: none; }
html body #ajax_content > h1:not([style]) a:hover { text-decoration: underline; }

/* ---------- nincs talalat / megjegyzes ---------- */
html body #ajax_content > h1 + font[color="var(--rd-err-text)"] {
    display: block; margin: 0 12px 10px; padding: 14px 16px; border-radius: 12px;
    background: var(--rd-surface); border: 1px solid var(--rd-line); color: var(--rd-text);
}
html body #ajax_content > h1 + font[color="var(--rd-err-text)"] b { font-weight: 700; font-size: 15px; color: var(--rd-text); }
html body #ajax_content > h1 + font + br { display: none; }
html body #ajax_content > h1 + font + br + font[color="var(--rd-dim)"] {
    display: block; margin: 0 12px; color: var(--rd-muted); font-size: 12px; line-height: 1.5;
}
html body #ajax_content > h1 + font + br + font[color="var(--rd-dim)"] i { font-style: normal; }

/* ---------- tablazat -> sorok ---------- */
html body #ajax_content > table.table {
    display: block; width: 100%; max-width: 100%; margin: 0 0 10px; background: transparent; border: 0;
    border-collapse: collapse; overflow: hidden;
}
html body #ajax_content > table.table > tbody { display: block; width: 100%; background: transparent; border: 0; }
html body #ajax_content > table.table > tbody > tr {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
    padding: 10px 12px; margin: 0; border: 0; border-bottom: 1px solid var(--rd-line); background: transparent;
}
html body #ajax_content > table.table > tbody > tr:first-child { border-top: 1px solid var(--rd-line); }
html body #ajax_content > table.table > tbody > tr:hover { background: var(--rd-surface); }
html body #ajax_content > table.table > tbody > tr > td {
    display: block; width: auto !important; border: 0 !important; background: transparent !important;
    padding: 0; margin: 0; color: var(--rd-text); line-height: 1.4; vertical-align: middle;
    min-width: 0; text-align: left;
}
/* ures (lezaro) sorok nem kellenek */
html body #ajax_content > table.table > tbody > tr:not(:has(> td:not(:empty))) { display: none; }

/* ---------- musorlista sor: ido | cim | ikonok ---------- */
html body #ajax_content > table.table > tbody > tr > td > span.badge {
    display: inline-block; background: transparent; color: var(--rd-muted); padding: 0; border-radius: 0;
    font-size: 12px; font-weight: 400; line-height: 1.4; top: 0; font-variant-numeric: tabular-nums; white-space: nowrap;
}
html body #ajax_content > table.table > tbody > tr > td:first-child:has(> .badge) { flex: none; width: 104px !important; }
html body #ajax_content > table.table > tbody > tr > td:nth-child(2) {
    flex: 1 1 0; font-size: 15px; font-weight: 700; color: var(--rd-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html body #ajax_content > table.table > tbody > tr > td:nth-child(2) > i {
    font-style: normal; font-weight: 400; font-size: 13px; color: var(--rd-muted); white-space: normal;
}
/* streaming ikonok */
html body #ajax_content > table.table > tbody > tr > td:nth-child(n+3) { flex: none; }
html body #ajax_content > table.table > tbody > tr > td > a > img {
    display: block; height: 18px; width: auto; opacity: .75; filter: saturate(.9); transition: opacity .15s;
}
html body #ajax_content > table.table > tbody > tr > td > a:hover > img { opacity: 1; filter: none; }
html body #ajax_content > table.table > tbody > tr > td:nth-child(n+3) > a { display: block; padding: 6px 5px; }

/* ---------- songsearch sor: helyezes | allomas | talalat gomb ---------- */
html body #ajax_content > table.table > tbody > tr > td:first-child:not(:has(> .badge)) {
    flex: none; width: 34px !important; text-align: right; font-size: 15px; font-weight: 700; color: var(--rd-muted);
    font-variant-numeric: tabular-nums;
}
html body #ajax_content > table.table > tbody > tr > td:nth-child(3):last-child:has(> a > u) { flex: none; }
html body #ajax_content > table.table > tbody > tr > td > a:has(> u) {
    display: inline-block; padding: 6px 14px; border: 1px solid var(--rd-line-2); border-radius: 999px;
    color: var(--rd-text-2); font-size: 13px; text-decoration: none; white-space: nowrap; line-height: 1.3;
}
html body #ajax_content > table.table > tbody > tr > td > a:has(> u) > u { text-decoration: none; }
html body #ajax_content > table.table > tbody > tr > td > a:has(> u) > u > b { color: var(--rd-text); font-weight: 700; font-variant-numeric: tabular-nums; }
html body #ajax_content > table.table > tbody > tr > td > a:has(> u):hover { background: var(--rd-surface-2); border-color: var(--rd-green); color: var(--rd-text); }

/* ---------- hirdetes sor ---------- */
html body #ajax_content > table.table > tbody > tr.lista_banner_sor { padding: 8px 12px; background: transparent; }
html body #ajax_content > table.table > tbody > tr.lista_banner_sor > td { flex: 1; min-width: 0; overflow: hidden; }
html body #ajax_content > table.table .content_banner {
    margin: 0 !important; min-height: 0; max-height: 120px; overflow: hidden; border-radius: 10px;
}
html body #ajax_content > table.table .content_banner br { display: none; }
html body #ajax_content > table.table ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* ---------- mobil: cim felul, ido + ikonok alul ---------- */
@media (max-width: 767px) {
    html body #ajax_content > h1:not([style]):has(+ table.table),
    html body #ajax_content > h1:not([style]):has(+ .row + table.table),
    html body #ajax_content > h1:not([style]):has(+ font[color]) { font-size: 18px; }
    html body #ajax_content > table.table > tbody > tr:has(> td > span.badge) { gap: 0; }
    html body #ajax_content > table.table > tbody > tr:has(> td > span.badge) > td:nth-child(2) { order: 0; flex: 1 0 100%; }
    html body #ajax_content > table.table > tbody > tr:has(> td > span.badge) > td:first-child { order: 1; flex: 1 1 auto; width: auto !important; }
    html body #ajax_content > table.table > tbody > tr:has(> td > span.badge) > td:nth-child(n+3) { order: 2; }
    html body #ajax_content > table.table > tbody > tr:has(> td > span.badge) > td:nth-child(n+3) > a { padding: 4px 6px; }
    /* songsearch: marad egy sor */
    html body #ajax_content > table.table > tbody > tr > td:first-child:not(:has(> .badge)) { width: 26px !important; }
}

/* songsearch sor mindig egy sor */
html body #ajax_content > table.table > tbody > tr:has(> td:nth-child(3):last-child) { flex-wrap: nowrap; }

/* osszegzo / "nincs informacio" sor: csak a szoveg, halvanyan */
html body #ajax_content > table.table > tbody > tr > td:empty { display: none; }
html body #ajax_content > table.table > tbody > tr > td:nth-child(2) > i > b { color: var(--rd-text); font-weight: 700; }
html body #ajax_content > table.table > tbody > tr:not(:has(> td > span.badge)):has(> td:nth-child(2) > i):hover { background: transparent; }
/* TV lista, webkamera lista es videolejatszo oldal.
   A rad.io lista (/) nem valtozik: a lista-szabalyok csak akkor ervenyesek, ha az oldalsavban
   a "TV-k" vagy a "Webkamerak" pont van kijelolve. A lejatszo oldal a body.rd-video osztalyt kapja. */

/* ================= TV / webkamera lista ================= */

/* TV-n es webkameran nincs hallgatoszam ("-"), ne foglaljon ures oszlopot */
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista > table > tbody > tr > td.kapcs:not(:has(.kapcs_bold)),
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista:not(:has(.kapcs_bold)) > table > tbody > tr > th.kapcs {
    display: none !important;
}

/* almusor sor: halvany "tobbcsatornas adas" / "(nincs informacio)" */
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista td.allomasnev > a.allomasnev_szamcim,
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista td.allomasnev > a.allomasnev_szamcim > span {
    color: var(--rd-muted);
}
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista td.allomasnev > a.allomasnev_szamcim:hover,
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista td.allomasnev > a.allomasnev_szamcim:hover > span {
    color: var(--rd-text);
}

/* video link: ugyanolyan zold kor, mint a radional a lejatszas */
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista td.play_xs_sm > a:not(.audio_player_play_link):not(.audio_player_stop_link):not(.lista_collapse_link) {
    background: var(--rd-green);
    color: var(--rd-green-ink);
}
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista td.play_xs_sm > a:not(.audio_player_play_link):not(.audio_player_stop_link):not(.lista_collapse_link) > i.fa-play {
    margin-left: 3px;
}

/* alcsatorna sorok: a regi css !important zold-szurke hatterét kikapcsoljuk
   (a radio listanal is megvan ez a hiba, ott 10-base.css-t kellene javitani) */
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista_collapse > table > tbody > tr.lista_collapse_paros_sor,
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista_collapse > table > tbody > tr.lista_collapse_paratlan_sor {
    background: transparent !important;
}
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista_collapse > table > tbody > tr.lista_collapse_paros_sor:hover,
html body:is(:has(.sidebar_adok_listazasa a[href$="/tv"] .glyphicon-check), :has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista_collapse > table > tbody > tr.lista_collapse_paratlan_sor:hover {
    background: var(--rd-surface) !important;
}

/* webkamera ikon: kisebb, kozepre igazitott kep a csempen */
html body:is(:has(.sidebar_adok_listazasa a[href$="/webkamera"] .glyphicon-check)) .lista > table > tbody > tr > td.info > a > div.logo_logo[style*="cam.png"] {
    background-size: 30px auto;
}

/* ================= video lejatszo oldal ================= */

/* cim: zold sav helyett vilagos, kisebb fejlec + kerek "vissza" gomb */
html body.rd-video .content > h1 {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: transparent; text-shadow: none; color: var(--rd-text);
    font-size: 22px; font-weight: 700; line-height: 1.25;
    padding: 0; margin: 4px 0 14px;
}
html body.rd-video .content > h1 .info_prev {
    float: none; flex: none; display: block; height: auto; margin: 0 !important;
}
html body.rd-video .content > h1 .info_prev a,
html body.rd-video .content > h1 .info_prev a:hover {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--rd-line-2); color: var(--rd-text-2) !important; font-size: 18px; background: transparent; padding: 0; text-shadow: none;
}
html body.rd-video .content > h1 .info_prev a i { color: inherit !important; font-size: 18px; margin: 0; }
html body.rd-video .content > h1 .info_prev a:hover { background: var(--rd-surface); color: var(--rd-text) !important; }

/* lejatszo: teljes szelesseg, 16:9, lekerekitve */
html body.rd-video .content > center { display: block; margin: 0; }
html body.rd-video .content > center > iframe {
    display: block; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9;
    border: 0; border-radius: 12px; background: #000;
}
html body.rd-video .content > center > img {
    display: block; max-width: 100%; height: auto; border-radius: 12px; margin: 0 auto;
}
html body.rd-video .content > center > a#flow_player,
html body.rd-video .content #flow_player { border-radius: 12px; overflow: hidden; background: #000; }
/* fluidplayer: a 20-info.css "ismerteto szoveg" kartyaszabalya erre a csupasz div-re is ratalalna */
html body.rd-video #ajax_content > div[data-live] {
    background: transparent !important; border: 0 !important; border-radius: 12px !important; padding: 0 !important; margin: 0 !important; overflow: hidden;
}
html body.rd-video #ajax_content .fluid_video_wrapper { border-radius: 12px; overflow: hidden; background: #000; }
html body.rd-video .content .video-js { border-radius: 12px; overflow: hidden; background: #000; max-width: 100%; }
html body.rd-video .content .video-js .vjs-tech { border-radius: 12px; }
html body.rd-video .content > br { display: none; }
html body.rd-video .content > div[style*="text-align:center"] { margin: 12px 0 4px; overflow: hidden; border-radius: 10px; }
/* mobil hirdetes a fejlec alatt: fix hely, lekerekitve (mint a listaban) */
html body.rd-video > div[style*="text-align:center"] {
    margin: 0 12px 10px; min-height: 80px; max-height: 120px; overflow: hidden; border-radius: 10px; background: var(--rd-inset);
}

/* jp-video (http lejatszo) vezerlosav */
html body.rd-video .jp-video { margin-bottom: 14px; }
html body.rd-video .video_player_controls_table {
    background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; overflow: hidden;
}
html body.rd-video .video_player_controls_table .video_player_controls_play_cella > a,
html body.rd-video .video_player_controls_table .video_player_controls_fullscreen_cella > a {
    color: var(--rd-green-text); text-shadow: none;
}
html body.rd-video .video_player_controls_table .video_player_controls_allomasnev_cella .jp-title { text-shadow: none; }

/* a lejatszo alatti tablazatok (alcsatorna valaszto, csatornavaltas, hirdetes) */
html body.rd-video .content > table,
html body.rd-video .content > table > tbody { display: block; width: 100% !important; border: 0; background: transparent; }
html body.rd-video .content > table > tbody > tr { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; }
html body.rd-video .content > table > tbody > tr > td {
    display: block; width: auto !important; padding: 0; border: 0; background: transparent; color: var(--rd-muted); font-size: 14px; text-align: left;
}

/* alcsatorna valaszto */
html body.rd-video .content > table:has(.info_csatornalista_select) { margin: 14px 0 0; }
html body.rd-video .content > table:has(.info_csatornalista_select) > tbody > tr > td:first-child { flex: none; white-space: nowrap; }
html body.rd-video .content > table:has(.info_csatornalista_select) > tbody > tr > td:last-child { flex: 1; min-width: 0; }
html body.rd-video .info_csatornalista_select { margin: 0; }
html body.rd-video .info_csatornalista_select > button {
    background: var(--rd-surface) !important; border: 1px solid var(--rd-line-2) !important; border-radius: 10px;
    color: var(--rd-text) !important; padding: 10px 14px !important; font-size: 14px; font-weight: 700; box-shadow: none;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
html body.rd-video .info_csatornalista_select > button > span.glyphicon { color: var(--rd-muted); padding-top: 2px; }
html body.rd-video .info_csatornalista_select > .dropdown-menu {
    background: var(--rd-surface-2); border: 1px solid var(--rd-line); border-radius: 10px; padding: 4px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .55); margin-top: 6px;
}
html body.rd-video .info_csatornalista_select > .dropdown-menu > li > a,
html body.rd-video .info_csatornalista_select > .dropdown-menu > li > a:focus {
    color: var(--rd-text-2); border-radius: 8px; padding: 9px 12px; font-size: 14px; white-space: normal;
}
html body.rd-video .info_csatornalista_select > .dropdown-menu > li > a:hover { background: var(--rd-surface); color: var(--rd-text); }

/* kulso lejatszo doboz */
html body.rd-video .content > .lista:not(:has(.lista_head_row)) {
    background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; padding: 12px 14px; margin: 14px 0 0;
}
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table,
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody { display: block; width: 100%; }
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 0; border: 0; background: transparent;
}
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr > td {
    display: block; width: auto !important; padding: 0 !important; border: 0 !important; background: transparent !important;
    color: var(--rd-text); font-size: 14px; font-weight: 700;
}
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr > td.letoltes { display: block !important; flex: none; }
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr > td.letoltes > .dropdown > a {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
    background: var(--rd-green); color: var(--rd-green-ink); font-size: 15px; text-decoration: none;
}
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr > td.letoltes > .dropdown > a:hover { filter: brightness(1.12); }
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr > td.letoltes > .dropdown > .dropdown-menu {
    background: var(--rd-surface-2) !important; border: 1px solid var(--rd-line) !important; border-radius: 10px !important;
    padding: 4px; box-shadow: 0 10px 28px rgba(0, 0, 0, .55);
}
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr > td[style*="color"] {
    flex: 1 1 200px; min-width: 0; font-weight: 400; color: var(--rd-muted) !important;
}
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr > td[style*="color"] > i { font-style: normal; }
html body.rd-video .content > .lista:not(:has(.lista_head_row)) > table > tbody > tr > td[style*="color"] .glyphicon { display: none; }

/* atkapcsolas masik TV csatornara */
html body.rd-video .content > table:has(.pagination) { margin: 14px 0 0; }
html body.rd-video .content > table:has(.pagination) > tbody > tr > td:first-child { flex: 1; min-width: 0; }
html body.rd-video .content > table:has(.pagination) > tbody > tr > td[width="60%"],
html body.rd-video .content > table:has(.pagination) > tbody > tr > td[width="1"] { display: none; }
html body.rd-video .content > table:has(.pagination) > tbody > tr > td > nav { display: block; }
html body.rd-video .content > table:has(.pagination) .pagination { margin: 0 !important; display: block; }
html body.rd-video .content > table:has(.pagination) .pagination > li { display: block; }
html body.rd-video .content > table:has(.pagination) .pagination > li > a {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; margin: 0;
    border: 1px solid var(--rd-line-2); border-radius: 50%; background: transparent; color: var(--rd-text-2); font-size: 12px;
}
html body.rd-video .content > table:has(.pagination) .pagination > li > a:hover { background: var(--rd-surface); color: var(--rd-text); }

/* megjegyzesek: halvany szoveg, zold link */
html body.rd-video .content font[color="var(--rd-dim)"] { color: var(--rd-muted) !important; }
html body.rd-video .content font[color="var(--rd-dim)"] a,
html body.rd-video .content font[color="var(--rd-dim)"] a b { color: var(--rd-green-text); }
html body.rd-video .content > i { display: block; margin-top: 14px; line-height: 1.5; }
html body.rd-video .content > i > span { font-size: 13px !important; }
html body.rd-video .content font[color="#ffff00"] { color: #e8c547 !important; }
html body.rd-video .content > font { display: block; margin: 12px 0 0; line-height: 1.5; font-size: 14px; }
html body.rd-video .content > font[color="#00ffff"] { color: #8fd3cf !important; }

/* hirdetes / banner tablazat */
html body.rd-video .content > table:has(img) { margin: 16px 0 0; }
html body.rd-video .content > table:has(img) > tbody > tr { gap: 12px; align-items: stretch; }
html body.rd-video .content > table:has(img) > tbody > tr > td { flex: 1 1 0; min-width: 0; }
html body.rd-video .content > table:has(img) img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin: 0 auto; }

@media (max-width: 767px) {
    html body.rd-video .content { padding-left: 12px; padding-right: 12px; }
    html body.rd-video .content > h1 { font-size: 19px; margin-top: 2px; }
    html body.rd-video .content > center > iframe,
    html body.rd-video .content > center > img,
    html body.rd-video .content .video-js { border-radius: 10px; }
    /* az alcsatorna valaszto es a csatornavaltas cimkeje a gomb folott */
    html body.rd-video .content > table:has(.info_csatornalista_select) > tbody > tr { flex-wrap: wrap; gap: 6px; }
    html body.rd-video .content > table:has(.info_csatornalista_select) > tbody > tr > td:first-child { flex: 1 1 100%; white-space: normal; }
    html body.rd-video .content > table:has(.info_csatornalista_select) > tbody > tr > td:last-child { flex: 1 1 100%; }
    html body.rd-video .content > table:has(img) > tbody > tr { flex-direction: column; }
    html body.rd-video .content > table:has(img) > tbody > tr > td { flex: none; width: 100% !important; }
}
/* ================= videolejatszo oldal: banner-sav a lejatszo alatt =================
   A videoplayer.cgi %videobanners helyere kerul (data/banners-video.db aktiv sorai), a /jump.cgi-n at szamolt kattintassal.
   Egy vagy ket banner; ha nincs aktiv banner, semmi sem kerul az oldalra. */

html body .content .vp-banners {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; padding: 0;
}
html body .content .vp-banners.vp-banners-1 { grid-template-columns: minmax(0, 1fr); }
html body .content .vp-banners > a.vp-banner {
    display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 60px; max-height: 120px; overflow: hidden;
    border-radius: 10px; background: var(--rd-inset); border: 1px solid var(--rd-line); text-decoration: none;
}
html body .content .vp-banners > a.vp-banner:hover { border-color: var(--rd-line-2); filter: brightness(1.08); }
html body .content .vp-banners > a.vp-banner:focus-visible { outline: 2px solid var(--rd-green); outline-offset: 2px; }
html body .content .vp-banners > a.vp-banner > img { display: block; max-width: 100%; max-height: 118px; width: auto; height: auto; border-radius: 8px; }

@media (max-width: 575px) {
    html body .content .vp-banners { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
/* Szoveges oldalak, urlapok es statisztika (faq, help, legalinfo, datahandling, new,
   global, contact, login, favreg, forg, stationreg).
   A tartalmi szabalyok a  .content:has(> h1.graph_focim)  alatt vannak: ez a kozos
   jellemzoje ezeknek az oldalaknak; a fo lista, az info, a tracklist es a video
   oldalak tartalmanak nincs ilyen kozvetlen h1-e, igy azokat nem erinti. */

/* ---------- oldalsav: aktualis menupont jelolese (login/reg/contact/streamreg menuk) ---------- */
html body .sidebar .sidebar_adok_listazasa > a > div > .glyphicon-hand-left {
    font-size: 0 !important; width: 8px; height: 8px; padding: 0; border-radius: 50%; background: var(--rd-green);
    display: block; flex: none;
}
html body .sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-hand-left) { background: var(--rd-surface); }
html body .sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-hand-left) > p { color: var(--rd-text); font-weight: 700; }

/* ---------- kartya ---------- */
html body .content:has(> h1.graph_focim) {
    box-sizing: border-box;
    border: 15px solid transparent;
    border-radius: 27px;
    background: var(--rd-surface);
    background-clip: padding-box;
    box-shadow: inset 0 0 0 1px var(--rd-line);
    padding: 22px 26px 24px;
    color: var(--rd-text-2);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    min-width: 0;
}
@media (min-width: 992px) {
    /* tisztan szoveges oldalakon rovidebb sorhossz */
    html body .content:has(> h1.graph_focim):not(:has(form, .info_graph)) { padding-right: 7%; }
}
@media (max-width: 767px) {
    html body .content:has(> h1.graph_focim) { border-width: 6px 12px; border-radius: 24px; padding: 18px 16px 20px; }
}

/* ---------- cimek ---------- */
html body .content:has(> h1.graph_focim) h1.graph_focim,
html body .content:has(> h1.graph_focim) h2.graph_focim,
html body .content:has(> h1.graph_focim) h3.graph_focim,
html body .content:has(> h1.graph_focim) h4 {
    background: none; text-shadow: none; color: var(--rd-text); padding: 0; font-weight: 700; line-height: 1.3;
}
html body .content:has(> h1.graph_focim) h1.graph_focim {
    font-size: 24px; margin: 0 0 18px !important; padding-left: 12px; border-left: 3px solid var(--rd-green);
}
html body .content:has(> h1.graph_focim) h1.graph_focim + br,
html body .content:has(> h1.graph_focim) h1.graph_focim + br + br { display: none; }
html body .content:has(> h1.graph_focim) h2.graph_focim { font-size: 18px; margin: 30px 0 6px !important; padding-top: 22px; border-top: 1px solid var(--rd-line); }
html body .content:has(> h1.graph_focim) h3.graph_focim { font-size: 17px; margin: 24px 0 6px !important; }
html body .content:has(> h1.graph_focim) h4 { font-size: 13px; letter-spacing: .4px; color: var(--rd-muted); margin: 20px 0 8px; }
@media (max-width: 767px) {
    html body .content:has(> h1.graph_focim) h1.graph_focim { font-size: 21px; }
}

/* ---------- folyo szoveg ---------- */
html body .content:has(> h1.graph_focim) b, html body .content:has(> h1.graph_focim) strong { color: var(--rd-text); font-weight: 700; }
html body .content:has(> h1.graph_focim) u { text-decoration: none; border-bottom: 1px solid var(--rd-line-3); }
html body .content:has(> h1.graph_focim) p { color: var(--rd-text-2); font-size: 15px; }
html body .content:has(> h1.graph_focim) a { color: var(--rd-green-text); text-decoration: none; }
html body .content:has(> h1.graph_focim) a:hover, html body .content:has(> h1.graph_focim) a:focus { color: var(--rd-green-text); text-decoration: underline; }
html body .content:has(> h1.graph_focim) a u { border-bottom: 0; }
html body .content:has(> h1.graph_focim) hr { height: 0; border: 0; border-top: 1px solid var(--rd-line); background: none; margin: 24px 0; }
html body .content:has(> h1.graph_focim) font[color="#ffff00"], html body .content:has(> h1.graph_focim) font[color="#ffff00"] u { color: var(--rd-green-text); font-weight: 700; }
html body .content:has(> h1.graph_focim) font[color="var(--rd-dim)"], html body .content:has(> h1.graph_focim) font[color="var(--rd-dim)"] { color: var(--rd-muted); font-size: 13px; }
html body .content:has(> h1.graph_focim) img { max-width: 100%; height: auto; }
html body .content:has(> h1.graph_focim) .text-center { text-align: left; margin: 6px 0; }
html body .content:has(> h1.graph_focim) .btn.btn-primary {
    display: inline-flex; align-items: center; gap: 8px; background: var(--rd-green); color: var(--rd-green-ink); border: 0; border-radius: 8px;
    padding: 10px 18px; font-weight: 700; text-shadow: none; box-shadow: none; text-decoration: none;
}
html body .content:has(> h1.graph_focim) .btn.btn-primary:hover, html body .content:has(> h1.graph_focim) .btn.btn-primary:focus { background: var(--rd-green); color: var(--rd-green-ink); filter: brightness(1.1); text-decoration: none; }
html body .content:has(> h1.graph_focim) .btn.btn-primary img { height: 18px; width: auto; }

/* hirdetes: ne logjon ki a kartyabol */
html body .content:has(> h1.graph_focim) div:has(> ins.adsbygoogle) { max-width: 100%; overflow: hidden; }
html body .content:has(> h1.graph_focim) ins.adsbygoogle { max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }

/* ---------- statisztika (global) ---------- */
html body .content:has(> h1.graph_focim) .info_graph { margin-top: 4px; }
html body .content:has(> h1.graph_focim) .info_graph > div > img { display: block; margin: 0; width: auto; max-width: 100%; border: 1px solid var(--rd-line); border-radius: 10px; background: var(--rd-bg); }
html body .content:has(> h1.graph_focim) .info_graph > div > h4:first-child { margin-top: 8px; }

/* ---------- urlapok ---------- */
html body .content:has(> h1.graph_focim) form { margin: 0; }
html body .content:has(> h1.graph_focim) table { display: block; width: 100%; max-width: 100%; border: 0; background: transparent; margin: 14px 0 0; }
html body .content:has(> h1.graph_focim) table > tbody { display: block; width: 100%; }
html body .content:has(> h1.graph_focim) table > tbody > tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0 0 12px; background: transparent; border: 0; }
html body .content:has(> h1.graph_focim) table > tbody > tr > td { display: block; width: auto !important; padding: 0; border: 0; background: transparent; min-width: 0; }
html body .content:has(> h1.graph_focim) table > tbody > tr > td:first-child { flex: 0 0 170px; color: var(--rd-text); font-weight: 700; font-size: 14px; }
html body .content:has(> h1.graph_focim) table > tbody > tr > td:not(:first-child):empty { display: none; }
html body .content:has(> h1.graph_focim) table > tbody > tr > td + td { flex: 1 1 260px; max-width: 420px; }
html body .content:has(> h1.graph_focim) table > tbody > tr > td:has(textarea) { max-width: none; flex-basis: 320px; }
html body .content:has(> h1.graph_focim) table > tbody > tr > td:has(input[type=submit]),
html body .content:has(> h1.graph_focim) table > tbody > tr > td:has(input[type=button]) { flex: 0 0 auto; max-width: none; }
html body .content:has(> h1.graph_focim) table > tbody > tr > td:has(> a) { flex: 1 1 260px; max-width: none; line-height: 2; font-weight: 400; }

html body .content:has(> h1.graph_focim) table > tbody > tr:has(input[type=button]) > td:first-child:empty { display: none; }

/* biztonsagi megerosites: felirat egy sor, alatta kep + mezo */
html body .content:has(> h1.graph_focim) table > tbody > tr:has(img) > td:first-child { flex: 1 1 100%; font-weight: 400; color: var(--rd-text-2); font-size: 15px; }
html body .content:has(> h1.graph_focim) table > tbody > tr:has(img) > td:has(img) { flex: 0 0 auto; }
html body .content:has(> h1.graph_focim) table > tbody > tr:has(img) > td:has(input[name=confirm]) { flex: 0 1 170px; }
html body .content:has(> h1.graph_focim) td > img {
    display: block; border: 1px solid var(--rd-line-2); border-radius: 8px; background: var(--rd-surface-2);
}

/* mezok */
html body .content:has(> h1.graph_focim) input:not([type=submit]):not([type=button]):not([type=hidden]):not([type=checkbox]):not([type=radio]),
html body .content:has(> h1.graph_focim) textarea, html body .content:has(> h1.graph_focim) select {
    display: block; width: 100% !important; max-width: 100%; box-sizing: border-box; margin: 0; padding: 10px 12px;
    background: var(--rd-bg) !important; color: var(--rd-text) !important; border: 1px solid var(--rd-line-2) !important; border-radius: 8px;
    box-shadow: none; font-family: inherit !important; font-size: 15px !important; line-height: 1.4; height: auto;
}
html body .content:has(> h1.graph_focim) textarea { height: 200px; min-height: 120px; resize: vertical; }
html body .content:has(> h1.graph_focim) table > tbody > tr:has(textarea) { align-items: flex-start; }
html body .content:has(> h1.graph_focim) table > tbody > tr:has(textarea) > td:first-child { padding-top: 10px; }
html body .content:has(> h1.graph_focim) input:not([type=submit]):not([type=button]):focus, html body .content:has(> h1.graph_focim) textarea:focus, html body .content:has(> h1.graph_focim) select:focus {
    outline: 0; border-color: var(--rd-green) !important; box-shadow: 0 0 0 3px rgba(111, 196, 1, .18);
}
html body .content:has(> h1.graph_focim) ::placeholder { color: var(--rd-dim); }
html body .content:has(> h1.graph_focim) input[type=submit], html body .content:has(> h1.graph_focim) input[type=button], html body .content:has(> h1.graph_focim) button[type=submit] {
    display: inline-block; width: auto !important; margin: 4px 0 0; padding: 11px 26px; background: var(--rd-green); color: var(--rd-green-ink);
    border: 0; border-radius: 8px; font-weight: 700; font-size: 15px; line-height: 1.2; text-shadow: none; box-shadow: none; cursor: pointer;
    -webkit-appearance: none; appearance: none;
}
html body .content:has(> h1.graph_focim) input[type=submit]:hover, html body .content:has(> h1.graph_focim) input[type=button]:hover { filter: brightness(1.1); }
html body .content:has(> h1.graph_focim) input[type=submit]:focus-visible, html body .content:has(> h1.graph_focim) input[type=button]:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 2px; }

/* felesleges br-ek az urlapok tablai kozott */
html body .content:has(> h1.graph_focim) form > br, html body .content:has(> h1.graph_focim) form + br, html body .content:has(> h1.graph_focim) table + br { display: none; }

/* bejelentkezes kiegeszito linkjei */
html body .content:has(> h1.graph_focim) table > tbody > tr > td > a > span[style] { color: inherit !important; font-size: 14px !important; }
html body .content:has(> h1.graph_focim) table > tbody > tr > td > a { color: var(--rd-text-2); }
html body .content:has(> h1.graph_focim) table > tbody > tr > td > a:hover { color: var(--rd-green-text); }

/* ---------- mobil: egy oszlop, nincs vizszintes gorgetes ---------- */
@media (max-width: 767px) {
    html body .content:has(> h1.graph_focim) table > tbody > tr { gap: 6px 12px; margin-bottom: 14px; }
    html body .content:has(> h1.graph_focim) table > tbody > tr > td:first-child { flex: 1 1 100%; }
    html body .content:has(> h1.graph_focim) table > tbody > tr > td:first-child:empty { display: none; }
    html body .content:has(> h1.graph_focim) table > tbody > tr > td + td { flex: 1 1 100%; max-width: none; }
    html body .content:has(> h1.graph_focim) table > tbody > tr:has(img) > td:has(img) { flex: 0 0 auto; }
    html body .content:has(> h1.graph_focim) table > tbody > tr:has(img) > td:has(input[name=confirm]) { flex: 1 1 120px; }
    html body .content:has(> h1.graph_focim) table > tbody > tr > td:has(input[type=submit]),
    html body .content:has(> h1.graph_focim) table > tbody > tr > td:has(input[type=button]) { flex: 1 1 100%; }
    html body .content:has(> h1.graph_focim) input[type=submit], html body .content:has(> h1.graph_focim) input[type=button] { width: 100% !important; padding: 13px 20px; }
    html body .content:has(> h1.graph_focim) input:not([type=submit]):not([type=button]):not([type=hidden]),
    html body .content:has(> h1.graph_focim) textarea, html body .content:has(> h1.graph_focim) select { font-size: 16px !important; }
}

/* ---------- egyszeru szoveges tajekoztato oldalak (pl. hibas stream linkek): rovid bevezeto es tagolt kartyak ---------- */
html body .tx-page { max-width: 760px; }
html body .tx-lead { font-size: 15px; line-height: 1.6; color: var(--rd-text-2); margin: 0 0 18px; }
html body .tx-card { background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; padding: 18px 20px; margin: 0 0 14px; }
html body .tx-card h2 { background: none; border: 0; box-shadow: none; text-shadow: none; height: auto; padding: 0; margin: 0 0 10px; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--rd-text); }
html body .tx-card ul { margin: 0; padding: 0 0 0 18px; }
html body .tx-card li { font-size: 14px; line-height: 1.6; color: var(--rd-text-2); margin: 0 0 6px; }
html body .tx-card li:last-child { margin-bottom: 0; }
html body .tx-card p { font-size: 14px; line-height: 1.6; color: var(--rd-text-2); margin: 0 0 12px; }
html body .tx-card p:last-child { margin-bottom: 0; }
html body .tx-card a:not(.tx-btn) { color: var(--rd-green-text); text-decoration: underline; }
html body .tx-card code { background: var(--rd-inset); border: 1px solid var(--rd-line); border-radius: 6px; padding: 2px 6px; font-size: 13px; color: var(--rd-text); }
html body .tx-call { border-color: var(--rd-green-border); background: var(--rd-green-bg); }
html body .tx-card a.tx-btn, html body .tx-card a.tx-btn:hover, html body .tx-card a.tx-btn:focus {
    display: inline-block; padding: 10px 18px; border-radius: 8px; background: var(--rd-green); color: var(--rd-green-ink) !important; font-size: 14px; font-weight: 700; text-decoration: none;
}
html body .tx-card a.tx-btn:hover { filter: brightness(1.08); }

/* ================= admin / msm tablazatok =================
   Ezek az oldalak a .lista tablat valodi adattablakent hasznaljak, ezert itt
   visszaallitjuk a tablazatos elrendezest (a toplista sorai es az urlap-sorok helyett). */
html body .content:has(> h1.graph_focim) .lista { overflow-x: auto; margin-top: 14px; }
html body .content:has(> h1.graph_focim) .lista > table { display: table !important; width: 100% !important; margin: 0 !important; border-collapse: collapse; table-layout: auto; }
html body .content:has(> h1.graph_focim) .lista > table > tbody { display: table-row-group !important; }
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr {
    display: table-row !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important;
}
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr:hover { background: var(--rd-surface-2) !important; }
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td,
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > th {
    display: table-cell !important; width: auto !important; max-width: none !important; min-width: 0; flex: none !important; overflow: visible !important;
    padding: 8px 10px !important; border: 0 !important; border-bottom: 1px solid var(--rd-line) !important; background: transparent !important;
    font-size: 13px !important; font-weight: 400 !important; color: var(--rd-text) !important; text-align: left !important; vertical-align: middle; line-height: 1.4;
}
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > th {
    color: var(--rd-muted) !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: .5px; text-transform: uppercase; white-space: nowrap;
}
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td span[style] { font-size: 13px !important; color: inherit; }
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td a { color: var(--rd-text-2); line-height: 1.4; }
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td a:hover { color: var(--rd-green-text); }
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td.play_xs_sm > a {
    display: inline-flex !important; width: 30px; height: 30px; border-radius: 8px; background: transparent; border: 1px solid var(--rd-line-2); color: var(--rd-text-2); font-size: 13px;
}
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td.play_xs_sm > a:hover { background: var(--rd-surface-2); filter: none; }
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td.play_xs_sm > a .glyphicon-remove { color: var(--rd-red); }
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td.kapcs { font-size: 13px !important; color: var(--rd-text) !important; }
html body .content:has(> h1.graph_focim) { max-width: none; }
html body .content:has(> h1.graph_focim) .lista > table > tbody > tr > td.lista_head_row { white-space: nowrap; color: var(--rd-muted) !important; }
html body .content:has(> h1.graph_focim) h2, html body .content:has(> h1.graph_focim) h3 {
    background: none !important; color: var(--rd-text); font-size: 15px; font-weight: 700; padding: 0 0 8px; margin: 26px 0 12px; border: 0; border-bottom: 1px solid var(--rd-line); text-shadow: none; border-radius: 0;
}

/* ================= admin: attekintes oldal, menu, torles kartya ================= */
/* oldalsav: az aktualis elem jelolese (a %liststations stb. helyere kerulo "hand-left" jelolo) zold bal savval */
html body .sidebar .ad-menu > a > div > .glyphicon-hand-left { display: none !important; }
html body .sidebar .ad-menu > a > div:has(> .glyphicon-hand-left) { background: var(--rd-surface); }
html body .sidebar .ad-menu > a > div:has(> .glyphicon-hand-left):before {
    content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--rd-green);
}
html body .sidebar .ad-menu > a > div:has(> .glyphicon-hand-left) > p { color: var(--rd-text); font-weight: 700; }
html body .sidebar .ad-menu > a > div:has(> .glyphicon-hand-left) > p > .rd-ic { color: var(--rd-green-text); }
html body .sidebar .ad-menu > a.ad-m-exit { margin-top: 14px; }
html body .sidebar .ad-menu .ad-badge {
    display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
    background: rgba(111, 196, 1, .16); color: var(--rd-green-text); font-size: 12px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
html body .sidebar .ad-menu .ad-badge[hidden] { display: none !important; }

/* az attekintes oldalon a kartya jobb oldala nincs szukitve */
html body .content:has(> h1.graph_focim):has(.ad-page) { padding-right: 26px !important; }
html body .content:has(> h1.graph_focim) .ad-page [hidden] { display: none !important; }

/* kartyak */
html body .content:has(> h1.graph_focim) .ad-page .ad-card { background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; padding: 14px 16px; box-sizing: border-box; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .ad-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; }
html body .content:has(> h1.graph_focim) .ad-page .ad-lbl { font-size: 12px; color: var(--rd-muted); line-height: 1.3; }
html body .content:has(> h1.graph_focim) .ad-page .ad-num { font-size: 20px; font-weight: 700; color: var(--rd-text); line-height: 1.3; margin-top: 4px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page .ad-num .ad-of { font-size: 14px; font-weight: 400; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .ad-sub { font-size: 12px; color: var(--rd-muted); line-height: 1.4; margin-top: 2px; overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .ad-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rd-muted); align-self: center; flex: none; }
html body .content:has(> h1.graph_focim) .ad-page .ad-ok .ad-num { color: var(--rd-green-text); }
html body .content:has(> h1.graph_focim) .ad-page .ad-ok .ad-dot { background: var(--rd-green); }
html body .content:has(> h1.graph_focim) .ad-page .ad-bad { border-color: rgba(229, 86, 79, .45); }
html body .content:has(> h1.graph_focim) .ad-page .ad-bad .ad-num { color: var(--rd-red); }
html body .content:has(> h1.graph_focim) .ad-page .ad-bad .ad-dot { background: var(--rd-red); }
html body .content:has(> h1.graph_focim) .ad-page .ad-bad .ad-sub { color: #e8918c; }
html body .content:has(> h1.graph_focim) .ad-page .ad-flash { background: rgba(111, 196, 1, .12); border: 1px solid rgba(111, 196, 1, .35); color: var(--rd-green-text); border-radius: 10px; padding: 9px 14px; margin: 0 0 12px; font-size: 14px; }

/* teendok */
html body .content:has(> h1.graph_focim) .ad-page .ad-todo { margin: 0 0 12px; padding: 12px 16px 6px; }
html body .content:has(> h1.graph_focim) .ad-page .ad-card-title { font-size: 12px; color: var(--rd-muted); margin: 0 0 4px; }
html body .content:has(> h1.graph_focim) .ad-page .ad-todo .ad-muted { margin: 4px 0 8px; font-size: 14px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page a.ad-todo-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--rd-text); border-top: 1px solid var(--rd-line); text-decoration: none; font-size: 14px; line-height: 1.4; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-todo-item:first-of-type { border-top: 0; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-todo-item:hover, html body .content:has(> h1.graph_focim) .ad-page a.ad-todo-item:focus { color: var(--rd-text); text-decoration: none; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-todo-item:hover .ad-go { color: var(--rd-text); transform: translateX(2px); }
html body .content:has(> h1.graph_focim) .ad-page .ad-todo-txt { flex: 1; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .ad-todo-n { font-size: 14px; font-weight: 700; color: var(--rd-text); font-variant-numeric: tabular-nums; background: var(--rd-surface-2); border-radius: 999px; padding: 1px 10px; }
html body .content:has(> h1.graph_focim) .ad-page .ad-go { width: 14px; height: 14px; transition: transform .12s; }

/* allomaslista */
html body .content:has(> h1.graph_focim) .ad-page .ad-listcard { padding: 14px 0 0; overflow: hidden; }
html body .content:has(> h1.graph_focim) .ad-page .ad-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 0 16px 12px; }
html body .content:has(> h1.graph_focim) .ad-page #ad-search { flex: 1 1 240px; width: auto !important; min-width: 0; max-width: 340px; padding: 9px 12px; font-size: 14px !important; }
html body .content:has(> h1.graph_focim) .ad-page .ad-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 999 1 auto; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-chip { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rd-line-2); background: transparent; color: var(--rd-text-2); font-size: 13px; line-height: 1.2; cursor: pointer; font-weight: 400; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-chip em { font-style: normal; font-size: 12px; color: var(--rd-muted); font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-chip:hover { background: var(--rd-surface-2); color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page button.ad-chip.ad-on { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); font-weight: 700; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-chip.ad-on em { color: var(--rd-green-ink); opacity: .75; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-chip:focus-visible, html body .content:has(> h1.graph_focim) .ad-page button.ad-h:focus-visible, html body .content:has(> h1.graph_focim) .ad-page button.ad-pg:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 2px; }
html body .content:has(> h1.graph_focim) .ad-page .ad-count { padding: 0 16px 8px; font-size: 12px; color: var(--rd-muted); }

html body .content:has(> h1.graph_focim) .ad-page .ad-head, html body .content:has(> h1.graph_focim) .ad-page a.ad-row {
    display: grid; grid-template-columns: 28px minmax(0, 1fr) 130px 150px 90px 84px; align-items: center; column-gap: 14px; padding: 0 16px;
}
html body .content:has(> h1.graph_focim) .ad-page .ad-head { padding-top: 8px; padding-bottom: 8px; border-top: 1px solid var(--rd-line); border-bottom: 1px solid var(--rd-line); background: var(--rd-surface); }
html body .content:has(> h1.graph_focim) .ad-page .ad-h { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); background: none; border: 0; padding: 0; margin: 0; text-align: left; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-h { cursor: pointer; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-h:hover { color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page button.ad-h[data-dir=asc], html body .content:has(> h1.graph_focim) .ad-page button.ad-h[data-dir=desc] { color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page button.ad-h[data-dir=asc]:after { content: " \2191"; color: var(--rd-green-text); }
html body .content:has(> h1.graph_focim) .ad-page button.ad-h[data-dir=desc]:after { content: " \2193"; color: var(--rd-green-text); }
html body .content:has(> h1.graph_focim) .ad-page .ad-h-lis, html body .content:has(> h1.graph_focim) .ad-page .ad-lis, html body .content:has(> h1.graph_focim) .ad-page .ad-h-ch, html body .content:has(> h1.graph_focim) .ad-page .ad-ch { text-align: right; justify-self: end; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-row { padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid var(--rd-line); color: var(--rd-text); text-decoration: none; font-size: 14px; line-height: 1.35; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-row:hover, html body .content:has(> h1.graph_focim) .ad-page a.ad-row:focus { background: var(--rd-surface-2); color: var(--rd-text); text-decoration: none; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-row:focus-visible { outline: 2px solid var(--rd-green); outline-offset: -2px; }
html body .content:has(> h1.graph_focim) .ad-page .ad-logo { width: 28px; height: 28px; border-radius: 7px; background: var(--rd-surface-2); overflow: hidden; display: block; }
html body .content:has(> h1.graph_focim) .ad-page .ad-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body .content:has(> h1.graph_focim) .ad-page .ad-name { min-width: 0; display: flex; flex-direction: column; }
html body .content:has(> h1.graph_focim) .ad-page .ad-name b { font-weight: 600; color: var(--rd-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content:has(> h1.graph_focim) .ad-page .ad-name small { font-size: 12px; color: var(--rd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content:has(> h1.graph_focim) .ad-page .ad-type { color: var(--rd-text-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content:has(> h1.graph_focim) .ad-page .ad-status { display: flex; flex-wrap: wrap; gap: 4px; }
html body .content:has(> h1.graph_focim) .ad-page i.ad-pill { font-style: normal; font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page i.ad-p-on { background: rgba(111, 196, 1, .14); color: var(--rd-green-text); }
html body .content:has(> h1.graph_focim) .ad-page i.ad-p-part { background: rgba(224, 168, 46, .15); color: #e0a82e; }
html body .content:has(> h1.graph_focim) .ad-page i.ad-p-off { background: rgba(229, 86, 79, .15); color: var(--rd-red); }
html body .content:has(> h1.graph_focim) .ad-page i.ad-p-hid { background: var(--rd-surface-2); color: var(--rd-muted); font-weight: 400; }
html body .content:has(> h1.graph_focim) .ad-page .ad-lis, html body .content:has(> h1.graph_focim) .ad-page .ad-ch { font-variant-numeric: tabular-nums; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page .ad-ch { color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .ad-empty { padding: 28px 16px; text-align: center; color: var(--rd-muted); font-size: 14px; }

/* lapozo */
html body .content:has(> h1.graph_focim) .ad-page .ad-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 16px; }
html body .content:has(> h1.graph_focim) .ad-page .ad-range { font-size: 13px; color: var(--rd-muted); font-variant-numeric: tabular-nums; margin-right: auto; }
html body .content:has(> h1.graph_focim) .ad-page .ad-pager { display: flex; align-items: center; gap: 4px; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-pg { min-width: 32px; height: 32px; margin: 0; padding: 0 8px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--rd-text-2); font-size: 13px; cursor: pointer; font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-pg:hover:not(:disabled) { background: var(--rd-surface-2); color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page button.ad-pg.ad-cur { background: var(--rd-green); color: var(--rd-green-ink); font-weight: 700; }
html body .content:has(> h1.graph_focim) .ad-page button.ad-pg:disabled { opacity: .35; cursor: default; }
html body .content:has(> h1.graph_focim) .ad-page .ad-pg-gap { color: var(--rd-muted); padding: 0 2px; }
html body .content:has(> h1.graph_focim) .ad-page .ad-size { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; font-weight: 400; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page #ad-size { display: inline-block !important; width: auto !important; padding: 6px 26px 6px 10px; font-size: 13px !important; }

/* mobil */
@media (max-width: 767px) {
    html body .content:has(> h1.graph_focim) .ad-page .ad-stats { grid-template-columns: 1fr; }
    html body .content:has(> h1.graph_focim) .ad-page .ad-head { grid-template-columns: 28px minmax(0, 1fr) 76px; column-gap: 10px; padding-left: 12px; padding-right: 12px; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-row { grid-template-columns: 28px minmax(0, 1fr) 76px; grid-template-areas: "logo name lis" "logo status lis"; column-gap: 10px; row-gap: 5px; padding-left: 12px; padding-right: 12px; align-items: center; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-row .ad-logo { grid-area: logo; align-self: start; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-row .ad-name { grid-area: name; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-row .ad-status { grid-area: status; justify-content: flex-start; }
html body .content:has(> h1.graph_focim) .ad-page a.ad-row .ad-lis { grid-area: lis; }
    html body .content:has(> h1.graph_focim) .ad-page .ad-h-type, html body .content:has(> h1.graph_focim) .ad-page .ad-type, html body .content:has(> h1.graph_focim) .ad-page .ad-h-ch, html body .content:has(> h1.graph_focim) .ad-page .ad-ch, html body .content:has(> h1.graph_focim) .ad-page .ad-h-status { display: none; }
    html body .content:has(> h1.graph_focim) .ad-page .ad-tools { padding-left: 12px; padding-right: 12px; }
    html body .content:has(> h1.graph_focim) .ad-page #ad-search { flex-basis: 100%; max-width: none; }
    html body .content:has(> h1.graph_focim) .ad-page .ad-count { padding-left: 12px; padding-right: 12px; }
    html body .content:has(> h1.graph_focim) .ad-page .ad-foot { padding: 12px; }
    html body .content:has(> h1.graph_focim) .ad-page .ad-range { flex: 1 1 100%; }
    html body .content:has(> h1.graph_focim) .ad-page button.ad-pg.ad-pg-far { display: none; }
    html body .content:has(> h1.graph_focim) .ad-page .ad-pg-gap { display: none; }
}

/* veszelyes muveletek (edit.cgi) */
html body .content:has(> h1.graph_focim) .ad-danger {
    margin-top: 32px; padding: 16px 18px; border: 1px solid rgba(229, 86, 79, .4); border-radius: 12px; background: rgba(229, 86, 79, .05);
}
html body .content:has(> h1.graph_focim) .ad-danger .ad-danger-title { font-size: 15px; font-weight: 700; color: var(--rd-red); margin: 0 0 6px; }
html body .content:has(> h1.graph_focim) .ad-danger p.ad-danger-text { font-size: 14px; color: var(--rd-text-2); margin: 0 0 12px; line-height: 1.5; }
html body .content:has(> h1.graph_focim) .ad-danger form.ad-danger-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
html body .content:has(> h1.graph_focim) .ad-danger .ad-danger-input { flex: 1 1 220px; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-danger button.ad-btn-danger {
    flex: none; margin: 0; padding: 10px 20px; background: var(--rd-red); color: var(--rd-strong); border: 0; border-radius: 8px; font-size: 14px; font-weight: 700; cursor: pointer;
}
html body .content:has(> h1.graph_focim) .ad-danger button.ad-btn-danger:disabled { background: var(--rd-line-2); color: var(--rd-dim); cursor: not-allowed; }
html body .content:has(> h1.graph_focim) .ad-danger button.ad-btn-danger:not(:disabled):hover { filter: brightness(1.1); }

/* ---------- az admin oldalak szelesebbek a nyilvanos oldalnal ---------- */
@media (min-width: 992px) {
    html body:has(.ad-menu) > header.container,
    html body:has(.ad-menu) > main.container { width: auto; max-width: 1680px; padding-left: 28px; padding-right: 28px; }
    html body:has(.ad-menu) > main.container > .row { display: flex; align-items: flex-start; gap: 24px; margin: 0; }
    html body:has(.ad-menu) #ajax_sidebar { flex: 0 0 230px; width: 230px; float: none; padding: 0; }
    html body:has(.ad-menu) #ajax_content { flex: 1 1 auto; min-width: 0; width: auto; float: none; padding: 0; }
}
/* ================= admin: allomas szerkesztese (edit.cgi) =================
   Az oldal gyokere .ae-page; az ae- osztalyok csak itt hasznaltak. A 60-admin.css utan toltodik be. */
html body .content .ae-page { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
html body .content .ae-page [hidden] { display: none !important; }
html body .content .ae-page svg.rd-ic { color: inherit; }
html body .content .ae-page a { color: var(--rd-green-text); }

/* fejlec */
html body .content .ae-page .ae-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; }
html body .content .ae-page .ae-logo { flex: none; width: 52px; height: 52px; border-radius: 10px; background: var(--rd-surface-2); overflow: hidden; display: block; }
html body .content .ae-page .ae-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body .content .ae-page .ae-who { flex: 1 1 220px; min-width: 0; }
html body .content .ae-page .ae-name { font-size: 20px; font-weight: 700; color: var(--rd-text); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .ae-page .ae-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; font-size: 13px; color: var(--rd-muted); line-height: 1.4; }
html body .content .ae-page .ae-head-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* gombok */
html body .content .ae-page .ae-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 8px 14px; border: 1px solid var(--rd-line-2); border-radius: 8px;
    background: transparent; color: var(--rd-text-2); font-size: 14px; font-weight: 400; line-height: 1.3; cursor: pointer; text-decoration: none; box-shadow: none; text-shadow: none;
    -webkit-appearance: none; appearance: none; font-family: inherit;
}
html body .content .ae-page .ae-btn:hover, html body .content .ae-page .ae-btn:focus { background: var(--rd-surface-2); color: var(--rd-text); text-decoration: none; }
html body .content .ae-page .ae-btn:focus-visible, html body .content .ae-page .ae-ib:focus-visible, html body .content .ae-page .ae-nav a:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 2px; }
html body .content .ae-page .ae-btn[disabled] { opacity: .5; cursor: default; }
html body .content .ae-page .ae-btn-danger { border-color: rgba(229, 86, 79, .5); color: var(--rd-red); }
html body .content .ae-page .ae-btn-danger:hover, html body .content .ae-page .ae-btn-danger:focus { background: rgba(229, 86, 79, .12); color: var(--rd-red); }

/* szekcio-navigacio */
html body .content .ae-page .ae-nav { display: flex; flex-wrap: wrap; gap: 6px; }
html body .content .ae-page .ae-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--rd-line-2); color: var(--rd-text-2); font-size: 13px; line-height: 1.2; text-decoration: none; }
html body .content .ae-page .ae-nav a:hover { background: var(--rd-surface-2); color: var(--rd-text); text-decoration: none; }
html body .content .ae-page .ae-nav a em { font-style: normal; font-size: 12px; color: var(--rd-muted); font-variant-numeric: tabular-nums; }
html body .content .ae-page .ae-nav a.ae-nav-danger { color: #e8918c; border-color: rgba(229, 86, 79, .3); }

/* kartyak */
html body .content .ae-page .ae-card { background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; padding: 16px 18px 18px; box-sizing: border-box; min-width: 0; scroll-margin-top: 14px; }
html body .content .ae-page .ae-card-h h2 {
    display: block; margin: 0 0 14px; padding: 0; border: 0; background: none; color: var(--rd-text); font-size: 16px; font-weight: 700; line-height: 1.3;
}
html body .content .ae-page .ae-count { font-weight: 400; color: var(--rd-muted); font-variant-numeric: tabular-nums; }

/* ertesitesek */
html body .content .ae-page .ae-notice { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; border: 1px solid transparent; font-size: 14px; line-height: 1.5; }
html body .content .ae-page .ae-notice > svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
html body .content .ae-page .ae-notice > span:not(.ae-notice-act) { flex: 1 1 200px; min-width: 0; }
html body .content .ae-page .ae-notice.ae-ok { background: rgba(111, 196, 1, .12); border-color: rgba(111, 196, 1, .35); color: var(--rd-green-text); }
html body .content .ae-page .ae-notice.ae-err { background: rgba(229, 86, 79, .1); border-color: rgba(229, 86, 79, .4); color: #f0a29d; }
html body .content .ae-page .ae-notice.ae-err > svg { color: var(--rd-red); }
html body .content .ae-page .ae-notice.ae-warn { background: rgba(224, 168, 46, .12); border-color: rgba(224, 168, 46, .4); color: #e8c068; }
html body .content .ae-page .ae-notice.ae-err a { color: inherit; text-decoration: underline; }
html body .content .ae-page .ae-notice b { color: inherit; }
html body .content .ae-page .ae-notice ul.ae-ul { margin: 6px 0; padding-left: 18px; }
html body .content .ae-page .ae-notice-act { display: flex; gap: 8px; margin-left: auto; }
html body .content .ae-page .ae-notice-act .ae-btn { padding: 6px 12px; }

/* urlapok */
html body .content .ae-page .ae-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
@media (min-width: 1280px) { html body .content .ae-page .ae-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html body .content .ae-page .ae-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html body .content .ae-page .ae-f.ae-w2 { grid-column: span 2; }
html body .content .ae-page .ae-f label { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); line-height: 1.3; }
html body .content .ae-page .ae-hint { font-size: 12px; color: var(--rd-muted); line-height: 1.4; }
html body .content .ae-page .ae-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
html body .content .ae-page .ae-actions button[type=submit] { margin: 0; }
html body .content .ae-page .ae-testout:empty { display: none; }
html body .content .ae-page .ae-testout { margin-top: 12px; }
html body .content .ae-page .ae-testout .ae-notice { margin: 0; }
html body .content .ae-page .ae-details { margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--rd-line); }
html body .content .ae-page .ae-details > summary { cursor: pointer; padding: 10px 0; font-size: 14px; color: var(--rd-text-2); list-style: none; display: flex; align-items: center; gap: 8px; }
html body .content .ae-page .ae-details > summary::-webkit-details-marker { display: none; }
html body .content .ae-page .ae-details > summary:before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--rd-muted); border-bottom: 2px solid var(--rd-muted); transform: rotate(-45deg); transition: transform .12s; }
html body .content .ae-page .ae-details[open] > summary:before { transform: rotate(45deg); }
html body .content .ae-page .ae-details > summary:hover { color: var(--rd-text); }
html body .content .ae-page .ae-details > summary:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 2px; border-radius: 4px; }

/* streamek listaja */
html body .content .ae-page .ae-empty { padding: 22px 6px; color: var(--rd-muted); font-size: 14px; }
html body .content .ae-page .ae-list { background: var(--rd-bg); border: 1px solid var(--rd-line); border-radius: 10px; overflow: hidden; }
html body .content .ae-page .ae-lhead, html body .content .ae-page .ae-row {
    display: grid; grid-template-columns: 64px 108px minmax(0, 1fr) 200px auto; align-items: center; column-gap: 14px; padding: 0 14px;
}
html body .content .ae-page .ae-lhead { padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--rd-line); background: var(--rd-surface); font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); }
html body .content .ae-page .ae-h-act { text-align: right; min-width: 216px; }
html body .content .ae-page .ae-row { position: relative; padding-top: 9px; padding-bottom: 9px; border-bottom: 1px solid var(--rd-line); font-size: 14px; line-height: 1.4; color: var(--rd-text); }
html body .content .ae-page .ae-body > .ae-row:last-child { border-bottom: 0; }
html body .content .ae-page .ae-row:hover { background: var(--rd-surface-2); }
html body .content .ae-page .ae-row.ae-sel { background: var(--rd-surface-2); box-shadow: inset 3px 0 0 var(--rd-green); }
html body .content .ae-page .ae-row.ae-drag { opacity: .45; }
html body .content .ae-page .ae-row.ae-over-top { box-shadow: inset 0 3px 0 var(--rd-green); }
html body .content .ae-page .ae-row.ae-over-bottom { box-shadow: inset 0 -3px 0 var(--rd-green); }
html body .content .ae-page .ae-ord { display: flex; align-items: center; gap: 6px; min-width: 0; }
html body .content .ae-page .ae-grip { display: inline-flex; color: var(--rd-muted); cursor: grab; touch-action: none; }
html body .content .ae-page .ae-grip svg { width: 16px; height: 16px; }
html body .content .ae-page .ae-n { font-weight: 700; color: var(--rd-text); font-variant-numeric: tabular-nums; min-width: 22px; }
html body .content .ae-page .ae-type { font-size: 13px; color: var(--rd-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .ae-page .ae-addr { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .content .ae-page .ae-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; font-size: 13px; color: var(--rd-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }
html body .content .ae-page .ae-links { font-size: 12px; color: var(--rd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .ae-page .ae-links a { color: var(--rd-muted); text-decoration: none; }
html body .content .ae-page .ae-links a:hover { color: var(--rd-green-text); text-decoration: underline; }
html body .content .ae-page .ae-st { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
html body .content .ae-page .ae-st small { font-size: 12px; color: var(--rd-muted); line-height: 1.3; }
html body .content .ae-page i.ae-pill { font-style: normal; font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
html body .content .ae-page i.ae-p-on { background: rgba(111, 196, 1, .14); color: var(--rd-green-text); }
html body .content .ae-page i.ae-p-part { background: rgba(224, 168, 46, .15); color: #e0a82e; }
html body .content .ae-page i.ae-p-off { background: rgba(229, 86, 79, .15); color: var(--rd-red); }
html body .content .ae-page i.ae-p-new { background: var(--rd-surface-2); color: var(--rd-muted); font-weight: 400; }
html body .content .ae-page .ae-act { display: flex; justify-content: flex-end; gap: 6px; }
html body .content .ae-page a.ae-ib {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--rd-line-2); border-radius: 8px; background: transparent;
    color: var(--rd-text-2); text-decoration: none; flex: none;
}
html body .content .ae-page a.ae-ib:hover, html body .content .ae-page a.ae-ib:focus { background: var(--rd-surface-2); color: var(--rd-text); text-decoration: none; }
html body .content .ae-page a.ae-ib.ae-ib-del { color: var(--rd-red); }
html body .content .ae-page a.ae-ib.ae-ib-del:hover { background: rgba(229, 86, 79, .12); color: var(--rd-red); }
html body .content .ae-page a.ae-ib.ae-dis { opacity: .3; pointer-events: none; }
html body .content .ae-page .ae-live:empty { display: none; }
html body .content .ae-page .ae-live { margin: 0 0 14px; }
html body .content .ae-page .ae-live .ae-notice { margin: 0; }

/* veszelyes muveletek: a kartyak koze illesztve */
html body .content:has(> h1.graph_focim) .ae-page .ad-danger { margin-top: 8px; }

/* tablet / keskeny: a muveletek a sor alatt, kulon sorban */
@media (max-width: 1099px) {
    html body .content .ae-page .ae-lhead { display: none; }
    html body .content .ae-page .ae-row {
        grid-template-columns: 52px 96px minmax(0, 1fr) auto; grid-template-areas: "ord type addr st" ". act act act"; row-gap: 8px; column-gap: 12px; padding-top: 12px; padding-bottom: 12px;
    }
    html body .content .ae-page .ae-ord { grid-area: ord; }
    html body .content .ae-page .ae-type { grid-area: type; }
    html body .content .ae-page .ae-addr { grid-area: addr; }
    html body .content .ae-page .ae-st { grid-area: st; align-items: flex-end; text-align: right; }
    html body .content .ae-page .ae-act { grid-area: act; justify-content: flex-start; }
}

/* mobil: a sorok egymas alatti kartyak */
@media (max-width: 767px) {
    html body .content .ae-page .ae-head { padding: 12px; }
    html body .content .ae-page .ae-head-links { flex: 1 1 100%; }
    html body .content .ae-page .ae-head-links .ae-btn { flex: 1 1 auto; }
    html body .content .ae-page .ae-card { padding: 14px 12px 16px; }
    html body .content .ae-page .ae-grid { grid-template-columns: minmax(0, 1fr); }
    html body .content .ae-page .ae-f.ae-w2 { grid-column: auto; }
    html body .content .ae-page .ae-lhead { display: none; }
    html body .content .ae-page .ae-row {
        grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ord type st" "addr addr addr" "act act act"; row-gap: 8px; column-gap: 10px; padding: 12px;
    }
    html body .content .ae-page .ae-ord { grid-area: ord; }
    html body .content .ae-page .ae-type { grid-area: type; }
    html body .content .ae-page .ae-addr { grid-area: addr; }
    html body .content .ae-page .ae-st { grid-area: st; align-items: flex-end; text-align: right; }

    html body .content .ae-page .ae-act { grid-area: act; justify-content: flex-start; flex-wrap: wrap; }
    html body .content .ae-page a.ae-ib { width: 40px; height: 40px; }
    html body .content .ae-page .ae-grip { display: none; }
    html body .content .ae-page .ae-actions .ae-btn, html body .content .ae-page .ae-actions button[type=submit] { flex: 1 1 auto; }
    html body .content .ae-page .ae-notice-act { margin-left: 0; width: 100%; }
    html body .content .ae-page .ae-actions button[type=submit] { width: 100% !important; }
}

/* ================= tipusvalaszto, uj csatornatipusok, "mindig online" kapcsolo ================= */
html body .content .ae-page .ae-note { margin: 0 0 12px; font-size: 13px; color: var(--rd-muted); line-height: 1.5; }
html body .content .ae-page .ae-note b { color: var(--rd-text-2); }
html body .content .ae-page .ae-type b { display: block; font-weight: 600; font-size: 13px; color: var(--rd-text); }
html body .content .ae-page .ae-type small { display: block; font-size: 12px; color: var(--rd-muted); }
html body .content .ae-page .ae-title { display: block; font-size: 14px; font-weight: 600; color: var(--rd-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .ae-page .ae-f.ae-wfull { grid-column: 1 / -1; }

html body .content .ae-page .ae-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
html body .content .ae-page .ae-kr { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
html body .content .ae-page label.ae-kl {
    margin: 0; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rd-line-2); color: var(--rd-text-2); font-size: 14px; font-weight: 400; line-height: 1.2; cursor: pointer;
}
html body .content .ae-page label.ae-kl:hover { background: var(--rd-surface-2); color: var(--rd-text); }
html body .content .ae-page .ae-kr:checked + label.ae-kl { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); font-weight: 700; }
html body .content .ae-page .ae-kr:focus-visible + label.ae-kl { outline: 2px solid var(--rd-text); outline-offset: 2px; }
html body .content .ae-page .ae-kpanel { display: none; flex: 1 1 100%; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--rd-line); min-width: 0; }
html body .content .ae-page .ae-kpanel.ae-kshow { display: block; margin-top: 0; padding-top: 0; border-top: 0; }
html body .content .ae-page #kind-audio:checked ~ #panel-audio,
html body .content .ae-page #kind-embed:checked ~ #panel-embed,
html body .content .ae-page #kind-yt:checked ~ #panel-yt,
html body .content .ae-page #kind-tw:checked ~ #panel-tw,
html body .content .ae-page #kind-hls:checked ~ #panel-hls { display: block; }

html body .content .ae-page .ae-f label.ae-check {
    display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--rd-text); cursor: pointer;
}
html body .content .ae-page .ae-f label.ae-check input[type=checkbox] { width: 18px; height: 18px; margin: 0; accent-color: var(--rd-green); flex: none; }

html body .content .ae-page form.ae-sw-form { margin: 2px 0 0; }
html body .content .ae-page button.ae-sw[type=submit] {
    display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 2px 0; background: none; border: 0; border-radius: 6px; box-shadow: none; width: auto !important;
    color: var(--rd-muted); font-size: 12px; font-weight: 400; line-height: 1.2; cursor: pointer; text-align: left;
}
html body .content .ae-page button.ae-sw[type=submit]:hover { color: var(--rd-text); filter: none; }
html body .content .ae-page button.ae-sw[type=submit]:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 2px; }
html body .content .ae-page .ae-sw-track { position: relative; flex: none; width: 30px; height: 16px; border-radius: 999px; background: var(--rd-line-2); transition: background .12s; }
html body .content .ae-page .ae-sw-dot { position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--rd-text-2); transition: transform .12s, background .12s; }
html body .content .ae-page button.ae-sw[aria-checked=true] { color: var(--rd-text); }
html body .content .ae-page button.ae-sw[aria-checked=true] .ae-sw-track { background: var(--rd-green); }
html body .content .ae-page button.ae-sw[aria-checked=true] .ae-sw-dot { transform: translateX(14px); background: var(--rd-green-ink); }
html body .content .ae-page button.ae-sw[disabled] { opacity: .5; cursor: default; }

/* checkbox kapcsolokent (extra kiemeles) */
html body .content .ae-page .ae-f label.ae-check input.ae-tgl[type=checkbox] {
    -webkit-appearance: none; appearance: none; position: relative; width: 34px; height: 18px; border-radius: 999px; background: var(--rd-line-2); cursor: pointer; transition: background .12s; flex: none; margin: 0;
}
html body .content .ae-page .ae-f label.ae-check input.ae-tgl[type=checkbox]:after {
    content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--rd-text-2); transition: transform .12s, background .12s;
}
html body .content .ae-page .ae-f label.ae-check input.ae-tgl[type=checkbox]:checked { background: var(--rd-green); }
html body .content .ae-page .ae-f label.ae-check input.ae-tgl[type=checkbox]:checked:after { transform: translateX(16px); background: var(--rd-green-ink); }
html body .content .ae-page .ae-f label.ae-check input.ae-tgl[type=checkbox]:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 2px; }

/* ismerteto szerkeszto */
html body .content .ae-page textarea.ae-ta { height: 300px; min-height: 160px; line-height: 1.55; resize: vertical; }
html body .content .ae-page .ae-count { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 6px 16px; }
html body .content .ae-page .ae-count .ae-hint { flex: 1 1 380px; }
html body .content .ae-page .ae-chars { flex: none; font-size: 12px; color: var(--rd-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
html body .content .ae-page .ae-chars.ae-over { color: var(--rd-red); font-weight: 700; }
html body .content .ae-page form.ae-notice { margin: 0 0 14px; }
html body .content .ae-page form.ae-notice button.ae-btn { padding: 6px 12px; }

/* halado beallitasok: szakaszcimek a kartyan belul */
html body .content .ae-page h3.ae-sub {
    background: none; border: 0; border-top: 1px solid var(--rd-line); box-shadow: none; text-shadow: none; height: auto;
    margin: 18px 0 12px; padding: 16px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rd-muted);
}
html body .content .ae-page .ae-note + form > h3.ae-sub:first-of-type { border-top: 0; padding-top: 0; margin-top: 6px; }
/* ================= admin: aktivalasra varok (mainreg.cgi) es naplo-oldalak (logmain / logreg / logmsm) =================
   A 60-admin.css kartya-, pill-, kereso-, chip- es lapozo-stilusait hasznalja ujra (ad- osztalyok). */

/* ---- visszajelzes, osszegzes ---- */
html body .content:has(> h1.graph_focim) .ad-page .ad-flash.rg-err { background: rgba(229, 86, 79, .12); border-color: rgba(229, 86, 79, .45); color: #f08b86; }
html body .content:has(> h1.graph_focim) .ad-page .rg-sum { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 14px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .rg-sum b { color: var(--rd-text); font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page .rg-sum .rd-ic { color: var(--rd-muted); }

/* ---- gombok ---- */
html body .content:has(> h1.graph_focim) .ad-page .rg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: auto !important; margin: 0; padding: 10px 18px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: none; text-shadow: none; -webkit-appearance: none; appearance: none; }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn .rd-ic { width: 15px; height: 15px; color: currentColor; }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 2px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-ok { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-ok:hover { filter: brightness(1.08); }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-del { background: transparent; border-color: rgba(229, 86, 79, .6); color: var(--rd-red); }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-del:hover, html body .content:has(> h1.graph_focim) .ad-page .rg-btn-del[aria-expanded=true] { background: rgba(229, 86, 79, .12); color: var(--rd-red); }
html body .content:has(> h1.graph_focim) .ad-page a.rg-btn-go { background: var(--rd-red); border-color: var(--rd-red); color: var(--rd-strong); }
html body .content:has(> h1.graph_focim) .ad-page a.rg-btn-go:hover, html body .content:has(> h1.graph_focim) .ad-page a.rg-btn-go:focus { background: var(--rd-red); color: var(--rd-strong); filter: brightness(1.1); text-decoration: none; }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-cancel { background: transparent; border-color: var(--rd-line-2); color: var(--rd-text-2); font-weight: 400; }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-cancel:hover { background: var(--rd-surface-2); color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-sm { padding: 7px 12px; font-size: 13px; }

/* ---- megerosito sav (elutasitas / torles elott) ---- */
html body .content:has(> h1.graph_focim) .ad-page .rg-confirm { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border: 1px solid rgba(229, 86, 79, .4); border-radius: 10px; background: rgba(229, 86, 79, .07); color: #e9cfcd; font-size: 14px; line-height: 1.45; }
html body .content:has(> h1.graph_focim) .ad-page .rg-confirm-txt { flex: 1 1 260px; min-width: 0; overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .rg-confirm-txt b { color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page .rg-confirm-btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- aktivalasra varo kartyak ---- */
html body .content:has(> h1.graph_focim) .ad-page .rg-list { display: flex; flex-direction: column; gap: 12px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-card { padding: 16px 18px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-title { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-title b { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--rd-text); overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .rg-title small { font-size: 13px; line-height: 1.4; color: var(--rd-muted); overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .rg-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: none; }
html body .content:has(> h1.graph_focim) .ad-page .rg-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 24px; margin: 14px 0 0; }
html body .content:has(> h1.graph_focim) .ad-page .rg-meta > div { min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .rg-meta .rg-wide { grid-column: 1 / -1; }
html body .content:has(> h1.graph_focim) .ad-page .rg-meta dt { margin: 0 0 3px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .rg-meta dd { margin: 0; font-size: 14px; line-height: 1.4; color: var(--rd-text-2); overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .rg-meta dd a { color: var(--rd-text-2); text-decoration: underline; text-decoration-color: var(--rd-line-3); text-underline-offset: 3px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-meta dd a:hover { color: var(--rd-green-text); text-decoration-color: var(--rd-green); }
html body .content:has(> h1.graph_focim) .ad-page .rg-none { color: var(--rd-dim); }
html body .content:has(> h1.graph_focim) .ad-page .rg-streams { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-streams li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-host, html body .content:has(> h1.graph_focim) .ad-page .rg-mount { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .rg-host { color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page .rg-mount { color: var(--rd-muted); }

html body .content:has(> h1.graph_focim) .ad-page .rg-actions { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--rd-line); }
html body .content:has(> h1.graph_focim) .ad-page .rg-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin: 0; }
html body .content:has(> h1.graph_focim) .ad-page .rg-fld { display: flex; flex-direction: column; gap: 4px; margin: 0; font-weight: 400; }
html body .content:has(> h1.graph_focim) .ad-page .rg-fld > span { font-size: 12px; color: var(--rd-muted); line-height: 1.2; }
html body .content:has(> h1.graph_focim) .ad-page .rg-fld select { display: block; width: auto !important; min-width: 168px; padding: 9px 12px; font-size: 14px !important; }
html body .content:has(> h1.graph_focim) .ad-page .rg-fld-s select { min-width: 84px; }
/* bekuldott radio: nev es honlap mezo az aktivalas elott */
html body .content:has(> h1.graph_focim) .ad-page .rg-fld-t { flex: 1 1 220px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-fld-t input {
    display: block; width: 100% !important; height: auto; padding: 9px 12px; font-size: 14px !important; background: var(--rd-inset); color: var(--rd-text);
    border: 1px solid var(--rd-line-2); border-radius: 8px; box-shadow: none;
}
html body .content:has(> h1.graph_focim) .ad-page .rg-fld-t input:focus { border-color: var(--rd-green); outline: none; }
html body .content:has(> h1.graph_focim) .ad-page .rg-actions > .rg-btn-del { margin-left: auto; }
html body .content:has(> h1.graph_focim) .ad-page .rg-emptycard { padding: 30px 16px; text-align: center; }
html body .content:has(> h1.graph_focim) .ad-page .rg-empty { margin: 0; font-size: 14px; color: var(--rd-muted); }

/* ---- felbehagyott regisztraciok (halkabb csoport) ---- */
html body .content:has(> h1.graph_focim) .ad-page .rg-group { margin-top: 34px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-group-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 10px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-group-title { font-size: 15px; font-weight: 700; color: var(--rd-text-2); }
html body .content:has(> h1.graph_focim) .ad-page .rg-count { display: inline-block; margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: var(--rd-surface-2); color: var(--rd-muted); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page .rg-group-sub { margin-top: 2px; font-size: 13px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .rg-group > .rg-confirm { margin-bottom: 10px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-minilist { padding: 0; background: transparent; overflow: hidden; }
html body .content:has(> h1.graph_focim) .ad-page .rg-mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; padding: 10px 16px; border-top: 1px solid var(--rd-line); }
html body .content:has(> h1.graph_focim) .ad-page .rg-mini:first-child { border-top: 0; }
html body .content:has(> h1.graph_focim) .ad-page .rg-mini > .rg-confirm { grid-column: 1 / -1; }
html body .content:has(> h1.graph_focim) .ad-page .rg-mini-main { min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .rg-mini-t { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 14px; }
html body .content:has(> h1.graph_focim) .ad-page .rg-mini-t b { font-weight: 600; color: var(--rd-text-2); overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .rg-mini-s { margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--rd-muted); overflow-wrap: anywhere; }

/* ---- naplo oldalak ---- */
html body .content:has(> h1.graph_focim) .ad-page #lg-search { flex: 1 1 240px; width: auto !important; min-width: 0; max-width: 340px; padding: 9px 12px; font-size: 14px !important; }
html body .content:has(> h1.graph_focim) .ad-page .lg-note { margin: 0 0 12px; font-size: 13px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .lg-head, html body .content:has(> h1.graph_focim) .ad-page .lg-row { display: grid; grid-template-columns: 150px 130px 84px minmax(0, 1.7fr) minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 0 16px; }
html body .content:has(> h1.graph_focim) .ad-page .lg-head { padding-top: 8px; padding-bottom: 8px; border-top: 1px solid var(--rd-line); border-bottom: 1px solid var(--rd-line); background: var(--rd-surface); }
html body .content:has(> h1.graph_focim) .ad-page .lg-row { padding-top: 7px; padding-bottom: 7px; border-bottom: 1px solid var(--rd-line); font-size: 13px; line-height: 1.4; color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page .lg-row:hover { background: var(--rd-surface-2); }
html body .content:has(> h1.graph_focim) .ad-page .lg-time, html body .content:has(> h1.graph_focim) .ad-page .lg-ip { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page .lg-time { color: var(--rd-muted); font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page .lg-ip { color: var(--rd-text-2); overflow: hidden; text-overflow: ellipsis; }
html body .content:has(> h1.graph_focim) .ad-page .lg-act { min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .lg-det, html body .content:has(> h1.graph_focim) .ad-page .lg-ua { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page .lg-ua { font-size: 12px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .lg-usr { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 6px; background: var(--rd-surface-2); color: var(--rd-muted); font-size: 11px; line-height: 1.5; }
html body .content:has(> h1.graph_focim) .ad-page .lg-raw .lg-det { grid-column: 1 / -1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; color: var(--rd-text-2); }

/* ---- mobil ---- */
@media (max-width: 767px) {
    html body .content:has(> h1.graph_focim) .ad-page .rg-card { padding: 14px; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-head { flex-direction: column; gap: 8px; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-tags { justify-content: flex-start; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-meta { grid-template-columns: 1fr; gap: 10px; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-form { flex: 1 1 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-fld { flex: 1 1 140px; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-fld select { width: 100% !important; min-width: 0; font-size: 16px !important; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-form > .rg-btn-ok { flex: 1 1 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-actions > .rg-btn-del { flex: 1 1 100%; margin-left: 0; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-confirm-btns { width: 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-confirm-btns .rg-btn { flex: 1 1 0; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-mini { padding: 10px 12px; }
    html body .content:has(> h1.graph_focim) .ad-page .rg-group-head > .rg-btn { flex: 1 1 100%; }

    html body .content:has(> h1.graph_focim) .ad-page #lg-search { flex-basis: 100%; max-width: none; font-size: 16px !important; }
    html body .content:has(> h1.graph_focim) .ad-page .lg-head { display: none; }
    html body .content:has(> h1.graph_focim) .ad-page .lg-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "time act" "ip ip" "det det" "ua ua"; row-gap: 3px; padding: 10px 12px; }
    html body .content:has(> h1.graph_focim) .ad-page .lg-time { grid-area: time; }
    html body .content:has(> h1.graph_focim) .ad-page .lg-act { grid-area: act; justify-self: end; }
    html body .content:has(> h1.graph_focim) .ad-page .lg-ip { grid-area: ip; }
    html body .content:has(> h1.graph_focim) .ad-page .lg-det { grid-area: det; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow-wrap: anywhere; word-break: break-word; }
    html body .content:has(> h1.graph_focim) .ad-page .lg-ua { grid-area: ua; }
    html body .content:has(> h1.graph_focim) .ad-page .lg-raw .lg-det { grid-area: auto; grid-column: 1 / -1; }
}
/* ================= admin: felhasznaloi fiokok (users.cgi) =================
   A 60-admin.css kartya-, pill-, kereso-, chip- es lapozo-stilusait, a 64-admin-reg-logs.css gomb- es
   megerosito-sav stilusait hasznalja ujra (ad- / rg- osztalyok); itt csak a fulek es a sorok elrendezese van. */

/* ---- fulek ---- */
html body .content:has(> h1.graph_focim) .ad-page .us-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 12px; border-bottom: 1px solid var(--rd-line); }
html body .content:has(> h1.graph_focim) .ad-page a.us-tab { display: inline-flex; align-items: center; gap: 8px; margin-bottom: -1px; padding: 10px 16px; border-bottom: 2px solid transparent; color: var(--rd-muted); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; }
html body .content:has(> h1.graph_focim) .ad-page a.us-tab:hover, html body .content:has(> h1.graph_focim) .ad-page a.us-tab:focus { color: var(--rd-text); text-decoration: none; }
html body .content:has(> h1.graph_focim) .ad-page a.us-tab:focus-visible { outline: 2px solid var(--rd-text); outline-offset: -2px; border-radius: 6px; }
html body .content:has(> h1.graph_focim) .ad-page a.us-tab.us-on { color: var(--rd-text); border-bottom-color: var(--rd-green); }
html body .content:has(> h1.graph_focim) .ad-page a.us-tab em { font-style: normal; padding: 1px 9px; border-radius: 999px; background: var(--rd-surface-2); color: var(--rd-muted); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page a.us-tab.us-on em { background: rgba(111, 196, 1, .16); color: var(--rd-green-text); font-weight: 700; }
html body .content:has(> h1.graph_focim) .ad-page .us-note { margin: 0 0 12px; font-size: 13px; line-height: 1.5; color: var(--rd-muted); }

/* ---- kereso (a 60-admin.css csak az #ad-search-ot stilusozza) ---- */
html body .content:has(> h1.graph_focim) .ad-page #us-search { flex: 1 1 240px; width: auto !important; min-width: 0; max-width: 340px; padding: 9px 12px; font-size: 14px !important; }

/* ---- fejlec es sorok ---- */
html body .content:has(> h1.graph_focim) .ad-page .us-table { min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .us-head,
html body .content:has(> h1.graph_focim) .ad-page .us-row { display: grid; align-items: center; column-gap: 14px; padding: 0 16px; }
html body .content:has(> h1.graph_focim) .ad-page .us-head-l,
html body .content:has(> h1.graph_focim) .ad-page .us-row-l { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) 84px 138px 78px 96px; }
html body .content:has(> h1.graph_focim) .ad-page .us-head-o,
html body .content:has(> h1.graph_focim) .ad-page .us-row-o { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1.3fr) 78px minmax(0, .9fr); }
html body .content:has(> h1.graph_focim) .ad-page .us-head { padding-top: 8px; padding-bottom: 8px; }
html body .content:has(> h1.graph_focim) .ad-page .us-row { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rd-line); font-size: 14px; line-height: 1.4; color: var(--rd-text); row-gap: 8px; }
html body .content:has(> h1.graph_focim) .ad-page .us-row:hover { background: var(--rd-surface-2); }
html body .content:has(> h1.graph_focim) .ad-page .us-r { text-align: right; justify-self: end; font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page .us-main { min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .us-main b { display: block; font-weight: 600; color: var(--rd-text); overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .us-cell { min-width: 0; color: var(--rd-text-2); font-size: 13px; overflow-wrap: anywhere; }
html body .content:has(> h1.graph_focim) .ad-page .us-cell a { color: var(--rd-text-2); text-decoration: underline; text-decoration-color: var(--rd-line-3); text-underline-offset: 3px; }
html body .content:has(> h1.graph_focim) .ad-page .us-cell a:hover { color: var(--rd-green-text); text-decoration-color: var(--rd-green); }
html body .content:has(> h1.graph_focim) .ad-page .us-when { white-space: nowrap; color: var(--rd-muted); font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page .us-status,
html body .content:has(> h1.graph_focim) .ad-page .us-notes,
html body .content:has(> h1.graph_focim) .ad-page .us-station { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .us-station a.us-st { text-decoration: none; }
html body .content:has(> h1.graph_focim) .ad-page .us-station a.us-st b { font-weight: 600; color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page .us-station a.us-st:hover b { color: var(--rd-green-text); }
html body .content:has(> h1.graph_focim) .ad-page .us-station b.us-st { font-weight: 600; color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page .us-act { display: flex; justify-content: flex-end; }
html body .content:has(> h1.graph_focim) .ad-page .us-act-o { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
html body .content:has(> h1.graph_focim) .ad-page .us-row > .rg-confirm { grid-column: 1 / -1; }
html body .content:has(> h1.graph_focim) .ad-page .us-form { margin: 0; }
html body .content:has(> h1.graph_focim) .ad-page .us-body .us-row:last-child { border-bottom: 0; }

/* ---- gombok (a 64-es fajl a rg-btn-go-t csak <a>-ra, a semleges gombot sehogy nem definialja) ---- */
html body .content:has(> h1.graph_focim) .ad-page button.rg-btn-go { background: var(--rd-red); border-color: var(--rd-red); color: var(--rd-strong); }
html body .content:has(> h1.graph_focim) .ad-page button.rg-btn-go:hover { filter: brightness(1.1); }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-neutral { background: transparent; border-color: var(--rd-line-2); color: var(--rd-text-2); font-weight: 600; }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-neutral:hover:not(:disabled), html body .content:has(> h1.graph_focim) .ad-page .rg-btn-neutral[aria-expanded=true] { background: var(--rd-surface-2); color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---- mobil ---- */
@media (max-width: 767px) {
    html body .content:has(> h1.graph_focim) .ad-page .us-head { display: none; }
    html body .content:has(> h1.graph_focim) .ad-page .us-row,
    html body .content:has(> h1.graph_focim) .ad-page .us-row-l,
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; row-gap: 8px; padding: 12px; }
    html body .content:has(> h1.graph_focim) .ad-page .us-main,
    html body .content:has(> h1.graph_focim) .ad-page .us-status,
    html body .content:has(> h1.graph_focim) .ad-page .us-act,
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o .us-station,
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o .us-mail,
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o .us-notes { grid-column: 1 / -1; }
    html body .content:has(> h1.graph_focim) .ad-page .us-cell[data-label]:before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); }
    html body .content:has(> h1.graph_focim) .ad-page .us-station[data-label]:before,
    html body .content:has(> h1.graph_focim) .ad-page .us-notes[data-label]:before { flex: 0 0 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .us-r { text-align: left; justify-self: start; }
    html body .content:has(> h1.graph_focim) .ad-page .us-act,
    html body .content:has(> h1.graph_focim) .ad-page .us-act-o { justify-content: stretch; }
    html body .content:has(> h1.graph_focim) .ad-page .us-act .rg-btn { flex: 1 1 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o .us-act-o { flex-direction: column; }
    html body .content:has(> h1.graph_focim) .ad-page #us-search { flex-basis: 100%; max-width: none; font-size: 16px !important; }
    html body .content:has(> h1.graph_focim) .ad-page a.us-tab { padding: 10px 12px; font-size: 14px; }
    html body .content:has(> h1.graph_focim) .ad-page .us-form { width: 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .us-form .rg-btn { flex: 1 1 0; }
}

/* ================= admin: Kiemelesek oldal ================= */
html body .content .ft-page { max-width: 1180px; }
html body .content .ft-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; }
html body .content .ft-box { background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; padding: 14px 16px; }
html body .content .ft-box b { display: block; font-size: 26px; font-weight: 700; color: var(--rd-text); line-height: 1.1; }
html body .content .ft-box span { display: block; font-size: 12px; color: var(--rd-muted); margin-top: 4px; }
html body .content .ft-lead { font-size: 13px; line-height: 1.55; color: var(--rd-muted); margin: 0 0 14px; max-width: 900px; }
html body .content .ft-lead b { color: var(--rd-text); font-weight: 600; }
html body .content .ft-list { padding: 0; overflow: hidden; }
html body .content .ft-row {
    display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr) repeat(3, minmax(0, 1.1fr)); gap: 14px; align-items: center;
    padding: 12px 16px; border-top: 1px solid var(--rd-line);
}
html body .content .ft-row:first-child { border-top: 0; }
html body .content .ft-row.ft-head { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); padding-top: 10px; padding-bottom: 10px; }
html body .content .ft-row.ft-head .ft-stat { text-align: right; }
html body .content .ft-main { min-width: 0; }
html body .content .ft-main a { color: var(--rd-text); text-decoration: none; }
html body .content .ft-main a:hover b { color: var(--rd-green-text); }
html body .content .ft-main b { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .ft-main > em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); margin-top: 2px; }
html body .content .ft-main > em em { font-style: normal; color: var(--rd-text-2); }
html body .content .ft-status { display: flex; flex-wrap: wrap; gap: 6px; }
html body .content .ft-row:not(.ft-head) .ft-stat { text-align: right; min-width: 0; }
html body .content .ft-stat b { display: block; font-size: 16px; font-weight: 700; color: var(--rd-text); }
html body .content .ft-stat em { display: block; font-style: normal; font-size: 11px; color: var(--rd-muted); line-height: 1.35; }
html body .content .ft-empty { padding: 26px 18px; font-size: 13px; color: var(--rd-muted); }

@media (max-width: 991px) {
    html body .content .ft-row.ft-head { display: none; }
    html body .content .ft-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    html body .content .ft-main, html body .content .ft-status { grid-column: 1 / -1; }
    html body .content .ft-row:not(.ft-head) .ft-stat { text-align: left; }
    html body .content .ft-stat:before { content: attr(data-label); display: block; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); }
}

/* ================= admin keret =================
   Az admin oldalak a nyilvanos fejlec/lablec helyett sajat, tomor keretet kapnak:
   bal oldalt logo + "Admin" jelzes, nincs szlogen, nincs nyilvanos lablec,
   es a tartalom nem ul egy kulso kartyaban (ne legyen kartya a kartyaban). */

html body:has(.ad-menu) > header.container {
    display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; margin-bottom: 18px;
    border-bottom: 1px solid var(--rd-line);
}
html body:has(.ad-menu) > header.container .header_logo { margin: 0; }
html body:has(.ad-menu) > header.container .header_felirat_1,
html body:has(.ad-menu) > header.container .header_felirat_cim { display: none !important; }
html body:has(.ad-menu) > header.container:after {
    content: "Admin"; display: inline-block; clear: none; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    color: var(--rd-green-ink); background: var(--rd-green); border-radius: 999px; padding: 3px 9px; line-height: 1.2;
}
html body:has(.ad-menu) > header.container:before { display: none; }

/* nyilvanos lablec es "ugras a tetejere" gomb az adminban nem kell */
html body:has(.ad-menu) > footer { display: none; }
html body:has(.ad-menu) #top-link { display: none !important; }
html body:has(.ad-menu) > main.container { padding-bottom: 48px; }

/* a tartalom kulso kartyaja helyett sima oldal, oldalcimmel */
html body:has(.ad-menu) #ajax_content.content:has(> h1.graph_focim) {
    background: transparent; border: 0; border-radius: 0; padding: 0; margin: 0; max-width: none; box-shadow: none;
}
html body:has(.ad-menu) #ajax_content.content > h1.graph_focim {
    font-size: 22px; font-weight: 700; color: var(--rd-text); margin: 0 0 16px; padding: 0; border: 0; background: none; line-height: 1.3;
}
html body:has(.ad-menu) #ajax_content.content > h1.graph_focim + br { display: none; }

/* a bal menu a tartalom tetejehez igazodik es gorgeteskor helyben marad */
@media (min-width: 992px) {
    html body:has(.ad-menu) #ajax_sidebar { position: sticky; top: 16px; }
}

@media (max-width: 991px) {
    html body:has(.ad-menu) > header.container { padding-left: 16px; padding-right: 16px; margin-bottom: 8px; }
    html body:has(.ad-menu) #ajax_content.content:has(> h1.graph_focim) { padding: 0 12px; }
}

/* Felhasznalok / Radiosok: szeles kepernyon a muveletek a sor jobb szelen, nem a nev alatt */
@media (min-width: 1300px) {
    html body .content:has(> h1.graph_focim) .ad-page .us-head-o,
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o {
        grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1.3fr) 78px minmax(0, .8fr) 470px;
    }
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o > .us-act-o {
        grid-column: 6; grid-row: 1; justify-self: end; display: flex; flex-wrap: nowrap; gap: 8px; margin: 0;
    }
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o > .rg-confirm { grid-column: 1 / -1; }
}
@media (min-width: 1300px) {
    html body .content:has(> h1.graph_focim) .ad-page .us-row-o > .us-act-o .rg-btn { white-space: nowrap; }
}

/* ================= admin: Beallitasok oldal ================= */
html body .st-page .st-card { max-width: 720px; padding: 18px 20px; }
html body .st-page .st-title { font-size: 15px !important; font-weight: 700; color: var(--rd-text); margin: 0 0 4px !important; padding: 0 !important; border: 0 !important; background: none !important; }
html body .st-page .st-lead { font-size: 13px; color: var(--rd-muted); margin: 0 0 12px; }
html body .st-page .st-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rd-line); margin: 0; cursor: pointer; font-weight: 400; }
html body .st-page .st-row input { position: absolute; opacity: 0; pointer-events: none; }
html body .st-page .st-sw { flex: none; width: 40px; height: 22px; border-radius: 999px; background: var(--rd-line-2); position: relative; transition: background .15s; }
html body .st-page .st-sw:after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--rd-text-2); transition: transform .15s, background .15s; }
html body .st-page .st-row input:checked + .st-sw { background: var(--rd-green); }
html body .st-page .st-row input:checked + .st-sw:after { transform: translateX(18px); background: var(--rd-green-ink); }
html body .st-page .st-row input:focus-visible + .st-sw { outline: 2px solid var(--rd-green); outline-offset: 2px; }
html body .st-page .st-text b { display: block; font-size: 14px; font-weight: 700; color: var(--rd-text); }
html body .st-page .st-text em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); margin-top: 2px; }
html body .st-page .st-field { display: flex; flex-direction: column; gap: 6px; padding: 12px 0 4px 54px; margin: 0; font-weight: 400; }
html body .st-page .st-field > span { font-size: 12px; font-weight: 700; color: var(--rd-text-2); }
html body .st-page .st-field input[type=text] {
    height: 40px; padding: 0 12px; background: var(--rd-bg); border: 1px solid var(--rd-line-2); border-radius: 8px; color: var(--rd-text); font-size: 14px; max-width: 420px; width: 100%; box-shadow: none;
}
html body .st-page .st-actions { border-top: 1px solid var(--rd-line); margin-top: 12px; padding-top: 14px; }
html body .st-page .st-actions .rg-btn { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); font-weight: 700; padding: 9px 22px; border-radius: 8px; font-size: 14px; cursor: pointer; }

html body .st-page .st-title-next { margin-top: 22px !important; padding-top: 18px !important; border-top: 1px solid var(--rd-line) !important; }
html body .st-page .st-text em a { color: var(--rd-green-text); }
/* ================= admin: bannerek (banners.cgi) =================
   A 60-admin.css kartya-, fejlec-, pill-, chip- stilusait, a 64-admin-reg-logs.css gomb- es megerosito-sav stilusait,
   a 66-admin-users.css semleges / veszelyes gombjait hasznalja ujra (ad- / rg- osztalyok); itt a banner-sor
   elrendezese, az urlap es a kep-elonezet van. Sor: bendezett rács, mint az /admin/users.cgi listaja. */

/* ---- felso sor: osszegzes | szuro | uj banner ---- */
html body .content:has(> h1.graph_focim) .ad-page .bn-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-sum { font-size: 14px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .bn-sum b { color: var(--rd-text); font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page .bn-chips { flex: 0 1 auto; }
html body .content:has(> h1.graph_focim) .ad-page .bn-newbtn { margin-left: auto; }
html body .content:has(> h1.graph_focim) .ad-page a.rg-btn-ok, html body .content:has(> h1.graph_focim) .ad-page button.rg-btn-ok:hover { text-decoration: none; }

/* ---- magyarazat es kep-lista: <details> ---- */
html body .content:has(> h1.graph_focim) .ad-page details.bn-how,
html body .content:has(> h1.graph_focim) .ad-page details.bn-unused { margin: 0 0 12px; }
html body .content:has(> h1.graph_focim) .ad-page details.bn-unused { margin: 14px 0 0; }
html body .content:has(> h1.graph_focim) .ad-page details > summary { display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; font-weight: 600; color: var(--rd-muted); cursor: pointer; list-style: none; }
html body .content:has(> h1.graph_focim) .ad-page details > summary::-webkit-details-marker { display: none; }
html body .content:has(> h1.graph_focim) .ad-page details > summary:before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .12s; }
html body .content:has(> h1.graph_focim) .ad-page details[open] > summary:before { transform: rotate(45deg); }
html body .content:has(> h1.graph_focim) .ad-page details > summary:hover { color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page details > summary:focus-visible { outline: 2px solid var(--rd-text); outline-offset: 2px; border-radius: 4px; }
html body .content:has(> h1.graph_focim) .ad-page details.bn-how ul { margin: 6px 0 0; padding: 12px 16px 12px 32px; background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 12px; font-size: 13px; line-height: 1.55; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page details.bn-how li { margin: 0 0 4px; }
html body .content:has(> h1.graph_focim) .ad-page details.bn-how li:last-child { margin-bottom: 0; }
html body .content:has(> h1.graph_focim) .ad-page details.bn-how b { color: var(--rd-text-2); }
html body .content:has(> h1.graph_focim) .ad-page code { padding: 1px 6px; border-radius: 5px; background: var(--rd-surface-2); color: var(--rd-text-2); font-size: 12px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-unused-note { margin: 6px 0 10px; font-size: 13px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .bn-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
html body .content:has(> h1.graph_focim) .ad-page a.bn-th { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 8px; background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 10px; text-decoration: none; }
html body .content:has(> h1.graph_focim) .ad-page a.bn-th:hover { background: var(--rd-surface-2); }
html body .content:has(> h1.graph_focim) .ad-page .bn-th-tile { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 6px; background: var(--rd-bg); overflow: hidden; }
html body .content:has(> h1.graph_focim) .ad-page .bn-th-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
html body .content:has(> h1.graph_focim) .ad-page .bn-th-name { font-size: 12px; color: var(--rd-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page .bn-th-sub { font-size: 11px; color: var(--rd-muted); }

/* ---- figyelmeztetes: kompakt, teendovel ---- */
html body .content:has(> h1.graph_focim) .ad-page .ad-flash.bn-warn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; line-height: 1.45; }
html body .content:has(> h1.graph_focim) .ad-page .ad-flash.bn-warn:not(.rg-err):not(.bn-info) { background: rgba(224, 168, 46, .12); border-color: rgba(224, 168, 46, .45); color: #e0a82e; }
html body .content:has(> h1.graph_focim) .ad-page .ad-flash.bn-info { background: var(--rd-surface); border-color: var(--rd-line); color: var(--rd-muted); font-size: 13px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-warn-txt { flex: 1 1 280px; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-warn-txt b { color: inherit; }
html body .content:has(> h1.graph_focim) .ad-page .bn-cta { flex: none; background: transparent; border-color: currentColor; color: inherit; font-weight: 600; }
html body .content:has(> h1.graph_focim) .ad-page .bn-cta:hover { background: rgba(255, 255, 255, .06); }

/* ---- lista: fejlec + sorok (egy kartyaban) ---- */
html body .content:has(> h1.graph_focim) .ad-page .bn-listcard { padding: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-head,
html body .content:has(> h1.graph_focim) .ad-page .bn-row { display: grid; align-items: center; column-gap: 16px; padding: 0 16px; grid-template-columns: 234px minmax(0, 1fr) 140px 110px 180px 116px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-head { padding-top: 9px; padding-bottom: 9px; border-top: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-head .ad-h { min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-r { text-align: right; justify-self: end; }
html body .content:has(> h1.graph_focim) .ad-page .bn-since { display: block; margin-top: 1px; font-size: 10.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--rd-dim); white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page .bn-row { padding-top: 8px; padding-bottom: 8px; min-height: 78px; border-bottom: 1px solid var(--rd-line); row-gap: 8px; box-sizing: border-box; }
html body .content:has(> h1.graph_focim) .ad-page .bn-row:hover { background: var(--rd-surface-2); }
html body .content:has(> h1.graph_focim) .ad-page .bn-body .bn-row:last-child { border-bottom: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-row > .rg-confirm,
html body .content:has(> h1.graph_focim) .ad-page .bn-row > .bn-edit { grid-column: 1 / -1; }
html body .content:has(> h1.graph_focim) .ad-page .bn-row > .rg-confirm { margin-bottom: 4px; }

html body .content:has(> h1.graph_focim) .ad-page .bn-thumb { box-sizing: border-box; width: 234px; height: 60px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rd-line); border-radius: 8px; background: var(--rd-bg); overflow: hidden; }
html body .content:has(> h1.graph_focim) .ad-page .bn-thumb a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
html body .content:has(> h1.graph_focim) .ad-page .bn-thumb img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
html body .content:has(> h1.graph_focim) .ad-page .bn-noimg { font-size: 12px; color: var(--rd-dim); }

html body .content:has(> h1.graph_focim) .ad-page .bn-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-title { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--rd-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page a.bn-link, html body .content:has(> h1.graph_focim) .ad-page .bn-link-bad { font-size: 12.5px; line-height: 1.35; color: var(--rd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-decoration: none; }
html body .content:has(> h1.graph_focim) .ad-page a.bn-link:hover { color: var(--rd-green-text); text-decoration: underline; }
html body .content:has(> h1.graph_focim) .ad-page .bn-link-bad { color: var(--rd-red); }
html body .content:has(> h1.graph_focim) .ad-page .bn-fileline { font-size: 12px; line-height: 1.35; color: var(--rd-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }

html body .content:has(> h1.graph_focim) .ad-page .bn-st { display: flex; flex-wrap: wrap; gap: 4px; align-content: center; min-width: 0; }

html body .content:has(> h1.graph_focim) .ad-page .bn-wt { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-wv { font-size: 14px; color: var(--rd-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
html body .content:has(> h1.graph_focim) .ad-page .bn-wv b { color: var(--rd-text); font-size: 15px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-bar { display: block; width: 100%; max-width: 96px; height: 4px; border-radius: 2px; background: var(--rd-surface-2); overflow: hidden; }
html body .content:has(> h1.graph_focim) .ad-page .bn-row:hover .bn-bar { background: var(--rd-line-2); }
html body .content:has(> h1.graph_focim) .ad-page .bn-bar i { display: block; height: 100%; background: var(--rd-green); }

html body .content:has(> h1.graph_focim) .ad-page .bn-ck { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-n { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-n b { font-size: 15px; font-weight: 700; color: var(--rd-text); font-variant-numeric: tabular-nums; line-height: 1.3; }
html body .content:has(> h1.graph_focim) .ad-page .bn-n small { font-size: 10.5px; color: var(--rd-muted); line-height: 1.2; white-space: nowrap; }

html body .content:has(> h1.graph_focim) .ad-page .bn-off > .bn-thumb,
html body .content:has(> h1.graph_focim) .ad-page .bn-off > .bn-info,
html body .content:has(> h1.graph_focim) .ad-page .bn-off > .bn-st,
html body .content:has(> h1.graph_focim) .ad-page .bn-off > .bn-wt,
html body .content:has(> h1.graph_focim) .ad-page .bn-off > .bn-ck { opacity: .55; }

/* ---- muveletek: ikongombok ---- */
html body .content:has(> h1.graph_focim) .ad-page .bn-act { display: flex; justify-content: flex-end; gap: 6px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-inline { margin: 0; display: inline-flex; }
html body .content:has(> h1.graph_focim) .ad-page .bn-ib { width: 36px; height: 36px; padding: 0; flex: none; }
html body .content:has(> h1.graph_focim) .ad-page .bn-ib .rd-ic { width: 16px; height: 16px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-lbl { display: none; }
html body .content:has(> h1.graph_focim) .ad-page button.rg-btn-go { background: var(--rd-red); border-color: var(--rd-red); color: var(--rd-strong); }
html body .content:has(> h1.graph_focim) .ad-page button.rg-btn-go:hover { filter: brightness(1.1); }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-neutral { background: transparent; border-color: var(--rd-line-2); color: var(--rd-text-2); font-weight: 600; }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn-neutral:hover:not(:disabled), html body .content:has(> h1.graph_focim) .ad-page .rg-btn-neutral[aria-expanded=true] { background: var(--rd-surface-2); color: var(--rd-text); }
html body .content:has(> h1.graph_focim) .ad-page .rg-btn:disabled { opacity: .4; cursor: not-allowed; }
html body .content:has(> h1.graph_focim) .ad-page .bn-confirm .bn-form { margin: 0; }

/* ---- urlap (szerkesztes + uj banner): ketoszlopos racs ---- */
html body .content:has(> h1.graph_focim) .ad-page .bn-edit { padding: 14px 16px; border: 1px solid var(--rd-line); border-radius: 10px; background: var(--rd-surface-2); margin-bottom: 4px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-newcard { margin: 0 0 12px; padding: 16px 18px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-formgrid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px 14px; align-items: end; margin: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-fld { display: flex; flex-direction: column; gap: 4px; margin: 0; font-weight: 400; min-width: 0; }
html body .content:has(> h1.graph_focim) .ad-page .bn-fld > span { font-size: 12px; color: var(--rd-muted); line-height: 1.3; }
html body .content:has(> h1.graph_focim) .ad-page .bn-c2 { grid-column: span 2; }
html body .content:has(> h1.graph_focim) .ad-page .bn-c3 { grid-column: span 3; }
html body .content:has(> h1.graph_focim) .ad-page .bn-c6 { grid-column: span 6; }
html body .content:has(> h1.graph_focim) .ad-page .bn-c7 { grid-column: span 7; }
html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=text],
html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=url],
html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=number],
html body .content:has(> h1.graph_focim) .ad-page .bn-fld select,
html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=file] {
    display: block; width: 100% !important; max-width: none; height: auto; margin: 0; padding: 9px 12px; box-sizing: border-box;
    background: var(--rd-bg); border: 1px solid var(--rd-line-2); border-radius: 8px; color: var(--rd-text); font-size: 14px !important; line-height: 1.4; box-shadow: none;
}
html body .content:has(> h1.graph_focim) .ad-page .bn-fld input:focus,
html body .content:has(> h1.graph_focim) .ad-page .bn-fld select:focus { outline: 2px solid var(--rd-green); outline-offset: 0; border-color: var(--rd-green); }
html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=file] { padding: 6px 10px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=file]::file-selector-button { margin-right: 12px; padding: 5px 12px; border: 1px solid var(--rd-line-2); border-radius: 6px; background: var(--rd-surface-2); color: var(--rd-text-2); font-size: 13px; cursor: pointer; }
html body .content:has(> h1.graph_focim) .ad-page .bn-fnote { font-size: 12px; color: var(--rd-muted); }
html body .content:has(> h1.graph_focim) .ad-page .bn-pvrow { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-pv { flex: none; max-width: 100%; }
html body .content:has(> h1.graph_focim) .ad-page .bn-pv-tile { box-sizing: border-box; position: relative; width: 234px; height: 60px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rd-line); border-radius: 8px; background: var(--rd-bg); overflow: hidden; }
html body .content:has(> h1.graph_focim) .ad-page .bn-pv-tile img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
html body .content:has(> h1.graph_focim) .ad-page .bn-pv-tile img[hidden] { display: none; }
html body .content:has(> h1.graph_focim) .ad-page .bn-pv-ph { font-size: 12px; color: var(--rd-dim); }
html body .content:has(> h1.graph_focim) .ad-page .bn-pv-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 260px; }
html body .content:has(> h1.graph_focim) .ad-page .bn-pv-info { font-size: 13px; color: var(--rd-text-2); font-variant-numeric: tabular-nums; }
html body .content:has(> h1.graph_focim) .ad-page .bn-rule { font-size: 12px; color: var(--rd-dim); line-height: 1.4; }
html body .content:has(> h1.graph_focim) .ad-page .bn-hint { grid-column: 1 / -1; margin: 0; padding: 8px 12px; border-radius: 8px; background: rgba(229, 86, 79, .12); border: 1px solid rgba(229, 86, 79, .4); color: #f08b86; font-size: 13px; line-height: 1.45; }
html body .content:has(> h1.graph_focim) .ad-page .bn-hint[hidden] { display: none; }
html body .content:has(> h1.graph_focim) .ad-page .bn-formbtns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

/* ---- kozepes szelesseg: fejlec nelkul, ket sorban ---- */
@media (max-width: 1399px) {
    html body .content:has(> h1.graph_focim) .ad-page .bn-head { display: none; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-row {
        grid-template-columns: 234px minmax(0, 1fr) 100px 200px; grid-template-areas: "thumb info info act" "thumb st wt ck"; align-items: center; padding-top: 10px; padding-bottom: 10px;
    }
    html body .content:has(> h1.graph_focim) .ad-page .bn-thumb { grid-area: thumb; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-info { grid-area: info; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-st { grid-area: st; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-wt { grid-area: wt; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-ck { grid-area: ck; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-act { grid-area: act; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-wt[data-label]:before,
    html body .content:has(> h1.graph_focim) .ad-page .bn-ck[data-label]:before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); grid-column: 1 / -1; text-align: right; }
}

/* ---- keskeny asztali / tablet: bal oldalt a kep, jobbra egymas alatt a tartalom ---- */
@media (max-width: 1099px) {
    html body .content:has(> h1.graph_focim) .ad-page .bn-row { grid-template-columns: 234px minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "thumb info info" "thumb st st" "thumb wt ck" "act act act"; align-items: start; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-act { justify-content: flex-end; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-wt { align-items: flex-start; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-wt[data-label]:before, html body .content:has(> h1.graph_focim) .ad-page .bn-ck[data-label]:before { text-align: left; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-n { align-items: flex-start; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-ck { max-width: 220px; }
}

/* ---- mobil: egymas alatti kartya ---- */
@media (max-width: 767px) {
    html body .content:has(> h1.graph_focim) .ad-page .bn-newbtn { margin-left: 0; flex: 1 1 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "thumb thumb" "info info" "st st" "wt ck" "act act"; column-gap: 12px; row-gap: 10px; padding: 12px; align-items: start;
    }
    html body .content:has(> h1.graph_focim) .ad-page .bn-thumb { width: 100%; height: 72px; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-title, html body .content:has(> h1.graph_focim) .ad-page .bn-fileline { white-space: normal; overflow-wrap: anywhere; }
    html body .content:has(> h1.graph_focim) .ad-page a.bn-link { overflow-wrap: anywhere; white-space: normal; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-wt { align-items: flex-start; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-wt[data-label]:before,
    html body .content:has(> h1.graph_focim) .ad-page .bn-ck[data-label]:before { text-align: left; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-n { align-items: flex-start; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-act { justify-content: stretch; gap: 8px; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-act > .rg-btn, html body .content:has(> h1.graph_focim) .ad-page .bn-act > .bn-inline { flex: 1 1 0; min-width: 0; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-act .bn-inline .rg-btn { width: 100% !important; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-ib { width: auto !important; height: 40px; padding: 0 6px; gap: 5px; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-ib .rd-ic { flex: none; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-lbl { display: inline; font-size: 12px; white-space: nowrap; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-confirm .rg-confirm-btns { width: 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-confirm .rg-confirm-btns .rg-btn { flex: 1 1 0; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-edit, html body .content:has(> h1.graph_focim) .ad-page .bn-newcard { padding: 12px; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-c2, html body .content:has(> h1.graph_focim) .ad-page .bn-c3,
    html body .content:has(> h1.graph_focim) .ad-page .bn-c6, html body .content:has(> h1.graph_focim) .ad-page .bn-c7 { grid-column: 1 / -1; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=text],
    html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=url],
    html body .content:has(> h1.graph_focim) .ad-page .bn-fld input[type=number],
    html body .content:has(> h1.graph_focim) .ad-page .bn-fld select { font-size: 16px !important; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-pvrow { flex-direction: column; align-items: stretch; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-pv { width: 100%; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-pv-tile { width: 100%; height: 72px; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-formbtns .rg-btn { flex: 1 1 0; }
    html body .content:has(> h1.graph_focim) .ad-page .bn-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ================= belepes / regisztracio oldalak ================= */

/* --- uzemeltetoi belepes (login/staff.cgi): onallo, kozepre zart kartya --- */
html body main.rd-auth { width: auto; max-width: 100%; }
html body main.rd-auth > .row { margin: 0; display: block; }
html body main.rd-auth #ajax_content { float: none; width: auto; padding: 0; }
html body .rd-auth-card {
    max-width: 420px; margin: 28px auto 40px; padding: 28px 28px 22px; background: var(--rd-surface);
    border: 1px solid var(--rd-line); border-radius: 14px;
}
html body .rd-auth-title { font-size: 21px; font-weight: 700; color: var(--rd-text); margin: 0 0 6px; padding: 0; background: none; border: 0; text-shadow: none; }
html body .rd-auth-lead { font-size: 14px; line-height: 1.5; color: var(--rd-muted); margin: 0 0 20px; }
html body .rd-auth-form { display: flex; flex-direction: column; margin: 0 0 18px; }
html body .rd-auth-form label { font-size: 13px; font-weight: 700; color: var(--rd-text-2); margin: 0 0 6px; }
html body .rd-auth-form input[type=text],
html body .rd-auth-form input[type=password],
html body .rd-auth-form input[type=email] {
    width: 100%; height: 44px; padding: 0 12px; margin: 0 0 16px; background: var(--rd-bg); border: 1px solid var(--rd-line-2); border-radius: 8px;
    color: var(--rd-text); font-size: 15px; box-shadow: none; outline: none;
}
html body .rd-auth-form input:focus { border-color: var(--rd-green); box-shadow: 0 0 0 3px rgba(111,196,1,.18); }
html body .rd-auth-submit {
    height: 46px; margin-top: 4px; border: 0; border-radius: 8px; background: var(--rd-green); color: var(--rd-green-ink);
    font-size: 15px; font-weight: 700; cursor: pointer;
}
html body .rd-auth-submit:hover { filter: brightness(1.08); }
html body .rd-auth-alt { font-size: 13px; line-height: 1.5; color: var(--rd-muted); margin: 0 0 6px; }
html body .rd-auth-alt a { color: var(--rd-green-text); text-decoration: none; }
html body .rd-auth-alt a:hover { text-decoration: underline; }
html body .rd-notice { font-size: 14px; line-height: 1.4; padding: 10px 12px; border-radius: 8px; margin: 0 0 16px; border: 1px solid transparent; }
html body .rd-notice-err { background: var(--rd-err-bg); border-color: var(--rd-err-border); color: var(--rd-err-text); }
html body .rd-notice-ok { background: var(--rd-green-bg); border-color: var(--rd-green-border); color: var(--rd-green-soft); }

/* --- hallgatoi belepes, regisztracio, jelszo-visszaallitas, allomasregisztracio:
       az oldalsav vizszintes valtosavva alakul a kozepre zart kartya folott --- */
html body main.rd-authpage:not(.rd-withsb) { width: auto; max-width: 100%; }
html body main.rd-authpage:not(.rd-withsb) > .row { display: block; max-width: 620px; margin: 18px auto 30px; }
html body main.rd-authpage:not(.rd-withsb):has(.sidebar a[href^="/stationreg/"] .glyphicon-hand-left) > .row { max-width: 760px; }
html body main.rd-authpage:not(.rd-withsb) #ajax_sidebar { display: block !important; float: none; width: auto; height: auto !important; flex: none; padding: 0; margin: 0 0 14px; border: 0; }
html body main.rd-authpage:not(.rd-withsb) #ajax_content { float: none; width: auto; flex: none; max-width: none; margin: 0; }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa { display: flex !important; flex-wrap: wrap; gap: 6px; align-items: center; }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a { margin: 0; }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a > div {
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rd-line-2); background: transparent; min-height: 0;
}
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a > div > p { font-size: 13px; color: var(--rd-text-2); font-weight: 400; }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a > div:before { display: none !important; }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a > div > span { display: none !important; }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a > div:has(.glyphicon-hand-left) { background: var(--rd-green); border-color: var(--rd-green); }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a > div:has(.glyphicon-hand-left) > p { color: var(--rd-green-ink); font-weight: 700; }
/* "Vissza a fooldalra": egyszeru link a sor vegen */
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href="/"],
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href$="onlinestat.hu/"],
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href$="localhost:8080/"] { order: 9; margin-left: auto; }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href="/"] > div,
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href$="onlinestat.hu/"] > div,
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href$="localhost:8080/"] > div { border-color: transparent; padding-left: 4px; padding-right: 4px; }
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href="/"] > div > p,
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href$="onlinestat.hu/"] > div > p,
html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href$="localhost:8080/"] > div > p { color: var(--rd-muted); }

/* a kartyan belul a cimkek a mezok fole kerulnek */
html body main.rd-authpage .content:has(> h1.graph_focim) { max-width: none; padding: 26px 28px 22px; margin: 0; }
html body main.rd-authpage .content:has(> h1.graph_focim) > br { display: none; }
html body main.rd-authpage .content:has(> h1.graph_focim) h1.graph_focim { margin-bottom: 14px; }
html body main.rd-authpage .content:has(> h1.graph_focim) table > tbody > tr { display: flex; flex-direction: column; align-items: stretch; gap: 6px; margin: 0 0 14px; }
html body main.rd-authpage .content:has(> h1.graph_focim) table > tbody > tr > td { flex: none !important; max-width: none !important; width: auto !important; }
html body main.rd-authpage .content:has(> h1.graph_focim) table > tbody > tr > td:first-child { font-size: 13px; color: var(--rd-text-2); }
html body main.rd-authpage .content:has(> h1.graph_focim) table > tbody > tr > td:empty { display: none; }
html body main.rd-authpage .content:has(> h1.graph_focim) input[type=text],
html body main.rd-authpage .content:has(> h1.graph_focim) input[type=email],
html body main.rd-authpage .content:has(> h1.graph_focim) input[type=password] { height: 44px; font-size: 15px; width: 100%; max-width: none; }
html body main.rd-authpage .content:has(> h1.graph_focim) input[type=submit],
html body main.rd-authpage .content:has(> h1.graph_focim) input[type=button] { height: 46px; min-width: 180px; font-size: 15px; }
html body main.rd-authpage .content:has(> h1.graph_focim) tr:has(img) { flex-direction: row !important; flex-wrap: wrap; align-items: center !important; }

/* az oldalsav-nyito mobil sav ezeken az oldalakon felesleges */
html body:has(main.rd-auth) .navbar.sidebar_collapse,
html body:has(main.rd-authpage:not(.rd-withsb)) .navbar.sidebar_collapse { display: none; }

@media (max-width: 767px) {
    html body .rd-auth-card { margin: 14px 12px 28px; padding: 22px 18px 18px; }
    html body main.rd-authpage:not(.rd-withsb) > .row { margin: 10px 12px 24px; }
    html body main.rd-authpage .content:has(> h1.graph_focim) { padding: 20px 16px 16px; margin: 0; }
    html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href="/"],
    html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href$="onlinestat.hu/"],
    html body main.rd-authpage:not(.rd-withsb) .sidebar .sidebar_adok_listazasa > a[href$="localhost:8080/"] { margin-left: 0; }
}

/* ================= hibaoldalak (error/*.html) ================= */
html body.rd-error { display: flex; flex-direction: column; min-height: 100vh; margin: 0; padding: 0; background: var(--rd-bg); color: var(--rd-text); font-family: Roboto, Arial, sans-serif; }
html body.rd-error .rd-error-box { margin: auto; padding: 32px 20px; max-width: 460px; text-align: center; }
html body.rd-error .rd-error-logo { display: block; width: 240px; height: 38px; margin: 0 auto 34px; background: url('/pics/ostat.png') center / contain no-repeat; }
html body.rd-error .rd-error-code { font-size: 64px; font-weight: 700; line-height: 1; color: var(--rd-green-text); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
html body.rd-error h1 { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: var(--rd-text); }
html body.rd-error p { font-size: 15px; line-height: 1.6; color: var(--rd-muted); margin: 0 0 22px; }
html body.rd-error .rd-error-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
html body.rd-error .rd-error-actions a {
    display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--rd-line-2);
    color: var(--rd-text-2); font-size: 14px; text-decoration: none;
}
html body.rd-error .rd-error-actions a:hover { background: var(--rd-surface); color: var(--rd-text); }
html body.rd-error .rd-error-actions a.rd-primary { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); font-weight: 700; }
html body .rd-auth-form .rd-auth-submit { width: 100%; margin: 4px 0 0; align-self: stretch; }

/* --- szeles kepernyon (1400px felett) a kozos ket hasabos elrendezes ne irja felul a kozepre zart oldalakat --- */
html body main.rd-authpage:not(.rd-withsb) > .row, html body main.rd-auth > .row { display: block !important; }
html body main.rd-authpage:not(.rd-withsb) #ajax_sidebar { flex: none !important; width: auto !important; float: none !important; }
html body main.rd-authpage:not(.rd-withsb) #ajax_content, html body main.rd-auth #ajax_content { flex: none !important; width: auto !important; float: none !important; }
html body main.rd-authpage:not(.rd-withsb), html body main.rd-auth { width: auto !important; }

/* ================= allomasregisztracio (stationreg) ================= */
html body main.rd-authpage:not(.rd-withsb):has(.rd-reg-choice) > .row,
html body main.rd-authpage:not(.rd-withsb):has(.rd-form) > .row { max-width: 820px; }
html body .rd-reg-lead { font-size: 15px; line-height: 1.6; color: var(--rd-text-2); margin: 0 0 20px; }
html body .rd-reg-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
html body a.rd-reg-opt {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 18px; background: var(--rd-bg);
    border: 1px solid var(--rd-line-2); border-radius: 12px; text-decoration: none; color: var(--rd-text);
}
html body a.rd-reg-opt:hover { border-color: var(--rd-line-3); background: var(--rd-inset); }
html body a.rd-reg-opt-main { border-color: var(--rd-green); }
html body a.rd-reg-opt-main:hover { border-color: var(--rd-green); }
html body a.rd-reg-opt > b { font-size: 17px; font-weight: 700; color: var(--rd-text); }
html body a.rd-reg-opt > .rd-reg-desc { font-size: 14px; line-height: 1.55; color: var(--rd-muted); flex: 1; }
html body a.rd-reg-opt > em {
    font-style: normal; align-self: flex-start; margin-top: 6px; padding: 9px 16px; border-radius: 8px; font-size: 14px; font-weight: 700;
    border: 1px solid var(--rd-line-2); color: var(--rd-text-2);
}
html body a.rd-reg-opt-main > em { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); }
html body .rd-reg-badge {
    position: absolute; top: -10px; left: 16px; background: var(--rd-green); color: var(--rd-green-ink); font-size: 11px; font-weight: 700;
    letter-spacing: .5px; text-transform: uppercase; border-radius: 999px; padding: 3px 10px;
}
html body .rd-reg-note { font-size: 13px; line-height: 1.6; color: var(--rd-muted); margin: 14px 0 0; }
html body .rd-reg-note a { color: var(--rd-green-text); }
html body .rd-reg-small { font-size: 12px; margin-top: 6px; }

html body .rd-form { margin: 0; }
html body .rd-fs { border: 0; border-top: 1px solid var(--rd-line); margin: 0; padding: 20px 0 6px; min-width: 0; }
html body .rd-form > .rd-fs:first-of-type { border-top: 0; padding-top: 4px; }
html body .rd-fs > legend {
    float: left; width: 100%; font-size: 15px; font-weight: 700; color: var(--rd-text); border: 0; margin: 0 0 4px; padding: 0; line-height: 1.4;
}
html body .rd-fs > legend + * { clear: both; }
html body .rd-fs-lead { font-size: 13px; line-height: 1.5; color: var(--rd-muted); margin: 0 0 14px; }
html body .rd-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
html body .rd-f { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; font-weight: 400; min-width: 0; }
html body .rd-f-wide { grid-column: 1 / -1; }
html body .rd-f > span { font-size: 13px; font-weight: 700; color: var(--rd-text-2); }
html body .rd-f > span i { font-style: normal; font-weight: 400; color: var(--rd-muted); }
html body .rd-f > span b { color: var(--rd-green-text); }
html body .rd-f > small { font-size: 12px; line-height: 1.4; color: var(--rd-muted); }
html body .rd-form .rd-f input[type=text], html body .rd-form .rd-f input[type=email],
html body .rd-form .rd-f input[type=password], html body .rd-form .rd-f input[type=url] {
    width: 100% !important; max-width: none !important; height: 44px !important; padding: 0 12px !important; margin: 0 !important;
    background: var(--rd-bg) !important; border: 1px solid var(--rd-line-2) !important; border-radius: 8px !important; color: var(--rd-text) !important;
    font-size: 15px !important; box-shadow: none !important; outline: none;
}
html body .rd-form .rd-f input:focus { border-color: var(--rd-green) !important; box-shadow: 0 0 0 3px rgba(111,196,1,.18) !important; }
html body .rd-captcha { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
html body .rd-captcha > img { display: block; height: 44px !important; width: auto !important; border-radius: 8px; border: 1px solid var(--rd-line-2); margin-bottom: 14px; }
/* az ellenorzo kod kepe atlatszo hatteru, feher szamokkal keszul: sotet nezetben igy latszik,
   vilagos nezetben megforditjuk (sotet szamok vilagos csempen) */
html body img[src^="/tmp/"][src$=".png"], html body img[src^="tmp/"][src$=".png"] {
    background: var(--rd-inset); border: 1px solid var(--rd-line-2); border-radius: 8px; padding: 4px 10px; box-sizing: border-box;
}
html[data-theme="light"] body img[src^="/tmp/"][src$=".png"], html[data-theme="light"] body img[src^="tmp/"][src$=".png"] {
    filter: invert(1); background: #1b1e22; border-color: #3a3f45;
}
html body .rd-captcha > .rd-f { flex: 1 1 220px; max-width: 320px; }
html body .rd-form-actions { border-top: 1px solid var(--rd-line); padding-top: 18px; margin-top: 6px; }
html body .rd-form-actions .rd-auth-submit { width: auto; min-width: 240px; padding: 0 24px; }
html body .rd-notice-warn { background: var(--rd-warn-bg); border-color: var(--rd-warn-border); color: var(--rd-warn-text); }
html body .rd-notice-warn a { color: var(--rd-warn-text); text-decoration: underline; }

@media (max-width: 767px) {
    html body .rd-reg-choice, html body .rd-fgrid { grid-template-columns: minmax(0, 1fr); }
    html body .rd-form-actions .rd-auth-submit { width: 100%; }
}


/* --- teljes oldalsavval (rd-withsb): szokasos ket hasab, az urlap kartyaja keskenyebb --- */
html body main.rd-authpage.rd-withsb .content:has(> h1.graph_focim) { max-width: 640px !important; }
html body main.rd-authpage.rd-withsb .content:has(.rd-reg-choice), html body main.rd-authpage.rd-withsb .content:has(.rd-form) { max-width: 860px !important; }
/* belepes / regisztracio almenuje az oldalsavban */
html body .sidebar .sidebar_adok_listazasa > a.rd-m-auth > div > span { display: none; }
html body .sidebar .sidebar_adok_listazasa > a.rd-m-auth > div:has(.glyphicon-check) > p { color: var(--rd-text); font-weight: 700; }

/* ================= allomasregisztracio valaszto: nagyobb, tagoltabb kartyak ================= */
html body main.rd-authpage.rd-withsb .content:has(.rd-reg-choice) { max-width: 1040px !important; }
html body .rd-reg-choice { gap: 18px; margin-top: 8px; }
html body a.rd-reg-opt { padding: 26px 24px 22px; gap: 8px; background: var(--rd-surface-2); border-radius: 14px; transition: border-color .15s, transform .15s; }
html body a.rd-reg-opt:hover { transform: translateY(-2px); background: var(--rd-surface-2); }
html body a.rd-reg-opt-main { background: var(--rd-green-bg); border-color: var(--rd-green-border); }
html body a.rd-reg-opt-main:hover { background: var(--rd-green-bg); border-color: var(--rd-green); }
html body .rd-reg-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--rd-tile); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
html body .rd-reg-ic .rd-ic { width: 22px; height: 22px; color: var(--rd-text-2); }
html body a.rd-reg-opt-main .rd-reg-ic { background: var(--rd-green); }
html body a.rd-reg-opt-main .rd-reg-ic .rd-ic { color: var(--rd-green-ink); }
html body a.rd-reg-opt > b { font-size: 19px; }
html body a.rd-reg-opt > .rd-reg-desc { flex: none; font-size: 14px; color: var(--rd-text-2); }
html body .rd-reg-list { display: flex; flex-direction: column; gap: 7px; margin: 10px 0 14px; flex: 1; }
html body .rd-reg-list > span { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; line-height: 1.45; color: var(--rd-text-2); }
html body .rd-reg-list .rd-ic { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--rd-green-text); stroke-width: 3; }
html body .rd-reg-list > span.rd-reg-no { color: var(--rd-muted); padding-left: 24px; position: relative; }
html body .rd-reg-list > span.rd-reg-no:before { content: "–"; position: absolute; left: 4px; }
html body a.rd-reg-opt > em { margin-top: 0; padding: 11px 18px; font-size: 14px; }
html body .rd-reg-steps { margin: 22px 0 0; padding: 16px 18px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-inset); }
html body .rd-reg-steps > b { display: block; font-size: 14px; color: var(--rd-text); margin-bottom: 8px; }
html body .rd-reg-steps ol { margin: 0; padding-left: 20px; }
html body .rd-reg-steps li { font-size: 13.5px; line-height: 1.6; color: var(--rd-text-2); }

/* ================= kapcsolat oldal ================= */
html body .content .ct-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; max-width: 1040px; }
html body .content .ct-form { min-width: 0; }
html body .content .ct-form textarea {
    width: 100%; min-height: 180px; padding: 11px 12px; background: var(--rd-bg); border: 1px solid var(--rd-line-2); border-radius: 8px; color: var(--rd-text);
    font: inherit; font-size: 15px; line-height: 1.5; resize: vertical; box-shadow: none; outline: none;
}
html body .content .ct-form textarea:focus { border-color: var(--rd-green); box-shadow: 0 0 0 3px rgba(111,196,1,.18); }
html body .content .ct-form .rd-captcha { margin-top: 6px; }
html body .content .ct-form .rd-captcha > img { height: 54px; }
html body .content .ct-form .rd-f > span b { color: var(--rd-green-text); }
html body .content .ct-side { display: grid; gap: 12px; }
html body .content .ct-box { padding: 14px 16px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-surface-2); }
html body .content .ct-box b { display: block; font-size: 14px; color: var(--rd-text); margin-bottom: 4px; }
html body .content .ct-box p { font-size: 13px; line-height: 1.5; color: var(--rd-muted); margin: 0 0 8px; }
html body .content .ct-box a { font-size: 13px; font-weight: 700; color: var(--rd-green-text); text-decoration: none; }
html body .content .ct-box a:hover { text-decoration: underline; }
@media (max-width: 991px) { html body .content .ct-wrap { grid-template-columns: minmax(0, 1fr); } }
/* kapcsolat: az ellenorzo kep pontosan a beviteli mezo magassagaban, vele egy vonalban */
html body .content .ct-form .rd-captcha { align-items: flex-start; gap: 14px; }
html body .content .ct-form .rd-captcha > img { height: 44px; width: auto; margin: 25px 0 0; border-radius: 8px; }
html body .content .ct-form .rd-captcha > .rd-f { margin-bottom: 0; }
html body .content .ct-form .rd-captcha > .rd-f > span { line-height: 19px; }

/* biztonsagi ellenorzo kod a belepesi kartyakon: kep es mezo egy sorban, azonos magassaggal */
html body .rd-auth-cap { display: flex; align-items: stretch; gap: 10px; margin: 0 0 16px; }
html body .rd-auth-cap > img { display: block; flex: none; height: 44px !important; width: auto !important; }
html body .rd-auth-form .rd-auth-cap > input[type=text] { flex: 1 1 auto; min-width: 0; width: auto; height: 44px; margin: 0; }

/* ================= fizetett kiemeles: radios megrendelo (/msm/promo.cgi) es admin Megrendelesek ================= */
html body .content .pm-page { max-width: 860px; }
html body .content .pm-page.pm-admin { max-width: 1040px; }
html body .content .pm-card { padding: 20px 22px; margin: 0 0 14px; display: block; }
html body .content .pm-title { font-size: 16px; font-weight: 700; color: var(--rd-text); margin: 0 0 10px; padding: 0; background: none; border: 0; text-shadow: none; text-transform: none; }
html body .content .pm-sub { font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); margin: 20px 0 8px; padding: 0; background: none; border: 0; }
html body .content .pm-lead { font-size: 13px; line-height: 1.55; color: var(--rd-muted); margin: 0 0 12px; }
html body .content .pm-lead b { color: var(--rd-text); font-weight: 600; }
html body .content .pm-warn { font-size: 13px; line-height: 1.5; color: var(--rd-warn-text); background: var(--rd-warn-bg); border: 1px solid var(--rd-warn-border); border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; }

/* allapot */
html body .content .pm-state { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
html body .content .pm-state b { font-size: 20px; font-weight: 700; color: var(--rd-text); }
html body .content .pm-state span { flex-basis: 100%; font-size: 13px; color: var(--rd-muted); }
html body .content .pm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
html body .content .pm-stats > div { background: var(--rd-surface-2); border: 1px solid var(--rd-line); border-radius: 10px; padding: 10px 12px; }
html body .content .pm-stats b { display: block; font-size: 20px; font-weight: 700; color: var(--rd-text); }
html body .content .pm-stats span { display: block; font-size: 12px; color: var(--rd-muted); margin-top: 2px; }

/* valaszthato csomag / fizetesi mod */
html body .content .pm-opts { display: grid; gap: 8px; }
html body .content .pm-opt {
    display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px 14px; border: 1px solid var(--rd-line); border-radius: 10px;
    background: var(--rd-surface-2); cursor: pointer; font-weight: 400;
}
html body .content .pm-opt:hover { border-color: var(--rd-line-3); }
html body .content .pm-opt:has(input:checked) { border-color: var(--rd-green); background: var(--rd-green-bg); }
html body .content .pm-opt input { margin: 0; flex: none; accent-color: var(--rd-green); width: 16px; height: 16px; }
html body .content .pm-opt > span { flex: 1; min-width: 0; }
html body .content .pm-opt b { display: block; font-size: 14px; font-weight: 700; color: var(--rd-text); }
html body .content .pm-opt em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); }
html body .content .pm-opt strong { flex: none; font-size: 16px; font-weight: 700; color: var(--rd-text); white-space: nowrap; }

/* mezok */
html body .content .pm-fields { display: grid; gap: 10px; }
html body .content .pm-field { display: block; margin: 0 0 10px; font-weight: 400; }
html body .content .pm-fields .pm-field { margin: 0; }
html body .content .pm-field > span { display: block; font-size: 12px; color: var(--rd-muted); margin: 0 0 5px; }
html body .content .pm-field input {
    display: block; width: 100%; height: 40px; padding: 0 12px; background: var(--rd-inset); border: 1px solid var(--rd-line); border-radius: 8px;
    color: var(--rd-text); font-size: 14px; box-shadow: none; outline: 0;
}
html body .content .pm-field input:focus { border-color: var(--rd-green); }
html body .content .pm-field.pm-short, html body .content .pm-field.pm-num { max-width: 220px; }
html body .content .pm-pkg { display: grid; grid-template-columns: minmax(0, 1fr) 110px 150px; gap: 10px; }
html body .content .pm-pkg .pm-field { max-width: none; }
html body .content .pm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
html body .content .pm-actions span { flex: 1 1 260px; font-size: 12px; color: var(--rd-muted); line-height: 1.45; }
html body .content .pm-inline { margin-top: 16px; }

/* fizetesi adatok */
html body .content .pm-pending { border-color: var(--rd-warn-border); }
html body .content .pm-pay { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0; margin: 4px 0 0; border: 1px solid var(--rd-line); border-radius: 10px; overflow: hidden; }
html body .content .pm-pay dt, html body .content .pm-pay dd { margin: 0; padding: 11px 14px; border-top: 1px solid var(--rd-line); font-size: 14px; color: var(--rd-text); }
html body .content .pm-pay dt:first-of-type, html body .content .pm-pay dt:first-of-type + dd { border-top: 0; }
html body .content .pm-pay dt { font-size: 12px; font-weight: 400; color: var(--rd-muted); background: var(--rd-surface-2); display: flex; align-items: center; }
html body .content .pm-pay dd b { font-weight: 700; }
html body .content .pm-pay dd em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); margin-top: 3px; }
html body .content .pm-ref { font-family: Consolas, Menlo, monospace; font-size: 16px; letter-spacing: .5px; color: var(--rd-green-soft); user-select: all; }

/* sorok: korabbi megrendelesek */
html body .content .pm-list { padding-bottom: 8px; }
html body .content .pm-row { display: grid; grid-template-columns: minmax(0, 2fr) auto minmax(0, 1.3fr) 90px; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rd-line); font-size: 13px; color: var(--rd-text); }
html body .content .pm-r-main { min-width: 0; }
html body .content .pm-r-main a { color: var(--rd-text); text-decoration: none; }
html body .content .pm-r-main a:hover b { color: var(--rd-green-text); }
html body .content .pm-r-main b { display: block; font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .pm-r-main em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .pm-r-per { color: var(--rd-muted); font-size: 12px; }
html body .content .pm-r-price { text-align: right; font-weight: 700; white-space: nowrap; }

/* admin: fizetesre varo megrendeles */
html body .content .pm-order { border: 1px solid var(--rd-line); border-radius: 10px; padding: 14px 16px; margin-top: 10px; background: var(--rd-surface-2); }
html body .content .pm-o-head { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
html body .content .pm-o-price { flex: none; text-align: right; }
html body .content .pm-o-price b { display: block; font-size: 18px; font-weight: 700; color: var(--rd-text); }
html body .content .pm-o-price em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); }
html body .content .pm-o-price strong { font-family: Consolas, Menlo, monospace; color: var(--rd-green-soft); font-size: 13px; }
html body .content .pm-o-info { font-size: 12px; line-height: 1.6; color: var(--rd-muted); margin: 10px 0 12px; }
html body .content .pm-o-act { display: flex; flex-wrap: wrap; gap: 8px; }
html body .content .pm-o-act form { margin: 0; }

@media (max-width: 767px) {
    html body .content .pm-card { padding: 16px; }
    html body .content .pm-stats { grid-template-columns: 1fr; }
    html body .content .pm-pay { grid-template-columns: 1fr; }
    html body .content .pm-pay dt { border-top: 1px solid var(--rd-line); padding-bottom: 4px; background: transparent; }
    html body .content .pm-pay dd { border-top: 0; padding-top: 0; }
    html body .content .pm-pkg { grid-template-columns: 1fr 1fr; }
    html body .content .pm-pkg .pm-field:first-child { grid-column: 1 / -1; }
    html body .content .pm-row { grid-template-columns: minmax(0, 1fr) auto; }
    html body .content .pm-o-head { flex-direction: column; gap: 8px; }
    html body .content .pm-o-price { text-align: left; }
}

/* masodlagos gombok (visszavonas, elutasitas): semleges, nem zold */
html body .content .pm-page .pm-inline button.rg-btn, html body .content .pm-page .pm-o-act button.rg-btn:not(.rg-btn-primary) {
    background: transparent !important; border: 1px solid var(--rd-line-3) !important; color: var(--rd-text) !important; box-shadow: none !important;
}
html body .content .pm-page .pm-inline button.rg-btn:hover, html body .content .pm-page .pm-o-act button.rg-btn:not(.rg-btn-primary):hover { border-color: var(--rd-red) !important; color: var(--rd-err-text) !important; }
html body .content .pm-page.st-page .st-row { border-top: 0; padding-top: 0; }

/* ---------- nyilvanos arlista (reklam.cgi) ---------- */
html body .content .pl-page .pl-intro { font-size: 14px; max-width: 720px; }
html body .content .pl-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rd-line); }
html body .content .pl-name { min-width: 0; }
html body .content .pl-name b { display: block; font-size: 14px; font-weight: 700; color: var(--rd-text); }
html body .content .pl-name em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); margin-top: 2px; }
html body .content .pl-row strong { flex: none; font-size: 17px; font-weight: 700; color: var(--rd-text); white-space: nowrap; }
html body .content .pl-row strong small { font-size: 12px; font-weight: 400; color: var(--rd-muted); }
html body .content .pl-soon { font-size: 13px; color: var(--rd-warn-text); margin: 0; }
html body .content .pl-page .pm-actions { border-top: 1px solid var(--rd-line); padding-top: 16px; margin-top: 0; }
html body .content .pl-page .pm-actions a:not(.rg-btn) { color: var(--rd-green-text); }
html body .content .pl-page a.rg-btn { text-decoration: none; }
html body .content .pl-note { margin-top: 4px; }
/* admin: banner-arlista sorai */
html body .content .pm-ban { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 120px 110px; gap: 10px; }
html body .content .pm-ban .pm-field { max-width: none; }
@media (max-width: 767px) { html body .content .pm-ban { grid-template-columns: 1fr 1fr; } }

/* ---------- bannerrendeles ---------- */
html body .content .pl-row a.rg-btn.pl-order { flex: none; margin-left: 4px; text-decoration: none; background: transparent !important; border: 1px solid var(--rd-line-3) !important; color: var(--rd-text) !important; }
html body .content .pl-row a.rg-btn.pl-order:hover { border-color: var(--rd-green) !important; color: var(--rd-green-text) !important; }
html body .content .pl-row strong { margin-left: auto; }
html body .content .bo-weeks { display: flex; align-items: flex-end; gap: 18px; margin-top: 12px; flex-wrap: wrap; }
html body .content .bo-weeks .pm-field { margin: 0; }
html body .content .pm-field select {
    display: block; width: 100%; height: 40px; padding: 0 10px; background: var(--rd-inset); border: 1px solid var(--rd-line); border-radius: 8px;
    color: var(--rd-text); font-size: 14px;
}
html body .content .pm-field input[type=file] { height: auto; padding: 9px 12px; }
html body .content .bo-total { margin: 0 0 9px; font-size: 14px; color: var(--rd-muted); }
html body .content .bo-total b { font-size: 18px; color: var(--rd-text); margin-left: 4px; }
html body .content .bo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
html body .content .bo-sum { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 14px; padding: 12px; border: 1px solid var(--rd-line); border-radius: 10px; background: var(--rd-surface-2); }
html body .content .bo-sum img, html body .content .bo-prev img { max-width: 100%; height: auto; max-height: 120px; border-radius: 6px; display: block; }
html body .content .bo-sum b { display: block; font-size: 14px; color: var(--rd-text); }
html body .content .bo-sum em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); word-break: break-all; }
html body .content .bo-prev { margin: 0 0 12px; padding: 10px; border-radius: 8px; background: var(--rd-inset); border: 1px dashed var(--rd-line-2); }
html body .content .pm-ban { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 110px 100px 90px; }
html body .content .bo-page a.rg-btn { text-decoration: none; }
html body .content .bo-page .pm-actions a.rg-btn:not(.rg-btn-primary) { background: transparent !important; border: 1px solid var(--rd-line-3) !important; color: var(--rd-text) !important; }
html body .content .pm-title .ad-pill { margin-left: 8px; vertical-align: 2px; }

/* elsodleges gomb az arlistan es a rendelo oldalakon: mindig kitoltott zold */
html body .content .pl-page a.rg-btn.rg-btn-primary, html body .content .bo-page a.rg-btn.rg-btn-primary, html body .content .bo-page button.rg-btn.rg-btn-primary,
html body .content .pm-page button.rg-btn.rg-btn-primary, html body .content .pm-page a.rg-btn.rg-btn-primary {
    background: var(--rd-green) !important; border: 1px solid var(--rd-green) !important; color: var(--rd-green-ink) !important; font-weight: 700; text-decoration: none;
}
html body .content .pm-page .rg-btn.rg-btn-primary:hover { filter: brightness(1.08); }

/* ---------- PayPal-gomb, dijbekero-link ---------- */
html body .content .pp-box { margin: 14px 0 0; max-width: 420px; }
html body .content .pp-note { font-size: 12px; line-height: 1.45; color: var(--rd-muted); margin: 8px 0 0; }
html body .content .pp-err { font-size: 13px; padding: 9px 12px; border-radius: 8px; margin: 10px 0 0; background: var(--rd-err-bg); border: 1px solid var(--rd-err-border); color: var(--rd-err-text); }
html body .content .pp-err[hidden] { display: none; }
html body .content .pp-done, html body .content .pm-ok { font-size: 13px; line-height: 1.5; color: var(--rd-green-soft); background: var(--rd-green-bg); border: 1px solid var(--rd-green-border); border-radius: 10px; padding: 10px 12px; }
html body .content .pp-paid { color: var(--rd-green-soft); }
html body .content .pm-docs { margin: 14px 0 0; }
html body .content .pm-docs a.rg-btn, html body .content .pm-actions a.rg-btn:not(.rg-btn-primary) { text-decoration: none; background: transparent !important; border: 1px solid var(--rd-line-3) !important; color: var(--rd-text) !important; }
html body .content .pm-docs a.rg-btn:hover { border-color: var(--rd-green) !important; }
html body .content .pm-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; color: var(--rd-muted); margin: 10px 0 0; }
html body .content .pm-o-info a { color: var(--rd-green-text); }

/* ---------- ASZF oldal, elfogadas, "Hirdetes" jelzes ---------- */
html body .content .as-page { max-width: 860px; }
html body .content .as-card h2 { font-size: 15px; font-weight: 700; color: var(--rd-text); margin: 22px 0 8px; padding: 0; border: 0; background: none; text-transform: none; }
html body .content .as-card p, html body .content .as-card li { font-size: 13.5px; line-height: 1.6; color: var(--rd-text-2); }
html body .content .as-card ul, html body .content .as-card ol { padding-left: 20px; margin: 0 0 10px; }
html body .content .as-card a { color: var(--rd-green-text); }
html body .content .as-miss { color: var(--rd-err-text); font-style: normal; }
html body .content .pm-aszf { align-items: flex-start; margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--rd-text-2); }
html body .content .pm-aszf input { margin: 3px 0 0; flex: none; width: 16px; height: 16px; accent-color: var(--rd-green); }
html body .content .pm-aszf a { color: var(--rd-green-text); }
/* fizetett banner sora a listaban: kis "Hirdetes" jelzes (a reklamnak felismerhetonek kell lennie) */
html body .lista tr.lista_banner_sor > td:has(a[href*="jump.cgi"]) { position: relative; }
html body .lista tr.lista_banner_sor > td:has(a[href*="jump.cgi"]):before {
    content: "Hirdetés"; position: absolute; right: 14px; top: 0; z-index: 2; font-size: 9px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    color: var(--rd-muted); background: var(--rd-surface); border: 1px solid var(--rd-line); border-radius: 4px; padding: 1px 6px; line-height: 1.5;
}

/* ---------- Grafikonok igenylese oldal ---------- */
html body .content .gf-page { max-width: none; }
html body .content .gf-gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html body .content .gf-gets > div { padding: 14px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-surface-2); }
html body .content .gf-ic { display: flex; width: 30px; height: 30px; border-radius: 8px; background: var(--rd-green); align-items: center; justify-content: center; margin-bottom: 10px; }
html body .content .gf-ic .rd-ic { width: 15px; height: 15px; color: var(--rd-green-ink); stroke-width: 3; }
html body .content .gf-gets b { display: block; font-size: 14px; color: var(--rd-text); margin-bottom: 4px; }
html body .content .gf-gets p { font-size: 13px; line-height: 1.5; color: var(--rd-muted); margin: 0; }
html body .content .gf-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
html body .content .gf-opt { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-surface-2); min-width: 0; }
html body .content .gf-opt > b { font-size: 14px; color: var(--rd-text); }
html body .content .gf-opt > b em { font-style: normal; font-weight: 400; color: var(--rd-muted); margin-left: 6px; }
html body .content .gf-prev { display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 12px; border-radius: 8px; background: var(--rd-inset); border: 1px dashed var(--rd-line-2); }
html body .content .gf-prev img { max-width: 100%; height: auto; }
html body .content textarea.gf-code {
    width: 100%; max-width: none; min-height: 0; padding: 10px 12px; background: var(--rd-bg); border: 1px solid var(--rd-line-2); border-radius: 8px; color: var(--rd-text-2);
    font: 12px/1.5 Consolas, Menlo, monospace; resize: vertical; box-shadow: none; outline: none; word-break: break-all;
}
html body .content .gf-opt .rg-btn { align-self: flex-start; }
html body .content .gf-steps { margin: 0; padding-left: 20px; }
html body .content .gf-steps li { font-size: 14px; line-height: 1.6; color: var(--rd-text-2); margin-bottom: 6px; }
html body .content .gf-page a:not(.rg-btn) { color: var(--rd-green-text); }
@media (max-width: 991px) { html body .content .gf-gets, html body .content .gf-opts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- bannercsomagok: megjelenesi gyakorisag ---------- */
html body .content .pl-freq { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--rd-muted); flex-wrap: wrap; }
html body .content .pl-freq > i { flex: none; width: 70px; height: 6px; border-radius: 3px; background: var(--rd-tile-2); overflow: hidden; display: block; }
html body .content .pl-freq > i > u { display: block; height: 100%; background: var(--rd-green); border-radius: 3px; text-decoration: none; }
html body .content .pl-freq > b { display: inline !important; font-size: 12px !important; font-weight: 700; color: var(--rd-green-soft) !important; }
html body .content .pl-how { background: var(--rd-inset); border: 1px solid var(--rd-line); border-radius: 10px; padding: 10px 12px; }

/* egyetlen fizetesi mod: tajekoztato doboz, nem valasztogomb */
html body .content .pm-opt.pm-opt-single { cursor: default; border-color: var(--rd-line); background: var(--rd-surface-2); padding-left: 16px; position: relative; }
html body .content .pm-opt.pm-opt-single:hover { border-color: var(--rd-line); }
html body .content .pm-opt.pm-opt-single:before { content: ""; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--rd-green) center / 16px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c1400' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }
html body .content .pm-opt em { line-height: 1.45; margin-top: 2px; }

/* ---------- szamlazasi adatok racsa ---------- */
html body .content .pm-bill { display: grid; grid-template-columns: 130px minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px 12px; margin-top: 10px; }
html body .content .pm-bill .pm-field { margin: 0; max-width: none; }
html body .content .pm-bill .pm-b-name { grid-column: 1 / -1; }
html body .content .pm-bill .pm-b-country { grid-column: 1 / 3; }
html body .content .pm-bill .pm-b-tax { grid-column: 3 / 4; }
html body .content .pm-bill .pm-b-phone { grid-column: 1 / -1; max-width: 420px; }
html body .content .pm-field input[type=tel], html body .content .pm-field input[type=email] {
    display: block; width: 100%; height: 40px; padding: 0 12px; background: var(--rd-inset); border: 1px solid var(--rd-line); border-radius: 8px; color: var(--rd-text); font-size: 14px; box-shadow: none; outline: 0;
}
html body .content .bo-intro { font-size: 14px; }
@media (max-width: 767px) {
    html body .content .pm-bill { grid-template-columns: 110px minmax(0, 1fr); }
    html body .content .pm-bill .pm-b-street, html body .content .pm-bill .pm-b-country, html body .content .pm-bill .pm-b-tax { grid-column: 1 / -1; }
}

/* ---------- valasztogombok: sajat, kerek jeloles (a bongeszo szogletes fokuszkerete nelkul) ---------- */
html body .content .pm-opt input[type=radio] {
    -webkit-appearance: none; appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 2px solid var(--rd-line-3);
    background: transparent; outline: none !important; box-shadow: none; cursor: pointer; transition: border-color .12s, box-shadow .12s;
}
html body .content .pm-opt input[type=radio]:checked { border-color: var(--rd-green); background: radial-gradient(circle, var(--rd-green) 0 42%, transparent 46%); }
html body .content .pm-opt input[type=radio]:focus-visible { box-shadow: 0 0 0 3px rgba(111, 196, 1, .3); }

/* ---------- fiok a megrendeles melle, ujrarendeles, profil: megrendeleseim ---------- */
html body .content .bo-mkacc { margin: 16px 0 0; padding: 14px 16px; border: 1px dashed var(--rd-line-2); border-radius: 10px; background: var(--rd-inset); }
html body .content .bo-mkacc .pm-check { margin: 0; color: var(--rd-text-2); align-items: flex-start; }
html body .content .bo-mkacc .pm-check b { color: var(--rd-text); }
html body .content .bo-mkacc .pm-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--rd-green); flex: none; }
html body .content .bo-accpw { display: none; margin: 12px 0 0 24px; }
html body .content .bo-mkacc:has(#bo-mkacc:checked) .bo-accpw { display: block; }
html body .content .pm-field input[type=password] { display: block; width: 100%; height: 40px; padding: 0 12px; background: var(--rd-bg); border: 1px solid var(--rd-line); border-radius: 8px; color: var(--rd-text); font-size: 14px; box-shadow: none; outline: 0; }
html body .content .bo-acclogin { font-size: 12px; color: var(--rd-muted); margin: 10px 0 0 24px; }
html body .content .bo-acclogin a, html body .content .bo-acc a { color: var(--rd-green-text); }
html body .content .bo-acc { margin: 16px 0 0; }
html body .content .bo-reimg { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; padding: 10px; border: 1px solid var(--rd-line); border-radius: 8px; background: var(--rd-inset); }
html body .content .bo-reimg img { max-height: 46px; max-width: 55%; border-radius: 4px; }
html body .content .bo-reimg span { font-size: 12px; color: var(--rd-muted); line-height: 1.4; }
html body .content .pf-ord { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rd-line); flex-wrap: wrap; }
html body .content .pf-ord:first-child { border-top: 0; }
html body .content .pf-ord strong { flex: none; font-size: 15px; color: var(--rd-text); }
html body .content .pf-ord-act { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 6px; }
html body .content .pf-ord-act a.rg-btn { padding: 6px 12px; font-size: 12px; }

/* biztonsagi ellenorzo kod a megrendelo urlapon: a kep ugyanolyan magas, mint a mezo, es egy vonalban all vele */
html body .pm-cap { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin: 6px 0 16px; }
html body .pm-cap > img { display: block; height: 44px !important; width: auto !important; }
html body .pm-cap > .pm-field { flex: 1 1 240px; max-width: 420px; margin: 0; }

/* radios felulet: leallas-riasztas, a csatornak allapota */
html body .al-list { display: flex; flex-direction: column; }
html body .al-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 0; border-top: 1px solid var(--rd-line); }
html body .al-row:first-child { border-top: 0; padding-top: 2px; }
html body .al-ch { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body .al-ch > span { font-size: 13px; color: var(--rd-muted); font-family: ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
html body .al-st { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--rd-muted); }
html body .al-mail { margin-top: 10px; }

/* radios felulet: ertesitesek masodik szakasza, es a kiteheto jelveny elonezete */
html body .al-h2 { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rd-line); }
html body .bd-prev { display: flex; align-items: center; justify-content: center; padding: 22px 16px; border-radius: 10px; border: 1px solid var(--rd-line-2); margin: 0 0 14px; }
html body .bd-prev.bd-dark { background: #0b0c0e; }
html body .bd-prev.bd-light { background: #ffffff; }
html body .bd-prev img { display: block; height: 24px; width: auto; }
html body textarea.bd-code {
    display: block; width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--rd-line-2); background: var(--rd-inset); color: var(--rd-text);
    font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; line-height: 1.5; resize: vertical;
}
html body .content .al-page .pm-check { color: var(--rd-text); font-size: 14px; margin: 12px 0 0; }
html body .content .al-page .pm-check input[type=checkbox] { width: 18px !important; height: 18px; flex: none; margin: 0; accent-color: var(--rd-green); }

/* admin: levelnaplo */
html body .lm-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; }
html body .lm-filter input[type=text] {
    flex: 1 1 260px; max-width: 420px; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--rd-line-2); background: var(--rd-inset); color: var(--rd-text); font-size: 14px;
}
html body .content .lm-filter .pm-check { margin: 0; color: var(--rd-text-2); }
html body .content .lm-filter .pm-check input[type=checkbox] { width: 16px !important; height: 16px; flex: none; margin: 0; accent-color: var(--rd-green); }
html body .lm-row { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--rd-line); }
html body .lm-row:first-child { border-top: 0; padding-top: 2px; }
html body .lm-when { flex: none; width: 128px; font-size: 12px; color: var(--rd-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
html body .lm-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html body .lm-main > b { font-size: 14px; color: var(--rd-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .lm-main > em { font-style: normal; font-size: 12px; color: var(--rd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .lm-st { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; max-width: 240px; text-align: right; }
html body .lm-st > small { font-size: 11px; color: var(--rd-muted); }
@media (max-width: 600px) {
    html body .lm-row { flex-wrap: wrap; gap: 4px 10px; }
    html body .lm-when { width: auto; }
    html body .lm-main { flex: 1 1 100%; order: 3; }
    html body .lm-st { margin-left: auto; }
}
/* a jelolonegyzetek ne nyuljanak szet a kartyakon (az altalanos mezostilus 100% szelesseget adna nekik) */
html body .content .pm-page .pm-check input[type=checkbox] { width: 16px !important; height: 16px; flex: none; margin: 0; accent-color: var(--rd-green); }

/* ================= fiok a fejlec jobb felso sarkaban + felugro belepes + profil oldal ================= */
html body > header.container { position: relative; }
html body > header.container .rd-acct { margin-left: auto; position: relative; flex: none; }
html body .rd-acct-btn {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--rd-line-2);
    background: var(--rd-surface); color: var(--rd-text); font-size: 14px; font-weight: 700; cursor: pointer; line-height: 1;
}
html body .rd-acct-btn:hover { border-color: var(--rd-line-3); background: var(--rd-surface-2); }
html body .rd-acct-btn:focus-visible { outline: 2px solid var(--rd-green); outline-offset: 2px; }
html body .rd-acct-login { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); }
html body .rd-acct-login:hover { background: var(--rd-green); border-color: var(--rd-green); filter: brightness(1.08); }
html body .rd-acct-login .rd-ic { color: var(--rd-green-ink); stroke-width: 2.4; }
html body .rd-acct-user { padding: 0 12px 0 5px; }
html body .rd-acct-av {
    width: 30px; height: 30px; border-radius: 50%; background: var(--rd-green); color: var(--rd-green-ink); display: flex; align-items: center;
    justify-content: center; font-size: 14px; font-weight: 700; flex: none;
}
html body .rd-acct-name { max-width: 150px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .rd-acct-caret { width: 7px; height: 7px; border-right: 2px solid var(--rd-muted); border-bottom: 2px solid var(--rd-muted); transform: rotate(45deg); margin: -3px 2px 0 2px; }
html body .rd-acct-menu {
    display: none; position: absolute; right: 0; top: 48px; z-index: 1500; min-width: 240px; padding: 6px; background: var(--rd-surface);
    border: 1px solid var(--rd-line-2); border-radius: 12px; box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
}
html body .rd-acct.rd-open .rd-acct-menu { display: block; }
html body .rd-acct-head { padding: 10px 12px 10px; border-bottom: 1px solid var(--rd-line); margin-bottom: 6px; }
html body .rd-acct-head b { display: block; font-size: 14px; color: var(--rd-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .rd-acct-head em { display: block; font-style: normal; font-size: 12px; color: var(--rd-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .rd-acct-menu a, html body .rd-acct-out {
    display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--rd-text); text-decoration: none;
    background: transparent; border: 0; cursor: pointer; font-weight: 400;
}
html body .rd-acct-menu a:hover, html body .rd-acct-out:hover { background: var(--rd-surface-2); color: var(--rd-strong); }
html body .rd-acct-out { color: var(--rd-err-text); border-top: 1px solid var(--rd-line); border-radius: 0 0 8px 8px; margin-top: 6px; padding-top: 11px; }

/* felugro belepes */
html body .rd-login-ov {
    position: fixed; inset: 0; z-index: 3000; background: rgba(5, 6, 7, .72); display: flex; align-items: flex-start; justify-content: center;
    padding: 9vh 16px 24px; overflow-y: auto;
}
html body .rd-login-card {
    position: relative; width: 100%; max-width: 400px; padding: 26px 26px 20px; background: var(--rd-surface); border: 1px solid var(--rd-line-2);
    border-radius: 16px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}
html body .rd-login-x {
    position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 0;
}
html body .rd-login-x:hover { background: var(--rd-surface-2); }
html body .rd-login-x .rd-ic { width: 18px; height: 18px; color: var(--rd-text-2); }
html body .rd-login-title { font-size: 21px; font-weight: 700; color: var(--rd-text); margin: 0 0 6px; padding: 0; background: none; border: 0; text-shadow: none; }
html body .rd-login-lead { font-size: 13px; line-height: 1.5; color: var(--rd-muted); margin: 0 0 18px; padding-right: 20px; }
html body .rd-login-form { display: flex; flex-direction: column; margin: 0 0 16px; }
html body .rd-login-form label { font-size: 13px; font-weight: 700; color: var(--rd-text-2); margin: 0 0 6px; }
html body .rd-login-form input {
    width: 100%; height: 44px; padding: 0 12px; margin: 0 0 14px; background: var(--rd-bg); border: 1px solid var(--rd-line-2); border-radius: 8px;
    color: var(--rd-text); font-size: 15px; box-shadow: none; outline: none;
}
html body .rd-login-form input:focus { border-color: var(--rd-green); box-shadow: 0 0 0 3px rgba(111, 196, 1, .18); }
html body .rd-login-go {
    height: 46px; margin-top: 4px; border: 0; border-radius: 8px; background: var(--rd-green); color: var(--rd-green-ink); font-size: 15px;
    font-weight: 700; cursor: pointer;
}
html body .rd-login-go:hover { filter: brightness(1.08); }
html body .rd-login-go[disabled] { opacity: .6; cursor: default; }
html body .rd-login-err { font-size: 13px; line-height: 1.4; padding: 9px 12px; border-radius: 8px; margin: 0 0 14px; background: var(--rd-err-bg); border: 1px solid var(--rd-err-border); color: var(--rd-err-text); }
html body .rd-login-err[hidden] { display: none; }
html body .rd-login-links p { font-size: 13px; line-height: 1.5; color: var(--rd-muted); margin: 0 0 4px; }
html body .rd-login-links a { color: var(--rd-green-text); text-decoration: none; }
html body .rd-login-links a:hover { text-decoration: underline; }
html body .rd-login-links .rd-login-radio { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rd-line); }

/* profil oldal */
html body .content .pf-head { display: flex; align-items: center; gap: 14px; }
html body .content .pf-avatar {
    flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--rd-green); color: var(--rd-green-ink); display: flex;
    align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
html body .content .pf-who { flex: 1; min-width: 0; display: block; }
html body .content .pf-who b { display: block; font-size: 16px; font-weight: 700; color: var(--rd-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .pf-who em { display: block; font-style: normal; font-size: 13px; color: var(--rd-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .content .pf-acts { flex: none; }
html body .content .pf-page a.rg-btn, html body .content .pf-page button.rg-btn { text-decoration: none; }
html body .content .pf-page a.rg-btn:not(.rg-btn-primary), html body .content .pf-page button.rg-btn:not(.rg-btn-primary) {
    background: transparent !important; border: 1px solid var(--rd-line-3) !important; color: var(--rd-text) !important;
}
html body .content .pf-page a.rg-btn:not(.rg-btn-primary):hover, html body .content .pf-page button.rg-btn:not(.rg-btn-primary):hover { border-color: var(--rd-green) !important; }
html body .content .pf-station { display: flex; align-items: center; gap: 12px; }
html body .content .pf-logo { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--rd-tile) center / contain no-repeat; }
html body .content .pf-prom { margin: 14px 0 0; }
html body .content .pf-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
html body .content .pf-count { display: inline-block; font-size: 12px; font-weight: 700; color: var(--rd-text-2); background: var(--rd-tile); border-radius: 999px; padding: 2px 9px; margin-left: 6px; vertical-align: 2px; }
html body .content .pf-favs { display: block; }
html body .content a.pf-fav { display: flex; align-items: center; gap: 12px; padding: 9px 8px; border-top: 1px solid var(--rd-line); text-decoration: none; border-radius: 0; }
html body .content a.pf-fav:first-child { border-top: 0; }
html body .content a.pf-fav:hover { background: var(--rd-surface-2); }
html body .content a.pf-fav .pf-logo { width: 40px; height: 40px; }
html body .content a.pf-fav b { font-size: 14px; }
html body .content a.pf-fav em { font-size: 12px; }
html body .content a.pf-fav strong { flex: none; font-size: 15px; font-weight: 700; color: var(--rd-text); font-variant-numeric: tabular-nums; }
html body .content a.pf-fav strong.pf-off { color: var(--rd-muted); }
html body .content .pf-out { margin: 4px 0 0; }
html body .content .pf-out button.rg-btn:hover { border-color: var(--rd-red) !important; color: var(--rd-err-text) !important; }

@media (max-width: 991px) {
    /* mobilon a logo kozepen marad, a fiok gombja a jobb szelre kerul, csak ikonnal */
    html body > header.container .rd-acct { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; }
    html body .rd-acct-login { width: 40px; padding: 0; justify-content: center; }
    html body .rd-acct-login span { display: none; }
    html body .rd-acct-user { padding: 0 5px; }
    html body .rd-acct-name, html body .rd-acct-caret { display: none; }
    html body .rd-acct-menu { top: 46px; }
    html body .content .pf-head { flex-wrap: wrap; }
}

/* profil: elsodleges gomb mindig zold, sotet felirattal */
html body .content .pf-page a.rg-btn.rg-btn-primary, html body .content .pf-page button.rg-btn.rg-btn-primary {
    background: var(--rd-green) !important; border: 1px solid var(--rd-green) !important; color: var(--rd-green-ink) !important; font-weight: 700;
}
html body .content .pf-page a.rg-btn.rg-btn-primary:hover, html body .content .pf-page button.rg-btn.rg-btn-primary:hover { filter: brightness(1.08); }
html body .content .pf-page .pm-actions a:not(.rg-btn) { color: var(--rd-green-text); }

/* a lenyilo fiokmenu a menusor es a tartalom folott legyen */
html body > header.container { z-index: 1600; }
@media (max-width: 991px) {
    html body .content .pf-head .pf-who { flex: 1 1 60%; }
    html body .content .pf-head .pf-acts { flex: 1 1 100%; }
    html body .content .pf-head .pf-acts .rg-btn { width: 100%; justify-content: center; }
}
html body .content .pm-stats.pf-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* tema-kapcsolo a fejlecben, a fiok gombja elott */
html body > header.container .rd-theme-btn {
    margin-left: auto; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rd-line-2); background: var(--rd-surface);
    display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
}
html body > header.container .rd-theme-btn + .rd-acct { margin-left: 0; }
html body > header.container .rd-theme-btn:hover { border-color: var(--rd-line-3); background: var(--rd-surface-2); }
html body > header.container .rd-theme-btn:focus-visible { outline: 2px solid var(--rd-green); outline-offset: 2px; }
html body > header.container .rd-theme-btn .rd-ic { width: 18px; height: 18px; color: var(--rd-text-2); }
@media (max-width: 991px) {
    html body > header.container .rd-theme-btn { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); margin: 0; }
}

/* ---------- suti-hozzajarulas savja ---------- */
html body .rd-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2500; padding: 14px 16px; background: var(--rd-surface); border-top: 1px solid var(--rd-line-2); box-shadow: 0 -10px 40px rgba(0, 0, 0, .35); }
html body .rd-cookie-in { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; gap: 20px; }
html body .rd-cookie-text { flex: 1; min-width: 0; }
html body .rd-cookie-text > b { display: block; font-size: 15px; color: var(--rd-text); margin-bottom: 3px; }
html body .rd-cookie-text p { font-size: 13px; line-height: 1.5; color: var(--rd-muted); margin: 0; }
html body .rd-cookie-text a { color: var(--rd-green-text); }
html body .rd-cookie-opts { display: none; margin-top: 10px; }
html body .rd-cookie-open .rd-cookie-opts { display: grid; gap: 6px; }
html body .rd-cookie-opts label { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; font-weight: 400; color: var(--rd-muted); cursor: pointer; }
html body .rd-cookie-opts label b { color: var(--rd-text); margin-right: 6px; }
html body .rd-cookie-opts input { margin: 2px 0 0; width: 16px; height: 16px; accent-color: var(--rd-green); flex: none; }
html body .rd-cookie-btns { flex: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 430px; }
html body .rd-cookie-btns button { height: 40px; padding: 0 16px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; border: 1px solid var(--rd-line-3); background: transparent; color: var(--rd-text); }
html body .rd-cookie-btns button:hover { border-color: var(--rd-green); }
/* az elfogadas es az elutasitas egyforma sulyu gomb */
html body .rd-cookie-btns .rd-ck-all, html body .rd-cookie-btns .rd-ck-none { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink); }
html body .rd-cookie-btns .rd-ck-save { display: none; }
html body .rd-cookie-open .rd-ck-save { display: inline-block; }
html body .rd-cookie-open .rd-ck-more { display: none; }
html body:has(.rd-cookie) #audio_player { z-index: 10; }
@media (max-width: 767px) {
    html body .rd-cookie-in { flex-direction: column; align-items: stretch; gap: 12px; }
    html body .rd-cookie-btns { max-width: none; }
    html body .rd-cookie-btns button { flex: 1 1 45%; }
}

/* ================= radios felulet (/msm): allomas szerkesztese, stream szerverek, jelszocsere, allomaslogo =================
   A 60-admin (ad-), 64-admin-reg-logs (rg-) es 71-promo (pm-) osztalyaira epul; itt csak az van, ami azokbol hianyzik.
   Minden szabaly az .ms-page ala tartozik, igy mas oldalt nem erint. */

/* kartyak kozti tavolsag (a kartya sokszor maga a <form>, aminek az altalanos urlap-szabaly nullazza a margojat) */
html body .content .ms-page .pm-card { margin: 0 0 14px; }
html body .content .ms-page .pm-card:last-child { margin-bottom: 0; }
html body .content .ms-page form.pm-actions { margin: 18px 0 0; }
html body .content .ms-page .pm-lead:last-child { margin-bottom: 0; }

/* visszajelzes: a hibaszin mindket temaban olvashato legyen */
html body .content .ad-page.pm-page.ms-page .ad-flash { line-height: 1.5; }
html body .content .ad-page.pm-page.ms-page .ad-flash.rg-err { color: var(--rd-red); font-weight: 700; }
html body .content .ms-page .ms-result { font-size: 14px; line-height: 1.6; color: var(--rd-text-2); margin: 0; overflow-wrap: anywhere; }

/* mezok: segedszoveg a mezo alatt, tiltott mezo */
html body .content .ms-page .pm-field > em { display: block; font-style: normal; font-size: 12px; line-height: 1.45; color: var(--rd-muted); margin: 6px 0 0; }
html body .content .ms-page .pm-field input:disabled { opacity: .6; cursor: not-allowed; }
html body .content .ms-page .ms-narrow { max-width: 420px; }

/* nem szerkesztheto adatok (e-mail, tipus, kiemelt allapot) */
html body .content .ms-page .ms-facts { margin-top: 14px; }
html body .content .ms-page .ms-facts dd { min-width: 0; overflow-wrap: anywhere; }
html body .content .ms-page .ms-facts dd em { margin-top: 5px; line-height: 1.45; }
html body .content .ms-page .ms-facts dd em b { color: var(--rd-text); }
html body .content .ms-page .ms-facts i.ad-pill { display: inline-block; }

/* stream szerverek sorai */
html body .content .ms-page .ms-srvs { display: flex; flex-direction: column; }
html body .content .ms-page .ms-srv { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 20px; padding: 14px 0; border-top: 1px solid var(--rd-line); }
html body .content .ms-page .ms-srv:first-child { border-top: 0; padding-top: 2px; }
html body .content .ms-page .ms-srv:last-child { padding-bottom: 2px; }
html body .content .ms-page .ms-srv-main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
html body .content .ms-page .ms-srv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; line-height: 1.3; color: var(--rd-text); }
html body .content .ms-page .ms-srv-head > b { font-variant-numeric: tabular-nums; }
html body .content .ms-page .ms-srv-kind { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--rd-muted); }
html body .content .ms-page .ms-srv-kind img { display: block; height: 18px; width: auto; max-width: none; border: 0; background: none; }
html body .content .ms-page .ms-srv-head i.ad-pill { display: inline-block; }
html body .content .ms-page .ms-srv-addr { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 13px; line-height: 1.5; color: var(--rd-muted); }
html body .content .ms-page .ms-srv-addr > span { min-width: 0; overflow-wrap: anywhere; }
html body .content .ms-page .ms-srv-addr b { color: var(--rd-text); font-weight: 600; }
html body .content .ms-page .ms-srv-links { font-size: 12px; line-height: 1.55; color: var(--rd-muted); }
html body .content .ms-page .ms-srv-links > span { display: block; overflow-wrap: anywhere; }
html body .content .ms-page .ms-srv-act { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
html body .content .ms-page .ms-srv-act .ms-ord { flex: 0 0 96px; width: 96px; margin: 0; }
html body .content .ms-page .ms-ord select { height: 40px; padding: 0 10px; cursor: pointer; }
html body .content .ms-page .ms-srv-act .rg-btn { min-height: 40px; }

/* masodlagos (semleges) es torlo gomb */
html body .content .ms-page a.rg-btn, html body .content .ms-page a.rg-btn:hover, html body .content .ms-page a.rg-btn:focus { text-decoration: none; }
html body .content .ms-page .rg-btn.ms-btn { background: transparent !important; border: 1px solid var(--rd-line-3) !important; color: var(--rd-text) !important; font-weight: 600; }
html body .content .ms-page .rg-btn.ms-btn:hover { border-color: var(--rd-green) !important; color: var(--rd-green-text) !important; }
html body .content .ms-page button.rg-btn.rg-btn-del { background: transparent; }

/* allomaslogo */
html body .content .ms-page .ms-logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
html body .content .ms-page .ms-logo-row img { flex: none; display: block; width: 64px; height: 64px; object-fit: contain; border-radius: 10px; border: 1px solid var(--rd-line); background: var(--rd-inset); }
html body .content .ms-page .ms-list { margin: 0; padding-left: 20px; }
html body .content .ms-page .ms-list li { font-size: 13.5px; line-height: 1.6; color: var(--rd-text-2); margin: 0 0 4px; }
html body .content .ms-page .pm-sub:first-child { margin-top: 0; }

@media (max-width: 767px) {
    html body .content .ms-page .ms-srv-main { flex-basis: 100%; }
    html body .content .ms-page .ms-srv-act { flex: 1 1 100%; }
    html body .content .ms-page .ms-srv-act .rg-btn { flex: 1 1 0; }
    html body .content .ms-page .ms-narrow { max-width: none; }
    html body .content .ms-page .pm-actions > .rg-btn-primary { flex: 1 1 100%; }
    html body .content .ms-page .pm-actions > span { flex-basis: 100%; }
}

/* ================= slagerlista (chart.cgi) es a fooldali / adatlapi dobozai ================= */
html body .ch-page { max-width: 860px; }
html body .ch-lead { font-size: 15px; line-height: 1.55; color: var(--rd-text-2); margin: 0 0 16px; }
html body .ch-meta { font-size: 12px; color: var(--rd-muted); margin: 0 0 12px; }
html body .ch-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
html body .ch-tabs > a, html body .ch-tabs > a:hover, html body .ch-tabs > a:focus {
    padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rd-line-2); background: var(--rd-surface); color: var(--rd-text-2);
    font-size: 13px; font-weight: 700; text-decoration: none;
}
html body .ch-tabs > a:hover { border-color: var(--rd-line-3); color: var(--rd-text); }
html body .ch-tabs > a.ch-on, html body .ch-tabs > a.ch-on:hover, html body .ch-tabs > a.ch-on:focus { background: var(--rd-green); border-color: var(--rd-green); color: var(--rd-green-ink) !important; }
html body .ch-weeks { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; font-size: 13px; font-weight: 400; color: var(--rd-muted); white-space: nowrap; }
html body .ch-weeks select {
    width: auto; height: 36px; padding: 0 30px 0 12px; border-radius: 999px; border: 1px solid var(--rd-line-2); background-color: var(--rd-surface); color: var(--rd-text);
    font-size: 13px;
}
html body .ch-weeks.ch-on select { border-color: var(--rd-green); }

html body .ch-list { border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-surface); overflow: hidden; }
html body .ch-row { border-top: 1px solid var(--rd-line); }
html body .ch-row:first-child { border-top: 0; }
html body .ch-row > summary { display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer; list-style: none; }
html body .ch-row > summary::-webkit-details-marker { display: none; }
html body .ch-row > summary:hover { background: var(--rd-surface-2); }
html body .ch-n { flex: none; width: 30px; text-align: right; font-size: 16px; font-weight: 700; color: var(--rd-dim); font-variant-numeric: tabular-nums; }
html body .ch-top .ch-n { color: var(--rd-green-text); font-size: 19px; }
html body .ch-mv { flex: none; width: 44px; text-align: center; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
html body .ch-up { color: var(--rd-green-text); }
html body .ch-down { color: var(--rd-red); }
html body .ch-same { color: var(--rd-dim); }
html body .ch-new { color: var(--rd-green-ink); background: var(--rd-green); border-radius: 999px; padding: 2px 0; }
html body .ch-song { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html body .ch-song > b { font-size: 15px; font-weight: 700; color: var(--rd-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .ch-song > span { font-size: 13px; color: var(--rd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .ch-num { flex: none; width: 76px; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
html body .ch-num > b { font-size: 15px; font-weight: 700; color: var(--rd-text); font-variant-numeric: tabular-nums; }
html body .ch-num > span { font-size: 11px; color: var(--rd-muted); }
html body .ch-num-s { width: 56px; }
html body .ch-chev { flex: none; width: 16px; height: 16px; color: var(--rd-dim); transition: transform .15s; }
html body .ch-row[open] .ch-chev { transform: rotate(180deg); }
html body .ch-st { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 14px 14px 56px; }
html body .ch-st-t { flex: 1 1 100%; font-size: 12px; color: var(--rd-muted); margin-bottom: 2px; }
html body .ch-st > a, html body .ch-st > a:hover, html body .ch-st > a:focus {
    display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--rd-line-2); background: var(--rd-inset);
    color: var(--rd-text-2); font-size: 12px; text-decoration: none;
}
html body .ch-st > a:hover { border-color: var(--rd-green); color: var(--rd-text); }
html body .ch-st > a > i { font-style: normal; color: var(--rd-muted); font-variant-numeric: tabular-nums; }
html body .ch-more { font-size: 12px; color: var(--rd-muted); }
html body .ch-empty { padding: 30px 16px; text-align: center; color: var(--rd-muted); font-size: 14px; }
html body .ch-how { margin: 18px 0 0; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-surface); padding: 0 16px; }
html body .ch-how > summary { padding: 13px 0; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--rd-text-2); }
html body .ch-how p, html body .ch-how li { font-size: 13px; line-height: 1.6; color: var(--rd-muted); }
html body .ch-how ul { padding-left: 18px; margin: 0 0 10px; }
html body .ch-how a { color: var(--rd-green-text); text-decoration: underline; }

/* kis doboz (fooldal, adatlap): rovid lista */
html body .ch-box { margin: 26px 0 0; border: 1px solid var(--rd-line); border-radius: 12px; background: var(--rd-surface); padding: 14px 16px; }
html body .ch-box-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 8px; }
html body .ch-box-h > b { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--rd-muted); }
html body .ch-box-h > a, html body .ch-box-h > a:hover { font-size: 13px; font-weight: 700; color: var(--rd-green-text); text-decoration: none; }
html body .ch-box ol { list-style: none; margin: 0; padding: 0; }
html body .ch-box li { display: flex; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--rd-line); }
html body .ch-box li:first-child { border-top: 0; }
html body .ch-box li > i { flex: none; width: 20px; text-align: right; font-style: normal; font-weight: 700; color: var(--rd-green-text); font-variant-numeric: tabular-nums; }
html body .ch-box li > span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--rd-text); }
html body .ch-box li > span > em { font-style: normal; color: var(--rd-muted); }
html body .ch-box li > u { flex: none; text-decoration: none; font-size: 12px; color: var(--rd-muted); font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
    html body .ch-row > summary { gap: 8px; padding: 10px 10px; }
    html body .ch-n { width: 24px; }
    html body .ch-mv { width: 36px; }
    html body .ch-num-s, html body .ch-chev { display: none; }
    html body .ch-num { width: 58px; }
    html body .ch-st { padding-left: 14px; }
    html body .ch-weeks { margin-left: 0; flex: 1 1 100%; }
}

/* admin: a slagerlista kezi szurese */
html body .cha-list { display: flex; flex-direction: column; }
html body .cha-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rd-line); }
html body .cha-row:first-child { border-top: 0; }
html body .cha-row > form { margin: 0; flex: none; }
html body .cha-n { flex: none; width: 28px; text-align: right; font-weight: 700; color: var(--rd-dim); font-variant-numeric: tabular-nums; }
html body .cha-song { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
html body .cha-song > b { font-size: 14px; color: var(--rd-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .cha-song > span { font-size: 12px; color: var(--rd-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .cha-num { flex: none; font-size: 12px; color: var(--rd-muted); white-space: nowrap; }
@media (max-width: 600px) { html body .cha-num { display: none; } }

/* ================= tema-javitasok =================
   A regi alap stiluslapbol (onlinestat.css) orokolt, fixen feher szovegek es sotet arnyekok valtozora allitva,
   hogy vilagos modban is olvashatok legyenek. Sotet modban az ertekek gyakorlatilag ugyanazok, mint eddig. */
html body a.header_logo { box-shadow: none; }
html body .lista a.allomasnev_szamcim { color: var(--rd-text); }
html body .lista .allomasnev > a, html body .lista td a { color: var(--rd-text); }
html body .dropdown > button, html body .dropdown > button > span, html body .lista_talalat_oldal button, html body .lista_talalat_oldal button span { color: var(--rd-text); }
html body .dropdown-menu > li > a { color: var(--rd-text); }
html body .dropdown-menu > li > a:hover, html body .dropdown-menu > li > a:focus { color: var(--rd-strong); background: var(--rd-tile); }
html body .content, html body .content p, html body .content td, html body .content th, html body .content li, html body .content label { color: var(--rd-text); }
html body .content h1, html body .content h2, html body .content h3, html body .content h4 { color: var(--rd-text); }
html body input[type=text], html body input[type=email], html body input[type=password], html body input[type=number], html body input[type=date],
html body select, html body textarea { color: var(--rd-text); }
html body ::placeholder { color: var(--rd-dim); opacity: 1; }
html body footer, html body footer p, html body footer a, html body footer h2 { color: var(--rd-text-2); }
html body footer a:hover { color: var(--rd-green-text); }

/* ---------- csak vilagos modban ---------- */
/* a lejatszosav sotet marad: vilagos oldalon is jol elvalik, es a hullamforma-rajz sotet hatterre keszult */
html[data-theme="light"] body #audio_player {
    --rd-bg: #0b0c0e; --rd-surface: #14171a; --rd-surface-2: #1b1f23; --rd-line: #23272c; --rd-text: #f3f5f2; --rd-muted: #9aa0a6;
    --rd-text-2: #c9cdd1; --rd-line-2: #2a2e33; --rd-tile: #1d2125; --rd-strong: #ffffff; --rd-green-text: #6fc401;
    background: #14171a; color: #f3f5f2;
}
/* arnyek helyett finom keret a feher kartyakon */
html[data-theme="light"] body .rd-acct-menu, html[data-theme="light"] body .rd-login-card { box-shadow: 0 14px 40px rgba(20, 24, 28, .18); }
html[data-theme="light"] body .rd-login-ov { background: rgba(30, 34, 38, .45); }
/* a zold arnyalatu kijeloles vilagos hatteren erosebb kell legyen */
html[data-theme="light"] body:not(:has(.ad-menu)) #ajax_sidebar .sidebar_adok_listazasa > a > div:has(> .glyphicon-check) > p { color: #1d3b00; }
html[data-theme="light"] body .lista tr.listr_tr_selected, html[data-theme="light"] body .rd-feat-card.listr_tr_selected { background: var(--rd-green-bg); }

html body .lista a.lista_collapse_link2, html body .lista a.lista_collapse_link2.allomasnev_szamcim { color: var(--rd-text) !important; }
html body .content a u, html body .content u { color: inherit; }
html body .content a.ajax_link:not(.rg-btn):not(.pf-fav):not(.rd-feat-main) { color: var(--rd-text); }
html body .rd-acct-login, html body .rd-acct-login span { color: var(--rd-green-ink) !important; }

/* ---------- fokuszkeret ----------
   A regi alap stiluslap minden kattintott linkre szogletes fokuszkeretet rajzolt, ami a lekerekitett gombok
   sarkainal feher villanaskent latszott. Egerkattintasnal nincs keret; billentyuzettel lepkedve a gomb
   sajat, lekerekitett zold keretet kap (igy a billentyuzetes hasznalat tovabbra is kovetheto). */
html body a:focus, html body button:focus, html body summary:focus { outline: none; }
html body a:focus-visible, html body button:focus-visible, html body summary:focus-visible { outline: 2px solid var(--rd-green); outline-offset: 2px; border-radius: 8px; }
html body .sidebar .sidebar_adok_listazasa > a:focus-visible { outline: none; }
html body .sidebar .sidebar_adok_listazasa > a:focus-visible > div { outline: 2px solid var(--rd-green); outline-offset: -2px; }
html body a, html body button { -webkit-tap-highlight-color: transparent; }

/* a listaban a logo ramutataskor ne tunjon el (a regi kinezet ilyenkor egy info-ikonra cserelte, ami mar nincs);
   helyette finoman kiemelodik */
html body .lista > table > tbody > tr > td.info > a:hover > div.logo_logo, html body .lista > table > tbody > tr > td.info > a:focus > div.logo_logo,
html body .lista > table > tbody > tr > td.info > a:active > div.logo_logo,
html body .lista > table > tbody > tr > td.info > a:hover > div.logo_nologo, html body .lista > table > tbody > tr > td.info > a:focus > div.logo_nologo { opacity: 1 !important; }
html body .lista > table > tbody > tr > td.info > a > div.logo_logo { transition: transform .12s, box-shadow .12s; }
html body .lista > table > tbody > tr:not(.listr_tr_selected):not(.rd-playing) > td.info > a:hover > div.logo_logo { transform: scale(1.06); box-shadow: 0 0 0 2px var(--rd-green); }

/* ---------- a tartalmi oldalak kitoltik a rendelkezesre allo szelesseget (nincs keskeny kartya ures hellyel) ---------- */
html body .content .pl-page, html body .content .bo-page, html body .content .pf-page, html body .content .as-page, html body .content .gf-page,
html body .content .pm-page:not(.pm-admin), html body .content .ct-wrap { max-width: none; }
html body main.rd-authpage.rd-withsb .content:has(.rd-reg-choice), html body main.rd-authpage.rd-withsb .content:has(.rd-form) { max-width: none !important; }
/* a belepes / regisztracio oldalak kartyaja is kitolti a helyet; maga az urlap olvashato szelessegu marad */
html body main.rd-authpage.rd-withsb .content:has(> h1.graph_focim) { max-width: none !important; }
html body main.rd-authpage.rd-withsb .content:has(> h1.graph_focim) > form > table,
html body main.rd-authpage.rd-withsb .content:has(> h1.graph_focim) > table { max-width: 560px; }
html body main.rd-authpage.rd-withsb .content .rd-reg-choice { max-width: 1100px; }
html body main.rd-authpage.rd-withsb .content .rd-reg-steps, html body main.rd-authpage.rd-withsb .content .rd-form { max-width: 1100px; }
html body .content .gf-page button.rg-btn.rg-btn-primary { background: var(--rd-green) !important; border: 1px solid var(--rd-green) !important; color: var(--rd-green-ink) !important; font-weight: 700; }

/* A regi stiluslap a tartalomban minden linket feherre szinez, ha ra visszuk az egeret (.content a:hover).
   Vilagos nezetben ez eltuntette a linket; itt ugyanazzal a sullyal irjuk felul, hogy a sajat gombszabalyok ervenyben maradjanak. */
:where(html[data-theme="light"]) .content a:hover,
:where(html[data-theme="light"]) .content a:focus,
:where(html[data-theme="light"]) .content a:active { color: var(--rd-green-text); }

/* ---------- admin es radios felulet vilagos nezetben: a sotet hatterre szant halvany piros / sarga feliratok sotetebb valtozata ---------- */
html[data-theme="light"] body .content:has(> h1.graph_focim) .ad-page .ad-bad .ad-sub,
html[data-theme="light"] body .content .ae-page .ae-nav a.ae-nav-danger,
html[data-theme="light"] body .content .ae-page .ae-notice.ae-err,
html[data-theme="light"] body .content:has(> h1.graph_focim) .ad-page .ad-flash.rg-err { color: #b3261e; }
html[data-theme="light"] body .content:has(> h1.graph_focim) .ad-page i.ad-p-part,
html[data-theme="light"] body .content .ae-page i.ae-p-part,
html[data-theme="light"] body .content .ae-page .ae-notice.ae-warn,
html[data-theme="light"] body .content:has(> h1.graph_focim) .ad-page .ad-flash.bn-warn:not(.rg-err):not(.bn-info) { color: #8a5a00; }
html[data-theme="light"] body .content:has(> h1.graph_focim) .ad-page .bn-cta:hover { background: rgba(0, 0, 0, .05); }
