:root {
    --bg: #f2ede4;
    --surface: #fbf8f2;
    --surface-strong: #ffffff;
    --text: #1a1a1a;
    --muted: #666154;
    --border: #d7cfbf;
    --red: #9f1f22;
    --blue: #1e4f7a;
    --gold: #8e6b16;
    --green: #14b864;
    --shadow: 0 18px 40px rgba(38, 28, 12, 0.08);
    --admin-bg: #f6f8fb;
    --admin-surface: #ffffff;
    --admin-border: #dbe2ea;
    --admin-text: #172230;
    --admin-muted: #617284;
}

/* quick choice final overrides */
.featured-discussion {
    gap: 3.1rem !important;
}

.featured-discussion .featured-side-card {
    min-height: var(--card-h, 300px);
}

.featured-discussion .featured-side-card .quick-choice-thumb {
    min-height: var(--card-h, 300px);
}

.featured-discussion .featured-side-card .quick-choice-copy strong {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.featured-discussion .special .quick-choice-copy strong {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
}

@keyframes qb-meta-reveal {
    from { opacity: 0; transform: scaleY(0.8); }
    to   { opacity: 1; transform: scaleY(1); }
}

@keyframes qb-progress-pop {
    0%   { opacity: 1; transform: scale(1); }
    35%  { opacity: 0.35; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

.featured-discussion .archive-meta {
    padding-top: 0.5rem;
    transform-origin: top center;
}

.featured-discussion .archive-meta.is-revealed {
    animation: qb-meta-reveal 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

#qb-progress.is-updating {
    animation: qb-progress-pop 150ms ease-out;
}

.featured-discussion .archive-meta-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding-bottom: 0.4rem;
}

.featured-discussion .archive-percent {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.featured-discussion .archive-percent-left {
    padding-left: 20px;
}

.featured-discussion .archive-percent-right {
    padding-right: 20px;
}

.featured-discussion .is-voted-left .quick-choice-summary,
.featured-discussion .is-voted-right .quick-choice-summary {
    display: none;
}

.featured-discussion .quick-choice-voted-note {
    display: none !important;
}

/* ── Quick Comment Modal ─────────────────────────────────────────────────── */
#quick-comment-modal {
    border: none;
    border-radius: 12px;
    padding: 0;
    width: min(480px, calc(100vw - 2rem));
    background: var(--surface-strong);
    box-shadow: 0 24px 64px rgba(38, 28, 12, 0.18);
    max-height: 90dvh;
    overflow-y: auto;
}

#quick-comment-modal::backdrop {
    background: rgba(26, 26, 26, 0.55);
    backdrop-filter: blur(2px);
}

.quick-comment-inner {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
}

.quick-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
}

.quick-comment-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--muted);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    line-height: 1;
    transition: background 150ms;
}

.quick-comment-close:hover {
    background: var(--bg);
}

#quick-comment-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#quick-comment-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.875rem;
    color: var(--muted);
    font-family: 'Manrope', sans-serif;
}

#quick-comment-form input[type="text"],
#quick-comment-form textarea {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--surface);
    color: var(--text);
    transition: border-color 150ms;
    resize: vertical;
}

#quick-comment-form input[type="text"]:focus,
#quick-comment-form textarea:focus {
    outline: none;
    border-color: var(--red);
}

.bonus-choice-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.qc-fighter-btn {
    flex: 1;
    min-width: 100px;
    padding: 0.45rem 0.75rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
    font-size: 0.85rem;
    font-family: 'Manrope', sans-serif;
    transition: border-color 150ms, background 150ms;
    text-align: center;
}

.qc-fighter-btn:hover {
    border-color: var(--muted);
}

.qc-fighter-btn.is-selected-red {
    border-color: var(--red);
    background: rgba(159, 31, 34, 0.07);
    color: var(--red);
    font-weight: 600;
}

.qc-fighter-btn.is-selected-blue {
    border-color: var(--blue);
    background: rgba(30, 79, 122, 0.07);
    color: var(--blue);
    font-weight: 600;
}

.spam-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Done / all-battles-voted state */
#qb-done-msg {
    text-align: center;
    color: var(--muted);
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    padding: 1rem 0 0.5rem;
    opacity: 0;
    transition: opacity 400ms;
}

#qb-done-msg.is-visible {
    opacity: 1;
}

.featured-discussion.is-done .quick-choice-card {
    opacity: 0.25 !important;
    pointer-events: none !important;
    filter: grayscale(0.5);
}

.featured-discussion {
    transition: none;
}

/* ── end Quick Comment Modal ─────────────────────────────────────────────── */

.featured-discussion .quick-choice-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.featured-discussion .quick-choice-thumb {
    transition:
        box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 260ms ease;
}

.featured-discussion .quick-choice-card:has(.quick-choice-vote-left:hover) .quick-choice-thumb-left,
.featured-discussion .quick-choice-card:has(.quick-choice-vote-left:focus-within) .quick-choice-thumb-left {
    box-shadow: 0 0 0 0 rgba(159, 31, 34, 0.9), 0 0 60px rgba(159, 31, 34, 0.9) !important;
}

.featured-discussion .quick-choice-card:has(.quick-choice-vote-left:hover) .quick-choice-thumb-right,
.featured-discussion .quick-choice-card:has(.quick-choice-vote-left:focus-within) .quick-choice-thumb-right {
    box-shadow: 0 0 0 1px rgba(30, 79, 122, 0.26), 0 0 18px rgba(30, 79, 122, 0.14) !important;
}

.featured-discussion .quick-choice-card:has(.quick-choice-vote-right:hover) .quick-choice-thumb-right,
.featured-discussion .quick-choice-card:has(.quick-choice-vote-right:focus-within) .quick-choice-thumb-right {
    box-shadow: 0 0 0 0 rgba(30, 79, 122, 0.9), 0 0 60px rgba(30, 79, 122, 0.9) !important;
}

.featured-discussion .quick-choice-card:has(.quick-choice-vote-right:hover) .quick-choice-thumb-left,
.featured-discussion .quick-choice-card:has(.quick-choice-vote-right:focus-within) .quick-choice-thumb-left {
    box-shadow: 0 0 0 1px rgba(159, 31, 34, 0.26), 0 0 18px rgba(159, 31, 34, 0.14) !important;
}

/* quick choice polish */
.featured-discussion {
    gap: 3.1rem;
}

.quick-choice-card {
    position: relative;
}

.quick-choice-copy {
    display: block;
    text-align: center;
    color: inherit;
}

.quick-choice-vote {
    margin: 0;
}

.quick-choice-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    transition:
        box-shadow 320ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 260ms ease,
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.quick-choice-card:has(.quick-choice-vote-left:hover) .quick-choice-thumb-left,
.quick-choice-card:has(.quick-choice-vote-left:focus-within) .quick-choice-thumb-left {
    box-shadow: 0 0 0 1px rgba(159, 31, 34, 0.42), 0 0 22px rgba(159, 31, 34, 0.24);
    transform: none;
}

.quick-choice-card:has(.quick-choice-vote-left:hover) .quick-choice-thumb-right,
.quick-choice-card:has(.quick-choice-vote-left:focus-within) .quick-choice-thumb-right {
    box-shadow: 0 0 0 1px rgba(30, 79, 122, 0.26), 0 0 18px rgba(30, 79, 122, 0.14);
}

.quick-choice-card:has(.quick-choice-vote-right:hover) .quick-choice-thumb-right,
.quick-choice-card:has(.quick-choice-vote-right:focus-within) .quick-choice-thumb-right {
    box-shadow: 0 0 0 1px rgba(30, 79, 122, 0.42), 0 0 22px rgba(30, 79, 122, 0.24);
    transform: none;
}

.quick-choice-card:has(.quick-choice-vote-right:hover) .quick-choice-thumb-left,
.quick-choice-card:has(.quick-choice-vote-right:focus-within) .quick-choice-thumb-left {
    box-shadow: 0 0 0 1px rgba(159, 31, 34, 0.26), 0 0 18px rgba(159, 31, 34, 0.14);
}

.featured-stage-battle {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 980px) {
    .featured-stage-battle {
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .home-lead {
        padding-right: 0 !important;
    }

    .featured-stage-battle {
        gap: 0.85rem;
    }
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--text);
    font-family: "Manrope", sans-serif;
	font-weight:100;
	background: linear-gradient(90deg,#fafafa,#f5f2ed 62.5%,#f5f2ed) !important;
/*    background:
        radial-gradient(circle at top left, rgba(159, 31, 34, 0.08), transparent 32%),
        linear-gradient(180deg, #f6f1e8 0%, #f0eadd 100%); */
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.featured-battle-shell.container {
    width: min(990px, calc(100% - 2rem));
}

/* hidden game modes */
.mode-battle-page {
    margin-top: 2rem;
}

.mode-battle-header {
    text-align: center;
}

.mode-battle-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    transition: opacity 2.5s ease;
}

.mode-fighter-card {
    cursor: pointer;
}

.mode-fighter-visual {
    min-height: 460px;
}

.mode-center-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: none;
    box-shadow: none;
    text-align: center;
}

.mode-center-display {
    margin: 0;
    /* font-size: 10em; */
    line-height: 0.82;
}

.mode-center-vs,
.mode-center-title,
.mode-center-picked {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.mode-center-vs {
    width: 120px;
    max-width: 100%;
    margin: 0 auto;
}

.mode-center-picked {
    font-size: clamp(1.1rem, 2vw, 2rem);
    line-height: 0.95;
}

.mode-center-title {
    font-size: clamp(1.8rem, 4.5vw, 3.6rem);
    font-weight: 800;
    line-height: 0.95;
}

.mode-center-title[hidden],
.mode-center-picked[hidden] {
    display: none;
}

.mode-center-copy {
    margin: 0.25rem 0 0;
    color: var(--muted);
}

.mode-stat-line {
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.mode-queue {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.mode-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(18, 22, 28, 0.1);
    font-size: 0.8rem;
    font-family: "Manrope", sans-serif;
}

.mode-action-row {
    display: flex;
    justify-content: center;
}

[data-mode-gauntlet-restart-row][hidden] {
    display: none;
}

.mode-battle-page-gauntlet .mode-battle-stage[data-gauntlet-state="done"] {
    display: flex;
    justify-content: center;
    text-align: center;
}

.mode-battle-page-gauntlet .mode-battle-stage[data-gauntlet-state="done"] .mode-center-card {
    align-items: center;
}

.mode-battle-page-gauntlet .mode-battle-stage[data-gauntlet-state="done"] .mode-center-display {
    display: none;
}

.mode-battle-page-gauntlet [data-mode-gauntlet-summary] {
    margin-top: 50px;
    text-align: center;
}

.mode-battle-page-gauntlet [data-mode-gauntlet-summary] p {
    margin: 0 0 18px;
}

.mode-battle-page-gauntlet [data-mode-gauntlet-restart-row] {
    margin-top: 50px;
}

.mode-battle-page .battle-fighter-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0;
    padding: 0.9rem 0 0.95rem;
}

.mode-battle-page .battle-fighter-score {
    line-height: 1;
}

.mode-battle-page-gauntlet .battle-fighter-body {
    padding: 0.95rem 1rem 0.35rem;
    min-height: 0;
}

.mode-battle-page-king .battle-fighter-body {
    padding: 0.95rem 1rem 0.35rem;
    min-height: 0;
}

.mode-battle-page-gauntlet .battle-fighter-body h2 {
    margin: 0;
    text-align: center;
}

.mode-battle-page-king .battle-fighter-body h2 {
    margin: 0;
    text-align: center;
}

.mode-battle-page-gauntlet .battle-fighter-body p {
    display: none;
}

.mode-battle-page-king .battle-fighter-body p {
    display: none;
}

.mode-battle-page-gauntlet .battle-fighter-footer {
    display: none;
}

.mode-battle-page-king .battle-fighter-footer {
    display: none;
}

.mode-battle-page-gauntlet [data-mode-center-title],
.mode-battle-page-gauntlet [data-mode-center-copy],
.mode-battle-page-gauntlet [data-mode-center-stats],
.mode-battle-page-gauntlet [data-mode-queue] {
    display: none;
}

.mode-battle-page-king [data-mode-center-title],
.mode-battle-page-king [data-mode-center-copy],
.mode-battle-page-king [data-mode-center-stats],
.mode-battle-page-king [data-mode-queue] {
    display: none;
}

.mode-battle-page-gauntlet [data-mode-side="right"] {
    display: none;
}

.mode-anchor-pick {
    margin: 1.5rem 0 2rem;
    text-align: center;
}

.mode-battle-page-gauntlet .mode-fighter-visual .mode-anchor-pick {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1.25rem;
    text-align: left;
}

.mode-battle-page-gauntlet .mode-fighter-visual .mode-anchor-pick[hidden] {
    display: none;
}

.mode-anchor-list {
    display: flex;
    flex-direction: row;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mode-battle-page-gauntlet .mode-fighter-visual .mode-anchor-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
}

.mode-battle-page-gauntlet .mode-fighter-visual .mode-anchor-pick .whois-answer-pill {
    width: 100%;
}

.mode-battle-page-gauntlet .mode-fighter-visual .mode-anchor-pick .whois-answer-text {
    color: var(--text);
    letter-spacing: 0;
    text-transform: none;
}

.mode-battle-page-gauntlet .mode-fighter-visual .mode-anchor-pick .mode-anchor-more {
    margin-top: 1rem;
}

.mode-battle-page-gauntlet .mode-battle-stage[data-gauntlet-state="pick"] [data-mode-placeholder-left],
.mode-battle-page-gauntlet .mode-battle-stage[data-gauntlet-state="loading"] [data-mode-placeholder-left],
.mode-battle-page-gauntlet .mode-battle-stage[data-gauntlet-state="pick"] .mode-challenger-loading p {
    display: none;
}

.mode-battle-page-gauntlet .mode-battle-stage[data-gauntlet-state="pick"] .mode-challenger-loading {
    padding: 0;
    min-height: 100%;
    justify-content: center;
}

.mode-challenger-zone {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 0.75rem;
    overflow: visible;
}

.mode-challenger-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem 0;
}

.mode-challenger-loading[hidden],
.mode-challenger-cards[hidden] {
    display: none;
}

.mode-challenger-cards {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: stretch;
    overflow: visible;
    width: max-content;
    max-width: none;
}

.mode-challenger-cards .mode-fighter-card {
    flex-shrink: 0;
}

.mode-streak-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-align: center;
}

.mode-streak-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.mode-streak-meta strong {
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
}

.mode-battle-page-blind .battle-fighter-body {
    padding: 0.95rem 0 1rem;
    min-height: 0;
}

.mode-battle-page-blind .battle-fighter-body h2 {
    margin: 0;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
}

.mode-battle-page-blind .battle-fighter-body p,
.mode-battle-page-blind .battle-fighter-footer {
    display: none;
}

.mode-battle-page-blind .fighter-visual span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10rem;
    line-height: 1;
    text-align: center;
}

.mode-battle-page-blind .fighter-visual span[hidden],
.mode-battle-page-blind .mode-center-vs[hidden],
.mode-battle-page-blind .mode-center-picked[hidden] {
    display: none;
}

.mode-battle-page-blind .mode-fighter-visual img,
.mode-battle-page-blind .mode-fighter-visual .random-fighter-placeholder {
    transition: opacity 0.38s ease;
    will-change: opacity;
}

.mode-battle-page-blind .mode-fighter-card[data-blind-hidden="1"] .mode-fighter-visual img {
    opacity: 0;
}

.mode-battle-page-blind .mode-fighter-card[data-blind-hidden="1"] .mode-fighter-visual .random-fighter-placeholder {
    opacity: 1;
}

.mode-battle-page-blind .mode-fighter-card[data-blind-hidden="0"] .mode-fighter-visual img {
    opacity: 1;
}

.mode-battle-page-blind .mode-fighter-card[data-blind-hidden="0"] .mode-fighter-visual .random-fighter-placeholder {
    opacity: 0;
}

.mode-battle-page-blind .fighter-nameplate,
.mode-battle-page-blind .mode-fighter-visual .random-fighter-placeholder,
.mode-battle-page-blind .mode-center-vs,
.mode-battle-page-blind .mode-center-picked,
.mode-battle-page-blind [data-mode-center-kicker] {
    transition: opacity 0.22s ease;
}

.mode-battle-page-approval .mode-battle-stage {
    grid-template-columns: minmax(120px, 200px) minmax(280px, 400px) minmax(120px, 200px);
    align-items: center;
    justify-content: center;
}

.mode-approval-center-column {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mode-approval-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.mode-approval-filter {
    position: relative;
    border: 1px solid rgba(18, 22, 28, 0.12);
    cursor: pointer;
}

.mode-approval-filter[data-state="active"] {
    border-color: rgba(20, 184, 100, 0.55);
    background: rgba(20, 184, 100, 0.1);
    color: #0f7a42;
}

.mode-approval-filter::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 20;
    bottom: calc(100% + 8px);
    left: 50%;
    width: max-content;
    max-width: min(260px, 80vw);
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    background: rgba(18, 22, 28, 0.92);
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.mode-approval-filter:hover::after,
.mode-approval-filter:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.mode-battle-page-approval .mode-approval-subject-card {
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow);
    text-align: initial;
}

.mode-battle-page-approval .mode-approval-choice-card .fighter-nameplate {
    display: none;
}

.mode-battle-page-approval .mode-approval-choice-card .battle-fighter-body {
    display: none;
}

.mode-battle-page-approval .mode-approval-choice-card .mode-fighter-visual {
    min-height: 230px;
}

.mode-battle-page-approval .mode-approval-subject-card .mode-fighter-visual {
    min-height: 460px;
}

.mode-battle-page-approval .battle-fighter-body {
    padding: 0.95rem 0 1rem;
    min-height: 0;
}

.mode-battle-page-approval .battle-fighter-body h2 {
    margin: 0;
    font-size: 1.15rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mode-battle-page-approval .battle-fighter-body p,
.mode-battle-page-approval .battle-fighter-footer {
    display: none;
}

.mode-battle-page-approval .mode-approval-choice-card .fighter-visual span {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 0 1rem;
    font-size: 3.75rem;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    text-align: center;
}

.mode-battle-page-approval .mode-approval-subject-card .fighter-visual span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10rem;
    line-height: 1;
    text-align: center;
}

.mode-battle-page-approval .fighter-visual span[hidden] {
    display: none;
}

.whois-page {
    margin-top: 2rem;
}

.whois-header {
    text-align: center;
}

.whois-header .lede {
    max-width: min(760px, 92%);
    margin-left: auto !important;
    margin-right: auto !important;
    line-height: 1.52;
}

.whois-shell {
    width: min(980px, 100%);
    margin: 0 auto;
}

.whois-board {
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
    align-items: start;
    transition: opacity 360ms ease, transform 360ms ease;
}

.whois-composition.is-fading {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
}

.whois-portrait-card,
.whois-panel,
.whois-empty-card {
    min-height: 100%;
}

.whois-portrait-card {
    max-width: 340px;
    display: flex;
    flex-direction: column;
}

.whois-portrait-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 1rem 1rem 1.25rem;
}

.whois-streak-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-align: center;
}

.whois-streak-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.whois-streak-meta strong {
    color: var(--text);
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    line-height: 1;
}

.whois-portrait-frame {
    min-height: 0;
}

.whois-portrait-frame img,
.whois-portrait-frame .random-fighter-placeholder {
    width: 100%;
    height: 100%;
}

.whois-portrait-frame .random-fighter-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(4rem, 9vw, 6rem);
}

.whois-portrait-frame img,
.whois-portrait-frame .random-fighter-placeholder {
    transition: opacity 0.32s ease;
}

.whois-portrait-card[data-blind-hidden="1"] .whois-portrait-frame img {
    opacity: 0;
}

.whois-portrait-card[data-blind-hidden="1"] .whois-portrait-frame .random-fighter-placeholder {
    opacity: 1;
}

.whois-portrait-card[data-blind-hidden="0"] .whois-portrait-frame img {
    opacity: 1;
}

.whois-portrait-card[data-blind-hidden="0"] .whois-portrait-frame .random-fighter-placeholder {
    opacity: 0;
}

.whois-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    align-self: stretch;
    justify-content: center;
    padding: 0;
    max-width: 560px;
}

.whois-hint {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    line-height: 1.5;
    color: var(--text);
    min-height: 4.8em;
    max-width: 36ch;
}

.whois-status {
    margin: 0;
    min-height: 1.4em;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 1rem;
}

.whois-status[data-tone="neutral"] {
    color: var(--muted);
}

.whois-status[data-tone="success"] {
    color: #0f8f4d;
}

.whois-status[data-tone="error"] {
    color: #9f1f22;
}

.whois-answer-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
}

.whois-answer-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid rgba(215, 207, 191, 0.95);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(38, 28, 12, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease, opacity 180ms ease;
}

.whois-answer-pill:hover:not(:disabled),
.whois-answer-pill:focus-visible:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(20, 184, 100, 0.48);
    box-shadow: 0 18px 34px rgba(38, 28, 12, 0.08);
    outline: none;
}

.whois-answer-pill:disabled {
    cursor: default;
}

.whois-answer-dot {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #14b864;
    box-shadow: 0 0 0 4px rgba(20, 184, 100, 0.12), 0 0 16px rgba(20, 184, 100, 0.45);
    transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.whois-answer-text {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.whois-answer-pill.is-sequencing .whois-answer-dot {
    animation: whois-dot-sequence 720ms ease-in-out infinite;
    animation-delay: calc(var(--answer-index) * 140ms);
}

.whois-answer-pill[data-state="correct"] {
    border-color: rgba(20, 184, 100, 0.55);
    background: rgba(20, 184, 100, 0.08);
    box-shadow: 0 14px 28px rgba(20, 184, 100, 0.14);
}

.whois-answer-pill[data-state="correct"] .whois-answer-dot {
    background: #14b864;
    box-shadow: 0 0 0 4px rgba(20, 184, 100, 0.16), 0 0 18px rgba(20, 184, 100, 0.52);
}

.whois-answer-pill[data-state="wrong"] {
    border-color: rgba(159, 31, 34, 0.48);
    background: rgba(159, 31, 34, 0.08);
    color: #7e171a;
    box-shadow: 0 14px 28px rgba(159, 31, 34, 0.12);
}

.whois-answer-pill[data-state="wrong"] .whois-answer-dot {
    background: #c43d41;
    box-shadow: 0 0 0 4px rgba(196, 61, 65, 0.16), 0 0 18px rgba(196, 61, 65, 0.42);
}

.whois-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.whois-confetti-piece {
    position: absolute;
    top: 28%;
    width: 10px;
    height: 16px;
    border-radius: 999px;
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(0.85);
    animation: whois-confetti-burst 900ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.whois-empty-card {
    max-width: 640px;
    margin: 0 auto;
}

@keyframes whois-dot-sequence {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    40% {
        opacity: 0.2;
        transform: scale(0.78);
    }
    70% {
        opacity: 1;
        transform: scale(1.18);
    }
}

@keyframes whois-confetti-burst {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.85);
    }
    12% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(calc(var(--confetti-x) * 120px), 170px, 0) rotate(var(--confetti-rotate)) scale(1);
    }
}

.mode-blind-reveal-prep .fighter-nameplate,
.mode-blind-reveal-prep .mode-center-vs,
.mode-blind-reveal-prep .mode-center-picked,
.mode-blind-reveal-prep [data-mode-center-kicker] {
    opacity: 0;
}

.mode-blind-reveal-active .fighter-nameplate,
.mode-blind-reveal-active .mode-center-vs,
.mode-blind-reveal-active .mode-center-picked,
.mode-blind-reveal-active [data-mode-center-kicker] {
    animation: mode-reveal-fade 0.22s ease both;
}

@keyframes mode-reveal-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mode-stage-fading {
    opacity: 0;
}

@media (max-width: 980px) {
    .mode-battle-stage {
        grid-template-columns: 1fr;
    }

    .mode-battle-page-approval .mode-battle-stage {
        grid-template-columns: 1fr;
    }

    .mode-fighter-visual {
        min-height: 320px;
    }

    .whois-board {
        grid-template-columns: 1fr;
    }

    .whois-portrait-card {
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .whois-streak-meta {
        align-self: center;
    }
}

.fighters-grid {
    align-items: stretch;
}

.fighter-directory-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fighter-directory-media {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.5);
}

.fighter-directory-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fighter-directory-meta {
    align-items: center;
}

.fighter-profile-shell {
    width: min(990px, calc(100% - 2rem));
}

.fighter-profile-card {
    display: grid;
    gap: 1.25rem;
}

.fighter-profile-hero {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.fighter-profile-media {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    aspect-ratio: 4 / 5;
}

.fighter-profile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fighter-profile-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    font-family: "Manrope", sans-serif;
    color: var(--muted);
}

.fighter-profile-copy {
    display: grid;
    gap: 1rem;
}

.fighter-profile-copy p {
    margin: 0;
}

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

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

.fighter-stat-card,
.fighter-timeline-card {
    background: rgba(255, 255, 255, 0.42);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

.fighter-stat-card strong {
    display: block;
    font-size: 1.5rem;
    margin-top: 0.35rem;
}

.fighter-timeline {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: end;
    min-height: 180px;
}

.fighter-timeline-point {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
}

.fighter-timeline-bar-wrap {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: end;
}

.fighter-timeline-bar {
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(159, 31, 34, 0.88), rgba(30, 79, 122, 0.82));
}

.fighter-timeline-value,
.fighter-timeline-date {
    font-family: "Manrope", sans-serif;
    font-size: 0.75rem;
    color: var(--muted);
}

.fighter-battles-intro {
    margin-top: 4rem;
}

.fighter-report-link {
    margin-top: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.fighter-report-link a {
    font-family: "Manrope", sans-serif;
}

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

    .fighter-profile-media {
        max-width: 420px;
    }

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

    .fighter-timeline {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

.home-lead.container {
    width: min(1320px, calc(100% - 2rem));
}

.section-grid.container {
    width: min(1320px, calc(100% - 2rem));
}

.split-section.container,
.fast-strip.container {
    width: min(1320px, calc(100% - 2rem));
}

.masthead {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
/*    background: rgba(246, 241, 232, 0.85);
    border-bottom: 1px solid rgba(215, 207, 191, 0.8); */
}

.masthead-inner, .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.masthead-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 0.35rem 0;
}

.brand, .admin-brand {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 2;
}

.brand-image img {
    width: 240px;
    height: auto;
}

.main-nav, .admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.main-nav {
    justify-content: flex-end;
    align-items: center;
    grid-column: 3;
    justify-self: end;
}

.main-nav a, .admin-nav a, .ghost-link {
    color: var(--muted);
    font-family: "Manrope", sans-serif;
}

.locale-switcher {
    position: relative;
    display: inline-block;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(32, 20, 10, 0.12);
}

.locale-switcher summary {
    list-style: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.locale-switcher summary::-webkit-details-marker {
    display: none;
}

.locale-switcher-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.35rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(32, 20, 10, 0.12);
}

.locale-switcher-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
}

.locale-switcher-menu a.is-active {
    background: rgba(32, 20, 10, 0.08);
}

.site-main { padding: 2rem 0 4rem; }
.hero-panel, .battle-page, .comments-shell, .proposal-page, .page-intro, .split-section, .fast-strip { margin-top: 2rem; }

.home-lead {
    margin-top: 0.5rem;
    text-align: left;
    padding-right: 33%;
}

.home-lead .eyebrow {
    margin-bottom: 0.35rem;
}

.home-lead h1 {
    margin-top: 0;
    font-size: clamp(1.5rem, 3vw, 5.35rem);
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

.home-lead-intro {
    margin: 1rem 0 0;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    line-height: 1.45;
    font-weight: 600;
}

.home-lead-description {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    line-height: 1.45;
}

.hero-copy h1, .battle-header h1, .page-intro h1 {
    margin: 0 0 20px 0;
    font-size: clamp(2.75rem, 4vw, 5rem);
    line-height: 0.95;
}

.battle-header {
    text-align: center;
}

.battle-header .lede {
    margin: 20px auto !important;
    max-width: 75%;
    line-height: 1.25;
    text-align: center;
}

.random-battle-header {
    text-align: center;
}

.random-battle-header .eyebrow {
    margin-left: auto;
    margin-right: auto;
}

.random-battle-dice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.random-battle-dice:disabled {
    cursor: default;
}

.random-battle-dice img {
    display: block;
    width: 84px;
    height: 84px;
}

.random-battle-dice.is-rolling img {
    animation: random-battle-dice-roll 2s cubic-bezier(0.22, 0.86, 0.32, 1) 1;
}

.random-fighter-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.random-fighter-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: "Manrope", sans-serif;
    font-size: clamp(5rem, 11vw, 8rem);
    font-weight: 800;
    line-height: 1;
    color: rgba(26, 26, 26, 0.18);
}

.random-fighter-visual img[hidden],
.random-fighter-placeholder[hidden] {
    display: none;
}

@keyframes random-battle-dice-roll {
    0% {
        transform: rotate(0deg) scale(1);
    }
    18% {
        transform: rotate(180deg) scale(1.08);
    }
    52% {
        transform: rotate(720deg) scale(0.96);
    }
    100% {
        transform: rotate(1080deg) scale(1);
    }
}

.random-fighter-body {
    min-height: 96px;
    justify-content: center;
}

.random-fighter-body h2 {
    margin: 0;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--red);
    font-family: "Manrope", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lede {
    max-width: 75%;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-actions, .section-header { margin-top: 1.5rem; }

.hero-meta, .battle-ribbon-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.hero-meta-card, .battle-ribbon {
    min-width: 150px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(215, 207, 191, 0.9);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: var(--shadow);
}

.hero-meta-label, .battle-ribbon span {
    display: block;
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.button-primary, .button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
	cursor: pointer;
}

.button-primary { background: var(--text); color: #fff; }
.button-secondary { margin-left: 0; border-color: var(--border); background: rgba(255, 255, 255, 0.65); }

.featured-battle-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.56fr) minmax(320px, 0.76fr);
    gap: 2.8rem;
    align-items: stretch;
    margin-top: 1.1rem;
}

/* polish pass: home hero start */
.home-lead .eyebrow {
    color: rgba(159, 31, 34, 0.92);
    letter-spacing: 0.22em;
}

.home-lead h1 {
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.38);
}

.featured-battle-shell {
    align-items: start;
}

.featured-stage {
    background: transparent;
    box-shadow: none;
}

.featured-stage-comments {
    gap: 0.55rem;
}

.featured-stage .fighter-card {
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 20px 42px rgba(38, 28, 12, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.fighter-nameplate {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.fighter-score-row p {
    letter-spacing: -0.02em;
}

.featured-discussion {
    gap: 1rem;
}

.mini-battle-card {
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.mini-battle-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.mini-battle-copy strong {
    font-size: 0.94rem;
}

.home-reaction-card {
    border-radius: 16px;
    margin-bottom: 5px;
}

.home-reaction-card p {
    color: #4f493d;
}

.home-no-comments {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0.5rem 0 0;
}
/* polish pass: home hero end */

.battle-stage,
.featured-stage {
    position: relative;
    display: grid;
    gap: 1.5rem;
}

.featured-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    justify-content: center;
    padding: 0;
    gap: 2.5rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.featured-stage-comments {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 0.35rem 0;
    margin-top: -1.1rem;
}

.featured-stage > .fighter-card,
.featured-stage > .fighter-vote-form {
    transform: none;
}

.fighter-vote-form {
    display: block;
    margin: 0;
    width: 100%;
    justify-self: stretch;
}

.fighter-card-button {
    width: 100%;
    padding: 0;
    text-align: inherit;
    cursor: pointer;
    appearance: none;
    position: relative;
}

.fighter-card-button:focus-visible {
    outline: 2px solid rgba(26, 26, 26, 0.45);
    outline-offset: 4px;
}

.fighter-card-button::after {
    content: "Гласувай";
    position: absolute;
    left: 50%;
    bottom: 6rem;
    transform: translateX(-50%);
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 26, 26, 0.14);
    background: rgba(255, 255, 255, 0.9);
    color: rgba(26, 26, 26, 0.88);
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-stage-versus {
    position: absolute;
    left: 50%;
    top: var(--featured-vs-top, 41%);
    transform: translate(-50%, -100%) rotate(0deg);
    z-index: 5;
    pointer-events: none;
    opacity: 0.7;
    transition: none;
}

.featured-stage-versus img {
    width: min(156px, 14vw);
    min-width: 118px;
}

.featured-stage-bg-fade {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    display: block;
    top: -50px;
    z-index: -1;
    width: 300px !important;
    height: 250px !important;
    opacity: 95%;
}

.featured-stage-versus::before {
    content: none;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 170px;
    opacity: 0;
    transform: translate(-50%, -50%) skewX(-18deg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 244, 186, 0.95), rgba(255, 255, 255, 0));
    filter: blur(0.5px) drop-shadow(0 0 18px rgba(255, 232, 141, 0.75));
    transition: opacity 140ms ease;
    pointer-events: none;
}

.fighter-card, .battle-fighter, .battle-card, .split-card, .comment-form-card, .comment-card {
    background: rgba(255, 255, 255, 0.58);
    border: 0;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.fighter-card, .battle-fighter { overflow: hidden; }

.featured-stage .fighter-card {
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 220ms ease,
        box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1),
        outline-color 220ms ease;
}

.featured-stage:has(.fighter-vote-form-left:hover) .fighter-card-left {
    transform: scale(0.95);
    box-shadow: 0 28px 52px rgba(159, 31, 34, 0.14);
    outline-color: rgba(159, 31, 34, 0.38);
}

.featured-stage:has(.fighter-vote-form-left:hover) .fighter-card-right {
    filter: brightness(0.88) saturate(0.86);
}

.featured-stage:has(.fighter-vote-form-right:hover) .fighter-card-right {
    transform: scale(0.95);
    box-shadow: 0 28px 52px rgba(30, 79, 122, 0.14);
    outline-color: rgba(30, 79, 122, 0.34);
}

.featured-stage:has(.fighter-vote-form-right:hover) .fighter-card-left {
    filter: brightness(0.88) saturate(0.86);
}

.featured-stage:has(.fighter-vote-form-left:hover) .fighter-vote-form-left .fighter-card-button::after,
.featured-stage:has(.fighter-vote-form-right:hover) .fighter-vote-form-right .fighter-card-button::after {
    opacity: 0.6;
    transform: translateX(-50%) translateY(-4px);
}

.fighter-nameplate {
    padding: 1rem 1rem 0.35rem;
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.fighter-visual {
    aspect-ratio: 4 / 4.8;
    width: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #d7d7d7, #f1f1f1);
    position: relative;
    overflow: hidden;
}

.fighter-visual::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.08);
}

.fighter-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(18, 14, 9, 0.28));
}

.fighter-visual span {
    position: relative;
    z-index: 1;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.92);
    text-transform: uppercase;
}

.fighter-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
    transform: scale(1.005);
}

.fighter-card-body, .battle-fighter-body { padding: 1.15rem 1.1rem 1.25rem; }
.fighter-card-red, .battle-fighter-red { outline: 2px solid rgba(159, 31, 34, 0.22); }
.fighter-card-blue, .battle-fighter-blue { outline: 2px solid rgba(30, 79, 122, 0.2); }
.fighter-card-gold, .battle-fighter-gold { outline: 2px solid rgba(142, 107, 22, 0.24); }
.battle-fighter-green { outline: 2px solid rgba(20, 184, 100, 0.22); }
.fighter-card-red .button-primary { background: #9f1f22; }
.fighter-card-blue .button-primary { background: #1e4f7a; }
.fighter-card-gold .button-primary { background: #8e6b16; }
.fighter-visual-red { background: linear-gradient(180deg, #c34446, #7f181c); }
.fighter-visual-blue { background: linear-gradient(180deg, #497ca6, #1f4467); }
.fighter-visual-gold { background: linear-gradient(180deg, #c7a34b, #7a5b11); }
.fighter-visual-green { background: linear-gradient(180deg, #39b86b, #0f7a42); }

.fighter-score-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: "Manrope", sans-serif;
    margin-bottom: 0.7rem;
}

.fighter-score-row-left {
    justify-content: center;
    margin-left: 0;
}

.fighter-score-row-right {
    justify-content: center;
    margin-right: 0;
}

.fighter-score-row p {
    margin: 0;
    color: var(--red);
    font-weight: 700;
    font-size: 1.3rem;
    line-height: 1;
}

.versus-pill {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 999px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.versus-badge.large {
    position: static;
    inset: auto;
    transform: rotate(12deg);
    width: 180px;
    margin: 0 auto 1rem;
}

.versus-pill.large {
    position: static;
    transform: none;
    margin: 0 auto 1rem;
}

.section-grid, .battle-grid, .admin-card-grid, .admin-stats { display: grid; gap: 1rem; }
.battle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 5rem; row-gap: 3rem; }
.battle-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.hot-battles-shell {
    margin-top: 0.5rem;
}

.hot-battles-viewport {
    position: relative;
    min-height: 420px;
}

.hot-battle-slot {
    position: absolute;
    top: 0;
}

.hot-battle-slot-active {
    left: 0;
    width: min(100%, 58%);
}

.hot-battle-slot-next {
    right: 0;
    width: min(100%, 34%);
}

.hot-battle-slot-next.is-empty {
    display: none;
}

.hot-battle-card {
    display: grid;
    gap: 1rem;
    transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), opacity 560ms ease;
}

.hot-battle-card-queued {
    opacity: 0.5;
    pointer-events: none;
}

.hot-battle-card.is-leaving {
    transform: translateX(-115%);
    opacity: 0;
}

.hot-battle-card.is-promoting {
    transform: translateX(calc(-100% - 3.5rem));
    opacity: 1;
}

.hot-battle-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.hot-battle-stage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: start;
}

.hot-battle-fighter {
    margin: 0;
    position: relative;
    overflow: visible;
}

.hot-battle-fighter-button,
.hot-battle-fighter-passive {
    display: grid;
    gap: 0.7rem;
    width: 100%;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.82);
    color: inherit;
    text-align: inherit;
    overflow: hidden;
    border-radius: 22px;
}

.hot-battle-fighter-button {
    cursor: pointer;
}

.hot-battle-fighter-button,
.hot-battle-fighter-passive {
    transition:
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 220ms ease,
        box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1),
        outline-color 220ms ease;
}

.hot-battle-fighter-name {
    display: block;
    padding-top: 15px;
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.hot-battle-fighter-visual {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.42);
    aspect-ratio: 4 / 4.9;
}

.hot-battle-fighter-red .hot-battle-fighter-button,
.hot-battle-fighter-red .hot-battle-fighter-passive {
    outline: 0;
}

.hot-battle-fighter-blue .hot-battle-fighter-button,
.hot-battle-fighter-blue .hot-battle-fighter-passive {
    outline: 0;
}

.hot-battle-stage:has(.hot-battle-vote-form-left:hover) .hot-battle-fighter-red .hot-battle-fighter-button,
.hot-battle-stage:has(.hot-battle-vote-form-left:focus-within) .hot-battle-fighter-red .hot-battle-fighter-button {
    transform: scale(0.95);
    box-shadow: 0 28px 52px rgba(159, 31, 34, 0.14);
}

.hot-battle-stage:has(.hot-battle-vote-form-left:hover) .hot-battle-fighter-blue .hot-battle-fighter-button,
.hot-battle-stage:has(.hot-battle-vote-form-left:focus-within) .hot-battle-fighter-blue .hot-battle-fighter-button {
    filter: brightness(0.88) saturate(0.86);
}

.hot-battle-stage:has(.hot-battle-vote-form-right:hover) .hot-battle-fighter-blue .hot-battle-fighter-button,
.hot-battle-stage:has(.hot-battle-vote-form-right:focus-within) .hot-battle-fighter-blue .hot-battle-fighter-button {
    transform: scale(0.95);
    box-shadow: 0 28px 52px rgba(30, 79, 122, 0.14);
}

.hot-battle-stage:has(.hot-battle-vote-form-right:hover) .hot-battle-fighter-red .hot-battle-fighter-button,
.hot-battle-stage:has(.hot-battle-vote-form-right:focus-within) .hot-battle-fighter-red .hot-battle-fighter-button {
    filter: brightness(0.88) saturate(0.86);
}

.hot-battle-fighter-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hot-battle-fighter-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.05rem 1rem 1.1rem;
}

.hot-battle-fighter-score {
    display: block;
    text-align: center;
    color: var(--red);
    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hot-battle-fighter-status,
.hot-battle-fighter-detail {
    display: block;
    text-align: center;
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    line-height: 1;
}

.hot-battle-fighter-status {
    color: var(--red);
    font-weight: 800;
    margin-top: 0.28rem;
}

.hot-battle-fighter-detail {
    color: var(--muted);
    font-weight: 800;
}

.hot-battle-versus {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.42;
}

.hot-battle-versus img {
    width: 72px;
    height: auto;
}

.vote-history-panel {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    padding: 0;
}

.section-header h3 {
    margin-bottom: 0;
}

.vote-history-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 96px;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: var(--shadow);
}

.vote-history-item strong {
    font-size: 0.95rem;
    line-height: 1.2;
}

.vote-history-item span {
    font-family: "Manrope", sans-serif;
    font-size: 0.78rem;
    color: var(--muted);
}

.vote-history-item-red {
    box-shadow: inset 0 0 0 1px rgba(159, 31, 34, 0.18), var(--shadow);
}

.vote-history-item-blue {
    box-shadow: inset 0 0 0 1px rgba(30, 79, 122, 0.18), var(--shadow);
}

.vote-history-item-gold {
    box-shadow: inset 0 0 0 1px rgba(142, 107, 22, 0.18), var(--shadow);
}

.quick-choice-card {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 1rem;
    overflow: visible;
    min-height: 200px;
}

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

.quick-choice-copy {
    text-align: center;
}

.quick-choice-copy > span {
    display: block;
    font-size: 0.75rem;
    font-family: "Manrope", sans-serif;
    line-height: 1.25;
}

.quick-choice-voted-note[hidden] {
    display: block;
    visibility: hidden;
}

.quick-choice-voted-note {
    display: block;
    margin-top: 0.2rem;
    min-height: 1.1em;
    color: var(--muted);
}

.quick-choice-thumb {
    position: relative;
    cursor: pointer;
}

.vote-toast {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.5rem);
    transform: translateX(-50%);
    padding: 0.34rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 26, 26, 0.14);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    color: rgba(26, 26, 26, 0.88);
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 220ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 3;
}

.vote-toast-red {
    background: rgba(159, 31, 34, 0.12);
    color: rgba(159, 31, 34, 0.96);
}

.vote-toast-blue {
    background: rgba(30, 79, 122, 0.12);
    color: rgba(30, 79, 122, 0.96);
}

.vote-toast.is-visible {
    opacity: 1;
}

.vote-toast-up.is-visible {
    transform: translateX(-50%) translateY(-4px);
}

.vote-toast-up.is-leaving {
    opacity: 0;
    transform: translateX(-50%) translateY(-14px);
}

.vote-toast-down.is-visible {
    transform: translateX(-50%) translateY(0);
}

.vote-toast-down.is-leaving {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
}

.quick-choice-card strong {
    font-size: 1rem;
    line-height: 1.15;
    margin-bottom: 0.45rem;
}

.quick-choice-card p {
    margin: 0;
}

.quick-choice-thumb {
    position: relative;
    align-self: stretch;
    min-height: 116px;
    overflow: visible;
}

.quick-choice-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-side-card {
    min-height: 90px;
    gap: 0.55rem;
}

.featured-side-card .quick-choice-thumb {
    min-height: 90px;
}

.featured-side-card strong {
    font-size: 0.96rem;
    margin-bottom: 0.25rem;
}

.featured-side-card p {
    font-size: 0.82rem;
    line-height: 1.25;
}

.section-grid .battle-grid {
    grid-template-columns: repeat(3, minmax(0, 0.9fr));
    justify-content: space-between;
    gap: 2rem;
}
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.battle-card.archive-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.35rem 1.2rem;
}

.battle-card.archive-card strong {
    font-size: 1.25rem;
    line-height: 1.3;
    font-family: "Manrope", sans-serif;
}

.battle-card.archive-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.archive-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 0.84rem;
}

.archive-meta-row {
    display: grid;
    grid-template-columns: 64px 1fr 64px;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
}

.archive-percent {
    font-weight: 700;
    font-size: 0.82rem;
    line-height: 1;
}

.archive-percent-left {
    text-align: left;
    color: rgb(159, 31, 34);
}

.archive-percent-right {
    text-align: right;
    color: rgb(30, 79, 122);
}

.archive-meta-voted {
    font-size: 1rem;
}

.archive-matchup {
    text-align: center;
    color: var(--text);
    font-size: 0.88rem;
    line-height: 1.2;
}

.archive-ratio {
    display: flex;
    width: 100%;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.08);
}

.archive-ratio-left {
    display: block;
    height: 100%;
    background: rgba(159, 31, 34, 0.9);
}

.archive-ratio-right {
    display: block;
    height: 100%;
    background: rgba(30, 79, 122, 0.9);
}

.empty-state-card {
    padding: 1.4rem;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow);
}

.empty-state-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.2rem;
}

.empty-state-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.featured-discussion {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding-top: 0;
    margin-top: 0;
    width: 100%;
    max-width: 344px;
    height: 100%;
    justify-self: end;
}

.discussion-card {
    display: block;
    padding: 0.25rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.discussion-card-intro {
    background: transparent;
    box-shadow: none;
}

.discussion-card-battle {
    padding: 1rem 0;
}

.discussion-card-battle strong {
    margin-bottom: 0.35rem;
}

.mini-battle-card {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    max-width: 350px;
    justify-self: start;
}

.mini-battle-stage {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mini-fighter-card {
    overflow: hidden;
    border-radius: 8px;
    outline: 0;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: var(--shadow);
}

.mini-fighter-card-red { outline-color: transparent; }
.mini-fighter-card-blue { outline-color: transparent; }
.mini-fighter-card-gold { outline-color: transparent; }

.mini-fighter-visual {
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #d7d7d7, #f1f1f1);
    aspect-ratio: 4 / 4.35;
}

.mini-fighter-visual::before {
    inset: 8px;
}

.mini-fighter-visual::after {
    height: 26%;
}

.mini-fighter-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.04);
    transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 0;
}

.mini-battle-card:hover .mini-fighter-visual img {
    transform: scale(1.1);
}

.mini-fighter-visual span {
    font-size: 1.5rem;
    letter-spacing: 0;
}

.mini-battle-versus {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.mini-battle-versus img {
    width: 38px;
    height: auto;
}

.mini-battle-copy {
    padding-top: 0.55rem;
}

.mini-battle-copy-top {
    padding-top: 0;
    padding-bottom: 0.45rem;
}

.mini-battle-copy strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1.15;
    min-height: 2.3em;
    text-wrap: balance;
    margin-bottom: 0.4rem;
}

.mini-battle-score-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0;
    color: var(--red);
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
}

.mini-battle-score {
    display: block;
    text-align: center;
}

.discussion-copy strong {
    display: block;
    margin-bottom: 0.3rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.discussion-copy p {
    margin: 0;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 0.92rem;
    line-height: 1.55;
}

.featured-discussion-actions {
    padding: 0.15rem 0 0;
    margin-top: 0;
}

.featured-discussion-actions .wide-button {
    width: 100%;
    margin: 0;
}

.section-grid {
    margin-top: 7rem;
}

.section-header .eyebrow {
    margin-bottom: 0.2rem;
}

.section-header h2 {
    margin: 0 0 10px;
}

.compact-section-header {
    padding-bottom: 10px;
}

.battle-card {
    padding: 0;
    transition: transform 160ms ease, box-shadow 160ms ease;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.58);
    border: 0;
}

.battle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(38, 28, 12, 0.12);
}

.battle-card strong, .section-header h2, .split-card h2, .admin-card h2, .stat-card strong {
    display: block;
    font-size: 0.9rem;
    line-height: 1.2;
}

.battle-card strong {
    font-family: "Manrope", sans-serif;
}

.battle-topic, .stack-item span {
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.split-section, .comments-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.split-column {
    display: flex;
    flex-direction: column;
}

.split-card, .comment-form-card, .proposal-form, .admin-card, .stat-card, .admin-login-card { padding: 1.25rem; }
.split-card {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 0;
}
.stack-list, .topic-cloud, .plain-list { display: grid; gap: 0.75rem; }

.stack-item, .topic-cloud a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.48);
    font-family: "Manrope", sans-serif;
}

.topic-cloud a span { color: var(--muted); }

.topic-cloud-page {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-cloud-page a {
    align-items: center;
}

.topic-cloud-page .topic-cloud-icon {
    width: 40px;
    max-width: 40px;
    height: 40px;
    object-fit: fill;
    border-radius: 6px;
    margin-right: 0.75rem;
    flex: 0 0 auto;
}

.topic-cloud-page a > span:first-of-type {
    display: flex;
    align-items: center;
    text-align: left;
    margin-left: 10px;
    justify-content: flex-start;
    flex: 1 1 auto;
}

@media (max-width: 640px) {
    .topic-cloud-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.battle-stage {
    grid-template-columns: 1fr 220px 1fr;
    align-items: start;
}

.battle-stage-featured {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    gap: 1.1rem;
}

.battle-stage-featured > .battle-fighter {
    position: sticky;
    top: 4.75rem;
    align-self: start;
}

.battle-comment-center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    padding-top: 0;
    align-self: start;
}

.battle-comment-card {
    position: relative;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(215, 207, 191, 0.75);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 24px rgba(38, 28, 12, 0.06);
    z-index: 1;
}

.home-reaction-card {
    padding: 0.72rem 0.9rem;
    border-radius: 14px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.56);
}

.home-reaction-card .comment-card-top {
    gap: 0.6rem;
}

.home-reaction-card .comment-card-top strong {
    font-size: 0.88rem;
    text-transform: none;
    letter-spacing: 0;
}

.home-reaction-card .comment-approval-score {
    font-size: 0.82rem;
}

.home-reaction-card p {
    margin-top: 0.22rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    line-height: 1.35;
}

.battle-comment-card p {
    margin: 0.45rem 0 0;
    color: var(--muted);
    line-height: 1.65;
}

.battle-comment-card-left {
    margin-right: 18%;
}

.battle-comment-card-right {
    margin-left: 18%;
}

.battle-comment-card-left::after,
.battle-comment-card-right::after {
    content: "";
    position: absolute;
    top: 20px;
    width: 14px;
    height: 14px;
    z-index: -1;
}

.battle-comment-card-left::after {
    background: rgba(255, 255, 255, 0.72);
    left: -7px;
    box-shadow: -1px -1px 0 rgba(215, 207, 191, 0.75);
    transform: rotate(-45deg);
}

.battle-comment-card-right::after {
    background: rgba(255, 255, 255, 0.72);
    right: -7px;
    box-shadow: 1px -1px 0 rgba(215, 207, 191, 0.75);
    transform: rotate(45deg);
}

.battle-comment-card-left .comment-card-top strong {
    color: var(--red);
}

.battle-comment-card-right .comment-card-top strong {
    color: var(--blue);
}

.battle-comment-card-intro {
    background: transparent;
    box-shadow: none;
}

.battle-comment-card-intro::after {
    display: none;
}

.super-battle-section {
    width: min(1120px, calc(100% - 2rem));
    margin: clamp(4.5rem, 7vw, 7rem) auto 0;
    padding-top: 0;
}

.super-battle-header {
    display: grid;
    justify-items: center;
    gap: 1.25rem;
    text-align: center;
}

.super-battle-header h2 {
    max-width: 920px;
    margin: 0;
    color: var(--text);
    font-size: clamp(2.75rem, 4vw, 5rem);
    line-height: 0.95;
}

.super-battle-nav {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    max-width: min(820px, 100%);
    padding: 0.35rem;
    border: 1px solid rgba(215, 207, 191, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 34px rgba(38, 28, 12, 0.08);
}

.super-battle-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.super-battle-nav a:hover,
.super-battle-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.9);
    outline: none;
}

.super-battle-content {
    display: grid;
    gap: clamp(3rem, 5vw, 4.8rem);
    justify-items: center;
    margin-top: clamp(2.8rem, 4vw, 4rem);
}

.super-battle-block {
    width: min(920px, 100%);
    padding-top: 0;
    border-top: 0;
}

.super-battle-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.super-battle-block:first-child .super-battle-stat-row:first-child {
    border-top: 0;
}

.super-battle-block h3 {
    margin: 0 0 0.65rem;
    color: var(--text);
    font-size: 1.35rem;
    line-height: 1.2;
    text-align: center;
}

.super-battle-block p {
    max-width: 840px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.75;
    text-align: center;
}

.super-battle-history-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 3rem);
    width: min(920px, 100%);
    margin: 0 auto;
}

.super-battle-history-column {
    display: grid;
    align-content: start;
    --history-accent: var(--red);
    gap: 0.75rem;
}

.super-battle-history-column h4 {
    margin: 0;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}

.super-battle-history-column h4::after {
    content: "";
    display: block;
    height: 1px;
    margin-top: 0.75rem;
    background: var(--history-accent);
}

.super-battle-history-column p {
    max-width: none;
    text-align: left;
}

.super-battle-history-column-red {
    --history-accent: var(--red);
}

.super-battle-history-column-blue {
    --history-accent: var(--blue);
}

.super-battle-history-column-gold {
    --history-accent: var(--gold);
}

.super-battle-history-column-green {
    --history-accent: var(--green);
}

.super-battle-stats-list {
    display: grid;
    gap: 0;
    width: min(760px, 100%);
    margin: 0 auto;
}

.super-battle-stat-row {
    display: grid;
    grid-template-columns: minmax(140px, 1.2fr) minmax(190px, 1fr) minmax(140px, 1.2fr);
    align-items: center;
    min-height: 72px;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(215, 207, 191, 0.62);
}

.super-battle-stat-row:first-child {
    border-top: 1px solid rgba(215, 207, 191, 0.62);
}

.super-battle-stat-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
}

.super-battle-stat-value.is-winner::before,
.super-battle-stat-value.is-winner::after {
    content: "";
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--winner-color, currentColor);
}

.super-battle-stat-value-left.is-winner::after {
    margin-left: 0.55rem;
}

.super-battle-stat-value-left.is-winner::before {
    display: none;
}

.super-battle-stat-value-right.is-winner::before {
    margin-right: 0.55rem;
}

.super-battle-stat-value-right.is-winner::after {
    display: none;
}

.super-battle-stat-winner-red {
    --winner-color: #9f1f22;
}

.super-battle-stat-winner-blue {
    --winner-color: #1e4f7a;
}

.super-battle-stat-winner-gold {
    --winner-color: #8e6b16;
}

.super-battle-stat-winner-green {
    --winner-color: #14b864;
}

.super-battle-stat-label {
    padding: 0 1rem;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.super-battle-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.super-battle-gallery figure {
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(215, 207, 191, 0.7);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.55);
}

.super-battle-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.battle-ribbon-row-below {
    margin-top: 1rem;
}

.battle-ribbon-row-inline {
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
    margin-bottom: 1.4rem;
}

.battle-ribbon-row-inline .battle-ribbon {
    min-width: 0;
    padding: 0.38rem 0.7rem 0.42rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: none;
}

.battle-ribbon-row-inline .battle-ribbon span {
    display: inline;
    margin: 0 0.35rem 0 0;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.battle-ribbon-row-inline .battle-ribbon strong {
    font-size: 0.92rem;
    font-weight: 700;
}

.battle-ribbon-wide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1rem;
    padding: 0.32rem 0.8rem 0.36rem;
    border-radius: 999px;
    font-family: "Manrope", sans-serif;
}

.battle-ribbon-row-inline .battle-ribbon-wide span {
    display: inline;
    margin: 0;
    font-family: "Manrope", sans-serif;
    line-height: 1;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
}

.versus-column {
    align-self: center;
    text-align: center;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
}

.score {
    margin: 0 0 1rem;
    color: var(--red);
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.wide-button { width: 100%; }

.comment-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: "Manrope", sans-serif;
}

.comment-approval {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.comment-approval-score {
    color: var(--red);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}


.comment-approve-button {
    min-height: 32px;
    padding: 0 0.75rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    font-family: "Manrope", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.comment-card-live {
    position: relative;
    padding: 0.95rem 0;
    margin-top: 0.9rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.comment-card-live::before {
    content: "";
    position: absolute;
    display: none;
}

.comment-card-live p {
    margin: 0.55rem 0 0;
    color: #3d382f;
    line-height: 1.7;
}

.demo-form, .proposal-form, .admin-login-card { display: grid; gap: 1rem; }

.demo-form label, .proposal-form label, .admin-login-card label {
    display: grid;
    gap: 0.45rem;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
}

input, textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    font: inherit;
}

select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: #fff;
    color: var(--admin-text);
    font: inherit;
}

.flash-success {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #b7d7c1;
    border-radius: 8px;
    background: #edf9f0;
    color: #205833;
    font-family: "Manrope", sans-serif;
}

.flash-error {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #efc1c1;
    border-radius: 8px;
    background: #fff0f0;
    color: #8d2020;
    font-family: "Manrope", sans-serif;
}

.flash-success,
.flash-error {
    transition: opacity 220ms ease, transform 220ms ease;
}

.battle-page > .flash-success,
.battle-page > .flash-error {
    width: min(990px, calc(100% - 2rem)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.flash-fade-out {
    opacity: 0;
    transform: translateY(-6px);
}

.comment-guideline {
    margin: -0.25rem 0 0;
    color: var(--muted);
    font-family: "Manrope", sans-serif;
    font-size: 0.92rem;
    line-height: 1.55;
}

.bonus-choice-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.bonus-choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
}

.bonus-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bonus-choice span {
    position: relative;
    z-index: 1;
}

.bonus-choice-red:has(input:checked) {
    border-color: #9f1f22;
    background: #9f1f22;
    color: #fff;
}

.bonus-choice-blue:has(input:checked) {
    border-color: #1e4f7a;
    background: #1e4f7a;
    color: #fff;
}

.bonus-choice-gold:has(input:checked) {
    border-color: #8e6b16;
    background: #8e6b16;
    color: #fff;
}

.spam-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid rgba(215, 207, 191, 0.8);
    color: var(--muted);
    font-family: "Manrope", sans-serif;
}

.admin-shell {
    font-family: "Manrope", sans-serif;
    color: var(--admin-text);
    background:
        radial-gradient(circle at top right, rgba(30, 79, 122, 0.06), transparent 22%),
        linear-gradient(180deg, #eef3f8 0%, #f6f8fb 100%);
}

.admin-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    padding: 1.75rem 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, #101826 0%, #182334 100%);
    color: #d8e0eb;
}

.admin-sidebar-top {
    padding: 0.5rem 0.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-copy {
    margin: 0.75rem 0 0;
    color: rgba(216, 224, 235, 0.7);
    font-size: 0.92rem;
    line-height: 1.55;
}

.admin-nav {
    margin-top: 2rem;
    display: grid;
    gap: 0.65rem;
}

.admin-nav a {
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #d8e0eb;
    font-weight: 700;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-main {
    padding: 2rem;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.35rem;
    border: 1px solid rgba(219, 226, 234, 0.9);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 20px 35px rgba(19, 37, 63, 0.06);
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.admin-topbar-actions form {
    margin: 0;
}

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

.admin-topbar h1 {
    margin: 0;
    font-size: 1.9rem;
}

.admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
.admin-mode-stack { display: grid; gap: 1rem; margin-top: 1rem; }

.admin-mode-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0 1.1rem;
}

.admin-mode-tab {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 1rem;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    background: var(--admin-surface);
    color: var(--admin-text);
    font-weight: 700;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.admin-mode-tab:hover {
    transform: translateY(-1px);
}

.admin-mode-tab.is-active {
    border-color: #1d4f91;
    background: #e0ecff;
    color: #1d4f91;
}

.stat-card, .admin-card, .admin-login-card {
    background: var(--admin-surface);
    border: 1px solid var(--admin-border);
    border-radius: 18px;
}

.stat-card span, .admin-card p, .plain-list { color: var(--admin-muted); }
.plain-list { margin: 0; padding-left: 1rem; }

.admin-login-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 120px);
}

.admin-login-card { width: min(420px, 100%); }

.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 0.25rem;
}

.admin-kicker {
    margin: 0 0 0.35rem;
    color: var(--admin-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-toolbar h2 {
    margin: 0;
    font-size: 1.5rem;
}

.admin-table-card,
.admin-form-card {
    padding: 1.35rem;
    background: var(--admin-surface);
    border: 1px solid rgba(219, 226, 234, 0.95);
    border-radius: 22px;
    box-shadow: 0 18px 34px rgba(19, 37, 63, 0.06);
}

.admin-mode-inline-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin-mode-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.admin-form-block {
    grid-column: 1 / -1;
    padding: 1.1rem;
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    background: #fbfcfe;
}

.admin-form-block-header {
    margin-bottom: 1rem;
}

.admin-form-block-header h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.admin-form-block-header p {
    margin: 0;
    color: var(--admin-muted);
    line-height: 1.55;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

.admin-table th,
.admin-table td {
    padding: 1rem 0.8rem;
    border-bottom: 1px solid var(--admin-border);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    color: var(--admin-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #f8fafc;
}

.admin-table tbody tr:hover {
    background: #f8fbff;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: #edf2f7;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pill.alt {
    background: #e0ecff;
    color: #1d4f91;
}

.status-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.admin-button-primary,
.admin-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.admin-button-small {
    min-height: 36px;
    padding: 0 0.8rem;
    font-size: 0.85rem;
}

.admin-button-primary {
    background: #111827;
    color: #fff;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.18);
}

.admin-button-secondary {
    border: 1px solid var(--admin-border);
    background: #fff;
    color: var(--admin-text);
}

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

.admin-form-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-span {
    grid-column: 1 / -1;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.35rem;
}

.admin-field-note {
    display: block;
    margin-top: 0.45rem;
    color: var(--admin-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.admin-form-feedback {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.admin-form-feedback .flash-success,
.admin-form-feedback .flash-error {
    margin-bottom: 0;
}

.media-upload-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1rem;
}

.media-upload-dropzone,
.media-guidelines {
    padding: 1rem;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: #fff;
}

.media-upload-dropzone {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    justify-content: center;
    min-height: 240px;
    border-style: dashed;
    background:
        linear-gradient(180deg, rgba(30, 79, 122, 0.03), rgba(30, 79, 122, 0.01));
}

.media-upload-dropzone strong,
.media-guidelines h4 {
    font-size: 1rem;
}

.media-upload-dropzone p,
.media-guidelines p {
    margin: 0;
    color: var(--admin-muted);
    line-height: 1.6;
}

.media-upload-button {
    width: fit-content;
    cursor: pointer;
}

.media-preview {
    overflow: hidden;
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: #f8fafc;
}

.media-preview img {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.media-preview-upload[hidden] {
    display: none;
}

.media-selection-note {
    margin: 0;
    color: var(--admin-muted);
    line-height: 1.5;
}

.media-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.guideline-list {
    margin: 0.65rem 0 0;
    padding-left: 1.1rem;
    color: var(--admin-text);
}

.guideline-list li {
    margin-bottom: 0.45rem;
    line-height: 1.5;
}

.media-gallery-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

.media-gallery-item {
    margin: 0;
    padding: 0.5rem;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    background: #fff;
    cursor: grab;
}

.media-gallery-item.is-default {
    border-color: #1d4f91;
    box-shadow: 0 0 0 2px rgba(29, 79, 145, 0.08);
}

.media-gallery-item.is-dragging {
    opacity: 0.6;
    cursor: grabbing;
}

.media-gallery-thumb {
    overflow: hidden;
    border-radius: 10px;
}

.media-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
}

.media-gallery-item figcaption {
    margin-top: 0.45rem;
    color: var(--admin-muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.media-gallery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.55rem;
}

.media-gallery-actions form {
    margin: 0;
}

.battle-image-picker-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.battle-image-picker-column h4 {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
}

.battle-image-picker-column {
    display: grid;
    gap: 0.75rem;
}

.battle-image-option {
    display: block;
    overflow: hidden;
    border: 1px solid var(--admin-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}

.battle-image-option img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.battle-image-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.battle-image-option.is-default {
    box-shadow: 0 0 0 2px rgba(29, 79, 145, 0.08);
}

.battle-image-option:has(input:checked) {
    border-color: #1d4f91;
    box-shadow: 0 0 0 2px rgba(29, 79, 145, 0.16);
}

.battle-image-option span {
    display: block;
    padding: 0.9rem;
}

.battle-image-option-empty {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 0.9rem;
    font-weight: 700;
}

.admin-checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--admin-text);
}

.admin-checkbox-row label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.proposal-thumb-row {
    display: flex;
    gap: 0.5rem;
}

.proposal-pitch {
    max-width: 280px;
    color: var(--admin-muted);
    line-height: 1.55;
}

.proposal-thumb {
    width: 48px;
    height: 48px;
    border: 1px solid var(--admin-border);
    border-radius: 10px;
    object-fit: cover;
    background: #fff;
}

.proposal-status-actions,
.proposal-row-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.admin-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

.admin-filter-form input,
.admin-filter-form select {
    min-height: 40px;
    padding: 0 0.85rem;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    background: #fff;
}

.admin-table-context {
    display: grid;
    gap: 0.2rem;
}

.admin-table-subline {
    color: var(--admin-muted);
    font-size: 0.82rem;
}

.whois-admin-meta {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 1rem;
    margin: 0.3rem 0 1rem;
    padding: 1rem;
    border: 1px solid var(--admin-border);
    border-radius: 18px;
    background: #f8fbff;
}

.whois-admin-preview {
    width: 104px;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    background: #d9e3ef;
}

.whois-admin-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.whois-admin-meta-copy {
    display: grid;
    gap: 0.35rem;
    align-content: start;
}

.whois-admin-meta-copy p {
    margin: 0;
    color: var(--admin-muted);
}

.whois-admin-meta-copy strong {
    color: var(--admin-text);
}

.whois-admin-table td[data-whois-cell="bg"],
.whois-admin-table td[data-whois-cell="en"],
.whois-admin-table td[data-whois-cell="de"] {
    min-width: 140px;
}

@media (max-width: 980px) {
    .admin-mode-inline-toolbar,
    .whois-admin-meta {
        display: grid;
        grid-template-columns: 1fr;
    }

    .whois-admin-preview {
        width: min(180px, 100%);
    }
}

.admin-comment-cell {
    max-width: 420px;
    line-height: 1.45;
}

/* Share button */
.share-row { margin-top:10px; justify-content:center; }

.share-buttons {
    display:flex;
    gap:8px;
    justify-content:center;
    flex-wrap:wrap;
}

.share-btn {
    width:36px;
    height:36px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.04);
    cursor:pointer;
}

.share-btn svg {
    width:18px;
    height:18px;
    fill:currentColor;
}

.share-btn.ok {
    background:rgba(60,200,120,.2);
    border-color:rgba(60,200,120,.5);
}

@media (max-width: 980px) {
    .featured-battle-shell, .split-section, .comments-shell, .battle-stage, .admin-layout { grid-template-columns: 1fr; }
    .battle-grid, .battle-grid.compact, .archive-grid, .admin-stats, .admin-card-grid { grid-template-columns: 1fr; }
    .section-grid .battle-grid {
        justify-content: start;
        align-content: start;
        gap: 2.5rem;
    }
    .hot-battles-viewport {
        min-height: 0;
        display: grid;
        gap: 1.5rem;
    }
    .hot-battle-slot {
        position: static;
        width: 100%;
    }
    .hot-battle-slot-active,
    .hot-battle-slot-next {
        width: 100%;
    }
    .hot-battle-card.is-promoting,
    .hot-battle-card.is-leaving {
        transform: none;
    }
    .hot-battle-stage {
        gap: 1rem;
    }
    .hot-battle-title {
        font-size: 1.2rem;
    }
    .hot-battle-versus img {
        width: 58px;
    }
    .versus-pill { position: static; transform: none; margin: 1rem auto; }
    .featured-stage {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
        gap: 1rem;
    }
    .featured-stage-versus {
        position: absolute;
        left: 50%;
        top: var(--featured-vs-top, 45%);
        transform: translate(-50%, -100%) rotate(0deg);
        justify-self: auto;
        margin: 0;
    }
    .featured-battle-shell {
        gap: 1.5rem;
    }
    .featured-discussion {
        max-width: none;
        justify-self: stretch;
        margin-top: 0;
        padding-top: 0;
    }
    .featured-stage-comments {
        margin-top: 0;
        padding: 0;
    }
    .featured-stage .fighter-vote-form,
    .fighter-vote-form {
        width: 100%;
    }
    .featured-stage .fighter-card {
        transform: none !important;
        filter: none !important;
        box-shadow: var(--shadow);
    }
    .fighter-card-button::after {
        bottom: 5rem;
    }
    .home-reaction-card {
        padding: 0.72rem 0.9rem;
        background: rgba(255, 255, 255, 0.56);
        border-radius: 14px;
    }
    .mini-battle-card {
        padding: 0.65rem;
    }
    .battle-stage-featured {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
    .battle-stage-featured > .battle-fighter {
        position: static;
        top: auto;
        align-self: stretch;
    }
    .battle-stage-featured > .battle-comment-center {
        order: 3;
        grid-column: 1 / -1;
    }
    .battle-comment-card-left,
    .battle-comment-card-right {
        margin-left: 0;
        margin-right: 0;
    }
    .battle-comment-card-left::after,
    .battle-comment-card-right::after {
        display: none;
    }
    .admin-toolbar,
    .admin-form-grid {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .admin-main {
        padding: 1rem;
    }

    .masthead-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.5rem;
        padding: 0.55rem 0;
    }

    .brand-image,
    .main-nav {
        grid-column: auto;
        justify-self: center;
    }

    .main-nav {
        justify-content: center;
    }

    .locale-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .home-lead,
    .page-intro,
    .battle-header {
        text-align: center;
    }

    .super-battle-header h2 {
        font-size: clamp(2.35rem, 7vw, 4rem);
    }

    .lede {
        line-height: 1.55;
    }

    .media-upload-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container,
    .featured-battle-shell.container,
    .section-grid.container,
    .split-section.container,
    .fast-strip.container {
        width: min(100% - 1rem, 1320px);
    }

    .site-main {
        padding: 1.15rem 0 2.5rem;
    }

    .masthead-inner {
        gap: 0.35rem;
        padding: 0.4rem 0;
    }

    .brand-image img {
        width: 188px;
    }

    .main-nav {
        gap: 0.85rem;
        font-size: 0.95rem;
    }

    .locale-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .super-battle-section {
        width: 100%;
        margin-top: 4rem;
        padding-top: 0;
    }

    .super-battle-header {
        gap: 1rem;
    }

    .super-battle-header h2 {
        font-size: clamp(2.2rem, 11vw, 3.45rem);
        line-height: 0.98;
    }

    .super-battle-nav {
        width: 100%;
        gap: 0.3rem;
        border-radius: 22px;
    }

    .super-battle-nav a {
        flex: 1 1 calc(50% - 0.4rem);
        padding: 0 0.65rem;
        font-size: 0.82rem;
    }

    .super-battle-history-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .super-battle-history-column p {
        text-align: center;
    }

    .super-battle-stat-row {
        grid-template-columns: minmax(62px, 0.95fr) minmax(110px, 1fr) minmax(62px, 0.95fr);
        min-height: 64px;
        padding: 0.55rem 0;
    }

    .super-battle-stat-value {
        font-size: 1.25rem;
    }

    .super-battle-stat-label {
        padding: 0 0.55rem;
        font-size: 0.78rem;
    }

    .home-lead {
        margin-top: 0.2rem;
    }

    .home-lead h1 {
        font-size: clamp(1.5rem, 9vw, 3rem);
        line-height: 0.96;
        text-align: center;
    }
    .home-lead {
        text-align: center;
    }

    .battle-header h1,
    .page-intro h1,
    .hero-copy h1 {
        font-size: clamp(2.2rem, 11vw, 3.45rem);
        line-height: 0.98;
    }

    .lede {
        font-size: 0.98rem;
        line-height: 1.48;
    }

    .featured-stage {
        min-width: 0;
        padding: 0;
        border-radius: 0;
        gap: 0.85rem;
    }

    .fighter-nameplate {
        padding: 0.8rem 0.8rem 0.25rem;
        font-size: 0.95rem;
    }

    .fighter-card-body,
    .battle-fighter-body {
        padding: 0.9rem 0.85rem 1rem;
    }

    .fighter-score-row p,
    .score {
        font-size: 1.1rem;
    }

    .featured-stage-versus img {
        width: 92px;
        min-width: 0;
    }

    .fighter-card-body {
        padding: 0.75rem 0.75rem 0.9rem;
    }

    .fighter-score-row p {
        font-size: 0.92rem;
    }

    .battle-ribbon-row-inline {
        margin-bottom: 1rem;
    }

    .battle-ribbon-wide {
        width: 100%;
        flex-direction: row;
        gap: 0.35rem;
        border-radius: 18px;
        text-align: center;
    }

    .battle-comment-center {
        gap: 0.8rem;
    }

    .featured-discussion .featured-side-card .quick-choice-copy strong {
        font-size: 1rem;
    }

    .battle-comment-card,
    .comment-form-card {
        border-radius: 16px;
    }

    .home-reaction-card {
        padding: 0.72rem 0.9rem;
        background: rgba(255, 255, 255, 0.56);
    }

    .featured-stage-comments .battle-comment-card-left {
        margin-right: 18%;
        margin-left: 0;
    }

    .featured-stage-comments .battle-comment-card-right {
        margin-left: 18%;
        margin-right: 0;
    }

    .featured-stage-comments .battle-comment-card-left::after,
    .featured-stage-comments .battle-comment-card-right::after {
        display: block;
    }

    .featured-stage-comments .comment-card-top {
        align-items: center;
        flex-direction: row;
        gap: 0.6rem;
    }

    .featured-stage-comments .comment-approval {
        margin-left: auto;
    }

    .comment-card-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .comment-approval {
        gap: 0.55rem;
    }

    .bonus-choice-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-grid {
        margin-top: 4rem;
    }

    .admin-topbar {
        padding: 1rem;
    }

    .admin-topbar-actions {
        width: 100%;
        justify-content: flex-start;
    }

    /* Бързи битки — stack vertically on mobile */
    .featured-discussion {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .featured-discussion .featured-side-card {
        width: 100% !important;
        margin: 0 !important;
        --card-h: 140px !important;
    }

    /* Последни гласове / Най-много гласове — 2 columns on mobile */
    .vote-history-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    /* bg-fade декорация — скрита на мобилна */
    .featured-stage-bg-fade {
        display: none !important;
    }
}
