.arcade {
    color: #eff8ee;
}
.arcade-kicker {
    color: #f5c96a;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    margin: 18px 0 12px;
}
.arcade h1 {
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -2px;
}
.arcade-intro {
    color: #aabdb7;
    margin: 18px 0 28px;
    max-width: 680px;
}
.arcade-back {
    color: #b9d5cb;
    font-size: 13px;
}
.arcade-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.arcade-card {
    overflow: hidden;
    background: #17352e;
    border: 1px solid #35574a;
    border-radius: 22px;
    transition:
        transform 0.2s,
        border-color 0.2s;
}
.arcade-card:hover {
    transform: translateY(-4px);
    border-color: #f5c96a;
}
.arcade-card:focus-visible,
.arcade button:focus-visible {
    outline: 3px solid #f5c96a;
    outline-offset: 3px;
}
.arcade-art {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    height: 180px;
    font-size: 78px;
}
.arcade-art span {
    font-size: 48px;
}
.arcade-art-honey {
    background: radial-gradient(circle at 60% 30%, #f1dc9e, #739c6d);
}
.arcade-art-tower {
    background: radial-gradient(circle at 40% 30%, #9dbdab, #345a61);
}
.arcade-card-body {
    padding: 28px;
}
.arcade-tag {
    font-size: 10px;
    letter-spacing: 2px;
    color: #f5c96a;
}
.arcade-card h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 10px 0;
}
.arcade-card p {
    color: #b1c8bc;
    min-height: 72px;
}
.arcade-card strong {
    color: #ffe0a0;
    display: block;
    margin-top: 24px;
}
.arcade-card small {
    display: block;
    color: #8daa9c;
    margin-top: 12px;
}
.td-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #17352e;
    border: 1px solid #35574a;
    padding: 18px;
    border-radius: 16px;
    margin: 20px 0;
    gap: 12px;
}
.td-stats span {
    color: #aac6b7;
    font-size: 12px;
}
.td-stats strong {
    display: block;
    color: #ffe0a0;
    font-size: 24px;
}
.td-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 20px;
}
.td-board {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid #53745a;
}
.td-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(8, 1fr);
}
.td-grid button {
    border: 1px solid #ffffff0d;
    background: #416746;
    padding: 0;
    cursor: pointer;
}
.td-grid button:nth-child(odd) {
    background: #486f4c;
}
.td-grid button.td-path {
    background: #cbb587;
    cursor: default;
}
.td-grid button.td-selected {
    box-shadow: inset 0 0 0 3px #ffe0a0;
}
.td-grid button:focus-visible {
    outline-offset: -3px;
}
#td-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.td-panel {
    background: #17352e;
    border: 1px solid #35574a;
    border-radius: 16px;
    padding: 18px;
}
.td-panel h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.td-panel button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #446956;
    border-radius: 10px;
    margin-top: 8px;
    background: #214537;
    color: #e0eee4;
    cursor: pointer;
    font-size: 13px;
}
.td-panel button[aria-pressed='true'] {
    border-color: #f5c96a;
    background: #685b2e;
}
.td-panel button:disabled {
    opacity: 0.5;
    cursor: default;
}
.td-panel .td-primary {
    background: #f5c96a;
    color: #352c1b;
    font-weight: 700;
}
.td-panel small {
    display: block;
    font-size: 11px;
    color: #c4d4c9;
    margin-top: 3px;
}
.td-panel p,
.td-legend {
    color: #9eb7a9;
    font-size: 12px;
    margin-top: 14px;
}
#td-selection {
    font-size: 13px;
    margin: 18px 0 8px;
    color: #ffe0a0;
}
.td-panel hr {
    border-color: #35574a;
    margin: 18px 0;
}
.td-status {
    margin-top: 20px;
    background: #f5c96a12;
    border: 1px solid #f5c96a44;
    padding: 16px;
    border-radius: 12px;
    color: #ffe0a0;
}
@media (max-width: 760px) {
    .arcade-cards,
    .td-layout {
        grid-template-columns: 1fr;
    }
    .td-shop {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .td-panel button {
        padding: 10px;
    }
    .td-stats {
        padding: 12px;
    }
    .td-stats strong {
        font-size: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .arcade-card {
        transition: none;
    }
}
