:root {
    --bg-black: #03040a;
    --steel-1: #3f424d;
    --steel-2: #1d2029;
    --steel-3: #0b0d12;
    --txt-main: #f3f5fb;
    --txt-dim: #aeb8d2;
    --enemy-red: #ff3d3d;
    --enemy-red-glow: #ff8080;
    --player-blue: #2e73ff;
    --player-blue-glow: #77a9ff;
    --gold: #ffcc4f;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: "Trebuchet MS", "Arial Black", sans-serif;
    color: var(--txt-main);
    background:
        radial-gradient(circle at 0% 18%, rgba(255, 58, 58, 0.35), transparent 35%),
        radial-gradient(circle at 100% 14%, rgba(46, 115, 255, 0.35), transparent 38%),
        radial-gradient(circle at 50% 95%, rgba(255, 147, 48, 0.18), transparent 42%),
        linear-gradient(180deg, #0e111a 0%, #05060b 55%, #05050a 100%);
    padding: 0;
    overflow-x: hidden;
}

.fx-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 40;
}

.fx-red {
    background: radial-gradient(circle at center, rgba(255, 46, 46, 0.42) 0%, rgba(255, 46, 46, 0) 65%);
}

.fx-blue {
    background: radial-gradient(circle at center, rgba(66, 140, 255, 0.4) 0%, rgba(66, 140, 255, 0) 65%);
}

.noise-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.06;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.8) 0px, rgba(255, 255, 255, 0.8) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0px, rgba(255, 255, 255, 0.4) 1px, transparent 1px, transparent 4px);
}

.arena {
    position: relative;
    z-index: 5;
    margin: 0;
    width: 100%;
    max-width: 100%;
    padding: 4px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.logo-wrap {
    text-align: center;
    padding: 4px;
    border: 1px solid #5c647d;
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
        linear-gradient(90deg, rgba(185, 37, 37, 0.17), rgba(51, 107, 245, 0.17));
    margin-bottom: 6px;
}

.logo-image {
    display: block;
    width: 100%;
    max-width: 580px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

.hp-card {
    border: 1px solid #7983a5;
    border-radius: 6px;
    padding: 5px;
    margin: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
        linear-gradient(180deg, #202534, #131722);
}

.hp-card-enemy {
    box-shadow: inset 0 0 12px rgba(255, 61, 61, 0.18), 0 0 12px rgba(255, 61, 61, 0.12);
}

.hp-card-player {
    box-shadow: inset 0 0 12px rgba(46, 115, 255, 0.16), 0 0 12px rgba(46, 115, 255, 0.1);
}

.hp-label {
    font-size: clamp(10px, 2.3vw, 16px);
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.hp-card-enemy .hp-label {
    color: var(--enemy-red);
    text-shadow: 0 0 8px rgba(255, 61, 61, 0.5);
}

.hp-card-player .hp-label {
    color: var(--player-blue);
    text-shadow: 0 0 8px rgba(46, 115, 255, 0.55);
}

.hp-meter {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hp-unit {
    width: calc((100% - 16px) / 5);
    height: 11px;
    border-radius: 999px;
    border: 1px solid #9aa6cc;
    background: #272d41;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.hp-unit.enemy.active {
    background: linear-gradient(180deg, #ff6f6f, #e21818);
    border-color: #ff9d9d;
    box-shadow: 0 0 10px rgba(255, 61, 61, 0.65), inset 0 0 8px rgba(255, 255, 255, 0.4);
}

.hp-unit.player.active {
    background: linear-gradient(180deg, #77a9ff, #1459db);
    border-color: #9fc0ff;
    box-shadow: 0 0 10px rgba(46, 115, 255, 0.65), inset 0 0 8px rgba(255, 255, 255, 0.35);
}

.question-card {
    border: 1px solid #7f89a8;
    border-radius: 8px;
    margin: 6px 0;
    padding: 7px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, #171b27, #0e1118);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.move-card {
    border: 1px solid #7f89a8;
    border-radius: 8px;
    margin: 0;
    padding: 6px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, #171b27, #0e1118);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.move-label {
    margin-bottom: 8px;
    font-size: clamp(10px, 2.2vw, 14px);
    font-weight: 900;
    letter-spacing: 0.16em;
    color: #ffcf60;
    text-shadow: 0 0 10px rgba(255, 190, 60, 0.4);
}

.move-stage {
    min-height: 70px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.battle-compact {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 6px;
    align-items: stretch;
}

.hp-column {
    display: grid;
    gap: 6px;
}

#question {
    min-height: 52px;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: clamp(15px, 3.64vw, 34px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.02em;
    color: #f6f9ff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.time-limit-note {
    margin-bottom: 6px;
    text-align: center;
    font-size: clamp(11px, 2.2vw, 14px);
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #ffd06a;
    text-shadow: 0 0 10px rgba(255, 208, 106, 0.42);
}

.answers-grid {
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr;
}

.choice-button {
    position: relative;
    min-height: 44px;
    border: 1px solid #c3c9dc;
    border-radius: 8px;
    color: #f6f8ff;
    font-size: clamp(13px, 3.6vw, 20px);
    font-weight: 800;
    text-align: left;
    padding: 6px 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03)),
        linear-gradient(180deg, #444a58 0%, #262c3b 48%, #1a1f2c 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.65),
        0 4px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.12s ease, border-color 0.2s ease;
}

.choice-button::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 61, 61, 0.13), rgba(46, 115, 255, 0.13));
    opacity: 0.4;
}

.choice-button:hover {
    border-color: #f3f7ff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.68),
        0 0 14px rgba(255, 204, 79, 0.4),
        0 6px 14px rgba(0, 0, 0, 0.52);
}

.choice-button:active {
    transform: scale(0.98);
    box-shadow:
        inset 0 2px 10px rgba(0, 0, 0, 0.55),
        0 1px 3px rgba(0, 0, 0, 0.5);
}

.choice-button:disabled {
    opacity: 0.56;
    cursor: not-allowed;
    transform: none;
}

#result {
    min-height: 44px;
    margin: 4px 0;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: clamp(24px, 5vw, 32px);
    text-align: center;
    letter-spacing: 0.04em;
}

.result-normal {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 205, 80, 0.45);
}

.result-win {
    color: #8cffcc;
    text-shadow: 0 0 12px rgba(80, 255, 190, 0.62);
}

.result-lose {
    color: #ff93a8;
    text-shadow: 0 0 12px rgba(255, 80, 132, 0.62);
}

.skill-text,
.damage-text,
.timer-text {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    pointer-events: none;
    z-index: 50;
    text-align: center;
    letter-spacing: 0.06em;
    font-weight: 900;
}

.skill-text {
    top: 24%;
    font-size: clamp(21px, 7vw, 62px);
    color: #ff7361;
    text-shadow:
        0 0 12px rgba(255, 41, 41, 0.7),
        0 2px 0 #260202,
        0 6px 18px rgba(0, 0, 0, 0.8);
}

.damage-text {
    top: 68%;
    font-size: clamp(15px, 4.9vw, 38px);
    color: #90b9ff;
    text-shadow: 0 0 12px rgba(46, 115, 255, 0.75), 0 3px 10px rgba(0, 0, 0, 0.8);
}

.timer-text {
    top: 14%;
    font-size: clamp(24px, 8vw, 74px);
    color: #fff4bb;
    opacity: 0;
    transform: translateX(-50%) scale(0.96);
    transition: opacity 0.12s ease, transform 0.12s ease;
    text-shadow:
        0 0 12px rgba(255, 220, 110, 0.85),
        0 0 22px rgba(255, 68, 68, 0.58),
        0 4px 14px rgba(0, 0, 0, 0.82);
}

.timer-text.countdown {
    animation: timer-pulse 0.85s ease infinite;
}

.timer-text.time-over {
    color: #ff8b8b;
    animation: none;
    text-shadow:
        0 0 12px rgba(255, 71, 71, 0.9),
        0 0 26px rgba(255, 22, 22, 0.62),
        0 4px 14px rgba(0, 0, 0, 0.9);
}

.lariat-sprite {
    width: min(180px, 44vw);
    aspect-ratio: 1 / 1;
    /* background-image と background-size は JS で動的に設定 */
    background-repeat: no-repeat;
    background-position: 0% 50%;
    filter:
        drop-shadow(0 0 10px rgba(255, 94, 94, 0.75))
        drop-shadow(0 0 22px rgba(255, 60, 60, 0.45));
    transform: scale(0.9);
}

.lariat-sprite.playing {
    animation: lariat-pop 0.12s ease;
}

.hit-flash {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 44;
    opacity: 0;
    background: radial-gradient(circle at center, rgba(255, 52, 52, 0.55) 0%, rgba(255, 52, 52, 0) 70%);
}

.hit-flash.show {
    animation: flash 0.28s ease both;
}

.arena.shake {
    animation: shake-hit 0.32s ease;
}

body.shake {
    animation: body-shake 0.32s ease;
}

.skill-text.show,
.damage-text.show {
    animation: pop-show 0.6s ease both;
}

.timer-text.show {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

@keyframes timer-pulse {
    0% { transform: translateX(-50%) scale(0.95); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(0.95); }
}

.fx-layer.show {
    animation: flash 0.38s ease both;
}

@keyframes pop-show {
    0% {
        opacity: 0;
        transform: translate(-50%, 8px) scale(0.86);
    }
    40% {
        opacity: 1;
        transform: translate(-50%, -2px) scale(1.08);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -14px) scale(0.98);
    }
}

@keyframes flash {
    0% {
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes lariat-pop {
    0% { transform: scale(0.92); }
    100% { transform: scale(0.96); }
}

@keyframes shake-hit {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-7px, 2px); }
    40% { transform: translate(7px, -3px); }
    60% { transform: translate(-5px, 2px); }
    80% { transform: translate(5px, -2px); }
    100% { transform: translate(0, 0); }
}

@keyframes body-shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

@media (min-width: 760px) {
    body {
        padding: 0;
    }

    .arena {
        max-width: 760px;
        margin: 0 auto;
        padding: 6px;
    }

    .battle-compact {
        grid-template-columns: 1.3fr 1fr;
    }

    .answers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .choice-button {
        min-height: 50px;
    }

    .hp-unit {
        height: 14px;
    }
}

@media (hover: none) {
    .choice-button:hover {
        border-color: #c3c9dc;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.28),
            inset 0 -1px 0 rgba(0, 0, 0, 0.65),
            0 4px 10px rgba(0, 0, 0, 0.5);
    }
}

.page-shell {
    position: relative;
    z-index: 5;
    width: min(1120px, calc(100% - 16px));
    margin: 0 auto;
    padding: 10px 0 18px;
}

.page-hero {
    display: grid;
    gap: 10px;
}

.compact-hero {
    margin-bottom: 14px;
}

.hero-panel,
.about-card,
.fighter-card,
.match-banner {
    border: 1px solid #7f89a8;
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, #171b27, #0e1118);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-panel,
.about-card,
.match-banner {
    padding: 14px;
}

.page-logo-wrap {
    margin-bottom: 0;
}

.page-kicker {
    color: var(--gold);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.page-title {
    margin: 0;
    font-size: clamp(28px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: 0.03em;
}

.page-copy {
    margin: 0;
    color: var(--txt-dim);
    line-height: 1.8;
    font-size: clamp(14px, 2.6vw, 18px);
}

.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cta-button,
.fighter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #c3c9dc;
    color: #f6f8ff;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #424a60, #232836);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 10px rgba(0, 0, 0, 0.45);
}

.cta-button.primary,
.fighter-link {
    background: linear-gradient(180deg, #ff5b5b, #ba1e1e);
    border-color: #ffb0b0;
}

.section-block {
    margin-top: 14px;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.section-heading h2,
.about-card h2,
.match-banner__title,
.fighter-card h3 {
    margin: 0;
}

.section-heading a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 800;
}

.info-grid {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.about-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flow-list,
.feature-list {
    margin: 0;
    padding-left: 18px;
    line-height: 1.8;
    color: var(--txt-dim);
}

.fighter-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.fighter-grid.fighters-list {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
}

.fighter-card {
    overflow: hidden;
    text-decoration: none;
}

.fighters-list .fighter-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(16, 19, 27, 0.5);
    border-radius: 4px;
}

.fighter-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #10131b;
}

.fighters-list .fighter-card__media {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    aspect-ratio: auto;
    border-radius: 4px;
}

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

.fighter-card__body {
    padding: 12px;
}

.fighters-list .fighter-card__body {
    padding: 0;
    flex: 1;
}

.fighter-card__meta {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.fighter-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.fighter-card h3 a {
    color: inherit;
    text-decoration: none;
}

.fighter-card h3 a:hover {
    color: var(--gold);
}

.fighter-card p {
    margin: 0 0 10px;
    color: var(--txt-dim);
    line-height: 1.7;
}

.teaser-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.teaser-card .fighter-card__media {
    aspect-ratio: 1 / 1;
}

.fighter-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    color: #dfe4f5;
    font-size: 12px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #f8fbff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tag-chip.muted {
    color: var(--txt-dim);
}

.fighter-link {
    width: 100%;
}

.match-banner {
    display: grid;
    gap: 12px;
    margin-bottom: 8px;
    grid-template-columns: minmax(86px, 118px) 1fr;
    align-items: start;
}

.match-banner__image {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0c0f15;
}

.match-banner__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.match-banner__body {
    display: grid;
    gap: 8px;
}

.match-banner__title {
    font-size: clamp(24px, 4vw, 42px);
}

.match-banner__body p {
    margin: 0;
    color: var(--txt-dim);
    line-height: 1.7;
}

.match-banner__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #dfe4f5;
    font-size: 12px;
}

.match-banner__meta span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 760px) {
    .page-shell {
        padding-top: 14px;
    }

    .hero-panel,
    .about-card,
    .match-banner {
        padding: 18px;
    }

    .match-banner {
        grid-template-columns: minmax(110px, 160px) 1fr;
        align-items: center;
    }
}

.result-shell {
    max-width: 860px;
}

.result-shell .page-logo-wrap {
    display: block;
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    outline: none;
}

.result-shell .page-logo-wrap:focus,
.result-shell .page-logo-wrap:focus-visible {
    outline: none;
}

.result-shell .page-logo-wrap .logo-image {
    border: none;
}

.result-card {
    border: 1px solid #7f89a8;
    border-radius: 10px;
    padding: 14px;
    margin-top: 12px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
        linear-gradient(180deg, #171b27, #0e1118);
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.4);
}

.result-headline {
    margin: 0 0 10px;
    font-size: clamp(28px, 7vw, 58px);
    letter-spacing: 0.04em;
}

.result-headline.win {
    color: #8cffcc;
    text-shadow: 0 0 12px rgba(80, 255, 190, 0.62);
}

/* ----------------------------------------
   シェアボタン
---------------------------------------- */
.share-block {
    margin-top: 28px;
    text-align: center;
}

.share-label {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--txt-dim);
    text-transform: uppercase;
}

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

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.01em;
    cursor: pointer;
    text-decoration: none;
    border: none;
    white-space: nowrap;
    flex: 1;
    max-width: 120px;
    transition: opacity 0.2s, transform 0.15s;
}

.share-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.share-btn--x {
    background: #000;
    color: #fff;
}

.share-btn--line {
    background: #06c755;
    color: #fff;
}

.share-btn--fb {
    background: #1877f2;
    color: #fff;
}

.share-btn--copy {
    background: var(--steel-1);
    color: var(--txt-main);
}

.share-btn--copied {
    background: #2e73ff;
    color: #fff;
}

/* ----------------------------------------
   アピールブロック
---------------------------------------- */
.appeal-block {
    margin-top: 48px;
    padding: 40px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,61,61,0.08), rgba(46,115,255,0.08));
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.appeal-block .page-actions {
    justify-content: center;
}

.appeal-text {
    max-width: 640px;
    margin: 0 auto 28px;
    font-size: clamp(14px, 2vw, 17px);
    line-height: 1.9;
    color: var(--txt-dim);
    letter-spacing: 0.03em;
}

/* ----------------------------------------
   フッター
---------------------------------------- */
.site-footer {
    width: 100%;
    box-sizing: border-box;
    margin-top: 48px;
    padding: 32px 16px;
    background: rgba(0, 0, 0, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.site-footer__logo {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--txt-main);
}

.site-footer__logo span {
    font-size: 11px;
    font-weight: 400;
    color: var(--txt-dim);
    margin-left: 8px;
    letter-spacing: 0.05em;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.site-footer__nav a {
    font-size: 13px;
    color: var(--txt-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer__nav a:hover {
    color: var(--txt-main);
}

.site-footer__copy {
    margin: 0;
    font-size: 12px;
    color: var(--steel-1);
}

.result-headline.lose {
    color: #ff93a8;
    text-shadow: 0 0 12px rgba(255, 80, 132, 0.62);
}

.result-headline.normal {
    color: var(--gold);
}

.result-enemy-info {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.result-enemy-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.result-enemy-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-enemy-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.result-enemy-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--txt-dim);
}

.difficulty-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.categories {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.result-enemy-name {
    font-size: clamp(16px, 3vw, 22px);
    font-weight: 900;
    word-break: break-word;
}

.result-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.result-stat {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.result-stat__label {
    color: var(--txt-dim);
    font-size: 12px;
}

.result-stat__value {
    margin-top: 4px;
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 900;
    overflow-wrap: anywhere;
}

@media (max-width: 560px) {
    .result-enemy-info {
        gap: 10px;
    }

    .result-enemy-image {
        width: 80px;
        height: 80px;
    }

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

.result-answers {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.result-answer {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.result-answer.correct {
    border-color: rgba(80, 255, 190, 0.45);
}

.result-answer.wrong {
    border-color: rgba(255, 80, 132, 0.5);
}

.result-answer h3,
.result-answer p {
    margin: 0;
}

.result-answer h3 {
    margin-bottom: 8px;
}

.result-answer p {
    color: var(--txt-dim);
    line-height: 1.6;
}

.result-actions {
    margin-top: 18px;
}
