:root { --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px); --ink: #07131d; --cream: #f7e6c2; --gold: #ffc62e; --pink: #ff4d6d; --org: linear-gradient(180deg, #ffb13b, #ff7a1a); --blue: linear-gradient(180deg, #4fd2ff, #1f8cf0); --shadow: 0 8px 22px rgba(7, 19, 29, .28); }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #2a2140; font-family: 'Fredoka', 'Jua', system-ui, sans-serif; color: var(--ink); touch-action: none; overscroll-behavior: none; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
canvas#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
[hidden] { display: none !important; }
#loading { position: fixed; inset: 0; z-index: 60; background: linear-gradient(180deg, #5ac8ff, #2a2140); display: flex; align-items: center; justify-content: center; transition: opacity .4s; }
#loading.off { opacity: 0; pointer-events: none; }
.ld-bar { width: 220px; height: 16px; border-radius: 999px; background: rgba(7, 19, 29, .35); overflow: hidden; box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }
.ld-bar span { display: block; height: 100%; width: 0; background: var(--org); transition: width .15s; }
#hurt { position: fixed; inset: 0; pointer-events: none; z-index: 4; opacity: 0; box-shadow: inset 0 0 120px 40px rgba(255, 30, 60, .65); transition: opacity .25s; }
#hurt.on { opacity: 1; transition: none; }
.screen { position: fixed; inset: 0; z-index: 12; display: flex; flex-direction: column; align-items: center; }

/* 아이콘 */
.i-pause { width: 16px; height: 18px; border-left: 5px solid currentColor; border-right: 5px solid currentColor; display: block; }
.i-heart { width: 20px; height: 18px; background: #ff4d6d; clip-path: path('M10 18 L1 9.5 A4.8 4.8 0 0 1 10 3 A4.8 4.8 0 0 1 19 9.5 Z'); display: block; }
.i-coin { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3a0, #ffcd2e 55%, #d9930a); box-shadow: inset 0 0 0 2.5px #a56a00; display: block; }
.i-skull { width: 18px; height: 20px; display: block; background: #fff; border-radius: 9px 9px 5px 5px; box-shadow: inset 4px 5px 0 -1px #07131d, inset -4px 5px 0 -1px #07131d; clip-path: polygon(0 0, 100% 0, 100% 80%, 76% 80%, 76% 100%, 60% 100%, 60% 85%, 40% 85%, 40% 100%, 24% 100%, 24% 80%, 0 80%); }
.i-warn { width: 24px; height: 22px; background: #ff2f4f; clip-path: polygon(50% 0, 100% 100%, 0 100%); display: block; position: relative; }
.ic-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 0 rgba(7, 19, 29, .18); color: var(--ink); }
.pill { display: flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; background: rgba(7, 19, 29, .58); color: #fff; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* HUD */
#hud { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
#xpBar { position: absolute; left: 0; right: 0; top: 0; height: calc(12px + var(--safe-t)); background: rgba(7, 19, 29, .6); }
#xpBar span { position: absolute; left: 0; bottom: 0; height: 12px; width: calc(var(--p, 0) * 100%); background: linear-gradient(90deg, #2fd6ee, #8a6bff); transition: width .12s; }
#xpBar b { position: absolute; left: 8px; top: calc(14px + var(--safe-t)); font-size: 15px; color: #fff; padding: 1px 9px; border-radius: 9px; background: #8a6bff; box-shadow: 0 2px 0 rgba(7, 19, 29, .3); }
#btnPause { position: absolute; right: 10px; top: calc(18px + var(--safe-t)); pointer-events: auto; width: 42px; height: 42px; }
#hpPill { position: absolute; left: 8px; top: calc(46px + var(--safe-t)); }
#timer { position: absolute; left: 50%; top: calc(18px + var(--safe-t)); transform: translateX(-50%); font-family: 'Jua', 'Fredoka', sans-serif; font-size: 34px; color: #fff; -webkit-text-stroke: 6px #1b1b2f; paint-order: stroke fill; letter-spacing: 1px; text-shadow: 0 4px 0 rgba(27, 27, 47, .3); }
#timer.boss { color: #ff6a7a; }
#stats { position: absolute; right: 10px; top: calc(66px + var(--safe-t)); display: flex; flex-direction: column; gap: 5px; align-items: flex-end; }
#stats .pill { font-size: 16px; padding: 3px 10px 3px 7px; }
#slots { position: absolute; left: 6px; top: calc(84px + var(--safe-t)); display: flex; flex-direction: column; gap: 4px; }
#wSlots, #pSlots { display: flex; flex-wrap: wrap; gap: 3px; max-width: 150px; }
.slot { position: relative; width: 34px; height: 34px; border-radius: 9px; background: rgba(38, 30, 72, .78); display: grid; place-items: center; box-shadow: 0 2px 0 rgba(7, 19, 29, .25); }
.slot img { width: 28px; height: 28px; object-fit: contain; }
.slot em { position: absolute; right: -2px; bottom: -3px; font-style: normal; font-size: 10px; font-weight: 700; background: #ff7a1a; color: #fff; padding: 0 4px; border-radius: 6px; line-height: 14px; }
.slot.evo { box-shadow: 0 0 0 2.5px #ffd23f, 0 2px 0 rgba(7, 19, 29, .25); background: rgba(120, 90, 20, .85); }
.slot.max em { background: #ff4d6d; }
.slot.p { width: 28px; height: 28px; border-radius: 50%; font-size: 15px; }
.slot.p em { font-size: 9px; line-height: 12px; }
#bossBar { position: absolute; left: 12px; right: 12px; top: calc(60px + var(--safe-t)); display: flex; align-items: center; gap: 8px; }
#bossBar .bar { flex: 1; height: 16px; border-radius: 999px; background: rgba(7, 19, 29, .65); box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); overflow: hidden; }
#bossBar .bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #ff5a7a, #ff2f4f); }
#bossBar b { position: absolute; left: 0; right: 0; top: 20px; text-align: center; font-family: 'Jua', sans-serif; font-weight: 400; font-size: 13px; color: #fff; -webkit-text-stroke: 3px #1b1b2f; paint-order: stroke fill; }
#touch { position: fixed; inset: 0; z-index: 5; touch-action: none; display: none; }
#touch.on { display: block; }
#joy { position: absolute; inset: 0; pointer-events: none; }
#joy .base { position: absolute; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55); opacity: 0; transition: opacity .15s; }
#joy .base.on { opacity: 1; }
#joy .knob { position: absolute; left: 38px; top: 38px; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 3px 8px rgba(7, 19, 29, .3); }
#banner { position: fixed; left: 0; right: 0; top: 24%; z-index: 9; display: flex; justify-content: center; pointer-events: none; }
#banner div { font-family: 'Jua', 'Fredoka', sans-serif; font-size: 40px; color: #fff; -webkit-text-stroke: 7px #1b1b2f; paint-order: stroke fill; display: flex; align-items: center; gap: 12px; animation: ban 1.9s ease-out both; text-align: center; }
#banner div.boss { font-size: 46px; color: #ff6a7a; width: 100%; justify-content: center; background: linear-gradient(90deg, transparent, rgba(255, 47, 79, .85) 16%, rgba(255, 47, 79, .85) 84%, transparent); padding: 10px 0; -webkit-text-stroke: 6px #1b1b2f; }
#banner .i-warn { width: 38px; height: 34px; }
@keyframes ban { 0% { transform: scale(.3) rotate(-6deg); opacity: 0; } 12% { transform: scale(1.18) rotate(2deg); opacity: 1; } 22% { transform: scale(1); } 80% { opacity: 1; } 100% { transform: translateY(-34px) scale(.96); opacity: 0; } }

/* 공통 버튼 */
.big-btn { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 200px; height: 66px; padding: 0 30px; border-radius: 999px; font-family: 'Jua', 'Fredoka', sans-serif; font-size: 28px; color: #fff; background: var(--org); box-shadow: 0 7px 0 #c4520a, 0 14px 28px rgba(196, 82, 10, .35); text-shadow: 0 2px 0 rgba(0, 0, 0, .18); transition: transform .08s; }
.big-btn:active { transform: translateY(5px); box-shadow: 0 2px 0 #c4520a; }
.big-btn.off { background: linear-gradient(180deg, #b9b9c8, #8e8ea3); box-shadow: 0 7px 0 #62627a; }
.big-btn.blue { background: var(--blue); box-shadow: 0 7px 0 #0f5fb5; }
.big-btn img { height: 36px; }
.sq-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 0 rgba(7, 19, 29, .18); font-size: 24px; }
.coinpill { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px; background: rgba(7, 19, 29, .62); color: #fff; font-size: 20px; font-weight: 700; }

/* 선택 화면 */
.panelscr { background: linear-gradient(180deg, #5aa9ff 0%, #8a6bff 55%, #2a2140 100%); padding: calc(10px + var(--safe-t)) 12px calc(14px + var(--safe-b)); gap: 10px; overflow-y: auto; }
.hd { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: none; }
.hd h2 { margin: 0; font-family: 'Jua', sans-serif; font-weight: 400; font-size: 28px; color: #fff; -webkit-text-stroke: 6px #1b1b2f; paint-order: stroke fill; }
.wcard { position: relative; width: 100%; max-width: 420px; height: 214px; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 4px #fff, 0 8px 0 rgba(7, 19, 29, .25); flex: none; display: flex; align-items: flex-end; justify-content: center; }
.wcard .bg { position: absolute; inset: 0; background-size: 128px; }
.wcard .pic { position: relative; height: 170px; margin-bottom: 36px; filter: drop-shadow(0 8px 0 rgba(7, 19, 29, .25)); animation: bob 2.2s ease-in-out infinite; }
.wcard .nm { position: absolute; left: 0; right: 0; bottom: 0; height: 40px; display: flex; align-items: center; justify-content: center; gap: 10px; background: rgba(7, 19, 29, .62); color: #fff; font-family: 'Jua', sans-serif; font-size: 24px; }
.wcard .nm .stars { display: flex; gap: 2px; font-size: 20px; }
.star { color: #5a5a78; } .star.on { color: #ffd23f; text-shadow: 0 0 0 #9a5b00; }
.wcard .arr { position: absolute; top: 50%; width: 44px; height: 56px; margin-top: -42px; border-radius: 14px; background: rgba(255, 255, 255, .9); display: grid; place-items: center; font-size: 28px; box-shadow: 0 4px 0 rgba(7, 19, 29, .2); z-index: 3; }
.wcard .arr.l { left: 8px; } .wcard .arr.r { right: 8px; }
.wcard .lock { position: absolute; inset: 0; background: rgba(7, 19, 29, .62); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; color: #fff; font-size: 34px; z-index: 2; }
.goals { display: flex; gap: 8px; flex: none; flex-wrap: wrap; justify-content: center; }
.chip { display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-weight: 700; font-size: 17px; box-shadow: 0 3px 0 rgba(7, 19, 29, .18); }
.chip.ok { background: #c8ffd2; } .chip i { font-style: normal; }
.chars { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; max-width: 420px; flex: none; }
.chr { position: relative; width: 62px; height: 72px; border-radius: 18px; background: rgba(255, 255, 255, .88); display: grid; place-items: center; box-shadow: 0 4px 0 rgba(7, 19, 29, .22); }
.chr img { width: 50px; height: 56px; object-fit: contain; }
.chr.sel { background: #fff4c0; box-shadow: 0 0 0 4px #ffb13b, 0 4px 0 rgba(7, 19, 29, .22); transform: translateY(-4px); }
.chr.lk img { filter: brightness(.35) saturate(.6); }
.chr .lkc { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px #000; }
.cinfo { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 10px; padding: 8px 14px; width: 100%; max-width: 420px; border-radius: 20px; background: rgba(255, 255, 255, .92); flex: none; box-shadow: 0 4px 0 rgba(7, 19, 29, .2); }
.cinfo .nm { font-family: 'Jua', sans-serif; font-size: 22px; white-space: nowrap; }
.cinfo img.wi { width: 40px; height: 40px; object-fit: contain; background: #fff4c0; border-radius: 12px; padding: 3px; }
.cinfo .st { display: flex; gap: 8px; font-weight: 700; font-size: 15px; flex-wrap: wrap; }
.spacer { flex: 1; min-height: 4px; }
.row { display: flex; gap: 10px; align-items: center; justify-content: center; }

/* 상점·도감·일일 */
.list { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 8px; }
.srow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 20px; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 0 rgba(7, 19, 29, .2); }
.srow .em { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: #fff4c0; }
.srow .mid { flex: 1; min-width: 0; } .srow .mid b { font-family: 'Jua', sans-serif; font-weight: 400; font-size: 20px; display: block; }
.pips { display: flex; gap: 4px; margin-top: 3px; } .pips i { width: 14px; height: 8px; border-radius: 4px; background: #d9d9e6; } .pips i.on { background: #ff9d2e; }
.srow .val { font-weight: 700; color: #2b9a54; font-size: 16px; }
.buy { min-width: 84px; height: 44px; border-radius: 14px; background: var(--org); box-shadow: 0 4px 0 #c4520a; color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.buy.off { background: #b4b4c6; box-shadow: 0 4px 0 #7d7d93; } .buy.max { background: #7ad98a; box-shadow: 0 4px 0 #3a9a4c; }
.tabs { display: flex; gap: 8px; flex: none; } .tab { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-family: 'Jua', sans-serif; font-size: 20px; } .tab.on { background: #fff; box-shadow: 0 4px 0 rgba(7, 19, 29, .2); }
.grid { width: 100%; max-width: 440px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dc { position: relative; aspect-ratio: .86; border-radius: 16px; background: rgba(255, 255, 255, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px; box-shadow: 0 3px 0 rgba(7, 19, 29, .2); }
.dc img { width: 100%; height: 62%; object-fit: contain; } .dc.no img { filter: brightness(0) opacity(.35); }
.dc b { font-size: 11px; text-align: center; line-height: 1.1; font-weight: 700; } .dc em { position: absolute; top: 3px; right: 5px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: #ff7a1a; border-radius: 8px; padding: 0 5px; }
.dcard { width: 100%; max-width: 380px; border-radius: 26px; background: rgba(255, 255, 255, .95); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 0 0 4px #fff, 0 8px 0 rgba(7, 19, 29, .25); }
.dcard img { height: 120px; object-fit: contain; }

/* 컷 */
#cut { background: #000; justify-content: flex-end; }
#cut .bg { position: absolute; inset: 0; }
#cut .stage { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 6px 270px; }
#cut .stage img { height: 38%; max-height: 300px; object-fit: contain; filter: drop-shadow(0 10px 0 rgba(7, 19, 29, .3)); }
#cut .hero { animation: hop 1.1s ease-in-out infinite; } #cut .foe { height: 44%; animation: bob 1.6s ease-in-out infinite; }
#cut .txt { position: relative; width: 100%; padding: 0 16px calc(92px + var(--safe-b)); display: flex; flex-direction: column; gap: 8px; align-items: center; }
#cut .ln { font-family: 'Jua', sans-serif; font-size: 30px; text-align: center; color: #fff; -webkit-text-stroke: 7px #1b1b2f; paint-order: stroke fill; line-height: 1.12; animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) both; }
#cut .ln:nth-child(2) { color: #ffe14a; } #cut .ln:nth-child(3) { color: #ff8fb8; }
#cut .nx { position: absolute; right: 18px; bottom: calc(14px + var(--safe-b)); width: 58px; height: 58px; border-radius: 50%; background: var(--org); box-shadow: 0 5px 0 #c4520a; display: grid; place-items: center; color: #fff; font-size: 28px; animation: pulse 1.2s infinite; }
#cut .sk { position: absolute; left: 14px; bottom: calc(24px + var(--safe-b)); padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-weight: 700; font-size: 16px; }
@keyframes pop { 0% { transform: scale(.2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hop { 0%, 100% { transform: translateY(0) scaleY(1); } 40% { transform: translateY(-16px) scaleY(1.04); } 60% { transform: translateY(0) scaleY(.94); } }

/* 레벨업·상자 */
#lvup, #chest { background: rgba(7, 19, 29, .62); justify-content: center; gap: 12px; padding: 16px; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.up-head { font-family: 'Jua', sans-serif; font-size: 44px; color: #ffe14a; -webkit-text-stroke: 8px #1b1b2f; paint-order: stroke fill; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1) both; text-shadow: 0 6px 0 rgba(27, 27, 47, .3); }
.cards { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 400px; }
.card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 10px 14px; border-radius: 24px; background: #fff; text-align: left; box-shadow: 0 7px 0 rgba(7, 19, 29, .28), 0 14px 26px rgba(7, 19, 29, .3); animation: cardin .42s cubic-bezier(.2, 1.4, .4, 1) both; width: 100%; }
.card:nth-child(2) { animation-delay: .07s; } .card:nth-child(3) { animation-delay: .14s; }
.card:active { transform: translateY(4px); }
.card .ic { width: 70px; height: 70px; border-radius: 20px; background: #fff4c0; display: grid; place-items: center; flex: none; font-size: 38px; }
.card .ic img { width: 60px; height: 60px; object-fit: contain; }
.card .bd { flex: 1; min-width: 0; } .card .bd b { display: block; font-family: 'Jua', sans-serif; font-weight: 400; font-size: 23px; line-height: 1.1; }
.card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; } .card .tg { font-weight: 700; font-size: 15px; color: #1d8f48; background: #d9ffe4; border-radius: 8px; padding: 1px 8px; }
.card .lvl { display: flex; gap: 3px; margin-top: 5px; } .card .lvl i { width: 12px; height: 8px; border-radius: 3px; background: #d9d9e6; } .card .lvl i.on { background: #ff9d2e; } .card .lvl i.nw { background: #4fd2ff; animation: blink .8s infinite; }
.card .new { position: absolute; right: -4px; top: -8px; background: #ff4d6d; color: #fff; font-weight: 700; font-size: 14px; padding: 2px 10px; border-radius: 10px; transform: rotate(6deg); box-shadow: 0 3px 0 rgba(7, 19, 29, .25); }
.card .evh { position: absolute; right: 10px; bottom: 8px; width: 34px; height: 34px; border-radius: 10px; background: #fff4c0; box-shadow: 0 0 0 2.5px #ffd23f; display: grid; place-items: center; }
.card .evh img { width: 28px; height: 28px; object-fit: contain; }
.card.w { background: linear-gradient(180deg, #fffbe6, #fff0b0); box-shadow: 0 0 0 4px #ffc62e, 0 7px 0 rgba(7, 19, 29, .28), 0 14px 26px rgba(7, 19, 29, .3); }
@keyframes cardin { 0% { transform: translateY(40px) scale(.9); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes blink { 50% { opacity: .3; } }
.chbox { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 18px; border-radius: 30px; background: #fff; max-width: 380px; width: 100%; box-shadow: 0 0 0 5px #ffc62e, 0 10px 0 rgba(7, 19, 29, .3); animation: pop .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.chbox .row2 { display: flex; align-items: center; gap: 12px; } .chbox .big { width: 110px; height: 110px; object-fit: contain; filter: drop-shadow(0 6px 0 rgba(7, 19, 29, .2)); }
.chbox .plus { font-size: 36px; font-weight: 700; } .chbox .tt { font-family: 'Jua', sans-serif; font-size: 30px; color: #ff7a1a; } .chbox .nm2 { font-family: 'Jua', sans-serif; font-size: 26px; text-align: center; }
.chest-shake { animation: shake .5s ease-in-out infinite; width: 150px; filter: drop-shadow(0 10px 0 rgba(7, 19, 29, .3)); }
@keyframes shake { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.08); } }
.set-box { width: 100%; max-width: 360px; margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.tog { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 20px; background: #fff; font-family: 'Jua', sans-serif; font-size: 22px; box-shadow: 0 4px 0 rgba(7, 19, 29, .2); }
.sw { width: 58px; height: 32px; border-radius: 999px; background: #c4c4d4; position: relative; transition: .2s; } .sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 2px 4px rgba(0, 0, 0, .3); } .sw.on { background: #3ed06f; } .sw.on::after { left: 29px; }
#toast { position: fixed; left: 50%; bottom: calc(40px + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0; padding: 10px 18px; border-radius: 16px; background: #fff; font-weight: 700; z-index: 70; pointer-events: none; transition: .3s; box-shadow: 0 6px 20px rgba(7, 19, 29, .25); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
.hof-btn { z-index: 13; }
@media (max-height: 700px) { .wcard { height: 170px; } .wcard .pic { height: 130px; } .card { min-height: 80px; } .up-head { font-size: 36px; } }

.dc .qm { font-family: 'Jua', sans-serif; font-size: 40px; color: #b4b4c6; height: 100%; display: grid; place-items: center; } .dc.no { background: rgba(255, 255, 255, .5); box-shadow: none; }
.i-coin.big { width: 40px; height: 40px; box-shadow: inset 0 0 0 5px #a56a00; }
#bossArrow { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; z-index: 7; } #bossArrow i { display: block; width: 100%; height: 100%; background: #ff2f4f; clip-path: polygon(0 12%, 100% 50%, 0 88%, 22% 50%); filter: drop-shadow(0 3px 0 #1b1b2f); animation: pulse .6s infinite; }
