:root {
    /* boards.gg — dark gamer tokens */
    --wh-bg: #10131a;
    --wh-bg-elevated: #161b24;
    --wh-header: #0b0e14;
    --wh-header-border: #1f2633;
    --wh-accent: #7dff6b;
    --wh-accent-hover: #9aff8c;
    --wh-accent-pressed: #5fe04e;
    --wh-accent-dim: rgba(125, 255, 107, 0.14);
    --wh-accent-ink: #06240b;
    --wh-card: #181e28;
    --wh-card-hover: #1e2531;
    --wh-text: #eef1f6;
    --wh-text-strong: #ffffff;
    --wh-muted: #8b93a3;
    --wh-muted-strong: #b4bcc9;
    --wh-border: #2a3240;
    --wh-border-strong: #3a4456;
    --wh-input: #121722;
    --wh-input-hover: #171d29;
    --wh-pill: #222a37;
    --wh-pill-hover: #2c3545;
    --wh-danger: #ff6b6b;
    --wh-danger-dim: rgba(255, 107, 107, 0.14);
    --wh-info: #5aa8ff;
    --wh-message: #8b7bff;
    --wh-op: #7dff6b;
    --wh-op-bg: rgba(125, 255, 107, 0.12);
    --wh-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
    --wh-radius: 10px;
    --wh-radius-sm: 6px;
    --wh-font: "Outfit", "Segoe UI", sans-serif;
    --wh-font-display: "Oxanium", "Outfit", sans-serif;
}

html {
    font-size: 14px;
    min-height: 100%;
    background: var(--wh-bg);
    color-scheme: dark;
}

body {
    margin-bottom: 2rem;
    background: var(--wh-bg);
    color: var(--wh-text);
    font-family: var(--wh-font);
    font-size: 14px;
    line-height: 1.45;
}

h1, h2, h3, .wh-logo {
    font-family: var(--wh-font-display);
    font-weight: 700;
    color: var(--wh-text-strong);
}

a {
    color: var(--wh-accent);
}

    a:hover {
        color: var(--wh-accent-hover);
    }

.wh-header {
    background: var(--wh-header);
    color: var(--wh-text-strong);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 56px;
    border-bottom: 1px solid var(--wh-header-border);
}

.wh-nav {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 56px;
    padding: 0.7rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wh-logo {
    color: var(--wh-text-strong);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    text-decoration: none;
}

    .wh-logo:hover {
        color: var(--wh-accent);
    }

.wh-logo-tld {
    color: var(--wh-accent);
    font-weight: 700;
}

.wh-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

    .wh-links > a {
        color: var(--wh-muted-strong);
        text-decoration: none;
        margin-left: 1rem;
        font-size: 0.9rem;
    }

        .wh-links > a:hover {
            color: var(--wh-text-strong);
        }

    .wh-links .dropdown {
        display: inline-flex;
        align-items: center;
        margin-left: 1rem;
        flex: 0 0 auto;
    }

.wh-signup {
    background: var(--wh-accent);
    color: var(--wh-accent-ink) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
}

    .wh-signup:hover {
        background: var(--wh-accent-hover);
        color: var(--wh-accent-ink) !important;
    }

.wh-wrap {
    max-width: 1440px;
    margin: 1.25rem auto;
    padding: 0 1rem;
    min-width: 0;
}

    .wh-wrap .row > [class*="col"] {
        min-width: 0;
    }

.wh-panel {
    background: var(--wh-card);
    border: 1px solid var(--wh-border);
    border-radius: var(--wh-radius);
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
    min-width: 0;
}

.card {
    background: var(--wh-card);
    border: 1px solid var(--wh-border);
    border-radius: var(--wh-radius);
    box-shadow: none;
    color: var(--wh-text);
}

.form-control,
.form-select {
    border: 1px solid var(--wh-border);
    border-radius: var(--wh-radius-sm);
    background: var(--wh-input);
    color: var(--wh-text);
    font-size: 14px;
}

    .form-control::placeholder,
    .form-select::placeholder {
        color: var(--wh-muted);
    }

    .form-control:hover,
    .form-select:hover {
        background: var(--wh-input-hover);
        border-color: var(--wh-border-strong);
    }

    .form-control:focus,
    .form-select:focus {
        background: var(--wh-input-hover);
        border-color: var(--wh-accent);
        color: var(--wh-text);
        box-shadow: 0 0 0 3px var(--wh-accent-dim);
    }

.btn {
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
}

.btn-primary {
    --bs-btn-color: var(--wh-accent-ink);
    --bs-btn-bg: var(--wh-accent);
    --bs-btn-border-color: var(--wh-accent);
    --bs-btn-hover-color: var(--wh-accent-ink);
    --bs-btn-hover-bg: var(--wh-accent-hover);
    --bs-btn-hover-border-color: var(--wh-accent-hover);
    --bs-btn-focus-shadow-rgb: 125, 255, 107;
    --bs-btn-active-color: var(--wh-accent-ink);
    --bs-btn-active-bg: var(--wh-accent-pressed);
    --bs-btn-active-border-color: var(--wh-accent-pressed);
    --bs-btn-disabled-color: var(--wh-accent-ink);
    --bs-btn-disabled-bg: var(--wh-accent);
    --bs-btn-disabled-border-color: var(--wh-accent);
    background: var(--wh-accent);
    border-color: var(--wh-accent);
    color: var(--wh-accent-ink);
}

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:focus-visible {
        background: var(--wh-accent-hover);
        border-color: var(--wh-accent-hover);
        color: var(--wh-accent-ink);
        box-shadow: 0 0 0 3px var(--wh-accent-dim);
    }

    .btn-primary:active,
    .btn-primary.active,
    .btn-check:checked + .btn-primary {
        background: var(--wh-accent-pressed);
        border-color: var(--wh-accent-pressed);
        color: var(--wh-accent-ink);
        box-shadow: none;
    }

    .btn-primary:disabled,
    .btn-primary.disabled {
        background: var(--wh-accent);
        border-color: var(--wh-accent);
        color: var(--wh-accent-ink);
        opacity: 0.7;
    }

.btn-dark {
    background: var(--wh-pill);
    border-color: var(--wh-border);
    color: var(--wh-text);
}

    .btn-dark:hover,
    .btn-dark:focus {
        background: var(--wh-pill-hover);
        border-color: var(--wh-border-strong);
        color: var(--wh-text-strong);
    }

.btn-outline-secondary {
    background: transparent;
    border-color: var(--wh-border-strong);
    color: var(--wh-muted-strong);
}

    .btn-outline-secondary:hover,
    .btn-outline-secondary:focus {
        background: var(--wh-pill);
        border-color: var(--wh-border-strong);
        color: var(--wh-text-strong);
    }

.btn-outline-success {
    color: var(--wh-accent);
    border-color: var(--wh-accent);
    background: transparent;
}

    .btn-outline-success:hover {
        background: var(--wh-accent-dim);
        color: var(--wh-accent-hover);
        border-color: var(--wh-accent-hover);
    }

.btn-outline-danger,
.btn-link.text-danger {
    color: var(--wh-danger);
}

.btn:focus,
.btn:active:focus,
.form-control:focus {
    box-shadow: none;
}

.btn-primary:focus,
.btn-primary:active:focus {
    box-shadow: 0 0 0 3px var(--wh-accent-dim);
}

.table {
    color: var(--wh-text);
    --bs-table-bg: transparent;
    --bs-table-color: var(--wh-text);
    --bs-table-border-color: var(--wh-border);
    --bs-table-hover-bg: var(--wh-card-hover);
}

    .table thead th {
        color: var(--wh-muted);
        font-weight: 600;
        border-bottom-color: var(--wh-border);
    }

.text-muted {
    color: var(--wh-muted) !important;
}

    .text-muted a {
        text-decoration: none;
        color: var(--wh-muted-strong);
    }

        .text-muted a:hover {
            text-decoration: underline;
            color: var(--wh-accent);
        }

.text-success {
    color: var(--wh-accent) !important;
}

.text-danger {
    color: var(--wh-danger) !important;
}

.wh-post {
    position: relative;
    background: var(--wh-card);
    border: 1px solid var(--wh-border);
    border-radius: var(--wh-radius);
    padding: 0.85rem 1rem 0.6rem;
    margin-bottom: 0.75rem;
    transition: background-color 0.12s ease, border-color 0.12s ease;
    min-width: 0;
    max-width: 100%;
}

    .wh-post:not(.wh-post-detail) {
        cursor: pointer;
    }

        .wh-post:not(.wh-post-detail):hover {
            background: var(--wh-card-hover);
            border-color: var(--wh-border-strong);
        }

.wh-post-hit {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.wh-post > *:not(.wh-post-hit) {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.wh-post a,
.wh-post button,
.wh-post input,
.wh-post textarea,
.wh-post select,
.wh-post .dropdown,
.wh-post-actions {
    pointer-events: auto;
}

.wh-post-detail .wh-post-hit {
    display: none;
}

.wh-post-detail > *:not(.wh-post-hit) {
    pointer-events: auto;
}

.wh-post:not(.wh-post-detail) .wh-post-media,
.wh-post:not(.wh-post-detail) .ratio {
    pointer-events: none;
}

.wh-post-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--wh-muted);
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
    min-width: 0;
    flex-wrap: wrap;
}

    .wh-post-meta a,
    .wh-comment-meta a {
        color: inherit;
        text-decoration: none;
    }

        .wh-post-meta a:hover,
        .wh-comment-meta a:hover {
            color: var(--wh-text);
            text-decoration: underline;
        }

.wh-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    color: var(--wh-muted-strong);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

    .wh-back .wh-pill {
        pointer-events: none;
    }

    .wh-back:hover .wh-pill {
        background: var(--wh-pill-hover);
    }

.wh-avatar,
.wh-avatar-sm,
.wh-comment-avatar {
    border-radius: 50%;
    object-fit: cover;
}

.wh-avatar {
    width: 28px;
    height: 28px;
}

.wh-avatar-sm {
    width: 22px;
    height: 22px;
}

.wh-comment-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.wh-post-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--wh-muted-strong);
    font-size: 13px;
}

.wh-post-title {
    font-size: 1.15rem;
    font-weight: 650;
    margin: 0 0 0.6rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--wh-text-strong);
}

.wh-post-detail .wh-post-title {
    font-size: 1.55rem;
}

.wh-post-title a {
    color: var(--wh-text-strong);
    text-decoration: none;
    overflow-wrap: anywhere;
    word-break: break-word;
}

    .wh-post-title a:hover {
        color: var(--wh-accent);
    }

.wh-post-media {
    width: 100%;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: #000;
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.wh-post-body {
    color: var(--wh-text);
    margin: 0 0 0.6rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.wh-post-link {
    display: block;
    margin-bottom: 0.6rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--wh-accent);
}

.wh-post-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
}

    .wh-post-actions .dropdown {
        display: inline-flex;
        align-items: center;
    }

    .wh-post-actions .wh-pill {
        height: 28px;
        margin: 0;
    }

    .wh-post-actions button.wh-pill {
        appearance: none;
        font-family: inherit;
        font-size: 0.8rem;
        font-weight: 600;
        line-height: 1;
    }

    .wh-post-actions .dropdown-item {
        color: var(--wh-text);
    }

        .wh-post-actions .dropdown-item:hover,
        .wh-post-actions .dropdown-item:focus,
        .wh-post-actions .dropdown-item:active {
            background: var(--wh-pill);
            color: var(--wh-text-strong);
        }

.wh-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--wh-pill);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    color: var(--wh-text);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
}

    .wh-pill:hover {
        background: var(--wh-pill-hover);
        color: var(--wh-text-strong);
    }

.wh-pill-btn {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    line-height: 1;
    cursor: pointer;
}

.wh-pill i {
    font-size: 1rem;
}

.wh-vote-icon {
    width: 14px;
    height: 14px;
    display: block;
    filter: invert(86%) sepia(6%) saturate(250%) hue-rotate(178deg) brightness(95%) contrast(90%);
}

.wh-pill-btn.is-up .wh-vote-icon {
    filter: invert(84%) sepia(47%) saturate(514%) hue-rotate(67deg) brightness(103%) contrast(102%);
}

.wh-pill-btn.is-down .wh-vote-icon {
    filter: invert(46%) sepia(54%) saturate(1412%) hue-rotate(331deg) brightness(96%) contrast(90%);
}

.wh-side .card-body {
    padding: 0.75rem 0.85rem;
}

.wh-side h2 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 0.15rem;
}

.wh-side-slug {
    font-size: 12px;
    color: var(--wh-muted);
    margin: 0 0 0.5rem;
}

.wh-side-desc,
.wh-side p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 0.25rem;
    color: var(--wh-muted-strong);
}

.wh-side .btn-sm {
    font-size: 13px;
}

.wh-panel.wh-side a.wh-home-side-comm {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 -12px;
    padding: 8px 12px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    background: transparent;
    transition: background-color 0.15s ease;
}

    .wh-panel.wh-side a.wh-home-side-comm:hover {
        background-color: var(--wh-pill);
        color: inherit;
        text-decoration: none;
    }

.wh-home-side-comm .wh-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.wh-banner-wrap {
    position: relative;
    margin: 0 0 2rem;
}

.wh-banner {
    width: 100%;
    height: 128px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.wh-banner-empty {
    background: linear-gradient(120deg, #151b24 0%, #1c2736 50%, #12201a 100%);
}

.wh-banner-icon {
    position: absolute;
    left: 16px;
    bottom: -24px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 4px solid var(--wh-bg);
    background: var(--wh-card);
    object-fit: cover;
}

.wh-comment {
    margin-bottom: 1.25rem;
}

    .wh-comment strong {
        color: var(--wh-text-strong);
    }

.wh-comment-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--wh-muted);
    margin-bottom: 6px;
}

.wh-comment-body {
    margin: 0;
    white-space: pre-wrap;
}

.wh-comment-actions .wh-pill {
    background: transparent;
}

    .wh-comment-actions .wh-pill:hover,
    .wh-comment-actions .wh-pill:focus,
    .wh-comment-actions .wh-pill:focus-within {
        background: var(--wh-pill);
    }

.wh-op {
    font-size: 11px;
    font-weight: 600;
    color: var(--wh-op);
    background: var(--wh-op-bg);
    border-radius: 4px;
    padding: 1px 6px;
}

.wh-replies {
    margin-top: 1.25rem;
    margin-left: 1.25rem;
    padding-left: 0.85rem;
    border-left: 2px solid var(--wh-border);
}

.wh-replies-flat {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
}

.wh-post-detail {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.wh-comments {
    margin-top: 0;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.wh-reason.active {
    background: var(--wh-accent);
    border-color: var(--wh-accent);
    color: var(--wh-accent-ink);
}

.wh-avatar-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    overflow: hidden;
    background: #1a2330;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

    .wh-avatar-btn img {
        width: 36px;
        height: 36px;
        object-fit: cover;
        border-radius: 50%;
        display: block;
    }

    .wh-avatar-btn:hover {
        outline: 2px solid var(--wh-accent);
        outline-offset: 2px;
    }

.wh-user-menu {
    min-width: 220px;
    padding-top: 8px;
    border: 1px solid var(--wh-border);
    background: #12171f;
    overflow: hidden;
}

.wh-user-menu-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 10px;
}

    .wh-user-menu-head img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }

    .wh-user-menu-head strong {
        display: block;
        font-size: 14px;
        color: var(--wh-text-strong);
    }

    .wh-user-menu-head span {
        display: block;
        font-size: 12px;
        color: var(--wh-muted);
    }

.wh-user-menu .dropdown-item {
    color: var(--wh-muted-strong);
}

    .wh-user-menu .dropdown-item:hover {
        background: var(--wh-pill);
        color: var(--wh-text-strong);
    }

.wh-user-menu .dropdown-divider {
    border-color: var(--wh-border);
}

.wh-user-menu .dropdown-item,
.wh-user-menu form {
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

    .wh-user-menu form .dropdown-item {
        text-align: left;
    }

.dropdown-menu {
    background: #12171f;
    border: 1px solid var(--wh-border);
    color: var(--wh-text);
}

.dropdown-item {
    color: var(--wh-muted-strong);
}

    .dropdown-item:hover,
    .dropdown-item:focus,
    .dropdown-item:active {
        background: var(--wh-pill);
        color: var(--wh-text-strong);
    }

.wh-avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
    gap: 12px;
}

.wh-avatar-choice {
    margin: 0;
    cursor: pointer;
}

    .wh-avatar-choice input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .wh-avatar-choice img {
        width: 72px;
        height: 72px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        padding: 4px;
        border: 3px solid transparent;
        border-radius: 50%;
        background: var(--wh-input);
    }

    .wh-avatar-choice:hover img {
        border-color: var(--wh-border-strong);
    }

    .wh-avatar-choice input:checked + img {
        border-color: var(--wh-accent);
        background: var(--wh-accent-dim);
    }

.wh-editor {
    min-height: 180px;
    background: var(--wh-input);
    border: 1px solid var(--wh-border);
    border-radius: 0.375rem;
    padding: 0.75rem;
    color: var(--wh-text);
}

    .wh-editor:focus {
        outline: 0;
        border-color: var(--wh-accent);
        box-shadow: 0 0 0 3px var(--wh-accent-dim);
    }

    .wh-fit,
    .wh-editor .wh-fit,
    .wh-post-body .wh-fit {
        display: block;
        margin: 0.75rem 0;
        padding: 0.75rem 1rem;
        background: #0d1118;
        border: 1px solid var(--wh-border);
        border-radius: 8px;
        font-family: Consolas, "Courier New", monospace;
        font-size: 13px;
        white-space: pre-wrap;
        overflow-wrap: anywhere;
        word-break: break-word;
        color: #d7deea;
    }

.wh-tool {
    width: 36px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--wh-muted-strong);
    border-color: var(--wh-border);
}

    .wh-tool i {
        font-size: 16px;
        line-height: 1;
    }

#boldBtn.active {
    background: var(--wh-accent);
    color: var(--wh-accent-ink);
    border-color: var(--wh-accent);
}

.wh-bell {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: inherit;
    text-decoration: none;
}

    .wh-bell:hover {
        color: var(--wh-accent);
    }

.wh-bell-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--wh-accent);
    color: var(--wh-accent-ink);
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.wh-notif {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid var(--wh-border);
}

    .wh-notif:last-child {
        border-bottom: 0;
    }

.wh-notif-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .wh-notif-icon svg {
        width: 18px;
        height: 18px;
        fill: #fff;
    }

    .wh-notif-icon.comment {
        background: #1f8a4d;
    }

    .wh-notif-icon.reply {
        background: var(--wh-info);
    }

    .wh-notif-icon.message {
        background: var(--wh-message);
    }

.wh-notif-body {
    min-width: 0;
}

.wh-notif-link {
    display: block;
    color: var(--wh-text-strong);
    text-decoration: none;
    font-weight: 600;
    overflow-wrap: anywhere;
    word-break: break-word;
}

    .wh-notif-link:hover {
        color: var(--wh-accent);
    }

.wh-profile-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--wh-border);
    margin: 8px 0 24px;
}

    .wh-profile-tabs a {
        padding: 10px 14px;
        color: var(--wh-muted);
        text-decoration: none;
        font-weight: 600;
        border-bottom: 2px solid transparent;
        margin-bottom: -1px;
    }

        .wh-profile-tabs a:hover {
            color: var(--wh-text-strong);
        }

        .wh-profile-tabs a.is-active {
            color: var(--wh-text-strong);
            border-bottom-color: var(--wh-accent);
        }

.wh-profile-stats {
    display: flex;
    gap: 32px;
    background: var(--wh-card);
    border: 1px solid var(--wh-border);
    border-radius: 12px;
    padding: 20px 24px;
}

    .wh-profile-stats .num {
        font-size: 22px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--wh-text-strong);
    }

    .wh-profile-stats .lbl {
        color: var(--wh-muted);
        font-size: 13px;
    }

.wh-game-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #243038;
    text-decoration: none;
    background: #1a2228;
}

    .wh-game-card img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        display: block;
    }

.wh-game-card-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 12px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff !important;
    font-family: var(--wh-font-display);
    font-weight: 600;
    font-size: 15px;
}

.wh-game-card:hover {
    border-color: var(--wh-accent);
}

.wh-game-hero {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #243038;
}

    .wh-game-hero img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        display: block;
    }

.wh-game-hero-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 36px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    font-family: var(--wh-font-display);
    font-size: 1.6rem;
    font-weight: 700;
}

.wh-tag {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 3px 8px;
    border-radius: 999px;
    background: #151b22;
    border: 1px solid var(--wh-border);
    color: #9fb0ba;
    font-size: 12px;
}

@media (min-width: 992px) {
    .wh-sticky {
        position: sticky;
        top: 64px;
        align-self: start;
    }
}

#loginModal .modal-dialog {
    max-width: 400px;
}

.modal-content {
    background: var(--wh-card);
    color: var(--wh-text);
    border: 1px solid var(--wh-border);
}

.modal-header,
.modal-footer {
    border-color: var(--wh-border);
}

.btn-close {
    filter: invert(1) grayscale(1);
}

.wh-auth-modal {
    border: 0;
    border-radius: 16px;
    box-shadow: var(--wh-shadow);
    background: var(--wh-card);
}

    .wh-auth-modal .modal-header {
        padding: 20px 24px 0;
    }

    .wh-auth-modal .modal-title {
        font-size: 22px;
        font-weight: 700;
        color: var(--wh-text-strong);
    }

    .wh-auth-modal .modal-body {
        padding: 16px 24px 24px;
    }

    .wh-auth-modal .form-label {
        font-size: 14px;
        font-weight: 600;
        color: var(--wh-muted-strong);
        margin-bottom: 6px;
    }

    .wh-auth-modal .form-control {
        height: 48px;
        border: 1px solid transparent;
        border-radius: 24px;
        background: var(--wh-input);
        padding: 0 16px;
        font-size: 14px;
        color: var(--wh-text);
    }

        .wh-auth-modal .form-control:hover {
            background: var(--wh-input-hover);
        }

        .wh-auth-modal .form-control:focus {
            background: var(--wh-input-hover);
            border-color: var(--wh-accent);
            box-shadow: 0 0 0 3px var(--wh-accent-dim);
        }

    .wh-auth-modal .btn-primary {
        height: 40px;
        margin-top: 8px;
        font-size: 14px;
        font-weight: 700;
    }

    .wh-auth-modal .text-muted {
        text-align: center;
    }

        .wh-auth-modal .text-muted a {
            color: var(--wh-accent);
            font-weight: 600;
            text-decoration: none;
        }

            .wh-auth-modal .text-muted a:hover {
                text-decoration: underline;
            }

#editor {
    min-height: 280px;
    background: var(--wh-input);
    color: var(--wh-text);
}

.alert-success {
    background: var(--wh-accent-dim);
    border-color: var(--wh-accent);
    color: var(--wh-accent-hover);
}

.alert-danger {
    background: var(--wh-danger-dim);
    border-color: var(--wh-danger);
    color: var(--wh-danger);
}

.badge.text-bg-secondary,
.badge.text-bg-dark {
    background: var(--wh-pill) !important;
    color: var(--wh-text) !important;
}

.badge.text-bg-danger {
    background: var(--wh-danger-dim) !important;
    color: var(--wh-danger) !important;
}

.badge.text-bg-warning {
    background: rgba(255, 184, 77, 0.16) !important;
    color: #ffb84d !important;
}

.wh-flair-pill {
    pointer-events: none;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.wh-search {
    max-width: 28rem;
}

    .wh-search .form-control {
        background: #161a22;
        border-color: #2a3140;
        color: #eef1f6;
    }

.wh-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: .25rem;
    border: 1px solid #2a3140;
    border-radius: 8px;
    background: #161a22;
    color: #eef1f6;
    font-size: 1.35rem;
    line-height: 1;
}

.wh-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    padding: .75rem 1rem 1rem;
    border-top: 1px solid #2a3140;
}

    .wh-mobile-nav a,
    .wh-mobile-nav button {
        color: #eef1f6;
        text-decoration: none;
        text-align: left;
    }

@media (min-width: 768px) {
    .wh-burger {
        display: none;
    }
}
