/* 스토어 버튼 한 쌍(js/store-links.js)과 웹 결말 화면 앱 안내 카드(js/end-app.js). 인앱 안내(.inapp, index.html)와 같은 말투의 단추 */
.store-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 10px; }
.store-btn { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; box-sizing: border-box; padding: 11px 12px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--card); color: var(--ink); font: 800 16px 'Paperlogy', var(--head); text-decoration: none; white-space: nowrap; }
.store-btn.main { border-color: #2A211E; background: var(--acc); color: #2A211E; box-shadow: 0 3px 0 #2A211E; }
.store-btn .ui-i { width: 18px; height: 18px; flex: none; }
.store-btn:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
@media (max-width: 340px) { .store-btns { grid-template-columns: 1fr; } }

/* 인앱 안내: 스토어 버튼이 위로 올라가면 외부 브라우저·링크 복사는 작게 */
.inapp .inapp-or { margin: 0 0 8px; color: var(--muted); font-size: 12.5px; }
.inapp-btns.small button { padding: 8px 12px; min-height: 40px; font-size: 13.5px; }

/* 결말 화면 앱 안내: 화면 속 한 칸, 조용하게 */
.end-app { margin: 14px 0 4px; padding: 14px 14px 4px; border: 2px dashed var(--line); border-radius: 16px; background: var(--soft); }
.end-app p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; word-break: keep-all; }
.end-app p b { font-weight: 800; }

/* 이용 통계 첫 안내 카드(js/stats-notice.js): 화면 아래 작은 카드, 게임을 막지 않는다 */
.stats-notice { position: fixed; z-index: 40; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(460px, calc(100% - 24px)); box-sizing: border-box;
  padding: 12px 14px; border-radius: 16px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink), 0 10px 26px rgba(0,0,0,.18); animation: snIn .3s ease-out; }
.stats-notice.out { animation: snOut .25s ease-in forwards; }
@keyframes snIn { from { transform: translate(-50%, 20px); opacity: 0; } } @keyframes snOut { to { transform: translate(-50%, 20px); opacity: 0; } }
.stats-notice p { margin: 0 0 10px; font-size: 13px; line-height: 1.55; word-break: keep-all; }
.stats-notice a { color: inherit; }
.stats-notice-btns { display: flex; justify-content: flex-end; gap: 8px; }
.stats-notice-btns button { min-height: 40px; padding: 8px 16px; border-radius: 12px; border: 2px solid #2A211E; background: var(--acc); color: #2A211E; font: 800 14px 'Paperlogy', var(--head); cursor: pointer; }
.stats-notice-btns button.sub { background: var(--card); color: var(--ink); border-color: var(--line); }
@media (prefers-reduced-motion: reduce) { .stats-notice, .stats-notice.out { animation: none; } }
