/* 하캐 2026-10-12 v10: 목표 상자 칩 · 달성 연출 · 가장 큰 상자 왕관. B 화면 전용. skin3d.css 위에 얹는다 */
.goal-chip { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 5px;
  padding: 3px 4px 3px 9px; border-radius: 18px; background: rgba(255, 246, 230, 0.95); box-shadow: 0 3px 0 rgba(74, 40, 20, 0.35); }
.goal-chip small { font-size: 11px; font-weight: 900; color: #8a5a2a; }
.goal-chip .goal-box { position: relative; width: 34px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 13px !important; font-weight: 900; }
.goal-chip.up { animation: goalup 0.7s ease-out; }
@keyframes goalup { 0% { transform: translateY(-50%) scale(1); } 35% { transform: translateY(-50%) scale(1.35); } 100% { transform: translateY(-50%) scale(1); } }

.goal-pop { position: absolute; left: 50%; top: 38%; z-index: 30; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px;
  transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
.goal-pop.show { animation: goalpop 1.5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes goalpop {
  0% { transform: translate(-50%, -50%) scale(0.4); opacity: 0; }
  18% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
  30% { transform: translate(-50%, -50%) scale(1); }
  80% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -60%) scale(0.95); opacity: 0; }
}
.goal-pop .gp-box { position: relative; width: 84px; height: 76px; display: flex; align-items: center; justify-content: center; border-radius: 14px;
  font-size: 28px !important; font-weight: 900; filter: drop-shadow(0 0 10px rgba(255, 214, 70, 1)) drop-shadow(0 0 22px rgba(255, 180, 40, 0.8)); }
.goal-pop .gp-text { font-size: 26px; font-weight: 900; color: #fff; -webkit-text-stroke: 1.5px #6b3a1e; paint-order: stroke fill;
  text-shadow: 0 3px 0 #6b3a1e; white-space: nowrap; }
.goal-pop .gp-sub { font-size: 13px; font-weight: 900; color: #fff; background: rgba(74, 40, 20, 0.88); border-radius: 12px; padding: 3px 10px; white-space: nowrap; }

/* 판에서 가장 큰 상자: 왕관 */
.bboard .tile.best { overflow: visible; z-index: 3; }
.bboard .tile.best::after { content: '👑'; display: block !important; position: absolute; top: -0.75em; right: -0.25em; bottom: auto; left: auto;
  width: auto; height: auto; opacity: 1; background: none; font-size: 0.95em; line-height: 1;
  -webkit-text-stroke: 0; filter: drop-shadow(0 1px 0 rgba(74, 40, 20, 0.6)); pointer-events: none; }
