.cch-arcade-shell {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 28px;
    background: var(--cch-arcade-bg);
    color: var(--cch-arcade-ink);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
    isolation: isolate;
}

.cch-arcade-shell * {
    box-sizing: border-box;
}

.cch-arcade-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.9;
}

.cch-arcade-spark {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    font-size: 28px;
    animation: cchArcadeFloat 5.4s ease-in-out infinite;
}

.cch-arcade-spark-1 {
    top: 18px;
    right: 18px;
}

.cch-arcade-spark-2 {
    top: 110px;
    left: 22px;
    animation-delay: 0.6s;
}

.cch-arcade-spark-3 {
    right: 28px;
    bottom: 120px;
    animation-delay: 1.2s;
}

.cch-arcade-topbar,
.cch-arcade-headline,
.cch-arcade-benefits,
.cch-arcade-hud,
.cch-arcade-mission-card,
.cch-arcade-stage,
.cch-arcade-feedback,
.cch-arcade-actions,
.cch-arcade-progress,
.cch-arcade-footnote {
    position: relative;
    z-index: 1;
}

.cch-arcade-topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.cch-arcade-kicker,
.cch-arcade-age {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.cch-arcade-age {
    color: var(--cch-arcade-accent);
}

.cch-arcade-headline {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.cch-arcade-mascot {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px var(--cch-arcade-glow);
    font-size: 44px;
}

.cch-arcade-title {
    margin: 0 0 8px;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.1;
    color: var(--cch-arcade-ink);
}

.cch-arcade-subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(15, 23, 42, 0.78);
}

.cch-arcade-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 16px;
}

.cch-arcade-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.cch-arcade-hud {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 16px;
}

.cch-arcade-stat,
.cch-arcade-hearts {
    min-height: 74px;
    padding: 14px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.cch-arcade-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.cch-arcade-stat-label {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.55);
}

.cch-arcade-stat strong {
    font-size: 1.2rem;
    color: var(--cch-arcade-accent);
}

.cch-arcade-hearts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
}

.cch-arcade-heart.is-lost {
    filter: grayscale(1);
    opacity: 0.32;
}

.cch-arcade-mission-card {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.cch-arcade-mission-label {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cch-arcade-mission {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.6;
}

.cch-arcade-stage {
    position: relative;
    margin-top: 18px;
    min-height: 420px;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 18px 40px rgba(15, 23, 42, 0.12);
}

.cch-arcade-scene {
    display: grid;
    gap: 18px;
}

.cch-arcade-scene-topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cch-arcade-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.07);
    font-size: 0.9rem;
    font-weight: 700;
}

.cch-arcade-focus {
    color: var(--cch-arcade-accent);
}

.cch-arcade-feedback {
    min-height: 54px;
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.5;
}

.cch-arcade-feedback.is-success {
    color: #166534;
    background: rgba(220, 252, 231, 0.94);
}

.cch-arcade-feedback.is-error {
    color: #b91c1c;
    background: rgba(254, 226, 226, 0.94);
}

.cch-arcade-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.cch-arcade-action {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    background: linear-gradient(135deg, var(--cch-arcade-accent), var(--cch-arcade-accent-2));
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 26px var(--cch-arcade-glow);
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.cch-arcade-action.is-secondary {
    background: rgba(255, 255, 255, 0.88);
    color: var(--cch-arcade-accent);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.cch-arcade-action:hover,
.cch-arcade-action:focus-visible,
.cch-choice-card:hover,
.cch-choice-card:focus-visible,
.cch-selectable:hover,
.cch-selectable:focus-visible,
.cch-compare-btn:hover,
.cch-compare-btn:focus-visible {
    transform: translateY(-2px) scale(1.01);
}

.cch-arcade-progress {
    margin-top: 16px;
    height: 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.cch-arcade-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cch-arcade-accent), var(--cch-arcade-accent-2));
    transition: width 0.24s ease;
}

.cch-arcade-footnote {
    margin-top: 12px;
    font-size: 0.94rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.68);
}

.cch-choice-grid {
    display: grid;
    gap: 14px;
}

.cch-choice-grid.is-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cch-choice-grid.is-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cch-choice-card,
.cch-selectable {
    appearance: none;
    border: 0;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.cch-choice-card {
    padding: 18px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.84));
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--cch-arcade-accent);
    text-align: center;
}

.cch-choice-card.is-correct,
.cch-selectable.is-correct,
.cch-compare-btn.is-correct {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.34), 0 16px 28px rgba(34, 197, 94, 0.18);
}

.cch-choice-card.is-wrong,
.cch-selectable.is-wrong,
.cch-compare-btn.is-wrong {
    animation: cchArcadeShake 0.34s ease;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.26), 0 14px 24px rgba(239, 68, 68, 0.18);
}

.cch-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.cch-count-tree {
    display: grid;
    gap: 16px;
}

.cch-tree-canopy {
    position: relative;
    min-height: 220px;
    border-radius: 28px;
    background: linear-gradient(180deg, #bbf7d0 0%, #4ade80 100%);
    box-shadow: inset 0 -24px 0 rgba(74, 222, 128, 0.22);
}

.cch-tree-trunk {
    position: absolute;
    bottom: 16px;
    left: 50%;
    width: 68px;
    height: 108px;
    border-radius: 22px;
    background: linear-gradient(180deg, #b45309 0%, #78350f 100%);
    transform: translateX(-50%);
}

.cch-apple-item {
    position: absolute;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 26px;
    animation: cchArcadePulse 2.2s ease-in-out infinite;
}

.cch-count-footer {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    align-items: end;
}

.cch-monkey-card {
    display: grid;
    place-items: center;
    min-height: 110px;
    border-radius: 24px;
    background: #fff7ed;
    font-size: 58px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.cch-basket-grid,
.cch-number-options,
.cch-train-options,
.cch-castle-options,
.cch-space-options,
.cch-shell-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cch-basket-card {
    position: relative;
    padding: 18px 12px 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fef3c7 0%, #fdba74 100%);
    font-size: 2rem;
    font-weight: 900;
    color: #7c2d12;
    box-shadow: 0 14px 24px rgba(124, 45, 18, 0.14);
}

.cch-basket-card::before {
    content: "🧺";
    display: block;
    margin-bottom: 6px;
    font-size: 28px;
}

.cch-shadow-stage {
    display: grid;
    gap: 18px;
}

.cch-shadow-figure {
    display: grid;
    place-items: center;
    min-height: 180px;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 30%, rgba(250, 204, 21, 0.34), rgba(15, 23, 42, 0) 52%), linear-gradient(180deg, #0f172a 0%, #334155 100%);
    color: rgba(255, 255, 255, 0.12);
    font-size: clamp(4rem, 16vw, 7rem);
    font-weight: 900;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
    letter-spacing: 0.08em;
}

.cch-shadow-hint {
    color: #0f172a;
}

.cch-number-choice {
    padding: 22px 10px;
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(191, 219, 254, 0.72));
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    font-weight: 900;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.12);
}

.cch-animal-stage {
    display: grid;
    gap: 18px;
}

.cch-animal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cch-animal-card {
    min-height: 186px;
    padding: 16px;
    border-radius: 26px;
    background: linear-gradient(180deg, #fff 0%, #fef3c7 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
    text-align: center;
}

.cch-animal-card.is-selected,
.cch-number-chip.is-selected,
.cch-shell-card.is-selected,
.cch-space-planet.is-selected,
.cch-lily-pad.is-selected {
    box-shadow: 0 0 0 4px var(--cch-arcade-accent), 0 18px 30px var(--cch-arcade-glow);
}

.cch-animal-name {
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.62);
}

.cch-animal-pack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    font-size: 30px;
}

.cch-number-chip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cch-number-chip {
    padding: 18px 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--cch-arcade-accent), var(--cch-arcade-accent-2));
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 14px 26px var(--cch-arcade-glow);
}

.cch-train-track {
    position: relative;
    display: grid;
    gap: 18px;
}

.cch-train-rail {
    height: 12px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, #7c2d12 0, #7c2d12 32px, #d6d3d1 32px, #d6d3d1 44px);
}

.cch-train-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
}

.cch-train-car {
    padding: 20px 10px 12px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff7ed 0%, #fdba74 100%);
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.cch-train-car strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    color: #7c2d12;
}

.cch-train-car span {
    display: block;
    margin-top: 8px;
    font-size: 28px;
}

.cch-train-car.is-missing {
    border: 3px dashed rgba(124, 45, 18, 0.3);
    background: rgba(255, 247, 237, 0.72);
}

.cch-frog-stage {
    display: grid;
    gap: 18px;
}

.cch-frog-pond {
    position: relative;
    min-height: 260px;
    border-radius: 28px;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 32%), linear-gradient(180deg, #67e8f9 0%, #22c55e 100%);
    overflow: hidden;
}

.cch-lily-pad {
    position: absolute;
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #bbf7d0 0%, #22c55e 68%, #15803d 100%);
    color: #064e3b;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 14px 24px rgba(6, 78, 59, 0.24);
}

.cch-frog-avatar {
    position: absolute;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    font-size: 34px;
    transition: top 0.24s ease, left 0.24s ease;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.16);
    transform: translate(-50%, -50%);
}

.cch-maze-stage {
    display: grid;
    gap: 16px;
}

.cch-maze-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.cch-maze-cell {
    position: relative;
    min-height: 78px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #fff 0%, #ede9fe 100%);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.1);
    font-size: 1.4rem;
    font-weight: 900;
    color: #4338ca;
}

.cch-maze-cell.is-current {
    box-shadow: 0 0 0 4px var(--cch-arcade-accent), 0 16px 26px var(--cch-arcade-glow);
}

.cch-maze-cell.is-treasure::after {
    content: "💎";
    position: absolute;
    right: 8px;
    bottom: 6px;
    font-size: 20px;
}

.cch-tower-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
    gap: 18px;
    align-items: end;
}

.cch-tower-area {
    min-height: 300px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 28px;
    background: linear-gradient(180deg, #fff7ed 0%, #fed7aa 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.cch-tower-block {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 220px;
    min-height: 46px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--cch-arcade-accent), var(--cch-arcade-accent-2));
    color: #fff;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 12px 18px var(--cch-arcade-glow);
}

.cch-brick-pile {
    display: grid;
    gap: 12px;
}

.cch-brick-choice {
    padding: 16px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, #ffe4c7 100%);
    color: #9a3412;
    font-size: 1.4rem;
    font-weight: 900;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.cch-castle-stage {
    display: grid;
    gap: 18px;
}

.cch-castle-scene {
    position: relative;
    min-height: 250px;
    padding: 18px 14px 88px;
    border-radius: 28px;
    background: linear-gradient(180deg, #f5d0fe 0%, #fdf4ff 38%, #fde68a 100%);
    overflow: hidden;
}

.cch-castle {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    font-size: 90px;
}

.cch-monster-lane {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cch-monster {
    min-height: 126px;
    padding: 14px 10px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #fce7f3 100%);
    text-align: center;
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

.cch-monster span {
    display: block;
}

.cch-monster-face {
    font-size: 34px;
    margin-bottom: 8px;
}

.cch-monster-answer {
    font-size: 2rem;
    font-weight: 900;
    color: #7c3aed;
}

.cch-space-stage {
    display: grid;
    gap: 18px;
}

.cch-space-lane {
    position: relative;
    min-height: 250px;
    padding: 18px;
    border-radius: 28px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 24%), linear-gradient(180deg, #0f172a 0%, #1d4ed8 100%);
    overflow: hidden;
}

.cch-space-lane::before {
    content: "✦ ✦ ✦ ✦ ✦";
    position: absolute;
    top: 18px;
    left: 24px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 14px;
    font-size: 18px;
}

.cch-rocket {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 54px;
}

.cch-space-options {
    position: relative;
    z-index: 1;
    margin-left: 96px;
}

.cch-space-planet {
    min-height: 132px;
    padding: 14px 8px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(196, 181, 253, 0.92));
    text-align: center;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
}

.cch-space-planet-emoji {
    display: block;
    font-size: 34px;
    margin-bottom: 10px;
}

.cch-space-planet-value {
    font-size: 2rem;
    font-weight: 900;
    color: #4338ca;
}

.cch-ocean-stage {
    display: grid;
    gap: 18px;
}

.cch-treasure-lock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 16px;
}

.cch-lock-card,
.cch-chest-card {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #dbeafe 100%);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.cch-lock-card strong {
    display: block;
    font-size: clamp(2.2rem, 6vw, 3rem);
    color: #0f766e;
}

.cch-chest-card {
    display: grid;
    place-items: center;
    font-size: 54px;
}

.cch-shell-card {
    padding: 18px 12px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #cffafe 100%);
    text-align: center;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
}

.cch-shell-card span {
    display: block;
}

.cch-shell-icon {
    font-size: 34px;
    margin-bottom: 6px;
}

.cch-shell-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0f766e;
}

.cch-selection-total {
    padding: 12px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 800;
}

.cch-arcade-overlay {
    position: absolute;
    inset: 22px;
    display: grid;
    place-items: center;
    padding: 20px;
    border-radius: 28px;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(6px);
    z-index: 3;
}

.cch-arcade-overlay-card {
    width: min(100%, 440px);
    padding: 26px 24px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    text-align: center;
}

.cch-arcade-overlay-card h4 {
    margin: 0 0 12px;
    font-size: 1.8rem;
    color: var(--cch-arcade-ink);
}

.cch-arcade-overlay-card p {
    margin: 0 0 18px;
    color: rgba(15, 23, 42, 0.72);
    line-height: 1.6;
}

.cch-arcade-overlay-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.cch-arcade-overlay-stat {
    padding: 12px 10px;
    border-radius: 18px;
    background: #f8fafc;
    font-size: 0.92rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.72);
}

.cch-arcade-overlay-stat strong {
    display: block;
    margin-top: 4px;
    font-size: 1.2rem;
    color: var(--cch-arcade-accent);
}

.cch-arcade-overlay-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.cch-arcade-burst {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cch-arcade-accent);
    pointer-events: none;
    animation: cchArcadeBurst 0.7s ease forwards;
}

@keyframes cchArcadeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes cchArcadePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes cchArcadeShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-4px); }
}

@keyframes cchArcadeBurst {
    from {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    to {
        transform: translate(var(--burst-x, 0), var(--burst-y, 0)) scale(0.4);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .cch-arcade-shell {
        padding: 18px;
        border-radius: 22px;
    }

    .cch-arcade-headline {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cch-arcade-mascot {
        margin: 0 auto;
    }

    .cch-arcade-hud,
    .cch-choice-grid.is-three,
    .cch-choice-grid.is-four,
    .cch-basket-grid,
    .cch-number-options,
    .cch-train-options,
    .cch-castle-options,
    .cch-space-options,
    .cch-shell-grid,
    .cch-animal-grid,
    .cch-number-chip-row,
    .cch-monster-lane {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cch-arcade-stat:last-child,
    .cch-arcade-hearts {
        grid-column: span 2;
    }

    .cch-count-footer,
    .cch-treasure-lock,
    .cch-tower-stage {
        grid-template-columns: 1fr;
    }

    .cch-space-options {
        margin-left: 0;
    }

    .cch-rocket {
        position: static;
        transform: none;
        margin-bottom: 14px;
        text-align: center;
    }

    .cch-frog-pond {
        min-height: 320px;
    }

    .cch-lily-pad {
        width: 72px;
        height: 72px;
        font-size: 1.25rem;
    }

    .cch-maze-cell {
        min-height: 64px;
    }
}

@media (max-width: 520px) {
    .cch-basket-grid,
    .cch-number-options,
    .cch-train-options,
    .cch-shell-grid,
    .cch-animal-grid,
    .cch-number-chip-row,
    .cch-space-options,
    .cch-monster-lane {
        grid-template-columns: 1fr;
    }

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

    .cch-arcade-stage {
        min-height: 380px;
        padding: 16px;
    }
}

/* Compare games */
.cch-compare-stage {
    display: grid;
    gap: 16px;
}

.cch-compare-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.cch-compare-arena {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, 180px) minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
}

.cch-compare-side {
    min-height: 170px;
    border-radius: 24px;
    padding: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(236, 253, 245, 0.72));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 10px;
    align-content: start;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cch-compare-side.is-target {
    box-shadow: 0 0 0 3px var(--cch-arcade-accent), 0 18px 30px var(--cch-arcade-glow);
    transform: translateY(-2px);
}

.cch-compare-caption {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.56);
}

.cch-food-grid {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 7px;
    min-height: 88px;
}

.cch-food-grid span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.72);
    font-size: 22px;
}

.cch-compare-count {
    font-size: 1.04rem;
    font-weight: 900;
    color: var(--cch-arcade-ink);
}

.cch-compare-center {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
}

.cch-compare-operators {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.cch-compare-btn {
    min-height: 72px;
    border-radius: 20px;
    border: 0;
    background: linear-gradient(160deg, var(--cch-arcade-accent), var(--cch-arcade-accent-2));
    color: #fff;
    box-shadow: 0 14px 24px var(--cch-arcade-glow);
    display: grid;
    place-items: center;
    gap: 2px;
    padding: 10px 8px;
}

.cch-compare-glyph {
    display: block;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
}

.cch-compare-word {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 800;
    opacity: 0.95;
}

.cch-crocodile-face {
    width: 100%;
    min-height: 102px;
    border-radius: 22px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.9), rgba(167, 243, 208, 0.72));
    box-shadow: inset 0 0 0 2px rgba(5, 150, 105, 0.18);
    display: grid;
    place-items: center;
    gap: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cch-crocodile-icon {
    font-size: 2.8rem;
    line-height: 1;
}

.cch-crocodile-hint {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #065f46;
}

.cch-crocodile-face.is-open-left {
    transform: rotate(-5deg) translateX(-4px);
}

.cch-crocodile-face.is-open-right {
    transform: rotate(5deg) translateX(4px);
}

.cch-crocodile-face.is-balance {
    box-shadow: inset 0 0 0 2px rgba(15, 23, 42, 0.14);
}

.cch-bear-lab {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.cch-bear-guide {
    min-height: 150px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffedd5 0%, #fed7aa 100%);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
    display: grid;
    place-items: center;
    font-size: 3rem;
}

.cch-balance-scale {
    position: relative;
    min-height: 150px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.78), 0 12px 24px rgba(15, 23, 42, 0.1);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    padding: 14px;
}

.cch-balance-pan {
    min-height: 96px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    display: grid;
    place-items: center;
    transition: transform 0.2s ease;
}

.cch-balance-pan span {
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 900;
    color: #7c2d12;
}

.cch-balance-pivot {
    text-align: center;
    font-size: 2rem;
    opacity: 0.82;
}

.cch-balance-scale.is-tilt-left .cch-pan-left {
    transform: translateY(12px);
}

.cch-balance-scale.is-tilt-left .cch-pan-right {
    transform: translateY(-12px);
}

.cch-balance-scale.is-tilt-right .cch-pan-left {
    transform: translateY(-12px);
}

.cch-balance-scale.is-tilt-right .cch-pan-right {
    transform: translateY(12px);
}

.cch-magic-board {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

.cch-magic-card {
    border-radius: 22px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 232, 255, 0.74));
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
    display: grid;
    gap: 8px;
}

.cch-magic-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.54);
}

.cch-magic-main {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    color: #6b21a8;
    line-height: 1.1;
}

.cch-magic-sub {
    font-size: 0.86rem;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.68);
}

.cch-magic-center {
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(233, 213, 255, 0.8), rgba(216, 180, 254, 0.68));
    box-shadow: inset 0 0 0 2px rgba(126, 34, 206, 0.15);
    display: grid;
    place-items: center;
}

.cch-magic-symbol {
    font-size: 2rem;
    font-weight: 900;
    color: #7e22ce;
}

.cch-magic-task {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    font-weight: 800;
    color: #4c1d95;
}

.cch-magic-step {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(76, 29, 149, 0.1);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #5b21b6;
}

.cch-magic-options {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cch-magic-orb {
    min-height: 82px;
    border-radius: 24px;
    background: linear-gradient(160deg, #f5d0fe 0%, #e9d5ff 100%);
    color: #581c87;
    font-size: clamp(1.9rem, 4vw, 2.3rem);
    box-shadow: 0 14px 24px rgba(88, 28, 135, 0.24);
}

@media (max-width: 767px) {
    .cch-compare-arena,
    .cch-magic-board {
        grid-template-columns: 1fr;
    }

    .cch-compare-center {
        order: 2;
    }

    .cch-compare-side.is-left {
        order: 1;
    }

    .cch-compare-side.is-right {
        order: 3;
    }

    .cch-bear-lab {
        grid-template-columns: 1fr;
    }

    .cch-bear-guide {
        min-height: 108px;
        font-size: 2.4rem;
    }
}

@media (max-width: 520px) {
    .cch-compare-operators,
    .cch-magic-options {
        grid-template-columns: 1fr;
    }

    .cch-compare-btn,
    .cch-magic-orb {
        min-height: 68px;
    }
}
