/* 이 파일은 build_games.py 가 생성합니다. 직접 수정하지 마세요. */

.brutal-border-sm { border: 3px solid #000000; }

/* 카드 전체 클릭 (액션 버튼은 z-10 으로 위에 둔다) */
.game-card { transition: all 0.2s ease; }
.game-card:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0px 0px #000000; }

.stretched-link::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== PLAY 플랫폼 선택 모달 ===== */
.play-choice { position: fixed; inset: 0; z-index: 9999; display: block; }
.play-choice[hidden] { display: none !important; }
.play-choice__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.play-choice__panel {
    position: relative;
    width: min(30rem, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    overflow-y: auto;
    text-align: left;
}
.play-choice__option { display: block; box-shadow: 4px 4px 0px 0px #000000; transition: all 0.15s ease; }
.play-choice__option:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0px 0px #000000; }
.play-choice__option:focus-visible { outline: 3px solid #ff66c4; outline-offset: 3px; }
.play-choice__close:focus-visible { outline: 3px solid #ff66c4; outline-offset: 2px; }
body.play-choice-open { overflow: hidden; }

html[data-theme="dark"] .play-choice__option { box-shadow: 4px 4px 0px 0px #f4f1e8; }
html[data-theme="dark"] .play-choice__option:hover { box-shadow: 7px 7px 0px 0px #f4f1e8; }

@media (prefers-reduced-motion: reduce) {
    .play-choice__option { transition: none; }
    .play-choice__option:hover { transform: none; }
}
