/* DUO 증강 벽돌깨기 (2026-11-18) — 대기실·패널·모달은 ttfe.css(tt-*) 공용, 여기는 경기장 화면만 */
.bk-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.bk-play { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.bk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: min(100%, var(--fw, 480px)); }
.bk-lives { color: #ff6b8b; letter-spacing: 1px; font-size: 18px !important; }
.bk-field-wrap { position: relative; width: min(100%, var(--fw, 480px)); aspect-ratio: 3 / 4; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.bk-field { width: 100%; height: 100%; display: block; border-radius: 16px; box-shadow: 0 0 0 3px #3d3166, 0 18px 44px rgba(0, 0, 0, .5); background: #0b0a1c; cursor: none; }
.bk-field.targeting { cursor: crosshair; }
.bk-body #gFieldWrap.boss .bk-field { box-shadow: 0 0 0 3px #ff5d73, 0 0 40px rgba(255, 93, 115, .35), 0 18px 44px rgba(0, 0, 0, .5); }
.bk-over { position: absolute; inset: 0; z-index: 8; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(12, 8, 26, .72); backdrop-filter: blur(2px); text-align: center; padding: 16px; }
.bk-over b { font-size: 36px; font-family: "Black Han Sans", sans-serif; }
.bk-over p { margin: 0; color: #d9d0ef; }
.bk-over .big { font-size: 44px; color: #ffd84a; text-shadow: 0 0 20px rgba(255, 216, 74, .6); }
.bk-target { top: 8px; transform: none; left: 8px; right: 8px; }
.bk-minis { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); }
.bk-minis .tt-mini canvas { aspect-ratio: 3 / 4; }
/* 증강 사용 버튼: 남은 재사용 시간 표시 */
.tt-aug .cd { position: absolute; inset: 0; border-radius: 14px; background: linear-gradient(90deg, rgba(0, 0, 0, .55) var(--cd, 0%), transparent var(--cd, 0%)); pointer-events: none; }
/* 방송 화면 */
body.tt-cast .bk-main { grid-template-columns: minmax(0, 1fr) minmax(380px, 46%); }
/* 반응형: 화면 높이에 맞춰 경기장 크기 */
@media (min-width: 981px) { .bk-play { --fw: min(480px, calc((100vh - 250px) * .75)); } .bk-field-wrap, .bk-stats { width: var(--fw); } }
@media (max-width: 980px) { .bk-main, body.tt-cast .bk-main { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .bk-play { --fw: min(100%, calc((100svh - 200px) * .75)); }
  .bk-stats { gap: 5px; } .bk-stats .tt-sbox { padding: 4px 6px; } .bk-stats .tt-sbox b { font-size: 16px; } .bk-best { display: none; } .bk-stats { grid-template-columns: repeat(3, 1fr); }
  body.tt-in-game { overscroll-behavior: none; }
}
/* 가로로 눕힌 폰: 경기장 왼쪽, 패널 오른쪽 */
@media (max-height: 520px) and (orientation: landscape) {
  .bk-main { grid-template-columns: auto minmax(0, 1fr); }
  .bk-play { --fw: calc((100svh - 70px) * .75); }
  .bk-stats { display: none; }
  body.tt-in-game .topbar { display: none; }
  .tt-hud { margin-bottom: 4px; }
  .tt-keys { display: none; }
  .bk-play { flex-direction: row; align-items: flex-start; justify-content: center; flex-wrap: nowrap; }
  .bk-play .tt-augbar { flex-direction: column; width: 170px; flex: none; }
  .bk-play .tt-aug { max-width: 170px; flex: none; }
  .bk-play .tt-buffs, .bk-play .tt-syn { display: none; }
  #ttApp { padding-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .bk-field-wrap * { animation: none !important; } }
