.characters-game-page {
        background: linear-gradient(135deg, #f5f1f7 0%, #f3eef7 45%, #eef5fb 100%);
    }

    .characters-game-page .game-shell {
        width: 100%;
    }

    .characters-game-page .game-stage {
        align-items: stretch;
    }

    .characters-game-page .game-stage-image,
    .characters-game-page .game-stage-picker {
        min-width: 0;
    }

    .characters-game-page .character-stage-canvas {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 500px;
        object-fit: contain;
    }

    .characters-game-page .picker-panel {
        min-height: 500px;
    }

    .characters-game-page .picker-button-group {
        gap: 1rem;
    }

    .characters-game-page .contrast-light {
        color: #ffffff;
    }

    .characters-game-page .contrast-light .result-muted {
        color: rgba(255, 255, 255, 0.78);
    }

    .characters-game-page .contrast-dark {
        color: #0f172a;
    }

    .characters-game-page .contrast-dark .result-muted {
        color: rgba(15, 23, 42, 0.72);
    }

    .characters-game-page .result-image-frame {
        display: flex;
        width: 100%;
        min-height: 380px;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        background: rgba(255, 255, 255, 0.45);
    }

    .characters-game-page .result-image-frame img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .characters-game-page .result-layout,
    .characters-game-page .final-layout {
        align-items: stretch;
    }

    .characters-game-page .result-visual-panel,
    .characters-game-page .final-visual-panel {
        display: flex;
    }

    .characters-game-page .result-cards {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .characters-game-page .result-cards > div {
        flex: 1 1 0;
    }

    .characters-game-page .result-card-top {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }

    .characters-game-page .result-card-bottom {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
    }

    .characters-game-page .result-cards-frame {
        width: 100%;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

    .characters-game-page .result-card-main,
    .characters-game-page .result-card-action {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1.25rem;
        flex: 1;
        min-height: 0;
    }

    .characters-game-page .result-card-copy {
        align-self: flex-start;
        min-width: 0;
    }

    .characters-game-page .result-card-copy p:last-child {
        white-space: nowrap;
    }

    .characters-game-page .result-score-block {
        margin-left: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        min-width: 9rem;
        text-align: right;
    }

    .characters-game-page .result-score-value {
        font-size: 4.25rem;
        font-weight: 800;
        line-height: 0.92;
        white-space: nowrap;
    }

    .characters-game-page .result-score-label {
        margin-top: 0.5rem;
        white-space: nowrap;
    }

    .characters-game-page .final-character-visual {
        width: 100%;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    }

    .characters-game-page .final-character-visual img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .characters-game-page .final-summary-panel {
        width: 100%;
        height: 100%;
        border-radius: 1.5rem;
        overflow: hidden;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
        background: #ffffff;
        display: flex;
        flex-direction: column;
    }

    .characters-game-page .final-score-header {
        background: #ffffff;
        color: #0f172a;
        padding: 1.5rem 1.75rem 1.25rem;
        border-bottom: 1px solid rgba(203, 213, 225, 0.85);
        flex: 0 0 auto;
    }

    .characters-game-page .final-score-header p:last-child {
        color: rgba(15, 23, 42, 0.7);
    }

    .characters-game-page .final-summary-body {
        flex: 1;
        background: linear-gradient(180deg, #0f1a36 0%, #081224 100%);
        color: #ffffff;
        padding: 1.2rem 1.35rem 1.35rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-height: 0;
    }

    .characters-game-page .final-summary-top {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .characters-game-page .final-summary-divider {
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.18);
    }

    .characters-game-page #round-history-thumbnails {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.55rem;
        align-items: start;
        justify-items: center;
        width: 100%;
    }

    .characters-game-page .history-thumb {
        position: relative;
        width: 52px;
        min-width: 52px;
    }

    .characters-game-page .history-thumb img {
        width: 52px;
        height: 52px;
        display: block;
        object-fit: cover;
        border-radius: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
    }

    .characters-game-page .history-thumb-score {
        position: absolute;
        right: -4px;
        bottom: -6px;
        min-width: 28px;
        padding: 0.1rem 0.35rem;
        border-radius: 9999px;
        background: rgba(15, 23, 42, 0.92);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
    }

    .characters-game-page #about .prose > .bg-white,
    .characters-game-page #about .grid.md\:grid-cols-2 > div,
    .characters-game-page #how-it-works .bg-white.rounded-2xl,
    .characters-game-page #how-it-works .bg-gradient-to-br.from-purple-50,
    .characters-game-page #faq .space-y-6 > div {
        border: 1px solid #e2e8f0;
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    }

    .characters-game-page #about .prose > .bg-white,
    .characters-game-page #how-it-works .bg-white.rounded-2xl {
        border-radius: 1.75rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    .characters-game-page #about .prose > p:first-child {
        margin-bottom: 1.75rem;
        padding: 1.6rem 1.75rem;
        border: 1px solid #e2e8f0;
        border-radius: 1.75rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    }

    .characters-game-page #about .grid.md\:grid-cols-2 > div,
    .characters-game-page #faq .faq-item {
        position: relative;
        border-radius: 1.4rem;
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    }

    @media (min-width: 1024px) {
        .characters-game-page .game-stage,
        .characters-game-page .result-layout,
        .characters-game-page .final-layout {
            justify-content: center;
            gap: 2.5rem;
        }

        .characters-game-page .game-stage-image,
        .characters-game-page .game-stage-picker,
        .characters-game-page .result-visual-panel,
        .characters-game-page .result-cards,
        .characters-game-page .final-visual-panel,
        .characters-game-page .final-layout > div:last-child {
            flex: 0 0 420px;
            width: 420px;
            max-width: 420px;
        }

        .characters-game-page .game-stage-image,
        .characters-game-page .game-stage-picker,
        .characters-game-page .result-visual-panel,
        .characters-game-page .result-cards,
        .characters-game-page .final-visual-panel,
        .characters-game-page .final-layout > div:last-child > div {
            height: 380px;
        }

        .characters-game-page .game-stage-image {
            justify-content: center;
        }

        .characters-game-page .character-stage-canvas {
            max-width: 100%;
            max-height: 100%;
        }

        .characters-game-page .game-stage-picker > div:first-child > div {
            height: 380px !important;
        }

        .characters-game-page .picker-panel {
            min-height: 380px;
            height: 380px;
        }

        .characters-game-page .result-image-frame,
        .characters-game-page .final-character-visual {
            width: 420px;
            height: 380px;
            min-height: 380px;
        }

        .characters-game-page .result-cards {
            height: 380px;
        }

        .characters-game-page .result-card-top,
        .characters-game-page .result-card-bottom {
            height: 190px;
            padding: 1.75rem;
        }
    }

    @media (max-width: 1023px) {
        .characters-game-page {
            padding-top: 1rem;
            padding-bottom: 2rem;
        }

        .characters-game-page .game-shell {
            width: 100%;
        }

        .characters-game-page .game-title h2,
        .characters-game-page .result-title h2,
        .characters-game-page .final-title h2 {
            font-size: 2.25rem;
            line-height: 1.2;
        }

        .characters-game-page .game-stage {
            gap: 1rem;
        }

        .characters-game-page .game-stage-picker {
            width: 100%;
        }

        .characters-game-page .picker-panel {
            min-height: 280px;
        }

        .characters-game-page .result-layout,
        .characters-game-page .final-layout {
            gap: 1rem;
        }

        .characters-game-page .result-image-frame {
            min-height: 260px;
        }

        .characters-game-page .result-cards > div {
            min-height: 400px;
        }

        .characters-game-page .result-score-value {
            font-size: 3.8rem;
        }

        .characters-game-page .final-character-visual {
            min-height: 260px;
        }

        .characters-game-page .final-character-visual img {
            object-fit: contain;
            background: rgba(255, 255, 255, 0.5);
        }
    }

    @media (max-width: 767px) {
        .characters-game-page {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
            padding-top: 0.5rem;
        }

        .characters-game-page .game-title,
        .characters-game-page .result-title,
        .characters-game-page .final-title {
            margin-bottom: 1.25rem;
        }

        .characters-game-page .game-title h2,
        .characters-game-page .result-title h2,
        .characters-game-page .final-title h2 {
            font-size: 1.95rem;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        .characters-game-page .game-title p,
        .characters-game-page .result-title p,
        .characters-game-page .final-title p {
            margin-bottom: 0.375rem;
            font-size: 0.95rem;
        }

        .characters-game-page .character-stage-canvas {
            max-height: none;
            border-radius: 1.75rem;
        }

        .characters-game-page .game-stage {
            gap: 0.875rem;
            margin-bottom: 1.25rem;
        }

        .characters-game-page .game-stage-image {
            justify-content: center;
        }

        .characters-game-page .game-stage-picker {
            overflow: hidden;
            border-radius: 1.5rem;
        }

        .characters-game-page .game-stage-picker > div:first-child {
            flex: 0 0 88px;
        }

        .characters-game-page .game-stage-picker > div:first-child > div {
            height: 400px !important;
        }

        .characters-game-page .game-stage-picker > div:first-child > div > div {
            width: 29px !important;
        }

        .characters-game-page .picker-panel {
            min-height: 400px;
            border-top-right-radius: 1.5rem !important;
            border-bottom-right-radius: 1.5rem !important;
        }

        .characters-game-page .picker-panel > div:first-child {
            top: 1rem;
            left: 1rem;
        }

        .characters-game-page .picker-panel > div:last-child {
            right: 1rem;
            bottom: 1rem;
        }

        .characters-game-page .picker-button-group {
            gap: 0.75rem;
        }

        .characters-game-page #hint-btn {
            width: 3.4rem;
            height: 3.4rem;
        }

        .characters-game-page #submit-btn {
            width: 4.15rem;
            height: 4.15rem;
        }

        .characters-game-page #hint-btn span {
            font-size: 1.55rem;
        }

        .characters-game-page #submit-btn span {
            font-size: 2rem;
        }

        .characters-game-page .result-title,
        .characters-game-page .final-title {
            margin-bottom: 1rem;
        }

        .characters-game-page .result-image-frame {
            min-height: 220px;
            border-radius: 1.4rem;
            box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
        }

        .characters-game-page .result-cards > div {
            min-height: auto;
        }

        .characters-game-page .result-cards > div,
        .characters-game-page .final-layout > div:last-child > div {
            border-radius: 1.5rem;
        }

        .characters-game-page .result-cards-frame {
            border-radius: 1.6rem;
            border: 1px solid rgba(226, 232, 240, 0.85);
            box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
        }

        .characters-game-page .result-cards > div {
            border-radius: 0 !important;
        }

        .characters-game-page .result-card-top {
            border-top-left-radius: 1.6rem !important;
            border-top-right-radius: 1.6rem !important;
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
            min-height: 248px;
            padding: 1.2rem 1.15rem 1.4rem;
        }

        .characters-game-page .result-card-bottom {
            border-top-left-radius: 0 !important;
            border-top-right-radius: 0 !important;
            border-bottom-left-radius: 1.6rem !important;
            border-bottom-right-radius: 1.6rem !important;
            min-height: 112px;
            padding: 1rem 1.1rem 1.1rem;
        }

        .characters-game-page .result-card-top .result-card-main {
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            padding-top: 1.5rem;
        }

        .characters-game-page .result-card-top .result-card-copy,
        .characters-game-page .result-card-top .result-score-block {
            align-self: center;
            text-align: center;
            min-width: 0;
            margin-left: 0;
        }

        .characters-game-page .result-card-top .result-card-copy {
            width: 100%;
        }

        .characters-game-page .result-card-top .result-card-copy p:first-child {
            letter-spacing: 0.24em;
        }

        .characters-game-page .result-card-bottom .result-card-action {
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .characters-game-page .result-card-bottom .result-card-copy {
            align-self: auto;
            text-align: left;
        }

        .characters-game-page .result-card-bottom .result-card-copy p:first-child {
            letter-spacing: 0.24em;
        }

        .characters-game-page #about {
            padding-top: 3.5rem;
            padding-bottom: 3.25rem;
        }

        .characters-game-page #about .container {
            padding-left: 0.2rem;
            padding-right: 0.2rem;
        }

        .characters-game-page #about h2 {
            font-size: 2.25rem;
            line-height: 1.15;
        }

        .characters-game-page #about .prose {
            font-size: 1rem;
            line-height: 1.85;
        }

        .characters-game-page #about .prose > p:first-child {
            margin-bottom: 1.25rem;
            padding: 1.25rem 1.15rem;
            border-radius: 1.25rem;
            font-size: 1.02rem;
            line-height: 1.8;
        }

        .characters-game-page #about .prose > .bg-white {
            padding: 1.35rem 1.15rem;
            border-radius: 1.35rem;
        }

        .characters-game-page #about .prose > .bg-white h3 {
            font-size: 1.65rem;
            line-height: 1.2;
            margin-bottom: 0.85rem;
        }

        .characters-game-page #about .grid.md\:grid-cols-2 {
            gap: 0.85rem;
            margin-top: 1rem;
        }

        .characters-game-page #about .grid.md\:grid-cols-2 > div {
            padding: 1rem;
            border-radius: 1.2rem;
        }

        .characters-game-page #about .grid.md\:grid-cols-2 > div h4 {
            font-size: 1rem;
        }

        .characters-game-page #round-score {
            font-size: 3.7rem;
            line-height: 1;
        }

        .characters-game-page #average-score {
            font-size: 4rem;
            line-height: 1;
        }

        .characters-game-page .result-card-main,
        .characters-game-page .result-card-action {
            gap: 0.875rem;
        }

        .characters-game-page .result-card-copy p:last-child,
        .characters-game-page .result-score-label {
            white-space: normal;
        }

        .characters-game-page .result-score-value {
            font-size: 4rem;
            line-height: 0.88;
            letter-spacing: -0.05em;
        }

        .characters-game-page .result-score-label {
            max-width: 12rem;
            margin-top: 0.15rem;
            font-size: 0.92rem;
            line-height: 1.45;
        }

        .characters-game-page #next-character-btn {
            width: 3.9rem;
            height: 3.9rem;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
        }

        .characters-game-page .final-character-visual {
            min-height: 220px;
        }

        .characters-game-page #round-history-thumbnails {
            gap: 0.45rem;
        }

        .characters-game-page .final-layout .flex.gap-4.justify-center {
            gap: 0.75rem;
        }

        .characters-game-page .final-layout .flex.gap-4.justify-center button {
            padding: 0.875rem;
        }

        .characters-game-page .history-thumb,
        .characters-game-page .history-thumb img {
            width: 48px;
            min-width: 48px;
            height: 48px;
        }
    }

    @media (max-width: 380px) {
        .characters-game-page .game-title h2,
        .characters-game-page .result-title h2,
        .characters-game-page .final-title h2 {
            font-size: 1.75rem;
        }

        .characters-game-page .game-stage-picker > div:first-child {
            flex-basis: 78px;
        }

        .characters-game-page .game-stage-picker > div:first-child > div > div {
            width: 26px !important;
        }

        .characters-game-page .picker-panel {
            min-height: 205px;
        }

        .characters-game-page #hint-btn {
            width: 3.1rem;
            height: 3.1rem;
        }

        .characters-game-page #submit-btn {
            width: 3.8rem;
            height: 3.8rem;
        }

        .characters-game-page .result-score-value {
            font-size: 2.85rem;
        }

        .characters-game-page .history-thumb,
        .characters-game-page .history-thumb img {
            width: 44px;
            min-width: 44px;
            height: 44px;
        }
    }
