* {
    box-sizing: border-box;
}

:root {
    --page-bg: #b8b7ad;
    --hero-bg: #85877f;
    --hero-border: #5f605a;
    --card-bg: rgba(166, 163, 154, .82);
    --card-bg-strong: rgba(147, 145, 137, .88);
    --card-head: linear-gradient(#8d8a83, #7b7872);
    --text: #f5f0e6;
    --dark-text: #5f584c;
    --muted: #c9c2b6;
    --primary: #2bdc78;
    --primary-2: #18a558;
    --accent: #ffd37a;
    --pill: #f7ead4;
    --pill-text: #8a7560;
    --shadow: rgba(55, 50, 43, .32);
    --panel-border: rgba(255, 255, 255, .22);
    --chat-bg: rgba(100, 99, 95, .56);
    --nav-bg: rgba(247, 238, 220, .94);
    --nav-text: #765f47;
}

html[data-theme="green"] {
    --page-bg: #081c12;
    --hero-bg: #123826;
    --hero-border: #195333;
    --card-bg: rgba(18, 50, 33, .88);
    --card-bg-strong: rgba(13, 41, 28, .94);
    --card-head: linear-gradient(#224b34, #143423);
    --text: #e9ffee;
    --dark-text: #cfe7d3;
    --muted: #92ad99;
    --primary: #37f783;
    --primary-2: #19a958;
    --accent: #ffd47a;
    --pill: #eaf7dc;
    --pill-text: #28573a;
    --shadow: rgba(0, 0, 0, .45);
    --panel-border: rgba(71, 255, 140, .18);
    --chat-bg: rgba(18, 42, 31, .76);
    --nav-bg: rgba(231, 249, 224, .93);
    --nav-text: #225238;
}

html[data-theme="dark"] {
    --page-bg: #111217;
    --hero-bg: #1b1d24;
    --hero-border: #30323a;
    --card-bg: rgba(34, 35, 42, .9);
    --card-bg-strong: rgba(24, 25, 31, .96);
    --card-head: linear-gradient(#343640, #24262e);
    --text: #f2f2f2;
    --dark-text: #d8d8dc;
    --muted: #979aa5;
    --primary: #f0c96c;
    --primary-2: #b78b31;
    --accent: #8f74ff;
    --pill: #ebe3d0;
    --pill-text: #3a352c;
    --shadow: rgba(0, 0, 0, .55);
    --panel-border: rgba(255, 255, 255, .11);
    --chat-bg: rgba(20, 21, 27, .78);
    --nav-bg: rgba(241, 232, 215, .94);
    --nav-text: #39322a;
}

html[data-theme="blue"] {
    --page-bg: #081723;
    --hero-bg: #102f4a;
    --hero-border: #194669;
    --card-bg: rgba(16, 48, 72, .89);
    --card-bg-strong: rgba(10, 35, 56, .95);
    --card-head: linear-gradient(#245577, #153b5b);
    --text: #eef8ff;
    --dark-text: #d3eaff;
    --muted: #9fc0d8;
    --primary: #4fc3ff;
    --primary-2: #1a7eb5;
    --accent: #ffd166;
    --pill: #e3f1ff;
    --pill-text: #24506e;
    --shadow: rgba(0, 0, 0, .48);
    --panel-border: rgba(90, 198, 255, .2);
    --chat-bg: rgba(19, 53, 78, .78);
    --nav-bg: rgba(229, 243, 255, .94);
    --nav-text: #24506e;
}

html[data-theme="cream"] {
    --page-bg: #c8c5b9;
    --hero-bg: #8d8e85;
    --hero-border: #66675f;
    --card-bg: rgba(169, 166, 157, .84);
    --card-bg-strong: rgba(151, 148, 140, .9);
    --card-head: linear-gradient(#918e87, #7f7b75);
    --text: #fff8eb;
    --dark-text: #665c50;
    --muted: #d7cdbc;
    --primary: #ffd37a;
    --primary-2: #b98c3e;
    --accent: #7b60ff;
    --pill: #fff0d7;
    --pill-text: #7e6348;
    --shadow: rgba(55, 50, 43, .34);
    --panel-border: rgba(255, 255, 255, .24);
    --chat-bg: rgba(105, 102, 97, .58);
    --nav-bg: rgba(247, 238, 220, .96);
    --nav-text: #765f47;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 0, color-mix(in srgb, var(--primary) 18%, transparent), transparent 360px),
        var(--page-bg);
}

button,
input {
    font-family: inherit;
}

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.page-shell {
    width: 1100px;
    max-width: calc(100% - 34px);
    margin: 96px auto 55px;
}

.hero-card {
    position: relative;
    height: 150px;
    border: 1px solid var(--hero-border);
    border-radius: 4px 4px 0 0;
    overflow: hidden;
    background:
        radial-gradient(circle at center, color-mix(in srgb, var(--primary) 18%, transparent), transparent 260px),
        linear-gradient(135deg, color-mix(in srgb, var(--hero-bg) 90%, black), var(--hero-bg));
    box-shadow: 0 18px 28px var(--shadow);
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 75%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 5px),
        radial-gradient(circle at 66% 12%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 5px),
        radial-gradient(circle at 92% 18%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 4px),
        radial-gradient(circle at 12% 62%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 4px);
    opacity: .7;
}

.brand {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    place-content: center;
    text-align: center;
}

.brand-title {
    color: var(--primary);
    font-size: 54px;
    line-height: 56px;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow:
        0 0 8px color-mix(in srgb, var(--primary) 65%, transparent),
        0 3px 0 rgba(0,0,0,.18);
}

.brand-sub {
    margin-top: 10px;
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 8px;
    font-weight: 900;
}

.brand-mini {
    position: absolute;
    right: 26px;
    bottom: 12px;
    color: color-mix(in srgb, var(--accent) 72%, var(--dark-text));
    font-size: 12px;
    font-weight: 700;
    opacity: .82;
}

.theme-switch {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 14px;
    display: flex;
    gap: 7px;
}

.theme-switch button {
    height: 25px;
    border: 0;
    border-radius: 8px;
    padding: 0 10px;
    background: var(--pill);
    color: var(--pill-text);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 9px var(--shadow);
}

.theme-switch button.is-active {
    outline: 2px solid var(--primary);
}

.nav-pill {
    position: sticky;
    top: 10px;
    z-index: 10;
    min-height: 46px;
    margin: 17px auto -9px;
    width: 92%;
    border-radius: 0 0 15px 15px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 8px 26px;
    background: var(--nav-bg);
    color: var(--nav-text);
    box-shadow: 0 16px 24px var(--shadow);
}

.nav-pill a,
.nav-pill button {
    color: var(--nav-text);
    font-size: 13px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-pill a.active {
    padding: 10px 18px;
    border-radius: 2px;
    background: color-mix(in srgb, var(--primary) 18%, var(--nav-bg));
    box-shadow: 0 18px 18px color-mix(in srgb, var(--primary) 12%, transparent);
}

.nav-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 25%, transparent);
}

.user-badge {
    padding: 6px 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(135deg, #ff3030, #9c0010);
}

.notify {
    padding: 5px 8px;
    border-radius: 4px;
    outline: 2px solid #ff3434;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 26px;
    margin-top: 20px;
}

.card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--panel-border);
    box-shadow:
        0 24px 36px var(--shadow),
        inset 0 1px 0 rgba(255,255,255,.12);
    backdrop-filter: blur(6px);
}

.tall-card {
    min-height: 540px;
}

.card-head {
    min-height: 52px;
    padding: 12px 16px;
    background: var(--card-head);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 900;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}

.card-head button,
.filter-row button,
.chat-actions button {
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--pill);
    color: var(--pill-text);
    font-weight: 800;
    cursor: pointer;
}

.center {
    text-align: center;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 44px;
}

.news-body {
    padding: 30px 44px;
    color: var(--dark-text);
    text-align: center;
}

.date-line {
    color: color-mix(in srgb, var(--primary) 70%, var(--dark-text));
    font-weight: 900;
}

.small-blue {
    color: color-mix(in srgb, #00a2ff 72%, var(--dark-text));
    font-weight: 800;
    font-size: 13px;
}

.news-inner {
    margin-top: 22px;
    border-radius: 8px;
    overflow: hidden;
    background: color-mix(in srgb, var(--pill) 78%, transparent);
    color: #111;
}

.inner-title {
    height: 30px;
    line-height: 30px;
    background: linear-gradient(135deg, var(--primary-2), color-mix(in srgb, var(--primary-2) 60%, black));
    color: #06100a;
    font-weight: 900;
}

.news-date {
    padding: 24px 55px 0;
    text-align: left;
}

.news-inner h2 {
    margin: 0;
    padding: 0 20px;
    color: #000;
}

.big-text {
    margin: 26px 0 0;
    padding: 0 30px 35px;
    font-size: 22px;
    font-weight: 900;
}

.big-text a {
    color: #d60000;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.side-card {
    min-height: 150px;
}

.banner {
    width: calc(100% - 34px);
    height: 39px;
    line-height: 39px;
    margin: 14px auto 0;
    border-radius: 4px;
    text-align: center;
    color: #fff;
    font-size: 31px;
    background: linear-gradient(135deg, #002b88, #075edc 55%, #031e67);
    box-shadow: inset 0 0 18px rgba(255,255,255,.28);
}

.side-content {
    padding: 18px 22px;
    color: var(--dark-text);
    font-size: 13px;
}

.red {
    color: #ff3040;
    font-weight: 900;
}

.green-text {
    color: var(--primary-2);
    font-weight: 900;
}

.purple {
    color: #9f6bff;
    font-weight: 900;
}

.birthday-name {
    display: inline-block;
    margin-top: 4px;
    padding: 8px 12px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--primary) 18%, rgba(255,255,255,.22));
    color: var(--primary);
    font-weight: 900;
}

.birthday-name span {
    color: var(--muted);
    font-weight: 600;
    margin-left: 8px;
}

.muted {
    color: var(--muted);
}

.chat-card {
    margin-top: 24px;
}

.chat-window {
    margin: 18px 16px 0;
    height: 445px;
    overflow-y: auto;
    background: var(--chat-bg);
    padding: 18px;
}

.chat-line {
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
}

.active-line {
    background: rgba(43, 70, 66, .55);
    border-left: 4px solid var(--primary);
    border-radius: 5px;
    padding-left: 6px;
}

.chat-time {
    padding: 6px 8px;
    border-radius: 4px;
    background: #fff;
    color: #4b4b4b;
    font-weight: 800;
}

.nick {
    padding: 7px 8px;
    border-radius: 4px;
    color: #fff;
    font-weight: 900;
}

.red-nick {
    background: #ff2556;
}

.blue-nick {
    background: #282cff;
}

.core-nick {
    background: #e21c27;
}

.chat-form {
    display: grid;
    grid-template-columns: 1fr 90px;
    gap: 14px;
    padding: 18px 16px 10px;
}

.chat-form input {
    height: 42px;
    border: 0;
    border-radius: 4px;
    background: rgba(35, 35, 42, .55);
    color: #fff;
    padding: 0 14px;
}

.chat-form button {
    border: 0;
    border-radius: 8px;
    background: var(--pill);
    color: var(--pill-text);
    font-weight: 900;
}

.chat-actions {
    display: flex;
    justify-content: space-between;
    padding: 0 18px 22px;
}

.visitors-card,
.ranks-card,
.bottom-grid {
    margin-top: 26px;
}

.rank-row {
    padding: 18px 22px;
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    background: color-mix(in srgb, var(--pill) 70%, transparent);
}

.rank {
    padding: 6px 9px;
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
}

.rank.black { background: #000; }
.rank.blue { background: #1d36ff; }
.rank.orange { background: #db8232; }
.rank.violet { background: #bc4bf2; }
.rank.gray { background: #8e8e8e; }
.rank.sky { background: #219be0; }
.rank.pink { background: #ff54c8; }
.rank.gold { background: #f79b24; }
.rank.yellow { background: #ffcc27; color: #3a2a00; }
.rank.green { background: #0b9c24; }
.rank.red { background: #ff1e1e; }
.rank.magenta { background: #d7215c; }
.rank.purple-dark { background: #8420a3; }
.rank.darkred { background: #9b0707; }

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.mini-card {
    min-height: 70px;
}

.side-tab {
    position: fixed;
    left: 0;
    top: 70%;
    transform: translateY(-50%);
    z-index: 30;
    width: 34px;
    padding: 10px 0;
    border-radius: 0 8px 8px 0;
    background: #bf8337;
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 12px 24px rgba(0,0,0,.28);
}

@media (max-width: 1050px) {
    .page-shell {
        margin-top: 30px;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        grid-row: auto;
    }

    .nav-pill {
        position: relative;
        top: auto;
        flex-wrap: wrap;
    }

    .nav-user {
        margin-left: 0;
    }

    .bottom-grid {
        grid-template-columns: 1fr;
    }

    .brand-title {
        font-size: 42px;
    }

    .theme-switch {
        left: 12px;
        right: auto;
        flex-wrap: wrap;
    }
}

.chat-login-btn {
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--pill);
    color: var(--pill-text);
    font-weight: 900;
}

/* Nav jobb oldal: felhasználónév + kisebb rang keret */
.nav-user {
    gap: 7px;
}

.nav-username {
    color: var(--nav-text);
    font-weight: 900;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-badge.rank-small {
    padding: 4px 8px !important;
    min-height: 22px;
    line-height: 1;
    border-radius: 5px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.notify {
    padding: 3px 6px;
}

/* Rang színek: ugyanaz menjen a névre és a rang badge-re is */
.rank-color-guest { --rank-color: #9ca3af; }
.rank-color-user { --rank-color: #111111; }
.rank-color-elit { --rank-color: #db8232; }
.rank-color-superelit { --rank-color: #bc4bf2; }
.rank-color-senior { --rank-color: #219be0; }
.rank-color-uploader { --rank-color: #ff54c8; }
.rank-color-vip { --rank-color: #f79b24; }
.rank-color-helpdesk { --rank-color: #ffcc27; }
.rank-color-moderator { --rank-color: #0b9c24; }
.rank-color-admin { --rank-color: #ff1e1e; }
.rank-color-staffleader { --rank-color: #d7215c; }
.rank-color-developer { --rank-color: #8420a3; }
.rank-color-owner { --rank-color: #9b0707; }

.nav-username[class*="rank-color-"] {
    color: var(--rank-color) !important;
    text-shadow: 0 0 7px color-mix(in srgb, var(--rank-color) 55%, transparent);
}

.user-badge.rank-small[class*="rank-color-"] {
    background: var(--rank-color) !important;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.55);
}

.user-badge.rank-small.rank-color-helpdesk,
.user-badge.rank-small.rank-color-vip {
    color: #2b2100 !important;
    text-shadow: none;
}

.user-badge.rank-small.rank-color-user {
    color: #fff !important;
}

/* JAVÍTÁS: ne fix zöld legyen, hanem rang szerinti szín */

/* Üzenőfal nickClass -> rangszín változó */
.chat-user-link.nick-user { --chat-rank-color: #111111; }
.chat-user-link.nick-vip { --chat-rank-color: #f79b24; }
.chat-user-link.nick-mod { --chat-rank-color: #0b9c24; }
.chat-user-link.nick-admin { --chat-rank-color: #ff1e1e; }
.chat-user-link.nick-owner { --chat-rank-color: #9b0707; }

/* Üzenőfal név badge rang szerint */
.chat-user-link {
    background: var(--chat-rank-color) !important;
    color: #ffffff !important;
    border: 1px solid color-mix(in srgb, var(--chat-rank-color) 70%, white) !important;
    box-shadow: 0 0 8px color-mix(in srgb, var(--chat-rank-color) 45%, transparent) !important;
}

.chat-user-link:hover {
    background: color-mix(in srgb, var(--chat-rank-color) 85%, white) !important;
    color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.65);
}

/* Online lista név rang szerint */
.online-user-link[class*="rank-color-"] {
    color: var(--rank-color) !important;
    font-weight: 900;
    text-decoration: none;
    text-shadow: 0 0 8px color-mix(in srgb, var(--rank-color) 55%, transparent);
}

.online-user-link[class*="rank-color-"]:hover {
    color: color-mix(in srgb, var(--rank-color) 75%, white) !important;
    text-shadow: 0 0 12px var(--rank-color);
}

/* VÉGLEGES JAVÍTÁS: alsó chat + online ugyanazt a rangszínt kapja, mint felül */
.rank-color-guest { --rank-color: #9ca3af; }
.rank-color-user { --rank-color: #111111; }
.rank-color-elit { --rank-color: #db8232; }
.rank-color-superelit { --rank-color: #bc4bf2; }
.rank-color-senior { --rank-color: #219be0; }
.rank-color-uploader { --rank-color: #ff54c8; }
.rank-color-vip { --rank-color: #f79b24; }
.rank-color-helpdesk { --rank-color: #ffcc27; }
.rank-color-moderator { --rank-color: #0b9c24; }
.rank-color-admin { --rank-color: #ff1e1e; }
.rank-color-staffleader { --rank-color: #d7215c; }
.rank-color-developer { --rank-color: #8420a3; }
.rank-color-owner { --rank-color: #9b0707; }

/* Chat név badge: ne zöld legyen, hanem rangszín */
.chat-window .chat-user-link-rank {
    background: var(--rank-color) !important;
    color: #ffffff !important;
    border: 1px solid color-mix(in srgb, var(--rank-color) 65%, #ffffff) !important;
    box-shadow: 0 0 8px color-mix(in srgb, var(--rank-color) 45%, transparent) !important;
    text-decoration: none !important;
}

.chat-window .chat-user-link-rank:hover {
    background: color-mix(in srgb, var(--rank-color) 82%, #ffffff) !important;
    color: #ffffff !important;
}

/* Online lista: ne sárga/zöld legyen, hanem rangszín */
.online-live-list .online-user-link-rank {
    color: var(--rank-color) !important;
    background: transparent !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    text-shadow: 0 0 8px color-mix(in srgb, var(--rank-color) 45%, transparent) !important;
}

.online-live-list .online-user-link-rank:hover {
    color: color-mix(in srgb, var(--rank-color) 70%, #ffffff) !important;
}

/* A régi <b> színezés ne szóljon bele */
.online-live-list b {
    color: inherit !important;
}

/* ===== TÉMAVÁLASZTÓ JAVÍTÁS: 4 gomb helyett lenyíló ===== */
.theme-switch.theme-dropdown {
    position: absolute;
    z-index: 20;
    top: 12px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--card-bg-strong) 82%, transparent);
    border: 1px solid var(--panel-border);
    box-shadow: 0 10px 22px var(--shadow);
}

.theme-switch.theme-dropdown label {
    color: var(--text);
    font-size: 12px;
    font-weight: 900;
}

.theme-switch.theme-dropdown select {
    height: 30px;
    min-width: 112px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 0 10px;
    background: var(--pill);
    color: var(--pill-text);
    font-weight: 900;
    cursor: pointer;
    outline: none;
}

.theme-switch.theme-dropdown select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 28%, transparent);
}

/* Régi gombos megjelenés ne zavarjon bele */
.theme-switch.theme-dropdown button {
    display: none !important;
}

/* ===== ÚJ FEHÉR TÉMA ===== */
html[data-theme="white"] {
    --page-bg: #f2f4f1;
    --hero-bg: #ffffff;
    --hero-border: #d7ded5;
    --card-bg: rgba(255, 255, 255, .94);
    --card-bg-strong: rgba(247, 249, 246, .98);
    --card-head: linear-gradient(#eef5ee, #dde9dd);
    --text: #183323;
    --dark-text: #26352b;
    --muted: #6f7d72;
    --primary: #159447;
    --primary-2: #0d7b38;
    --accent: #d49b24;
    --pill: #ffffff;
    --pill-text: #213529;
    --shadow: rgba(30, 54, 37, .16);
    --panel-border: rgba(21, 148, 71, .22);
    --chat-bg: rgba(236, 241, 236, .92);
    --nav-bg: rgba(255, 255, 255, .96);
    --nav-text: #1f3b2b;
}

/* Fehér témánál ne legyen túl sötét a szöveg/doboz */
html[data-theme="white"] body {
    background:
        radial-gradient(circle at 50% 0, rgba(21,148,71,.12), transparent 360px),
        #f2f4f1 !important;
}

html[data-theme="white"] .hero-card,
html[data-theme="white"] .card,
html[data-theme="white"] .user-statline {
    color: var(--text);
}

html[data-theme="white"] .live-news-item,
html[data-theme="white"] .news-inner {
    background: #f7faf5;
    color: #162318;
    border: 1px solid rgba(21,148,71,.18);
}

html[data-theme="white"] .chat-window {
    background: #eef3ee;
}

html[data-theme="white"] .chat-line {
    color: #1d2a20;
}

html[data-theme="white"] .chat-form input {
    background: #ffffff;
    color: #1d2a20;
    border: 1px solid rgba(21,148,71,.22);
}

html[data-theme="white"] .rank-row {
    background: #eef5ee;
}

html[data-theme="white"] .brand-title {
    color: #159447;
    text-shadow:
        0 0 8px rgba(21,148,71,.22),
        0 2px 0 rgba(0,0,0,.08);
}

html[data-theme="white"] .brand-sub {
    color: #7e62ff;
}

@media (max-width: 1050px) {
    .theme-switch.theme-dropdown {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        margin: 10px;
        width: fit-content;
    }
}

/* ===== DARK TÉMA VÉGLEGES JAVÍTÁS ===== */
html[data-theme="dark"] {
    --page-bg: #080a0f;
    --hero-bg: #151820;
    --hero-border: #303442;
    --card-bg: rgba(24, 26, 34, .96);
    --card-bg-strong: rgba(18, 20, 27, .98);
    --card-head: linear-gradient(#30333f, #20232c);
    --text: #f2f2f4;
    --dark-text: #e2e2e5;
    --muted: #9da0aa;
    --primary: #f0c96c;
    --primary-2: #a47722;
    --accent: #8f74ff;
    --pill: #272a34;
    --pill-text: #f3f0e8;
    --shadow: rgba(0, 0, 0, .62);
    --panel-border: rgba(255,255,255,.10);
    --chat-bg: rgba(14, 16, 22, .92);
    --nav-bg: rgba(26, 28, 36, .98);
    --nav-text: #f0f0f2;
}

html[data-theme="dark"] body {
    background:
        radial-gradient(circle at 50% 0, rgba(240,201,108,.10), transparent 360px),
        linear-gradient(90deg, #07080c 0%, #10121a 50%, #07080c 100%) !important;
}

/* felső adatcsík */
html[data-theme="dark"] .user-statline {
    background: linear-gradient(#171922, #101219) !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #f4f4f4 !important;
}

/* fő menü */
html[data-theme="dark"] .nav-pill {
    background: linear-gradient(#232630, #171a22) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    box-shadow: 0 18px 32px rgba(0,0,0,.62) !important;
}

html[data-theme="dark"] .nav-pill a,
html[data-theme="dark"] .nav-pill button,
html[data-theme="dark"] .nav-user,
html[data-theme="dark"] .nav-user span {
    color: #ededf0 !important;
}

html[data-theme="dark"] .nav-pill a.active {
    background: linear-gradient(#3a3322, #2a2519) !important;
    color: #ffd77a !important;
    box-shadow: inset 0 0 0 1px rgba(240,201,108,.28) !important;
}

/* kártyák */
html[data-theme="dark"] .card {
    background: rgba(24, 26, 34, .96) !important;
    border-color: rgba(255,255,255,.10) !important;
}

html[data-theme="dark"] .card-head {
    background: linear-gradient(#30333f, #20232c) !important;
    color: #f5f5f7 !important;
    border-bottom: 1px solid rgba(255,255,255,.09) !important;
}

/* hírdoboz: ne legyen vajszín */
html[data-theme="dark"] .live-news-item {
    background: #1b1e27 !important;
    color: #e8e8ea !important;
    border: 1px solid rgba(255,255,255,.10) !important;
}

html[data-theme="dark"] .live-news-title {
    background: linear-gradient(#3d321b, #2c2415) !important;
    color: #ffd77a !important;
    border-bottom: 1px solid rgba(240,201,108,.18) !important;
}

html[data-theme="dark"] .live-news-body {
    color: #eeeeef !important;
    background: #1b1e27 !important;
}

html[data-theme="dark"] .live-news-meta {
    color: #aeb0b8 !important;
    background: #1b1e27 !important;
}

/* jobb oldali dobozok */
html[data-theme="dark"] .side-content {
    color: #e3e3e6 !important;
}

html[data-theme="dark"] .small-blue {
    color: #46c7ff !important;
}

/* chat */
html[data-theme="dark"] .chat-window {
    background: #101219 !important;
}

html[data-theme="dark"] .chat-line {
    color: #eeeeef !important;
}

html[data-theme="dark"] .chat-form input {
    background: #11131a !important;
    color: #eeeeef !important;
    border: 1px solid rgba(255,255,255,.12) !important;
}

/* rangdoboz: ne legyen világos */
html[data-theme="dark"] .rank-row {
    background: #171922 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
}

/* statisztika */
html[data-theme="dark"] .stats-live {
    background: #171922 !important;
    color: #e3e3e6 !important;
}

/* stílus lenyíló */
html[data-theme="dark"] .theme-switch.theme-dropdown {
    background: rgba(18,20,27,.96) !important;
    border-color: rgba(255,255,255,.12) !important;
}

html[data-theme="dark"] .theme-switch.theme-dropdown select {
    background: #272a34 !important;
    color: #f3f0e8 !important;
    border-color: rgba(255,255,255,.14) !important;
}

/* név + rang */
html[data-theme="dark"] .user-badge {
    box-shadow: none !important;
}

html[data-theme="dark"] .banner {
    box-shadow: inset 0 0 18px rgba(255,255,255,.25), 0 8px 18px rgba(0,0,0,.35) !important;
}

/* ===== CSÍKOS TÉMA HÁTTEREK ===== */

/* ZÖLD csíkos háttér */
html[data-theme="green"] body {
    background:
        linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.08) 24%, rgba(0,0,0,.08) 76%, rgba(0,0,0,.72)),
        repeating-linear-gradient(
            135deg,
            #071d12 0px,
            #071d12 14px,
            #0b2b1b 14px,
            #0b2b1b 28px
        ) !important;
}

/* DARK csíkos háttér */
html[data-theme="dark"] body {
    background:
        linear-gradient(90deg, rgba(0,0,0,.55), transparent 25%, transparent 75%, rgba(0,0,0,.55)),
        repeating-linear-gradient(
            135deg,
            #090b10 0px,
            #090b10 14px,
            #11141c 14px,
            #11141c 28px
        ) !important;
}

/* KÉK csíkos háttér */
html[data-theme="blue"] body {
    background:
        linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.08) 24%, rgba(0,0,0,.08) 76%, rgba(0,0,0,.62)),
        repeating-linear-gradient(
            135deg,
            #071929 0px,
            #071929 14px,
            #0d2940 14px,
            #0d2940 28px
        ) !important;
}

/* VAJSZÍN csíkos háttér */
html[data-theme="cream"] body {
    background:
        linear-gradient(90deg, rgba(130,115,90,.18), transparent 24%, transparent 76%, rgba(130,115,90,.18)),
        repeating-linear-gradient(
            135deg,
            #c9c5b8 0px,
            #c9c5b8 14px,
            #d8d3c4 14px,
            #d8d3c4 28px
        ) !important;
}

/* FEHÉR csíkos háttér, olyan mint amit mutattál */
html[data-theme="white"] body {
    background:
        linear-gradient(90deg, rgba(210,210,210,.35), transparent 22%, transparent 78%, rgba(210,210,210,.35)),
        repeating-linear-gradient(
            135deg,
            #f7f7f7 0px,
            #f7f7f7 12px,
            #ececec 12px,
            #ececec 24px
        ) !important;
}

/* A fő dobozok maradjanak olvashatók a csíkos háttéren */
html[data-theme] .card,
html[data-theme] .user-statline,
html[data-theme] .nav-pill,
html[data-theme] .hero-card {
    backdrop-filter: blur(4px);
}


/* ===== FEHÉR TÉMA: ZÖLD ÁTÜTÉSEK KISZEDVE ===== */
html[data-theme="white"] {
    --page-bg: #f5f5f5;
    --hero-bg: #f7f7f7;
    --hero-border: #d9d9d9;
    --card-bg: rgba(255,255,255,.96);
    --card-bg-strong: rgba(248,248,248,.98);
    --card-head: linear-gradient(#f0f0f0, #e2e2e2);
    --text: #222222;
    --dark-text: #222222;
    --muted: #666666;

    /* nincs zöld */
    --primary: #5f5f5f;
    --primary-2: #3f3f3f;
    --accent: #7b60ff;

    --pill: #ffffff;
    --pill-text: #333333;
    --shadow: rgba(0,0,0,.14);
    --panel-border: rgba(0,0,0,.12);
    --chat-bg: rgba(245,245,245,.96);
    --nav-bg: rgba(255,255,255,.97);
    --nav-text: #333333;
}

/* Fehér csíkos háttér zöld fény nélkül */
html[data-theme="white"] body {
    background:
        linear-gradient(90deg, rgba(210,210,210,.35), transparent 22%, transparent 78%, rgba(210,210,210,.35)),
        repeating-linear-gradient(
            135deg,
            #fafafa 0px,
            #fafafa 12px,
            #eeeeee 12px,
            #eeeeee 24px
        ) !important;
}

/* Felső logó: ne zöld legyen */
html[data-theme="white"] .brand-title {
    color: #333333 !important;
    text-shadow:
        0 0 10px rgba(0,0,0,.12),
        0 2px 0 rgba(255,255,255,.8) !important;
}

html[data-theme="white"] .brand-sub {
    color: #7b60ff !important;
}

/* Hero háttér ne legyen zöldes */
html[data-theme="white"] .hero-card {
    background:
        radial-gradient(circle at center, rgba(120,120,120,.10), transparent 260px),
        linear-gradient(135deg, #ffffff, #eeeeee) !important;
    border-color: #d8d8d8 !important;
}

/* Menü aktív elem ne legyen zöld */
html[data-theme="white"] .nav-pill a.active {
    background: #eeeeee !important;
    color: #222222 !important;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.08) !important;
}

/* Hír fejléc ne legyen zöld */
html[data-theme="white"] .live-news-title {
    background: linear-gradient(#444444, #2f2f2f) !important;
    color: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,.14) !important;
}

/* Hír belső doboz teljesen fehér/szürke */
html[data-theme="white"] .live-news-item {
    background: #ffffff !important;
    color: #222222 !important;
    border: 1px solid #d8d8d8 !important;
}

html[data-theme="white"] .live-news-body,
html[data-theme="white"] .live-news-meta {
    background: #ffffff !important;
    color: #222222 !important;
}

/* Kártyafejlécek szürkére */
html[data-theme="white"] .card-head {
    background: linear-gradient(#eeeeee, #dddddd) !important;
    color: #222222 !important;
    border-bottom: 1px solid #d1d1d1 !important;
}

/* Oldaldobozok, statisztika, rangok zöld nélkül */
html[data-theme="white"] .card,
html[data-theme="white"] .user-statline,
html[data-theme="white"] .nav-pill {
    background-color: rgba(255,255,255,.96) !important;
    border-color: #d8d8d8 !important;
}

html[data-theme="white"] .rank-row {
    background: #f1f1f1 !important;
}

/* Kék szöveg maradhat link/jelölésnek, de ne zöldüljön */
html[data-theme="white"] .small-blue {
    color: #2476c7 !important;
}

/* Online/link hover se legyen zöld */
html[data-theme="white"] a {
    color: #333333;
}

html[data-theme="white"] a:hover {
    color: #000000;
}



/* ==========================================================
   BITHORLO FINAL THEME AUDIT PATCH
   - Stílusválasztó kb. 50%-kal kisebb
   - Témák színei egységesítve
   - Átütő zöld / vaj / dark hibák felülírva
   ========================================================== */

/* --- Stílus lenyíló kisebbítése --- */
.theme-switch.theme-dropdown {
    top: 8px !important;
    right: 10px !important;
    gap: 4px !important;
    padding: 4px 6px !important;
    border-radius: 8px !important;
    min-height: 30px !important;
    transform: scale(.78);
    transform-origin: top right;
}

.theme-switch.theme-dropdown label {
    font-size: 11px !important;
    line-height: 1 !important;
}

.theme-switch.theme-dropdown select {
    height: 25px !important;
    min-width: 82px !important;
    max-width: 92px !important;
    padding: 0 7px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    line-height: 25px !important;
}

/* --- Alap kártya stabilizálás minden témánál --- */
html[data-theme] .card,
html[data-theme] .hero-card,
html[data-theme] .user-statline,
html[data-theme] .nav-pill {
    background-blend-mode: normal !important;
}

html[data-theme] .live-news-item,
html[data-theme] .live-news-body,
html[data-theme] .live-news-meta,
html[data-theme] .rank-row,
html[data-theme] .stats-live,
html[data-theme] .chat-window {
    background-image: none !important;
}

/* ==========================================================
   ZÖLD TÉMA
   ========================================================== */
html[data-theme="green"] {
    --page-bg: #06150c;
    --hero-bg: #0e321e;
    --hero-border: #1c6b3a;
    --card-bg: rgba(12, 43, 25, .94);
    --card-bg-strong: rgba(8, 30, 18, .98);
    --card-head: linear-gradient(#174a2b, #0e321e);
    --text: #effff2;
    --dark-text: #e4f5e7;
    --muted: #9fb7a4;
    --primary: #22c55e;
    --primary-2: #0d8f3d;
    --accent: #ffd76f;
    --pill: #e9f8e8;
    --pill-text: #173b22;
    --panel-border: rgba(54, 211, 104, .22);
    --nav-bg: rgba(224, 244, 222, .96);
    --nav-text: #183c25;
    --chat-bg: rgba(5, 20, 12, .92);
}

html[data-theme="green"] .hero-card,
html[data-theme="green"] .card {
    background: var(--card-bg) !important;
    color: var(--text) !important;
    border-color: var(--panel-border) !important;
}

html[data-theme="green"] .card-head {
    background: var(--card-head) !important;
    color: #f2fff3 !important;
}

html[data-theme="green"] .live-news-title {
    background: linear-gradient(#159447, #0b6d31) !important;
    color: #07140b !important;
}

html[data-theme="green"] .live-news-item,
html[data-theme="green"] .live-news-body,
html[data-theme="green"] .live-news-meta {
    background: #c8dbc1 !important;
    color: #111 !important;
}

/* ==========================================================
   DARK TÉMA
   ========================================================== */
html[data-theme="dark"] {
    --page-bg: #07080d;
    --hero-bg: #151821;
    --hero-border: #323542;
    --card-bg: rgba(24, 26, 35, .97);
    --card-bg-strong: rgba(17, 19, 27, .98);
    --card-head: linear-gradient(#30333f, #20232d);
    --text: #f4f4f6;
    --dark-text: #eeeeef;
    --muted: #aaaeb8;
    --primary: #f0c96c;
    --primary-2: #9c741f;
    --accent: #8f74ff;
    --pill: #272a34;
    --pill-text: #f2eee4;
    --panel-border: rgba(255,255,255,.11);
    --nav-bg: rgba(27, 29, 38, .98);
    --nav-text: #f2f2f4;
    --chat-bg: rgba(13, 15, 22, .94);
}

html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .card {
    background: var(--card-bg) !important;
    color: var(--text) !important;
    border-color: var(--panel-border) !important;
}

html[data-theme="dark"] .card-head {
    background: var(--card-head) !important;
    color: #f5f5f7 !important;
}

html[data-theme="dark"] .nav-pill {
    background: var(--nav-bg) !important;
}

html[data-theme="dark"] .nav-pill a,
html[data-theme="dark"] .nav-pill button,
html[data-theme="dark"] .nav-user span {
    color: var(--nav-text) !important;
}

html[data-theme="dark"] .nav-pill a.active {
    background: #2d281c !important;
    color: #ffd77a !important;
}

html[data-theme="dark"] .live-news-title {
    background: linear-gradient(#4a3815, #2c220f) !important;
    color: #ffd77a !important;
}

html[data-theme="dark"] .live-news-item,
html[data-theme="dark"] .live-news-body,
html[data-theme="dark"] .live-news-meta {
    background: #1b1e27 !important;
    color: #eeeeef !important;
}

html[data-theme="dark"] .rank-row,
html[data-theme="dark"] .stats-live,
html[data-theme="dark"] .chat-window {
    background: #11131b !important;
    color: #eeeeef !important;
}

/* ==========================================================
   KÉK TÉMA
   ========================================================== */
html[data-theme="blue"] {
    --page-bg: #071725;
    --hero-bg: #10324e;
    --hero-border: #1d547c;
    --card-bg: rgba(12, 45, 70, .95);
    --card-bg-strong: rgba(8, 31, 50, .98);
    --card-head: linear-gradient(#245b82, #153e5f);
    --text: #eef8ff;
    --dark-text: #e5f4ff;
    --muted: #a7c8df;
    --primary: #4fc3ff;
    --primary-2: #1a7eb5;
    --accent: #ffd166;
    --pill: #e4f2ff;
    --pill-text: #224d6b;
    --panel-border: rgba(85, 195, 255, .22);
    --nav-bg: rgba(228, 243, 255, .96);
    --nav-text: #224d6b;
    --chat-bg: rgba(10, 30, 48, .92);
}

html[data-theme="blue"] .hero-card,
html[data-theme="blue"] .card {
    background: var(--card-bg) !important;
    color: var(--text) !important;
}

html[data-theme="blue"] .card-head {
    background: var(--card-head) !important;
    color: #eef8ff !important;
}

html[data-theme="blue"] .live-news-title {
    background: linear-gradient(#1d78ad, #10577f) !important;
    color: #eaf8ff !important;
}

html[data-theme="blue"] .live-news-item,
html[data-theme="blue"] .live-news-body,
html[data-theme="blue"] .live-news-meta {
    background: #d7e9f5 !important;
    color: #102535 !important;
}

/* ==========================================================
   VAJSZÍN TÉMA
   ========================================================== */
html[data-theme="cream"] {
    --page-bg: #c8c2b4;
    --hero-bg: #8b8578;
    --hero-border: #6e675b;
    --card-bg: rgba(167, 160, 149, .90);
    --card-bg-strong: rgba(144, 137, 126, .94);
    --card-head: linear-gradient(#91887b, #7a7166);
    --text: #fff7e8;
    --dark-text: #4e4234;
    --muted: #766b5d;
    --primary: #d19636;
    --primary-2: #8d5f1d;
    --accent: #7b60ff;
    --pill: #fff1d8;
    --pill-text: #6d5236;
    --panel-border: rgba(255,255,255,.24);
    --nav-bg: rgba(246, 234, 214, .96);
    --nav-text: #6d5236;
    --chat-bg: rgba(112, 105, 96, .70);
}

html[data-theme="cream"] .hero-card,
html[data-theme="cream"] .card {
    background: var(--card-bg) !important;
    color: var(--text) !important;
}

html[data-theme="cream"] .card-head {
    background: var(--card-head) !important;
    color: #fff7e8 !important;
}

html[data-theme="cream"] .nav-pill {
    background: var(--nav-bg) !important;
}

html[data-theme="cream"] .nav-pill a,
html[data-theme="cream"] .nav-pill button,
html[data-theme="cream"] .nav-user span {
    color: var(--nav-text) !important;
}

html[data-theme="cream"] .nav-pill a.active {
    background: #ead9b8 !important;
    color: #5d4328 !important;
}

html[data-theme="cream"] .live-news-title {
    background: linear-gradient(#9b6c25, #7b531a) !important;
    color: #fff4d9 !important;
}

html[data-theme="cream"] .live-news-item,
html[data-theme="cream"] .live-news-body,
html[data-theme="cream"] .live-news-meta {
    background: #e7decf !important;
    color: #241c13 !important;
}

html[data-theme="cream"] .rank-row,
html[data-theme="cream"] .stats-live {
    background: #c9c0b0 !important;
}

/* ==========================================================
   FEHÉR TÉMA
   ========================================================== */
html[data-theme="white"] {
    --page-bg: #f5f5f5;
    --hero-bg: #ffffff;
    --hero-border: #d8d8d8;
    --card-bg: rgba(255,255,255,.97);
    --card-bg-strong: rgba(248,248,248,.98);
    --card-head: linear-gradient(#eeeeee, #dedede);
    --text: #222222;
    --dark-text: #222222;
    --muted: #666666;
    --primary: #5f5f5f;
    --primary-2: #3f3f3f;
    --accent: #7b60ff;
    --pill: #ffffff;
    --pill-text: #333333;
    --panel-border: rgba(0,0,0,.12);
    --nav-bg: rgba(255,255,255,.97);
    --nav-text: #333333;
    --chat-bg: rgba(245,245,245,.96);
}

html[data-theme="white"] .hero-card,
html[data-theme="white"] .card,
html[data-theme="white"] .user-statline,
html[data-theme="white"] .nav-pill {
    background: var(--card-bg) !important;
    color: var(--text) !important;
    border-color: #d8d8d8 !important;
}

html[data-theme="white"] .card-head {
    background: var(--card-head) !important;
    color: #222 !important;
}

html[data-theme="white"] .brand-title {
    color: #333 !important;
    text-shadow: 0 0 10px rgba(0,0,0,.12) !important;
}

html[data-theme="white"] .nav-pill a,
html[data-theme="white"] .nav-pill button,
html[data-theme="white"] .nav-user span {
    color: #333 !important;
}

html[data-theme="white"] .nav-pill a.active {
    background: #eeeeee !important;
    color: #111 !important;
}

html[data-theme="white"] .live-news-title {
    background: linear-gradient(#444, #2f2f2f) !important;
    color: #fff !important;
}

html[data-theme="white"] .live-news-item,
html[data-theme="white"] .live-news-body,
html[data-theme="white"] .live-news-meta {
    background: #fff !important;
    color: #222 !important;
}

html[data-theme="white"] .rank-row,
html[data-theme="white"] .stats-live,
html[data-theme="white"] .chat-window {
    background: #f1f1f1 !important;
    color: #222 !important;
}

/* Mobilon ne lógjon ki a kicsinyített stílusválasztó */
@media (max-width: 1050px) {
    .theme-switch.theme-dropdown {
        transform: scale(.9);
        transform-origin: top left;
    }
}


/* ==========================================================
   ZÖLD / DESTING LIGHT PATCH
   - világosabb, régi Destinghez közelebb álló zöld
   - kevésbé fekete háttér
   - olvashatóbb dobozok
   ========================================================== */

html[data-theme="green"] {
    --page-bg: #0b2416;
    --hero-bg: #17462c;
    --hero-border: #2a7a48;
    --card-bg: rgba(18, 68, 39, .94);
    --card-bg-strong: rgba(13, 54, 31, .97);
    --card-head: linear-gradient(#23683f, #164b2d);
    --text: #f2fff5;
    --dark-text: #eaffed;
    --muted: #bdd4c2;
    --primary: #49dd74;
    --primary-2: #159447;
    --accent: #ffe07a;
    --pill: #dff3dd;
    --pill-text: #173b22;
    --panel-border: rgba(91, 231, 126, .26);
    --nav-bg: rgba(219, 242, 215, .97);
    --nav-text: #143820;
    --chat-bg: rgba(12, 44, 27, .88);
}

/* világosabb, csíkos Desting háttér */
html[data-theme="green"] body {
    background:
        linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.04) 24%, rgba(0,0,0,.04) 76%, rgba(0,0,0,.58)),
        repeating-linear-gradient(
            135deg,
            #0b2617 0px,
            #0b2617 16px,
            #12351f 16px,
            #12351f 32px
        ) !important;
}

/* fejléc */
html[data-theme="green"] .hero-card {
    background:
        radial-gradient(circle at center, rgba(73,221,116,.18), transparent 270px),
        linear-gradient(135deg, #164228, #0f2f1d) !important;
    border-color: #2b7d49 !important;
}

/* Bithorlo logó picit élénkebb */
html[data-theme="green"] .brand-title {
    color: #58e982 !important;
    text-shadow:
        0 0 14px rgba(73,221,116,.42),
        0 2px 0 rgba(0,0,0,.35) !important;
}

html[data-theme="green"] .brand-sub {
    color: #ffe07a !important;
}

/* felső adatcsík */
html[data-theme="green"] .user-statline {
    background: linear-gradient(#123c25, #0c2b1a) !important;
    border-color: rgba(91,231,126,.28) !important;
    color: #f2fff5 !important;
}

/* menü világosabb marad, de nem fakó */
html[data-theme="green"] .nav-pill {
    background: rgba(219, 242, 215, .97) !important;
    border: 1px solid rgba(91, 171, 93, .26) !important;
    box-shadow: 0 16px 28px rgba(0,0,0,.34) !important;
}

html[data-theme="green"] .nav-pill a,
html[data-theme="green"] .nav-pill button,
html[data-theme="green"] .nav-user span {
    color: #143820 !important;
}

html[data-theme="green"] .nav-pill a.active {
    background: #c7f1cb !important;
    color: #0d351c !important;
    box-shadow: inset 0 0 0 1px rgba(73,221,116,.22) !important;
}

/* fő dobozok világosabb Desting zölddel */
html[data-theme="green"] .card {
    background: rgba(18, 68, 39, .94) !important;
    border-color: rgba(91,231,126,.26) !important;
    box-shadow:
        0 22px 34px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.08) !important;
}

html[data-theme="green"] .card-head {
    background: linear-gradient(#23683f, #164b2d) !important;
    color: #f2fff5 !important;
    border-bottom: 1px solid rgba(91,231,126,.18) !important;
}

/* hírek: ne legyen ennyire fakó, de maradjon olvasható */
html[data-theme="green"] .live-news-title {
    background: linear-gradient(#159447, #0d7334) !important;
    color: #041209 !important;
}

html[data-theme="green"] .live-news-item {
    background: #d4e6cd !important;
    color: #101810 !important;
    border: 1px solid rgba(31, 122, 56, .22) !important;
}

html[data-theme="green"] .live-news-body,
html[data-theme="green"] .live-news-meta {
    background: #d4e6cd !important;
    color: #101810 !important;
}

/* jobb oldali dobozok */
html[data-theme="green"] .side-content {
    color: #eaffed !important;
}

html[data-theme="green"] .small-blue {
    color: #46c7ff !important;
}

/* chat és alsó dobozok */
html[data-theme="green"] .chat-window {
    background: rgba(12, 44, 27, .88) !important;
    color: #f2fff5 !important;
}

html[data-theme="green"] .rank-row,
html[data-theme="green"] .stats-live {
    background: #b9d2b3 !important;
    color: #101810 !important;
}

/* stílus lenyíló kisebb, zöld témánál is rendezett */
html[data-theme="green"] .theme-switch.theme-dropdown {
    background: rgba(18, 68, 39, .92) !important;
    border-color: rgba(91,231,126,.24) !important;
}

html[data-theme="green"] .theme-switch.theme-dropdown select {
    background: #dff3dd !important;
    color: #143820 !important;
}



/* ==========================================================
   ZÖLD TÉMA - DESTING TOMPA TÜRKIZ / NEM VILÁGÍTÓ ZÖLD
   Ez legyen a végső zöld irány: nem harsány, nem világos neon.
   ========================================================== */

html[data-theme="green"] {
    --page-bg: #061b16;
    --hero-bg: #0d3028;
    --hero-border: #1f5b4c;

    --card-bg: rgba(10, 50, 38, .94);
    --card-bg-strong: rgba(7, 38, 30, .97);
    --card-head: linear-gradient(#155141, #0b3329);

    --text: #eef8f1;
    --dark-text: #e7f1e9;
    --muted: #a9bbb0;

    --primary: #39b96b;
    --primary-2: #148447;
    --accent: #d6b86c;

    --pill: #dcebdd;
    --pill-text: #173628;

    --panel-border: rgba(65, 160, 105, .28);
    --nav-bg: rgba(221, 238, 219, .97);
    --nav-text: #183628;
    --chat-bg: rgba(8, 42, 32, .90);
}

/* Háttér: tompa, sötét türkiz-zöld csíkos, nem élénk zöld */
html[data-theme="green"] body {
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.62),
            rgba(0,0,0,.10) 24%,
            rgba(0,0,0,.10) 76%,
            rgba(0,0,0,.62)
        ),
        repeating-linear-gradient(
            135deg,
            #061b16 0px,
            #061b16 16px,
            #0b2a22 16px,
            #0b2a22 32px
        ) !important;
}

/* Felső hero is tompább legyen */
html[data-theme="green"] .hero-card {
    background:
        radial-gradient(circle at center, rgba(57,185,107,.12), transparent 280px),
        linear-gradient(135deg, #0d3028, #071f19) !important;
    border-color: #1f5b4c !important;
}

/* Logó ne neon legyen */
html[data-theme="green"] .brand-title {
    color: #46c978 !important;
    text-shadow:
        0 0 12px rgba(57,185,107,.30),
        0 2px 0 rgba(0,0,0,.38) !important;
}

html[data-theme="green"] .brand-sub,
html[data-theme="green"] .brand-mini {
    color: #d6b86c !important;
}

/* Felső stat csík */
html[data-theme="green"] .user-statline {
    background: linear-gradient(#0b3329, #071f19) !important;
    border-color: rgba(65,160,105,.28) !important;
    color: #eef8f1 !important;
}

/* Menü maradhat világos, de ne zöldüljön túl */
html[data-theme="green"] .nav-pill {
    background: rgba(221, 238, 219, .97) !important;
    border: 1px solid rgba(60, 120, 82, .24) !important;
    box-shadow: 0 16px 28px rgba(0,0,0,.34) !important;
}

html[data-theme="green"] .nav-pill a,
html[data-theme="green"] .nav-pill button,
html[data-theme="green"] .nav-user span {
    color: #183628 !important;
}

html[data-theme="green"] .nav-pill a.active {
    background: #cfe8d0 !important;
    color: #102e20 !important;
}

/* Dobozok: sötét tompa zöld/türkiz */
html[data-theme="green"] .card {
    background: rgba(10, 50, 38, .94) !important;
    border-color: rgba(65,160,105,.28) !important;
    box-shadow:
        0 22px 34px rgba(0,0,0,.42),
        inset 0 1px 0 rgba(255,255,255,.07) !important;
}

html[data-theme="green"] .card-head {
    background: linear-gradient(#155141, #0b3329) !important;
    color: #eef8f1 !important;
    border-bottom: 1px solid rgba(65,160,105,.22) !important;
}

/* Hír fejléc ne legyen rikító zöld */
html[data-theme="green"] .live-news-title {
    background: linear-gradient(#158045, #0f6336) !important;
    color: #06150b !important;
}

/* Hírtartalom világos, de ne vakító */
html[data-theme="green"] .live-news-item,
html[data-theme="green"] .live-news-body,
html[data-theme="green"] .live-news-meta {
    background: #d1e0cc !important;
    color: #101810 !important;
}

/* Oldalsáv belső részek */
html[data-theme="green"] .side-content {
    background: rgba(7, 38, 30, .45) !important;
    color: #eef8f1 !important;
}

/* Chat */
html[data-theme="green"] .chat-window {
    background: rgba(8, 42, 32, .90) !important;
    color: #eef8f1 !important;
}

/* Alsó világos panelek */
html[data-theme="green"] .rank-row,
html[data-theme="green"] .stats-live {
    background: #bccfba !important;
    color: #101810 !important;
}

/* Stílusválasztó */
html[data-theme="green"] .theme-switch.theme-dropdown {
    background: rgba(10, 50, 38, .92) !important;
    border-color: rgba(65,160,105,.28) !important;
}

html[data-theme="green"] .theme-switch.theme-dropdown select {
    background: #dcebdd !important;
    color: #173628 !important;
}


/* ==========================================================
   ZÖLD TÉMA - CSAK A TÁBLÁK / DOBOZOK EGYSÉGESÍTÉSE
   Nem nyúl a háttérhez, logóhoz, menühöz.
   ========================================================== */

html[data-theme="green"] .layout .card,
html[data-theme="green"] .chat-card,
html[data-theme="green"] .visitors-card,
html[data-theme="green"] .ranks-card,
html[data-theme="green"] .mini-card,
html[data-theme="green"] .side-card,
html[data-theme="green"] .news-card {
    background: #0b3a2b !important;
    border: 1px solid #1d6b4b !important;
    box-shadow:
        0 18px 30px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.06) !important;
}

/* Táblák fejléce: mindenhol ugyanaz */
html[data-theme="green"] .layout .card .card-head,
html[data-theme="green"] .chat-card .card-head,
html[data-theme="green"] .visitors-card .card-head,
html[data-theme="green"] .ranks-card .card-head,
html[data-theme="green"] .mini-card .card-head,
html[data-theme="green"] .side-card .card-head,
html[data-theme="green"] .news-card .card-head {
    background: linear-gradient(#15543d, #0b3a2b) !important;
    color: #f3fff5 !important;
    border-bottom: 1px solid #1d6b4b !important;
}

/* A kártyák belső sötét része ne legyen egyiknél világosabb */
html[data-theme="green"] .side-content,
html[data-theme="green"] .online-live-list,
html[data-theme="green"] .stats-live,
html[data-theme="green"] .rank-row {
    background: #0b3a2b !important;
    color: #f3fff5 !important;
}

/* Chat ablak ugyanabba a zöld családba */
html[data-theme="green"] .chat-window {
    background: #082f23 !important;
    color: #f3fff5 !important;
}

/* Hírek körüli rész ugyanaz a tábla-zöld maradjon */
html[data-theme="green"] .news-list {
    background: #0b3a2b !important;
}

/* A hír tartalma maradhat világos olvasódoboz, de minden hír ugyanaz legyen */
html[data-theme="green"] .live-news-item,
html[data-theme="green"] .live-news-body,
html[data-theme="green"] .live-news-meta {
    background: #d2e2cd !important;
    color: #101810 !important;
}

html[data-theme="green"] .live-news-title {
    background: linear-gradient(#168a46, #0f7037) !important;
    color: #06150b !important;
}

/* Jobb oldali dobozok belsején ne üssön át másik zöld */
html[data-theme="green"] .sidebar .card {
    background: #0b3a2b !important;
}

html[data-theme="green"] .sidebar .card .card-head {
    background: linear-gradient(#15543d, #0b3a2b) !important;
}

/* Névnapos / szülinapos szöveg ne változtassa meg a doboz árnyalatát */
html[data-theme="green"] .sidebar .side-content {
    background: #0b3a2b !important;
}



/* ==========================================================
   ZÖLD TÉMA - FELSŐ MENÜSOR JAVÍTÁS
   Ezt kérted: ne legyen világos zöld, hanem Desting sötétzöld.
   ========================================================== */

html[data-theme="green"] .nav-pill {
    background: linear-gradient(#123f2d, #0b2f22) !important;
    border: 1px solid #1d6b4b !important;
    box-shadow:
        0 16px 28px rgba(0,0,0,.42),
        inset 0 1px 0 rgba(255,255,255,.07) !important;
}

/* Menü linkek */
html[data-theme="green"] .nav-pill a,
html[data-theme="green"] .nav-pill button,
html[data-theme="green"] .nav-user span {
    color: #eaffed !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.55) !important;
}

/* Aktív Főoldal gomb */
html[data-theme="green"] .nav-pill a.active {
    background: linear-gradient(#1c6b43, #12452d) !important;
    color: #ffffff !important;
    border: 1px solid #37a761 !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 0 12px rgba(55,167,97,.18) !important;
}

/* Jobb oldali felhasználó rész */
html[data-theme="green"] .nav-user {
    color: #eaffed !important;
}

/* Felhasználónév */
html[data-theme="green"] .nav-username {
    color: #eaffed !important;
}

/* Ikonok, üzenet, fogaskerék */
html[data-theme="green"] .nav-user span:not(.user-badge) {
    color: #eaffed !important;
}

/* Kis avatar háttér ne legyen világoszöld pacni */
html[data-theme="green"] .avatar {
    background: rgba(55, 167, 97, .28) !important;
    color: #ffffff !important;
}

/* Harang keret maradhat piros, de ne világos alapon legyen */
html[data-theme="green"] .notify {
    background: rgba(255,255,255,.06) !important;
}

/* Dropdown Továbbiak */
html[data-theme="green"] .nav-more button {
    color: #eaffed !important;
}

/* Hover */
html[data-theme="green"] .nav-pill a:hover,
html[data-theme="green"] .nav-pill button:hover {
    color: #ffffff !important;
    background: rgba(55, 167, 97, .18) !important;
    border-radius: 5px;
}



/* ==========================================================
   ZÖLD TÉMA - HÍR BELSEJE + CHAT INPUT/GOMBOK JAVÍTÁS
   ========================================================== */

/* Hír teljes belső doboza ne legyen világos mentazöld */
html[data-theme="green"] .live-news-item {
    background: #0e3f2e !important;
    color: #eaffed !important;
    border: 1px solid #2a7a55 !important;
}

/* Hír címsáv ne rikító zöld legyen */
html[data-theme="green"] .live-news-title {
    background: linear-gradient(#1a5f42, #0d3d2c) !important;
    color: #f3fff5 !important;
    border-bottom: 1px solid #2a7a55 !important;
}

/* Hír szövegrész sötét zöld */
html[data-theme="green"] .live-news-body,
html[data-theme="green"] .live-news-meta {
    background: #0e3f2e !important;
    color: #eaffed !important;
}

/* Hír meta halványabb */
html[data-theme="green"] .live-news-meta {
    color: #b9d2c0 !important;
}

/* Chat külső / belső rész egységes */
html[data-theme="green"] .chat-card {
    background: #0b3a2b !important;
    border-color: #1d6b4b !important;
}

html[data-theme="green"] .chat-window {
    background: #082f23 !important;
    color: #f3fff5 !important;
}

/* Chat input ne legyen szürke/fekete idegen */
html[data-theme="green"] .chat-form input {
    background: #123a2e !important;
    color: #f3fff5 !important;
    border: 1px solid #1d6b4b !important;
}

html[data-theme="green"] .chat-form input::placeholder {
    color: #9bb9a4 !important;
}

/* Küldés gomb */
html[data-theme="green"] .chat-form button {
    background: linear-gradient(#1a5f42, #0d3d2c) !important;
    color: #f3fff5 !important;
    border: 1px solid #2a7a55 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Szmájlik és Rádió gomb */
html[data-theme="green"] .chat-actions button {
    background: linear-gradient(#1a5f42, #0d3d2c) !important;
    color: #f3fff5 !important;
    border: 1px solid #2a7a55 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Hover */
html[data-theme="green"] .chat-form button:hover,
html[data-theme="green"] .chat-actions button:hover {
    background: linear-gradient(#23724f, #104b35) !important;
    color: #ffffff !important;
}

/* Ha valahol a régi pill szín húzná vissza */
html[data-theme="green"] .chat-card .chat-actions,
html[data-theme="green"] .chat-card .chat-form {
    background: #0b3a2b !important;
}



/* ==========================================================
   KÉK TÉMA - MENÜ + HÍR BELSEJE + CHAT INPUT/GOMBOK JAVÍTÁS
   ========================================================== */

/* Felső menüsor ne legyen világos */
html[data-theme="blue"] .nav-pill {
    background: linear-gradient(#123e5c, #0b2d45) !important;
    border: 1px solid #1c5f8c !important;
    box-shadow:
        0 16px 28px rgba(0,0,0,.42),
        inset 0 1px 0 rgba(255,255,255,.07) !important;
}

html[data-theme="blue"] .nav-pill a,
html[data-theme="blue"] .nav-pill button,
html[data-theme="blue"] .nav-user span {
    color: #eaf8ff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.55) !important;
}

html[data-theme="blue"] .nav-pill a.active {
    background: linear-gradient(#1c6f9f, #124b72) !important;
    color: #ffffff !important;
    border: 1px solid #3ca8df !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 0 12px rgba(60,168,223,.18) !important;
}

html[data-theme="blue"] .avatar {
    background: rgba(60,168,223,.28) !important;
    color: #ffffff !important;
}

html[data-theme="blue"] .notify {
    background: rgba(255,255,255,.06) !important;
}

/* Hír teljes belső doboza ne legyen világoskék */
html[data-theme="blue"] .live-news-item {
    background: #0e3a55 !important;
    color: #eaf8ff !important;
    border: 1px solid #1c5f8c !important;
}

/* Hír címsáv */
html[data-theme="blue"] .live-news-title {
    background: linear-gradient(#1b6f9f, #104f76) !important;
    color: #f4fbff !important;
    border-bottom: 1px solid #1c5f8c !important;
}

/* Hír szövegrész */
html[data-theme="blue"] .live-news-body,
html[data-theme="blue"] .live-news-meta {
    background: #0e3a55 !important;
    color: #eaf8ff !important;
}

html[data-theme="blue"] .live-news-meta {
    color: #b6d5e8 !important;
}

/* Chat kártya és ablak */
html[data-theme="blue"] .chat-card {
    background: #0b324d !important;
    border-color: #1c5f8c !important;
}

html[data-theme="blue"] .chat-window {
    background: #08283f !important;
    color: #eaf8ff !important;
}

/* Chat input */
html[data-theme="blue"] .chat-form input {
    background: #12384f !important;
    color: #eaf8ff !important;
    border: 1px solid #1c5f8c !important;
}

html[data-theme="blue"] .chat-form input::placeholder {
    color: #9fbfd3 !important;
}

/* Küldés gomb */
html[data-theme="blue"] .chat-form button {
    background: linear-gradient(#1b6f9f, #104f76) !important;
    color: #f4fbff !important;
    border: 1px solid #2c82b7 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Szmájlik és Rádió gomb */
html[data-theme="blue"] .chat-actions button {
    background: linear-gradient(#1b6f9f, #104f76) !important;
    color: #f4fbff !important;
    border: 1px solid #2c82b7 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

html[data-theme="blue"] .chat-form button:hover,
html[data-theme="blue"] .chat-actions button:hover {
    background: linear-gradient(#2584bb, #135f8b) !important;
    color: #ffffff !important;
}

/* Chat környéke ne húzza vissza világosra */
html[data-theme="blue"] .chat-card .chat-actions,
html[data-theme="blue"] .chat-card .chat-form {
    background: #0b324d !important;
}

/* Alsó panelek egységes kék */
html[data-theme="blue"] .rank-row,
html[data-theme="blue"] .stats-live,
html[data-theme="blue"] .online-live-list {
    background: #0b324d !important;
    color: #eaf8ff !important;
}



/* ==========================================================
   RANGOK EGY SORBAN
   ========================================================== */

.rank-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 16px 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.rank-row::-webkit-scrollbar {
    height: 6px;
}

.rank-row::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.25);
    border-radius: 10px;
}

.rank {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 6px 8px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    min-width: auto !important;
}

/* Nagyobb rangnevek még kisebbre, hogy kiférjenek */
.rank.blue,
.rank.violet,
.rank.red,
.rank.magenta {
    padding-left: 7px !important;
    padding-right: 7px !important;
    font-size: 9.5px !important;
}

/* A rangdoboz ne legyen indokolatlanul magas */
.ranks-card .card-head {
    min-height: 46px !important;
}

.ranks-card {
    overflow: hidden !important;
}

/* Mobilon maradhat vízszintes görgetés, ne törjön két sorba */
@media (max-width: 900px) {
    .rank-row {
        justify-content: flex-start !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* SAJÁT PROFIL oldalsó fül végleg elrejtve */
.side-tab {
    display: none !important;
}


/* Smiley panel */
.smiley-panel {
    margin: 0 18px 18px;
    padding: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 10px;
    background: var(--card-bg-strong);
    border: 1px solid var(--panel-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.smiley-panel[hidden] {
    display: none !important;
}

.smiley-panel button {
    width: 38px;
    height: 34px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    background: var(--pill);
    color: var(--pill-text);
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.smiley-panel button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px var(--shadow);
}

/* Zöld témában a smiley panel is Desting zöld */
html[data-theme="green"] .smiley-panel {
    background: #0b3a2b !important;
    border-color: #1d6b4b !important;
}

html[data-theme="green"] .smiley-panel button {
    background: linear-gradient(#1a5f42, #0d3d2c) !important;
    color: #fff !important;
    border-color: #2a7a55 !important;
}

/* Kék témában */
html[data-theme="blue"] .smiley-panel {
    background: #0b324d !important;
    border-color: #1c5f8c !important;
}

html[data-theme="blue"] .smiley-panel button {
    background: linear-gradient(#1b6f9f, #104f76) !important;
    color: #fff !important;
    border-color: #2c82b7 !important;
}


/* Chat sor műveletek: válasz / szerkesztés / törlés */
.chat-line {
    justify-content: space-between !important;
    gap: 10px !important;
}

.chat-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
}

.chat-message {
    overflow-wrap: anywhere;
}

.chat-tools {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    opacity: .72;
}

.chat-line:hover .chat-tools {
    opacity: 1;
}

.chat-delete-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.chat-tool-btn {
    width: 26px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    border: 1px solid var(--panel-border);
    background: rgba(255,255,255,.08);
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}

.chat-tool-btn:hover {
    background: rgba(255,255,255,.18);
}

.chat-tool-btn.danger:hover {
    background: #9b1c1c;
    color: #fff;
}

.chat-edited {
    color: var(--muted);
    font-size: 11px;
    font-style: italic;
}

/* Zöld téma */
html[data-theme="green"] .chat-tool-btn {
    background: #123a2e !important;
    color: #eaffed !important;
    border-color: #2a7a55 !important;
}

html[data-theme="green"] .chat-tool-btn:hover {
    background: #1a5f42 !important;
}

/* Kék téma */
html[data-theme="blue"] .chat-tool-btn {
    background: #12384f !important;
    color: #eaf8ff !important;
    border-color: #2c82b7 !important;
}

html[data-theme="blue"] .chat-tool-btn:hover {
    background: #1b6f9f !important;
}

/* Dark téma */
html[data-theme="dark"] .chat-tool-btn {
    background: #272a34 !important;
    color: #f2f2f4 !important;
    border-color: rgba(255,255,255,.14) !important;
}

/* Fehér téma */
html[data-theme="white"] .chat-tool-btn {
    background: #eeeeee !important;
    color: #222 !important;
    border-color: #cccccc !important;
}


/* Hír admin: új hír + törlés */
.news-new-btn {
    cursor: pointer;
}

.news-create-form {
    padding: 18px 34px;
    background: var(--card-bg-strong);
    border-bottom: 1px solid var(--panel-border);
}

.news-create-form[hidden] {
    display: none !important;
}

.news-form-row {
    margin-bottom: 10px;
}

.news-create-form input,
.news-create-form textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--panel-border);
    background: rgba(255,255,255,.08);
    color: var(--text);
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.news-create-form textarea {
    resize: vertical;
    min-height: 130px;
}

.news-create-form input::placeholder,
.news-create-form textarea::placeholder {
    color: var(--muted);
}

.news-form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.news-form-actions button,
.news-delete-form button {
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 8px 12px;
    background: var(--pill);
    color: var(--pill-text);
    font-weight: 900;
    cursor: pointer;
}

.news-title-row {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.news-title-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.news-delete-form {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.news-delete-form button {
    background: #8b1111 !important;
    color: #fff !important;
    border-color: #b72a2a !important;
}

.news-delete-form button:hover {
    background: #b91515 !important;
}

/* Zöld téma */
html[data-theme="green"] .news-create-form {
    background: #0b3a2b !important;
    border-color: #1d6b4b !important;
}

html[data-theme="green"] .news-create-form input,
html[data-theme="green"] .news-create-form textarea {
    background: #123a2e !important;
    color: #f3fff5 !important;
    border-color: #2a7a55 !important;
}

html[data-theme="green"] .news-form-actions button {
    background: linear-gradient(#1a5f42, #0d3d2c) !important;
    color: #f3fff5 !important;
    border-color: #2a7a55 !important;
}

/* Kék téma */
html[data-theme="blue"] .news-create-form {
    background: #0b324d !important;
    border-color: #1c5f8c !important;
}

html[data-theme="blue"] .news-create-form input,
html[data-theme="blue"] .news-create-form textarea {
    background: #12384f !important;
    color: #eaf8ff !important;
    border-color: #2c82b7 !important;
}

html[data-theme="blue"] .news-form-actions button {
    background: linear-gradient(#1b6f9f, #104f76) !important;
    color: #f4fbff !important;
    border-color: #2c82b7 !important;
}

/* Felső adatcsík linkek */
.user-statline a {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: 700;
}

.user-statline a:hover {
    color: var(--primary) !important;
    text-shadow: 0 0 8px color-mix(in srgb, var(--primary) 45%, transparent);
}

/* Torrent név link */
.torrent-name-link {
    color: var(--primary) !important;
    font-weight: 900;
    text-decoration: none;
}

.torrent-name-link:hover {
    color: #fff !important;
    text-shadow: 0 0 10px var(--primary);
}


/* ==========================================================
   FIX FELSŐ RÉSZ MINDEN OLDALON
   Ne ugráljon oldalváltáskor.
   Index / Profil / Browse / Details ugyanarra a méretre.
   ========================================================== */

:root {
    --bt-site-width: 1100px;
    --bt-site-max: calc(100% - 34px);
    --bt-hero-height: 150px;
    --bt-stat-height: 42px;
    --bt-nav-height: 54px;
}

/* Minden fő wrapper ugyanakkora */
.page-shell,
.profile-wrap,
.simple-page {
    width: var(--bt-site-width) !important;
    max-width: var(--bt-site-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Index és profil felső indulása egységes */
.page-shell,
.profile-wrap {
    margin-top: 34px !important;
    margin-bottom: 45px !important;
}

/* Hero/header fix méret */
.page-shell > .hero-card,
.profile-wrap > .hero-card,
.hero-card {
    width: 100% !important;
    height: var(--bt-hero-height) !important;
    min-height: var(--bt-hero-height) !important;
    max-height: var(--bt-hero-height) !important;
    margin: 0 0 14px 0 !important;
    overflow: hidden !important;
}

/* Logó se változtassa a header magasságát */
.hero-card .brand {
    height: var(--bt-hero-height) !important;
}

.hero-card .brand-title,
.profile-wrap .brand-title {
    font-size: 54px !important;
    line-height: 56px !important;
}

.hero-card .brand-sub,
.profile-wrap .brand-sub {
    font-size: 13px !important;
    line-height: 16px !important;
    letter-spacing: 8px !important;
}

/* Felső adatcsík fixen ugyanakkora */
.user-statline,
.page-shell .user-statline,
.profile-wrap .user-statline {
    width: 100% !important;
    max-width: 100% !important;
    min-height: var(--bt-stat-height) !important;
    height: auto !important;
    margin: 14px 0 14px 0 !important;
    padding: 8px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

/* Menüsor fix pozíció/méret, ne legyen oldalanként más */
.nav-pill,
.page-shell .nav-pill,
.profile-wrap .nav-pill {
    position: relative !important;
    top: auto !important;
    width: calc(100% - 70px) !important;
    min-height: var(--bt-nav-height) !important;
    margin: 0 auto 18px auto !important;
    padding: 8px 26px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: nowrap !important;
}

/* Menüpontok ne változtassák a magasságot */
.nav-pill a,
.nav-pill button {
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

/* Aktív menüpont fix méret */
.nav-pill a.active {
    min-width: 86px !important;
    padding: 0 14px !important;
}

/* Jobb oldali user blokk ne nyomja szét a menüt */
.nav-user {
    margin-left: auto !important;
    flex: 0 0 auto !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
}

/* Rang badge fix magasság */
.user-badge.rank-small,
.nav-user .user-badge {
    min-height: 22px !important;
    height: 22px !important;
    padding: 0 8px !important;
    line-height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Top belépve/kilépés sor ne tolja el a fejlécet */
.top-status {
    width: var(--bt-site-width) !important;
    max-width: var(--bt-site-max) !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 10px auto 6px auto !important;
    position: relative !important;
    z-index: 40 !important;
}

/* Profil oldalon ne legyen saját külön header-méret */
.profile-wrap .hero-card {
    height: var(--bt-hero-height) !important;
}

.profile-wrap .nav-pill {
    width: calc(100% - 70px) !important;
}

/* Mobilon maradhat tördelés, de desktopon ne ugráljon */
@media (max-width: 900px) {
    .nav-pill,
    .page-shell .nav-pill,
    .profile-wrap .nav-pill {
        width: 100% !important;
        flex-wrap: wrap !important;
        min-height: auto !important;
    }

    .nav-user {
        margin-left: 0 !important;
    }
}



/* ==========================================================
   PROFIL OLDAL: UGYANAZ A FIX HEADER, MINT INDEXEN
   ========================================================== */

/* A profil ne saját méretet használjon, hanem ugyanazt mint index */
.profile-content-page.page-shell {
    width: var(--bt-site-width, 1100px) !important;
    max-width: var(--bt-site-max, calc(100% - 34px)) !important;
    margin: 34px auto 45px !important;
}

/* Hero minden oldalon pontosan azonos */
.profile-content-page > .hero-card,
.page-shell > .hero-card {
    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    margin: 0 0 14px 0 !important;
}

/* Profilon se legyen kisebb/nagyobb logó */
.profile-content-page .brand {
    height: 150px !important;
}

.profile-content-page .brand-title {
    font-size: 54px !important;
    line-height: 56px !important;
}

.profile-content-page .brand-sub {
    font-size: 13px !important;
    line-height: 16px !important;
    letter-spacing: 8px !important;
}

/* Felső adatcsík: ne törjön másképp profil oldalon */
.profile-content-page .user-statline,
.page-shell .user-statline {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    margin: 14px 0 14px 0 !important;
    padding: 8px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 13px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

/* Menü is ugyanaz a szélesség és pozíció */
.profile-content-page .nav-pill,
.page-shell .nav-pill {
    position: relative !important;
    top: auto !important;
    width: calc(100% - 70px) !important;
    min-height: 54px !important;
    margin: 0 auto 18px auto !important;
    padding: 8px 26px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    flex-wrap: nowrap !important;
}

/* Profil tartalom csak a fix header alatt induljon */
.profile-content-page .profile-main-grid {
    margin-top: 0 !important;
}

/* Stílusválasztó profil oldalon is ugyanott legyen */
.profile-content-page .theme-switch.theme-dropdown,
.page-shell .theme-switch.theme-dropdown {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    z-index: 20 !important;
}

/* top-status ne tolja el eltérően az oldalakat */
.top-status {
    width: var(--bt-site-width, 1100px) !important;
    max-width: var(--bt-site-max, calc(100% - 34px)) !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 10px auto 6px auto !important;
    position: relative !important;
    z-index: 40 !important;
}

/* Mobilon törhet, desktopon nem */
@media (max-width: 900px) {
    .profile-content-page .user-statline,
    .page-shell .user-statline {
        flex-wrap: wrap !important;
        overflow: visible !important;
        white-space: normal !important;
    }

    .profile-content-page .nav-pill,
    .page-shell .nav-pill {
        width: 100% !important;
        flex-wrap: wrap !important;
    }
}


/* Jobb felső menü ikonok kattintható linkként */
.nav-user .nav-icon-link {
    color: inherit !important;
    text-decoration: none !important;
    min-width: 22px;
    min-height: 22px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 900;
}

.nav-user .nav-icon-link:hover {
    background: rgba(255,255,255,.14);
    color: var(--primary) !important;
    text-shadow: 0 0 8px color-mix(in srgb, var(--primary) 50%, transparent);
}

.nav-user .nav-icon-link.notify {
    padding: 3px 6px !important;
    border: 2px solid #ff3333 !important;
    border-radius: 7px !important;
}

html[data-theme="green"] .nav-user .nav-icon-link {
    color: #eaffed !important;
}

html[data-theme="blue"] .nav-user .nav-icon-link {
    color: #eaf8ff !important;
}

html[data-theme="dark"] .nav-user .nav-icon-link {
    color: #f2f2f4 !important;
}

html[data-theme="cream"] .nav-user .nav-icon-link,
html[data-theme="white"] .nav-user .nav-icon-link {
    color: var(--nav-text) !important;
}


/* ==========================================================
   MOBIL / TABLET KOMPATIBILITÁS
   Desktopon marad fix 1100px, mobilon igazodik.
   ========================================================== */

/* Alap védelem: semmi ne lógjon ki oldalra */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
audio,
iframe,
table {
    max-width: 100%;
}

/* Tablet méret */
@media (max-width: 1100px) {
    :root {
        --bt-site-width: 100%;
        --bt-site-max: calc(100% - 24px);
    }

    .page-shell,
    .profile-content-page.page-shell,
    .profile-wrap,
    .simple-page {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .layout,
    .profile-main-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .sidebar {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 16px !important;
    }
}

/* Mobil méret */
@media (max-width: 760px) {
    body {
        font-size: 13px;
    }

    .top-status {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        height: auto !important;
        min-height: 28px !important;
        margin: 6px auto 6px !important;
        justify-content: center !important;
        font-size: 12px !important;
    }

    .page-shell,
    .profile-content-page.page-shell,
    .profile-wrap,
    .simple-page {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin-top: 12px !important;
        margin-bottom: 24px !important;
    }

    /* Header mobilon kisebb, de minden oldalon ugyanakkora */
    .hero-card,
    .page-shell > .hero-card,
    .profile-content-page > .hero-card {
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
        margin-bottom: 10px !important;
    }

    .hero-card .brand,
    .profile-content-page .brand {
        height: 112px !important;
    }

    .hero-card .brand-title,
    .profile-content-page .brand-title {
        font-size: 34px !important;
        line-height: 36px !important;
        letter-spacing: 0 !important;
    }

    .hero-card .brand-sub,
    .profile-content-page .brand-sub {
        font-size: 9px !important;
        line-height: 12px !important;
        letter-spacing: 4px !important;
    }

    .brand-mini {
        display: none !important;
    }

    /* Stílusválasztó mobilon kisebb */
    .theme-switch.theme-dropdown {
        top: 6px !important;
        right: 6px !important;
        transform: scale(.72) !important;
        transform-origin: top right !important;
    }

    /* Felső adatcsík mobilon vízszintesen görgethető, nem töri szét a headert */
    .user-statline,
    .page-shell .user-statline,
    .profile-content-page .user-statline {
        width: 100% !important;
        min-height: 38px !important;
        margin: 8px 0 10px !important;
        padding: 7px 10px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        scrollbar-width: thin;
    }

    .user-statline::-webkit-scrollbar {
        height: 5px;
    }

    .user-statline::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.25);
        border-radius: 10px;
    }

    /* Menü mobilon egy soros, görgethető, nem ugrál */
    .nav-pill,
    .page-shell .nav-pill,
    .profile-content-page .nav-pill {
        width: 100% !important;
        min-height: 48px !important;
        margin: 0 auto 12px !important;
        padding: 7px 10px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        border-radius: 10px !important;
        scrollbar-width: thin;
    }

    .nav-pill::-webkit-scrollbar {
        height: 5px;
    }

    .nav-pill::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.25);
        border-radius: 10px;
    }

    .nav-pill a,
    .nav-pill button {
        min-height: 32px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        flex: 0 0 auto !important;
    }

    .nav-pill a.active {
        min-width: auto !important;
        padding: 0 12px !important;
    }

    .nav-user {
        margin-left: 8px !important;
        flex: 0 0 auto !important;
        gap: 6px !important;
    }

    .nav-username {
        max-width: 92px !important;
    }

    .user-badge.rank-small {
        font-size: 10px !important;
        padding: 0 6px !important;
    }

    /* Fő elrendezés egy oszlop */
    .layout,
    .profile-main-grid,
    .bottom-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .sidebar {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .card,
    .profile-panel,
    .simple-box {
        border-radius: 8px !important;
    }

    .card-head,
    .profile-panel-head,
    .simple-head {
        min-height: 40px !important;
        padding: 10px 12px !important;
        font-size: 15px !important;
    }

    .tall-card {
        min-height: auto !important;
    }

    .news-list {
        padding: 12px !important;
    }

    .live-news-title {
        padding: 12px !important;
        font-size: 15px !important;
    }

    .live-news-body {
        padding: 14px !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .live-news-meta {
        padding: 0 14px 14px !important;
        font-size: 11px !important;
    }

    .banner {
        width: calc(100% - 20px) !important;
        font-size: 22px !important;
        height: 34px !important;
        line-height: 34px !important;
    }

    /* Chat mobilon kisebb */
    .chat-window {
        height: 300px !important;
        margin: 12px !important;
        padding: 12px !important;
    }

    .chat-line {
        align-items: flex-start !important;
        gap: 6px !important;
        font-size: 12px !important;
    }

    .chat-main {
        flex-wrap: wrap !important;
    }

    .chat-tools {
        gap: 4px !important;
    }

    .chat-tool-btn {
        width: 24px !important;
        height: 22px !important;
        font-size: 12px !important;
    }

    .chat-form {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 12px !important;
    }

    .chat-form input {
        height: 38px !important;
    }

    .chat-form button,
    .chat-actions button {
        height: 36px !important;
    }

    .chat-actions {
        padding: 0 12px 14px !important;
        gap: 8px !important;
    }

    .smiley-panel {
        margin: 0 12px 14px !important;
        padding: 10px !important;
    }

    .smiley-panel button {
        width: 34px !important;
        height: 32px !important;
        font-size: 18px !important;
    }

    /* Rangok mobilon egy sorban görgethetők */
    .rank-row {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding: 12px 10px !important;
    }

    /* Profil mobilon */
    .profile-card-main {
        min-height: 210px !important;
    }

    .profile-avatar {
        width: 128px !important;
        height: 128px !important;
    }

    .profile-actions-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .profile-info-list {
        font-size: 12px !important;
        gap: 8px !important;
    }

    /* Táblák mobilon görgethetők */
    .simple-table,
    .profile-torrent-table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }

    .simple-table th,
    .simple-table td,
    .profile-torrent-table th,
    .profile-torrent-table td {
        padding: 8px 9px !important;
        font-size: 12px !important;
    }

    .stats-live {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 12px !important;
    }
}

/* Nagyon kicsi mobil */
@media (max-width: 420px) {
    .hero-card .brand-title,
    .profile-content-page .brand-title {
        font-size: 29px !important;
        line-height: 32px !important;
    }

    .hero-card .brand-sub,
    .profile-content-page .brand-sub {
        letter-spacing: 3px !important;
        font-size: 8px !important;
    }

    .nav-pill a,
    .nav-pill button {
        font-size: 11px !important;
        padding: 0 8px !important;
    }

    .nav-username {
        max-width: 70px !important;
    }

    .banner {
        font-size: 18px !important;
    }
}


/* Online felhasználók: balról induljon és szépen törjön */
.online-users-list {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 6px 10px !important;
    text-align: left !important;
    width: 100% !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
}

.online-users-list a,
.online-users-list span {
    text-align: left !important;
}

.visitors-card .card-body,
.online-card .card-body,
.online-users-card .card-body {
    text-align: left !important;
}

/* Ha a lista közvetlenül a sectionben van */
.visitors-card,
.online-card,
.online-users-card {
    text-align: left !important;
}

/* Online felhasználók: balról induljon */
.online-live-list.online-users-list {
    text-align: left !important;
    display: block !important;
    padding: 16px 22px !important;
}

.online-live-list.online-users-list a {
    display: inline-block !important;
    margin: 0 10px 6px 0 !important;
}


/* ==========================================================
   VILÁGOSABB / ÉLŐBB / 3D-S TÉMÁK
   Csak: zöld, dark, kék
   ========================================================== */

/* ----------------------------------------------------------
   ZÖLD TÉMA - világosabb, frissebb, 3D-sebb
   ---------------------------------------------------------- */
html[data-theme="green"] {
    --primary: #47e28d !important;
    --text: #f3fff7 !important;
    --muted: #bddfce !important;
    --dark-text: #effff5 !important;
    --panel-border: #36a772 !important;
    --shadow: rgba(0, 0, 0, 0.30) !important;
    --nav-text: #f4fff7 !important;
    --pill-text: #f5fff8 !important;
}

html[data-theme="green"] body {
    background-color: #0d2f23 !important;
}

html[data-theme="green"] .hero-card,
html[data-theme="green"] .user-statline,
html[data-theme="green"] .nav-pill,
html[data-theme="green"] .card,
html[data-theme="green"] .profile-panel,
html[data-theme="green"] .simple-box {
    background:
        linear-gradient(180deg, rgba(48, 154, 105, 0.24) 0%, rgba(18, 76, 54, 0.94) 100%) !important;
    border: 1px solid #36a772 !important;
    box-shadow:
        0 14px 28px rgba(0,0,0,.25),
        inset 0 1px 0 rgba(255,255,255,.12),
        inset 0 -1px 0 rgba(0,0,0,.18) !important;
}

html[data-theme="green"] .card-head,
html[data-theme="green"] .profile-panel-head,
html[data-theme="green"] .simple-head,
html[data-theme="green"] .profile-section-title {
    background:
        linear-gradient(180deg, #2ea36f 0%, #1b6a49 52%, #145239 100%) !important;
    color: #f6fff9 !important;
    border-bottom: 1px solid #3db57b !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.25) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.15),
        inset 0 -1px 0 rgba(0,0,0,.18) !important;
}

html[data-theme="green"] .nav-pill,
html[data-theme="green"] .theme-switch,
html[data-theme="green"] .profile-action,
html[data-theme="green"] .chat-form button,
html[data-theme="green"] .chat-actions button,
html[data-theme="green"] .news-form-actions button {
    background:
        linear-gradient(180deg, #2dbb7c 0%, #1f8f60 48%, #176946 100%) !important;
    border: 1px solid #45ca8b !important;
    color: #f7fff9 !important;
    box-shadow:
        0 6px 14px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -2px 0 rgba(0,0,0,.14) !important;
}

html[data-theme="green"] .nav-pill a.active,
html[data-theme="green"] .nav-pill a:hover,
html[data-theme="green"] .profile-action:hover,
html[data-theme="green"] .chat-form button:hover,
html[data-theme="green"] .chat-actions button:hover {
    background:
        linear-gradient(180deg, #47d492 0%, #2ca86f 50%, #1a7a4f 100%) !important;
    color: #ffffff !important;
}

html[data-theme="green"] .chat-window,
html[data-theme="green"] .chat-form input,
html[data-theme="green"] .smiley-panel,
html[data-theme="green"] .live-news-body {
    background:
        linear-gradient(180deg, rgba(13, 53, 38, 0.94), rgba(18, 74, 53, 0.90)) !important;
    border-color: #2f9a69 !important;
    color: #f2fff7 !important;
}

html[data-theme="green"] .live-news-title {
    background:
        linear-gradient(180deg, #2db06f 0%, #1d7e50 100%) !important;
    color: #f9fffb !important;
}

/* ----------------------------------------------------------
   DARK TÉMA - ne fekete legyen, hanem világosabb grafitszürke
   ---------------------------------------------------------- */
html[data-theme="dark"] {
    --primary: #87b9ff !important;
    --text: #f4f7ff !important;
    --muted: #c1c9d8 !important;
    --dark-text: #eef2fb !important;
    --panel-border: #5f708d !important;
    --shadow: rgba(0, 0, 0, 0.34) !important;
    --nav-text: #f5f7ff !important;
    --pill-text: #f7f9ff !important;
}

html[data-theme="dark"] body {
    background-color: #1f2530 !important;
}

html[data-theme="dark"] .hero-card,
html[data-theme="dark"] .user-statline,
html[data-theme="dark"] .nav-pill,
html[data-theme="dark"] .card,
html[data-theme="dark"] .profile-panel,
html[data-theme="dark"] .simple-box {
    background:
        linear-gradient(180deg, rgba(92, 107, 135, 0.25) 0%, rgba(44, 52, 66, 0.95) 100%) !important;
    border: 1px solid #657a9f !important;
    box-shadow:
        0 14px 28px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.10),
        inset 0 -1px 0 rgba(0,0,0,.18) !important;
}

html[data-theme="dark"] .card-head,
html[data-theme="dark"] .profile-panel-head,
html[data-theme="dark"] .simple-head,
html[data-theme="dark"] .profile-section-title {
    background:
        linear-gradient(180deg, #64748f 0%, #455064 50%, #313a49 100%) !important;
    color: #f6f8ff !important;
    border-bottom: 1px solid #7185a9 !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.28) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        inset 0 -1px 0 rgba(0,0,0,.20) !important;
}

html[data-theme="dark"] .nav-pill,
html[data-theme="dark"] .theme-switch,
html[data-theme="dark"] .profile-action,
html[data-theme="dark"] .chat-form button,
html[data-theme="dark"] .chat-actions button,
html[data-theme="dark"] .news-form-actions button {
    background:
        linear-gradient(180deg, #6b7f9d 0%, #52617b 48%, #3c475b 100%) !important;
    border: 1px solid #8395b3 !important;
    color: #f8faff !important;
    box-shadow:
        0 6px 14px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.16),
        inset 0 -2px 0 rgba(0,0,0,.16) !important;
}

html[data-theme="dark"] .nav-pill a.active,
html[data-theme="dark"] .nav-pill a:hover,
html[data-theme="dark"] .profile-action:hover,
html[data-theme="dark"] .chat-form button:hover,
html[data-theme="dark"] .chat-actions button:hover {
    background:
        linear-gradient(180deg, #8193b1 0%, #647792 50%, #4a566d 100%) !important;
    color: #ffffff !important;
}

html[data-theme="dark"] .chat-window,
html[data-theme="dark"] .chat-form input,
html[data-theme="dark"] .smiley-panel,
html[data-theme="dark"] .live-news-body {
    background:
        linear-gradient(180deg, rgba(43, 49, 62, 0.96), rgba(54, 64, 82, 0.92)) !important;
    border-color: #6d81a6 !important;
    color: #f5f8ff !important;
}

html[data-theme="dark"] .live-news-title {
    background:
        linear-gradient(180deg, #6d83a4 0%, #4f617b 100%) !important;
    color: #ffffff !important;
}

/* ----------------------------------------------------------
   KÉK TÉMA - élénkebb, világosabb, üdébb
   ---------------------------------------------------------- */
html[data-theme="blue"] {
    --primary: #66c6ff !important;
    --text: #f3fbff !important;
    --muted: #c8e6f8 !important;
    --dark-text: #eefaff !important;
    --panel-border: #3a96d6 !important;
    --shadow: rgba(0, 0, 0, 0.28) !important;
    --nav-text: #f4fcff !important;
    --pill-text: #f7fdff !important;
}

html[data-theme="blue"] body {
    background-color: #0f2f4b !important;
}

html[data-theme="blue"] .hero-card,
html[data-theme="blue"] .user-statline,
html[data-theme="blue"] .nav-pill,
html[data-theme="blue"] .card,
html[data-theme="blue"] .profile-panel,
html[data-theme="blue"] .simple-box {
    background:
        linear-gradient(180deg, rgba(67, 165, 236, 0.24) 0%, rgba(18, 69, 111, 0.95) 100%) !important;
    border: 1px solid #3a96d6 !important;
    box-shadow:
        0 14px 28px rgba(0,0,0,.24),
        inset 0 1px 0 rgba(255,255,255,.12),
        inset 0 -1px 0 rgba(0,0,0,.16) !important;
}

html[data-theme="blue"] .card-head,
html[data-theme="blue"] .profile-panel-head,
html[data-theme="blue"] .simple-head,
html[data-theme="blue"] .profile-section-title {
    background:
        linear-gradient(180deg, #47a9eb 0%, #2f80bc 50%, #1e5f90 100%) !important;
    color: #f6fdff !important;
    border-bottom: 1px solid #52b7fa !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.25) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.16),
        inset 0 -1px 0 rgba(0,0,0,.18) !important;
}

html[data-theme="blue"] .nav-pill,
html[data-theme="blue"] .theme-switch,
html[data-theme="blue"] .profile-action,
html[data-theme="blue"] .chat-form button,
html[data-theme="blue"] .chat-actions button,
html[data-theme="blue"] .news-form-actions button {
    background:
        linear-gradient(180deg, #4db7ff 0%, #3093d6 48%, #1e6ea7 100%) !important;
    border: 1px solid #68c8ff !important;
    color: #f9feff !important;
    box-shadow:
        0 6px 14px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -2px 0 rgba(0,0,0,.14) !important;
}

html[data-theme="blue"] .nav-pill a.active,
html[data-theme="blue"] .nav-pill a:hover,
html[data-theme="blue"] .profile-action:hover,
html[data-theme="blue"] .chat-form button:hover,
html[data-theme="blue"] .chat-actions button:hover {
    background:
        linear-gradient(180deg, #69c8ff 0%, #3ca8ea 50%, #257bb4 100%) !important;
    color: #ffffff !important;
}

html[data-theme="blue"] .chat-window,
html[data-theme="blue"] .chat-form input,
html[data-theme="blue"] .smiley-panel,
html[data-theme="blue"] .live-news-body {
    background:
        linear-gradient(180deg, rgba(20, 65, 103, 0.96), rgba(22, 83, 132, 0.92)) !important;
    border-color: #439ede !important;
    color: #f2fbff !important;
}

html[data-theme="blue"] .live-news-title {
    background:
        linear-gradient(180deg, #49aceb 0%, #2879b4 100%) !important;
    color: #fbfeff !important;
}

/* ----------------------------------------------------------
   Közös 3D finomítás a 3 témára
   ---------------------------------------------------------- */
html[data-theme="green"] .hero-card,
html[data-theme="dark"] .hero-card,
html[data-theme="blue"] .hero-card {
    position: relative;
    overflow: hidden;
}

html[data-theme="green"] .hero-card::after,
html[data-theme="dark"] .hero-card::after,
html[data-theme="blue"] .hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 34%),
        radial-gradient(circle at 22% 28%, rgba(255,255,255,.08) 0, transparent 10%),
        radial-gradient(circle at 78% 18%, rgba(255,255,255,.06) 0, transparent 12%);
}

html[data-theme="green"] .nav-user .nav-icon-link,
html[data-theme="dark"] .nav-user .nav-icon-link,
html[data-theme="blue"] .nav-user .nav-icon-link {
    border-radius: 7px !important;
    transition: .18s ease;
}

html[data-theme="green"] .nav-user .nav-icon-link:hover,
html[data-theme="dark"] .nav-user .nav-icon-link:hover,
html[data-theme="blue"] .nav-user .nav-icon-link:hover {
    transform: translateY(-1px);
}

html[data-theme="green"] .banner,
html[data-theme="dark"] .banner,
html[data-theme="blue"] .banner {
    box-shadow:
        0 6px 14px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.18) !important;
}


/* ==========================================================
   ÚJ TÉMÁK: LILA / SÁRGA / PIROS + TAPÉTA 1/2/3
   ========================================================== */

/* ---------------------------
   LILA
   --------------------------- */
html[data-theme="purple"] {
    --primary: #b875ff !important;
    --text: #fdf9ff !important;
    --muted: #eadbfd !important;
    --dark-text: #fbf6ff !important;
    --panel-border: #9b59d1 !important;
    --shadow: rgba(0,0,0,.28) !important;
    --nav-text: #fffaff !important;
    --pill-text: #fffaff !important;
}

html[data-theme="purple"] body {
    background:
        linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,0) 30%),
        repeating-linear-gradient(-45deg, #2f163e 0 18px, #241132 18px 36px) !important;
    background-color: #251230 !important;
}

html[data-theme="purple"] .hero-card,
html[data-theme="purple"] .user-statline,
html[data-theme="purple"] .nav-pill,
html[data-theme="purple"] .card,
html[data-theme="purple"] .profile-panel,
html[data-theme="purple"] .simple-box {
    background: linear-gradient(180deg, rgba(177,110,255,.22) 0%, rgba(74,35,102,.95) 100%) !important;
    border: 1px solid #9b59d1 !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.18) !important;
}

html[data-theme="purple"] .card-head,
html[data-theme="purple"] .profile-panel-head,
html[data-theme="purple"] .simple-head,
html[data-theme="purple"] .profile-section-title {
    background: linear-gradient(180deg, #bb7dff 0%, #8d4dca 52%, #68379b 100%) !important;
    color: #fffaff !important;
    border-bottom: 1px solid #bb86f0 !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.25) !important;
}

html[data-theme="purple"] .nav-pill,
html[data-theme="purple"] .theme-switch,
html[data-theme="purple"] .profile-action,
html[data-theme="purple"] .chat-form button,
html[data-theme="purple"] .chat-actions button,
html[data-theme="purple"] .news-form-actions button {
    background: linear-gradient(180deg, #be80ff 0%, #9957d5 48%, #713ca6 100%) !important;
    border: 1px solid #cf9eff !important;
    color: #fffaff !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 0 rgba(0,0,0,.14) !important;
}

html[data-theme="purple"] .nav-pill a.active,
html[data-theme="purple"] .nav-pill a:hover,
html[data-theme="purple"] .profile-action:hover,
html[data-theme="purple"] .chat-form button:hover,
html[data-theme="purple"] .chat-actions button:hover {
    background: linear-gradient(180deg, #d39bff 0%, #ac67ea 50%, #804ab8 100%) !important;
    color: #fff !important;
}

/* ---------------------------
   SÁRGA / ARANY
   --------------------------- */
html[data-theme="yellow"] {
    --primary: #ffd84d !important;
    --text: #fffef7 !important;
    --muted: #f4e8b3 !important;
    --dark-text: #fffef7 !important;
    --panel-border: #caa32f !important;
    --shadow: rgba(0,0,0,.22) !important;
    --nav-text: #fffef7 !important;
    --pill-text: #fffef7 !important;
}

html[data-theme="yellow"] body {
    background:
        linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,0) 30%),
        repeating-linear-gradient(-45deg, #5a4713 0 18px, #47380f 18px 36px) !important;
    background-color: #493a10 !important;
}

html[data-theme="yellow"] .hero-card,
html[data-theme="yellow"] .user-statline,
html[data-theme="yellow"] .nav-pill,
html[data-theme="yellow"] .card,
html[data-theme="yellow"] .profile-panel,
html[data-theme="yellow"] .simple-box {
    background: linear-gradient(180deg, rgba(255,214,76,.20) 0%, rgba(108,82,21,.95) 100%) !important;
    border: 1px solid #caa32f !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.18) !important;
}

html[data-theme="yellow"] .card-head,
html[data-theme="yellow"] .profile-panel-head,
html[data-theme="yellow"] .simple-head,
html[data-theme="yellow"] .profile-section-title {
    background: linear-gradient(180deg, #ffd954 0%, #d9ab30 52%, #aa7f1e 100%) !important;
    color: #fffef8 !important;
    border-bottom: 1px solid #f6d56b !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.22) !important;
}

html[data-theme="yellow"] .nav-pill,
html[data-theme="yellow"] .theme-switch,
html[data-theme="yellow"] .profile-action,
html[data-theme="yellow"] .chat-form button,
html[data-theme="yellow"] .chat-actions button,
html[data-theme="yellow"] .news-form-actions button {
    background: linear-gradient(180deg, #ffd95f 0%, #e3b236 48%, #b88720 100%) !important;
    border: 1px solid #ffe17c !important;
    color: #fffef9 !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 0 rgba(0,0,0,.14) !important;
}

html[data-theme="yellow"] .nav-pill a.active,
html[data-theme="yellow"] .nav-pill a:hover,
html[data-theme="yellow"] .profile-action:hover,
html[data-theme="yellow"] .chat-form button:hover,
html[data-theme="yellow"] .chat-actions button:hover {
    background: linear-gradient(180deg, #ffe277 0%, #f1c44a 50%, #ca9828 100%) !important;
    color: #fff !important;
}

/* ---------------------------
   PIROS
   --------------------------- */
html[data-theme="red"] {
    --primary: #ff6f6f !important;
    --text: #fff7f7 !important;
    --muted: #f7c7c7 !important;
    --dark-text: #fff8f8 !important;
    --panel-border: #c84545 !important;
    --shadow: rgba(0,0,0,.26) !important;
    --nav-text: #fffafa !important;
    --pill-text: #fffafa !important;
}

html[data-theme="red"] body {
    background:
        linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,0) 30%),
        repeating-linear-gradient(-45deg, #4b1212 0 18px, #3b0d0d 18px 36px) !important;
    background-color: #3d0f10 !important;
}

html[data-theme="red"] .hero-card,
html[data-theme="red"] .user-statline,
html[data-theme="red"] .nav-pill,
html[data-theme="red"] .card,
html[data-theme="red"] .profile-panel,
html[data-theme="red"] .simple-box {
    background: linear-gradient(180deg, rgba(255,108,108,.20) 0%, rgba(96,25,25,.95) 100%) !important;
    border: 1px solid #c84545 !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.12), inset 0 -1px 0 rgba(0,0,0,.18) !important;
}

html[data-theme="red"] .card-head,
html[data-theme="red"] .profile-panel-head,
html[data-theme="red"] .simple-head,
html[data-theme="red"] .profile-section-title {
    background: linear-gradient(180deg, #ff6f6f 0%, #d14848 52%, #9d2d2d 100%) !important;
    color: #fffafa !important;
    border-bottom: 1px solid #ef7c7c !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.22) !important;
}

html[data-theme="red"] .nav-pill,
html[data-theme="red"] .theme-switch,
html[data-theme="red"] .profile-action,
html[data-theme="red"] .chat-form button,
html[data-theme="red"] .chat-actions button,
html[data-theme="red"] .news-form-actions button {
    background: linear-gradient(180deg, #ff7878 0%, #dd4f4f 48%, #af3030 100%) !important;
    border: 1px solid #ff9b9b !important;
    color: #fffafa !important;
    box-shadow: 0 6px 14px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.18), inset 0 -2px 0 rgba(0,0,0,.14) !important;
}

html[data-theme="red"] .nav-pill a.active,
html[data-theme="red"] .nav-pill a:hover,
html[data-theme="red"] .profile-action:hover,
html[data-theme="red"] .chat-form button:hover,
html[data-theme="red"] .chat-actions button:hover {
    background: linear-gradient(180deg, #ff8f8f 0%, #ef6060 50%, #bf3a3a 100%) !important;
    color: #fff !important;
}

/* ---------------------------
   TAPÉTA 1 - világos szürke csíkos
   --------------------------- */
html[data-theme="wallpaper1"] {
    --primary: #8b745a !important;
    --text: #44382b !important;
    --muted: #7f6f5e !important;
    --dark-text: #3f3529 !important;
    --panel-border: #c9beb0 !important;
    --shadow: rgba(0,0,0,.16) !important;
    --nav-text: #5a4a37 !important;
    --pill-text: #5c4c39 !important;
}

html[data-theme="wallpaper1"] body {
    background:
        repeating-linear-gradient(-45deg, #f0eee8 0 18px, #e6e2da 18px 36px) !important;
    background-color: #ece8df !important;
}

html[data-theme="wallpaper1"] .hero-card,
html[data-theme="wallpaper1"] .user-statline,
html[data-theme="wallpaper1"] .nav-pill,
html[data-theme="wallpaper1"] .card,
html[data-theme="wallpaper1"] .profile-panel,
html[data-theme="wallpaper1"] .simple-box {
    background: linear-gradient(180deg, rgba(255,255,255,.72) 0%, rgba(229,223,214,.96) 100%) !important;
    border: 1px solid #c9beb0 !important;
    box-shadow: 0 12px 24px rgba(0,0,0,.12), inset 0 1px 0 rgba(255,255,255,.5) !important;
}

html[data-theme="wallpaper1"] .card-head,
html[data-theme="wallpaper1"] .profile-panel-head,
html[data-theme="wallpaper1"] .simple-head,
html[data-theme="wallpaper1"] .profile-section-title {
    background: linear-gradient(180deg, #b3a697 0%, #998b7d 52%, #85786b 100%) !important;
    color: #fffdf9 !important;
}

html[data-theme="wallpaper1"] .nav-pill,
html[data-theme="wallpaper1"] .theme-switch,
html[data-theme="wallpaper1"] .profile-action,
html[data-theme="wallpaper1"] .chat-form button,
html[data-theme="wallpaper1"] .chat-actions button,
html[data-theme="wallpaper1"] .news-form-actions button {
    background: linear-gradient(180deg, #f4ead7 0%, #e6d7bd 48%, #d7c6a7 100%) !important;
    border: 1px solid #d3c4ab !important;
    color: #654f36 !important;
}

/* ---------------------------
   TAPÉTA 2 - kékes elegáns
   --------------------------- */
html[data-theme="wallpaper2"] {
    --primary: #6ba9d9 !important;
    --text: #eef6fc !important;
    --muted: #bfd4e5 !important;
    --dark-text: #eef7fd !important;
    --panel-border: #6d8da8 !important;
    --shadow: rgba(0,0,0,.20) !important;
    --nav-text: #eef6fb !important;
    --pill-text: #eef7fc !important;
}

html[data-theme="wallpaper2"] body {
    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.04) 0, transparent 12%),
        repeating-linear-gradient(-45deg, #20394b 0 18px, #182d3b 18px 36px) !important;
    background-color: #1a3140 !important;
}

html[data-theme="wallpaper2"] .hero-card,
html[data-theme="wallpaper2"] .user-statline,
html[data-theme="wallpaper2"] .nav-pill,
html[data-theme="wallpaper2"] .card,
html[data-theme="wallpaper2"] .profile-panel,
html[data-theme="wallpaper2"] .simple-box {
    background: linear-gradient(180deg, rgba(118,156,184,.22) 0%, rgba(39,64,81,.95) 100%) !important;
    border: 1px solid #6d8da8 !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.10) !important;
}

html[data-theme="wallpaper2"] .card-head,
html[data-theme="wallpaper2"] .profile-panel-head,
html[data-theme="wallpaper2"] .simple-head,
html[data-theme="wallpaper2"] .profile-section-title {
    background: linear-gradient(180deg, #7a9bb7 0%, #5a7690 52%, #43596d 100%) !important;
    color: #f8fcff !important;
}

html[data-theme="wallpaper2"] .nav-pill,
html[data-theme="wallpaper2"] .theme-switch,
html[data-theme="wallpaper2"] .profile-action,
html[data-theme="wallpaper2"] .chat-form button,
html[data-theme="wallpaper2"] .chat-actions button,
html[data-theme="wallpaper2"] .news-form-actions button {
    background: linear-gradient(180deg, #8aaac4 0%, #6786a1 48%, #4f677c 100%) !important;
    border: 1px solid #9bb8ce !important;
    color: #f7fbff !important;
}

/* ---------------------------
   TAPÉTA 3 - bordós / prémium
   --------------------------- */
html[data-theme="wallpaper3"] {
    --primary: #d08c9b !important;
    --text: #fff9fa !important;
    --muted: #e2c0c7 !important;
    --dark-text: #fff9fa !important;
    --panel-border: #9a6170 !important;
    --shadow: rgba(0,0,0,.22) !important;
    --nav-text: #fff7f8 !important;
    --pill-text: #fff7f8 !important;
}

html[data-theme="wallpaper3"] body {
    background:
        radial-gradient(circle at 14% 18%, rgba(255,255,255,.03) 0, transparent 10%),
        repeating-linear-gradient(-45deg, #44212a 0 18px, #351820 18px 36px) !important;
    background-color: #391b23 !important;
}

html[data-theme="wallpaper3"] .hero-card,
html[data-theme="wallpaper3"] .user-statline,
html[data-theme="wallpaper3"] .nav-pill,
html[data-theme="wallpaper3"] .card,
html[data-theme="wallpaper3"] .profile-panel,
html[data-theme="wallpaper3"] .simple-box {
    background: linear-gradient(180deg, rgba(176,116,132,.20) 0%, rgba(73,37,46,.95) 100%) !important;
    border: 1px solid #9a6170 !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10) !important;
}

html[data-theme="wallpaper3"] .card-head,
html[data-theme="wallpaper3"] .profile-panel-head,
html[data-theme="wallpaper3"] .simple-head,
html[data-theme="wallpaper3"] .profile-section-title {
    background: linear-gradient(180deg, #bb7a89 0%, #955766 52%, #73414d 100%) !important;
    color: #fff9fb !important;
}

html[data-theme="wallpaper3"] .nav-pill,
html[data-theme="wallpaper3"] .theme-switch,
html[data-theme="wallpaper3"] .profile-action,
html[data-theme="wallpaper3"] .chat-form button,
html[data-theme="wallpaper3"] .chat-actions button,
html[data-theme="wallpaper3"] .news-form-actions button {
    background: linear-gradient(180deg, #c98a98 0%, #a96675 48%, #7d4854 100%) !important;
    border: 1px solid #d7a6b1 !important;
    color: #fff8fa !important;
}

/* Közös kis 3D csillanás az új témákhoz */
html[data-theme="purple"] .hero-card::after,
html[data-theme="yellow"] .hero-card::after,
html[data-theme="red"] .hero-card::after,
html[data-theme="wallpaper1"] .hero-card::after,
html[data-theme="wallpaper2"] .hero-card::after,
html[data-theme="wallpaper3"] .hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,0) 34%),
        radial-gradient(circle at 22% 28%, rgba(255,255,255,.06) 0, transparent 10%),
        radial-gradient(circle at 78% 18%, rgba(255,255,255,.05) 0, transparent 12%);
}


/* ==========================================================
   LILA / SÁRGA / PIROS - ÉLÉNKEBB, NEM FAKÓ PATCH
   Tapéta témák kivéve a listából, ezek maradnak erős színnek.
   ========================================================== */

/* ===== LILA - erős neon-lila / 3D ===== */
html[data-theme="purple"] {
    --primary: #d76bff !important;
    --text: #fff7ff !important;
    --muted: #f0c8ff !important;
    --dark-text: #fff7ff !important;
    --panel-border: #d14cff !important;
    --shadow: rgba(0,0,0,.36) !important;
    --nav-text: #fff7ff !important;
    --pill-text: #fff7ff !important;
}

html[data-theme="purple"] body {
    background:
        linear-gradient(90deg, rgba(0,0,0,.48), rgba(0,0,0,.05) 25%, rgba(0,0,0,.05) 75%, rgba(0,0,0,.48)),
        repeating-linear-gradient(135deg, #3d0f59 0 16px, #561777 16px 32px) !important;
}

html[data-theme="purple"] .hero-card,
html[data-theme="purple"] .user-statline,
html[data-theme="purple"] .nav-pill,
html[data-theme="purple"] .card,
html[data-theme="purple"] .profile-panel,
html[data-theme="purple"] .simple-box {
    background: linear-gradient(180deg, #7f24aa 0%, #541674 55%, #360c4d 100%) !important;
    border: 1px solid #d14cff !important;
    box-shadow:
        0 16px 34px rgba(0,0,0,.34),
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -2px 0 rgba(0,0,0,.24) !important;
}

html[data-theme="purple"] .card-head,
html[data-theme="purple"] .profile-panel-head,
html[data-theme="purple"] .simple-head,
html[data-theme="purple"] .profile-section-title,
html[data-theme="purple"] .live-news-title {
    background: linear-gradient(180deg, #e179ff 0%, #b831ef 48%, #7615ad 100%) !important;
    color: #ffffff !important;
    border-bottom: 1px solid #f0a0ff !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.45) !important;
}

html[data-theme="purple"] .nav-pill a.active,
html[data-theme="purple"] .nav-pill a:hover,
html[data-theme="purple"] .chat-form button,
html[data-theme="purple"] .chat-actions button,
html[data-theme="purple"] .profile-action,
html[data-theme="purple"] .news-form-actions button {
    background: linear-gradient(180deg, #ee8dff 0%, #c93aff 48%, #8519c1 100%) !important;
    color: #ffffff !important;
    border: 1px solid #f1a2ff !important;
}

html[data-theme="purple"] .live-news-item,
html[data-theme="purple"] .live-news-body,
html[data-theme="purple"] .live-news-meta,
html[data-theme="purple"] .chat-window,
html[data-theme="purple"] .chat-form input,
html[data-theme="purple"] .rank-row,
html[data-theme="purple"] .stats-live,
html[data-theme="purple"] .online-live-list {
    background: #47125f !important;
    color: #fff7ff !important;
    border-color: #a72ee0 !important;
}

/* ===== SÁRGA - erős arany / 3D ===== */
html[data-theme="yellow"] {
    --primary: #ffe45e !important;
    --text: #fff9dc !important;
    --muted: #ffeaa0 !important;
    --dark-text: #fff8d6 !important;
    --panel-border: #ffca2e !important;
    --shadow: rgba(0,0,0,.32) !important;
    --nav-text: #fff9dc !important;
    --pill-text: #fff9dc !important;
}

html[data-theme="yellow"] body {
    background:
        linear-gradient(90deg, rgba(0,0,0,.48), rgba(0,0,0,.06) 25%, rgba(0,0,0,.06) 75%, rgba(0,0,0,.48)),
        repeating-linear-gradient(135deg, #4f3700 0 16px, #765300 16px 32px) !important;
}

html[data-theme="yellow"] .hero-card,
html[data-theme="yellow"] .user-statline,
html[data-theme="yellow"] .nav-pill,
html[data-theme="yellow"] .card,
html[data-theme="yellow"] .profile-panel,
html[data-theme="yellow"] .simple-box {
    background: linear-gradient(180deg, #b47b05 0%, #805607 55%, #4f3500 100%) !important;
    border: 1px solid #ffca2e !important;
    box-shadow:
        0 16px 34px rgba(0,0,0,.32),
        inset 0 1px 0 rgba(255,255,255,.20),
        inset 0 -2px 0 rgba(0,0,0,.24) !important;
}

html[data-theme="yellow"] .card-head,
html[data-theme="yellow"] .profile-panel-head,
html[data-theme="yellow"] .simple-head,
html[data-theme="yellow"] .profile-section-title,
html[data-theme="yellow"] .live-news-title {
    background: linear-gradient(180deg, #ffe76c 0%, #e2b928 48%, #a87408 100%) !important;
    color: #fffef3 !important;
    border-bottom: 1px solid #fff099 !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.42) !important;
}

html[data-theme="yellow"] .nav-pill a.active,
html[data-theme="yellow"] .nav-pill a:hover,
html[data-theme="yellow"] .chat-form button,
html[data-theme="yellow"] .chat-actions button,
html[data-theme="yellow"] .profile-action,
html[data-theme="yellow"] .news-form-actions button {
    background: linear-gradient(180deg, #fff27a 0%, #efc933 48%, #b8860b 100%) !important;
    color: #fffef3 !important;
    border: 1px solid #fff0a1 !important;
}

html[data-theme="yellow"] .live-news-item,
html[data-theme="yellow"] .live-news-body,
html[data-theme="yellow"] .live-news-meta,
html[data-theme="yellow"] .chat-window,
html[data-theme="yellow"] .chat-form input,
html[data-theme="yellow"] .rank-row,
html[data-theme="yellow"] .stats-live,
html[data-theme="yellow"] .online-live-list {
    background: #5d4100 !important;
    color: #fff9dc !important;
    border-color: #d7a900 !important;
}

/* ===== PIROS - erős vörös / 3D ===== */
html[data-theme="red"] {
    --primary: #ff7070 !important;
    --text: #fff6f6 !important;
    --muted: #ffc3c3 !important;
    --dark-text: #fff6f6 !important;
    --panel-border: #ff4a4a !important;
    --shadow: rgba(0,0,0,.36) !important;
    --nav-text: #fff6f6 !important;
    --pill-text: #fff6f6 !important;
}

html[data-theme="red"] body {
    background:
        linear-gradient(90deg, rgba(0,0,0,.50), rgba(0,0,0,.06) 25%, rgba(0,0,0,.06) 75%, rgba(0,0,0,.50)),
        repeating-linear-gradient(135deg, #4c0808 0 16px, #771111 16px 32px) !important;
}

html[data-theme="red"] .hero-card,
html[data-theme="red"] .user-statline,
html[data-theme="red"] .nav-pill,
html[data-theme="red"] .card,
html[data-theme="red"] .profile-panel,
html[data-theme="red"] .simple-box {
    background: linear-gradient(180deg, #a51f1f 0%, #731111 55%, #480707 100%) !important;
    border: 1px solid #ff4a4a !important;
    box-shadow:
        0 16px 34px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -2px 0 rgba(0,0,0,.24) !important;
}

html[data-theme="red"] .card-head,
html[data-theme="red"] .profile-panel-head,
html[data-theme="red"] .simple-head,
html[data-theme="red"] .profile-section-title,
html[data-theme="red"] .live-news-title {
    background: linear-gradient(180deg, #ff7777 0%, #e02f2f 48%, #9e1515 100%) !important;
    color: #ffffff !important;
    border-bottom: 1px solid #ff9a9a !important;
    text-shadow: 0 1px 1px rgba(0,0,0,.45) !important;
}

html[data-theme="red"] .nav-pill a.active,
html[data-theme="red"] .nav-pill a:hover,
html[data-theme="red"] .chat-form button,
html[data-theme="red"] .chat-actions button,
html[data-theme="red"] .profile-action,
html[data-theme="red"] .news-form-actions button {
    background: linear-gradient(180deg, #ff8c8c 0%, #f13c3c 48%, #b01818 100%) !important;
    color: #ffffff !important;
    border: 1px solid #ffaaaa !important;
}

html[data-theme="red"] .live-news-item,
html[data-theme="red"] .live-news-body,
html[data-theme="red"] .live-news-meta,
html[data-theme="red"] .chat-window,
html[data-theme="red"] .chat-form input,
html[data-theme="red"] .rank-row,
html[data-theme="red"] .stats-live,
html[data-theme="red"] .online-live-list {
    background: #5d0b0b !important;
    color: #fff6f6 !important;
    border-color: #c52a2a !important;
}

/* Új témák selectje is olvasható legyen */
html[data-theme="purple"] .theme-switch.theme-dropdown select,
html[data-theme="yellow"] .theme-switch.theme-dropdown select,
html[data-theme="red"] .theme-switch.theme-dropdown select {
    background: rgba(255,255,255,.92) !important;
    color: #222 !important;
}



/* ==========================================================
   HEADER HARD LOCK - MINDEN OLDALON UGYANOTT, UGYANAKKORA
   index.php / profile.php / messages.php / browse.php
   ========================================================== */

:root {
    --bt-fixed-width: 1100px;
    --bt-fixed-max: calc(100% - 34px);
}

/* Belépve/Kilépés sor: mindig jobb felül, fix szélességen belül */
body > .top-status,
.top-status {
    width: var(--bt-fixed-width) !important;
    max-width: var(--bt-fixed-max) !important;
    height: 30px !important;
    min-height: 30px !important;
    margin: 10px auto 6px auto !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 10px !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    z-index: 50 !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
}

/* Minden oldal fő burka ugyanakkora legyen */
body > .page-shell,
body > .page-shell.messages-page,
body > .page-shell.profile-content-page,
.page-shell,
.profile-content-page.page-shell,
.simple-page {
    width: var(--bt-fixed-width) !important;
    max-width: var(--bt-fixed-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* Ne legyen oldalanként eltérő felső margó */
body > .page-shell,
body > .page-shell.messages-page,
body > .page-shell.profile-content-page {
    margin-top: 34px !important;
    margin-bottom: 45px !important;
}

/* Nagy Bithorlo header: minden oldalon fix */
body > .page-shell > .hero-card,
.page-shell > .hero-card,
.profile-content-page > .hero-card,
.messages-page > .hero-card,
.hero-card {
    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Logó méret fix */
.hero-card .brand,
.profile-content-page .brand,
.messages-page .brand {
    height: 150px !important;
}

.hero-card .brand-title,
.profile-content-page .brand-title,
.messages-page .brand-title {
    font-size: 54px !important;
    line-height: 56px !important;
}

.hero-card .brand-sub,
.profile-content-page .brand-sub,
.messages-page .brand-sub {
    font-size: 13px !important;
    line-height: 16px !important;
    letter-spacing: 8px !important;
}

/* Stílusválasztó mindig a header jobb felső sarkában */
.hero-card .theme-switch.theme-dropdown,
.page-shell .theme-switch.theme-dropdown,
.profile-content-page .theme-switch.theme-dropdown,
.messages-page .theme-switch.theme-dropdown {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    left: auto !important;
    margin: 0 !important;
    z-index: 30 !important;
}

/* Adatcsík: fix hely, fix szélesség, nem törik másképp */
.user-statline,
.page-shell .user-statline,
.profile-content-page .user-statline,
.messages-page .user-statline {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    margin: 14px 0 14px 0 !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 13px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-size: 13px !important;
}

/* Menü: mindig ugyanott, ugyanakkora */
.nav-pill,
.page-shell .nav-pill,
.profile-content-page .nav-pill,
.messages-page .nav-pill {
    width: calc(100% - 70px) !important;
    max-width: calc(100% - 70px) !important;
    min-height: 54px !important;
    margin: 0 auto 18px auto !important;
    padding: 8px 26px !important;
    box-sizing: border-box !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
}

.nav-pill a,
.nav-pill button {
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.nav-user {
    margin-left: auto !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

/* ==========================================================
   MESSAGES.PHP DOBOZ ÖSSZÉBB HÚZÁS
   ========================================================== */

.messages-page .messages-box {
    width: calc(100% - 70px) !important;
    max-width: calc(100% - 70px) !important;
    margin: 0 auto 24px auto !important;
    box-sizing: border-box !important;
}

.messages-page .messages-head {
    min-height: 42px !important;
    font-size: 17px !important;
}

.messages-page .messages-body {
    padding: 18px 22px !important;
}

.messages-page .msg-tabs {
    gap: 8px !important;
    margin-bottom: 18px !important;
}

.messages-page .msg-tab {
    min-height: 38px !important;
    font-size: 14px !important;
}

.messages-page .msg-table th,
.messages-page .msg-table td {
    padding: 8px 9px !important;
    font-size: 13px !important;
}

/* Mobilon továbbra is használható legyen */
@media (max-width: 760px) {
    body > .top-status,
    .top-status {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        justify-content: center !important;
        height: auto !important;
    }

    body > .page-shell,
    body > .page-shell.messages-page,
    body > .page-shell.profile-content-page,
    .page-shell,
    .profile-content-page.page-shell {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin-top: 12px !important;
    }

    .user-statline,
    .page-shell .user-statline,
    .profile-content-page .user-statline,
    .messages-page .user-statline {
        justify-content: flex-start !important;
        overflow-x: auto !important;
    }

    .nav-pill,
    .page-shell .nav-pill,
    .profile-content-page .nav-pill,
    .messages-page .nav-pill,
    .messages-page .messages-box {
        width: 100% !important;
        max-width: 100% !important;
    }

    .nav-pill,
    .page-shell .nav-pill,
    .profile-content-page .nav-pill,
    .messages-page .nav-pill {
        overflow-x: auto !important;
        justify-content: flex-start !important;
    }
}


/* ==========================================================
   KÖZÖS PHP HEADER - EGYETLEN FIX FELSŐ RÉSZ
   A régi oldalankénti headereket elrejti.
   ========================================================== */

:root {
    --bt-header-width: 1100px;
    --bt-header-max: calc(100% - 34px);
}

/* Régi, oldalakba beleégetett header részek elrejtése */
body.has-bt-fixed-header > .top-status,
body.has-bt-fixed-header .page-shell > .hero-card:not(.bt-hero),
body.has-bt-fixed-header .page-shell > .user-statline:not(.bt-statline),
body.has-bt-fixed-header .page-shell > .nav-pill:not(.bt-nav) {
    display: none !important;
}

/* Új közös header */
.bt-fixed-header {
    width: 100%;
    margin: 0;
    padding: 0;
}

.bt-fixed-inner {
    width: var(--bt-header-width);
    max-width: var(--bt-header-max);
    margin: 0 auto;
    box-sizing: border-box;
}

/* Belépve / Kilépés mindig ugyanott */
.bt-top-status {
    height: 30px;
    min-height: 30px;
    margin: 10px 0 6px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: var(--text);
    font-size: 13px;
    box-sizing: border-box;
}

.bt-top-status a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 900;
}

/* Nagy fejléc mindig ugyanolyan */
.bt-hero.hero-card {
    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    max-height: 150px !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.bt-hero .brand {
    height: 150px !important;
}

.bt-hero .brand-title {
    font-size: 54px !important;
    line-height: 56px !important;
}

.bt-hero .brand-sub {
    font-size: 13px !important;
    line-height: 16px !important;
    letter-spacing: 8px !important;
}

.bt-hero .theme-switch.theme-dropdown {
    position: absolute !important;
    top: 8px !important;
    right: 10px !important;
    z-index: 30 !important;
}

/* Adatcsík mindig ugyanolyan */
.bt-statline.user-statline {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 42px !important;
    margin: 14px 0 14px 0 !important;
    padding: 8px 14px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    font-size: 13px !important;
}

.bt-statline a {
    color: inherit !important;
    text-decoration: none !important;
    font-weight: 900;
}

/* Menü mindig ugyanolyan */
.bt-nav.nav-pill {
    width: calc(100% - 70px) !important;
    max-width: calc(100% - 70px) !important;
    min-height: 54px !important;
    margin: 0 auto 18px auto !important;
    padding: 8px 26px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

.bt-nav a,
.bt-nav button {
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.bt-nav .nav-user {
    margin-left: auto !important;
    flex: 0 0 auto !important;
}

/* Tartalom mostantól mindig a fix header alatt indul */
body.has-bt-fixed-header .page-shell {
    width: var(--bt-header-width) !important;
    max-width: var(--bt-header-max) !important;
    margin: 18px auto 45px auto !important;
    box-sizing: border-box !important;
}

/* Messages doboz ne legyen teljes képernyős */
body.has-bt-fixed-header .messages-page .messages-box {
    width: calc(100% - 70px) !important;
    max-width: calc(100% - 70px) !important;
    margin: 0 auto 24px auto !important;
}

/* Mobilon is egy közös header marad */
@media (max-width: 760px) {
    .bt-fixed-inner,
    body.has-bt-fixed-header .page-shell {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
    }

    .bt-top-status {
        height: auto;
        min-height: 28px;
        justify-content: center;
        font-size: 12px;
    }

    .bt-hero.hero-card {
        height: 112px !important;
        min-height: 112px !important;
        max-height: 112px !important;
    }

    .bt-hero .brand {
        height: 112px !important;
    }

    .bt-hero .brand-title {
        font-size: 34px !important;
        line-height: 36px !important;
    }

    .bt-hero .brand-sub {
        font-size: 9px !important;
        line-height: 12px !important;
        letter-spacing: 4px !important;
    }

    .bt-statline.user-statline {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }

    .bt-nav.nav-pill,
    body.has-bt-fixed-header .messages-page .messages-box {
        width: 100% !important;
        max-width: 100% !important;
    }

    .bt-nav.nav-pill {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
}


/* ==========================================================
   BROWSE.PHP - LETÖLTÉSEK OLDAL
   Közös header alatt, nem mozgatja a felső részt.
   ========================================================== */

.browse-page {
    margin-top: 18px !important;
}

.browse-card {
    width: calc(100% - 70px);
    margin: 0 auto 16px;
    background: var(--card-bg);
    border: 1px solid var(--panel-border);
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 18px 30px var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
}

.browse-head {
    min-height: 70px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: var(--card-head);
    border-bottom: 1px solid var(--panel-border);
}

.browse-head h1 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
}

.browse-head p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.browse-view-switch {
    display: flex;
    gap: 8px;
}

.browse-view-switch a,
.browse-reset,
.bt-pager a,
.bt-pager span,
.browse-cats a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 11px;
    border-radius: 7px;
    background: var(--pill);
    color: var(--pill-text);
    border: 1px solid var(--panel-border);
    text-decoration: none;
    font-weight: 900;
}

.browse-view-switch a.active,
.browse-cats a.active,
.bt-pager span.active {
    background: var(--card-head);
    color: var(--text);
}

.browse-filter {
    padding: 16px 18px 10px;
    display: grid;
    grid-template-columns: 1fr 180px 210px auto auto;
    gap: 10px;
}

.browse-filter input,
.browse-filter select {
    height: 38px;
    border-radius: 7px;
    border: 1px solid var(--panel-border);
    background: rgba(255,255,255,.10);
    color: var(--text);
    padding: 0 11px;
    outline: none;
}

.browse-filter button {
    height: 38px;
    border-radius: 7px;
    border: 1px solid var(--panel-border);
    background: var(--card-head);
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
}

.browse-cats {
    padding: 0 18px 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.browse-section-title {
    min-height: 42px;
    display: grid;
    place-items: center;
    background: var(--card-head);
    color: var(--text);
    border-bottom: 1px solid var(--panel-border);
    font-weight: 900;
}

.featured-row {
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.featured-item {
    min-height: 155px;
    padding: 10px;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    border: 1px solid var(--panel-border);
    text-decoration: none;
    color: var(--text);
    display: grid;
    gap: 8px;
}

.featured-poster {
    height: 82px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 900;
    background: var(--card-head);
    color: var(--text);
}

.featured-item strong {
    font-size: 12px;
    line-height: 1.25;
}

.featured-item small {
    color: var(--muted);
}

.bt-pager {
    padding: 12px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
}

.bt-pager span.disabled {
    opacity: .45;
}

.torrent-table-wrap {
    overflow-x: auto;
}

.torrent-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1040px;
    color: var(--dark-text);
    font-size: 13px;
}

.torrent-table th,
.torrent-table td {
    padding: 9px 8px;
    border-bottom: 1px solid var(--panel-border);
    text-align: left;
    vertical-align: middle;
}

.torrent-table th {
    background: var(--card-head);
    color: var(--text);
    font-weight: 900;
    white-space: nowrap;
}

.torrent-table th a {
    color: var(--text);
    text-decoration: none;
}

.torrent-table tr:hover td {
    background: rgba(255,255,255,.06);
}

.col-info,
.col-save {
    width: 42px;
    text-align: center !important;
}

.col-cat {
    width: 120px;
}

.torrent-icon {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    border: 1px solid var(--panel-border);
    background: rgba(255,255,255,.08);
    color: var(--text);
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
}

.torrent-icon.save.active {
    color: #ffd54d;
}

.bookmark-form {
    margin: 0;
    padding: 0;
}

.cat-pill {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(255,255,255,.09);
    border: 1px solid var(--panel-border);
    font-weight: 900;
    white-space: nowrap;
}

.torrent-name-cell {
    min-width: 280px;
}

.torrent-name-link {
    color: var(--primary) !important;
    font-weight: 900;
    text-decoration: none;
}

.torrent-name-link:hover {
    color: #fff !important;
    text-shadow: 0 0 8px var(--primary);
}

.torrent-file {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.seed {
    color: #36e66d;
    font-weight: 900;
}

.leech {
    color: #ff6262;
    font-weight: 900;
}

.complete {
    color: var(--primary);
    font-weight: 900;
}

.uploader-link {
    font-weight: 900;
    text-decoration: none;
}

.browse-empty {
    padding: 32px;
    text-align: center;
    color: var(--muted);
}

.poster-grid {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.poster-card {
    padding: 10px;
    border-radius: 9px;
    background: rgba(255,255,255,.07);
    border: 1px solid var(--panel-border);
    display: grid;
    gap: 8px;
}

.poster-cover {
    height: 150px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: var(--card-head);
    color: var(--text);
    text-decoration: none;
    font-size: 56px;
    font-weight: 900;
}

.poster-title {
    color: var(--primary);
    font-weight: 900;
    text-decoration: none;
    line-height: 1.25;
}

.poster-meta {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    .browse-card {
        width: 100%;
    }

    .featured-row,
    .poster-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .browse-filter {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .browse-head {
        flex-direction: column;
        align-items: stretch;
    }

    .browse-filter {
        grid-template-columns: 1fr;
    }

    .featured-row,
    .poster-grid {
        grid-template-columns: 1fr 1fr;
    }

    .torrent-table {
        min-width: 950px;
    }
}


/* ==========================================================
   BROWSE - RÉGI STÍLUSÚ KATEGÓRIA TÁBLA
   ========================================================== */

.browse-old-category-box {
    width: calc(100% - 70px) !important;
    margin: 0 auto 14px !important;
    border-radius: 8px !important;
}

.old-browse-title {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--card-head);
    color: var(--text);
    font-weight: 900;
    border-bottom: 1px solid var(--panel-border);
}

.old-browse-title button {
    border: 0;
    background: transparent;
    color: #ff3b3b;
    font-weight: 900;
    cursor: pointer;
}

.old-browse-form {
    padding: 18px 16px;
    background: color-mix(in srgb, var(--card-bg) 82%, rgba(255,255,255,.12));
}

.old-browse-row {
    display: grid;
    grid-template-columns: 390px 230px auto auto 80px;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.old-browse-row-second {
    grid-template-columns: 390px 190px 280px;
}

.old-browse-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-text);
    font-weight: 900;
}

.old-browse-row label span {
    min-width: 58px;
}

.old-browse-row input[type="text"],
.old-browse-row select {
    height: 26px;
    border: 1px solid color-mix(in srgb, var(--panel-border) 70%, #222);
    border-radius: 4px;
    background: rgba(255,255,255,.86);
    color: #111;
    padding: 0 7px;
    font-size: 13px;
}

.old-title-field input {
    width: 330px;
}

.old-state-field select {
    width: 150px;
}

.old-category-select select {
    width: 170px;
}

.old-exact-field {
    font-weight: 700 !important;
    font-size: 12px;
}

.old-exact-field input {
    width: 14px;
    height: 14px;
}

.old-cat-toggle-link,
.old-tags-help {
    color: #db1111 !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.old-search-btn {
    height: 30px;
    border-radius: 6px;
    border: 1px solid var(--panel-border);
    background: rgba(255,255,255,.88);
    color: #5b1b5b;
    font-weight: 900;
    cursor: pointer;
}

.old-cat-panel {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid var(--panel-border);
    border-radius: 7px;
    background: rgba(255,255,255,.07);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.old-cat-panel[hidden] {
    display: none !important;
}

.old-cat-panel a {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid var(--panel-border);
    background: var(--pill);
    color: var(--pill-text);
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
}

.old-cat-panel a.active {
    background: var(--card-head);
    color: var(--text);
}

/* A találati fejléc kicsit kompaktabb legyen */
.browse-result-head .browse-head {
    min-height: 58px !important;
}

/* Vajszín/fehér témánál olvashatóság */
html[data-theme="cream"] .old-browse-row label,
html[data-theme="white"] .old-browse-row label {
    color: #34291f !important;
}

@media (max-width: 1000px) {
    .old-browse-row,
    .old-browse-row-second {
        grid-template-columns: 1fr !important;
    }

    .old-browse-row label {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .old-title-field input,
    .old-state-field select,
    .old-category-select select {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .browse-old-category-box {
        width: 100% !important;
    }

    .old-browse-form {
        padding: 12px;
    }
}


/* ==========================================================
   TOVÁBBIAK LENYÍLÓ MENÜ
   Közös headerben működik minden oldalon.
   ========================================================== */

.bt-more-menu {
    position: relative !important;
    flex: 0 0 auto !important;
}

.bt-more-menu > button {
    cursor: pointer !important;
}

.bt-more-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    width: 230px;
    padding: 8px;
    z-index: 9999;
    border-radius: 10px;
    background: var(--card-bg);
    border: 1px solid var(--panel-border);
    box-shadow:
        0 18px 34px rgba(0,0,0,.34),
        inset 0 1px 0 rgba(255,255,255,.10);
}

.bt-more-menu:hover .bt-more-dropdown,
.bt-more-menu:focus-within .bt-more-dropdown,
.bt-more-menu.is-open .bt-more-dropdown {
    display: grid;
    gap: 6px;
}

.bt-more-dropdown a {
    min-height: 36px !important;
    padding: 0 12px !important;
    justify-content: flex-start !important;
    border-radius: 7px;
    color: var(--text) !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    background: rgba(255,255,255,.06);
    border: 1px solid transparent;
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
}

.bt-more-dropdown a:hover {
    background: var(--card-head) !important;
    border-color: var(--panel-border) !important;
    color: #fff !important;
}

/* Vajszín / fehér témánál is olvasható legyen */
html[data-theme="cream"] .bt-more-dropdown,
html[data-theme="white"] .bt-more-dropdown {
    background: #efe6d3 !important;
}

html[data-theme="cream"] .bt-more-dropdown a,
html[data-theme="white"] .bt-more-dropdown a {
    color: #604c36 !important;
    background: rgba(255,255,255,.35);
}

html[data-theme="cream"] .bt-more-dropdown a:hover,
html[data-theme="white"] .bt-more-dropdown a:hover {
    color: #fff !important;
}

/* Mobilon ne lógjon ki */
@media (max-width: 760px) {
    .bt-more-dropdown {
        position: fixed;
        left: 12px;
        right: 12px;
        top: auto;
        width: auto;
        max-width: calc(100% - 24px);
    }
}


/* ==========================================================
   TOVÁBBIAK DROPDOWN KATTINTHATÓ FIX
   Ne tűnjön el, amikor rámegyünk a menüpontokra.
   ========================================================== */

.bt-more-menu {
    position: relative !important;
    z-index: 10000 !important;
}

.bt-more-menu > button {
    position: relative !important;
    z-index: 10002 !important;
}

/* A dropdown közvetlenül a gomb alatt legyen, ne legyen közte hézag */
.bt-more-dropdown {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 0 !important;
    padding: 8px !important;
    width: 240px !important;
    z-index: 10001 !important;
    pointer-events: auto !important;
}

/* Kattintásra és hoverre is maradjon nyitva */
.bt-more-menu.is-open .bt-more-dropdown,
.bt-more-menu:hover .bt-more-dropdown,
.bt-more-menu:focus-within .bt-more-dropdown {
    display: grid !important;
    gap: 6px !important;
}

/* Láthatatlan híd a gomb és dropdown között, hogy ne szakadjon meg a hover */
.bt-more-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
    z-index: 10000;
}

/* Linkek biztos kattinthatók legyenek */
.bt-more-dropdown a {
    position: relative !important;
    z-index: 10003 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    min-height: 38px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* A header alatt se vágja le semmi */
.bt-nav.nav-pill,
.nav-pill {
    overflow: visible !important;
}

.bt-fixed-header,
.bt-fixed-inner {
    overflow: visible !important;
}

/* Mobilon is kattintható legyen */
@media (max-width: 760px) {
    .bt-more-dropdown {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: 170px !important;
        width: auto !important;
        max-width: calc(100% - 24px) !important;
    }
}


/* ==========================================================
   BROWSE TÁBLA - DESKTOPON NE LEGYEN ALSÓ VÍZSZINTES CSÍK
   Mobilon marad görgethető.
   ========================================================== */

@media (min-width: 761px) {
    .browse-page .torrent-table-wrap {
        overflow-x: hidden !important;
        overflow-y: visible !important;
        width: 100% !important;
    }

    .browse-page .torrent-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: auto !important;
        font-size: 12px !important;
    }

    .browse-page .torrent-table th,
    .browse-page .torrent-table td {
        padding: 7px 6px !important;
        white-space: nowrap !important;
    }

    .browse-page .col-info,
    .browse-page .col-save {
        width: 34px !important;
        min-width: 34px !important;
    }

    .browse-page .col-cat {
        width: 105px !important;
        max-width: 105px !important;
    }

    .browse-page .cat-pill {
        max-width: 98px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .browse-page .torrent-name-cell {
        min-width: 0 !important;
        max-width: 330px !important;
        white-space: normal !important;
    }

    .browse-page .torrent-name-link {
        display: inline-block !important;
        max-width: 310px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        vertical-align: bottom !important;
    }

    .browse-page .torrent-file {
        max-width: 310px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .browse-page .torrent-icon {
        width: 26px !important;
        height: 26px !important;
    }

    .browse-page .torrent-table th:nth-child(5),
    .browse-page .torrent-table td:nth-child(5) {
        width: 72px !important;
    }

    .browse-page .torrent-table th:nth-child(6),
    .browse-page .torrent-table td:nth-child(6),
    .browse-page .torrent-table th:nth-child(7),
    .browse-page .torrent-table td:nth-child(7),
    .browse-page .torrent-table th:nth-child(8),
    .browse-page .torrent-table td:nth-child(8) {
        width: 54px !important;
        text-align: center !important;
    }

    .browse-page .torrent-table th:nth-child(10),
    .browse-page .torrent-table td:nth-child(10) {
        width: 112px !important;
    }
}

/* Mobilon/tableten maradjon a vízszintes görgetés, mert ott szükséges */
@media (max-width: 760px) {
    .browse-page .torrent-table-wrap {
        overflow-x: auto !important;
    }

    .browse-page .torrent-table {
        min-width: 950px !important;
    }
}


/* ==========================================================
   BROWSE KATEGÓRIA KÉPEK
   ========================================================== */

.browse-page .col-cat {
    width: 92px !important;
    max-width: 92px !important;
    text-align: center !important;
}

.cat-img-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 82px;
    min-height: 42px;
    text-decoration: none !important;
}

.cat-img {
    max-width: 82px;
    max-height: 42px;
    display: block;
    object-fit: contain;
    image-rendering: auto;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}

.cat-img-link:hover .cat-img {
    transform: translateY(-1px);
    filter: drop-shadow(0 3px 5px rgba(0,0,0,.45));
}

/* A régi szöveges cat-pill marad fallbacknek, ha valahol még használjuk */
.cat-pill {
    display: inline-block;
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(255,255,255,.09);
    border: 1px solid var(--panel-border);
    font-weight: 900;
    white-space: nowrap;
}


/* ==========================================================
   BROWSE KATEGÓRIÁK - LETISZTULT CÍMKÉK, NEM SZÉTESŐ KÉPEK
   ========================================================== */

.browse-page .col-cat {
    width: 118px !important;
    max-width: 118px !important;
    text-align: center !important;
}

.cat-img-link,
.cat-img {
    display: none !important;
}

.cat-clean {
    width: 104px;
    min-height: 28px;
    padding: 0 8px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow:
        0 3px 7px rgba(0,0,0,.22),
        inset 0 1px 0 rgba(255,255,255,.20),
        inset 0 -2px 0 rgba(0,0,0,.16);
    color: #fff !important;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    overflow: hidden;
}

.cat-clean:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

/* Film kategóriák */
.cat-clean-1,
.cat-clean-6,
.cat-clean-7,
.cat-clean-8,
.cat-clean-9 {
    background: linear-gradient(180deg, #1f8f58 0%, #12623d 52%, #0b3d28 100%);
}

/* Játék */
.cat-clean-2 {
    background: linear-gradient(180deg, #d53838 0%, #9d1f1f 52%, #651010 100%);
}

/* Képek */
.cat-clean-17 {
    background: linear-gradient(180deg, #e98a2e 0%, #b95c18 52%, #74370c 100%);
}

/* Könyvek */
.cat-clean-19,
.cat-clean-20 {
    background: linear-gradient(180deg, #3557b8 0%, #233b88 52%, #15245c 100%);
}

/* Lossless / Zene */
.cat-clean-14,
.cat-clean-16,
.cat-clean-28 {
    background: linear-gradient(180deg, #2384a8 0%, #155d7a 52%, #0b394d 100%);
}

/* Programok */
.cat-clean-22 {
    background: linear-gradient(180deg, #6f7178 0%, #484a50 52%, #2d2f34 100%);
}

/* Sorozatok */
.cat-clean-23,
.cat-clean-24,
.cat-clean-25,
.cat-clean-26 {
    background: linear-gradient(180deg, #199fc2 0%, #0e7190 52%, #07495f 100%);
}

/* XXX */
.cat-clean-27 {
    background: linear-gradient(180deg, #d934ad 0%, #9b207d 52%, #61144f 100%);
}

/* Desktopon tartsa el szépen a táblát */
@media (min-width: 761px) {
    .browse-page .torrent-table th,
    .browse-page .torrent-table td {
        vertical-align: middle !important;
    }

    .browse-page .torrent-name-cell {
        max-width: 360px !important;
    }

    .browse-page .torrent-name-link,
    .browse-page .torrent-file {
        max-width: 340px !important;
    }
}

/* Mobilon maradhat görgethető */
@media (max-width: 760px) {
    .cat-clean {
        width: 100px;
    }
}


/* ==========================================================
   BROWSE KATEGÓRIA SVG IKONOK - EGYSÉGES, ÉLES, NEM PIXELES
   ========================================================== */

.browse-page .col-cat {
    width: 118px !important;
    max-width: 118px !important;
    text-align: center !important;
}

.cat-clean,
.cat-img-link,
.cat-img {
    display: none !important;
}

.cat-svg-link {
    width: 110px;
    height: 38px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.cat-svg {
    width: 110px;
    height: 38px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}

.cat-svg-link:hover .cat-svg {
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 5px rgba(0,0,0,.45));
}

@media (min-width: 761px) {
    .browse-page .torrent-table th,
    .browse-page .torrent-table td {
        vertical-align: middle !important;
    }

    .browse-page .torrent-name-cell {
        max-width: 330px !important;
    }

    .browse-page .torrent-name-link,
    .browse-page .torrent-file {
        max-width: 310px !important;
    }
}


/* ==========================================================
   BROWSE KATEGÓRIÁK - NÉGYZET IKONOK
   Ilyen: HD-HUN / XVID-HUN kocka ikon.
   ========================================================== */

.browse-page .col-cat {
    width: 74px !important;
    max-width: 74px !important;
    min-width: 74px !important;
    text-align: center !important;
}

.cat-clean,
.cat-svg-link,
.cat-svg,
.cat-img-link,
.cat-img {
    display: none !important;
}

.cat-square-link {
    width: 58px;
    height: 58px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.cat-square {
    width: 58px;
    height: 58px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.42));
}

.cat-square-link:hover .cat-square {
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 5px rgba(0,0,0,.55));
}

@media (min-width: 761px) {
    .browse-page .torrent-table th,
    .browse-page .torrent-table td {
        vertical-align: middle !important;
    }

    .browse-page .torrent-name-cell {
        max-width: 360px !important;
    }

    .browse-page .torrent-name-link,
    .browse-page .torrent-file {
        max-width: 340px !important;
    }
}


/* BDRIP PNG ikonok nagyobb, szebb megjelenítése */
.cat-square-link {
    width: 64px !important;
    height: 64px !important;
}

.cat-square {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
}

.browse-page .col-cat {
    width: 82px !important;
    max-width: 82px !important;
    min-width: 82px !important;
}


/* ==========================================================
   FILM / SOROZAT KÜLSŐ LINKEK
   Port.hu | MAFAB | IMDb | YouTube
   ========================================================== */

.torrent-media-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
}

.media-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: 5px;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow:
        0 2px 4px rgba(0,0,0,.28),
        inset 0 1px 0 rgba(255,255,255,.18);
    text-shadow: 0 1px 1px rgba(0,0,0,.45);
    white-space: nowrap;
}

.media-link-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.12);
}

.media-link-port {
    background: linear-gradient(180deg, #31a9ff 0%, #1267b4 100%);
}

.media-link-mafab {
    background: linear-gradient(180deg, #24bf67 0%, #087739 100%);
}

.media-link-imdb {
    color: #151515 !important;
    background: linear-gradient(180deg, #ffd95a 0%, #f2b400 100%);
    text-shadow: none;
}

.media-link-youtube {
    background: linear-gradient(180deg, #ff4747 0%, #ba1010 100%);
}

@media (max-width: 760px) {
    .torrent-media-links {
        gap: 4px;
    }

    .media-link-btn {
        font-size: 9px;
        padding: 2px 6px;
    }
}


/* ==========================================================
   TORRENT ELLENŐRZÉSI ÁLLAPOT
   ❔ ellenőrizetlen / ✅ elfogadott / ❌ elutasított
   ========================================================== */

.browse-page .col-review {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    text-align: center !important;
}

.review-badge {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow:
        0 2px 5px rgba(0,0,0,.32),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.review-pending {
    background: linear-gradient(180deg, #ffe17a, #b9800b);
    color: #201600;
}

.review-approved {
    background: linear-gradient(180deg, #56ee8a, #087b32);
    color: #ffffff;
}

.review-rejected {
    background: linear-gradient(180deg, #ff7070, #9d1010);
    color: #ffffff;
}

.review-actions {
    margin: 4px 0 0;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.review-actions button {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    color: var(--text);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.review-actions button:hover {
    background: var(--card-head);
    transform: translateY(-1px);
}


/* ==========================================================
   TORRENT ELLENŐRZÉSI ÁLLAPOT
   ❔ ellenőrizetlen / ✅ elfogadott / ❌ elutasított
   ========================================================== */

.browse-page .col-review {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
    text-align: center !important;
}

.review-badge {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow:
        0 2px 5px rgba(0,0,0,.32),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.review-pending {
    background: linear-gradient(180deg, #ffe17a, #b9800b);
    color: #201600;
}

.review-approved {
    background: linear-gradient(180deg, #56ee8a, #087b32);
    color: #ffffff;
}

.review-rejected {
    background: linear-gradient(180deg, #ff7070, #9d1010);
    color: #ffffff;
}

.review-actions {
    margin: 4px 0 0;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.review-actions button {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    color: var(--text);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.review-actions button:hover {
    background: var(--card-head);
    transform: translateY(-1px);
}


/* ==========================================================
   TORRENT ELLENŐRZÉSI ÁLLAPOT - SAFE
   ? ellenőrizetlen / ✓ elfogadott / × elutasított
   ========================================================== */

.review-badge {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-left: 4px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 2px 5px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.18);
    vertical-align: middle;
}

.review-pending {
    background: linear-gradient(180deg, #ffe17a, #b9800b);
    color: #1b1300;
}

.review-approved {
    background: linear-gradient(180deg, #56ee8a, #087b32);
    color: #fff;
}

.review-rejected {
    background: linear-gradient(180deg, #ff7070, #9d1010);
    color: #fff;
}

.review-actions {
    display: inline-flex;
    gap: 2px;
    margin-left: 5px;
    vertical-align: middle;
}

.review-actions button {
    width: 18px;
    height: 18px;
    padding: 0;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(255,255,255,.12);
    color: var(--text);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.review-actions button:hover {
    background: var(--card-head);
    transform: translateY(-1px);
}


/* ==========================================================
   TORRENT DETAILS ÚJ ADATLAP
   ========================================================== */

.details-page {
    min-height: 100vh;
}

.detail-shell {
    max-width: 1180px;
    margin: 18px auto 80px;
    padding: 0 14px;
}

.detail-card {
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 14px;
}

.detail-page-title {
    text-align: center;
    font-weight: 900;
    color: var(--muted);
    margin-bottom: 22px;
}

.detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}

.detail-tab {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border-radius: 6px 6px 0 0;
    background: var(--card-head);
    color: var(--text);
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 900;
    border: 1px solid var(--border);
}

.detail-tab.active {
    background: color-mix(in srgb, var(--accent) 28%, var(--card-head));
}

.detail-tab.staff-tab {
    margin-left: auto;
}

.detail-tab.staff-tab + .detail-tab.staff-tab {
    margin-left: 0;
}

.detail-title {
    text-align: center;
    color: var(--accent);
    font-size: 24px;
    line-height: 1.25;
    margin: 8px 0 18px;
    font-weight: 900;
}

.detail-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 14px;
    align-items: start;
}

.detail-left,
.detail-right {
    min-width: 0;
}

.detail-poster-box {
    background: rgba(0,0,0,.14);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    min-height: 510px;
}

.detail-poster-box img {
    display: block;
    width: 100%;
    height: auto;
}

.detail-no-poster {
    min-height: 510px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted);
}

.detail-no-poster span {
    font-size: 66px;
    display: block;
}

.detail-side-info {
    margin-top: 12px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.08);
}

.detail-side-row {
    padding: 11px 12px;
    display: grid;
    gap: 7px;
    border-bottom: 1px solid var(--border);
}

.detail-side-row strong {
    font-weight: 900;
}

.detail-side-row span,
.detail-side-row a {
    text-align: right;
    color: var(--text);
}

.detail-media-buttons {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
}

.dlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border-radius: 6px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 4px rgba(0,0,0,.25);
}

.dlink-port {
    background: linear-gradient(180deg, #31a9ff, #1267b4);
}

.dlink-mafab {
    background: linear-gradient(180deg, #24bf67, #087739);
}

.dlink-imdb {
    color: #151515 !important;
    background: linear-gradient(180deg, #ffd95a, #f2b400);
}

.dlink-youtube {
    background: linear-gradient(180deg, #ff4747, #ba1010);
}

.detail-top-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-bottom: 14px;
}

.detail-action-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border-radius: 7px;
    background: var(--card-head);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 900;
    text-decoration: none !important;
}

.detail-bookmark {
    border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
}

.detail-info-table {
    border: 1px solid var(--border);
}

.detail-info-row {
    min-height: 45px;
    padding: 0 13px;
    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,.08);
    border-bottom: 1px solid var(--border);
}

.detail-info-row:nth-child(even) {
    background: rgba(0,0,0,.13);
}

.detail-info-row strong {
    font-weight: 900;
}

.detail-info-row span {
    text-align: right;
}

.detail-upload-row {
    min-height: 120px;
    grid-template-columns: 210px 1fr;
}

.detail-uploader {
    justify-self: end;
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 5px;
    background: #a91717;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 12px;
}

.detail-review-state {
    grid-column: 2;
    justify-self: end;
    margin-top: 8px;
}

.detail-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 7px;
    font-weight: 900;
    border: 1px solid rgba(0,0,0,.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 2px 4px rgba(0,0,0,.20);
}

.detail-status-approved {
    background: linear-gradient(180deg, #56ee8a, #087b32);
    color: #fff;
}

.detail-status-pending {
    background: linear-gradient(180deg, #ffd84d, #d69c00);
    color: #171000;
}

.detail-status-rejected {
    background: linear-gradient(180deg, #ff7070, #9d1010);
    color: #fff;
}

.detail-staff-box {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.detail-review-form {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.detail-review-form button {
    min-height: 30px;
    border: 1px solid var(--border);
    background: var(--card-head);
    color: var(--text);
    border-radius: 6px;
    font-weight: 900;
    cursor: pointer;
}

.detail-description {
    margin-top: 26px;
    padding: 18px;
    text-align: center;
}

.detail-description h2,
.detail-extra-box h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
}

.detail-description-body {
    line-height: 1.75;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    white-space: normal;
}

.detail-extra-grid {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.detail-extra-box {
    border: 1px solid var(--border);
    background: rgba(0,0,0,.08);
    padding: 14px;
}

.detail-extra-box pre {
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
}

@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-tab.staff-tab {
        margin-left: 0;
    }

    .detail-poster-box,
    .detail-no-poster {
        min-height: 320px;
    }

    .detail-info-row,
    .detail-upload-row {
        grid-template-columns: 1fr;
        padding: 10px 12px;
    }

    .detail-info-row span,
    .detail-side-row span,
    .detail-side-row a {
        text-align: left;
    }

    .detail-review-state {
        grid-column: auto;
        justify-self: start;
    }
}


/* ==========================================================
   DETAILS OLDSTYLE BITHORLO
   ========================================================== */

.dt-wrap {
    max-width: 1180px;
    margin: 18px auto 90px;
    padding: 0 14px;
}

.dt-card {
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 14px;
}

.dt-card-title {
    text-align: center;
    font-weight: 900;
    color: var(--muted);
    margin: 4px 0 24px;
}

.dt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 16px;
}

.dt-tab {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 6px 6px 0 0;
    border: 1px solid var(--border);
    background: var(--card-head);
    color: var(--text) !important;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 13px;
    cursor: pointer;
}

.dt-tab.active {
    background: color-mix(in srgb, var(--accent) 30%, var(--card-head));
}

.dt-tab-right {
    margin-left: auto;
}

.dt-pane {
    display: none;
}

.dt-pane.active {
    display: block;
}

.dt-title {
    text-align: center;
    color: var(--accent);
    font-size: 24px;
    line-height: 1.25;
    margin: 8px 0 18px;
    font-weight: 900;
}

.dt-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 14px;
    align-items: start;
}

.dt-left,
.dt-right {
    min-width: 0;
}

.dt-poster {
    background: rgba(0,0,0,.14);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    min-height: 500px;
}

.dt-poster img {
    width: 100%;
    display: block;
}

.dt-no-poster {
    min-height: 500px;
    display: grid;
    place-items: center;
    color: var(--muted);
    text-align: center;
}

.dt-no-poster span {
    display: block;
    font-size: 66px;
}

.dt-left-row {
    margin-top: 8px;
    padding: 10px 12px;
    display: grid;
    gap: 7px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.08);
}

.dt-left-row span,
.dt-left-row a {
    text-align: right;
    color: var(--text);
}

.dt-meta-buttons {
    margin-top: 9px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
}

.dt-meta {
    min-height: 32px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 4px rgba(0,0,0,.25);
}

.dt-port { background: linear-gradient(180deg, #31a9ff, #1267b4); color: #fff !important; }
.dt-mafab { background: linear-gradient(180deg, #24bf67, #087739); color: #fff !important; }
.dt-imdb { background: linear-gradient(180deg, #ffd95a, #f2b400); color: #151515 !important; }
.dt-youtube { background: linear-gradient(180deg, #ff4747, #ba1010); color: #fff !important; }

.dt-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-bottom: 14px;
}

.dt-btn {
    min-height: 38px;
    padding: 0 16px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--card-head);
    border: 1px solid var(--border);
    color: var(--text) !important;
    font-weight: 900;
    text-decoration: none !important;
}

.dt-bookmark {
    border-color: color-mix(in srgb, var(--accent) 60%, var(--border));
}

.dt-info-box {
    border: 1px solid var(--border);
}

.dt-row {
    min-height: 45px;
    padding: 0 13px;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: rgba(0,0,0,.08);
}

.dt-row:nth-child(even) {
    background: rgba(0,0,0,.13);
}

.dt-row span {
    text-align: right;
}

.dt-upload-row {
    min-height: 120px;
}

.dt-uploader {
    justify-self: end;
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 5px;
    background: #a91717;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 900;
    font-size: 12px;
}

.dt-muted {
    color: var(--muted);
}

.dt-review-inline {
    grid-column: 2;
    justify-self: end;
    margin-top: 8px;
}

.dt-status {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 7px;
    font-weight: 900;
    border: 1px solid rgba(0,0,0,.25);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.20), 0 2px 4px rgba(0,0,0,.20);
}

.dt-status-ok {
    background: linear-gradient(180deg, #56ee8a, #087b32);
    color: #fff;
}

.dt-status-wait {
    background: linear-gradient(180deg, #ffd84d, #d69c00);
    color: #171000;
}

.dt-status-no {
    background: linear-gradient(180deg, #ff7070, #9d1010);
    color: #fff;
}

.dt-description {
    margin-top: 26px;
    padding: 18px;
    text-align: center;
    background: rgba(0,0,0,.06);
    border: 1px solid var(--border);
}

.dt-description h2,
.dt-pane h2 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 900;
}

.dt-description div {
    line-height: 1.75;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
}

.dt-nfo {
    background: #111;
    color: #39ff5a;
    padding: 14px;
    border-radius: 6px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.dt-empty {
    padding: 14px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.08);
}

.dt-file {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-bottom: 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    background: rgba(0,0,0,.08);
}

.dt-file:last-child {
    border-bottom: 1px solid var(--border);
}

.dt-comment-form {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.dt-comment-form textarea {
    width: 100%;
    min-height: 110px;
    padding: 10px;
    background: var(--input-bg, rgba(0,0,0,.10));
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.dt-comment-form button,
.dt-review-form button {
    justify-self: start;
    min-height: 34px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card-head);
    color: var(--text);
    font-weight: 900;
    cursor: pointer;
}

.dt-comment {
    margin-bottom: 10px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.08);
    padding: 12px;
}

.dt-comment-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--muted);
}

.dt-review-box {
    display: grid;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    background: rgba(0,0,0,.08);
}

.dt-review-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dt-review-ok {
    background: linear-gradient(180deg, #56ee8a, #087b32) !important;
    color: #fff !important;
}

.dt-review-no {
    background: linear-gradient(180deg, #ff7070, #9d1010) !important;
    color: #fff !important;
}

.dt-review-wait {
    background: linear-gradient(180deg, #ffd84d, #d69c00) !important;
    color: #171000 !important;
}

@media (max-width: 900px) {
    .dt-layout {
        grid-template-columns: 1fr;
    }

    .dt-tab-right {
        margin-left: 0;
    }

    .dt-poster,
    .dt-no-poster {
        min-height: 320px;
    }

    .dt-row,
    .dt-upload-row {
        grid-template-columns: 1fr;
        padding: 10px 12px;
    }

    .dt-row span,
    .dt-left-row span,
    .dt-left-row a {
        text-align: left;
    }

    .dt-review-inline {
        grid-column: auto;
        justify-self: start;
    }
}


/* ==========================================================
   DETAILS FIX - FEJLÉC + NEM ÁTLÁTSZÓ DOBOZOK
   ========================================================== */

.details-oldstyle-page {
    min-height: 100vh;
}

/* legyen hely a közös fejléc alatt */
.details-oldstyle-page .dt-wrap {
    max-width: 1180px !important;
    margin: 26px auto 90px !important;
    padding: 0 14px !important;
}

/* fő adatlap ne legyen átlátszó */
.details-oldstyle-page .dt-card {
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
    padding: 16px !important;
    opacity: 1 !important;
}

/* bal poster doboz ne legyen átlátszó üveg */
.details-oldstyle-page .dt-poster,
.details-oldstyle-page .dt-no-poster {
    background: var(--card-bg, var(--panel)) !important;
    border: 1px solid var(--border) !important;
    opacity: 1 !important;
}

/* jobb oldali adattábla tömör legyen */
.details-oldstyle-page .dt-info-box {
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-row {
    background: var(--row-bg, color-mix(in srgb, var(--panel) 88%, #000 12%)) !important;
    color: var(--text) !important;
    border-bottom: 1px solid var(--border) !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-row:nth-child(even) {
    background: var(--row-alt-bg, color-mix(in srgb, var(--panel) 78%, #000 22%)) !important;
}

/* bal oldali cím / imdb sorok */
.details-oldstyle-page .dt-left-row {
    background: var(--row-bg, color-mix(in srgb, var(--panel) 88%, #000 12%)) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    opacity: 1 !important;
}

/* leírás doboz is tömör */
.details-oldstyle-page .dt-description,
.details-oldstyle-page .dt-empty,
.details-oldstyle-page .dt-comment,
.details-oldstyle-page .dt-review-box,
.details-oldstyle-page .dt-file {
    background: var(--panel) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    opacity: 1 !important;
}

/* tabok jobban látszódjanak */
.details-oldstyle-page .dt-tab {
    background: var(--card-head) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-tab.active {
    background: color-mix(in srgb, var(--accent) 45%, var(--card-head)) !important;
    color: #fff !important;
}

/* cím ne fakuljon */
.details-oldstyle-page .dt-title {
    color: var(--accent) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
}

/* állapot gombok maradjanak erősek */
.details-oldstyle-page .dt-status-ok {
    background: linear-gradient(180deg, #56ee8a, #087b32) !important;
    color: #fff !important;
}

.details-oldstyle-page .dt-status-wait {
    background: linear-gradient(180deg, #ffd84d, #d69c00) !important;
    color: #171000 !important;
}

.details-oldstyle-page .dt-status-no {
    background: linear-gradient(180deg, #ff7070, #9d1010) !important;
    color: #fff !important;
}

/* közös fejléc ne tűnjön el details oldalon */
.details-oldstyle-page .site-header,
.details-oldstyle-page .top-header,
.details-oldstyle-page .main-header,
.details-oldstyle-page .bithorlo-header,
.details-oldstyle-page .header-shell,
.details-oldstyle-page .floating-header {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
}


/* ==========================================================
   DETAILS LEÍRÁS TÁBLA
   ========================================================== */

.details-oldstyle-page .dt-description.dt-desc-table {
    margin-top: 26px !important;
    padding: 0 !important;
    text-align: left !important;
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-desc-head {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 900;
    color: var(--text);
    background: var(--card-head) !important;
    border-bottom: 1px solid var(--border);
}

.details-oldstyle-page .dt-desc-body {
    padding: 18px 22px;
    min-height: 120px;
    background: color-mix(in srgb, var(--panel) 88%, #000 12%) !important;
    color: var(--text);
    line-height: 1.75;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.06);
}

.details-oldstyle-page .dt-desc-body p {
    margin: 0 0 12px;
}


/* ==========================================================
   DETAILS FILM / SOROZAT ADATOK DOBOZ
   ========================================================== */

.details-oldstyle-page .dt-movie-meta-box {
    margin-top: 22px !important;
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-movie-meta-head {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: 15px;
    font-weight: 900;
    color: var(--text);
    background: var(--card-head) !important;
    border-bottom: 1px solid var(--border);
}

.details-oldstyle-page .dt-movie-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 0;
}

.details-oldstyle-page .dt-movie-meta-row {
    min-height: 44px;
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 88%, #000 12%) !important;
    color: var(--text);
}

.details-oldstyle-page .dt-movie-meta-row:nth-child(4n),
.details-oldstyle-page .dt-movie-meta-row:nth-child(4n-1) {
    background: color-mix(in srgb, var(--panel) 78%, #000 22%) !important;
}

.details-oldstyle-page .dt-movie-meta-row b {
    font-weight: 900;
}

.details-oldstyle-page .dt-movie-meta-row span {
    text-align: right;
    font-weight: 700;
}

.details-oldstyle-page .dt-movie-meta-wide {
    grid-column: 1 / -1;
    grid-template-columns: 150px 1fr;
    border-right: 0;
}

.details-oldstyle-page .dt-movie-meta-wide span {
    text-align: left;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .details-oldstyle-page .dt-movie-meta-grid {
        grid-template-columns: 1fr;
    }

    .details-oldstyle-page .dt-movie-meta-row,
    .details-oldstyle-page .dt-movie-meta-wide {
        grid-template-columns: 1fr;
        border-right: 0;
    }

    .details-oldstyle-page .dt-movie-meta-row span {
        text-align: left;
    }
}


/* ==========================================================
   DETAILS FILM / SOROZAT ADATOK - TISZTA TÁBLA FIX
   ========================================================== */

.details-oldstyle-page .dt-movie-meta-box {
    max-width: 860px !important;
    margin: 22px auto 0 !important;
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-movie-meta-head {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    background: var(--card-head) !important;
    color: var(--text) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    border-bottom: 1px solid var(--border) !important;
}

.details-oldstyle-page .dt-movie-meta-grid {
    display: block !important;
    background: var(--panel) !important;
}

.details-oldstyle-page .dt-movie-meta-row,
.details-oldstyle-page .dt-movie-meta-wide {
    min-height: 42px !important;
    display: grid !important;
    grid-template-columns: 190px 1fr !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 14px !important;
    background: color-mix(in srgb, var(--panel) 86%, #000 14%) !important;
    color: var(--text) !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--border) !important;
}

.details-oldstyle-page .dt-movie-meta-row:nth-child(even),
.details-oldstyle-page .dt-movie-meta-wide:nth-child(even) {
    background: color-mix(in srgb, var(--panel) 76%, #000 24%) !important;
}

.details-oldstyle-page .dt-movie-meta-row b,
.details-oldstyle-page .dt-movie-meta-wide b {
    color: var(--text) !important;
    font-weight: 900 !important;
    text-align: left !important;
}

.details-oldstyle-page .dt-movie-meta-row span,
.details-oldstyle-page .dt-movie-meta-wide span {
    color: var(--text) !important;
    font-weight: 700 !important;
    text-align: right !important;
    line-height: 1.55 !important;
}

.details-oldstyle-page .dt-movie-meta-wide span {
    text-align: left !important;
}

@media (max-width: 760px) {
    .details-oldstyle-page .dt-movie-meta-box {
        max-width: 100% !important;
    }

    .details-oldstyle-page .dt-movie-meta-row,
    .details-oldstyle-page .dt-movie-meta-wide {
        grid-template-columns: 1fr !important;
        padding: 10px 14px !important;
    }

    .details-oldstyle-page .dt-movie-meta-row span,
    .details-oldstyle-page .dt-movie-meta-wide span {
        text-align: left !important;
    }
}


/* ==========================================================
   DETAILS LEÍRÁS - TISZTA DOBOZ FIX
   ========================================================== */

.details-oldstyle-page .dt-description.dt-desc-table {
    max-width: 860px !important;
    margin: 22px auto 0 !important;
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow) !important;
    padding: 0 !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-desc-head {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    background: var(--card-head) !important;
    color: var(--text) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    border-bottom: 1px solid var(--border) !important;
}

.details-oldstyle-page .dt-desc-body {
    min-height: 130px !important;
    padding: 18px 22px !important;
    background: color-mix(in srgb, var(--panel) 86%, #000 14%) !important;
    color: var(--text) !important;
    line-height: 1.75 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    font-style: italic !important;
    text-align: center !important;
}


/* ==========================================================
   DETAILS - TELJESEN NEM ÁTLÁTSZÓ DOBOZOK
   ========================================================== */

/* fő adatlap háttér: ne üveg legyen */
.details-oldstyle-page .dt-card {
    background: #d8d0bd !important;
    background-image: none !important;
    color: #2d281f !important;
    border: 1px solid #8c826f !important;
    opacity: 1 !important;
}

/* tabok */
.details-oldstyle-page .dt-tab {
    background: #7f7768 !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 1px solid #6f6759 !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-tab.active {
    background: #5f594e !important;
    background-image: none !important;
    color: #ffffff !important;
}

/* jobb adat tábla */
.details-oldstyle-page .dt-info-box {
    background: #c8c1b0 !important;
    background-image: none !important;
    border: 1px solid #8c826f !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-row {
    background: #c8c1b0 !important;
    background-image: none !important;
    color: #2d281f !important;
    border-bottom: 1px solid #aaa08b !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-row:nth-child(even) {
    background: #bdb5a3 !important;
    background-image: none !important;
}

.details-oldstyle-page .dt-row b,
.details-oldstyle-page .dt-row span {
    color: #2d281f !important;
}

/* bal borító doboz */
.details-oldstyle-page .dt-poster,
.details-oldstyle-page .dt-no-poster {
    background: #c8c1b0 !important;
    background-image: none !important;
    color: #2d281f !important;
    border: 1px solid #8c826f !important;
    opacity: 1 !important;
}

/* bal oldali cím / imdb sorok */
.details-oldstyle-page .dt-left-row {
    background: #c8c1b0 !important;
    background-image: none !important;
    color: #2d281f !important;
    border: 1px solid #8c826f !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-left-row b,
.details-oldstyle-page .dt-left-row span,
.details-oldstyle-page .dt-left-row a {
    color: #2d281f !important;
}

/* Film / Sorozat adatok doboz */
.details-oldstyle-page .dt-movie-meta-box {
    background: #d8d0bd !important;
    background-image: none !important;
    border: 1px solid #8c826f !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-movie-meta-head {
    background: #7f7768 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-bottom: 1px solid #6f6759 !important;
}

.details-oldstyle-page .dt-movie-meta-grid {
    background: #c8c1b0 !important;
    background-image: none !important;
}

.details-oldstyle-page .dt-movie-meta-row,
.details-oldstyle-page .dt-movie-meta-wide {
    background: #c8c1b0 !important;
    background-image: none !important;
    color: #2d281f !important;
    border-bottom: 1px solid #aaa08b !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-movie-meta-row:nth-child(even),
.details-oldstyle-page .dt-movie-meta-wide:nth-child(even) {
    background: #bdb5a3 !important;
    background-image: none !important;
}

.details-oldstyle-page .dt-movie-meta-row b,
.details-oldstyle-page .dt-movie-meta-row span,
.details-oldstyle-page .dt-movie-meta-wide b,
.details-oldstyle-page .dt-movie-meta-wide span {
    color: #2d281f !important;
}

/* Leírás doboz */
.details-oldstyle-page .dt-description.dt-desc-table {
    background: #d8d0bd !important;
    background-image: none !important;
    border: 1px solid #8c826f !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-desc-head {
    background: #7f7768 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-bottom: 1px solid #6f6759 !important;
}

.details-oldstyle-page .dt-desc-body {
    background: #c8c1b0 !important;
    background-image: none !important;
    color: #2d281f !important;
    opacity: 1 !important;
}

/* NFO / fájlok / hozzászólások / ellenőrzés */
.details-oldstyle-page .dt-empty,
.details-oldstyle-page .dt-comment,
.details-oldstyle-page .dt-review-box,
.details-oldstyle-page .dt-file {
    background: #c8c1b0 !important;
    background-image: none !important;
    color: #2d281f !important;
    border: 1px solid #8c826f !important;
    opacity: 1 !important;
}

/* címek olvashatóan */
.details-oldstyle-page .dt-card-title,
.details-oldstyle-page .dt-title,
.details-oldstyle-page .dt-pane h2 {
    color: #5f4f3d !important;
    opacity: 1 !important;
}

/* minden belső áttetsző maradék kiütése */
.details-oldstyle-page .dt-card *,
.details-oldstyle-page .dt-info-box *,
.details-oldstyle-page .dt-movie-meta-box *,
.details-oldstyle-page .dt-description * {
    opacity: 1 !important;
}


/* ==========================================================
   DETAILS MODI PANEL
   ========================================================== */

.details-oldstyle-page .dt-modi-panel {
    max-width: 860px;
    margin: 0 auto;
    background: #d8d0bd !important;
    background-image: none !important;
    border: 1px solid #8c826f !important;
    box-shadow: var(--shadow);
    color: #2d281f !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-modi-head {
    min-height: 58px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    background: #7f7768 !important;
    background-image: none !important;
    color: #ffffff !important;
    border-bottom: 1px solid #6f6759;
}

.details-oldstyle-page .dt-modi-head strong {
    display: block;
    font-size: 17px;
    font-weight: 900;
}

.details-oldstyle-page .dt-modi-head span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: #f4efe4 !important;
}

.details-oldstyle-page .dt-modi-current {
    flex: 0 0 auto;
}

.details-oldstyle-page .dt-modi-info-grid {
    background: #c8c1b0 !important;
    background-image: none !important;
}

.details-oldstyle-page .dt-modi-info-row {
    min-height: 44px;
    display: grid;
    grid-template-columns: 190px 1fr;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: #c8c1b0 !important;
    background-image: none !important;
    color: #2d281f !important;
    border-bottom: 1px solid #aaa08b;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-modi-info-row:nth-child(even) {
    background: #bdb5a3 !important;
    background-image: none !important;
}

.details-oldstyle-page .dt-modi-info-row b {
    color: #2d281f !important;
    font-weight: 900;
}

.details-oldstyle-page .dt-modi-info-row span {
    color: #2d281f !important;
    text-align: right;
    font-weight: 700;
}

.details-oldstyle-page .dt-modi-note-row span {
    text-align: left;
    line-height: 1.55;
}

.details-oldstyle-page .dt-modi-form {
    padding: 14px;
    background: #d8d0bd !important;
    background-image: none !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-modi-label {
    display: grid;
    gap: 8px;
    font-weight: 900;
    color: #2d281f !important;
}

.details-oldstyle-page .dt-modi-label textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #8c826f;
    background: #efe6d2 !important;
    background-image: none !important;
    color: #2d281f !important;
    font-weight: 700;
    outline: none;
}

.details-oldstyle-page .dt-modi-buttons {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.details-oldstyle-page .dt-modi-buttons button {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 7px;
    border: 1px solid rgba(0,0,0,.22);
    font-weight: 900;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 4px rgba(0,0,0,.25);
}

.details-oldstyle-page .dt-modi-wait {
    background: linear-gradient(180deg, #ffd84d, #d69c00) !important;
    color: #171000 !important;
}

.details-oldstyle-page .dt-modi-ok {
    background: linear-gradient(180deg, #56ee8a, #087b32) !important;
    color: #ffffff !important;
}

.details-oldstyle-page .dt-modi-no {
    background: linear-gradient(180deg, #ff7070, #9d1010) !important;
    color: #ffffff !important;
}

@media (max-width: 760px) {
    .details-oldstyle-page .dt-modi-head {
        display: grid;
    }

    .details-oldstyle-page .dt-modi-info-row {
        grid-template-columns: 1fr;
    }

    .details-oldstyle-page .dt-modi-info-row span {
        text-align: left;
    }
}


/* ==========================================================
   DETAILS - KÖZÖS FEJLÉC MEGTARTÁSA
   ========================================================== */

.details-oldstyle-page .site-header,
.details-oldstyle-page .top-header,
.details-oldstyle-page .main-header,
.details-oldstyle-page .bithorlo-header,
.details-oldstyle-page .header-shell,
.details-oldstyle-page .floating-header,
.details-oldstyle-page .site-top,
.details-oldstyle-page .nav-shell {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
}

.details-oldstyle-page .dt-wrap {
    margin-top: 26px !important;
}


/* ==========================================================
   DETAILS - KÖZÖS FEJLÉC KÉNYSZERÍTETT MEGJELENÍTÉS
   ========================================================== */

.details-oldstyle-page .site-header,
.details-oldstyle-page .top-header,
.details-oldstyle-page .main-header,
.details-oldstyle-page .bithorlo-header,
.details-oldstyle-page .header-shell,
.details-oldstyle-page .floating-header,
.details-oldstyle-page .site-top,
.details-oldstyle-page .nav-shell,
.details-oldstyle-page header {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
}

/* az adatlap a fejléc ALÁ kerüljön */
.details-oldstyle-page .dt-wrap {
    margin-top: 26px !important;
}


/* ==========================================================
   DETAILS - KÖZÖS BITHORLO FEJLÉC MINDIG MARAD
   ========================================================== */

.details-oldstyle-page header,
.details-oldstyle-page .site-header,
.details-oldstyle-page .top-header,
.details-oldstyle-page .main-header,
.details-oldstyle-page .bithorlo-header,
.details-oldstyle-page .header-shell,
.details-oldstyle-page .floating-header,
.details-oldstyle-page .site-top,
.details-oldstyle-page .nav-shell,
.details-oldstyle-page .dashboard-header {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 9999 !important;
}

/* adatlap mindig a fejléc alatt induljon */
.details-oldstyle-page .dt-wrap {
    margin-top: 26px !important;
}


/* ==========================================================
   DETAILS - TÉMAHELYES SZÍNEK, NEM FIX VAJSZÍN
   Felülírja a korábbi keményre írt vajszín details fixet.
   ========================================================== */

.details-oldstyle-page {
    --dt-panel: var(--panel);
    --dt-head: var(--card-head);
    --dt-row: color-mix(in srgb, var(--panel) 88%, #000 12%);
    --dt-row-alt: color-mix(in srgb, var(--panel) 78%, #000 22%);
    --dt-text: var(--text);
    --dt-border: var(--border);
}

/* Zöld téma */
html[data-theme="green"] body.details-oldstyle-page,
body[data-theme="green"].details-oldstyle-page {
    --dt-panel: #0f3b2b;
    --dt-head: #15915f;
    --dt-row: #123f31;
    --dt-row-alt: #0d3328;
    --dt-text: #eefcf5;
    --dt-border: #1daa73;
}

/* Dark téma */
html[data-theme="dark"] body.details-oldstyle-page,
body[data-theme="dark"].details-oldstyle-page {
    --dt-panel: #171923;
    --dt-head: #262b3a;
    --dt-row: #1e2230;
    --dt-row-alt: #161a25;
    --dt-text: #f1f3f8;
    --dt-border: #3c4358;
}

/* Kék téma */
html[data-theme="blue"] body.details-oldstyle-page,
body[data-theme="blue"].details-oldstyle-page {
    --dt-panel: #102b4a;
    --dt-head: #1e68a8;
    --dt-row: #14385c;
    --dt-row-alt: #0e2d4d;
    --dt-text: #eef7ff;
    --dt-border: #2d83c6;
}

/* Vajszín téma */
html[data-theme="cream"] body.details-oldstyle-page,
body[data-theme="cream"].details-oldstyle-page {
    --dt-panel: #d8d0bd;
    --dt-head: #7f7768;
    --dt-row: #c8c1b0;
    --dt-row-alt: #bdb5a3;
    --dt-text: #2d281f;
    --dt-border: #8c826f;
}

/* Fehér téma */
html[data-theme="white"] body.details-oldstyle-page,
body[data-theme="white"].details-oldstyle-page {
    --dt-panel: #f3f3f3;
    --dt-head: #d8d8d8;
    --dt-row: #ffffff;
    --dt-row-alt: #e9e9e9;
    --dt-text: #1d1d1d;
    --dt-border: #b8b8b8;
}

/* Lila téma */
html[data-theme="purple"] body.details-oldstyle-page,
body[data-theme="purple"].details-oldstyle-page {
    --dt-panel: #26183d;
    --dt-head: #6d35a8;
    --dt-row: #321f50;
    --dt-row-alt: #26183d;
    --dt-text: #fbf4ff;
    --dt-border: #8a55c8;
}

/* Sárga téma */
html[data-theme="yellow"] body.details-oldstyle-page,
body[data-theme="yellow"].details-oldstyle-page {
    --dt-panel: #4a3810;
    --dt-head: #b8860b;
    --dt-row: #5a4314;
    --dt-row-alt: #493711;
    --dt-text: #fff7df;
    --dt-border: #d6a536;
}

/* Piros téma */
html[data-theme="red"] body.details-oldstyle-page,
body[data-theme="red"].details-oldstyle-page {
    --dt-panel: #3d1212;
    --dt-head: #9e2323;
    --dt-row: #4a1717;
    --dt-row-alt: #381111;
    --dt-text: #fff2f2;
    --dt-border: #c54242;
}

/* Fő details dobozok */
.details-oldstyle-page .dt-card,
.details-oldstyle-page .dt-poster,
.details-oldstyle-page .dt-no-poster,
.details-oldstyle-page .dt-info-box,
.details-oldstyle-page .dt-movie-meta-box,
.details-oldstyle-page .dt-description.dt-desc-table,
.details-oldstyle-page .dt-empty,
.details-oldstyle-page .dt-comment,
.details-oldstyle-page .dt-review-box,
.details-oldstyle-page .dt-file,
.details-oldstyle-page .dt-modi-panel {
    background: var(--dt-panel) !important;
    background-image: none !important;
    color: var(--dt-text) !important;
    border-color: var(--dt-border) !important;
    opacity: 1 !important;
}

/* Fejlécek / tabok */
.details-oldstyle-page .dt-tab,
.details-oldstyle-page .dt-movie-meta-head,
.details-oldstyle-page .dt-desc-head,
.details-oldstyle-page .dt-modi-head {
    background: var(--dt-head) !important;
    background-image: none !important;
    color: var(--dt-text) !important;
    border-color: var(--dt-border) !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-tab.active {
    background: color-mix(in srgb, var(--dt-head) 75%, #000 25%) !important;
    color: var(--dt-text) !important;
}

/* Sorok */
.details-oldstyle-page .dt-row,
.details-oldstyle-page .dt-left-row,
.details-oldstyle-page .dt-movie-meta-row,
.details-oldstyle-page .dt-movie-meta-wide,
.details-oldstyle-page .dt-desc-body,
.details-oldstyle-page .dt-modi-info-row,
.details-oldstyle-page .dt-modi-form {
    background: var(--dt-row) !important;
    background-image: none !important;
    color: var(--dt-text) !important;
    border-color: var(--dt-border) !important;
    opacity: 1 !important;
}

.details-oldstyle-page .dt-row:nth-child(even),
.details-oldstyle-page .dt-movie-meta-row:nth-child(even),
.details-oldstyle-page .dt-movie-meta-wide:nth-child(even),
.details-oldstyle-page .dt-modi-info-row:nth-child(even) {
    background: var(--dt-row-alt) !important;
    background-image: none !important;
}

/* Szövegek */
.details-oldstyle-page .dt-card *,
.details-oldstyle-page .dt-info-box *,
.details-oldstyle-page .dt-movie-meta-box *,
.details-oldstyle-page .dt-description *,
.details-oldstyle-page .dt-modi-panel * {
    opacity: 1 !important;
}

.details-oldstyle-page .dt-row b,
.details-oldstyle-page .dt-row span,
.details-oldstyle-page .dt-left-row b,
.details-oldstyle-page .dt-left-row span,
.details-oldstyle-page .dt-left-row a,
.details-oldstyle-page .dt-movie-meta-row b,
.details-oldstyle-page .dt-movie-meta-row span,
.details-oldstyle-page .dt-desc-body,
.details-oldstyle-page .dt-modi-info-row b,
.details-oldstyle-page .dt-modi-info-row span {
    color: var(--dt-text) !important;
}

/* Cím */
.details-oldstyle-page .dt-title,
.details-oldstyle-page .dt-card-title,
.details-oldstyle-page .dt-pane h2 {
    color: var(--dt-text) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.35) !important;
}


/* ==========================================================
   DETAILS FINAL - MARADÉK VAJSZÍN SOROK KIÜTÉSE
   Minden téma saját színt kap.
   ========================================================== */

/* alap */
body.details-oldstyle-page {
    --dt-final-panel: var(--panel);
    --dt-final-head: var(--card-head);
    --dt-final-row: color-mix(in srgb, var(--panel) 88%, #000 12%);
    --dt-final-row-alt: color-mix(in srgb, var(--panel) 78%, #000 22%);
    --dt-final-text: var(--text);
    --dt-final-border: var(--border);
}

/* zöld */
html[data-theme="green"] body.details-oldstyle-page {
    --dt-final-panel: #0b3a2a;
    --dt-final-head: #15915f;
    --dt-final-row: #0e4a35;
    --dt-final-row-alt: #0a3226;
    --dt-final-text: #ffffff;
    --dt-final-border: #1eb878;
}

/* kék */
html[data-theme="blue"] body.details-oldstyle-page {
    --dt-final-panel: #0e2f52;
    --dt-final-head: #236fae;
    --dt-final-row: #123e68;
    --dt-final-row-alt: #0d2d4d;
    --dt-final-text: #ffffff;
    --dt-final-border: #2b86ce;
}

/* dark */
html[data-theme="dark"] body.details-oldstyle-page {
    --dt-final-panel: #171923;
    --dt-final-head: #2a3040;
    --dt-final-row: #202636;
    --dt-final-row-alt: #171b27;
    --dt-final-text: #ffffff;
    --dt-final-border: #424a61;
}

/* vajszín */
html[data-theme="cream"] body.details-oldstyle-page {
    --dt-final-panel: #d8d0bd;
    --dt-final-head: #7f7768;
    --dt-final-row: #c8c1b0;
    --dt-final-row-alt: #bdb5a3;
    --dt-final-text: #2d281f;
    --dt-final-border: #8c826f;
}

/* fehér */
html[data-theme="white"] body.details-oldstyle-page {
    --dt-final-panel: #f4f4f4;
    --dt-final-head: #d9d9d9;
    --dt-final-row: #ffffff;
    --dt-final-row-alt: #e8e8e8;
    --dt-final-text: #1b1b1b;
    --dt-final-border: #b8b8b8;
}

/* lila */
html[data-theme="purple"] body.details-oldstyle-page {
    --dt-final-panel: #271840;
    --dt-final-head: #6f35ad;
    --dt-final-row: #352158;
    --dt-final-row-alt: #26173e;
    --dt-final-text: #ffffff;
    --dt-final-border: #8d59cc;
}

/* sárga */
html[data-theme="yellow"] body.details-oldstyle-page {
    --dt-final-panel: #4a3710;
    --dt-final-head: #b9850d;
    --dt-final-row: #5b4314;
    --dt-final-row-alt: #46340f;
    --dt-final-text: #ffffff;
    --dt-final-border: #d8a536;
}

/* piros */
html[data-theme="red"] body.details-oldstyle-page {
    --dt-final-panel: #3d1212;
    --dt-final-head: #a32626;
    --dt-final-row: #501818;
    --dt-final-row-alt: #371010;
    --dt-final-text: #ffffff;
    --dt-final-border: #c84747;
}

/* fő details dobozok */
body.details-oldstyle-page .dt-card,
body.details-oldstyle-page .dt-info-box,
body.details-oldstyle-page .dt-poster,
body.details-oldstyle-page .dt-no-poster,
body.details-oldstyle-page .dt-movie-meta-box,
body.details-oldstyle-page .dt-description.dt-desc-table,
body.details-oldstyle-page .dt-modi-panel {
    background: var(--dt-final-panel) !important;
    background-image: none !important;
    color: var(--dt-final-text) !important;
    border-color: var(--dt-final-border) !important;
    opacity: 1 !important;
}

/* fejléc sávok */
body.details-oldstyle-page .dt-tab,
body.details-oldstyle-page .dt-movie-meta-head,
body.details-oldstyle-page .dt-desc-head,
body.details-oldstyle-page .dt-modi-head {
    background: var(--dt-final-head) !important;
    background-image: none !important;
    color: var(--dt-final-text) !important;
    border-color: var(--dt-final-border) !important;
    opacity: 1 !important;
}

/* MINDEN adat sor, ahol eddig a vajszín maradt */
body.details-oldstyle-page .dt-row,
body.details-oldstyle-page .dt-left-row,
body.details-oldstyle-page .dt-movie-meta-row,
body.details-oldstyle-page .dt-movie-meta-wide,
body.details-oldstyle-page .dt-desc-body,
body.details-oldstyle-page .dt-modi-info-row,
body.details-oldstyle-page .dt-modi-form,
body.details-oldstyle-page .dt-file,
body.details-oldstyle-page .dt-empty,
body.details-oldstyle-page .dt-comment {
    background: var(--dt-final-row) !important;
    background-image: none !important;
    color: var(--dt-final-text) !important;
    border-color: var(--dt-final-border) !important;
    opacity: 1 !important;
}

body.details-oldstyle-page .dt-row:nth-child(even),
body.details-oldstyle-page .dt-movie-meta-row:nth-child(even),
body.details-oldstyle-page .dt-movie-meta-wide:nth-child(even),
body.details-oldstyle-page .dt-modi-info-row:nth-child(even),
body.details-oldstyle-page .dt-file:nth-child(even),
body.details-oldstyle-page .dt-comment:nth-child(even) {
    background: var(--dt-final-row-alt) !important;
    background-image: none !important;
}

/* minden szöveg a téma színe legyen */
body.details-oldstyle-page .dt-card *,
body.details-oldstyle-page .dt-info-box *,
body.details-oldstyle-page .dt-movie-meta-box *,
body.details-oldstyle-page .dt-description *,
body.details-oldstyle-page .dt-modi-panel *,
body.details-oldstyle-page .dt-left-row * {
    color: var(--dt-final-text) !important;
    opacity: 1 !important;
}

/* IMDb sárga gombnál maradjon fekete szöveg */
body.details-oldstyle-page .dt-imdb {
    color: #151515 !important;
}

/* státusz gombok maradjanak saját színűek */
body.details-oldstyle-page .dt-status-ok,
body.details-oldstyle-page .dt-modi-ok {
    background: linear-gradient(180deg, #56ee8a, #087b32) !important;
    color: #ffffff !important;
}

body.details-oldstyle-page .dt-status-wait,
body.details-oldstyle-page .dt-modi-wait {
    background: linear-gradient(180deg, #ffd84d, #d69c00) !important;
    color: #171000 !important;
}

body.details-oldstyle-page .dt-status-no,
body.details-oldstyle-page .dt-modi-no {
    background: linear-gradient(180deg, #ff7070, #9d1010) !important;
    color: #ffffff !important;
}


/* ==========================================================
   DETAILS FINAL - MARADÉK VAJSZÍN SOROK KIÜTÉSE
   Minden téma saját színt kap.
   ========================================================== */

/* alap */
body.details-oldstyle-page {
    --dt-final-panel: var(--panel);
    --dt-final-head: var(--card-head);
    --dt-final-row: color-mix(in srgb, var(--panel) 88%, #000 12%);
    --dt-final-row-alt: color-mix(in srgb, var(--panel) 78%, #000 22%);
    --dt-final-text: var(--text);
    --dt-final-border: var(--border);
}

/* zöld */
html[data-theme="green"] body.details-oldstyle-page {
    --dt-final-panel: #0b3a2a;
    --dt-final-head: #15915f;
    --dt-final-row: #0e4a35;
    --dt-final-row-alt: #0a3226;
    --dt-final-text: #ffffff;
    --dt-final-border: #1eb878;
}

/* kék */
html[data-theme="blue"] body.details-oldstyle-page {
    --dt-final-panel: #0e2f52;
    --dt-final-head: #236fae;
    --dt-final-row: #123e68;
    --dt-final-row-alt: #0d2d4d;
    --dt-final-text: #ffffff;
    --dt-final-border: #2b86ce;
}

/* dark */
html[data-theme="dark"] body.details-oldstyle-page {
    --dt-final-panel: #171923;
    --dt-final-head: #2a3040;
    --dt-final-row: #202636;
    --dt-final-row-alt: #171b27;
    --dt-final-text: #ffffff;
    --dt-final-border: #424a61;
}

/* vajszín */
html[data-theme="cream"] body.details-oldstyle-page {
    --dt-final-panel: #d8d0bd;
    --dt-final-head: #7f7768;
    --dt-final-row: #c8c1b0;
    --dt-final-row-alt: #bdb5a3;
    --dt-final-text: #2d281f;
    --dt-final-border: #8c826f;
}

/* fehér */
html[data-theme="white"] body.details-oldstyle-page {
    --dt-final-panel: #f4f4f4;
    --dt-final-head: #d9d9d9;
    --dt-final-row: #ffffff;
    --dt-final-row-alt: #e8e8e8;
    --dt-final-text: #1b1b1b;
    --dt-final-border: #b8b8b8;
}

/* lila */
html[data-theme="purple"] body.details-oldstyle-page {
    --dt-final-panel: #271840;
    --dt-final-head: #6f35ad;
    --dt-final-row: #352158;
    --dt-final-row-alt: #26173e;
    --dt-final-text: #ffffff;
    --dt-final-border: #8d59cc;
}

/* sárga */
html[data-theme="yellow"] body.details-oldstyle-page {
    --dt-final-panel: #4a3710;
    --dt-final-head: #b9850d;
    --dt-final-row: #5b4314;
    --dt-final-row-alt: #46340f;
    --dt-final-text: #ffffff;
    --dt-final-border: #d8a536;
}

/* piros */
html[data-theme="red"] body.details-oldstyle-page {
    --dt-final-panel: #3d1212;
    --dt-final-head: #a32626;
    --dt-final-row: #501818;
    --dt-final-row-alt: #371010;
    --dt-final-text: #ffffff;
    --dt-final-border: #c84747;
}

/* fő details dobozok */
body.details-oldstyle-page .dt-card,
body.details-oldstyle-page .dt-info-box,
body.details-oldstyle-page .dt-poster,
body.details-oldstyle-page .dt-no-poster,
body.details-oldstyle-page .dt-movie-meta-box,
body.details-oldstyle-page .dt-description.dt-desc-table,
body.details-oldstyle-page .dt-modi-panel {
    background: var(--dt-final-panel) !important;
    background-image: none !important;
    color: var(--dt-final-text) !important;
    border-color: var(--dt-final-border) !important;
    opacity: 1 !important;
}

/* fejléc sávok */
body.details-oldstyle-page .dt-tab,
body.details-oldstyle-page .dt-movie-meta-head,
body.details-oldstyle-page .dt-desc-head,
body.details-oldstyle-page .dt-modi-head {
    background: var(--dt-final-head) !important;
    background-image: none !important;
    color: var(--dt-final-text) !important;
    border-color: var(--dt-final-border) !important;
    opacity: 1 !important;
}

/* MINDEN adat sor, ahol eddig a vajszín maradt */
body.details-oldstyle-page .dt-row,
body.details-oldstyle-page .dt-left-row,
body.details-oldstyle-page .dt-movie-meta-row,
body.details-oldstyle-page .dt-movie-meta-wide,
body.details-oldstyle-page .dt-desc-body,
body.details-oldstyle-page .dt-modi-info-row,
body.details-oldstyle-page .dt-modi-form,
body.details-oldstyle-page .dt-file,
body.details-oldstyle-page .dt-empty,
body.details-oldstyle-page .dt-comment {
    background: var(--dt-final-row) !important;
    background-image: none !important;
    color: var(--dt-final-text) !important;
    border-color: var(--dt-final-border) !important;
    opacity: 1 !important;
}

body.details-oldstyle-page .dt-row:nth-child(even),
body.details-oldstyle-page .dt-movie-meta-row:nth-child(even),
body.details-oldstyle-page .dt-movie-meta-wide:nth-child(even),
body.details-oldstyle-page .dt-modi-info-row:nth-child(even),
body.details-oldstyle-page .dt-file:nth-child(even),
body.details-oldstyle-page .dt-comment:nth-child(even) {
    background: var(--dt-final-row-alt) !important;
    background-image: none !important;
}

/* minden szöveg a téma színe legyen */
body.details-oldstyle-page .dt-card *,
body.details-oldstyle-page .dt-info-box *,
body.details-oldstyle-page .dt-movie-meta-box *,
body.details-oldstyle-page .dt-description *,
body.details-oldstyle-page .dt-modi-panel *,
body.details-oldstyle-page .dt-left-row * {
    color: var(--dt-final-text) !important;
    opacity: 1 !important;
}

/* IMDb sárga gombnál maradjon fekete szöveg */
body.details-oldstyle-page .dt-imdb {
    color: #151515 !important;
}

/* státusz gombok maradjanak saját színűek */
body.details-oldstyle-page .dt-status-ok,
body.details-oldstyle-page .dt-modi-ok {
    background: linear-gradient(180deg, #56ee8a, #087b32) !important;
    color: #ffffff !important;
}

body.details-oldstyle-page .dt-status-wait,
body.details-oldstyle-page .dt-modi-wait {
    background: linear-gradient(180deg, #ffd84d, #d69c00) !important;
    color: #171000 !important;
}

body.details-oldstyle-page .dt-status-no,
body.details-oldstyle-page .dt-modi-no {
    background: linear-gradient(180deg, #ff7070, #9d1010) !important;
    color: #ffffff !important;
}


/* ==========================================================
   KATEGÓRIA IKONOK - FEHÉR HÁTTÉR / KERET KIKAPCSOLÁS
   ========================================================== */

.cat-square,
.cat-square-link img,
img.cat-square {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none;
}

.cat-square-link {
    background: transparent !important;
}


/* ==========================================================
   BÖNGÉSZÉS LAPOZÓ - FELÜL + ALUL, 100/OLDAL
   ========================================================== */

.bt-page-nav {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 6px;
    margin: 14px auto;
}

.bt-page-list {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    overflow: hidden;
    background: color-mix(in srgb, var(--panel) 88%, #fff 12%);
    box-shadow:
        0 2px 5px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.bt-page-btn {
    min-width: 46px;
    height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    color: var(--text) !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 800;
    background: color-mix(in srgb, var(--panel) 82%, #fff 18%);
}

.bt-page-btn:last-child {
    border-right: 0;
}

.bt-page-btn:hover {
    background: var(--card-head);
    color: var(--text) !important;
}

.bt-page-btn.is-active {
    background: color-mix(in srgb, var(--accent) 38%, var(--panel));
    color: #fff !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,.20);
}

.bt-page-arrow {
    font-size: 30px;
    font-weight: 900;
}

.bt-page-dots {
    cursor: default;
    opacity: .8;
}

.bt-page-btn.is-disabled {
    pointer-events: none;
    opacity: .35;
}

.bt-page-small {
    font-size: 11px;
    font-weight: 900;
    color: var(--muted);
    text-shadow: 0 1px 1px rgba(0,0,0,.25);
}

/* vajszínnél olyan legyen, mint a képen */
html[data-theme="cream"] .bt-page-list {
    background: #ddd6c7;
    border-color: #a69b86;
}

html[data-theme="cream"] .bt-page-btn {
    background: #d0c8b8;
    color: #4b4234 !important;
    border-color: #aaa08b;
}

html[data-theme="cream"] .bt-page-btn.is-active {
    background: #bdb5a3;
    color: #2d281f !important;
}

/* zöld/kék/dark témánál ne legyen vajszín */
html[data-theme="green"] .bt-page-list,
html[data-theme="blue"] .bt-page-list,
html[data-theme="dark"] .bt-page-list,
html[data-theme="purple"] .bt-page-list,
html[data-theme="red"] .bt-page-list,
html[data-theme="yellow"] .bt-page-list {
    background: color-mix(in srgb, var(--panel) 88%, #000 12%);
}

html[data-theme="green"] .bt-page-btn,
html[data-theme="blue"] .bt-page-btn,
html[data-theme="dark"] .bt-page-btn,
html[data-theme="purple"] .bt-page-btn,
html[data-theme="red"] .bt-page-btn,
html[data-theme="yellow"] .bt-page-btn {
    background: color-mix(in srgb, var(--panel) 78%, #000 22%);
    color: var(--text) !important;
}

@media (max-width: 760px) {
    .bt-page-list {
        max-width: 100%;
        overflow-x: auto;
    }

    .bt-page-btn {
        min-width: 38px;
        height: 38px;
        font-size: 13px;
    }
}


/* ==========================================================
   BÖNGÉSZÉS LAPOZÓ - VÉKONYABB VERZIÓ
   ========================================================== */

.bt-page-nav {
    margin: 8px auto !important;
    gap: 3px !important;
}

.bt-page-list {
    border-radius: 7px !important;
    box-shadow:
        0 1px 3px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.bt-page-btn {
    min-width: 34px !important;
    height: 30px !important;
    padding: 0 8px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.bt-page-arrow {
    font-size: 22px !important;
    font-weight: 900 !important;
}

.bt-page-small {
    font-size: 10px !important;
    line-height: 1 !important;
    margin-top: 2px !important;
}


/* ==========================================================
   UPLOAD - SIMA FELTÖLTÉS
   ========================================================== */

.upload-page-shell {
    max-width: 1180px;
    margin: 22px auto 80px;
    padding: 0 14px;
}

.upload-card {
    background: var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 16px;
}

.upload-head {
    text-align: center;
    margin-bottom: 18px;
}

.upload-head h1 {
    margin: 0 0 6px;
    color: var(--accent);
    font-size: 26px;
    font-weight: 900;
}

.upload-head p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.upload-box {
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 88%, #000 12%);
}

.upload-box-head {
    min-height: 40px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    background: var(--card-head);
    border-bottom: 1px solid var(--border);
    font-weight: 900;
    color: var(--text);
}

.upload-box label {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    font-weight: 900;
    color: var(--text);
}

.upload-box input[type="text"],
.upload-box input[type="url"],
.upload-box input[type="file"],
.upload-box select,
.upload-box textarea {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 80%, #000 20%);
    color: var(--text);
    outline: none;
}

.upload-box textarea {
    resize: vertical;
}

.upload-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.upload-checks {
    padding: 6px 14px 14px;
    display: grid;
    gap: 8px;
}

.upload-checks label,
.upload-genre-item {
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upload-genre-title {
    padding: 12px 14px 6px;
    font-weight: 900;
}

.upload-genre-grid {
    padding: 0 14px 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 8px;
}

.upload-genre-item {
    min-height: 32px;
    padding: 6px 9px !important;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--panel) 75%, #000 25%);
    cursor: pointer;
}

.upload-actions {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.upload-submit,
.upload-cancel {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: var(--card-head);
    color: var(--text) !important;
    font-weight: 900;
    text-decoration: none !important;
    cursor: pointer;
}

.upload-submit {
    background: color-mix(in srgb, var(--accent) 55%, var(--card-head));
}

.upload-error {
    max-width: 760px;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid #b91c1c;
    background: #7f1d1d;
    color: #fff;
    font-weight: 900;
    text-align: center;
}

@media (max-width: 900px) {
    .upload-grid,
    .upload-two {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   UPLOAD - NINCS ÁTLÁTSZÓ DOBOZ
   ========================================================== */

.upload-page-shell,
.upload-card,
.upload-box,
.upload-box-head,
.upload-box label,
.upload-genre-grid,
.upload-actions {
    opacity: 1 !important;
}

.upload-card {
    background: var(--panel) !important;
    background-image: none !important;
}

.upload-box {
    background: var(--panel) !important;
    background-image: none !important;
}

.upload-box-head {
    background: var(--card-head) !important;
    background-image: none !important;
}

.upload-box input[type="text"],
.upload-box input[type="url"],
.upload-box input[type="file"],
.upload-box select,
.upload-box textarea {
    background: var(--bg) !important;
    background-image: none !important;
    color: var(--text) !important;
    opacity: 1 !important;
}

.upload-genre-item {
    background: var(--bg) !important;
    background-image: none !important;
    color: var(--text) !important;
    opacity: 1 !important;
}

.upload-checks label {
    background: transparent !important;
    opacity: 1 !important;
}

.upload-submit,
.upload-cancel {
    opacity: 1 !important;
    background-image: none !important;
}

.upload-submit {
    background: var(--accent) !important;
    color: #fff !important;
}

.upload-error {
    opacity: 1 !important;
    background: #7f1d1d !important;
    color: #fff !important;
}


/* ==========================================================
   UPLOAD - TÖMÖR, NEM ÁTLÁTSZÓ, RENDEZETT FELTÖLTŐ
   ========================================================== */

html body .upload-page-shell {
    max-width: 1180px !important;
    margin: 22px auto 70px !important;
    padding: 0 14px !important;
}

html body .upload-card {
    background: #06261f !important;
    background-image: none !important;
    border: 1px solid #1f6f5c !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.45) !important;
    padding: 16px !important;
    opacity: 1 !important;
}

html body .upload-head {
    background: #083428 !important;
    background-image: none !important;
    border: 1px solid #1f6f5c !important;
    border-radius: 8px !important;
    padding: 14px !important;
    margin: 0 0 16px !important;
    text-align: center !important;
}

html body .upload-head h1 {
    margin: 0 0 6px !important;
    color: #7dffca !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 3px #000 !important;
}

html body .upload-head p {
    margin: 0 !important;
    color: #eafff7 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}

html body .upload-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    align-items: start !important;
}

html body .upload-box {
    background: #082f27 !important;
    background-image: none !important;
    border: 1px solid #247963 !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.35) !important;
    opacity: 1 !important;
}

html body .upload-box-head {
    height: 42px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(#0d5a47, #083c31) !important;
    border-bottom: 1px solid #2b9276 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 3px #000 !important;
}

html body .upload-box label {
    display: block !important;
    padding: 12px 14px !important;
    margin: 0 !important;
    background: #0a3a30 !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(65, 160, 130, .35) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    opacity: 1 !important;
}

html body .upload-box label > span,
html body .upload-genre-title {
    display: block !important;
    margin-bottom: 7px !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 3px #000 !important;
}

html body .upload-box input[type="text"],
html body .upload-box input[type="url"],
html body .upload-box input[type="file"],
html body .upload-box select,
html body .upload-box textarea {
    display: block !important;
    width: 100% !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    border: 1px solid #38b58e !important;
    border-radius: 6px !important;
    background: #e9f3ef !important;
    background-image: none !important;
    color: #001b14 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    outline: none !important;
}

html body .upload-box input::placeholder,
html body .upload-box textarea::placeholder {
    color: #66756f !important;
    opacity: 1 !important;
}

html body .upload-box textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

html body .upload-two {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
}

html body .upload-checks {
    padding: 12px 14px !important;
    display: grid !important;
    gap: 8px !important;
    background: #0a3a30 !important;
    border-bottom: 1px solid rgba(65, 160, 130, .35) !important;
}

html body .upload-checks label {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
}

html body .upload-checks input,
html body .upload-genre-item input {
    width: 16px !important;
    height: 16px !important;
    accent-color: #18c98e !important;
}

html body .upload-genre-title {
    padding: 12px 14px 6px !important;
    background: #0a3a30 !important;
    margin: 0 !important;
}

html body .upload-genre-grid {
    padding: 8px 14px 14px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
    gap: 8px !important;
    background: #0a3a30 !important;
    background-image: none !important;
    opacity: 1 !important;
}

html body .upload-genre-item {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 32px !important;
    padding: 6px 10px !important;
    margin: 0 !important;
    border: 1px solid #38b58e !important;
    border-radius: 999px !important;
    background: #104d3f !important;
    background-image: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

html body .upload-actions {
    margin-top: 16px !important;
    padding: 14px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #083428 !important;
    border: 1px solid #1f6f5c !important;
    border-radius: 8px !important;
    opacity: 1 !important;
}

html body .upload-submit,
html body .upload-cancel {
    min-height: 38px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 7px !important;
    border: 1px solid #74ffd1 !important;
    background: linear-gradient(#18c98e, #0d7d5e) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    text-shadow: 0 2px 3px #000 !important;
    cursor: pointer !important;
}

html body .upload-cancel {
    background: linear-gradient(#21483e, #102a24) !important;
}

@media (max-width: 900px) {
    html body .upload-grid,
    html body .upload-two {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================
   FELTÖLTÉS - RÉGI TRACKERES, NEM ÁTLÁTSZÓ UI
   ========================================================== */

html body .bt-upload-shell {
    max-width: 1180px !important;
    margin: 20px auto 80px !important;
    padding: 0 14px !important;
}

html body .bt-upload-tabs {
    width: 380px !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    background: #111018 !important;
    border: 1px solid #5c3fb8 !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.35) !important;
    overflow: hidden !important;
}

html body .bt-upload-tabs a {
    display: block !important;
    padding: 18px 26px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    letter-spacing: .4px !important;
}

html body .bt-upload-tabs a.active {
    background: #794cff !important;
}

html body .bt-upload-panel {
    background: #f3ead8 !important;
    color: #211b12 !important;
    border: 1px solid #978d7b !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.30) !important;
    opacity: 1 !important;
}

html body .bt-upload-title {
    background: #fbf2df !important;
    border-bottom: 1px solid #d8cbb4 !important;
    text-align: center !important;
    padding: 18px 12px !important;
}

html body .bt-upload-title h1 {
    margin: 0 0 8px !important;
    color: #5e927e !important;
    font-size: 27px !important;
    font-weight: 500 !important;
    text-shadow: none !important;
}

html body .bt-upload-title div {
    font-size: 12px !important;
    color: #776f60 !important;
}

html body .bt-upload-title strong {
    color: #e0187a !important;
}

html body .bt-upload-form {
    padding: 16px !important;
}

html body .bt-upload-form h2 {
    margin: 18px 0 12px !important;
    padding-top: 4px !important;
    border-top: 1px solid #d8cbb4 !important;
    color: #30281d !important;
    font-size: 18px !important;
    font-weight: 500 !important;
}

html body .bt-field {
    display: block !important;
    margin: 0 0 14px !important;
    color: #2f281d !important;
    font-weight: 500 !important;
}

html body .bt-field > span {
    display: block !important;
    margin: 0 0 7px !important;
    color: #2f281d !important;
    font-weight: 500 !important;
}

html body .bt-field input,
html body .bt-field select,
html body .bt-field textarea,
html body .bt-inline-input input,
html body .bt-batch-top input,
html body .bt-batch-top select,
html body .bt-batch-meta select {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 38px !important;
    border: 1px solid #9ca3aa !important;
    border-radius: 4px !important;
    background: #eef0f2 !important;
    color: #111 !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

html body .bt-field textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

html body .bt-field small {
    display: block !important;
    margin-top: 5px !important;
    color: #817967 !important;
    font-size: 12px !important;
}

html body .bt-two {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 18px !important;
}

html body .bt-inline-input {
    display: grid !important;
    grid-template-columns: 1fr 160px !important;
}

html body .bt-inline-input button {
    border: 1px solid #9ca3aa !important;
    border-left: 0 !important;
    border-radius: 0 4px 4px 0 !important;
    background: #ebe4d5 !important;
    color: #2d281d !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

html body .bt-auto-box {
    margin: -5px 0 15px !important;
    padding: 12px !important;
    background: #fff7e7 !important;
    border: 1px solid #e3cfaa !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.20) !important;
}

html body .bt-auto-head {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 10px !important;
    color: #2f281d !important;
}

html body .bt-auto-head button {
    border: 0 !important;
    background: transparent !important;
    color: #c44 !important;
    font-size: 22px !important;
    cursor: pointer !important;
}

html body .bt-auto-results {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
    gap: 10px !important;
}

html body .bt-auto-result {
    background: #ebe4d5 !important;
    border: 1px solid #d4c4a5 !important;
    padding: 8px !important;
    cursor: pointer !important;
}

html body .bt-auto-result.selected {
    outline: 2px solid #2daa5b !important;
}

html body .bt-poster-placeholder {
    height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #6d7780 !important;
    color: #fff !important;
    font-size: 34px !important;
    margin-bottom: 6px !important;
}

html body .bt-auto-status {
    margin-top: 10px !important;
    background: #1f9a4e !important;
    color: #fff !important;
    padding: 8px 10px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
}

html body .bt-cover-preview {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 12px !important;
    margin-bottom: 12px !important;
    background: #fff7e7 !important;
    border: 1px solid #e3cfaa !important;
}

html body .bt-cover-preview img {
    width: 90px !important;
    height: 130px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
    border: 1px solid #9ca3aa !important;
}

html body .bt-radio-row {
    margin: 10px 0 12px !important;
    color: #2f281d !important;
}

html body .bt-radio-row strong {
    display: block !important;
    margin-bottom: 7px !important;
}

html body .bt-radio-row label {
    margin-right: 20px !important;
}

html body .bt-upload-submit-row {
    text-align: center !important;
    padding: 18px 0 0 !important;
}

html body .bt-upload-submit-row button {
    min-width: 290px !important;
    min-height: 42px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: #c4c0b4 !important;
    color: #6a6558 !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

/* Tömeges */
html body .bt-batch-panel {
    background: #111319 !important;
    color: #fff !important;
    border-left: 5px solid #f2b000 !important;
    padding: 18px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.45) !important;
}

html body .bt-batch-title h1 {
    margin: 0 0 6px !important;
    color: #fff !important;
}

html body .bt-batch-title p {
    color: #c8ccd5 !important;
}

html body .bt-batch-top {
    display: grid !important;
    grid-template-columns: 1fr 300px !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
}

html body .bt-batch-top label {
    display: block !important;
    color: #fff !important;
    font-weight: 800 !important;
}

html body .bt-batch-top span {
    display: block !important;
    margin-bottom: 7px !important;
}

html body .bt-batch-list {
    display: grid !important;
    gap: 16px !important;
}

html body .bt-batch-empty {
    padding: 18px !important;
    background: #1e2128 !important;
    border: 1px solid #303641 !important;
    color: #d8dde8 !important;
}

html body .bt-batch-card {
    background: #15171d !important;
    border: 1px solid #303641 !important;
    border-left: 4px solid #f2b000 !important;
    border-radius: 8px !important;
    padding: 14px !important;
}

html body .bt-batch-card-head {
    display: flex !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

html body .bt-batch-card-head span {
    background: #1fac5a !important;
    color: #fff !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
}

html body .bt-batch-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
}

html body .bt-batch-grid > div {
    background: #24262d !important;
    border: 1px solid #343843 !important;
    padding: 12px !important;
    border-radius: 7px !important;
}

html body .bt-batch-meta {
    margin-top: 12px !important;
    display: grid !important;
    grid-template-columns: 220px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
}

@media (max-width: 900px) {
    html body .bt-two,
    html body .bt-inline-input,
    html body .bt-batch-top,
    html body .bt-batch-grid,
    html body .bt-batch-meta {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================
   UPLOAD - BITHORLO SAJÁT STÍLUS, NEM IDEGEN BÉZS/LILA
   EZ CSAK A FELTÖLTÉS OLDALT ÉRINTI
   ========================================================== */

html body .bt-upload-shell {
    max-width: 1180px !important;
    margin: 18px auto 70px !important;
    padding: 0 14px !important;
}

/* felső Sima/Tömeges választó: ne legyen óriási lila tábla */
html body .bt-upload-tabs {
    width: auto !important;
    max-width: 1180px !important;
    margin: 0 auto 14px !important;
    padding: 6px !important;
    display: flex !important;
    gap: 6px !important;
    justify-content: flex-start !important;
    align-items: center !important;
    background: #06291f !important;
    background-image: none !important;
    border: 1px solid #1d7a5f !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.30) !important;
    overflow: visible !important;
}

html body .bt-upload-tabs a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 16px !important;
    border-radius: 6px !important;
    background: #0b3d30 !important;
    color: #eafff7 !important;
    border: 1px solid #1d7a5f !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-shadow: 0 1px 2px #000 !important;
}

html body .bt-upload-tabs a.active {
    background: linear-gradient(#1fb37e, #0d6d52) !important;
    color: #ffffff !important;
    border-color: #5affc7 !important;
}

/* sima feltöltő fődoboz */
html body .bt-upload-panel {
    background: #082b23 !important;
    background-image: none !important;
    color: #eafff7 !important;
    border: 1px solid #1d7a5f !important;
    border-radius: 9px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.38) !important;
    opacity: 1 !important;
    overflow: hidden !important;
}

html body .bt-upload-title {
    background: linear-gradient(#0f5b45, #083b30) !important;
    background-image: linear-gradient(#0f5b45, #083b30) !important;
    border-bottom: 1px solid #279b76 !important;
    text-align: center !important;
    padding: 14px 12px !important;
}

html body .bt-upload-title h1 {
    margin: 0 0 6px !important;
    color: #ffffff !important;
    font-size: 25px !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 3px #000 !important;
}

html body .bt-upload-title div {
    color: #c8fff0 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

html body .bt-upload-title strong {
    color: #72ffd1 !important;
}

html body .bt-upload-form {
    padding: 16px !important;
    background: #082b23 !important;
    background-image: none !important;
}

/* szekciócímek */
html body .bt-upload-form h2 {
    margin: 18px 0 12px !important;
    padding: 9px 12px !important;
    background: linear-gradient(#0d4e3e, #082f27) !important;
    border: 1px solid #1d7a5f !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 3px #000 !important;
}

/* mezők */
html body .bt-field {
    display: block !important;
    margin: 0 0 13px !important;
    padding: 10px 12px !important;
    background: #0a352c !important;
    background-image: none !important;
    border: 1px solid rgba(54, 173, 133, .45) !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

html body .bt-field > span {
    display: block !important;
    margin: 0 0 7px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-shadow: 0 1px 2px #000 !important;
}

html body .bt-field input,
html body .bt-field select,
html body .bt-field textarea,
html body .bt-inline-input input {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 38px !important;
    border: 1px solid #45c99d !important;
    border-radius: 5px !important;
    background: #eef4f1 !important;
    background-image: none !important;
    color: #071b15 !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    outline: none !important;
}

html body .bt-field textarea {
    min-height: 115px !important;
    resize: vertical !important;
}

html body .bt-field small {
    display: block !important;
    margin-top: 5px !important;
    color: #baf5df !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

html body .bt-two {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

html body .bt-inline-input {
    display: grid !important;
    grid-template-columns: 1fr 150px !important;
    gap: 6px !important;
}

html body .bt-inline-input button {
    min-height: 38px !important;
    border: 1px solid #45c99d !important;
    border-radius: 5px !important;
    background: linear-gradient(#164d3f, #0d342b) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    text-shadow: 0 1px 2px #000 !important;
}

/* automata kereső doboz */
html body .bt-auto-box {
    margin: 0 0 14px !important;
    padding: 12px !important;
    background: #0b3028 !important;
    background-image: none !important;
    border: 1px solid #1d7a5f !important;
    border-radius: 8px !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.30) !important;
}

html body .bt-auto-head {
    color: #ffffff !important;
}

html body .bt-auto-result {
    background: #0f4236 !important;
    border: 1px solid #2aa47e !important;
    color: #ffffff !important;
}

html body .bt-auto-result small {
    color: #c8fff0 !important;
}

html body .bt-poster-placeholder {
    background: #123d34 !important;
    color: #9dffe0 !important;
}

html body .bt-auto-status {
    background: #0d6d52 !important;
    color: #ffffff !important;
}

/* poszter előnézet */
html body .bt-cover-preview {
    background: #0a352c !important;
    background-image: none !important;
    border: 1px solid rgba(54, 173, 133, .45) !important;
    border-radius: 7px !important;
    color: #ffffff !important;
}

html body .bt-cover-preview p {
    color: #baf5df !important;
}

html body .bt-cover-preview img {
    width: 82px !important;
    height: 118px !important;
    object-fit: cover !important;
    border: 1px solid #45c99d !important;
}

/* rádiók */
html body .bt-radio-row {
    padding: 10px 12px !important;
    margin: 0 0 10px !important;
    background: #0a352c !important;
    border: 1px solid rgba(54, 173, 133, .45) !important;
    border-radius: 7px !important;
    color: #ffffff !important;
}

html body .bt-radio-row strong {
    display: block !important;
    margin-bottom: 7px !important;
    color: #ffffff !important;
}

html body .bt-radio-row label {
    margin-right: 18px !important;
    color: #ffffff !important;
}

/* gomb */
html body .bt-upload-submit-row {
    margin-top: 14px !important;
    padding: 12px !important;
    text-align: center !important;
    background: #0a352c !important;
    border: 1px solid rgba(54, 173, 133, .45) !important;
    border-radius: 7px !important;
}

html body .bt-upload-submit-row button {
    min-width: 260px !important;
    min-height: 40px !important;
    border: 1px solid #6affcf !important;
    border-radius: 7px !important;
    background: linear-gradient(#20bf86, #0d7658) !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-shadow: 0 2px 3px #000 !important;
    cursor: pointer !important;
}

/* tömeges feltöltés is Bithorlo stílus */
html body .bt-batch-panel {
    background: #082b23 !important;
    background-image: none !important;
    color: #eafff7 !important;
    border: 1px solid #1d7a5f !important;
    border-left: 5px solid #1fb37e !important;
    border-radius: 9px !important;
    padding: 18px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.38) !important;
}

html body .bt-batch-title h1 {
    margin: 0 0 8px !important;
    color: #ffffff !important;
    font-size: 28px !important;
    text-shadow: 0 2px 3px #000 !important;
}

html body .bt-batch-title p {
    color: #c8fff0 !important;
    font-weight: 800 !important;
}

html body .bt-batch-top label {
    color: #ffffff !important;
}

html body .bt-batch-top input,
html body .bt-batch-top select,
html body .bt-batch-meta select {
    background: #eef4f1 !important;
    color: #071b15 !important;
    border: 1px solid #45c99d !important;
}

html body .bt-batch-empty,
html body .bt-batch-card {
    background: #0a352c !important;
    border: 1px solid #1d7a5f !important;
    color: #ffffff !important;
}

html body .bt-batch-grid > div {
    background: #0f4236 !important;
    border: 1px solid #2aa47e !important;
    color: #ffffff !important;
}

/* mobil */
@media (max-width: 900px) {
    html body .bt-upload-tabs {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    html body .bt-upload-tabs a,
    html body .bt-two,
    html body .bt-inline-input,
    html body .bt-batch-top,
    html body .bt-batch-grid,
    html body .bt-batch-meta {
        grid-template-columns: 1fr !important;
    }

    html body .bt-two,
    html body .bt-inline-input {
        display: grid !important;
    }
}


/* ==========================================================
   FELTÖLTÉS - TÉMAFÜGGŐ VÉGLEGES FELÜLÍRÁS
   nincs fix zöld, nincs bézs, nincs óriási lila tábla
   ========================================================== */

html body .bt-upload-shell {
    max-width: 1180px !important;
    margin: 18px auto 70px !important;
    padding: 0 14px !important;
}

html body .bt-upload-tabs {
    width: auto !important;
    max-width: 1180px !important;
    margin: 0 auto 14px !important;
    padding: 6px !important;
    display: flex !important;
    gap: 6px !important;
    background: var(--panel) !important;
    background-image: none !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    box-shadow: var(--shadow) !important;
    overflow: visible !important;
}

html body .bt-upload-tabs a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 0 16px !important;
    border-radius: 6px !important;
    background: var(--card-head) !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    text-shadow: none !important;
}

html body .bt-upload-tabs a.active {
    background: color-mix(in srgb, var(--accent) 32%, var(--card-head)) !important;
    color: var(--text) !important;
    border-color: var(--accent) !important;
    box-shadow: inset 0 -3px 0 var(--accent) !important;
}

html body .bt-upload-panel,
html body .bt-batch-panel {
    background: var(--panel) !important;
    background-image: none !important;
    color: var(--text) !important;
    border: 1px solid var(--border) !important;
    border-radius: 9px !important;
    box-shadow: var(--shadow) !important;
    opacity: 1 !important;
    overflow: hidden !important;
}

html body .bt-batch-panel {
    padding: 18px !important;
    border-left: 5px solid var(--accent) !important;
}

html body .bt-upload-title,
html body .bt-batch-title {
    background: var(--card-head) !important;
    background-image: none !important;
    border-bottom: 1px solid var(--border) !important;
    color: var(--text) !important;
}

html body .bt-upload-title {
    text-align: center !important;
    padding: 14px 12px !important;
}

html body .bt-upload-title h1,
html body .bt-batch-title h1 {
    margin: 0 0 8px !important;
    color: var(--text) !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

html body .bt-upload-title div,
html body .bt-batch-title p {
    color: var(--muted) !important;
    font-weight: 800 !important;
}

html body .bt-upload-title strong {
    color: var(--accent) !important;
}

html body .bt-upload-form,
html body .bt-batch-form {
    background: var(--panel) !important;
    background-image: none !important;
}

html body .bt-upload-form {
    padding: 16px !important;
}

html body .bt-upload-form h2 {
    margin: 18px 0 12px !important;
    padding: 9px 12px !important;
    background: var(--card-head) !important;
    border: 1px solid var(--border) !important;
    border-radius: 7px !important;
    color: var(--text) !important;
    font-size: 17px !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

html body .bt-field,
html body .bt-radio-row,
html body .bt-cover-preview,
html body .bt-upload-submit-row,
html body .bt-batch-empty,
html body .bt-batch-card,
html body .bt-tmdb-box {
    background: var(--card-head) !important;
    background-image: none !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    opacity: 1 !important;
}

html body .bt-field {
    display: block !important;
    margin: 0 0 13px !important;
    padding: 10px 12px !important;
    border-radius: 7px !important;
}

html body .bt-field > span,
html body .bt-batch-top span,
html body .bt-radio-row strong {
    display: block !important;
    margin: 0 0 7px !important;
    color: var(--text) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-shadow: none !important;
}

html body .bt-field input,
html body .bt-field select,
html body .bt-field textarea,
html body .bt-inline-input input,
html body .bt-batch-top input,
html body .bt-batch-top select,
html body .bt-batch-meta select,
html body .bt-tmdb-box textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    min-height: 38px !important;
    border: 1px solid var(--border) !important;
    border-radius: 5px !important;
    background: var(--bg) !important;
    background-image: none !important;
    color: var(--text) !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    outline: none !important;
}

html body .bt-field textarea,
html body .bt-tmdb-box textarea {
    min-height: 115px !important;
    resize: vertical !important;
}

html body .bt-field small,
html body .bt-cover-preview p,
html body .bt-tmdb-box p {
    color: var(--muted) !important;
}

html body .bt-two,
html body .bt-batch-top {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

html body .bt-inline-input {
    display: grid !important;
    grid-template-columns: 1fr 150px !important;
    gap: 6px !important;
}

html body .bt-inline-input button,
html body .bt-upload-submit-row button {
    border: 1px solid var(--border) !important;
    border-radius: 6px !important;
    background: color-mix(in srgb, var(--accent) 35%, var(--card-head)) !important;
    color: var(--text) !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    text-shadow: none !important;
}

html body .bt-upload-submit-row {
    margin-top: 14px !important;
    padding: 12px !important;
    text-align: center !important;
    border-radius: 7px !important;
}

html body .bt-upload-submit-row button {
    min-width: 260px !important;
    min-height: 40px !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
}

html body .bt-upload-submit-row button:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}

html body .bt-batch-list {
    display: grid !important;
    gap: 16px !important;
}

html body .bt-batch-card {
    border-radius: 8px !important;
    padding: 14px !important;
}

html body .bt-batch-card.is-ok {
    border-left: 5px solid #22c55e !important;
}

html body .bt-batch-card.is-bad {
    border-left: 5px solid #ef4444 !important;
}

html body .bt-batch-card-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
}

html body .bt-batch-card-head span {
    background: color-mix(in srgb, var(--accent) 35%, var(--panel)) !important;
    color: var(--text) !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    border: 1px solid var(--border) !important;
    font-weight: 900 !important;
}

html body .bt-batch-main {
    display: grid !important;
    grid-template-columns: 120px 1fr !important;
    gap: 14px !important;
}

html body .bt-batch-poster img,
html body .bt-cover-preview img {
    width: 110px !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 5px !important;
    border: 1px solid var(--border) !important;
    background: var(--bg) !important;
}

html body .bt-poster-placeholder {
    width: 110px !important;
    height: 160px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--bg) !important;
    color: var(--muted) !important;
    border: 1px solid var(--border) !important;
    border-radius: 5px !important;
    font-size: 34px !important;
}

html body .bt-batch-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
}

html body .bt-batch-grid > div {
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    padding: 10px !important;
    border-radius: 7px !important;
    min-height: 58px !important;
    overflow-wrap: anywhere !important;
}

html body .bt-tmdb-box {
    margin-top: 12px !important;
    padding: 12px !important;
    border-radius: 8px !important;
}

html body .bt-tmdb-box h3 {
    margin: 0 0 8px !important;
    color: var(--text) !important;
    font-size: 16px !important;
}

html body .bt-batch-meta {
    margin-top: 12px !important;
    display: grid !important;
    grid-template-columns: 250px 1fr !important;
    gap: 12px !important;
    align-items: center !important;
}

html body .bt-batch-check {
    color: var(--text) !important;
    font-weight: 900 !important;
}

html body .bt-batch-link {
    color: var(--accent) !important;
    font-weight: 900 !important;
}

@media (max-width: 900px) {
    html body .bt-upload-tabs {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    html body .bt-two,
    html body .bt-inline-input,
    html body .bt-batch-top,
    html body .bt-batch-main,
    html body .bt-batch-grid,
    html body .bt-batch-meta {
        grid-template-columns: 1fr !important;
    }

    html body .bt-batch-poster img,
    html body .bt-poster-placeholder {
        width: 90px !important;
        height: 130px !important;
    }
}


/* ==========================================================
   FELTÖLTÉS - ABSZOLÚT NINCS ÁTLÁTSZÓSÁG
   EZ A BLOKK LEGYEN LEGALUL
   ========================================================== */

/* alap: zöld téma */
html body {
    --up-bg-solid: #061b16;
    --up-panel-solid: #082b23;
    --up-box-solid: #0b352c;
    --up-head-solid: #0d4a3b;
    --up-field-solid: #eef4f1;
    --up-text-solid: #ffffff;
    --up-field-text-solid: #071b15;
    --up-border-solid: #218466;
    --up-accent-solid: #20bf86;
}

/* kék */
html[data-theme="blue"] body,
body[data-theme="blue"],
body.theme-blue {
    --up-bg-solid: #071827;
    --up-panel-solid: #0b2438;
    --up-box-solid: #0e3048;
    --up-head-solid: #123f5f;
    --up-field-solid: #eef5fb;
    --up-text-solid: #ffffff;
    --up-field-text-solid: #071827;
    --up-border-solid: #2f82bd;
    --up-accent-solid: #38a3ff;
}

/* sötét */
html[data-theme="dark"] body,
body[data-theme="dark"],
body.theme-dark {
    --up-bg-solid: #08090c;
    --up-panel-solid: #111318;
    --up-box-solid: #191c23;
    --up-head-solid: #222733;
    --up-field-solid: #f0f1f3;
    --up-text-solid: #ffffff;
    --up-field-text-solid: #111318;
    --up-border-solid: #3b4250;
    --up-accent-solid: #8b8f99;
}

/* lila */
html[data-theme="purple"] body,
body[data-theme="purple"],
body.theme-purple {
    --up-bg-solid: #160d25;
    --up-panel-solid: #211238;
    --up-box-solid: #2b1948;
    --up-head-solid: #3a2161;
    --up-field-solid: #f3effb;
    --up-text-solid: #ffffff;
    --up-field-text-solid: #160d25;
    --up-border-solid: #7752b9;
    --up-accent-solid: #9b6cff;
}

/* piros */
html[data-theme="red"] body,
body[data-theme="red"],
body.theme-red {
    --up-bg-solid: #260909;
    --up-panel-solid: #3a1111;
    --up-box-solid: #4a1717;
    --up-head-solid: #681e1e;
    --up-field-solid: #fff0f0;
    --up-text-solid: #ffffff;
    --up-field-text-solid: #260909;
    --up-border-solid: #aa3a3a;
    --up-accent-solid: #ff5555;
}

/* sárga */
html[data-theme="yellow"] body,
body[data-theme="yellow"],
body.theme-yellow {
    --up-bg-solid: #261f05;
    --up-panel-solid: #3a3008;
    --up-box-solid: #4c3f0d;
    --up-head-solid: #6b570f;
    --up-field-solid: #fff8d8;
    --up-text-solid: #ffffff;
    --up-field-text-solid: #261f05;
    --up-border-solid: #b89521;
    --up-accent-solid: #ffd447;
}

/* krém / fehér */
html[data-theme="cream"] body,
body[data-theme="cream"],
body.theme-cream,
html[data-theme="white"] body,
body[data-theme="white"],
body.theme-white {
    --up-bg-solid: #d6d0c2;
    --up-panel-solid: #f3ead8;
    --up-box-solid: #fff5df;
    --up-head-solid: #e6d7bc;
    --up-field-solid: #eef0f2;
    --up-text-solid: #211b12;
    --up-field-text-solid: #111111;
    --up-border-solid: #a79b86;
    --up-accent-solid: #7f9f8e;
}

/* fő feltöltés terület: teljesen tömör */
html body .bt-upload-panel,
html body .bt-batch-panel,
html body .bt-upload-form,
html body .bt-batch-form,
html body .bt-upload-title,
html body .bt-batch-title,
html body .bt-field,
html body .bt-radio-row,
html body .bt-cover-preview,
html body .bt-upload-submit-row,
html body .bt-batch-empty,
html body .bt-batch-card,
html body .bt-tmdb-box,
html body .bt-batch-grid > div,
html body .bt-auto-box,
html body .bt-auto-result,
html body .bt-upload-tabs {
    opacity: 1 !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* panelek */
html body .bt-upload-panel,
html body .bt-batch-panel,
html body .bt-upload-form,
html body .bt-batch-form {
    background: var(--up-panel-solid) !important;
    background-color: var(--up-panel-solid) !important;
    color: var(--up-text-solid) !important;
    border-color: var(--up-border-solid) !important;
}

/* fejlécek / szekciók */
html body .bt-upload-title,
html body .bt-batch-title,
html body .bt-upload-form h2,
html body .bt-upload-tabs,
html body .bt-upload-submit-row {
    background: var(--up-head-solid) !important;
    background-color: var(--up-head-solid) !important;
    color: var(--up-text-solid) !important;
    border-color: var(--up-border-solid) !important;
}

/* belső dobozok */
html body .bt-field,
html body .bt-radio-row,
html body .bt-cover-preview,
html body .bt-batch-empty,
html body .bt-batch-card,
html body .bt-tmdb-box,
html body .bt-batch-grid > div,
html body .bt-auto-box,
html body .bt-auto-result {
    background: var(--up-box-solid) !important;
    background-color: var(--up-box-solid) !important;
    color: var(--up-text-solid) !important;
    border-color: var(--up-border-solid) !important;
}

/* inputok: tömör világos mező */
html body .bt-field input,
html body .bt-field select,
html body .bt-field textarea,
html body .bt-inline-input input,
html body .bt-batch-top input,
html body .bt-batch-top select,
html body .bt-batch-meta select,
html body .bt-tmdb-box textarea {
    opacity: 1 !important;
    background: var(--up-field-solid) !important;
    background-color: var(--up-field-solid) !important;
    background-image: none !important;
    color: var(--up-field-text-solid) !important;
    border-color: var(--up-border-solid) !important;
}

/* szövegek */
html body .bt-upload-title h1,
html body .bt-batch-title h1,
html body .bt-upload-form h2,
html body .bt-field > span,
html body .bt-batch-top span,
html body .bt-radio-row strong,
html body .bt-batch-card-head strong,
html body .bt-tmdb-box h3,
html body .bt-batch-check,
html body .bt-batch-grid b {
    color: var(--up-text-solid) !important;
    text-shadow: none !important;
}

/* halvány szöveg is látható legyen, de ne átlátszó */
html body .bt-field small,
html body .bt-cover-preview p,
html body .bt-tmdb-box p,
html body .bt-batch-title p,
html body .bt-upload-title div {
    color: var(--up-text-solid) !important;
    opacity: .9 !important;
}

/* gombok */
html body .bt-inline-input button,
html body .bt-upload-submit-row button,
html body .bt-upload-tabs a.active,
html body .bt-batch-card-head span {
    opacity: 1 !important;
    background: var(--up-accent-solid) !important;
    background-color: var(--up-accent-solid) !important;
    background-image: none !important;
    color: #ffffff !important;
    border-color: var(--up-border-solid) !important;
}

/* nem aktív tab */
html body .bt-upload-tabs a {
    background: var(--up-box-solid) !important;
    background-color: var(--up-box-solid) !important;
    background-image: none !important;
    color: var(--up-text-solid) !important;
    border-color: var(--up-border-solid) !important;
}

/* poszter helye */
html body .bt-poster-placeholder,
html body .bt-batch-poster img,
html body .bt-cover-preview img {
    opacity: 1 !important;
    background: var(--up-field-solid) !important;
    background-color: var(--up-field-solid) !important;
    border-color: var(--up-border-solid) !important;
}


/* ==========================================================
   FELTÖLTÉS - FIX ZÖLD HELYETT TÉMA SZÍN
   ========================================================== */

html body .bt-auto-status,
html body .bt-batch-card-head span,
html body .bt-upload-submit-row button,
html body .bt-inline-input button,
html body .bt-upload-tabs a.active {
    background: var(--accent) !important;
    background-color: var(--accent) !important;
    background-image: none !important;
    border-color: var(--accent) !important;
    color: #fff !important;
    opacity: 1 !important;
}

html body .bt-auto-result.selected,
html body .bt-batch-card.is-ok,
html body .bt-batch-card.is-bad,
html body .bt-tmdb-box,
html body .bt-auto-box {
    border-color: var(--accent) !important;
    outline-color: var(--accent) !important;
}

html body .bt-auto-result.selected {
    outline: 2px solid var(--accent) !important;
}

html body .bt-batch-card.is-ok {
    border-left-color: var(--accent) !important;
}

html body .bt-batch-card.is-bad {
    border-left-color: #d94b4b !important;
}

html body .bt-auto-status {
    color: #fff !important;
    font-weight: 900 !important;
}

html body .bt-auto-head button {
    color: var(--accent) !important;
}

/* ne üssön át a háttér */
html body .bt-upload-panel,
html body .bt-batch-panel,
html body .bt-upload-form,
html body .bt-batch-form,
html body .bt-auto-box,
html body .bt-auto-result,
html body .bt-tmdb-box,
html body .bt-batch-card,
html body .bt-batch-grid > div,
html body .bt-field {
    opacity: 1 !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* ==========================================================
   UPLOAD - NFO FÁJL MEZŐ
   ========================================================== */

html body .bt-nfo-file-field {
    margin-top: -4px !important;
}

html body .bt-field input[type="file"] {
    opacity: 1 !important;
    background: var(--up-field-solid, var(--bg)) !important;
    background-color: var(--up-field-solid, var(--bg)) !important;
    background-image: none !important;
    color: var(--up-field-text-solid, var(--text)) !important;
    border: 1px solid var(--up-border-solid, var(--border)) !important;
}

html body .bt-field input[type="file"]::file-selector-button {
    min-height: 30px !important;
    margin-right: 10px !important;
    padding: 0 12px !important;
    border: 1px solid var(--up-border-solid, var(--border)) !important;
    border-radius: 4px !important;
    background: var(--up-head-solid, var(--card-head)) !important;
    background-color: var(--up-head-solid, var(--card-head)) !important;
    background-image: none !important;
    color: var(--up-text-solid, var(--text)) !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}


/* ==========================================================
   BATCH UPLOAD - NFO FÁJLOK
   ========================================================== */

html body .bt-batch-top {
    grid-template-columns: 1fr 1fr 300px !important;
}

html body .bt-batch-top small {
    display: block !important;
    margin-top: 5px !important;
    color: var(--up-text-solid, var(--text)) !important;
    opacity: .9 !important;
    font-size: 12px !important;
}

html body .bt-batch-top input[type="file"]::file-selector-button {
    min-height: 30px !important;
    margin-right: 10px !important;
    padding: 0 12px !important;
    border: 1px solid var(--up-border-solid, var(--border)) !important;
    border-radius: 4px !important;
    background: var(--up-head-solid, var(--card-head)) !important;
    background-color: var(--up-head-solid, var(--card-head)) !important;
    background-image: none !important;
    color: var(--up-text-solid, var(--text)) !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

@media (max-width: 1000px) {
    html body .bt-batch-top {
        grid-template-columns: 1fr !important;
    }
}


/* ==========================================================
   DETAILS - STAFF TORRENT DELETE
   ========================================================== */

html body .dt-delete-zone {
    margin: 16px 0 !important;
    padding: 14px !important;
    border: 1px solid #9b1c1c !important;
    border-radius: 8px !important;
    background: #2a0909 !important;
    color: #ffecec !important;
}

html body .dt-delete-title {
    font-size: 16px !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
    color: #ffb4b4 !important;
}

html body .dt-delete-text {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin-bottom: 12px !important;
    color: #ffd6d6 !important;
}

html body .dt-delete-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

html body .dt-delete-confirm {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: 800 !important;
    color: #fff1f1 !important;
}

html body .dt-delete-confirm input {
    width: 16px !important;
    height: 16px !important;
}

html body .dt-delete-btn {
    width: fit-content !important;
    border: 1px solid #ff4d4d !important;
    border-radius: 6px !important;
    background: #b00020 !important;
    color: #fff !important;
    font-weight: 900 !important;
    padding: 9px 14px !important;
    cursor: pointer !important;
}

html body .dt-delete-btn:hover {
    background: #d0002a !important;
}


/* ==========================================================
   BROWSE - RELEASE NÉV FELÜL, MAGYAR CÍM ALUL
   ========================================================== */

html body .torrent-name-link {
    display: block !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    color: var(--accent, #38bdf8) !important;
}

html body .torrent-file {
    display: block !important;
    margin-top: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--text-muted, #d8e2ef) !important;
    opacity: .95 !important;
}


/* ==========================================================
   BROWSE - RELEASE NÉV FELÜL, MAGYAR CÍM ALUL
   ========================================================== */

html body .torrent-name-link {
    display: block !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
    color: var(--accent, #38bdf8) !important;
}

html body .torrent-file {
    display: block !important;
    margin-top: 4px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: var(--text-muted, #d8e2ef) !important;
    opacity: .95 !important;
}


/* ==========================================================
   BROWSE - RELEASE NÉV FELÜL, MAGYAR CÍM ALUL
   ========================================================== */

html body .torrent-name-link.bho-release-title,
html body .torrent-name-link {
    display: block !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

html body .torrent-file.bho-hu-title,
html body .torrent-file {
    display: block !important;
    margin-top: 4px !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--text-muted, #d8e2ef) !important;
    opacity: .95 !important;
}


/* ==========================================================
   BROWSE - RELEASE NÉV MINDIG EGY SORBAN
   ========================================================== */

html body .browse-page .torrent-table {
    min-width: 1180px !important;
}

html body .browse-page .torrent-name-cell {
    min-width: 520px !important;
    max-width: 720px !important;
}

html body .browse-page .torrent-name-link,
html body .browse-page .torrent-name-link.bho-release-title {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 720px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

html body .browse-page .torrent-file,
html body .browse-page .torrent-file.bho-hu-title {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 720px !important;
    margin-top: 4px !important;
}


/* ==========================================================
   BROWSE - TORRENT SOR VÉGLEGES RENDEZÉS
   ========================================================== */

/* Ne tolja szét a táblát */
html body .browse-page .torrent-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
}

/* Fix oszlopok */
html body .browse-page .torrent-table th:nth-child(1),
html body .browse-page .torrent-table td:nth-child(1) {
    width: 74px !important;
}

html body .browse-page .torrent-table th:nth-child(2),
html body .browse-page .torrent-table td:nth-child(2) {
    width: 92px !important;
}

html body .browse-page .torrent-table th:nth-child(4),
html body .browse-page .torrent-table td:nth-child(4) {
    width: 58px !important;
    text-align: center !important;
}

html body .browse-page .torrent-table th:nth-child(5),
html body .browse-page .torrent-table td:nth-child(5) {
    width: 82px !important;
    text-align: center !important;
}

html body .browse-page .torrent-table th:nth-child(6),
html body .browse-page .torrent-table td:nth-child(6),
html body .browse-page .torrent-table th:nth-child(7),
html body .browse-page .torrent-table td:nth-child(7),
html body .browse-page .torrent-table th:nth-child(8),
html body .browse-page .torrent-table td:nth-child(8) {
    width: 64px !important;
    text-align: center !important;
}

html body .browse-page .torrent-table th:nth-child(9),
html body .browse-page .torrent-table td:nth-child(9) {
    width: 86px !important;
}

html body .browse-page .torrent-table th:nth-child(10),
html body .browse-page .torrent-table td:nth-child(10) {
    width: 106px !important;
    white-space: nowrap !important;
}

/* Torrent oszlop: ami marad, azt használja */
html body .browse-page .torrent-table th:nth-child(3),
html body .browse-page .torrent-table td:nth-child(3) {
    width: auto !important;
    min-width: 0 !important;
}

html body .browse-page .torrent-name-cell {
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
}

/* Felső sor: release név, egy sor, normális méret */
html body .browse-page .torrent-name-link,
html body .browse-page .torrent-name-link.bho-release-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

/* Alsó sor: magyar cím */
html body .browse-page .torrent-file,
html body .browse-page .torrent-file.bho-hu-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 4px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

/* Gombok ne törjék szét a sort */
html body .browse-page .torrent-media-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    margin-top: 7px !important;
    overflow: hidden !important;
}

html body .browse-page .torrent-media-links a {
    white-space: nowrap !important;
}


/* ==========================================================
   BROWSE - MODERN TORRENT CARD LIST
   ========================================================== */

html body .browse-page .torrent-table.bho-hide-old-table {
    display: none !important;
}

html body .bho-modern-torrent-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 10px !important;
    background: #111520 !important;
    border-top: 1px solid #334155 !important;
}

html body .bho-torrent-card {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) 320px !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 82px !important;
    padding: 10px 12px !important;
    border: 1px solid #334155 !important;
    border-radius: 10px !important;
    background: #171c28 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}

html body .bho-torrent-card:hover {
    border-color: var(--accent, #38bdf8) !important;
    background: #1b2230 !important;
}

html body .bho-card-icon {
    width: 66px !important;
    height: 66px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body .bho-card-icon img {
    width: 58px !important;
    height: 58px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
}

html body .bho-card-main {
    min-width: 0 !important;
}

html body .bho-card-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

html body .bho-card-title {
    display: block !important;
    max-width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    color: #dbeafe !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.25 !important;
}

html body .bho-card-title:hover {
    color: var(--accent, #38bdf8) !important;
}

html body .bho-card-subtitle {
    margin-top: 4px !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

html body .bho-card-actions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    margin-top: 8px !important;
}

html body .bho-round-action,
html body .bho-card-actions a,
html body .bho-card-actions button {
    width: 30px !important;
    height: 26px !important;
    min-width: 30px !important;
    border-radius: 8px !important;
    border: 1px solid #3b4a60 !important;
    background: #20283a !important;
    color: #e5e7eb !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    font-weight: 900 !important;
}

html body .bho-card-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 8px !important;
}

html body .bho-card-links:empty {
    display: none !important;
}

html body .bho-card-links a,
html body .bho-card-links button {
    min-height: 24px !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    border: 1px solid #3b4a60 !important;
    background: #242d40 !important;
    color: #e5e7eb !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

html body .bho-card-links .bho-link-port { background: #2563eb !important; color: #fff !important; }
html body .bho-card-links .bho-link-mafab { background: #059669 !important; color: #fff !important; }
html body .bho-card-links .bho-link-imdb { background: #eab308 !important; color: #111827 !important; }
html body .bho-card-links .bho-link-youtube { background: #dc2626 !important; color: #fff !important; }

html body .bho-card-meta {
    display: grid !important;
    grid-template-columns: 1fr 86px 82px !important;
    grid-template-areas:
        "date size uploader"
        "stats stats stats";
    align-items: center !important;
    gap: 8px !important;
    justify-items: end !important;
    min-width: 0 !important;
}

html body .bho-card-date {
    grid-area: date !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
}

html body .bho-card-size {
    grid-area: size !important;
    color: #f8fafc !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

html body .bho-card-uploader {
    grid-area: uploader !important;
    color: var(--accent, #38bdf8) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

html body .bho-card-stats {
    grid-area: stats !important;
    display: inline-grid !important;
    grid-template-columns: repeat(3, 48px) !important;
    border: 1px solid #3b4a60 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: #20283a !important;
}

html body .bho-pill {
    height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    font-weight: 1000 !important;
    border-right: 1px solid #3b4a60 !important;
}

html body .bho-pill:last-child {
    border-right: none !important;
}

html body .bho-complete { color: #93c5fd !important; }
html body .bho-seed { color: #22c55e !important; }
html body .bho-leech { color: #ef4444 !important; }

@media (max-width: 1100px) {
    html body .bho-torrent-card {
        grid-template-columns: 70px minmax(0, 1fr) !important;
    }

    html body .bho-card-meta {
        grid-column: 2 !important;
        justify-items: start !important;
        grid-template-columns: auto auto auto !important;
        grid-template-areas:
            "date size uploader"
            "stats stats stats";
    }
}


/* ==========================================================
   BROWSE - MODERN KÁRTYA TELJES KIKAPCSOLÁS
   ========================================================== */

html body .bho-modern-torrent-list,
html body .bho-torrent-card {
    display: none !important;
}

html body .browse-page .torrent-table,
html body .browse-page .torrent-table.bho-hide-old-table {
    display: table !important;
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
}

html body .browse-page .torrent-table thead {
    display: table-header-group !important;
}

html body .browse-page .torrent-table tbody {
    display: table-row-group !important;
}

html body .browse-page .torrent-table tr {
    display: table-row !important;
}

html body .browse-page .torrent-table th,
html body .browse-page .torrent-table td {
    display: table-cell !important;
}

/* Normál, nem hatalmas torrent sor */
html body .browse-page .torrent-table td {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

html body .browse-page .torrent-name-link {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

html body .browse-page .torrent-file {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    margin-top: 3px !important;
}

html body .browse-page .torrent-media-links {
    margin-top: 5px !important;
}


/* ==========================================================
   INDEX - KIEMELT / NÉPSZERŰ POSZTER JAVÍTÁS
   ========================================================== */

html body .bho-featured-poster-fixed {
    overflow: hidden !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: stretch !important;
}

html body .bho-featured-poster-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: inherit !important;
}


/* ==========================================================
   INDEX - KIEMELT / NÉPSZERŰ POSZTER V2
   ========================================================== */

html body .bho-featured-poster-fixed {
    overflow: hidden !important;
    padding: 0 !important;
    background: #111827 !important;
}

html body .bho-featured-poster-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: inherit !important;
}


/* ==========================================================
   KIEMELT / NÉPSZERŰ POSZTER - BROWSE + INDEX
   ========================================================== */

html body .bho-featured-poster-fixed {
    overflow: hidden !important;
    padding: 0 !important;
    background: #111827 !important;
    display: block !important;
}

html body .bho-featured-poster-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: inherit !important;
}


/* ==========================================================
   KIEMELT / NÉPSZERŰ TORRENTEK - POSZTER NE LEGYEN LEVÁGVA
   ========================================================== */

html body .bho-featured-poster-fixed {
    width: 150px !important;
    height: 220px !important;
    margin: 12px auto 14px auto !important;
    padding: 0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #111827 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06) !important;
}

html body .bho-featured-poster-img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #111827 !important;
    border-radius: 14px !important;
}


/* ==========================================================
   BITHORLO - MOZGÓ KIEMELT TORRENT POSZTER SLIDER
   ========================================================== */

html body .bho-featured-slider-section {
    margin: 16px auto 22px auto !important;
    border: 1px solid #334155 !important;
    border-radius: 8px !important;
    background: #111722 !important;
    overflow: hidden !important;
    max-width: 1280px !important;
}

html body .bho-featured-slider-head {
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 18px !important;
    border-bottom: 1px solid #334155 !important;
    background: repeating-linear-gradient(
        45deg,
        #192231,
        #192231 9px,
        #16202d 9px,
        #16202d 18px
    ) !important;
    color: #f8fafc !important;
    font-weight: 900 !important;
    font-size: 16px !important;
}

html body .bho-featured-slider-wrap {
    position: relative !important;
    padding: 20px 48px !important;
}

html body .bho-featured-slider-viewport {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
}

html body .bho-featured-slider-track {
    display: flex !important;
    align-items: stretch !important;
    gap: 28px !important;
    width: max-content !important;
}

html body .bho-featured-poster-card {
    width: 170px !important;
    min-width: 170px !important;
    text-decoration: none !important;
    color: #e5e7eb !important;
    display: block !important;
}

html body .bho-featured-poster-box {
    width: 170px !important;
    height: 255px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #0f172a !important;
    border: 1px solid rgba(148,163,184,.22) !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.34) !important;
}

html body .bho-featured-poster-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    background: #0f172a !important;
}

html body .bho-featured-poster-info {
    margin-top: 9px !important;
    padding: 8px 2px 0 2px !important;
}

html body .bho-featured-poster-title {
    font-size: 13px !important;
    font-weight: 900 !important;
    color: #f8fafc !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

html body .bho-featured-poster-cat {
    margin-top: 3px !important;
    color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

html body .bho-featured-poster-stats {
    margin-top: 7px !important;
    display: flex !important;
    gap: 5px !important;
}

html body .bho-featured-poster-stats span {
    min-width: 38px !important;
    height: 22px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    background: #1e293b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

html body .bho-st-complete { color: #93c5fd !important; }
html body .bho-st-seed { color: #22c55e !important; }
html body .bho-st-leech { color: #ef4444 !important; }

html body .bho-featured-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 70px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(148,163,184,.3) !important;
    background: rgba(15,23,42,.78) !important;
    color: #f8fafc !important;
    font-size: 38px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    z-index: 5 !important;
}

html body .bho-featured-left {
    left: 10px !important;
}

html body .bho-featured-right {
    right: 10px !important;
}

html body .bho-featured-arrow:hover {
    background: rgba(30,41,59,.95) !important;
    border-color: var(--accent, #38bdf8) !important;
}

@media (max-width: 800px) {
    html body .bho-featured-slider-wrap {
        padding: 16px 38px !important;
    }

    html body .bho-featured-slider-track {
        gap: 18px !important;
    }

    html body .bho-featured-poster-card,
    html body .bho-featured-poster-box {
        width: 140px !important;
        min-width: 140px !important;
    }

    html body .bho-featured-poster-box {
        height: 210px !important;
    }
}


/* ==========================================================
   KIEMELT TORRENTEK - 50% KISEBB DOBOZ
   ========================================================== */

html body .bho-featured-slider-section {
    margin: 10px auto 14px auto !important;
    max-width: 1280px !important;
    min-height: 0 !important;
}

html body .bho-featured-slider-head {
    height: 34px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
}

html body .bho-featured-slider-wrap {
    padding: 10px 38px 12px 38px !important;
    min-height: 0 !important;
}

html body .bho-featured-slider-track {
    gap: 18px !important;
}

html body .bho-featured-poster-card {
    width: 110px !important;
    min-width: 110px !important;
}

html body .bho-featured-poster-box {
    width: 110px !important;
    height: 165px !important;
    border-radius: 9px !important;
}

html body .bho-featured-poster-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

html body .bho-featured-poster-info {
    margin-top: 6px !important;
    padding: 4px 0 0 0 !important;
}

html body .bho-featured-poster-title {
    font-size: 12px !important;
    line-height: 1.15 !important;
}

html body .bho-featured-poster-cat {
    margin-top: 2px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
}

html body .bho-featured-poster-stats {
    margin-top: 5px !important;
    gap: 4px !important;
}

html body .bho-featured-poster-stats span {
    min-width: 30px !important;
    height: 18px !important;
    padding: 0 5px !important;
    font-size: 10px !important;
}

html body .bho-featured-arrow {
    width: 30px !important;
    height: 48px !important;
    font-size: 28px !important;
}

html body .bho-featured-left {
    left: 6px !important;
}

html body .bho-featured-right {
    right: 6px !important;
}

/* ==========================================================
   TORRENT NÉV HOVER PREVIEW
   ========================================================== */
.bho-hover-preview {
    position: fixed;
    z-index: 99999;
    width: 420px;
    max-width: min(420px, calc(100vw - 24px));
    background: #121a2d;
    border: 1px solid rgba(132, 161, 255, 0.35);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
    pointer-events: none;
}

.bho-hover-preview.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.bho-hover-card-inner {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.bho-hover-card-poster {
    width: 118px;
    min-width: 118px;
    height: 170px;
    border-radius: 10px;
    overflow: hidden;
    background: #0f1424;
    border: 1px solid rgba(132, 161, 255, 0.22);
}

.bho-hover-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bho-hover-no-poster {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b9c4e5;
    font-size: 13px;
    text-align: center;
    padding: 10px;
}

.bho-hover-card-text {
    flex: 1;
    min-width: 0;
}

.bho-hover-card-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 6px;
}

.bho-hover-card-subtitle {
    color: #8fb0ff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.bho-hover-card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #d7e2ff;
    background: rgba(68, 95, 170, 0.28);
    border: 1px solid rgba(132, 161, 255, 0.25);
    border-radius: 999px;
    padding: 4px 10px;
    margin-bottom: 10px;
}

.bho-hover-card-desc {
    color: #d7dcef;
    font-size: 13px;
    line-height: 1.45;
}

.bho-hover-loading,
.bho-hover-error {
    color: #e8eeff;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 4px;
}
