/* v0.4.0 성장·상점·보스 카드 스타일(자리표시자 그림은 이모지·CSS). 그림이 들어오면 assets/sd/ui/ 키로 교체: docs/ASSET_NEEDS.md */
.growPanel { grid-column: 1 / -1; margin: 6px 0 2px; }
.castle { display: flex; justify-content: space-between; gap: 4px; background: linear-gradient(#dff0ff, #eef7ff); border: 2px solid var(--line); border-radius: 16px; padding: 6px 8px; }
.castle .rs { flex: 1; text-align: center; min-width: 0; }
.castle .rs i { display: block; font-style: normal; font-size: 26px; line-height: 32px; }
.castle .rs small { display: block; font-size: 11px; font-weight: 700; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.castle .rs.off i { filter: grayscale(1) opacity(.35); }
.castle .rs.on i { animation: bob 2.6s ease-in-out infinite; }
.goalBar { margin: 6px 0 2px; font-size: 13px; font-weight: 800; color: #2f5fb8; }
.goalBar .gb { height: 12px; background: #d9e3f2; border-radius: 8px; overflow: hidden; margin-top: 3px; }
.goalBar .gb i { display: block; height: 100%; background: linear-gradient(90deg, #6aa6f0, #8ce0c4); border-radius: 8px; }
.stat { margin: 4px 0 !important; } .stat b { color: #2f5fb8; }
.resumeBtn { width: 100%; margin: 6px 0; text-align: center; } .resumeBtn small { display: block; font-size: 12px; font-weight: 600; }
.growBtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.gbtn { position: relative; background: var(--card); border: 2px solid var(--line); min-height: 56px; padding: 2px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gbtn b { font-size: 14px; } .gbtn small { font-size: 12px; color: var(--ink2); }
.gbtn .dot { position: absolute; right: 5px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #e03131; }
.goal { display: flex; justify-content: space-between; align-items: center; background: #f7faff; border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px; margin: 6px 0; font-size: 14px; }
.goal.ok { background: #ebfbf3; border-color: var(--mint); }
.attGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 8px 0; }
.att { border: 2px solid var(--line); border-radius: 12px; padding: 4px 2px; text-align: center; background: #f7faff; min-height: 64px; }
.att b { display: block; font-size: 13px; } .att small { display: block; font-size: 11px; color: var(--ink2); line-height: 1.3; }
.att.got { background: #ebfbf3; border-color: var(--mint); } .att.now { border-color: #2f7de1; box-shadow: 0 0 0 3px rgba(47,125,225,.3); }
.trainRow { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 12px; padding: 6px 8px; margin: 6px 0; background: #f7faff; }
.trainRow img { width: 40px; height: 40px; object-fit: contain; flex: none; } .trainRow > span { flex: 1; min-width: 0; }
.trainRow b { display: block; font-size: 14px; } .trainRow small { font-size: 12px; color: var(--ink2); }
.trainRow button { flex: none; min-width: 78px; font-size: 13px; padding: 0 8px; }
.trainRow .pt3 { display: flex; gap: 2px; align-items: center; } .trainRow .pbtn { flex: none; display: flex; gap: 4px; }
.trainRow.lockRow { opacity: .6; justify-content: center; }
button[aria-disabled="true"] { opacity: .55; }
.meritLine { text-align: center; font-weight: 800; color: #2f5fb8; margin: 6px 0 !important; } .meritLine small { font-weight: 600; color: var(--ink2); }
.restoreLine { text-align: center; background: #fff8e1; border: 2px solid #ffc94d; border-radius: 12px; padding: 6px 8px; margin: 6px 0 !important; animation: pop .5s ease-out; }
.meet { text-align: center; background: #f1f8ff; border: 2px dashed #9ccbf5; border-radius: 12px; padding: 6px 8px; margin: 6px 0 !important; }
.meet small { color: var(--ink2); }
.merchant { text-align: center; font-weight: 800; background: #fff8e1; border-radius: 12px; padding: 6px; }
.giftBtn { width: 100%; margin: 6px 0; } .giftBtn small { font-size: 12px; font-weight: 600; }
.goalLine { text-align: center; color: #2f5fb8 !important; font-weight: 700; }
.teaser { margin-top: 10px; border: 2px dashed var(--lilac); background: #f6f4ff; border-radius: 14px; padding: 8px 10px; }
.teaser .sec { width: 100%; }
.bossPic { text-align: center; margin: 4px 0; } .bossPic img { width: 120px; height: 120px; object-fit: contain; border-radius: 50%; background: radial-gradient(var(--aura, #fff), transparent 70%); }
.bossName { text-align: center; font-size: 20px !important; font-weight: 800; margin: 2px 0 !important; color: #c2255c; }
.pat { margin: 4px 0 !important; }
.bossList { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; }
.bossCard { display: flex; gap: 10px; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 8px; }
.bossCard .bpic { width: 64px; height: 64px; flex: none; } .bossCard img { width: 64px; height: 64px; object-fit: contain; }
.bossCard small { display: block; font-size: 13px; color: var(--ink2); line-height: 1.4; } .bossCard b { font-size: 15px; }
.shelfCard { position: relative; background: var(--card); border: 2px solid var(--line); border-radius: 18px; padding: 12px; margin: 8px 0; }
.shelfCard h3 { margin: 0 0 6px; font-size: 17px; }
.shelfCard.main { border-color: var(--lilac); background: #f6f4ff; } .shelfCard.main .cta { width: 100%; }
.shelfCard.soon { opacity: .85; }
.ribbon { position: absolute; right: 10px; top: 10px; background: #c2255c; color: #fff; border-radius: 999px; font-size: 12px; font-weight: 800; padding: 2px 10px; }
.benefit { margin: 6px 0; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.pvRow { display: flex; justify-content: center; gap: 12px; margin: 6px 0; }
.dexPic.big { width: 96px; height: 96px; } .dexPic img.c { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.pvChips { justify-content: center; }
#benchRow.wide { height: 112px; }
#benchRow.wide #bench { grid-template-columns: repeat(4, minmax(44px, 1fr)); grid-auto-rows: 46px; }
.bn[hidden] { display: none; }
@media (orientation: landscape) and (max-height: 520px) { #benchRow.wide { height: 100px; } #benchRow.wide #bench { grid-template-columns: repeat(4, minmax(44px, 1fr)); grid-auto-rows: 44px; } }
@media (min-width: 900px) and (min-aspect-ratio: 5/4) { .bossList { grid-template-columns: 1fr 1fr 1fr; } .growBtns { grid-template-columns: repeat(6, 1fr); } }
.hudRs { flex: none; font-size: 13px; letter-spacing: -1px; line-height: 1; }
