/* Warzone LFG — 2026 Dark Gaming Theme */

:root,
[data-theme="dark"] {
    color-scheme: dark;

    --bg-primary: #0a0a0c;
    --bg-secondary: #121218;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --border: #2a2a38;
    --border-glow: #3d3d52;

    --text-primary: #e8e8f0;
    --text-secondary: #9898a8;
    --text-muted: #6a6a7a;

    --accent-orange: #ff6b35;
    --accent-cyan: #00d4aa;
    --accent-green: #39ff14;
    --accent-red: #ff3366;

    --header-bg: rgba(6, 6, 8, 0.98);
    --overlay-soft: rgba(0, 0, 0, 0.35);
    --overlay-medium: rgba(0, 0, 0, 0.55);
    --overlay-strong: rgba(0, 0, 0, 0.85);
    --grid-line: rgba(255, 107, 53, 0.03);
    --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.45);
    --input-autofill-bg: var(--bg-secondary);
    --noise-opacity: 0.03;

    --font-main: 'Rajdhani', system-ui, sans-serif;
    --font-display: 'Orbitron', 'Rajdhani', sans-serif;

    --radius: 2px;
    --radius-lg: 2px;
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.15);
    --transition: 0.15s ease;
    --page-padding-x: clamp(1rem, 2.5vw, 2.5rem);
    --clip-tactical: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    --clip-tactical-sm: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}

[data-theme="light"] {
    color-scheme: light;

    --bg-primary: #eef0f6;
    --bg-secondary: #e2e5ee;
    --bg-card: #ffffff;
    --bg-card-hover: #f6f7fb;
    --border: #cfd3df;
    --border-glow: #b8bdd0;

    --text-primary: #14141f;
    --text-secondary: #434356;
    --text-muted: #68687a;

    --accent-orange: #e85a24;
    --accent-cyan: #009e7a;
    --accent-green: #1aad12;
    --accent-red: #d92555;

    --header-bg: rgba(255, 255, 255, 0.96);
    --overlay-soft: rgba(0, 0, 0, 0.05);
    --overlay-medium: rgba(0, 0, 0, 0.08);
    --overlay-strong: rgba(0, 0, 0, 0.55);
    --grid-line: rgba(255, 107, 53, 0.07);
    --shadow-elevated: 0 12px 32px rgba(20, 20, 40, 0.12);
    --input-autofill-bg: #ffffff;
    --noise-opacity: 0.02;

    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    position: relative;
}

/* Background effects */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.bg-noise {
    position: fixed;
    inset: 0;
    opacity: var(--noise-opacity);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.5rem var(--page-padding-x) 3rem;
    position: relative;
    z-index: 1;
}

a { color: var(--accent-cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-orange); }

/* Header — tactical / FPS 2026 */
.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    isolation: isolate;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 2px;
    background: var(--accent-orange);
    pointer-events: none;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 1px;
    background: var(--accent-cyan);
    opacity: 0.7;
    pointer-events: none;
}

.header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.65rem var(--page-padding-x);
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 0.75rem 1rem;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    flex-shrink: 0;
    min-width: 0;
}

.header-brand-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.pwa-nav-controls {
    display: none;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
}

html.is-pwa-standalone .pwa-nav-controls,
@media (display-mode: standalone) {
    .pwa-nav-controls {
        display: flex;
    }
}

.pwa-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--overlay-soft);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), color var(--transition), opacity var(--transition);
}

.pwa-nav-btn:hover:not(:disabled) {
    border-color: rgba(255, 107, 53, 0.45);
    color: var(--accent-orange);
}

.pwa-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.pwa-nav-btn svg {
    display: block;
}

.logo-brand:hover {
    color: var(--text-primary);
}

.logo-emblem {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border);
    border-top: 2px solid var(--accent-orange);
    clip-path: var(--clip-tactical-sm);
}

.logo-img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-lockup {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    border-left: 2px solid rgba(255, 107, 53, 0.45);
    padding-left: 0.75rem;
}

.logo-lockup-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.1;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo-lockup-tag {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.logo-lockup-prefix {
    color: var(--accent-orange);
    margin-right: 0.35rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.logo-mark {
    padding: 0.15rem;
    margin-left: -0.15rem;
}

.logo-icon { color: var(--accent-orange); font-size: 1.45rem; line-height: 1; }
.logo .accent { color: var(--accent-orange); }

.nav-main {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    align-self: center;
    min-width: 0;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    clip-path: var(--clip-tactical-sm);
    overflow: hidden;
}

.nav-main a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.5rem 0.72rem;
    border: none;
    border-right: 1px solid var(--border);
    position: relative;
    transition: color var(--transition), background var(--transition);
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-main a:last-child {
    border-right: none;
}

.nav-main a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    justify-content: flex-end;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.header-auth-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.header-auth-link:hover {
    color: var(--text-primary);
}

.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.6rem 0.35rem 0.4rem;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    clip-path: var(--clip-tactical-sm);
    color: var(--text-primary);
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: border-color var(--transition), background var(--transition);
    max-width: 220px;
}

.user-menu-trigger:hover,
.user-menu-trigger[aria-expanded="true"] {
    border-color: var(--border-glow);
    background: rgba(0, 212, 170, 0.06);
}

.user-menu-avatar {
    width: 32px;
    height: 32px;
    border-radius: 0;
    clip-path: var(--clip-tactical-sm);
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.user-menu-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.25), rgba(255, 107, 53, 0.25));
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.user-menu-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 110px;
}

.user-menu-chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--text-muted);
    margin-right: 0.15rem;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.user-menu-trigger[aria-expanded="true"] .user-menu-chevron {
    transform: rotate(180deg);
}

.user-menu-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 240px;
    background: rgba(14, 14, 18, 0.98);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    padding: 0.5rem;
    z-index: 200;
}

.user-menu-panel[hidden] {
    display: none;
}

.user-menu-head {
    padding: 0.65rem 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.35rem;
}

.user-menu-head strong {
    display: block;
    font-size: 0.95rem;
}

.user-menu-role {
    display: inline-block;
    margin-top: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-cyan);
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.25);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
}

.user-menu-group {
    padding: 0.2rem 0;
}

.user-menu-group + .user-menu-group {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.2rem;
    padding-top: 0.35rem;
}

.user-menu-label {
    display: block;
    padding: 0.35rem 0.75rem 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
}

.user-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.user-menu-item.active {
    background: rgba(0, 212, 170, 0.1);
    color: var(--accent-cyan);
}

.user-menu-icon.gaming-icon {
    width: 1.1rem;
    opacity: 0.85;
}

.user-menu-icon {
    width: 1.1rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.75;
    flex-shrink: 0;
}

.user-menu-badge {
    margin-left: auto;
    background: var(--accent-orange);
    color: #111;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    min-width: 1.2rem;
    text-align: center;
}

.user-menu-logout {
    color: var(--text-muted);
}

.user-menu-logout:hover {
    color: var(--accent-red);
    background: rgba(255, 51, 102, 0.08);
}

.user-menu-group-foot {
    padding-bottom: 0.15rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    border-radius: var(--radius);
}

/* Buttons */
[hidden] {
    display: none !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), #e55a2b);
    color: #fff;
    border-color: var(--accent-orange);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-glow);
    color: var(--text-secondary);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.8rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
    position: relative;
    padding: 3rem 0 2rem;
    text-align: center;
    overflow: hidden;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1;
    letter-spacing: 0.08em;
}

.glitch {
    display: block;
    color: var(--text-primary);
    position: relative;
}

.hero-sub {
    display: block;
    color: var(--accent-orange);
    font-size: 0.6em;
    letter-spacing: 0.3em;
}

.hero-desc {
    color: var(--text-secondary);
    margin: 1rem auto;
    max-width: 500px;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}

.stat-box {
    text-align: center;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-value.accent { color: var(--accent-cyan); }

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scanline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    opacity: 0.5;
}

/* Home page — 2026 Warzone Teamfinder */
.page-home .container {
    padding-top: 0.75rem;
}

.home-page {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-top: 2px solid rgba(255, 107, 53, 0.55);
    background: var(--bg-primary);
    clip-path: var(--clip-tactical);
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    border-left: 1px solid rgba(0, 212, 170, 0.35);
    border-bottom: 1px solid rgba(0, 212, 170, 0.35);
    pointer-events: none;
    z-index: 4;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.home-hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 58% 42%;
    background-repeat: no-repeat;
    filter: saturate(0.95) contrast(1.06) brightness(0.82);
    z-index: 0;
    transform: scale(1.08);
    transform-origin: center center;
    will-change: transform;
}

/* Színwash — bal oldalon sötét (szöveg), jobbra a kép látszik + brand tint */
.home-hero-wash {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(6, 6, 8, 0.88) 0%,
            rgba(6, 6, 8, 0.5) 32%,
            rgba(6, 6, 8, 0.18) 58%,
            rgba(255, 107, 53, 0.14) 82%,
            rgba(0, 212, 170, 0.1) 100%
        ),
        linear-gradient(
            180deg,
            rgba(6, 6, 8, 0.35) 0%,
            transparent 42%,
            rgba(6, 6, 8, 0.75) 100%
        );
}

.home-hero-wash::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(255, 107, 53, 0.1) 0%,
        transparent 50%,
        rgba(0, 212, 170, 0.08) 100%
    );
    mix-blend-mode: soft-light;
    opacity: 0.75;
}

.home-hero-glow {
    position: absolute;
    filter: blur(72px);
    opacity: 0.18;
    z-index: 2;
}

.home-hero-glow-1 {
    width: 45%;
    height: 140px;
    top: -20px;
    right: 0;
    background: linear-gradient(135deg, var(--accent-orange), transparent);
}

.home-hero-glow-2 {
    width: 35%;
    height: 120px;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, var(--accent-cyan), transparent);
    opacity: 0.12;
}

.home-hero-lines {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 92%);
    opacity: 0.7;
}

.home-hero-inner {
    position: relative;
    padding: 2.5rem 1.75rem 2rem;
    z-index: 5;
}

.home-hero-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.home-hero-emblem {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-orange);
    clip-path: var(--clip-tactical);
}

.home-hero-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.home-hero-brand-text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.home-hero-top {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.home-hero-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.4);
    clip-path: var(--clip-tactical-sm);
}

.home-hero-tag-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-green);
    border-color: rgba(57, 255, 20, 0.35);
    border-left: 2px solid var(--accent-green);
}

.home-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 7vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: 0.04em;
    margin: 0 0 1rem;
}

.home-hero-title-line {
    display: block;
    color: var(--text-primary);
}

.home-hero-title-accent {
    display: block;
    color: var(--accent-orange);
    text-shadow: 0 0 24px rgba(255, 107, 53, 0.25);
}

.home-hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 0 1.75rem;
    line-height: 1.6;
}

.home-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.home-path-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.45);
    color: var(--text-primary);
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), background var(--transition);
}

.home-path-card:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.6);
}

.home-path-lobby:hover {
    border-color: rgba(255, 107, 53, 0.55);
    border-left: 3px solid var(--accent-orange);
}

.home-path-team:hover {
    border-color: rgba(0, 212, 170, 0.55);
    border-left: 3px solid var(--accent-cyan);
}

.home-path-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--accent-orange);
    clip-path: var(--clip-tactical-sm);
}

.home-path-team .home-path-icon {
    color: var(--accent-cyan);
}

.home-path-body {
    flex: 1;
    min-width: 0;
}

.home-path-body strong {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.home-path-body span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.home-path-arrow {
    color: var(--text-muted);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.home-stat {
    text-align: center;
    padding: 0.85rem 0.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-top: 2px solid rgba(255, 255, 255, 0.06);
    clip-path: var(--clip-tactical-sm);
}

.home-stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.home-stat-value.accent-cyan {
    color: var(--accent-cyan);
}

.home-stat-value.accent-green {
    color: var(--accent-green);
}

.home-stat-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.home-mode-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-mode-tags span {
    font-size: 0.72rem;
    padding: 0.3rem 0.55rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    clip-path: var(--clip-tactical-sm);
}

.home-live-bar {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    padding: 0.65rem 1rem;
}

.home-live-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    font-size: 0.85rem;
}

.home-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--accent-green);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.home-live-meta {
    color: var(--text-muted);
}

.home-live-link {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 600;
}

.home-steps {
    padding: 0 0.25rem;
}

.home-steps-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.home-steps-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.home-step {
    display: flex;
    gap: 0.85rem;
    padding: 1.1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-card);
}

.home-step-num {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--accent-orange);
    opacity: 0.85;
    line-height: 1;
}

.home-step strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.home-step p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
}

.home-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.home-section-head h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.home-section-sub {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.home-section-head-center {
    text-align: center;
    justify-content: center;
    border-bottom: none;
    padding-bottom: 0;
}

.home-empty-panel {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.2);
}

.home-empty-panel-team {
    border-color: rgba(0, 212, 170, 0.25);
}

.home-empty-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--accent-orange);
}

.home-empty-icon.gaming-icon svg {
    filter: drop-shadow(0 0 10px color-mix(in srgb, currentColor 50%, transparent));
}

.home-empty-panel-team .home-empty-icon { color: var(--accent-cyan); }
.home-empty-panel-forum .home-empty-icon { color: rgba(100, 200, 255, 0.95); }

.home-empty-panel h3 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.home-empty-panel p {
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto 1.25rem;
    font-size: 0.9rem;
}

.home-player-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-player-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem 0.45rem 0.45rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    transition: border-color var(--transition), background var(--transition);
}

.home-player-chip:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.home-player-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.home-player-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    font-weight: 700;
    color: var(--accent-orange);
    font-family: var(--font-display);
}

.home-player-name {
    font-weight: 600;
}

.home-player-status {
    font-size: 0.75rem;
}

.home-player-status .status-dot {
    margin-right: 0.15rem;
}

.home-features {
    padding-top: 0.5rem;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-feature-card {
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--bg-card), rgba(16, 16, 24, 0.6));
    transition: border-color var(--transition), transform var(--transition);
}

.home-feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.home-feature-glyph {
    display: flex;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

.home-feature-card-lobby .home-feature-glyph { color: var(--accent-orange); }
.home-feature-card-team .home-feature-glyph { color: var(--accent-cyan); }
.home-feature-card-forum .home-feature-glyph { color: rgba(100, 200, 255, 0.95); }
.home-feature-card-verify .home-feature-glyph { color: var(--accent-green); }
.home-feature-card-star .home-feature-glyph { color: #ffd166; }
.home-feature-card-streamer .home-feature-glyph { color: var(--accent-orange); }

.home-feature-card h3 {
    font-size: 0.95rem;
    margin: 0 0 0.35rem;
    letter-spacing: 0.04em;
}

.home-feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
}

.home-cta-band {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 107, 53, 0.35);
    background:
        linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(0, 212, 170, 0.06)),
        var(--bg-card);
    padding: 1.75rem 1.5rem;
}

.home-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.home-cta-inner h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 0.35rem;
}

.home-cta-inner p {
    margin: 0;
    color: var(--text-secondary);
    max-width: 480px;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* ——— Gaming ikonok (Phosphor Duotone) ——— */
.gaming-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: inherit;
    line-height: 0;
}

.gaming-icon-ph svg {
    display: block;
    filter: drop-shadow(0 0 6px color-mix(in srgb, currentColor 35%, transparent));
    transition: filter var(--transition), transform var(--transition);
}

.gaming-icon-ph svg path[opacity="0.2"] {
    opacity: 0.35 !important;
}

a:hover .gaming-icon-ph svg,
.home-portal-card:hover .gaming-icon-ph svg,
.home-feature-card:hover .gaming-icon-ph svg {
    filter: drop-shadow(0 0 10px color-mix(in srgb, currentColor 55%, transparent));
    transform: scale(1.04);
}

.home-portal-icon.gaming-icon-ph {
    flex-shrink: 0;
    width: 2.85rem;
    height: 2.85rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 55%),
        rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    clip-path: var(--clip-tactical-sm);
    box-shadow:
        inset 0 0 14px rgba(255, 255, 255, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.35);
}

.home-portal-icon.gaming-icon-ph svg {
    width: 1.65rem;
    height: 1.65rem;
}

.home-empty-icon.gaming-icon-ph svg {
    width: 2.75rem;
    height: 2.75rem;
    filter: drop-shadow(0 0 12px color-mix(in srgb, currentColor 45%, transparent));
}

.home-feature-glyph.gaming-icon-ph svg {
    width: 1.85rem;
    height: 1.85rem;
}

.user-menu-icon.gaming-icon-ph svg {
    width: 1rem;
    height: 1rem;
}

.home-portal-arrow.gaming-icon-ph svg {
    width: 1.1rem;
    height: 1.1rem;
    opacity: 0.85;
}

/* ——— Portál hub (főoldal) ——— */
.home-portal-hub {
    margin-top: 1.25rem;
}

.home-portal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-portal-card {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 0.85rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
    min-height: 5.5rem;
}

a.home-portal-card:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.55);
    transform: translateY(-1px);
}

.home-portal-card-static {
    grid-template-columns: auto 1fr auto;
}

.home-portal-lobby:hover {
    border-color: rgba(255, 107, 53, 0.55);
    border-left: 3px solid var(--accent-orange);
}

.home-portal-team:hover {
    border-color: rgba(0, 212, 170, 0.55);
    border-left: 3px solid var(--accent-cyan);
}

.home-portal-forum:hover {
    border-color: rgba(100, 200, 255, 0.45);
    border-left: 3px solid rgba(100, 200, 255, 0.85);
}

.home-portal-news:hover {
    border-color: rgba(255, 200, 100, 0.45);
    border-left: 3px solid rgba(255, 200, 100, 0.9);
}

.home-portal-news .home-portal-icon {
    color: rgba(255, 200, 100, 0.95);
}

.home-portal-players:hover {
    border-color: rgba(57, 255, 20, 0.35);
    border-left: 3px solid var(--accent-green);
}

.home-portal-tools:hover {
    border-color: rgba(0, 212, 170, 0.35);
    border-left: 3px solid var(--accent-cyan);
}

.home-portal-streamer {
    border-color: rgba(255, 107, 53, 0.25);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(0, 0, 0, 0.35));
}

a.home-portal-streamer:hover {
    border-color: rgba(255, 107, 53, 0.55);
    border-left: 3px solid var(--accent-orange);
}

.home-portal-lobby .home-portal-icon { color: var(--accent-orange); }
.home-portal-team .home-portal-icon { color: var(--accent-cyan); }
.home-portal-forum .home-portal-icon { color: rgba(100, 200, 255, 0.95); }
.home-portal-players .home-portal-icon { color: var(--accent-green); }
.home-portal-tools .home-portal-icon { color: var(--accent-cyan); }
.home-portal-streamer .home-portal-icon { color: var(--accent-orange); }

.home-portal-guides:hover {
    border-color: rgba(57, 255, 20, 0.45);
    border-left: 3px solid var(--accent-green);
}

.home-portal-guides .home-portal-icon { color: var(--accent-green); }

.home-portal-stat-live {
    color: var(--accent-green);
    font-weight: 600;
}

/* ——— Napi gyorsnav (főoldal) ——— */
.home-daily-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 0.25rem;
    padding: 0.65rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.45);
    clip-path: var(--clip-tactical-sm);
}

.home-daily-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
    flex: 1 1 auto;
    min-width: 8.5rem;
    justify-content: center;
}

.home-daily-nav-item:hover {
    color: var(--text-primary);
    transform: translateY(-1px);
}

.home-daily-nav-lobby:hover { border-color: rgba(255, 107, 53, 0.55); }
.home-daily-nav-team:hover { border-color: rgba(0, 212, 170, 0.55); }
.home-daily-nav-guides:hover { border-color: rgba(57, 255, 20, 0.45); }
.home-daily-nav-forum:hover { border-color: rgba(100, 200, 255, 0.45); }
.home-daily-nav-tools:hover { border-color: rgba(0, 212, 170, 0.35); }

.home-daily-nav-icon.gaming-icon-ph svg {
    width: 1.1rem;
    height: 1.1rem;
}

.home-daily-nav-badge {
    font-size: 0.68rem;
    padding: 0.1rem 0.4rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-weight: 500;
}

.home-daily-nav-badge-live {
    color: var(--accent-green);
    border-color: rgba(57, 255, 20, 0.35);
}

/* ——— Útmutatók szekció (főoldal) ——— */
.home-guides-section {
    margin-top: 1.25rem;
}

.home-guides-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-guides-section .forum-tips-topic-card {
    min-height: 100%;
}

.home-guides-meta {
    color: var(--accent-green);
    font-weight: 500;
}

.home-feature-card-guides .home-feature-glyph { color: var(--accent-green); }

.nav-main a.nav-guides.nav-active {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
}

@media (max-width: 768px) {
    .home-daily-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-daily-nav::-webkit-scrollbar {
        display: none;
    }

    .home-daily-nav-item {
        flex: 0 0 auto;
        min-width: 7.5rem;
    }

    .home-guides-grid {
        grid-template-columns: 1fr;
    }
}

.home-portal-body {
    min-width: 0;
}

.home-portal-body strong {
    display: block;
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    margin-bottom: 0.2rem;
}

.home-portal-body span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.home-portal-stat {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--border);
    white-space: nowrap;
    clip-path: var(--clip-tactical-sm);
}

.home-portal-arrow.gaming-icon {
    color: var(--text-muted);
    opacity: 0.75;
}

.home-portal-arrow {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.home-portal-cta {
    justify-self: end;
}

.home-portal-split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.85fr);
    gap: 1rem;
    align-items: start;
}

.home-portal-split-main {
    margin-bottom: 0;
}

.home-portal-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-forum-feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home-forum-feed-item {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), background var(--transition);
}

.home-forum-feed-item:hover {
    border-color: rgba(100, 200, 255, 0.35);
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-primary);
}

.home-forum-feed-title {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
    line-height: 1.35;
}

.home-forum-feed-meta {
    display: block;
    font-size: 0.78rem;
}

.home-info-panel,
.home-streamer-panel {
    padding: 1.15rem 1.25rem;
}

.home-info-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 0.85rem;
    letter-spacing: 0.04em;
}

.home-info-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.home-info-links a {
    display: block;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition);
}

.home-info-links a:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.home-info-links strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
}

.home-info-links span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.home-streamer-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-orange);
    border: 1px solid rgba(255, 107, 53, 0.35);
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.65rem;
    clip-path: var(--clip-tactical-sm);
}

.home-streamer-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 1rem;
}

.home-empty-panel-forum {
    border-color: rgba(100, 200, 255, 0.2);
}

@media (max-width: 1100px) {
    .home-portal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-portal-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .home-paths {
        grid-template-columns: 1fr;
    }

    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-steps-list {
        grid-template-columns: 1fr;
    }

    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-hero-inner {
        padding: 1.75rem 1.15rem 1.5rem;
    }

    .home-hero-brand {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .home-hero-emblem {
        width: 64px;
        height: 64px;
    }

    .home-hero-logo {
        width: 52px;
        height: 52px;
    }

    .home-stats {
        grid-template-columns: 1fr 1fr;
    }

    .home-portal-grid {
        grid-template-columns: 1fr;
    }

    .home-portal-card {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .home-portal-stat,
    .home-portal-arrow,
    .home-portal-cta {
        grid-column: 2;
        justify-self: start;
    }

    .home-portal-arrow {
        display: none;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-live-link {
        margin-left: 0;
    }

    .home-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Sections */
.section { margin-top: 3rem; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(57, 255, 20, 0); }
}

.link-more {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Listing grid */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.listing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: all var(--transition);
    cursor: pointer;
}

.listing-card:hover {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.card-badges { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.card-time { font-size: 0.75rem; color: var(--text-muted); }

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-title a { color: var(--text-primary); }
.card-title a:hover { color: var(--accent-orange); }

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.card-pending {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--accent-cyan);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 3px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
}

.badge-live {
    background: rgba(57, 255, 20, 0.15);
    border-color: var(--accent-green);
    color: var(--accent-green);
    animation: pulse 2s infinite;
}

.badge-mode {
    background: rgba(0, 212, 170, 0.1);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.badge-closed { color: var(--accent-red); border-color: var(--accent-red); }
.badge-verified { color: var(--accent-cyan); border-color: var(--accent-cyan); }
.badge-verified-stats { color: var(--accent-green); border-color: var(--accent-green); background: rgba(57, 255, 20, 0.08); }
.badge-verified-discord { color: #5865f2; border-color: #5865f2; }
.badge-trusted {
    color: var(--accent-green);
    border-color: var(--accent-green);
    background: rgba(57, 255, 20, 0.12);
    font-weight: 600;
}
.badge-skill { border-color: var(--accent-purple, #a855f7); color: var(--accent-purple, #a855f7); }
.badge-verify-type { font-size: 0.7rem; }
.badge-sm { font-size: 0.65rem; padding: 0.1rem 0.35rem; }

/* Platform icon picker */
.platform-picker-wrap,
.skill-picker-wrap {
    width: 100%;
}

.platform-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.platform-select-native,
.skill-select-native,
.device-select-native {
    margin-bottom: 0.75rem;
    max-width: 280px;
}

.option-picker-wrap .skill-select-native.option-picker-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.option-picker-wrap .skill-picker {
    margin-top: 0;
}

.platform-pick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.25rem 0.75rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
    width: 100%;
    font: inherit;
    color: inherit;
    text-align: center;
}

.platform-pick {
    position: relative;
    display: block;
    cursor: pointer;
}

.platform-radio {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.platform-pick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding: 1.25rem 0.75rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 100%);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
    pointer-events: none;
}

.platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 72px;
    padding: 0.5rem;
}

.platform-logo-img {
    display: block;
    object-fit: contain;
    max-height: 56px;
    max-width: 100%;
    width: auto;
    height: auto;
}

.platform-logo-img-pc,
.platform-logo-img-ps {
    filter: brightness(0) invert(0.92);
}

.platform-logo-img-xbox {
    max-height: 44px;
    max-width: 110px;
}

.platform-icon-img {
    display: inline-block;
    object-fit: contain;
    vertical-align: middle;
    height: 22px;
    width: auto;
    max-width: 56px;
}

.platform-icon-inline {
    height: 20px;
    max-width: 48px;
    margin-left: 0.35rem;
}

.platform-stat .platform-icon-img {
    height: 28px;
    max-width: 72px;
    margin-right: 0.35rem;
}

.platform-icon-img-pc,
.platform-icon-img-ps {
    filter: brightness(0) invert(0.9);
}

.platform-radio:checked + .platform-pick-card.platform-pc,
.platform-pick-btn.is-selected.platform-pc,
.platform-pick input:checked + .platform-pick-card.platform-pc {
    border-color: #00d4aa;
    background: rgba(0, 212, 170, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.25);
}

.platform-radio:checked + .platform-pick-card.platform-ps,
.platform-pick-btn.is-selected.platform-ps,
.platform-pick input:checked + .platform-pick-card.platform-ps {
    border-color: #0070d1;
    background: rgba(0, 112, 209, 0.14);
    box-shadow: 0 0 20px rgba(0, 112, 209, 0.3);
}

.platform-radio:checked + .platform-pick-card.platform-xbox,
.platform-pick-btn.is-selected.platform-xbox,
.platform-pick input:checked + .platform-pick-card.platform-xbox {
    border-color: #107c10;
    background: rgba(16, 124, 16, 0.14);
    box-shadow: 0 0 20px rgba(16, 124, 16, 0.3);
}

.platform-pick-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.platform-radio:checked + .platform-pick-card .platform-pick-label,
.platform-pick-btn.is-selected .platform-pick-label,
.platform-pick input:checked + .platform-pick-card .platform-pick-label {
    color: var(--text-primary);
}

.platform-pick:hover .platform-pick-card,
.platform-pick-btn:hover,
.platform-pick-card:hover {
    transform: translateY(-3px);
}

.platform-pick-btn.platform-pc:hover,
.platform-pick-card.platform-pc:hover { border-color: rgba(0, 212, 170, 0.5); }
.platform-pick-btn.platform-ps:hover,
.platform-pick-card.platform-ps:hover { border-color: rgba(0, 112, 209, 0.5); }
.platform-pick-btn.platform-xbox:hover,
.platform-pick-card.platform-xbox:hover { border-color: rgba(16, 124, 16, 0.5); }

/* Skill level picker */
.skill-picker {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.skill-pick-btn {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font: inherit;
    color: inherit;
    text-align: left;
    pointer-events: auto;
}

.skill-pick {
    position: relative;
    display: block;
    cursor: pointer;
}

.skill-radio {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.skill-pick-card {
    display: block;
    padding: 0.85rem 1rem;
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, background 0.2s;
    pointer-events: none;
}

.skill-pick-card strong,
.skill-pick-btn strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.skill-pick-card small,
.skill-pick-btn small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.skill-radio:checked + .skill-pick-card,
.skill-pick-btn.is-selected,
.skill-pick input:checked + .skill-pick-card {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 170, 0.08);
}

.skill-radio:checked + .skill-pick-card.skill-sweats,
.skill-pick-btn.is-selected.skill-sweats,
.skill-pick input:checked + .skill-pick-card.skill-sweats {
    border-color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
}

.skill-radio:checked + .skill-pick-card.skill-content_creator,
.skill-pick-btn.is-selected.skill-content_creator,
.skill-pick input:checked + .skill-pick-card.skill-content_creator {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.1);
}

.play-style-picker {
    grid-template-columns: repeat(2, 1fr);
}

.skill-pick-btn.is-selected.play-style-none,
.skill-pick-btn.play-style-none:hover {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.skill-pick-btn.is-selected.play-style-assault,
.skill-pick-btn.play-style-assault:hover {
    border-color: rgba(255, 87, 34, 0.65);
    background: rgba(255, 87, 34, 0.1);
}

.skill-pick-btn.is-selected.play-style-support,
.skill-pick-btn.play-style-support:hover {
    border-color: rgba(76, 175, 80, 0.65);
    background: rgba(76, 175, 80, 0.1);
}

.skill-pick-btn.is-selected.play-style-sniper,
.skill-pick-btn.play-style-sniper:hover {
    border-color: rgba(33, 150, 243, 0.65);
    background: rgba(33, 150, 243, 0.1);
}

.skill-pick-btn.is-selected.play-style-recon,
.skill-pick-btn.play-style-recon:hover {
    border-color: rgba(156, 39, 176, 0.65);
    background: rgba(156, 39, 176, 0.1);
}

/* Platform badges (profile / list) — legacy crossplay text fallback */
.platform-badge-crossplay { opacity: 0.6; font-size: 0.7rem; }

/* Verification UI */
.profile-badges-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 0.5rem 0;
}

.profile-skill-line,
.profile-playstyle-line { margin: 0.35rem 0; }

.skill-desc-inline { font-size: 0.85rem; }

.verified-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.verified-input-wrap input { flex: 1; min-width: 140px; }

.field-verified-badge {
    font-size: 0.75rem;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
}

.field-verified-badge.large { font-size: 0.8rem; padding: 0.35rem 0.65rem; }

.field-pending-badge {
    font-size: 0.75rem;
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.verify-request-box {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(0, 212, 170, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.verify-request-box h3 { font-size: 1rem; margin-bottom: 0.5rem; }

.profile-section-card {
    padding: 1rem;
    margin: 1rem 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.profile-section-card h2 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.section-hint { margin-bottom: 0.75rem; }

.stat-verified {
    border-color: rgba(57, 255, 20, 0.35);
    background: rgba(57, 255, 20, 0.04);
}

.stat-card-wide { grid-column: span 2; }

.stat-sub {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

.mini-verified {
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 600;
}

.trusted-player-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.35);
    border-radius: var(--radius);
}

.trusted-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
    line-height: 1;
}

.trusted-player-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
}

.verify-admin-card,
.report-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.verify-admin-head { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }

.verify-admin-data {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.verify-note { font-size: 0.85rem; color: var(--text-secondary); margin: 0.5rem 0; }

.mode-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
}

.mode-chip {
    padding: 0.4rem 0.6rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.play-days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
}

.play-day-chip {
    padding: 0.4rem 0.6rem;
    background: var(--bg-secondary);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.profile-avatar-upload {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.profile-avatar-form {
    flex: 1;
    min-width: 200px;
}

.weapon-picker-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 320px;
    overflow-y: auto;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.weapon-picker-cat-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.weapon-picker-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.weapon-chip {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    background: var(--bg-primary);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.badge-weapon {
    background: rgba(147, 112, 219, 0.15);
    border-color: rgba(147, 112, 219, 0.35);
}

.profile-ranked-hint {
    margin-top: 0.5rem;
}

.security-email-verify {
    margin: 0.75rem 0;
    padding: 0.75rem;
}

.filter-search-input {
    min-width: 200px;
    flex: 1 1 200px;
    padding: 0.55rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
}

.news-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.listing-pagination {
    margin-top: 1.5rem;
}

.page-contact .contact-layout {
    display: grid;
    gap: 1.25rem;
    max-width: 720px;
}

.page-contact .contact-card h2 {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
}

.page-contact .contact-email-link {
    font-size: 1.25rem;
    font-weight: 600;
}

.page-contact .contact-topics {
    margin: 0;
    padding-left: 1.2rem;
}

.page-contact .contact-topics li + li {
    margin-top: 0.5rem;
}

.page-contact .contact-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.page-contact .contact-hint {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Dark form inputs (profile + verification) */
.form-input-dark,
.profile-edit-form input[type="text"],
.profile-edit-form input[type="number"],
.profile-edit-form select,
.profile-edit-form textarea,
.verify-request-form input[type="text"],
.verify-request-form select,
.verified-stats-grid input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary) !important;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input-dark:focus,
.profile-edit-form input:focus,
.verify-request-form input:focus,
.verified-stats-grid input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.15);
}

.profile-edit-form input:-webkit-autofill,
.verified-stats-grid input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--input-autofill-bg) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}

.verified-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.verified-field-card label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.verify-request-header h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.proof-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.proof-upload-card {
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.proof-upload-card:hover { border-color: var(--accent-cyan); }

.proof-upload-label {
    display: block;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.proof-upload-label strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.proof-upload-label small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.proof-upload-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.35rem;
}

.proof-file-input {
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.proof-file-input::file-selector-button {
    margin-right: 0.75rem;
    padding: 0.45rem 0.85rem;
    border: none;
    border-radius: 4px;
    background: linear-gradient(135deg, var(--accent-orange), #e55a2b);
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
}

.proof-preview {
    margin-top: 0.75rem;
}

.proof-preview img {
    max-width: 100%;
    max-height: 140px;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.proof-admin-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0.75rem 0;
}

.proof-thumb-link {
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.proof-thumb {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: border-color 0.2s, transform 0.15s;
}

.proof-thumb-link:hover .proof-thumb {
    border-color: var(--accent-cyan);
    transform: scale(1.02);
}

.activision-id { font-family: monospace; letter-spacing: 0.02em; }

.profile-edit-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Profil szerkesztés — oldalsáv layout */
.profile-settings-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

.profile-settings-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
}

.profile-settings-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.profile-settings-nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.profile-settings-nav-link:hover,
.profile-settings-nav-link.active {
    background: rgba(0, 212, 170, 0.08);
    border-color: rgba(0, 212, 170, 0.35);
    color: var(--text-primary);
}

.profile-settings-nav-icon {
    width: 1.5rem;
    text-align: center;
    flex-shrink: 0;
}

.profile-settings-nav-badge {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--accent-orange);
}

.profile-settings-content {
    min-width: 0;
}

.profile-settings-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
}

.profile-settings-panel-head {
    margin-bottom: 1.25rem;
}

.profile-settings-panel-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
}

/* Profil varázsló */
.profile-wizard-form {
    margin: 0;
}

.profile-wizard {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.profile-wizard-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.profile-wizard-step-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.45rem 0.55rem;
    border: 1px solid transparent;
    border-radius: calc(var(--radius) - 2px);
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.72rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.profile-wizard-step-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
}

.profile-wizard-step-btn.is-active {
    background: rgba(0, 212, 170, 0.12);
    border-color: rgba(0, 212, 170, 0.45);
    color: var(--text-primary);
}

.profile-wizard-step-btn.is-done {
    color: var(--accent);
}

.profile-wizard-step-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.profile-wizard-step-icon {
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
}

.profile-wizard-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.profile-wizard-step-btn.is-active .profile-wizard-step-num {
    background: var(--accent);
    color: #0a0f14;
}

.profile-wizard-step-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-wizard-body {
    min-height: 12rem;
}

.profile-wizard-pane-head {
    margin-bottom: 1.25rem;
}

.profile-wizard-pane-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
}

.profile-wizard-pane {
    animation: profileWizardFade 0.2s ease;
}

@keyframes profileWizardFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-wizard-summary {
    display: grid;
    gap: 0.65rem;
    margin: 0;
}

.profile-wizard-summary-row {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.profile-wizard-summary-row dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
}

.profile-wizard-summary-row dd {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.45;
}

.profile-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.profile-wizard-step-indicator {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
    text-align: center;
}

.profile-wizard-footer [data-wizard-submit] {
    margin-left: auto;
}

.verification-hero-inner-panel {
    padding: 0;
}

.security-cards,
.connection-cards {
    display: grid;
    gap: 1rem;
}

.security-card,
.connection-card {
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-secondary);
}

.security-card h3,
.connection-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.security-current {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.security-form .form-group:last-of-type {
    margin-bottom: 0.75rem;
}

.connection-card-head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.connection-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(88, 101, 242, 0.15);
    color: #5865f2;
    flex-shrink: 0;
}

.connection-status-ok {
    color: var(--accent-green);
}

.connection-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.connection-hint {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
}

.connection-setup-hint {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border: 1px dashed rgba(88, 101, 242, 0.45);
    border-radius: var(--radius);
    background: rgba(88, 101, 242, 0.06);
    font-size: 0.85rem;
}

.connection-uri-list {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.connection-uri-list code {
    font-size: 0.8rem;
    word-break: break-all;
}

@media (max-width: 900px) {
    .profile-settings-layout {
        grid-template-columns: 1fr;
    }

    .profile-settings-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .profile-settings-nav-link {
        flex: 1 1 auto;
        min-width: calc(50% - 0.25rem);
    }

    .profile-wizard-step-label {
        display: none;
    }

    .profile-wizard-step-btn {
        flex: 0 0 auto;
        padding: 0.4rem;
    }

    .profile-wizard-summary-row {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .profile-wizard-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-wizard-footer [data-wizard-submit] {
        margin-left: 0;
        width: 100%;
    }
}

/* Verification hero — profile edit */
.verification-hero {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    border: 2px solid rgba(57, 255, 20, 0.35);
    background: linear-gradient(165deg, rgba(57, 255, 20, 0.08) 0%, rgba(0, 212, 170, 0.04) 40%, var(--bg-card) 100%);
    overflow: hidden;
}

.verification-hero-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.verification-hero-inner {
    position: relative;
    padding: 1.5rem 1.5rem 1.25rem;
}

.verification-hero-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.verification-hero-title {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex: 1;
    min-width: 200px;
}

.verification-hero-icon.gaming-icon {
    font-size: inherit;
}

.verification-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(57, 255, 20, 0.15);
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    flex-shrink: 0;
}

.verification-hero h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    margin: 0 0 0.35rem;
    color: var(--text-primary);
}

.verification-hero-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin: 0;
    max-width: 520px;
}

.verification-hero-badge {
    padding: 0.65rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    min-width: 140px;
}

.verification-hero-badge strong {
    display: block;
    font-size: 0.85rem;
}

.verification-hero-badge span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.verification-hero-badge-done {
    border-color: var(--accent-green);
    background: rgba(57, 255, 20, 0.12);
    color: var(--accent-green);
}

.verification-hero-badge-pending {
    border-color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
    color: var(--accent-orange);
}

.verification-hero-badge-cta {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 170, 0.08);
    color: var(--accent-cyan);
}

.verification-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.verification-hero-body {
    margin-bottom: 1rem;
}

.verification-hero-body.verification-collapsed {
    display: none;
}

.verification-hero-verified .verification-hero-header {
    margin-bottom: 0;
}

.verification-hero-verified .verification-form-block {
    margin-top: 1rem;
}

.verification-status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.verification-status-item {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.verification-status-item.is-done {
    border-color: rgba(57, 255, 20, 0.4);
    background: rgba(57, 255, 20, 0.05);
}

.verification-status-item.is-pending {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.05);
}

.verification-status-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.status-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.status-pill-ok {
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    background: rgba(57, 255, 20, 0.1);
}

.status-pill-pending {
    color: var(--accent-orange);
    border: 1px solid var(--accent-orange);
}

.status-pill-action {
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.status-pill-missing {
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.verification-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
}

.verification-step-upload {
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    background: rgba(0, 0, 0, 0.15);
    margin: 0 -1.5rem -1.25rem;
    padding: 1.25rem 1.5rem 1.5rem;
    border-radius: 0 0 var(--radius) var(--radius);
}

.verification-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent-orange);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.verification-step-body h3 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
}

.verification-step-hint {
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.verification-form-block {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.profile-settings-compact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

.profile-settings-title {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.profile-save-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.save-bar-hint {
    font-size: 0.85rem;
    margin: 0;
}

.verify-request-inner h3 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.verify-state-banner {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
}

.verify-state-banner p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.verify-state-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.verify-state-success {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.35);
    color: var(--accent-green);
}

.verify-state-pending {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.35);
    color: var(--accent-orange);
}

.verify-state-hint {
    background: rgba(0, 212, 170, 0.06);
    border: 1px solid var(--border);
}

.verify-upload-intro {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-verify-submit {
    width: 100%;
    max-width: 320px;
}

@media (max-width: 768px) {
    .verification-status-grid { grid-template-columns: 1fr; }
    .verification-hero-header { flex-direction: column; }
    .profile-save-bar { flex-direction: column; align-items: stretch; }
    .btn-verify-submit { max-width: none; }
}

.verification-status-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.verification-status-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.verify-columns-wrap {
    margin-bottom: 1rem;
}

.verify-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.verify-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.verify-column {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.verify-column label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: var(--text-muted);
}

.verify-inline-strip {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px dashed rgba(57, 255, 20, 0.25);
}

.verify-inline-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin: 0 0 0.2rem;
}

.verify-inline-hint {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}

.verify-inline-file-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.verify-inline-file-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.verify-proof-required-hint {
    color: var(--accent);
    font-weight: 600;
}

.btn-verify-inline {
    width: 100%;
    justify-content: center;
}

.verify-inline-state {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    padding: 0.5rem 0.65rem;
    border-radius: 4px;
}

.verify-inline-ok {
    color: var(--accent-green);
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.35);
}

.verify-inline-pending {
    color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.35);
}

.verify-inline-muted {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.verify-save-reminder {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.85rem 1rem;
    margin: 0.5rem 0 1rem;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.25);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.verify-save-reminder p { margin: 0; line-height: 1.4; }

@media (max-width: 900px) {
    .verify-columns,
    .verification-status-grid-3,
    .verification-status-grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .skill-picker { grid-template-columns: 1fr; }
    .platform-picker { grid-template-columns: 1fr; }
    .stat-card-wide { grid-column: span 1; }
}

/* Status dots */
.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 0.25rem;
}

.status-dot.online { background: var(--accent-green); box-shadow: 0 0 6px var(--accent-green); }
.status-dot.in-game { background: var(--accent-orange); box-shadow: 0 0 6px var(--accent-orange); }
.status-dot.in-queue { background: #ffaa00; }
.status-dot.offline { background: var(--text-muted); }

.trust-score {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.85rem;
}

.trust-score.large { font-size: 1.1rem; }

/* Avatars */
.avatar-xs, .avatar-sm, .avatar-md, .avatar-lg {
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.avatar-xs { width: 24px; height: 24px; }
.avatar-sm { width: 36px; height: 36px; }
.avatar-md { width: 48px; height: 48px; }
.avatar-lg { width: 80px; height: 80px; }

.avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--border));
    color: var(--accent-orange);
    font-weight: 700;
    font-family: var(--font-display);
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: border-color var(--transition);
}

.feature-card:hover { border-color: var(--border-glow); }

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.05em;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Forms */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label,
.form-group .form-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.checkbox-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

/* Filter bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.filter-bar select {
    padding: 0.4rem 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.85rem;
}

/* Auth */
.auth-page {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 420px;
}

.auth-card-wide { max-width: 640px; }

.auth-card h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.auth-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.auth-terms-accept {
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.auth-terms-label {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.9rem;
    line-height: 1.45;
    cursor: pointer;
}

.auth-terms-label input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.auth-terms-label a {
    color: var(--accent-cyan, #00d4ff);
}

.auth-footer {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.btn-discord {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.btn-discord:hover {
    background: #4752c4;
    border-color: #4752c4;
    color: #fff;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.35);
}

.btn-discord-icon {
    flex-shrink: 0;
}

.btn-discord-pending {
    opacity: 0.85;
}

.auth-hint {
    font-size: 0.75rem;
    color: var(--accent-orange);
    margin: 0.35rem 0 0;
    text-align: center;
}

.version-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* Captcha */
.captcha-block {
    margin: 1rem 0 1.25rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.captcha-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.captcha-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0;
}

.captcha-warn {
    font-size: 0.8rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.math-captcha-fallback {
    margin-top: 0.5rem;
}

.turnstile-widget {
    display: flex;
    justify-content: center;
}

.math-captcha {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.math-captcha-q {
    font-size: 1rem;
    color: var(--text-primary);
}

.math-captcha-q strong {
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.math-captcha-input {
    width: 80px;
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.1rem;
    text-align: center;
}

.math-captcha-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.hidden { display: none !important; }

/* LFG type picker */
.lfg-type-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.lfg-type-option input { position: absolute; opacity: 0; pointer-events: none; }

.lfg-type-card {
    display: block;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--bg-secondary);
}

.lfg-type-card strong { display: block; margin-bottom: 0.35rem; font-size: 1rem; }
.lfg-type-card small { color: var(--text-muted); font-size: 0.8rem; line-height: 1.4; }

.lfg-type-option input:checked + .lfg-type-card {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(0, 212, 170, 0.15);
}

.lfg-type-option input:checked + .lfg-type-party {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-glow);
}

.badge-team-search {
    background: rgba(0, 212, 170, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.badge-party-fill {
    background: rgba(255, 107, 53, 0.15);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.badge-in-game {
    background: rgba(255, 51, 102, 0.15);
    border-color: var(--accent-red);
    color: var(--accent-red);
    animation: pulse 2s infinite;
}

.lfg-type-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.lfg-tab {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lfg-tab.active, .lfg-tab:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.lfg-tab-party.active { border-color: var(--accent-orange); color: var(--accent-orange); }

.party-code-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), var(--bg-secondary));
    border: 1px solid var(--accent-orange);
    border-radius: var(--radius-lg);
}

.party-code-box-locked {
    flex-direction: column;
    align-items: flex-start;
    border-color: var(--border);
    background: var(--bg-secondary);
}

.sensitive-lock-text {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.card-party-code-locked {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-style: italic;
}

.guest-apply-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guest-apply-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.party-code-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.party-code-value, .party-code-input {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--accent-orange);
    background: transparent;
    border: none;
    font-weight: 700;
}

.party-code-input {
    border: 1px solid var(--border);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius);
    background: var(--bg-card);
    width: 140px;
}

.card-party-code {
    font-size: 0.85rem;
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.card-party-code code {
    font-family: var(--font-display);
    letter-spacing: 0.1em;
}

.live-status-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.live-slot-count {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent-cyan);
}

.live-control-panel {
    margin: 1rem 0;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius-lg);
}

.live-control-row {
    margin-bottom: 1rem;
}

.live-control-row label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.slot-stepper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.slot-input {
    width: 60px;
    text-align: center;
    padding: 0.4rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 1.2rem;
    border-radius: var(--radius);
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.live-save-hint {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    margin: 0;
}

.field-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.nav-main a.nav-active {
    color: var(--text-primary);
    background: rgba(0, 212, 170, 0.08);
    box-shadow: inset 3px 0 0 var(--accent-cyan);
}

.nav-main a.nav-lobby.nav-active {
    color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.1);
    box-shadow: inset 3px 0 0 var(--accent-orange);
}

.btn-lobby, .btn-lobby-nav {
    background: linear-gradient(135deg, var(--accent-orange), #e55a2b);
    border-color: var(--accent-orange);
}

.page-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.35rem;
}

.link-back {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .lfg-type-picker { grid-template-columns: 1fr; }
}

/* Page header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

/* Detail layout */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 1.5rem;
}

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

.detail-main-full {
    max-width: none;
}

.listing-hint {
    margin-top: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    line-height: 1.45;
}

.listing-close-form {
    margin-top: 1rem;
}

.detail-main .live-control-panel {
    margin-top: 1.25rem;
}

.detail-main {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.detail-header { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1rem; }

.detail-main h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.detail-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    background: var(--bg-secondary);
    padding: 0.75rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.spec-item span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-item strong { font-size: 0.95rem; }

.detail-author { margin-bottom: 1.5rem; }

.listing-owner-profile {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
}

.listing-owner-profile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.listing-owner-profile-title {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.listing-owner-profile-hero {
    margin-bottom: 1rem;
}

.listing-owner-profile-identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: inherit;
    text-decoration: none;
}

.listing-owner-profile-identity:hover .listing-owner-profile-name {
    color: var(--accent);
}

.listing-owner-profile-name {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
}

.listing-owner-profile-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.listing-owner-profile-bio {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--accent);
    background: var(--bg-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.5;
}

.listing-owner-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.listing-owner-stat {
    padding: 0.65rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.listing-owner-stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.listing-owner-stat strong {
    font-size: 0.92rem;
    line-height: 1.3;
}

.listing-owner-profile-availability,
.listing-owner-profile-tags {
    margin-bottom: 0.85rem;
}

.listing-owner-profile-availability .listing-owner-stat-label,
.listing-owner-profile-tags .listing-owner-stat-label {
    margin-bottom: 0.4rem;
}

.listing-owner-availability-days {
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.listing-owner-availability-notes {
    margin: 0;
    font-size: 0.9rem;
}

.listing-owner-profile-tags .mode-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.listing-owner-profile-verified {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.listing-owner-verified-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.listing-owner-verified-item {
    padding: 0.5rem 0.65rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
}

.listing-owner-verified-item.is-verified {
    border-color: rgba(46, 204, 113, 0.45);
}

.listing-owner-verified-item span {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.listing-owner-profile-login-hint {
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
}

.author-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
}

.apply-form textarea {
    width: 100%;
    padding: 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-family: var(--font-main);
}

.detail-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.sidebar-card h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

/* Chat */
.chat-messages {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 0.75rem;
}

.chat-msg {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.chat-msg strong { color: var(--accent-cyan); margin-right: 0.5rem; }
.chat-msg time { color: var(--text-muted); font-size: 0.75rem; float: right; }

.chat-form {
    display: flex;
    gap: 0.5rem;
}

.chat-form input {
    flex: 1;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-main);
}

/* Applicant */
.applicant-card {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    background: var(--bg-secondary);
}

.applicant-msg {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.25rem 0;
}

.applicant-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Profile */
.profile-header {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: center;
}

.profile-header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.profile-info h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
}

.profile-bio { color: var(--text-secondary); margin-top: 0.5rem; }

.profile-section-divider {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.profile-modes-block {
    margin-top: 1rem;
}

.profile-subheading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 0.5rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    text-align: center;
}

.stat-card span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-card strong { font-size: 1rem; }

.mode-tags { margin-top: 1rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }

.rating-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
}

.rating-item p { color: var(--text-secondary); margin-top: 0.25rem; }

/* Player grid */
.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
}

.player-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    transition: all var(--transition);
}

.player-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-1px);
}

.player-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.8rem;
    align-items: center;
}

/* Dashboard */
.page-dashboard .container {
    max-width: 1200px;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.dashboard-sidebar {
    position: sticky;
    top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.dashboard-sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.dashboard-sidebar-avatar {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.12);
    border: 1px solid rgba(255, 107, 53, 0.35);
    border-radius: var(--radius);
}

.dashboard-sidebar-user strong {
    display: block;
    font-size: 0.95rem;
}

.dashboard-sidebar-user .muted {
    font-size: 0.78rem;
}

.dashboard-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.65rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--text-muted);
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.dashboard-nav-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border);
}

.dashboard-nav-item.is-active {
    color: var(--text-primary);
    background: rgba(255, 107, 53, 0.08);
    border-color: rgba(255, 107, 53, 0.35);
}

.dashboard-nav-icon {
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.85;
}

.dashboard-nav-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dashboard-nav-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: inherit;
}

.dashboard-nav-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.dashboard-nav-item.is-active .dashboard-nav-desc {
    color: rgba(255, 255, 255, 0.55);
}

.dashboard-nav-badge {
    flex-shrink: 0;
    min-width: 1.35rem;
    padding: 0.1rem 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: var(--accent-orange);
    border-radius: 999px;
}

.dashboard-sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.dashboard-sidebar-btn {
    width: 100%;
    justify-content: center;
}

.dashboard-mobile-nav-toggle {
    display: none;
    width: 100%;
    margin-bottom: 0.75rem;
    justify-content: center;
}

.dashboard-mobile-nav {
    display: none;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.dashboard-mobile-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    text-decoration: none;
}

.dashboard-mobile-nav-item.is-active {
    color: var(--text-primary);
    border-color: rgba(255, 107, 53, 0.45);
    background: rgba(255, 107, 53, 0.1);
}

.dashboard-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-page-head h1 {
    margin: 0 0 0.25rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.04em;
}

.dashboard-page-head .page-intro {
    margin: 0;
    max-width: 52ch;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.dashboard-stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: inherit;
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition);
}

.dashboard-stat-card:hover {
    border-color: rgba(255, 107, 53, 0.45);
    background: rgba(255, 107, 53, 0.05);
}

.dashboard-stat-card-alert {
    border-color: rgba(255, 107, 53, 0.55);
}

.dashboard-stat-value {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-orange);
}

.dashboard-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dashboard-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
}

.dashboard-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.dashboard-panel-head h2 {
    margin: 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-family: var(--font-display);
}

.dashboard-panel-head .dashboard-section-desc {
    margin-top: 0.25rem;
}

.dashboard-empty {
    margin: 0;
    padding: 0.5rem 0;
}

.dashboard-inbox {
    display: flex;
    flex-direction: column;
}

.dashboard-inbox-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.15rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.dashboard-inbox-item:last-child {
    border-bottom: 0;
}

.dashboard-inbox-item:hover {
    color: var(--accent-orange);
}

.dashboard-inbox-title {
    font-weight: 600;
}

.dashboard-inbox-meta {
    font-size: 0.85rem;
    line-height: 1.35;
}

.dashboard-inbox-time {
    font-size: 0.78rem;
}

.dashboard-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.dashboard-quick-card {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: inherit;
    text-decoration: none;
    transition: border-color var(--transition), background var(--transition);
}

.dashboard-quick-card:hover {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.06);
}

.dashboard-quick-card strong {
    font-size: 0.92rem;
}

.dashboard-tasks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.dashboard-squad-panel {
    margin-top: 0.25rem;
}

.dashboard-squad-back {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    text-decoration: none;
}

.dashboard-squad-back:hover {
    color: var(--accent-orange);
}

@media (max-width: 960px) {
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }

    .dashboard-mobile-nav-toggle {
        display: flex;
    }

    .dashboard-mobile-nav:not([hidden]) {
        display: flex;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-quick-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr 1fr;
    }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.dashboard-notify-panel {
    margin-bottom: 1rem;
}

.dashboard-overview {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.9rem;
    line-height: 1.5;
}

.dashboard-overview-lead {
    margin: 0 0 0.5rem;
}

.dashboard-overview-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
}

.dashboard-overview-list li {
    margin: 0.35rem 0;
}

.dashboard-overview-list strong {
    color: var(--text-primary);
}

.page-header-text {
    flex: 1;
    min-width: 0;
}

.dashboard-section-head-text {
    flex: 1;
    min-width: 0;
}

.dashboard-section-desc {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

.dashboard-notify-panel .dashboard-section-head {
    margin-bottom: 0.85rem;
}

.notify-prefs-form-clean {
    max-width: 720px;
}

.notify-prefs-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .notify-prefs-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.notify-prefs-group {
    margin: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.12);
}

.notify-prefs-group legend {
    padding: 0 0.5rem;
    margin-left: 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.notify-prefs-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 0.35rem 1rem;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-top: 1px solid var(--border);
    cursor: pointer;
}

.notify-prefs-item:first-of-type {
    border-top: 0;
}

.notify-prefs-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.notify-prefs-label {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
}

.notify-prefs-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.notify-prefs-item-select {
    cursor: default;
    grid-template-columns: 1fr;
    gap: 0.35rem;
}

.notify-prefs-select-label {
    font-size: 0.92rem;
    font-weight: 500;
}

.notify-prefs-select {
    width: 100%;
    max-width: 280px;
}

.dashboard-notify-help {
    margin-top: 0.85rem;
    font-size: 0.85rem;
}

.dashboard-notify-help summary {
    cursor: pointer;
    color: var(--text-muted);
    user-select: none;
}

.dashboard-notify-help-list {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
}

.dashboard-notify-help-list li {
    margin: 0.25rem 0;
}

@media (max-width: 520px) {
    .notify-prefs-item {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }
}

.dashboard-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.dashboard-section h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-family: var(--font-display);
}

.dashboard-item {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.dashboard-item:hover { color: var(--accent-orange); }

.squad-members { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }

.squad-member {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem;
    font-size: 0.85rem;
}

.rate-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.rate-form input[type="number"] {
    width: 50px;
    padding: 0.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius);
}

.rate-form input[type="text"] {
    flex: 1;
    padding: 0.35rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius);
    min-width: 120px;
}

/* Admin */
.admin-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
}

.admin-body {
    min-height: 100vh;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem var(--page-padding-x);
    border-bottom: 1px solid var(--border);
    background: rgba(10, 14, 20, 0.95);
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(8px);
}

.admin-topbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.admin-topbar-brand:hover {
    color: var(--accent-cyan);
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-topbar-user {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-layout-full {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.5rem var(--page-padding-x);
}

.admin-table-panel {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    font-weight: 600;
}

.admin-table-user {
    color: var(--text-primary);
}

.admin-table-user:hover {
    color: var(--accent-cyan);
}

.admin-row-banned {
    background: rgba(255, 80, 80, 0.06);
}

.admin-row-muted {
    opacity: 0.82;
}

.loadout-code-value-inline {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.admin-inline-form {
    display: inline;
}

.admin-select-sm,
.admin-input-xs,
.admin-input-sm {
    min-width: 0;
    font-size: 0.85rem;
    padding: 0.35rem 0.5rem;
}

.admin-input-xs {
    width: 4rem;
}

.admin-input-sm {
    width: 7rem;
}

.admin-search-input {
    min-width: 220px;
    flex: 1;
}

.admin-users-filter {
    align-items: center;
}

.admin-table-date {
    font-size: 0.85rem;
}

.admin-table-actions {
    white-space: nowrap;
}

.admin-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1rem;
}

.admin-pagination-link {
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.admin-pagination-link:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.admin-pagination-link.active {
    background: var(--accent-cyan);
    color: #111;
    border-color: var(--accent-cyan);
}

.admin-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.admin-quick-card {
    display: block;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--text-secondary);
    transition: border-color 0.15s, color 0.15s;
}

.admin-quick-card:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.admin-settings-form {
    max-width: 720px;
}

.admin-settings-group {
    margin-bottom: 1rem;
}

.admin-setting-row {
    margin-bottom: 1rem;
}

.admin-setting-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.admin-form-actions {
    margin-top: 1rem;
}

.admin-menu-table-wrap {
    overflow-x: auto;
    margin-bottom: 1rem;
}

.admin-menu-check {
    text-align: center;
}

.admin-menu-add-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    align-items: end;
}

.admin-menu-add-submit {
    display: flex;
    align-items: flex-end;
}

.admin-panel-add {
    margin-top: 1rem;
}

.maintenance-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.maintenance-card {
    text-align: center;
    max-width: 420px;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.maintenance-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 0.75rem;
}

.maintenance-card h1 {
    margin: 0 0 0.75rem;
    font-family: var(--font-display);
}

.maintenance-card p {
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
}

.admin-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    position: sticky;
    top: 1rem;
}

.admin-sidebar-head {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.admin-sidebar-logo {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.admin-sidebar-logo-img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.admin-topbar-brand .admin-sidebar-logo-img {
    width: 28px;
    height: 28px;
}

.admin-sidebar-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.admin-nav-link:hover {
    background: rgba(0, 212, 170, 0.08);
    color: var(--accent-cyan);
}

.admin-nav-link.active {
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 212, 170, 0.25);
}

.admin-nav-badge {
    background: var(--accent-orange);
    color: #111;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    min-width: 1.25rem;
    text-align: center;
}

.admin-sidebar-foot {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
}

.link-back {
    color: var(--text-muted);
}

.link-back:hover {
    color: var(--accent-cyan);
}

.admin-main {
    min-width: 0;
}

.admin-page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-page-header h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.admin-queue-pill {
    background: rgba(255, 140, 0, 0.15);
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-stats-wide .stat-box {
    flex: 1;
    min-width: 140px;
}

.stat-box-link {
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.15s;
}

.stat-box-link:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-1px);
}

.stat-box-alert {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.2);
}

.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.admin-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-card);
}

.admin-filter-chip:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.admin-filter-chip.active {
    background: rgba(0, 212, 170, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.chip-count {
    background: var(--bg-secondary);
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-verify-queue {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-verify-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.admin-verify-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
}

.admin-verify-user {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.admin-verify-username {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.admin-verify-username:hover {
    color: var(--accent-cyan);
}

.admin-verify-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 1rem;
    padding: 1rem;
}

.admin-verify-claims h4,
.admin-verify-screenshots h4 {
    margin: 0 0 0.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.admin-claim-list {
    margin: 0;
}

.admin-claim-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 0.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    align-items: center;
}

.admin-claim-row dt {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-claim-row dd {
    margin: 0;
    font-size: 0.9rem;
}

.admin-user-note {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.status-pill {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.status-pill-ok {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: rgba(57, 255, 20, 0.08);
}

.admin-screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.5rem;
}

.admin-screenshot-btn {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    cursor: pointer;
    overflow: hidden;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.admin-screenshot-btn img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.admin-screenshot-btn span {
    padding: 0.35rem 0.5rem;
}

.admin-screenshot-btn:hover {
    border-color: var(--accent-cyan);
}

.admin-verify-foot {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}

.admin-reject-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.admin-reject-note {
    flex: 1;
    min-width: 200px;
}

.admin-btn-approve {
    font-weight: 600;
}

.admin-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.admin-panel h2 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.admin-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.admin-queue-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.admin-history-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-history-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
}

.admin-history-status {
    font-size: 0.75rem;
    font-weight: 600;
}

.admin-history-approved {
    color: var(--accent-green);
}

.admin-history-rejected {
    color: var(--accent-red);
}

.badge-sm {
    font-size: 0.7rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.admin-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.admin-empty-icon {
    display: block;
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.admin-panel-history {
    margin-top: 1.5rem;
}

.admin-report-card {
    margin-bottom: 0.75rem;
}

.admin-report-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.admin-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.admin-lightbox[hidden] {
    display: none;
}

.admin-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.admin-lightbox-dialog {
    position: relative;
    max-width: min(95vw, 1100px);
    max-height: 90vh;
    z-index: 1;
}

.admin-lightbox-dialog img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.admin-lightbox-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.admin-lightbox-close {
    position: absolute;
    top: -2rem;
    right: 0;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
}

.nav-staff {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-staff-badge {
    background: var(--accent-orange);
    color: #111;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    line-height: 1.2;
}

.report-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.inline-form { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

/* Alerts */
.alert {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-success {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

.alert-error {
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid var(--accent-red);
    color: var(--accent-red);
}

.info-box {
    padding: 0.75rem;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: var(--radius);
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.empty-state {
    color: var(--text-muted);
    padding: 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.muted { color: var(--text-muted); font-size: 0.85rem; }

.report-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.report-form select {
    padding: 0.35rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius);
    font-size: 0.8rem;
}

/* Error pages */
.error-page {
    text-align: center;
    padding: 4rem 1rem;
}

.error-page h1 {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--accent-orange);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem var(--page-padding-x);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.footer-brand {
    margin: 0;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-cyan); }

.footer-legal,
.footer-credit,
.footer-disclaimer {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-muted);
    opacity: 0.85;
}

.footer-disclaimer {
    max-width: 52rem;
    line-height: 1.55;
}

.footer-disclaimer strong {
    font-weight: 600;
    color: var(--text-secondary);
}

.footer-legal a,
.footer-credit a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-legal a:hover,
.footer-credit a:hover {
    color: var(--accent-cyan);
}

.footer-legal-sep {
    margin: 0 0.35rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1280px) {
    .logo-lockup-tag {
        display: none;
    }

    .logo-lockup-name {
        font-size: 0.92rem;
        letter-spacing: 0.08em;
    }

    .nav-main a {
        font-size: 0.74rem;
        padding: 0.48rem 0.62rem;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 1024px) {
    .header-inner {
        grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
        gap: 0.65rem;
    }

    .nav-main {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        clip-path: none;
        border: none;
        border-bottom: 1px solid var(--border);
        background: var(--header-bg);
        flex-direction: column;
        align-items: stretch;
        padding: 0.35rem 0;
        z-index: 120;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    }

    .nav-main a {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
        letter-spacing: 0.08em;
        text-align: left;
    }

    .nav-main a:last-child {
        border-bottom: none;
    }

    .nav-main.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-header {
        position: sticky;
    }
}

@media (max-width: 768px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
        padding: 0.65rem 1rem;
    }

    .logo-lockup {
        display: none;
    }

    .logo-emblem {
        width: 42px;
        height: 42px;
    }

    .logo-img {
        width: 34px;
        height: 34px;
    }

    .nav-main {
        backdrop-filter: none;
    }

    .nav-main.open { display: flex; }

    .user-menu-name {
        max-width: 80px;
    }

    .header-auth .header-auth-link {
        font-size: 0.85rem;
    }

    .header-auth .btn-sm {
        padding: 0.3rem 0.55rem;
        font-size: 0.75rem;
    }

    .nav-toggle { display: block; }

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

    .hero-stats { flex-direction: column; gap: 0.75rem; }
    .stat-box { padding: 0.75rem 1.5rem; }

    .form-row { grid-template-columns: 1fr; }

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

    .admin-sidebar {
        position: static;
    }

    .admin-verify-body,
    .admin-two-col {
        grid-template-columns: 1fr;
    }
}

/* Skeleton loading */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--border) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius);
}

/* Kommunikáció + Discord hozzáférés */
.badge-comm {
    background: rgba(88, 101, 242, 0.2);
    color: #a5b4fc;
    border: 1px solid rgba(88, 101, 242, 0.35);
}

.comm-channel-fieldset {
    margin: 1.25rem 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.comm-channel-fieldset legend {
    padding: 0 0.35rem;
    font-weight: 600;
}

.comm-channel-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.comm-channel-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.comm-channel-option {
    display: block;
    cursor: pointer;
}

.comm-channel-card {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    transition: border-color 0.15s, background 0.15s;
}

.comm-channel-card strong {
    display: block;
    margin-bottom: 0.25rem;
}

.comm-channel-card small {
    color: var(--text-muted);
}

.comm-channel-option input:checked + .comm-channel-card {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb, 34, 197, 94), 0.08);
}

.comm-channel-option input:checked + .comm-channel-card.comm-channel-discord {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
}

.listing-comm-section {
    margin: 1.25rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}

.listing-comm-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.discord-invite-box {
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.25);
}

.discord-invite-link {
    color: #a5b4fc;
    word-break: break-all;
}

.discord-access-queue {
    margin-top: 1.5rem;
}

.discord-access-queue h3 {
    margin-bottom: 0.75rem;
}

.discord-access-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-elevated, var(--bg-card));
}

.discord-access-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.dashboard-item-unread {
    border-left: 3px solid var(--accent);
}

.dashboard-notif-banner {
    margin-bottom: 1rem;
}

.dashboard-dismissible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.dashboard-section-head h2 {
    margin: 0;
}

.dashboard-section-action {
    flex-shrink: 0;
}

.dashboard-item-row {
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
}

.dashboard-item-row .dashboard-item {
    flex: 1;
    min-width: 0;
}

.dashboard-dismiss-form {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.dashboard-dismiss-btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    clip-path: var(--clip-tactical-sm);
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.dashboard-dismiss-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-orange);
    background: rgba(255, 107, 53, 0.12);
}

.header-notif-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    clip-path: var(--clip-tactical-sm);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.header-notif-wrap {
    position: relative;
}

.header-notif-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 200;
    width: min(92vw, 320px);
    max-height: 420px;
    overflow: auto;
    background: var(--surface-elevated, #1a1f2e);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

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

.header-notif-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-notif-panel-all {
    font-size: 0.8rem;
    color: var(--accent-green, #39ff14);
    text-decoration: none;
}

.header-notif-panel-list {
    padding: 0.35rem 0;
}

.header-notif-empty {
    margin: 0.75rem 0.85rem;
    font-size: 0.9rem;
}

.header-notif-item {
    display: block;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-notif-item:hover {
    background: rgba(57, 255, 20, 0.06);
}

.header-notif-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.header-notif-item-body {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
}

.header-notif-item-time {
    font-size: 0.75rem;
}

.listing-manage-header {
    align-items: flex-start;
    gap: 1rem;
}

.listing-manage-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-green, #39ff14);
}

.listing-manage-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.badge-pending {
    background: rgba(255, 107, 53, 0.18);
    border-color: rgba(255, 107, 53, 0.45);
    color: #ffb088;
}

.listing-manage-intro {
    margin: -0.5rem 0 1.25rem;
}

.listing-manage-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: 1.25rem;
    align-items: start;
}

.listing-manage-sidebar .listing-applications-queue,
.listing-manage-sidebar .discord-access-queue,
.listing-manage-main .sidebar-card {
    margin-bottom: 1rem;
}

.listing-manage-status {
    margin-bottom: 1rem;
}

.listing-manage-discord-preview .discord-invite-link {
    word-break: break-all;
}

@media (max-width: 900px) {
    .listing-manage-grid {
        grid-template-columns: 1fr;
    }

    .listing-manage-actions {
        width: 100%;
    }
}

.header-notif-icon {
    font-size: 1rem;
    line-height: 1;
}

.header-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.1rem;
    text-align: center;
    color: #fff;
    background: #ef4444;
    border-radius: 999px;
}

/* Érdeklődés + match értékelés */
.listing-interest-section {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    clip-path: var(--clip-tactical-sm);
}

.listing-interest-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.listing-interest-head h3 {
    margin: 0;
    font-size: 1rem;
}

.listing-interest-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.listing-interest-active {
    color: var(--accent-green);
    font-weight: 600;
}

.listing-interest-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.listing-interest-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    clip-path: var(--clip-tactical-sm);
}

.listing-interest-row-active {
    border-left: 3px solid var(--accent-green);
}

.listing-interest-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.listing-interest-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
    font-size: 0.78rem;
}

.interest-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border: 1px solid var(--border);
    clip-path: var(--clip-tactical-sm);
}

.interest-tag-viewed { color: var(--text-muted); }
.interest-tag-discord_pending { color: #a5b4fc; border-color: rgba(88, 101, 242, 0.35); }
.interest-tag-discord_ok { color: var(--accent-cyan); border-color: rgba(0, 212, 170, 0.35); }
.interest-tag-active { color: var(--accent-green); border-color: rgba(57, 255, 20, 0.35); }

.listing-rate-section {
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent-orange);
    background: rgba(0, 0, 0, 0.4);
    clip-path: var(--clip-tactical-sm);
}

.listing-rate-section h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.listing-rate-desc {
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.listing-rate-form {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.listing-rate-form:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.listing-rate-target {
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}

.listing-rate-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 0.65rem;
}

.listing-rate-fields label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.listing-rate-fields input[type="number"] {
    width: 3rem;
    padding: 0.25rem 0.35rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.listing-rate-comment {
    width: 100%;
    max-width: 420px;
    margin-bottom: 0.65rem;
    padding: 0.45rem 0.55rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

/* Report + notification prefs */
.report-box {
    margin-top: 0.75rem;
}

.report-box-summary {
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-muted);
    user-select: none;
}

.report-form-box {
    margin-top: 0.5rem;
    padding: 0.65rem;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 360px;
}

.report-form-box select,
.report-form-box input[type="text"] {
    width: 100%;
    padding: 0.4rem 0.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.profile-actions-row,
.listing-report-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 0.75rem;
}

.notify-prefs-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.notify-pref-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.notify-pref-row select {
    flex: 1 1 160px;
    max-width: 100%;
    min-width: 0;
}

.notify-prefs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
    align-items: center;
}

.blocked-user-row {
    align-items: center;
}

.badge-flagged {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.45);
}

.admin-flagged-panel {
    margin-top: 1.5rem;
}

.admin-flagged-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-flagged-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
}

.admin-flag-reason {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-required-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.auth-required-box {
    margin-top: 0.75rem;
}

.onboarding-page {
    max-width: 560px;
    margin: 0 auto 2rem;
}

.onboarding-card {
    background: var(--surface-elevated, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    padding: 1.5rem;
}

.onboarding-progress {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.onboarding-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.onboarding-step-dot.active {
    background: var(--accent-cyan, #00d4ff);
}

.onboarding-step-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
}

.onboarding-goals {
    display: grid;
    gap: 0.65rem;
}

.onboarding-goal-card {
    display: block;
    cursor: pointer;
}

.onboarding-goal-card input {
    position: absolute;
    opacity: 0;
}

.onboarding-goal-body {
    display: block;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    transition: border-color 0.15s ease;
}

.onboarding-goal-card input:checked + .onboarding-goal-body {
    border-color: var(--accent-cyan, #00d4ff);
    background: rgba(0, 212, 255, 0.08);
}

.onboarding-goal-body small {
    display: block;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.onboarding-skip-form {
    margin-top: 1rem;
    text-align: center;
}

.legal-page .legal-content {
    max-width: 720px;
}

.legal-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.faq-page .faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.65rem;
    margin-bottom: 1.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
}

.faq-page .faq-nav a {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
}

.faq-page .faq-nav a:hover {
    color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
}

.faq-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-section:last-child {
    border-bottom: none;
}

.faq-q {
    font-size: 1rem;
    margin-top: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary, #e8e8e8);
}

.faq-a {
    margin: 0 0 0.5rem;
    color: var(--text-secondary);
}

.faq-a ul {
    margin: 0.35rem 0;
    padding-left: 1.25rem;
}

.listing-live-toast {
    position: sticky;
    top: 0.75rem;
    z-index: 20;
    margin: 0.75rem 0;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: rgba(57, 255, 20, 0.12);
    border: 1px solid rgba(57, 255, 20, 0.35);
    color: var(--accent-green, #39ff14);
    font-size: 0.9rem;
}

.listing-live-toast-error {
    background: rgba(255, 80, 80, 0.12);
    border-color: rgba(255, 80, 80, 0.35);
    color: #ff8a8a;
}

.listing-alert-enable {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.35);
}

.listing-alert-enable.listing-alert-disabled {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.listing-alert-enable.listing-alert-disabled .listing-alert-status {
    color: var(--text-secondary);
    opacity: 0.85;
}

.listing-alert-enable-text {
    flex: 1;
    min-width: 12rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.listing-activity-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.listing-activity-modal[hidden] {
    display: none !important;
}

.listing-activity-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(2px);
}

.listing-activity-modal-dialog {
    position: relative;
    width: min(100%, 420px);
    padding: 1.35rem 1.35rem 1.1rem;
    border-radius: 12px;
    background: var(--surface-elevated, #1a1f2e);
    border: 1px solid rgba(57, 255, 20, 0.35);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
    animation: listingModalIn 0.22s ease-out;
}

@keyframes listingModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.listing-activity-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.65rem;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.listing-activity-modal-badge {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: #0d1117;
    background: var(--accent-green, #39ff14);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.45);
}

.listing-activity-modal-title {
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: 1.15rem;
}

.listing-activity-modal-body {
    margin: 0 0 0.75rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.listing-activity-modal-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.listing-activity-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.listing-activity-modal-actions form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.listing-activity-modal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.listing-activity-pulse {
    animation: listingQueuePulse 1.2s ease-in-out 2;
}

@keyframes listingQueuePulse {
    0%, 100% { box-shadow: none; }
    50% { box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.45); }
}

.listing-clone-banner {
    margin-bottom: 1rem;
}

.listing-row-actions {
    align-items: center;
}

.security-card-danger {
    border-color: rgba(255, 80, 80, 0.35);
}

.account-delete-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-danger {
    border-color: rgba(255, 80, 80, 0.5);
    color: #ff8a8a;
}

.header-notif-badge[hidden] {
    display: none;
}

.listing-apply-section,
.listing-applications-queue,
.listing-chat-card {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.listing-apply-section-lobby {
    margin: 1.25rem 0;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(57, 255, 20, 0.35);
    border-radius: 10px;
    background: rgba(57, 255, 20, 0.05);
}

.listing-apply-section-lobby h3 {
    margin-top: 0;
}

.listing-apply-form textarea {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.application-card {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
}

.application-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: center;
}

.application-actions {
    margin-top: 0.5rem;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

.card-trust {
    font-size: 0.8rem;
    margin-left: 0.35rem;
}

.badge-pending-apps {
    font-size: 0.7rem;
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent-orange);
}

.squad-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ——— Fórum ——— */
.page-forum .forum-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.forum-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.forum-breadcrumb a {
    color: var(--accent-cyan);
}

.forum-section-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}

.forum-category {
    margin-bottom: 2rem;
}

.forum-category-head {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.forum-category-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    color: var(--accent-cyan);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 55%),
        rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    clip-path: var(--clip-tactical-sm);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.03);
}

.forum-category-icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.forum-header-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.forum-header-title-icon {
    display: inline-flex;
    color: var(--accent-cyan);
}

.forum-header-title-icon svg {
    display: block;
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent-cyan) 45%, transparent));
}

.forum-btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.forum-btn-glyph svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.forum-btn-glyph.is-active {
    color: var(--accent-orange);
}

.forum-btn-glyph.is-active svg {
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent-orange) 55%, transparent));
}

.forum-nav-glyph svg {
    display: block;
    margin: 0 auto;
}

.forum-badge-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 0.25rem;
    color: var(--accent-orange);
}

.forum-badge-glyph svg {
    display: block;
}

.forum-badge-icon[title="Lezárva"] {
    color: rgba(180, 200, 220, 0.85);
}

.forum-lfg-link {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.forum-lfg-link-icon {
    display: inline-flex;
    color: var(--accent-cyan);
}

.forum-inline-glyph svg {
    display: block;
}

.forum-board-table,
.forum-topic-table {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(10, 14, 22, 0.6);
}

.forum-board-row,
.forum-topic-row {
    display: grid;
    grid-template-columns: 1fr 4rem 4rem minmax(8rem, 11rem);
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: inherit;
    text-decoration: none;
}

.forum-board-row:last-child,
.forum-topic-row:last-child {
    border-bottom: none;
}

.forum-board-row-head,
.forum-topic-row-head {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.forum-board-row:not(.forum-board-row-head):hover,
.forum-topic-row:not(.forum-topic-row-head):hover {
    background: rgba(255, 107, 53, 0.06);
}

.forum-board-main,
.forum-topic-main {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.forum-board-desc,
.forum-topic-author {
    font-size: 0.85rem;
}

.forum-stat {
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.forum-last {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.82rem;
    min-width: 0;
}

.forum-last-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-recent {
    margin-bottom: 1.5rem;
}

.forum-recent-compact {
    margin-top: 1.5rem;
    padding: 0.85rem 1rem 1rem;
}

.forum-recent-compact-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.65rem;
}

.forum-recent-count {
    font-size: 0.8rem;
}

.forum-recent-slider {
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
}

.forum-recent-nav {
    flex: 0 0 2.25rem;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--accent-cyan);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.forum-recent-nav:hover:not(:disabled) {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
}

.forum-recent-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.forum-recent-scroll {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.forum-recent-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.forum-recent-scrubber-wrap {
    flex: 1;
    min-width: 0;
}

.forum-recent-scrubber {
    width: 100%;
    height: 6px;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

.forum-recent-scrubber:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.forum-recent-position {
    font-size: 0.8rem;
    white-space: nowrap;
    min-width: 4.5rem;
    text-align: right;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 540px) {
    .forum-recent-nav {
        display: none;
    }

    .forum-recent-scroll {
        scroll-padding-inline: 0.25rem;
    }
}

.forum-recent-scroll::-webkit-scrollbar {
    height: 6px;
}

.forum-recent-scroll::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 999px;
}

.forum-recent-compact-head .forum-section-title {
    margin: 0;
    margin-right: auto;
}

.forum-recent-more {
    font-size: 0.85rem;
    white-space: nowrap;
}

.forum-recent-chip {
    flex: 0 0 min(260px, 78vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
}

.forum-recent-chip:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.06);
}

.forum-recent-chip-board {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent-cyan);
}

.forum-recent-chip-title {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.forum-recent-chip-meta {
    font-size: 0.75rem;
}

.forum-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.forum-recent-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.forum-recent-list li:last-child {
    border-bottom: none;
}

.forum-recent-meta {
    display: block;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.forum-topic-pinned {
    background: rgba(255, 193, 7, 0.05);
}

.forum-badge-hidden {
    font-size: 0.7rem;
    color: var(--accent-orange);
    margin-right: 0.35rem;
}

.forum-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.forum-post {
    display: grid;
    grid-template-columns: minmax(9rem, 11rem) 1fr;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(10, 14, 22, 0.55);
}

.forum-post-hidden {
    opacity: 0.65;
    border-color: rgba(255, 107, 53, 0.35);
}

.forum-post-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    padding-right: 1rem;
}

.forum-post-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
}

.forum-post-num {
    font-size: 0.75rem;
}

.forum-post-meta {
    font-size: 0.8rem;
    margin-bottom: 0.65rem;
}

.forum-post-content {
    line-height: 1.55;
    word-break: break-word;
}

.forum-post-content a {
    color: var(--accent-cyan);
}

.forum-quote {
    margin: 0.75rem 0;
    padding: 0.65rem 0.85rem;
    border-left: 3px solid var(--accent-orange);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.forum-quote cite {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: normal;
    margin-bottom: 0.35rem;
}

.forum-code {
    margin: 0.75rem 0;
    padding: 0.75rem;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.forum-post-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    align-items: flex-start;
}

.forum-edit-details,
.forum-report-details {
    display: inline-block;
}

.forum-form textarea {
    width: 100%;
    min-height: 8rem;
    margin: 0.5rem 0 1rem;
}

.forum-create-form label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
}

.forum-create-form input[type="text"] {
    width: 100%;
    margin-top: 0.35rem;
}

.forum-editor-hint {
    font-size: 0.82rem;
    margin: 0.35rem 0 0.5rem;
}

.forum-reply-box h2 {
    font-size: 1rem;
    margin: 0 0 0.75rem;
}

.forum-staff-actions .inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.home-path-forum {
    border-color: rgba(100, 200, 255, 0.25);
}

/* ——— Fórum rich editor ——— */
.forum-compose-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.forum-compose-card .form-group {
    margin-bottom: 1.25rem;
}

.forum-compose-title input {
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.forum-compose-title input:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.forum-compose-editor .form-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.forum-compose-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.forum-reply-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.forum-rich-editor {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.forum-rich-editor:focus-within {
    border-color: rgba(255, 107, 53, 0.55);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.12);
}

.forum-rich-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.65rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-bottom: 1px solid var(--border);
}

.forum-rich-toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.forum-rich-toolbar-sep {
    width: 1px;
    height: 1.4rem;
    background: var(--border);
    margin: 0 0.25rem;
}

.forum-rich-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.125rem;
    height: 2.125rem;
    padding: 0 0.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.forum-rich-icon {
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    pointer-events: none;
}

.forum-rich-btn:hover {
    background: rgba(255, 107, 53, 0.12);
    color: var(--text-primary);
    border-color: rgba(255, 107, 53, 0.25);
}

.forum-rich-btn:active,
.forum-rich-editor:focus-within .forum-rich-btn:focus {
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-orange);
    border-color: rgba(255, 107, 53, 0.4);
}

.forum-rich-btn-muted {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.forum-rich-body {
    padding: 1rem 1.1rem;
    min-height: 280px;
    max-height: 520px;
    overflow-y: auto;
    color: var(--text-primary);
    font-size: 0.98rem;
    line-height: 1.6;
    outline: none;
    caret-color: var(--accent-orange);
}

.forum-rich-editor.is-empty .forum-rich-body::before {
    content: attr(data-placeholder);
    color: var(--text-muted);
    pointer-events: none;
    float: left;
    height: 0;
}

.forum-rich-body .forum-quote {
    margin: 0.65rem 0;
    padding: 0.6rem 0.85rem;
    border-left: 3px solid var(--accent-orange);
    background: rgba(255, 107, 53, 0.06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.forum-rich-body .forum-code {
    margin: 0.65rem 0;
    padding: 0.65rem 0.85rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-sm);
    font-family: ui-monospace, Consolas, monospace;
    font-size: 0.88rem;
    white-space: pre-wrap;
}

.forum-rich-body a {
    color: var(--accent-cyan);
}

.forum-rich-source {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.forum-rich-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}

.forum-rich-counter-warn {
    color: var(--accent-orange);
}

.forum-edit-form .forum-rich-editor {
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .forum-compose-card {
        padding: 1rem;
    }

    .forum-rich-toolbar-sep {
        display: none;
    }

    .forum-compose-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .forum-compose-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .forum-board-row,
    .forum-topic-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .forum-board-row-head,
    .forum-topic-row-head {
        display: none;
    }

    .forum-stat {
        text-align: left;
    }

    .forum-stat::before {
        content: 'Stat: ';
        color: var(--text-muted);
        font-size: 0.75rem;
    }

    .forum-post {
        grid-template-columns: 1fr;
    }

    .forum-post-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        padding-right: 0;
        padding-bottom: 0.75rem;
    }
}

/* —— Fórum rich editor (1.22) —— */
.forum-rich-workspace {
    position: relative;
}

.forum-rich-editor.is-preview .forum-rich-body,
.forum-rich-editor.is-preview .forum-rich-source-panel {
    display: none;
}

.forum-rich-preview {
    min-height: 200px;
    padding: 1rem 1.1rem;
    line-height: 1.65;
}

.forum-rich-source-panel {
    width: 100%;
    min-height: 280px;
    padding: 1rem 1.1rem;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    resize: vertical;
}

.forum-rich-btn.is-active {
    background: rgba(249, 115, 22, 0.2);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.forum-rich-btn-color {
    position: relative;
    overflow: hidden;
}

.forum-rich-btn-color .forum-rich-icon {
    opacity: 0.95;
}

.forum-rich-btn-color input[type="color"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.forum-rich-toolbar-fonts {
    gap: 0.35rem;
}

.forum-rich-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.forum-rich-select-wrap {
    position: relative;
    display: inline-flex;
}

.forum-rich-select-wrap select {
    height: 2.125rem;
    min-width: 6.5rem;
    max-width: 8.5rem;
    padding: 0 1.75rem 0 0.55rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.45rem center;
    color: var(--text-secondary);
    font-family: var(--font-main);
    font-size: 0.78rem;
    cursor: pointer;
    appearance: none;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.forum-rich-select-wrap select:hover,
.forum-rich-select-wrap select:focus {
    border-color: rgba(255, 107, 53, 0.35);
    color: var(--text-primary);
    outline: none;
}

.forum-rich-select-wrap.is-active select {
    border-color: rgba(255, 107, 53, 0.55);
    color: var(--accent-orange);
    background-color: rgba(255, 107, 53, 0.08);
}

.forum-post-body .forum-size,
.forum-rich-body .forum-size,
.forum-rich-preview .forum-size {
    line-height: 1.45;
}

.forum-rich-toolbar-emoji-wrap {
    position: relative;
}

.forum-emoji-pop {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem;
    padding: 0.5rem;
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.forum-emoji-pop button {
    border: none;
    background: transparent;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
}

.forum-emoji-pop button:hover {
    background: rgba(255, 255, 255, 0.08);
}

.forum-rich-editor.is-fullscreen {
    position: fixed;
    inset: 0.75rem;
    z-index: 9999;
    max-height: none;
    display: flex;
    flex-direction: column;
}

.forum-rich-editor.is-fullscreen .forum-rich-workspace {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.forum-rich-editor.is-fullscreen .forum-rich-body,
.forum-rich-editor.is-fullscreen .forum-rich-source-panel,
.forum-rich-editor.is-fullscreen .forum-rich-preview {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

body.forum-editor-fullscreen-open {
    overflow: hidden;
}

.forum-editor-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.forum-editor-dialog {
    width: min(420px, 100%);
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.forum-editor-dialog header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.forum-editor-dialog-close {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
}

.forum-editor-dialog-body {
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
}

.forum-editor-dialog-field {
    display: grid;
    gap: 0.35rem;
}

.forum-editor-dialog-field span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.forum-editor-dialog-field input,
.forum-editor-dialog-field textarea {
    width: 100%;
}

.forum-editor-dialog footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--border-subtle);
}

.forum-post-body .forum-h2,
.forum-rich-body .forum-h2,
.forum-rich-preview .forum-h2 {
    font-size: 1.35rem;
    margin: 0.75rem 0 0.35rem;
}

.forum-post-body .forum-h3,
.forum-rich-body .forum-h3,
.forum-rich-preview .forum-h3 {
    font-size: 1.1rem;
    margin: 0.65rem 0 0.3rem;
}

.forum-hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 0.75rem 0;
}

.forum-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 0.5rem 0;
}

.forum-spoiler {
    margin: 0.5rem 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.15);
}

.forum-spoiler summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--accent-orange);
}

.forum-spoiler-body {
    margin-top: 0.5rem;
}

.forum-align-left { text-align: left; }
.forum-align-center { text-align: center; }
.forum-align-right { text-align: right; }

.forum-post-body .forum-align,
.forum-rich-body .forum-align,
.forum-rich-preview .forum-align {
    margin: 0.35rem 0;
}

.forum-post-body ul.forum-list,
.forum-post-body ol.forum-list,
.forum-rich-body ul.forum-list,
.forum-rich-body ol.forum-list,
.forum-rich-preview ul.forum-list,
.forum-rich-preview ol.forum-list {
    margin: 0.65rem 0 0.85rem 1.35rem;
    padding-left: 0.35rem;
}

.forum-post-body .forum-list li,
.forum-rich-body .forum-list li,
.forum-rich-preview .forum-list li {
    margin-bottom: 0.4rem;
    line-height: 1.55;
}

.forum-post-body .forum-list li:last-child,
.forum-rich-body .forum-list li:last-child,
.forum-rich-preview .forum-list li:last-child {
    margin-bottom: 0;
}

/* —— Admin fórum —— */
.admin-forum-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.admin-stat-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.admin-forum-split {
    display: grid;
    grid-template-columns: 1fr min(360px, 38%);
    gap: 1.25rem;
    align-items: start;
}

.admin-forum-form-card {
    position: sticky;
    top: 1rem;
}

.admin-forum-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-forum-topic-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.admin-forum-topic-filter input[type="search"],
.admin-forum-topic-filter select {
    min-width: 180px;
}

.admin-forum-topic-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.admin-form-stack {
    display: grid;
    gap: 0.85rem;
}

.admin-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.admin-form-checks {
    display: grid;
    gap: 0.35rem;
}

@media (max-width: 960px) {
    .admin-forum-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-forum-split {
        grid-template-columns: 1fr;
    }

    .admin-forum-form-card {
        position: static;
    }
}

/* ——— Fórum v2 ——— */
.forum-header-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.forum-unread-banner {
    color: var(--accent-cyan);
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.forum-badge-unread {
    font-size: 0.75rem;
    background: var(--accent-cyan);
    color: #000;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    margin-right: 0.35rem;
}

.forum-topic-unread strong {
    color: var(--accent-cyan);
}

.forum-topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.forum-topic-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.25rem 0 0.2rem;
}

.forum-topic-tags-inline .forum-tag {
    font-size: 0.64rem;
    padding: 0.1rem 0.45rem;
}

.forum-recent-chip .forum-topic-tags-inline {
    margin: 0.35rem 0 0.25rem;
}

.forum-recent-chip .forum-topic-tags-inline .forum-tag {
    font-size: 0.6rem;
    padding: 0.08rem 0.4rem;
}

.forum-search-hit .forum-topic-tags-inline {
    margin: 0.35rem 0 0.45rem;
}

.forum-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    border: 1px solid;
    line-height: 1.2;
}

.forum-tag-orange { color: var(--accent-orange); border-color: rgba(255, 107, 53, 0.45); background: rgba(255, 107, 53, 0.12); }
.forum-tag-cyan { color: var(--accent-cyan); border-color: rgba(0, 212, 255, 0.4); background: rgba(0, 212, 255, 0.1); }
.forum-tag-green { color: var(--accent-green); border-color: rgba(57, 255, 20, 0.35); background: rgba(57, 255, 20, 0.1); }
.forum-tag-purple { color: #c084fc; border-color: rgba(192, 132, 252, 0.4); background: rgba(168, 85, 247, 0.12); }
.forum-tag-red { color: #f87171; border-color: rgba(248, 113, 113, 0.45); background: rgba(239, 68, 68, 0.12); }
.forum-tag-gold { color: #fbbf24; border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.1); }
.forum-tag-blue { color: #60a5fa; border-color: rgba(96, 165, 250, 0.45); background: rgba(59, 130, 246, 0.12); }
.forum-tag-muted { color: var(--text-muted); border-color: rgba(180, 200, 220, 0.25); background: rgba(255, 255, 255, 0.04); }
.forum-tag-neutral { color: rgba(200, 220, 240, 0.95); border-color: rgba(180, 200, 220, 0.35); background: rgba(255, 255, 255, 0.06); }

.forum-tag-picker {
    border: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.forum-tag-picker legend {
    display: block;
    width: 100%;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    padding: 0;
}

.forum-tag-picker legend .muted {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    font-size: 0.78rem;
}

.forum-tag-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

.forum-tag-chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition), filter var(--transition);
    opacity: 0.55;
    filter: saturate(0.75);
}

.forum-tag-chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.forum-tag-chip:hover {
    transform: translateY(-1px);
    opacity: 0.85;
    filter: saturate(0.95);
}

.forum-tag-chip.is-selected {
    opacity: 1;
    filter: saturate(1.15) brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 0 14px color-mix(in srgb, currentColor 40%, transparent);
    border-width: 2px;
    padding: calc(0.35rem - 1px) calc(0.75rem - 1px);
}

.forum-tag-chip.is-selected span::before {
    content: '✓';
    display: inline-block;
    margin-right: 0.3rem;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.forum-tag-selected-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.65rem 0.75rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
}

.forum-tag-selected-wrap[hidden] {
    display: none !important;
}

.forum-tag-selected-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.forum-tag-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    min-width: 0;
}

.forum-tag-selected-list .forum-tag {
    font-size: 0.74rem;
    padding: 0.22rem 0.65rem;
}

.forum-tag-custom {
    margin-top: 0.15rem;
}

.forum-tag-custom input {
    width: 100%;
    font-family: var(--font-main);
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.forum-tag-custom input::placeholder {
    color: var(--text-muted);
    opacity: 0.85;
}

.forum-tag-custom input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.12);
}

.forum-tag-summary {
    margin-top: 0.5rem;
    font-size: 0.82rem;
}

.forum-topic-toolbar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.forum-post-solved {
    border-color: rgba(46, 204, 113, 0.45);
}

.forum-badge-solved {
    color: #2ecc71;
    font-weight: 600;
}

.forum-reactions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    align-items: center;
}

.forum-reaction-btn {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
}

.forum-reaction-btn.is-active {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.12);
}

.forum-reaction-count:empty {
    display: none;
}

.forum-search-form {
    margin-bottom: 1rem;
}

.forum-search-hit h2 {
    font-size: 1rem;
    margin: 0 0 0.25rem;
}

.forum-embed {
    margin: 0.75rem 0;
    max-width: 100%;
}

.forum-embed iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 8px;
    background: #000;
}

.forum-staff-panel .forum-staff-actions {
    margin-top: 0.5rem;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 260px;
}

.forum-staff-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 720px) {
    .forum-rich-toolbar {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.25rem;
    }
}

/* Fórum v3 */
.forum-mention { color: var(--accent, #6cf); font-weight: 600; text-decoration: none; }
.forum-mention:hover { text-decoration: underline; }
.forum-mention-dropdown {
    position: absolute;
    z-index: 50;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: var(--surface, #1a1a22);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    overflow: hidden;
}
.forum-mention-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.45rem 0.65rem;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}
.forum-mention-item:hover { background: rgba(255,255,255,0.06); }
.forum-topic-preview-tip {
    position: absolute;
    z-index: 60;
    width: min(320px, 90vw);
    padding: 0.75rem;
    background: var(--surface, #1a1a22);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
    pointer-events: none;
}
.forum-topic-preview-tip p { margin: 0.35rem 0; font-size: 0.9rem; }
.forum-poll { margin: 1rem 0; padding: 1rem; }
.forum-poll-option { display: flex; gap: 0.5rem; align-items: center; margin: 0.35rem 0; cursor: pointer; }
.forum-poll-results { list-style: none; padding: 0; margin: 0; }
.forum-poll-result {
    position: relative;
    padding: 0.45rem 0.6rem;
    margin: 0.35rem 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}
.forum-poll-result-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(100, 200, 255, 0.15);
    z-index: 0;
}
.forum-poll-result-label, .forum-poll-result-pct { position: relative; z-index: 1; }
.forum-poll-result.is-voted { border-color: var(--accent, #6cf); }
.forum-post-badges { display: flex; flex-wrap: wrap; gap: 0.25rem; margin: 0.25rem 0; }
.badge-ranked { font-size: 0.75rem; padding: 0.1rem 0.35rem; border-radius: 4px; background: rgba(255,200,80,0.15); }
.forum-lfg-link { margin-bottom: 1rem; }
.forum-load-more-wrap { text-align: center; margin: 1rem 0; }
.forum-profile-post-list { list-style: none; padding: 0; }
.forum-profile-post-list li { padding: 0.65rem 0; border-bottom: 1px solid var(--border-subtle); }
.forum-profile-excerpt { font-size: 0.88rem; margin: 0.25rem 0 0; }
.forum-poll-create { margin: 1rem 0; }
.forum-poll-option-input { display: block; width: 100%; margin: 0.25rem 0; }
.notify-pref-subheading { margin: 0.75rem 0 0.25rem; font-size: 0.9rem; }
.forum-activity-table { margin-top: 1rem; }

/* Theme picker (dashboard) */
.dashboard-theme-panel {
    margin-bottom: 1rem;
}

.theme-picker {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.theme-option {
    cursor: pointer;
}

.theme-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.theme-option-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.85rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.theme-option input:focus-visible + .theme-option-card {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.theme-option input:checked + .theme-option-card {
    border-color: var(--accent-orange);
    box-shadow: var(--shadow-glow);
}

.theme-option:hover .theme-option-card {
    border-color: rgba(255, 107, 53, 0.45);
}

.theme-preview-swatch {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.theme-preview-swatch span {
    flex: 1;
    height: 2.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme-preview-dark .theme-preview-swatch span:nth-child(1) { background: #0a0a0c; }
.theme-preview-dark .theme-preview-swatch span:nth-child(2) { background: #16161f; }
.theme-preview-dark .theme-preview-swatch span:nth-child(3) { background: #ff6b35; }

.theme-preview-light .theme-preview-swatch span:nth-child(1) { background: #eef0f6; }
.theme-preview-light .theme-preview-swatch span:nth-child(2) { background: #ffffff; border-color: #cfd3df; }
.theme-preview-light .theme-preview-swatch span:nth-child(3) { background: #e85a24; }

.theme-option-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.theme-option-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.theme-picker-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.theme-picker-hint {
    font-size: 0.82rem;
}

@media (max-width: 560px) {
    .theme-picker {
        grid-template-columns: 1fr;
    }
}

/* Light theme — finomhangolás kemény kódolt elemekhez */
[data-theme="light"] .nav-dropdown,
[data-theme="light"] .header-notif-dropdown {
    box-shadow: var(--shadow-elevated);
}

[data-theme="light"] .notify-prefs-group,
[data-theme="light"] .dashboard-quick-card,
[data-theme="light"] .forum-mention-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .dashboard-dismiss-btn,
[data-theme="light"] .btn-outline {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .dashboard-nav-item.is-active .dashboard-nav-desc {
    color: var(--text-muted);
}

[data-theme="light"] .site-footer {
    border-top-color: var(--border);
}

[data-theme="light"] .alert-success {
    background: rgba(0, 158, 122, 0.1);
    border-color: rgba(0, 158, 122, 0.35);
}

[data-theme="light"] .alert-error {
    background: rgba(217, 37, 85, 0.08);
    border-color: rgba(217, 37, 85, 0.3);
}

[data-theme="light"] .forum-topic-preview-tip,
[data-theme="light"] .forum-mention-dropdown {
    background: var(--bg-card);
    box-shadow: var(--shadow-elevated);
}

[data-theme="light"] .forum-mention-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .modal-overlay,
[data-theme="light"] .lightbox-overlay {
    background: var(--overlay-strong);
}

[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea {
    color: var(--text-primary);
}

[data-theme="light"] .admin-topbar,
[data-theme="light"] .admin-sidebar {
    background: var(--header-bg);
}

/* Header theme toggle */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--overlay-soft);
    color: var(--text-primary);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.theme-toggle-btn:hover {
    border-color: rgba(255, 107, 53, 0.45);
    color: var(--accent-orange);
}

.theme-toggle-icon {
    font-size: 1rem;
    line-height: 1;
}

.profile-actions-row .btn.is-active {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* PWA install banner (főoldal) */
.pwa-install-banner {
    margin: 0 0 1rem;
    border: 1px solid rgba(255, 107, 53, 0.35);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(0, 212, 170, 0.06));
    box-shadow: var(--shadow-glow);
}

.pwa-install-banner-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
}

.pwa-install-banner-icon {
    flex-shrink: 0;
    font-size: 1.35rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.pwa-install-banner-content {
    flex: 1;
    min-width: 0;
}

.pwa-install-banner-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 0.25rem;
}

.pwa-install-banner-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.pwa-install-banner-actions {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    flex-shrink: 0;
}

.pwa-install-banner-dismiss {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    border-radius: var(--radius);
    transition: color var(--transition), border-color var(--transition);
}

.pwa-install-banner-dismiss:hover {
    color: var(--text-primary);
    border-color: var(--accent-orange);
}

[data-theme="light"] .pwa-install-banner {
    background: linear-gradient(135deg, rgba(232, 90, 36, 0.1), rgba(0, 158, 122, 0.08));
}

[data-theme="light"] .pwa-install-banner-dismiss {
    background: rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
    .pwa-install-banner-inner {
        flex-wrap: wrap;
    }

    .pwa-install-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .pwa-install-banner-text {
        font-size: 0.85rem;
    }
}

/* UI unify — dashboard design tokens site-wide (v1.27) */
.ui-panel,
.dashboard-panel,
.sidebar-card.ui-panel,
.forum-category.ui-panel,
.home-section.ui-panel,
.profile-stats.ui-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.ui-panel,
.dashboard-panel,
.sidebar-card.ui-panel,
.forum-category.ui-panel,
.home-section.ui-panel,
.profile-stats.ui-panel,
.filter-bar-panel {
    padding: 1rem 1.1rem;
}

.ui-panel + .ui-panel,
.home-section.ui-panel + .home-section.ui-panel,
.forum-category.ui-panel + .forum-category.ui-panel {
    margin-top: 1rem;
}

.home-section.ui-panel {
    margin-bottom: 1.25rem;
}

.forum-category.ui-panel {
    margin-bottom: 1.25rem;
}

.ui-section-title,
.ui-panel > h2,
.ui-panel > h3:first-child,
.profile-stats.ui-panel > h2,
.profile-stats.ui-panel > h2.profile-section-divider,
.sidebar-card.ui-panel > h3,
.dashboard-panel-head h2,
.forum-category.ui-panel .forum-section-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0 0 0.85rem;
}

.profile-stats.ui-panel > h2.profile-section-divider {
    margin-top: 1.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.filter-bar-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.filter-bar-panel select {
    min-width: 0;
}

.ui-card,
.listing-card.ui-card,
.player-card.ui-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.listing-card.ui-card {
    padding: 1rem 1.05rem;
    cursor: pointer;
}

.listing-card.ui-card:hover {
    border-color: rgba(255, 107, 53, 0.45);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
    transform: none;
}

.player-card.ui-card {
    padding: 0.85rem 1rem;
}

.player-card.ui-card:hover {
    border-color: rgba(255, 107, 53, 0.4);
    background: var(--bg-card-hover);
    transform: none;
}

.forum-category.ui-panel .forum-board-table,
.forum-category.ui-panel .forum-topic-table {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.forum-board-row:hover,
.forum-topic-row:hover {
    background: rgba(255, 107, 53, 0.05);
}

[data-theme="light"] .forum-board-row:hover,
[data-theme="light"] .forum-topic-row:hover {
    background: rgba(0, 0, 0, 0.03);
}

.profile-stats.ui-panel .stat-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
}

.profile-side .sidebar-card.ui-panel + .sidebar-card.ui-panel {
    margin-top: 1rem;
}

.page-header {
    margin-bottom: 1rem;
}

.page-intro {
    color: var(--text-secondary);
    max-width: 58ch;
    line-height: 1.45;
}

.empty-state {
    padding: 1.25rem;
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}

.home-empty-panel {
    border-radius: var(--radius-lg);
}

@media (max-width: 640px) {
    .filter-bar-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-bar-panel select,
    .filter-bar-panel .btn {
        width: 100%;
    }
}

/* ——— Hírek modul ——— */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.news-grid-home {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.news-card {
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), transform var(--transition);
}

.news-card:hover {
    border-color: rgba(255, 200, 100, 0.35);
    transform: translateY(-1px);
}

.news-card-link {
    display: block;
    color: var(--text-primary);
    height: 100%;
}

.news-card-cover {
    height: 140px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border);
}

.news-card-body {
    padding: 1rem 1.05rem 1.1rem;
}

.news-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.news-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.45rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.news-badge-pin {
    color: var(--accent-orange);
    border-color: rgba(255, 107, 53, 0.35);
}

.news-card-title {
    font-size: 1rem;
    margin: 0 0 0.45rem;
    line-height: 1.35;
}

.news-card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 0.55rem;
    line-height: 1.45;
}

.news-card-meta {
    font-size: 0.78rem;
}

.news-card-compact .news-card-body {
    padding: 0.85rem 1rem;
}

.news-article-cover img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.news-article-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.news-show-meta {
    margin-top: 0.35rem;
}

.news-show-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ——— Streamer modul ——— */
.streamer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.streamer-grid-home {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.streamer-card {
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
    clip-path: var(--clip-tactical-sm);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.streamer-card:hover {
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateY(-1px);
}

.streamer-card-featured {
    border-color: rgba(255, 107, 53, 0.35);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(0, 0, 0, 0.35));
}

.streamer-card-banner {
    height: 72px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border);
}

.streamer-card-inner {
    padding: 1rem 1.05rem 1.1rem;
}

.streamer-card-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.streamer-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.streamer-card-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent-orange);
}

.streamer-card-ident {
    flex: 1;
    min-width: 0;
}

.streamer-card-name {
    font-size: 1rem;
    margin: 0 0 0.2rem;
}

.streamer-card-name a {
    color: var(--text-primary);
}

.streamer-platform {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.streamer-platform-twitch { color: #9146ff; }
.streamer-platform-youtube { color: #ff4444; }
.streamer-platform-kick { color: #53fc18; }

.streamer-badge-featured {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-orange);
    white-space: nowrap;
}

.streamer-card-tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0 0 0.65rem;
    line-height: 1.4;
}

.streamer-card-desc {
    font-size: 0.82rem;
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.streamer-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.streamer-card-compact .streamer-card-inner {
    padding: 0.85rem 1rem;
}

.streamer-card-compact .streamer-card-avatar {
    width: 48px;
    height: 48px;
}

.streamer-partner-cta {
    margin-top: 1.5rem;
    padding: 1.25rem 1.35rem;
}

.streamer-partner-cta h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
}

.streamer-show-hero {
    position: relative;
    margin-top: 0.75rem;
}

.streamer-show-banner {
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    margin-bottom: -2.5rem;
    border: 1px solid var(--border);
}

.streamer-show-hero-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 0.25rem;
    position: relative;
    z-index: 1;
}

.streamer-show-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.streamer-show-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.streamer-show-tagline {
    color: var(--text-secondary);
    margin: 0.35rem 0 0;
}

.streamer-show-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.streamer-show-stats {
    margin-top: 1rem;
    font-size: 0.82rem;
}

.home-streamer-panel .btn + .btn {
    margin-left: 0.35rem;
}

.home-streamers-section {
    border-color: rgba(255, 107, 53, 0.2);
}

/* Streamer jelentkezés */
.page-streamers .page-header,
.page-streamer-partner .page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.streamer-partner-info-btn {
    flex-shrink: 0;
    align-self: center;
}

.streamer-partner-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin: 0 0 0.35rem;
}

.streamer-partner-note {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.88rem;
}

.home-streamer-panel .streamer-partner-info-btn {
    margin-left: 0.35rem;
}

.streamer-apply-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
    gap: 1.25rem;
    align-items: start;
}

.streamer-apply-info {
    padding: 1.25rem 1.35rem;
    position: sticky;
    top: 5.5rem;
}

.streamer-apply-info h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0.65rem 0 0.5rem;
}

.streamer-apply-points {
    margin: 0.85rem 0 0;
    padding-left: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.streamer-apply-points li + li {
    margin-top: 0.35rem;
}

.streamer-apply-form-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.streamer-apply-account {
    margin: -0.35rem 0 1rem;
    font-size: 0.9rem;
}

.streamer-apply-partnership-box {
    margin: 1rem 0;
    padding: 1rem 1.1rem;
    border-color: rgba(255, 107, 53, 0.25);
    background: rgba(255, 107, 53, 0.06);
}

.streamer-apply-partnership-box h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.streamer-apply-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.45;
    cursor: pointer;
}

.streamer-apply-check input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.streamer-apply-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.streamer-apply-status {
    margin-bottom: 1rem;
}

.admin-streamer-app-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.admin-streamer-app-card {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.admin-streamer-app-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.admin-streamer-app-body {
    padding: 0.85rem 1rem;
}

.admin-streamer-app-desc {
    margin: 0.5rem 0;
    line-height: 1.5;
    color: var(--text-secondary);
}

.admin-streamer-app-meta {
    display: grid;
    gap: 0.35rem;
    margin: 0.75rem 0 0;
    font-size: 0.88rem;
}

.admin-streamer-app-meta div {
    display: grid;
    grid-template-columns: 8.5rem 1fr;
    gap: 0.5rem;
}

.admin-streamer-app-meta dt {
    color: var(--text-muted);
    margin: 0;
}

.admin-streamer-app-meta dd {
    margin: 0;
}

.admin-streamer-app-foot {
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--border-subtle);
}

.admin-streamer-app-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.admin-streamer-app-reject {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    flex: 1;
    min-width: 200px;
}

.admin-streamer-app-note {
    flex: 1;
    min-width: 160px;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--text-primary);
}

@media (max-width: 900px) {
    .streamer-apply-layout {
        grid-template-columns: 1fr;
    }

    .streamer-apply-info {
        position: static;
    }
}

/* ——— Admin hírek / streamerek ——— */
.admin-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1rem;
    align-items: start;
}

.admin-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-inline-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.admin-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

@media (max-width: 960px) {
    .admin-grid-2 {
        grid-template-columns: 1fr;
    }
}

.tools-hub-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.25rem;
}

.tools-hub-intro-body {
    flex: 1 1 320px;
    max-width: 640px;
}

.tools-hub-intro-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
}

.tools-hub-stats {
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.tools-hub-stats div {
    text-align: center;
}

.tools-hub-stats dt {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 0.25rem;
}

.tools-hub-stats dd {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1;
    color: var(--accent-cyan);
}

.tools-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tools-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.25rem 1.3rem 1.1rem;
    border: 1px solid var(--border);
    background: linear-gradient(165deg, rgba(0, 0, 0, 0.45), rgba(16, 16, 24, 0.75));
    clip-path: var(--clip-tactical-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

a.tools-card:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.tools-card-ranked {
    border-color: rgba(57, 255, 20, 0.22);
}

a.tools-card-ranked:hover {
    border-color: rgba(57, 255, 20, 0.5);
    border-left: 3px solid var(--accent-green);
}

.tools-card-ranked .tools-card-glyph {
    color: var(--accent-green);
}

.tools-card-loadout {
    border-color: rgba(0, 212, 170, 0.15);
}

.tools-card-loadout .tools-card-glyph {
    color: var(--accent-cyan);
}

.tools-card-bunker {
    border-color: rgba(231, 76, 60, 0.2);
}

a.tools-card-bunker:hover {
    border-color: rgba(231, 76, 60, 0.45);
    border-left: 3px solid #e74c3c;
}

.tools-card-bunker .tools-card-glyph {
    color: #ff8a70;
}

.tools-card-soon {
    opacity: 0.78;
    cursor: default;
}

.tools-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.tools-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    clip-path: var(--clip-tactical-sm);
}

.tools-card-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--border);
    white-space: nowrap;
}

.tools-card-badge-live {
    color: var(--accent-green);
    border-color: rgba(57, 255, 20, 0.35);
    background: rgba(57, 255, 20, 0.08);
}

.tools-card-badge-soon {
    color: var(--text-muted);
    border-color: var(--border);
}

.tools-card-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    margin: 0 0 0.55rem;
    line-height: 1.3;
}

.tools-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}

.tools-card-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.18rem 0.45rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
}

.tools-card-desc {
    flex: 1 1 auto;
    margin: 0 0 1rem;
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.48;
}

.tools-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.tools-card-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
    min-width: 0;
}

.tools-card-meta-muted {
    font-style: italic;
}

.tools-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    white-space: nowrap;
}

a.tools-card:hover .tools-card-cta {
    color: var(--accent-orange);
}

.tools-card-cta-icon {
    transition: transform var(--transition);
}

a.tools-card:hover .tools-card-cta-icon {
    transform: translateX(2px);
}

.tools-hub-note {
    padding: 1.25rem 1.35rem;
}

.tools-hub-note-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 0 0 0.45rem;
}

.tools-hub-note p {
    margin: 0 0 0.85rem;
    max-width: 560px;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .tools-hub-intro {
        flex-direction: column;
        align-items: stretch;
    }

    .tools-hub-stats {
        justify-content: flex-start;
    }

    .tools-card-grid {
        grid-template-columns: 1fr;
    }
}

/* ——— Ranked trió kalkulátor ——— */
.ranked-calc-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.ranked-calc-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ranked-calc-mode {
    border: none;
    margin: 0 0 1rem;
    padding: 0;
}

.ranked-calc-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ranked-calc-mode-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
}

.ranked-calc-mode-tab:has(input:checked) {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.08);
}

.ranked-calc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ranked-calc-result-title {
    font-size: 1.1rem;
    margin: 0 0 1rem;
}

.ranked-calc-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ranked-calc-stat {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
}

.ranked-calc-stat-label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.ranked-calc-stat-value {
    font-size: 1.35rem;
    color: var(--accent-cyan);
    font-family: var(--font-display, inherit);
}

.ranked-calc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.ranked-calc-table th,
.ranked-calc-table td {
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
}

.ranked-calc-table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.ranked-calc-done {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ranked-calc-disclaimer {
    font-size: 0.82rem;
    line-height: 1.45;
}

.ranked-calc-cta h2 {
    font-size: 1.05rem;
    margin: 0 0 0.35rem;
}

.ranked-calc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

@media (max-width: 900px) {
    .ranked-calc-layout {
        grid-template-columns: 1fr;
    }

    .ranked-calc-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ——— Loadout import kód megosztás ——— */
.loadout-codes-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.loadout-codes-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.loadout-codes-filter-groups {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1 1 auto;
    min-width: 0;
}

.loadout-codes-filters-weapons .loadout-codes-filter {
    font-size: 0.72rem;
    padding: 0.3rem 0.55rem;
}

.loadout-codes-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.loadout-codes-filter {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border);
    color: var(--text-muted);
    text-decoration: none;
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.loadout-codes-filter:hover,
.loadout-codes-filter.is-active {
    color: var(--accent-cyan);
    border-color: rgba(0, 212, 170, 0.45);
    background: rgba(0, 212, 170, 0.08);
}

.loadout-codes-count {
    margin: 0;
    font-size: 0.82rem;
}

.loadout-import-guide {
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.22);
    clip-path: var(--clip-tactical-sm);
}

.loadout-import-guide-toggle {
    cursor: pointer;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    list-style: none;
}

.loadout-import-guide-toggle::-webkit-details-marker {
    display: none;
}

.loadout-import-guide[open] .loadout-import-guide-toggle {
    border-bottom: 1px solid var(--border);
}

.loadout-import-guide-steps {
    margin: 0;
    padding: 1rem 1rem 0.5rem 1.75rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.loadout-import-guide-note {
    margin: 0;
    padding: 0 1rem 1rem;
    font-size: 0.82rem;
    line-height: 1.45;
}

.loadout-codes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: stretch;
}

.loadout-code-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    height: 232px;
    min-height: 232px;
    max-height: 232px;
    border: 1px solid var(--border);
    background: #08080c;
    transition: border-color var(--transition), transform var(--transition);
}

.loadout-code-card-weapon-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    opacity: 0.62;
    pointer-events: none;
    transform: scale(1.18);
    transform-origin: right center;
    transition: opacity var(--transition), transform var(--transition);
}

.loadout-code-card-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        rgba(8, 8, 12, 0.94) 0%,
        rgba(8, 8, 12, 0.88) 42%,
        rgba(8, 8, 12, 0.45) 62%,
        rgba(8, 8, 12, 0.08) 100%
    );
}

.loadout-code-card-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.85rem 0.95rem;
    min-height: 0;
}

.loadout-code-card:hover {
    border-color: rgba(0, 212, 170, 0.35);
    transform: translateY(-1px);
}

.loadout-code-card:hover .loadout-code-card-weapon-img {
    opacity: 0.78;
    transform: scale(1.22);
}

.loadout-code-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.loadout-code-card-cat {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.loadout-build-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.loadout-build-level {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.35);
    clip-path: var(--clip-tactical-sm);
}

.loadout-build-prestige {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.12rem 0.45rem;
    font-size: 0.68rem;
    font-weight: 700;
    border: 1px solid rgba(94, 184, 255, 0.35);
    background: rgba(94, 184, 255, 0.1);
    clip-path: var(--clip-tactical-sm);
}

.loadout-build-prestige-label {
    color: #8ecfff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.loadout-build-prestige-stars {
    display: inline-flex;
    gap: 0.05rem;
    line-height: 1;
}

.loadout-prestige-star {
    color: #5eb8ff;
    font-size: 0.82rem;
    text-shadow: 0 0 8px rgba(94, 184, 255, 0.45);
}

.loadout-prestige-check {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    cursor: pointer;
}

.loadout-prestige-select {
    width: 100%;
}

.loadout-prestige-select:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.loadout-codes-show-badges {
    margin: 0.35rem 0 0.5rem;
}

.loadout-codes-show-badges .loadout-build-badges {
    margin-top: 0;
}

.loadout-codes-show-badges .loadout-build-level,
.loadout-codes-show-badges .loadout-build-prestige {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
}

.loadout-code-card-weapon-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.loadout-code-card-title {
    font-size: 0.98rem;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.loadout-code-card-title a {
    color: var(--text-primary);
}

.loadout-code-card-title a:hover {
    color: var(--accent-cyan);
}

.loadout-code-card .loadout-code-copy-box {
    margin-top: auto;
    flex-shrink: 0;
}

.loadout-code-copy-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem;
    border: 1px dashed rgba(0, 212, 170, 0.35);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-sm, 4px);
}

.loadout-code-copy-box-lg {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    margin-bottom: 1rem;
}

.loadout-code-copy-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.loadout-code-value {
    flex: 1 1 auto;
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    word-break: break-all;
}

.loadout-code-value-lg {
    font-size: 1.35rem;
    text-align: center;
    padding: 0.5rem 0;
}

.loadout-code-copy-btn.is-copied {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.loadout-code-card-desc {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.loadout-code-card-meta {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loadout-code-card-meta a {
    color: var(--text-secondary);
}

.loadout-code-mode {
    flex-shrink: 0;
}

.loadout-codes-empty {
    margin-bottom: 1.25rem;
}

.loadout-codes-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.loadout-codes-footer-note {
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.5rem;
}

.loadout-codes-form {
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.5rem;
}

.loadout-codes-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.loadout-code-input {
    font-family: ui-monospace, 'Cascadia Code', 'Consolas', monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.loadout-codes-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.loadout-codes-show-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: start;
    margin-bottom: 1rem;
}

.loadout-codes-show-main {
    padding: 1.25rem 1.35rem;
}

.loadout-codes-show-desc h2 {
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
}

.loadout-codes-show-desc p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.55;
    font-size: 0.92rem;
}

.loadout-codes-share-hint {
    margin-top: 1rem;
    font-size: 0.82rem;
}

.loadout-codes-share-hint code {
    word-break: break-all;
}

.loadout-codes-show-aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.loadout-codes-aside-cta {
    padding: 1rem 1.1rem;
}

.loadout-codes-aside-cta h2 {
    font-size: 0.95rem;
    margin: 0 0 0.35rem;
}

.loadout-codes-aside-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.loadout-codes-show-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.loadout-codes-back {
    margin-bottom: 2rem;
}

.loadout-codes-show-hero {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.loadout-codes-show-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    clip-path: var(--clip-tactical-sm);
}

.loadout-codes-show-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.loadout-weapon-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.loadout-weapon-category {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.65rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-muted);
    cursor: pointer;
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.loadout-weapon-category:hover,
.loadout-weapon-category.is-active {
    color: var(--accent-cyan);
    border-color: rgba(0, 212, 170, 0.45);
    background: rgba(0, 212, 170, 0.08);
}

.loadout-weapon-picker {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 0.55rem;
    max-height: 340px;
    overflow-y: auto;
    padding: 0.5rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.22);
    clip-path: var(--clip-tactical-sm);
}

.loadout-weapon-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.35rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
    cursor: pointer;
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.loadout-weapon-option:hover {
    border-color: rgba(0, 212, 170, 0.35);
    transform: translateY(-1px);
}

.loadout-weapon-option.is-selected {
    border-color: rgba(0, 212, 170, 0.55);
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent-cyan);
}

.loadout-weapon-option-img {
    width: 96px;
    height: 64px;
    object-fit: contain;
}

.loadout-weapon-option-name {
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
}

.loadout-code-prefix-warn {
    color: #ffb347;
    margin-top: 0.35rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
}

.loadout-code-card .loadout-vote-bar {
    margin-top: 0.35rem;
}

.loadout-vote-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.15rem;
}

.loadout-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    clip-path: var(--clip-tactical-sm);
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.loadout-vote-btn:hover:not(:disabled) {
    border-color: var(--border-glow);
    color: var(--text-primary);
}

.loadout-vote-btn:disabled {
    opacity: 0.65;
    cursor: wait;
}

.loadout-vote-like.is-active {
    border-color: rgba(57, 255, 20, 0.45);
    background: rgba(57, 255, 20, 0.1);
    color: var(--accent-green);
}

.loadout-vote-dislike.is-active {
    border-color: rgba(255, 80, 80, 0.4);
    background: rgba(255, 80, 80, 0.08);
    color: #ff6b6b;
}

.loadout-vote-count {
    min-width: 1rem;
    font-variant-numeric: tabular-nums;
}

.loadout-vote-readonly {
    display: flex;
    gap: 0.65rem;
    font-size: 0.82rem;
}

.loadout-vote-stat-like {
    color: var(--accent-green);
}

.loadout-vote-stat-dislike {
    color: #ff8a8a;
}

.loadout-vote-login-hint {
    font-size: 0.75rem;
}

@media (max-width: 900px) {
    .loadout-codes-show-layout {
        grid-template-columns: 1fr;
    }

    .loadout-codes-form-row {
        grid-template-columns: 1fr;
    }
}

/* Forum — Tippek & Leírások hub */
.forum-tips-picker {
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.forum-tips-picker-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.forum-tips-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.forum-tips-topic-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.15rem;
    min-height: 180px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    color: inherit;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

a.forum-tips-topic-card:hover {
    border-color: rgba(0, 212, 170, 0.45);
    background: rgba(0, 212, 170, 0.06);
    transform: translateY(-2px);
}

.forum-tips-topic-perks {
    border-color: rgba(0, 212, 170, 0.22);
}

.forum-tips-topic-lethal {
    border-color: rgba(255, 107, 53, 0.18);
}

.forum-tips-topic-tactical {
    border-color: rgba(100, 200, 255, 0.18);
}

.forum-tips-topic-camo {
    border-color: rgba(180, 130, 255, 0.2);
}

.forum-tips-topic-soon {
    opacity: 0.72;
    cursor: default;
}

.forum-tips-topic-icon {
    display: flex;
    color: var(--accent-cyan);
}

.forum-tips-topic-lethal .forum-tips-topic-icon {
    color: var(--accent-orange);
}

.forum-tips-topic-tactical .forum-tips-topic-icon {
    color: rgba(100, 200, 255, 0.95);
}

.forum-tips-topic-camo .forum-tips-topic-icon {
    color: rgba(180, 130, 255, 0.95);
}

.forum-tips-topic-body h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.forum-tips-topic-body p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.forum-tips-topic-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-cyan);
}

.forum-tips-topic-badge {
    display: inline-block;
    margin-top: auto;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    align-self: flex-start;
}

.forum-tips-soon {
    padding: 1.5rem;
    text-align: center;
    max-width: 32rem;
    margin: 0 auto 1.5rem;
}

.forum-tips-soon-badge {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

.forum-tips-soon h2 {
    margin: 0 0 0.5rem;
}

.forum-tips-soon-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.forum-tips-hub-foot {
    margin: 0 0 1.5rem;
}

.forum-perks-pick-hint {
    display: block;
    margin-top: 0.35rem;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

.forum-perks-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}

.forum-perks-layout-main {
    min-width: 0;
}

.forum-perks-grid-pick {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 0.65rem;
}

.forum-perk-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    color: inherit;
    cursor: pointer;
    text-align: center;
    transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.forum-perk-pick:hover {
    border-color: rgba(0, 212, 170, 0.35);
}

.forum-perk-pick.is-selected {
    border-color: rgba(0, 212, 170, 0.65);
    background: rgba(0, 212, 170, 0.12);
    box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.25);
}

.forum-perk-pick-tier-meta.is-selected,
.forum-perk-pick-tier-meta:hover {
    border-color: rgba(255, 209, 102, 0.55);
}

.forum-perk-pick-media {
    position: relative;
    width: 64px;
    height: 64px;
}

.forum-perk-pick-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.forum-perk-pick-glyph {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 170, 0.12);
    font-weight: 700;
    color: var(--accent-cyan);
}

.forum-perk-pick-media.is-fallback .forum-perk-pick-img {
    display: none;
}

.forum-perk-pick-media.is-fallback .forum-perk-pick-glyph {
    display: flex;
}

.forum-perk-pick-name {
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.forum-perk-pick-slot {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.forum-perks-loadout-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.forum-perks-loadout-pick:hover .forum-perks-loadout-name {
    color: var(--accent-cyan);
}

.forum-perks-detail {
    position: sticky;
    top: 5.5rem;
    padding: 1rem;
    min-height: 220px;
}

.forum-perks-detail-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.forum-perks-detail-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.forum-perks-detail-body {
    position: relative;
    padding-top: 0.25rem;
}

.forum-perks-detail-media {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.forum-perks-detail-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.forum-perks-detail-glyph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 170, 0.12);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.forum-perks-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.forum-perks-detail-tier,
.forum-perks-detail-slot {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.forum-perks-detail-tier-meta {
    color: #ffd166;
    background: rgba(255, 209, 102, 0.12);
}

.forum-perks-detail-tier-a {
    color: #7ee787;
    background: rgba(126, 231, 135, 0.12);
}

.forum-perks-detail-tier-b {
    color: #8ecae6;
    background: rgba(142, 202, 230, 0.12);
}

.forum-perks-detail-title {
    margin: 0 0 0.25rem;
    font-size: 1.2rem;
}

.forum-perks-detail-summary {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.45;
}

.forum-perks-detail-effects {
    margin: 0.65rem 0 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
}

.forum-perks-detail-effects li + li {
    margin-top: 0.35rem;
}

.forum-perks-detail-desc {
    margin: 0.75rem 0 0;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .forum-perks-layout {
        grid-template-columns: 1fr;
    }

    .forum-perks-detail {
        position: static;
        order: -1;
    }
}

/* Forum — Perk tier list guide (/forum/howitswork/perkek) */
.forum-perks-header .page-intro {
    max-width: 52rem;
}

.forum-perks-updated {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
}

.forum-perks-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    align-items: flex-end;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
}

.forum-perks-toolbar-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.forum-perks-toolbar-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.forum-perks-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.forum-perks-tab {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.forum-perks-tab:hover {
    border-color: rgba(0, 212, 170, 0.35);
    color: var(--text-primary);
}

.forum-perks-tab.is-active {
    border-color: rgba(0, 212, 170, 0.55);
    background: rgba(0, 212, 170, 0.12);
    color: var(--accent-cyan);
}

.forum-perks-section-head {
    margin-bottom: 1rem;
}

.forum-perks-section-head h2 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.forum-perks-loadouts {
    margin-bottom: 1.25rem;
    padding: 1.15rem 1.25rem;
}

.forum-perks-loadout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.forum-perks-loadout-card {
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.22);
}

.forum-perks-loadout-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.forum-perks-loadout-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.forum-perks-loadout-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 72px;
    text-align: center;
}

.forum-perks-loadout-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.forum-perks-loadout-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 170, 0.12);
    border: 1px solid rgba(0, 212, 170, 0.25);
    font-weight: 700;
    color: var(--accent-cyan);
}

.forum-perks-loadout-name {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

.forum-perks-loadout-slot {
    font-size: 0.72rem;
}

.forum-perks-loadout-note {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
}

.forum-perks-tiers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.forum-perks-tier {
    padding: 1.15rem 1.25rem;
}

.forum-perks-tier-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.forum-perks-tier-head h2 {
    margin: 0;
    font-size: 1.2rem;
    letter-spacing: 0.04em;
}

.forum-perks-tier-meta .forum-perks-tier-head h2 {
    color: #ffd166;
}

.forum-perks-tier-a .forum-perks-tier-head h2 {
    color: #7ee787;
}

.forum-perks-tier-b .forum-perks-tier-head h2 {
    color: #8ecae6;
}

.forum-perks-tier-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.forum-perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.85rem;
}

.forum-perk-card {
    display: flex;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
    min-height: 120px;
}

.forum-perk-card-tier-meta {
    border-color: rgba(255, 209, 102, 0.25);
    background: linear-gradient(135deg, rgba(255, 209, 102, 0.08), rgba(0, 0, 0, 0.28));
}

.forum-perk-card-tier-a {
    border-color: rgba(126, 231, 135, 0.2);
}

.forum-perk-card-tier-b {
    border-color: rgba(142, 202, 230, 0.18);
}

.forum-perk-card-media {
    position: relative;
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}

.forum-perk-card-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.35);
}

.forum-perk-card-glyph {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 170, 0.12);
    border: 1px solid rgba(0, 212, 170, 0.25);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.forum-perk-card-media.is-fallback .forum-perk-card-glyph {
    display: flex;
}

.forum-perk-card-body {
    min-width: 0;
    flex: 1;
}

.forum-perk-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
}

.forum-perk-card-title {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.forum-perk-card-en {
    font-size: 0.78rem;
}

.forum-perk-card-slot {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
}

.forum-perk-card-desc {
    margin: 0.45rem 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.forum-perks-foot {
    padding: 1.15rem 1.25rem;
}

.forum-perks-foot-title {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
}

.forum-perks-foot-list {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.forum-perks-foot-list li + li {
    margin-top: 0.35rem;
}

.forum-perks-disclaimer,
.forum-perks-source {
    font-size: 0.85rem;
    line-height: 1.45;
}

.forum-perks-foot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

/* Flat perk list — 4×4 rács, egységes kártyaméret */
.forum-perk-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 22rem;
    gap: 0.85rem;
    margin-top: 1rem;
    align-items: stretch;
}

/* ui-panel + ui-panel margin-top ne tolja el a rács elemeit */
.forum-perk-list > .forum-perk-accordion.ui-panel {
    margin: 0;
    padding: 0;
}

.forum-perk-list > .forum-perk-accordion.ui-panel + .forum-perk-accordion.ui-panel {
    margin-top: 0;
}

.forum-perk-accordion {
    display: flex;
    flex-direction: column;
    height: 22rem;
    min-height: 22rem;
    max-height: 22rem;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.forum-perk-accordion-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 0.55rem;
    flex: 0 0 6.85rem;
    min-height: 6.85rem;
    max-height: 6.85rem;
    padding: 0.75rem 0.65rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.forum-perk-accordion-icon-wrap {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.forum-perk-accordion-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.forum-perk-accordion-glyph {
    display: none;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-muted);
}

.forum-perk-accordion-icon-wrap.is-fallback .forum-perk-accordion-glyph {
    display: flex;
}

.forum-perk-accordion-titles {
    min-width: 0;
    width: 100%;
}

.forum-perk-accordion-name {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.25;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.forum-perk-accordion-en {
    display: block;
    font-size: 0.78rem;
    margin-top: 0.1rem;
}

.forum-perk-accordion-slot {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.forum-perk-accordion-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 0.65rem 0.65rem 0.75rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 82%, transparent 100%);
}

.forum-perk-accordion-summary {
    margin: 0 0 0.55rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--text-secondary);
}

.forum-perk-accordion-effects {
    margin: 0;
    padding: 0;
    list-style: none;
}

.forum-perk-accordion-effects li {
    position: relative;
    padding-left: 0.75rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--text-secondary);
}

.forum-perk-accordion-effects li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.forum-perk-accordion-effects li + li {
    margin-top: 0.3rem;
}

.forum-perk-kw {
    color: #7dff4a;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .forum-perk-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 23rem;
    }

    .forum-perk-accordion {
        height: 23rem;
        min-height: 23rem;
        max-height: 23rem;
    }
}

@media (max-width: 768px) {
    .forum-perk-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 24rem;
    }

    .forum-perk-accordion {
        height: 24rem;
        min-height: 24rem;
        max-height: 24rem;
    }
}

@media (max-width: 640px) {
    .forum-perks-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .forum-perks-grid {
        grid-template-columns: 1fr;
    }

    .forum-perk-list {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .forum-perk-accordion {
        height: auto;
        min-height: 18rem;
        max-height: none;
    }

    .forum-perk-accordion-body {
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

/* Camo Tracker (Tippek & Leírások) */
.forum-camo-toolbar {
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
}

.forum-camo-tabs {
    max-width: 100%;
}

.forum-camo-weapons-bar {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.forum-camo-weapons-bar-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
}

.forum-camo-weapons-bar-hint {
    font-size: 0.75rem;
}

.forum-camo-weapons-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.15rem 0.15rem 0.45rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.forum-camo-weapon-card {
    flex: 0 0 6.75rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.55rem 0.45rem 0.65rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    color: inherit;
    text-align: center;
    scroll-snap-align: start;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.forum-camo-weapon-card:hover {
    border-color: rgba(180, 130, 255, 0.35);
    transform: translateY(-1px);
}

.forum-camo-weapon-card.is-active {
    border-color: rgba(180, 130, 255, 0.55);
    background: rgba(180, 130, 255, 0.12);
    box-shadow: 0 0 0 1px rgba(180, 130, 255, 0.2);
}

.forum-camo-weapon-card-img-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.25rem;
    padding: 0.35rem 0.25rem;
    border-radius: var(--radius-sm);
    background:
        radial-gradient(circle at 50% 40%, rgba(180, 130, 255, 0.1) 0%, transparent 70%),
        rgba(0, 0, 0, 0.35);
}

.forum-camo-weapon-card-img {
    width: 100%;
    max-width: 7.5rem;
    height: auto;
    max-height: 3.5rem;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}

.forum-camo-weapon-card-fallback {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 800;
    color: rgba(180, 130, 255, 0.95);
    background: rgba(180, 130, 255, 0.15);
    border: 1px solid rgba(180, 130, 255, 0.35);
}

.forum-camo-weapon-card-img-wrap.is-fallback .forum-camo-weapon-card-fallback {
    display: inline-flex;
}

.forum-camo-weapon-card-name {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-secondary);
}

.forum-camo-weapon-card.is-active .forum-camo-weapon-card-name,
.forum-camo-weapon-card:hover .forum-camo-weapon-card-name {
    color: var(--text-primary);
}

.forum-camo-track {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.forum-camo-track-intro {
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.forum-camo-track-intro h2 {
    margin: 0 0 0.2rem;
    font-size: 1.25rem;
}

.forum-camo-track-intro p {
    margin: 0;
    font-size: 0.86rem;
}

.forum-camo-strip-wrap + .forum-camo-strip-wrap {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.forum-camo-strip-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.forum-camo-strip-head h3 {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.forum-camo-strip-wrap--military .forum-camo-strip-head h3 {
    color: rgba(160, 210, 255, 0.95);
}

.forum-camo-strip-wrap--special .forum-camo-strip-head h3 {
    color: rgba(180, 130, 255, 0.95);
}

.forum-camo-strip-wrap--mastery .forum-camo-strip-head h3 {
    color: rgba(255, 200, 80, 0.95);
}

.forum-camo-strip-hint {
    font-size: 0.72rem;
    white-space: nowrap;
}

.forum-camo-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.2rem 0.15rem 0.45rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.forum-camo-tile {
    flex: 0 0 6.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    scroll-snap-align: start;
    text-align: center;
}

.forum-camo-tile--mastery {
    flex-basis: 7.5rem;
}

.forum-camo-tile-visual {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.forum-camo-tile--mastery .forum-camo-tile-visual {
    border-color: rgba(255, 200, 80, 0.25);
}

.forum-camo-tile:hover .forum-camo-tile-visual,
.forum-camo-tile:focus-visible .forum-camo-tile-visual {
    border-color: rgba(180, 130, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.forum-camo-tile--mastery:hover .forum-camo-tile-visual,
.forum-camo-tile--mastery:focus-visible .forum-camo-tile-visual {
    border-color: rgba(255, 200, 80, 0.55);
}

.forum-camo-tile:focus {
    outline: none;
}

.forum-camo-tile:focus-visible {
    outline: none;
}

.forum-camo-tile-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    min-width: 175%;
    max-width: none;
    object-fit: cover;
    object-position: left center;
}

.forum-camo-tile-visual.is-fallback .forum-camo-tile-img {
    display: none;
}

.forum-camo-tile-fallback {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    color: rgba(180, 130, 255, 0.95);
    background:
        radial-gradient(circle at 50% 40%, rgba(180, 130, 255, 0.18) 0%, transparent 70%),
        rgba(0, 0, 0, 0.45);
}

.forum-camo-tile-visual.is-fallback .forum-camo-tile-fallback {
    display: flex;
}

.forum-camo-tile-tap {
    position: absolute;
    right: 0.3rem;
    bottom: 0.3rem;
    z-index: 2;
    padding: 0.12rem 0.38rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.16);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.forum-camo-tile:hover .forum-camo-tile-tap,
.forum-camo-tile:focus-visible .forum-camo-tile-tap {
    opacity: 1;
}

.forum-camo-tile-slot {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    min-width: 1.25rem;
    padding: 0.1rem 0.32rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.forum-camo-tile-name {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-secondary);
}

.forum-camo-tile:hover .forum-camo-tile-name,
.forum-camo-tile:focus-visible .forum-camo-tile-name {
    color: var(--text-primary);
}

.forum-camo-empty {
    margin-bottom: 1.25rem;
    padding: 2rem 1.25rem;
    text-align: center;
}

body.forum-camo-modal-open {
    overflow: hidden;
}

.forum-camo-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.forum-camo-modal[hidden] {
    display: none !important;
}

.forum-camo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(3px);
}

.forum-camo-modal-dialog {
    position: relative;
    width: min(100%, 28rem);
    max-height: min(92vh, 640px);
    overflow-y: auto;
    padding: 1.35rem 1.25rem 1.15rem;
    border-radius: var(--radius-md);
    background: var(--surface-elevated, #1a1f2e);
    border: 1px solid rgba(180, 130, 255, 0.45);
    box-shadow:
        0 0 0 1px rgba(180, 130, 255, 0.12),
        0 18px 48px rgba(0, 0, 0, 0.55);
    animation: forumCamoModalIn 0.22s ease-out;
}

@keyframes forumCamoModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.forum-camo-modal-close {
    position: absolute;
    top: 0.45rem;
    right: 0.55rem;
    border: 0;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.forum-camo-modal-close:hover {
    color: var(--text-primary);
}

.forum-camo-modal-visual {
    position: relative;
    width: 9rem;
    height: 9rem;
    margin: 0 auto 0.75rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.forum-camo-modal-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    min-width: 175%;
    max-width: none;
    object-fit: cover;
    object-position: left center;
}

.forum-camo-modal-img[hidden] {
    display: none;
}

.forum-camo-modal-meta {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    text-align: center;
}

.forum-camo-modal-title {
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    text-align: center;
}

.forum-camo-modal-lead {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(180, 130, 255, 0.9);
}

.forum-camo-modal-desc {
    margin: 0;
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--radius-sm);
    background: rgba(180, 130, 255, 0.08);
    border: 1px solid rgba(180, 130, 255, 0.22);
}

.forum-camo-modal-foot {
    margin: 0.85rem 0 0;
    font-size: 0.72rem;
    text-align: center;
}

.forum-camo-modal-desc-en {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
}

.forum-camo-modal-desc-en[hidden] {
    display: none;
}

@media (max-width: 640px) {
    .forum-camo-weapon-card {
        flex-basis: 6rem;
    }

    .forum-camo-tile {
        flex-basis: 6.25rem;
    }
}

/* —— Listing contact CTA + DM contacts —— */
.listing-contact-cta {
    margin: 1.25rem 0;
}

.listing-contact-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid rgba(88, 101, 242, 0.35);
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.12), rgba(0, 212, 255, 0.06));
}

.listing-contact-cta-inner--guest {
    flex-direction: column;
    align-items: stretch;
}

.listing-contact-cta-text h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
}

.listing-contact-cta-text p {
    margin: 0;
    font-size: 0.88rem;
    max-width: 520px;
}

.listing-contact-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.listing-contact-open-btn {
    white-space: nowrap;
}

.listing-messenger-wrap {
    margin-top: 0.75rem;
}

.listing-messenger-wrap[hidden] {
    display: none !important;
}

.listing-dm-contacts {
    margin-top: 1rem;
}

.listing-dm-contacts-hint {
    font-size: 0.82rem;
    margin: -0.25rem 0 0.75rem;
}

.listing-dm-contact-card {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.listing-dm-contact-card:last-child {
    border-bottom: none;
}

.listing-dm-contact-card.has-unread {
    background: rgba(88, 101, 242, 0.06);
    border-radius: 8px;
    padding: 0.65rem;
    margin-bottom: 0.35rem;
}

.listing-dm-contact-head {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    margin-bottom: 0.25rem;
}

.listing-dm-contact-preview {
    font-size: 0.82rem;
    margin: 0 0 0.45rem;
}

.listing-dm-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.listing-dm-contact-actions .report-box {
    margin: 0;
}

.badge-dm-only {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent-cyan);
}

.listing-manage-chat-title {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.listing-manage-chat-sub {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
}

/* —— Listing DM Messenger —— */
.listing-dm-intro {
    margin: 1.25rem 0 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(88, 101, 242, 0.25);
    background: rgba(88, 101, 242, 0.08);
}

.listing-dm-intro h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
}

.listing-dm-intro p {
    margin: 0;
    font-size: 0.88rem;
}

.listing-manage-chat-section {
    margin-top: 1.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.listing-applications-chat-hint {
    font-size: 0.82rem;
    margin: -0.25rem 0 0.75rem;
    line-height: 1.4;
}

.application-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-top: 0.55rem;
}

.application-actions-row .application-actions {
    margin: 0;
}

.messenger-card {
    display: flex;
    flex-direction: column;
    min-height: 380px;
    max-height: min(70vh, 560px);
    margin-top: 0;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(18, 20, 28, 0.98) 0%, rgba(10, 12, 18, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.messenger-card--owner:not(.is-ready) {
    opacity: 0.92;
}

.messenger-card.is-loading {
    pointer-events: none;
}

.messenger-flow-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    background: rgba(0, 0, 0, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.messenger-flow-hint--applicant {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
}

.messenger-flow-step {
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.messenger-flow-step.is-active {
    background: rgba(88, 101, 242, 0.35);
    color: #fff;
}

.messenger-flow-arrow {
    color: var(--text-muted);
    opacity: 0.6;
}

.messenger-status {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.messenger-status--error {
    background: rgba(220, 53, 69, 0.15);
    color: #ff8a95;
}

.messenger-status--info {
    background: rgba(88, 101, 242, 0.12);
    color: var(--text-muted);
}

.messenger-share-hint {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
}

.messenger-thread-hint {
    text-align: center;
    padding: 2rem 1rem;
    margin: 0;
}

.messenger-row--pending .messenger-bubble {
    opacity: 0.65;
}

[data-theme="light"] .messenger-card {
    background: linear-gradient(165deg, #fff 0%, #f3f5fb 100%);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.messenger-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(90deg, rgba(88, 101, 242, 0.22), rgba(0, 212, 255, 0.12));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.messenger-header-peer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.messenger-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.messenger-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.messenger-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5865f2, #00d4ff);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.messenger-header-text {
    min-width: 0;
}

.messenger-peer-name {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.messenger-peer-status {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

.messenger-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3dd68c;
    box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.6);
    animation: messenger-pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes messenger-pulse {
    0% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0.55); }
    70% { box-shadow: 0 0 0 8px rgba(61, 214, 140, 0); }
    100% { box-shadow: 0 0 0 0 rgba(61, 214, 140, 0); }
}

.messenger-body {
    flex: 1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background:
        radial-gradient(circle at 20% 10%, rgba(88, 101, 242, 0.06), transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(0, 212, 255, 0.05), transparent 35%);
}

.messenger-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 1rem 0.85rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    scroll-behavior: smooth;
}

.messenger-messages[hidden] {
    display: none !important;
}

.messenger-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
}

.messenger-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.85;
}

.messenger-empty-title {
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.messenger-empty-text {
    margin: 0;
    max-width: 280px;
    font-size: 0.9rem;
}

.messenger-row {
    display: flex;
    flex-direction: column;
    max-width: 82%;
}

.messenger-row--mine {
    align-self: flex-end;
    align-items: flex-end;
}

.messenger-row--theirs {
    align-self: flex-start;
    align-items: flex-start;
}

.messenger-bubble {
    padding: 0.55rem 0.85rem;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.45;
    word-break: break-word;
    white-space: pre-wrap;
}

.messenger-row--mine .messenger-bubble {
    background: linear-gradient(135deg, #5865f2 0%, #4a56d9 100%);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.messenger-row--theirs .messenger-bubble {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

[data-theme="light"] .messenger-row--theirs .messenger-bubble {
    background: #e8ecf4;
}

.messenger-bubble--share {
    padding: 0;
    background: transparent !important;
}

.messenger-share-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    min-width: 200px;
}

[data-theme="light"] .messenger-share-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
}

.messenger-row--mine .messenger-share-card {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.18);
}

.messenger-share-card-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.messenger-share-card-body {
    flex: 1;
    min-width: 0;
}

.messenger-share-card-body strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
    margin-bottom: 0.15rem;
}

.messenger-share-value {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.messenger-copy-btn {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
    font-size: 0.72rem;
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

.messenger-copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.messenger-time {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    padding: 0 0.25rem;
}

.messenger-compose {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.65rem 0.75rem 0.75rem;
    background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .messenger-compose {
    background: rgba(255, 255, 255, 0.7);
}

.messenger-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
}

.messenger-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.messenger-share-btn:hover:not(:disabled) {
    background: rgba(88, 101, 242, 0.18);
    border-color: rgba(88, 101, 242, 0.45);
}

.messenger-share-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.messenger-share-discord:hover:not(:disabled) {
    background: rgba(88, 101, 242, 0.22);
}

.messenger-form {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 0.35rem 0.4rem 0.35rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .messenger-form {
    background: #fff;
}

.messenger-input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    font-size: 0.92rem;
    resize: none;
    max-height: 120px;
    line-height: 1.4;
    padding: 0.35rem 0;
}

.messenger-input:focus {
    outline: none;
}

.messenger-send-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5865f2, #00b4d8);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.12s, opacity 0.12s;
}

.messenger-send-btn:hover {
    transform: scale(1.05);
}

.application-card.is-chat-active {
    border-color: rgba(88, 101, 242, 0.55);
    box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.25);
}

.application-actions .btn-messenger {
    margin-left: 0.25rem;
}

.listing-manage-chat-section .messenger-card {
    max-height: min(65vh, 520px);
}

@media (max-width: 768px) {
    .messenger-card {
        min-height: 340px;
        max-height: 62vh;
    }

    .messenger-row {
        max-width: 92%;
    }

    .listing-manage-chat-section {
        margin-top: 1rem;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* —— Floating Messenger Inbox —— */
.messenger-float {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
    z-index: 10100;
    font-family: inherit;
}

.messenger-float-toggle {
    position: relative;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #5865f2 0%, #4a56d9 55%, #00b4d8 100%);
    box-shadow: 0 8px 28px rgba(88, 101, 242, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.messenger-float-toggle:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 32px rgba(88, 101, 242, 0.55);
}

.messenger-float-toggle--has-unread {
    animation: messenger-float-glow 1.6s ease-in-out infinite;
}

.messenger-float-toggle--pulse {
    animation: messenger-float-bounce 0.55s ease;
}

@keyframes messenger-float-glow {
    0%, 100% { box-shadow: 0 8px 28px rgba(88, 101, 242, 0.45), 0 0 0 0 rgba(231, 76, 60, 0.5); }
    50% { box-shadow: 0 10px 34px rgba(88, 101, 242, 0.6), 0 0 0 10px rgba(231, 76, 60, 0); }
}

@keyframes messenger-float-bounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.12); }
    60% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

.messenger-float-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    border: 2px solid var(--bg-primary, #0a0a0c);
}

.messenger-float-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.65rem);
    width: min(360px, calc(100vw - 2rem));
    height: min(520px, calc(100vh - 6rem));
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: linear-gradient(165deg, rgba(18, 20, 28, 0.98) 0%, rgba(10, 12, 18, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .messenger-float-panel {
    background: linear-gradient(165deg, #fff 0%, #f3f5fb 100%);
    border-color: rgba(0, 0, 0, 0.08);
}

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

.messenger-float-view {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.messenger-float-view[hidden] {
    display: none !important;
}

.messenger-float-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(90deg, rgba(88, 101, 242, 0.18), rgba(0, 212, 255, 0.08));
    flex-shrink: 0;
}

.messenger-float-title {
    margin: 0;
    flex: 1;
    font-size: 1rem;
}

.messenger-float-back,
.messenger-float-close {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
}

.messenger-float-back:hover,
.messenger-float-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.messenger-float-chat-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
}

.messenger-float-chat-head strong {
    display: block;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messenger-float-chat-sub {
    display: block;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messenger-float-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.messenger-float-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.messenger-float-status {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    flex-shrink: 0;
}

.messenger-float-status--error {
    background: rgba(220, 53, 69, 0.15);
    color: #ff8a95;
}

.messenger-float-inbox-list {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.messenger-float-thread {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: background 0.12s;
}

.messenger-float-thread:hover {
    background: rgba(88, 101, 242, 0.1);
}

.messenger-float-thread.is-unread {
    background: rgba(88, 101, 242, 0.08);
}

.messenger-float-thread.is-closed {
    opacity: 0.82;
}

.messenger-float-thread-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.messenger-float-thread-hide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted, #9aa0a6);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.messenger-float-thread-hide:hover {
    background: rgba(231, 76, 60, 0.25);
    color: #ffb4a8;
}

.messenger-float-thread-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.messenger-float-thread-avatar img,
.messenger-float-thread-avatar .messenger-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.messenger-float-thread-body {
    flex: 1;
    min-width: 0;
}

.messenger-float-thread-top {
    display: flex;
    justify-content: space-between;
    gap: 0.35rem;
    align-items: baseline;
}

.messenger-float-thread-top strong {
    font-size: 0.9rem;
}

.messenger-float-thread-top time {
    font-size: 0.68rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.messenger-float-thread-listing {
    display: block;
    font-size: 0.72rem;
    color: var(--accent-cyan, #00d4ff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messenger-float-thread-preview {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messenger-float-thread.is-unread .messenger-float-thread-preview {
    color: var(--text-primary);
    font-weight: 500;
}

.messenger-float-thread-unread {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #5865f2;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    flex-shrink: 0;
}

.messenger-float-inbox-empty,
.messenger-float-loading {
    padding: 2rem 1.25rem;
    text-align: center;
}

.messenger-float-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.messenger-float-compose {
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem 0.65rem 0.65rem;
    background: rgba(0, 0, 0, 0.2);
}

.messenger-float-shares {
    margin-bottom: 0.45rem;
}

.messenger-float-shares .messenger-share-btn {
    font-size: 0.72rem;
    padding: 0.28rem 0.5rem;
}

.messenger-float-end-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.45rem 0.75rem 0.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.messenger-float-end-row[hidden] {
    display: none !important;
}

.messenger-float-end-chat {
    border: 1px solid rgba(231, 76, 60, 0.45);
    background: rgba(231, 76, 60, 0.1);
    color: #ffb4a8;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    font-family: inherit;
}

.messenger-float-end-chat:hover {
    background: rgba(231, 76, 60, 0.18);
    border-color: rgba(231, 76, 60, 0.65);
    color: #ffd4cc;
}

[data-theme="light"] .messenger-float-end-chat {
    color: #a93226;
    background: rgba(231, 76, 60, 0.08);
}

.messenger-float-end-hint {
    font-size: 0.68rem;
    line-height: 1.3;
    color: var(--text-muted, #9aa0a6);
    text-align: center;
}

.messenger-float-closed-banner {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
    line-height: 1.35;
    background: rgba(231, 76, 60, 0.12);
    color: #ffb4a8;
    border-bottom: 1px solid rgba(231, 76, 60, 0.25);
}

[data-theme="light"] .messenger-float-closed-banner {
    background: rgba(231, 76, 60, 0.08);
    color: #a93226;
}

.messenger-float-compose.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

.messenger-float-thread-closed {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #e74c3c;
    font-weight: 600;
}

.messenger-float-form {
    padding: 0.3rem 0.35rem 0.3rem 0.65rem;
}

body.messenger-float-open .messenger-float-panel {
    animation: messenger-float-in 0.2s ease;
}

@keyframes messenger-float-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .messenger-float-panel {
        position: fixed;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: min(85vh, 640px);
        border-radius: 16px 16px 0 0;
        bottom: 0;
    }

    .messenger-float {
        bottom: max(4.5rem, calc(env(safe-area-inset-bottom, 0px) + 3.5rem));
    }
}

/* ── Bunker kódok eszköz ── */
.bunker-codes-updated {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
}

.bunker-codes-section-title {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.bunker-codes-subtitle {
    margin: 1.25rem 0 0.65rem;
    font-size: 0.95rem;
}

.bunker-codes-quick {
    margin-bottom: 1rem;
    padding: 1.15rem 1.25rem;
}

.bunker-codes-quick-head p {
    margin: 0 0 1rem;
    font-size: 0.88rem;
}

.bunker-codes-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.bunker-codes-quick-card {
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.bunker-codes-quick-label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
}

.bunker-codes-quick-loc {
    display: block;
    font-size: 0.75rem;
    margin: 0.15rem 0 0.55rem;
}

.bunker-codes-code-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bunker-codes-code {
    font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent-cyan, #00d4ff);
    padding: 0.25rem 0.45rem;
    background: rgba(0, 212, 255, 0.08);
    border-radius: 6px;
}

.bunker-codes-copy.is-copied {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.bunker-codes-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

.bunker-codes-toolbar-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.bunker-codes-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.bunker-codes-tab {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.12s, border-color 0.12s;
}

.bunker-codes-tab:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

.bunker-codes-tab.is-active {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.45);
    color: var(--text-primary);
}

.bunker-codes-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.bunker-codes-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.bunker-codes-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bunker-codes-legend-keypad .bunker-codes-legend-dot { background: #ecf0f1; box-shadow: 0 0 0 1px rgba(255,255,255,0.3); }
.bunker-codes-legend-red .bunker-codes-legend-dot { background: #e74c3c; }
.bunker-codes-legend-blue .bunker-codes-legend-dot { background: #3498db; }
.bunker-codes-legend-easter .bunker-codes-legend-dot { background: #f1c40f; }

.bunker-codes-layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: start;
}

.bunker-codes-map-panel {
    padding: 1rem 1.1rem;
    position: sticky;
    top: 1rem;
}

.bunker-codes-map-hint {
    margin: 0 0 0.75rem;
    font-size: 0.78rem;
}

.bunker-codes-map-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.bunker-codes-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bunker-codes-card {
    padding: 1rem 1.1rem;
    border: 1px solid var(--border);
    background: linear-gradient(165deg, rgba(0, 0, 0, 0.35), rgba(16, 16, 24, 0.65));
    clip-path: var(--clip-tactical-sm);
}

.bunker-codes-card-keypad { border-left: 3px solid #ecf0f1; }
.bunker-codes-card-red { border-left: 3px solid #e74c3c; }
.bunker-codes-card-blue { border-left: 3px solid #3498db; }
.bunker-codes-card-easter { border-left: 3px solid #f1c40f; }

.bunker-codes-card-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.bunker-codes-card-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.bunker-codes-card-head-text {
    flex: 1;
    min-width: 0;
}

.bunker-codes-card-title {
    margin: 0;
    font-size: 1rem;
}

.bunker-codes-card-loc {
    margin: 0.1rem 0 0;
    font-size: 0.82rem;
    color: var(--accent-cyan, #00d4ff);
}

.bunker-codes-card-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    flex-shrink: 0;
}

.bunker-codes-card-badge-keypad { background: rgba(236, 240, 241, 0.15); color: #ecf0f1; }
.bunker-codes-card-badge-red { background: rgba(231, 76, 60, 0.2); color: #ff8a80; }
.bunker-codes-card-badge-blue { background: rgba(52, 152, 219, 0.2); color: #7ec8ff; }
.bunker-codes-card-badge-easter { background: rgba(241, 196, 15, 0.2); color: #ffe082; }

.bunker-codes-card-detail,
.bunker-codes-card-tip,
.bunker-codes-card-loot,
.bunker-codes-card-keycard,
.bunker-codes-card-quest {
    margin: 0.45rem 0 0;
    font-size: 0.86rem;
    line-height: 1.45;
}

.bunker-codes-card-quest a {
    color: var(--accent-cyan);
}

.bunker-codes-keycards,
.bunker-codes-shacks,
.bunker-codes-b11,
.bunker-codes-faq,
.bunker-codes-foot {
    margin-bottom: 1rem;
    padding: 1.1rem 1.25rem;
}

.bunker-codes-tip-list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.88rem;
    line-height: 1.55;
}

.bunker-codes-tip-list li + li {
    margin-top: 0.35rem;
}

.bunker-codes-shack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.bunker-codes-shack-card {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.bunker-codes-shack-card h3 {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
}

.bunker-codes-steps {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.bunker-codes-steps li {
    margin-bottom: 0.85rem;
}

.bunker-codes-steps p {
    margin: 0.25rem 0 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.bunker-codes-russian-table-wrap {
    overflow-x: auto;
}

.bunker-codes-table {
    width: 100%;
    max-width: 360px;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.bunker-codes-table th,
.bunker-codes-table td {
    padding: 0.45rem 0.65rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bunker-codes-table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.bunker-codes-faq-list {
    margin: 0;
}

.bunker-codes-faq-item {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bunker-codes-faq-item:last-child {
    border-bottom: none;
}

.bunker-codes-faq-item dt {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bunker-codes-faq-item dd {
    margin: 0;
    font-size: 0.88rem;
}

.bunker-codes-source {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .bunker-codes-layout {
        grid-template-columns: 1fr;
    }

    .bunker-codes-map-panel {
        position: static;
    }
}

/* ── Profil setup gate (új regisztráció) ── */
.profile-setup-banner {
    margin-bottom: 1rem;
    padding: 1rem 1.15rem;
    border-left: 3px solid var(--accent-cyan, #00d4ff);
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), transparent);
}

.profile-setup-banner-head strong {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.profile-setup-banner-head p {
    margin: 0;
    font-size: 0.88rem;
}

.profile-setup-banner-section {
    margin-top: 0.85rem;
}

.profile-setup-banner-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.profile-setup-banner-list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 0.9rem;
}

.profile-setup-banner-list a {
    color: var(--accent-cyan, #00d4ff);
    text-decoration: none;
}

.profile-setup-banner-list a:hover {
    text-decoration: underline;
}

.profile-setup-banner-pending-text {
    margin: 0;
    font-size: 0.88rem;
    color: #ffe082;
}

.profile-edit-intro {
    margin: 0.35rem 0 0.5rem;
    max-width: 52rem;
}

.listing-profile-warning {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.65rem 0 0;
    padding: 0.55rem 0.65rem;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #ffe8b0;
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.28);
    border-radius: 8px;
}

.listing-profile-warning--detail {
    margin: 0 0 1rem;
    font-size: 0.86rem;
    padding: 0.7rem 0.85rem;
}

.listing-profile-warning-icon {
    flex-shrink: 0;
    line-height: 1.2;
}

.listing-profile-warning strong {
    color: #ffd88a;
    font-weight: 600;
}

