/* 구름 꿀벌 농장: 섬은 캔버스, 패널·창·HUD 는 다른 Leapinity 게임과 같은 키트 모양 (흰 둥근 카드·분홍→보라) */
:root { --bs: var(--kit-btn-scale, 1); --ink: #2f3550; --muted: #7a809c; --accent: #8b7cf6; --pink: #ff8fb8; --honey: #f3a93a; --good: #1f9d63; --bad: #d9486b; --glass: rgba(255, 255, 255, .94); --pw: min(400px, 44vw); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none; }
body { font-family: "Pretendard Variable", "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; background: #bfe3ff; color: var(--ink); word-break: keep-all; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
#cv { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; touch-action: none; cursor: pointer; }
.hidden { display: none !important; }
button { font: inherit; color: inherit; }

/* 위쪽 */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 8px; padding: calc(env(safe-area-inset-top) + 8px) calc(env(safe-area-inset-right) + 10px) 4px calc(env(safe-area-inset-left) + 10px); pointer-events: none; }
.top > * { pointer-events: auto; }
.top #accountSlot { margin-left: auto; }
.round { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ece8f4; background: var(--glass); box-shadow: 0 4px 14px rgba(40, 60, 120, .18); cursor: pointer; font-size: 18px; flex: none; }
.isl { display: flex; align-items: center; gap: 6px; max-width: 46vw; padding: 6px 12px 6px 8px; border-radius: 99px; border: 1px solid #ece8f4; background: var(--glass); box-shadow: 0 4px 14px rgba(40, 60, 120, .18); cursor: pointer; white-space: nowrap; overflow: hidden; }
.isl span { font-size: 20px; }
.isl b { font-weight: 900; font-size: 14px; }
.isl small { color: var(--muted); font-weight: 800; font-size: 12px; }
body.boot .top .isl, body.boot .top #setBtn, body.boot .top #musBtn { visibility: hidden; }
.round.off { opacity: .45; filter: grayscale(1); }
/* 🎵 버튼은 위쪽 줄이 넉넉할 때만 (좁은 휴대폰은 ⚙️ 설정 안에서 켜고 꺼요) */
@media (max-width: 560px) { .top #musBtn { display: none; } }

/* 코인·꿀·알 */
.hud { position: fixed; z-index: 19; left: calc(env(safe-area-inset-left) + 10px); top: calc(env(safe-area-inset-top) + 56px); display: flex; gap: 6px; pointer-events: none; }
.hc { pointer-events: auto; display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 12px 0 8px; border-radius: 99px; border: 1px solid #ece8f4; background: var(--glass); box-shadow: 0 3px 10px rgba(40, 60, 120, .16); font-weight: 900; font-size: 15px; cursor: pointer; white-space: nowrap; }
.hc i { font-style: normal; font-size: 18px; }
.hc small { font-size: 11px; font-weight: 800; color: var(--good); margin-left: 2px; }
.hc.bump { animation: bump .35s ease-out; }
@keyframes bump { 40% { transform: scale(1.14); } }
.hc.egg.dot { position: relative; }
.hc.egg.dot::after { content: ''; position: absolute; top: -2px; right: -2px; width: 11px; height: 11px; border-radius: 50%; background: #ff4d7a; box-shadow: 0 0 0 2px #fff; }

/* 부스트 */
.boost { position: fixed; z-index: 19; left: calc(env(safe-area-inset-left) + 10px); top: calc(env(safe-area-inset-top) + 100px); display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 99px; background: linear-gradient(135deg, #ffe066, #ffb84d); color: #6b3d00; font-size: 13px; box-shadow: 0 4px 12px rgba(255, 160, 40, .35); pointer-events: none; animation: bump .3s ease-out; }
.boost i { display: block; width: 70px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .55); overflow: hidden; }
.boost u { display: block; height: 100%; background: #fff; border-radius: 99px; }

/* 첫 걸음·목표 */
.quest { position: fixed; z-index: 18; left: calc(env(safe-area-inset-left) + 10px); top: calc(env(safe-area-inset-top) + 100px); max-width: min(70vw, 330px); display: flex; align-items: flex-start; gap: 8px; padding: 8px 12px; border-radius: 16px; border: 0; background: linear-gradient(135deg, rgba(255, 143, 184, .96), rgba(139, 124, 246, .96)); color: #fff; text-align: left; font-weight: 800; font-size: 13px; line-height: 1.4; box-shadow: 0 6px 18px rgba(80, 50, 140, .3); cursor: pointer; }
.quest em { font-style: normal; font-size: 18px; line-height: 1.1; }
.quest small { display: block; opacity: .9; font-weight: 700; font-size: 11.5px; }
.quest.goal { background: rgba(255, 255, 255, .94); color: var(--ink); }
.quest.goal small { color: var(--muted); }
.quest .qp { display: block; height: 5px; border-radius: 99px; background: #ece8f4; margin-top: 4px; overflow: hidden; min-width: 140px; }
.quest .qp u { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--accent)); }
.quest.pop { animation: qpop .5s ease-out; }
body.boosting .quest { top: calc(env(safe-area-inset-top) + 136px); }
@keyframes qpop { 0% { transform: scale(.9); } 60% { transform: scale(1.05); } 100% { transform: none; } }
.fest-tip { position: fixed; z-index: 18; transform: translateX(-50%); white-space: nowrap; padding: 7px 14px; border-radius: 99px; border: 0; background: linear-gradient(135deg, #ff9ccf, #ffb84d); color: #fff; font-weight: 900; font-size: 13px; box-shadow: 0 4px 14px rgba(255, 120, 160, .4); cursor: pointer; animation: wob 1.2s ease-in-out infinite; }
@keyframes wob { 50% { transform: translateY(-3px) rotate(-2deg); } }
.fest-tip { animation: wobx 1.2s ease-in-out infinite; }
@keyframes wobx { 50% { transform: translateX(-50%) translateY(-3px); } }

/* 패널 (세로: 아래 / 가로: 오른쪽) */
.panel { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 7px; padding: 10px calc(env(safe-area-inset-right) + 10px) calc(env(safe-area-inset-bottom) + 8px) calc(env(safe-area-inset-left) + 10px); border-radius: 24px 24px 0 0; background: rgba(255, 255, 255, .9); box-shadow: 0 -8px 30px rgba(60, 80, 140, .18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sellrow { display: flex; gap: 7px; }
.sell { flex: 1.5; display: flex; align-items: center; gap: 10px; min-height: calc(54px * var(--bs)); padding: 6px 14px; border-radius: 18px; border: 0; background: linear-gradient(135deg, #ffd34d, #f3a93a); color: #5a2f00; box-shadow: 0 4px 0 #c97d16, 0 6px 16px rgba(240, 150, 30, .35); cursor: pointer; text-align: left; transition: transform .08s; }
.sell:active { transform: translateY(3px); box-shadow: 0 1px 0 #c97d16; }
.sell .si { font-size: 28px; }
.sell .st b { display: block; font-weight: 900; font-size: calc(16px * var(--bs)); }
.sell .st small { display: block; font-weight: 800; font-size: 12px; opacity: .85; }
.sell.empty { filter: saturate(.4); opacity: .75; }
.sell.full { animation: glowS 1.4s ease-in-out infinite; }
@keyframes glowS { 50% { box-shadow: 0 4px 0 #c97d16, 0 0 0 5px rgba(255, 210, 80, .45); } }
.shopup { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1px; padding: 6px 10px; border-radius: 18px; border: 1.5px solid #f1e3c4; background: #fffaf0; cursor: pointer; text-align: left; min-width: 0; }
.shopup span { font-weight: 900; font-size: 13px; white-space: nowrap; }
.shopup small { font-weight: 800; font-size: 11.5px; color: #9a5b00; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.shopup.can { border-color: #ffc46b; background: #fff3d6; }
.shopup.no small { color: var(--muted); }
.ftabs { display: flex; gap: 5px; }
.ftabs button { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 5px 2px; border-radius: 14px; border: 1.5px solid #ece8f4; background: #fff; cursor: pointer; font-weight: 900; font-size: 11px; color: #6b6f8f; min-width: 0; }
.ftabs button i { font-style: normal; font-size: 20px; line-height: 1.15; }
.ftabs button.on { border-color: var(--accent); background: #f3f0ff; color: #5b4bd6; }
.ftabs button.lock { opacity: .55; }
.ftabs button.next { opacity: 1; border-style: dashed; border-color: #b9aef7; }
.ftabs button.dot::after { content: ''; position: absolute; top: 3px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: #ff4d7a; box-shadow: 0 0 0 2px #fff; }
.fcard { border-radius: 18px; background: #f8f7fc; padding: 9px 10px; }
.fhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 2px 7px; }
.fhead b { font-weight: 900; font-size: 15px; }
.fhead small { color: var(--muted); font-weight: 800; font-size: 12px; white-space: nowrap; }
.ups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.up { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 4px 8px; border-radius: 15px; border: 1.5px solid #ece8f4; background: #fff; cursor: pointer; overflow: hidden; min-height: calc(76px * var(--bs)); touch-action: manipulation; }
.up i { font-style: normal; font-size: 22px; line-height: 1.1; }
.up b { font-weight: 900; font-size: 13px; }
.up small { font-weight: 800; font-size: 11px; color: var(--muted); white-space: nowrap; }
.up .c { font-weight: 900; font-size: 12.5px; color: #9a5b00; white-space: nowrap; }
.up .pb { position: absolute; left: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #ffd34d, #f3a93a); }
.up.can { border-color: #ffc46b; background: #fffaf0; box-shadow: 0 3px 0 #f1d39a; }
.up.can:active { transform: translateY(2px); box-shadow: none; }
.up.no { opacity: .72; }
.up.no .c { color: var(--muted); }
.up.max { opacity: .6; }
.up.flashy { animation: upf .35s ease-out; }
@keyframes upf { 40% { transform: scale(1.06); background: #fff3c4; } }
.unlock { display: flex; align-items: center; gap: 10px; }
.unlock .ul-t { flex: 1; font-weight: 800; font-size: 13px; color: #555b78; line-height: 1.45; }
.unlock .ul-t b { color: var(--ink); font-size: 15px; }
.unlock .kit-btn { flex: none; padding: 12px 14px; }
.btns { display: flex; gap: 5px; }
.btns button { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(48px * var(--bs)); border-radius: 14px; border: 1px solid #ece8f4; background: #fff; box-shadow: 0 2px 8px rgba(40, 60, 120, .1); cursor: pointer; font-weight: 900; font-size: calc(12px * var(--bs)); min-width: 0; }
.btns button i { font-style: normal; font-size: calc(19px * var(--bs)); line-height: 1.15; }
.btns button:active { transform: scale(.97); }
.btns button.dot::after { content: ''; position: absolute; top: 5px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: #ff4d7a; box-shadow: 0 0 0 2px #fff; }
#moveBtn.ready { background: linear-gradient(135deg, #7fd3ff, #b49bff); color: #fff; border: 0; animation: glowS 1.6s ease-in-out infinite; }
.pulse { animation: pulseA 1.1s ease-in-out infinite !important; }
@keyframes pulseA { 50% { box-shadow: 0 0 0 5px rgba(255, 143, 184, .55); } }

@media (orientation: landscape), (min-width: 900px) {
  .panel { left: auto; top: calc(env(safe-area-inset-top) + 56px); right: calc(env(safe-area-inset-right) + 8px); bottom: calc(env(safe-area-inset-bottom) + 8px); width: var(--pw); border-radius: 22px; overflow-y: auto; padding: 10px; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .panel { gap: 5px; padding: 8px; }
  .sell { min-height: 44px; } .sell .si { font-size: 22px; }
  .up { min-height: 62px; padding: 4px 3px 6px; } .up i { font-size: 18px; }
  .btns button { min-height: 40px; }
  .ftabs button { padding: 3px 2px; } .ftabs button i { font-size: 17px; }
  .isl b { display: none; }
  .hud { top: calc(env(safe-area-inset-top) + 9px); left: calc(env(safe-area-inset-left) + 108px); }
  .hc { height: 36px; }
  .quest { top: calc(env(safe-area-inset-top) + 56px); max-width: 40vw; padding: 5px 10px; }
  .quest small { display: none; }
  .boost { top: calc(env(safe-area-inset-top) + 56px); }
  body.boosting .quest { top: calc(env(safe-area-inset-top) + 92px); }
}
@media (max-width: 480px) {
  .isl b { display: none; } .isl { padding: 6px 10px 6px 8px; }
  .quest { max-width: calc(100vw - 20px); padding: 6px 11px; font-size: 12.5px; }
  .quest small { font-size: 11px; }
}
@media (max-width: 400px) {
  .hc { padding: 0 9px 0 6px; font-size: 13.5px; height: 34px; } .hc i { font-size: 15px; }
  .up small { font-size: 10px; }
}
.flash { position: fixed; left: 50%; top: 30%; transform: translateX(-50%); z-index: 30; max-width: min(92vw, 560px); padding: 9px 18px; border-radius: 99px; background: rgba(255, 255, 255, .97); color: #3d2f7a; font-weight: 900; font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); text-align: center; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; }
.flash.on { opacity: 1; transform: translateX(-50%) translateY(4px); }
.flash.bad { color: #b4234d; }
.made { position: fixed; z-index: 5; right: calc(env(safe-area-inset-right) + 12px); top: calc(env(safe-area-inset-top) + 64px); font-size: 10.5px; font-weight: 700; color: rgba(60, 70, 120, .55); pointer-events: none; }
@media (orientation: landscape), (min-width: 900px) { .made { top: auto; right: auto; left: calc(env(safe-area-inset-left) + 10px); bottom: calc(env(safe-area-inset-bottom) + 6px); } }

/* 창 (키트 모양, 여러 장 겹침) */
#layer { position: fixed; inset: 0; z-index: 9050; pointer-events: none; font-size: 15px; }
#layer .sh-back { position: fixed; inset: 0; display: grid; place-items: end center; padding: calc(env(safe-area-inset-top) + 10px) 8px calc(env(safe-area-inset-bottom) + 8px); background: rgba(30, 30, 70, .4); pointer-events: auto; }
@media (min-width: 700px), (orientation: landscape) { #layer .sh-back { place-items: center; } }
#layer .sheet { position: relative; width: 100%; max-width: 540px; max-height: 100%; overflow-y: auto; padding: 18px 16px 16px; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); animation: kitUp .2s ease-out; }
#layer .sheet.wide { max-width: 700px; }
#layer .sh-head { display: flex; align-items: center; gap: 10px; margin: 0 40px 8px 0; }
#layer .sh-head h2 { margin: 0; font-size: 1.3em; font-weight: 900; letter-spacing: -.5px; }
#layer .sh-head p { margin: 2px 0 0; color: var(--muted); font-size: .88em; font-weight: 700; line-height: 1.4; }
#layer .sh-head.center { justify-content: center; text-align: center; margin: 0 0 8px; flex-direction: column; gap: 2px; }
#layer .sh-head.center h2 { color: #5b4bd6; }
#layer .sh-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #f3f0ff; color: #7a73b8; font-weight: 900; cursor: pointer; font-size: 15px; z-index: 2; }
#layer .kit-btn { font-size: 1em; }
#layer .kit-btn.small { font-size: .88em; padding: 7px 12px; }
#layer .kit-btn.big { padding: 13px 16px; font-size: 1.05em; }
#layer .sec { margin: 14px 0 6px; font-size: 1em; font-weight: 900; }
#layer .sec small { color: var(--muted); font-weight: 700; font-size: .82em; margin-left: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; background: #f3f0ff; font-weight: 800; font-size: .86em; color: #4a4f78; white-space: nowrap; }
.chip.ok { background: #e3f7ec; color: #1d7a4c; }
.chip.gold { background: #fff3d1; color: #9a5b00; }
.chip.no { background: #ffe5ea; color: #c22d55; }
.box { border-radius: 16px; background: #f8f7fc; padding: 10px 12px; margin: 8px 0; }
.box h3 { margin: 0 0 6px; font-size: .95em; font-weight: 900; }
.row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: .93em; }
.row span { color: #555b78; }
.row b { font-weight: 900; text-align: right; }
.note { margin: 6px 0 0; color: var(--muted); font-weight: 700; font-size: .86em; line-height: 1.5; }
.center { text-align: center; }
.why { margin: 6px 0 0; color: #c22d55; font-weight: 800; font-size: .88em; }
.prog { height: 10px; border-radius: 99px; background: #ece8f4; overflow: hidden; margin: 6px 0; }
.prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--accent)); }
.prog.honey i { background: linear-gradient(90deg, #ffd34d, #f3a93a); }
.tabs { display: flex; gap: 4px; padding: 3px; border-radius: 99px; background: #f3f0ff; margin: 4px 0 10px; }
.tabs button { flex: 1; border: 0; background: transparent; border-radius: 99px; padding: 8px 6px; font-weight: 900; cursor: pointer; font-size: .9em; color: #6b6f8f; }
.tabs button.on { background: #fff; color: #5b4bd6; box-shadow: 0 2px 6px rgba(0, 0, 0, .1); }
.big-n { text-align: center; font-size: 2.2em; font-weight: 900; line-height: 1.1; margin: 6px 0; color: #a5621a; }
.big-n small { display: block; font-size: .4em; color: var(--muted); font-weight: 800; }
@keyframes kitUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-height: 520px) { #layer { font-size: 14px; } #layer .sheet { padding: 12px 14px; } }

/* 알 */
.eggbox { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, #fff8e6, #ffeef6); }
.eggbox .eg { font-size: 54px; line-height: 1; }
.eggbox .eg.wob { animation: eggw .5s ease-in-out infinite; }
@keyframes eggw { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.eggbox .et { flex: 1; } .eggbox .et b { display: block; font-size: 1.4em; font-weight: 900; } .eggbox .et small { color: #8a6a3a; font-weight: 700; }
.ebtns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ebtns .kit-btn { padding: 12px 8px; }
.odds { display: flex; gap: 6px; justify-content: center; margin: 8px 0 0; flex-wrap: wrap; }
.dex { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.dc { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 6px; border-radius: 16px; border: 2px solid #ece8f4; background: #fff; text-align: center; }
.dc img { width: 64px; height: 64px; }
.dc b { font-weight: 900; font-size: .88em; }
.dc small { font-size: .74em; color: #656b88; font-weight: 700; line-height: 1.3; min-height: 2.6em; }
.dc .stars { color: #f5a524; font-size: .8em; letter-spacing: -1px; }
.dc.r-n { border-color: #cfe8cf; } .dc.r-r { border-color: #bcdcff; background: #f6fbff; } .dc.r-l { border-color: #ffd98a; background: linear-gradient(160deg, #fffaf0, #fff0f7); }
.dc.lock { opacity: .6; }
.dc .rt { position: absolute; top: 5px; left: 6px; font-size: .66em; font-weight: 900; padding: 1px 6px; border-radius: 99px; color: #fff; }
.hres { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin: 6px 0; }
.hres .dc { animation: reveal .45s ease-out backwards; }
.hres .dc .new { position: absolute; top: 4px; right: 5px; font-size: .66em; font-weight: 900; padding: 1px 6px; border-radius: 99px; background: #ff4d7a; color: #fff; }
@keyframes reveal { 0% { transform: scale(.2) rotate(-20deg); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: none; opacity: 1; } }
.crack { text-align: center; font-size: 80px; line-height: 1.2; animation: eggw .3s ease-in-out infinite; }

/* 이사 */
.mv { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 10px; }
.mv .mi2 { display: flex; flex-direction: column; align-items: center; padding: 10px 14px; border-radius: 18px; background: #f3f0ff; min-width: 110px; }
.mv .mi2 span { font-size: 34px; } .mv .mi2 b { font-weight: 900; } .mv .mi2 small { color: var(--muted); font-weight: 800; font-size: .8em; }
.mv .arr { font-size: 26px; color: #b9aef7; }
.keep { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.keep div { border-radius: 14px; padding: 9px 10px; font-size: .86em; font-weight: 700; line-height: 1.6; }
.keep .k1 { background: #e3f7ec; color: #1d5a3c; } .keep .k2 { background: #fff0f3; color: #8a2a46; }
.keep b { display: block; font-weight: 900; margin-bottom: 2px; }
.isls { display: flex; justify-content: center; gap: 6px; margin: 6px 0; flex-wrap: wrap; }
.isls span { padding: 4px 9px; border-radius: 99px; background: #f3f0ff; font-weight: 800; font-size: .82em; color: #8a8ea6; }
.isls span.on { background: linear-gradient(135deg, #7fd3ff, #b49bff); color: #fff; }
.isls span.done { background: #e3f7ec; color: #1d7a4c; }

/* 미션·업적 */
.mlist { display: grid; gap: 8px; }
.mi { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 16px; border: 1.5px solid #ece8f4; background: #fff; }
.mi .ti { width: 44px; height: 44px; flex: none; display: grid; place-items: center; font-size: 24px; border-radius: 14px; background: #f3f0ff; }
.mi .t { flex: 1; min-width: 0; }
.mi .t b { display: block; font-weight: 900; font-size: .93em; }
.mi .t small { display: block; color: var(--muted); font-weight: 700; font-size: .8em; margin-top: 2px; }
.mi .prog { height: 8px; margin: 5px 0 2px; }
.mi .kit-btn { flex: none; padding: 9px 12px; }
.mi.ready { border-color: #ffc0d4; background: #fff6f9; animation: glow 1.6s ease-in-out infinite; }
.mi.got { opacity: .7; background: #f6fbf8; }
.mi.lock { opacity: .55; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(255, 143, 184, .25); } }
.chest { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; border-radius: 18px; background: linear-gradient(135deg, #fff3d1, #ffe6f0); }
.chest .ci { font-size: 34px; }
.chest .t { flex: 1; } .chest .t b { display: block; font-weight: 900; } .chest .t small { color: #8a6a3a; font-weight: 700; }
.chest.ready .ci { animation: shake 1s ease-in-out infinite; }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } }
.season { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: linear-gradient(135deg, #fff0f7, #f3f0ff); margin-bottom: 10px; }
.season span { font-size: 30px; } .season b { display: block; font-weight: 900; } .season small { color: #7a6a98; font-weight: 700; font-size: .82em; }
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-weight: 800; }
.setrow small { display: block; color: var(--muted); font-weight: 700; font-size: .78em; }
.seg { display: inline-flex; border-radius: 99px; background: #f3f0ff; padding: 3px; flex: none; }
.seg button { border: 0; background: transparent; border-radius: 99px; padding: 6px 14px; font-weight: 800; cursor: pointer; }
.seg button.on { background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .12); color: var(--accent); }
.guide details { border-radius: 14px; background: #f8f7fc; margin: 6px 0; padding: 0 12px; }
.guide summary { cursor: pointer; padding: 11px 0; font-weight: 900; list-style: none; display: flex; gap: 8px; align-items: center; }
.guide summary span { font-size: 20px; }
.guide p { margin: 0 0 12px; line-height: 1.7; font-size: .92em; color: #4a4f6a; font-weight: 600; }
.gain { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.gain div { padding: 10px 6px; border-radius: 14px; background: #fff6df; text-align: center; font-weight: 900; color: #8a4a00; }
.gain div i { display: block; font-style: normal; font-size: 24px; }
.gain div small { display: block; font-weight: 700; color: var(--muted); font-size: .8em; }
.zzz { text-align: center; font-size: 54px; line-height: 1.1; animation: wob 1.6s ease-in-out infinite; }
