/* 증강 블록블래스트 (2026-11-16) — 일반 모드에선 이 요소들이 모두 숨겨져 있음 */
.bb-setup-btn-aug { background: linear-gradient(180deg, #ffcf5a, #f2a20f); color: #2a1a00; }
.bb-mode-note { margin: 8px auto 4px; max-width: 420px; font-size: 12px; line-height: 1.5; color: #a8b0c4; text-align: center; }
.bb-mode-note b { color: #e6ecff; }

.bb-aug-bar { margin: 10px auto 0; max-width: 520px; padding: 10px 12px; border-radius: 14px; background: rgba(18, 16, 32, .7); box-shadow: inset 0 0 0 1px rgba(242, 176, 42, .35); box-sizing: border-box; }
.bb-aug-bar[hidden] { display: none; }
.bb-aug-bar .h { display: flex; gap: 8px; align-items: baseline; font-size: 12px; color: #c9c2dd; margin-bottom: 6px; }
.bb-aug-bar .h b { color: #ffd36a; font-size: 13px; }
.bb-aug-bar .h .next { margin-left: auto; color: #8f88a8; }
.bb-aug-bar .row { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.bb-aug-bar .lbl { flex: none; width: 30px; font-size: 11px; font-weight: 800; color: #8f88a8; }
.bb-aug-bar .act, .bb-aug-bar .pas { display: flex; flex-wrap: wrap; gap: 6px; min-height: 30px; align-items: center; }
.bb-aug-bar .none { font-size: 12px; color: #6f6888; }
.bb-aug-bar .shield-state { font-size: 12px; font-weight: 800; color: #9fd1ff; }
.bb-aug-bar .ak-chip.usable { padding-right: 6px; }

.bb-aug-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 8000; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 16px; border-radius: 99px; background: #1d1830; color: #ffe7a8; font-weight: 800; font-size: 14px; box-shadow: 0 0 0 2px #f2b02a, 0 10px 30px rgba(0, 0, 0, .5); max-width: calc(100vw - 32px); box-sizing: border-box; }
.bb-aug-banner[hidden] { display: none; }
.bb-aug-banner button { border: 0; border-radius: 99px; padding: 6px 12px; background: #3a3156; color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.bb-aug-warn { margin: 6px auto 0; text-align: center; font-size: 13px; font-weight: 800; color: #ffb36b; }
.bb-aug-warn[hidden] { display: none; }

/* 대상 고르기 중 */
.bb-board.bb-aug-target-cell .bb-cell { cursor: crosshair; }
.bb-board.bb-aug-target-cell { box-shadow: 0 0 0 3px #f2b02a, 0 0 24px rgba(242, 176, 42, .45); }
.bb-board.bb-aug-target-cell .bb-cell:hover { outline: 2px solid #ffd36a; outline-offset: -2px; }
.bb-block-tray.bb-aug-target-tray .bb-tray-slot:not(.bb-empty) { box-shadow: 0 0 0 2px #f2b02a; border-radius: 12px; cursor: pointer; animation: bbAugTray 1s ease-in-out infinite; }
@keyframes bbAugTray { 50% { box-shadow: 0 0 0 3px #ffd36a, 0 0 18px rgba(242, 176, 42, .6); } }
.bb-tray-slot.bb-aug-noplace { opacity: .45; filter: grayscale(.7); position: relative; }
.bb-tray-slot.bb-aug-noplace::after { content: "못 놓음"; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); font-size: 10px; font-weight: 800; color: #ff9a9a; }

/* 능력으로 지워지는 칸 */
.bb-cell.bb-aug-pop { animation: bbAugPop .28s ease-in forwards; }
@keyframes bbAugPop { 40% { transform: scale(1.18); filter: brightness(1.8); } 100% { transform: scale(.2); opacity: .2; } }

/* 신의 블록: 모양 고르기 */
.bb-aug-shapes { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9100; width: min(92vw, 460px); padding: 14px; border-radius: 16px; background: #1b1626; box-shadow: 0 0 0 2px #f2b02a, 0 24px 60px rgba(0, 0, 0, .6); box-sizing: border-box; }
.bb-aug-shapes .t { text-align: center; font-weight: 900; color: #ffd36a; margin-bottom: 10px; }
.bb-aug-shapes .g { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.bb-aug-shapes [data-k] { display: grid; grid-template-columns: repeat(var(--c), 1fr); gap: 2px; padding: 8px; aspect-ratio: 1; align-content: center; border: 0; border-radius: 10px; background: #2a2340; cursor: pointer; }
.bb-aug-shapes [data-k]:hover { background: #3a3156; }
.bb-aug-shapes i { aspect-ratio: 1; border-radius: 2px; }
.bb-aug-shapes i.on { background: #06b6d4; }
.bb-aug-shapes i.on[data-c="2"] { background: #3b82f6; } .bb-aug-shapes i.on[data-c="3"] { background: #f59e0b; } .bb-aug-shapes i.on[data-c="4"] { background: #10b981; } .bb-aug-shapes i.on[data-c="5"] { background: #8b5cf6; } .bb-aug-shapes i.on[data-c="6"] { background: #ef4444; } .bb-aug-shapes i.on[data-c="7"] { background: #ec4899; }
.bb-aug-shapes .x { display: block; margin: 10px auto 0; border: 0; border-radius: 99px; padding: 7px 16px; background: #3a3156; color: #fff; font: inherit; cursor: pointer; }

.bb-end-augs { margin-top: 10px; }
.bb-end-augs[hidden] { display: none; }
.bb-end-augs .t { font-size: 12px; font-weight: 900; color: #b8860b; margin-bottom: 6px; }
.bb-end-augs .list { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.bb-end-aug { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: rgba(242, 176, 42, .15); color: inherit; }
.bb-end-aug small { opacity: .7; }

@media (max-width: 640px) {
  .bb-aug-bar { margin-top: 8px; padding: 8px 10px; }
  .bb-aug-bar .ak-chip .nm { max-width: 72px; }
}

/* 랭킹 TOP 50: 목록 높이 제한 + 스크롤 (2026-11-16) */
.bb-lb-list { max-height: 460px; overflow-y: auto; overscroll-behavior: contain; }
.bb-lb-list-mini { max-height: 300px; }
