.lb-neon--fire { min-height: 62px; padding: 0 34px; color: #2a0700; font-size: clamp(18px, 1.8vw, 23px);
  background: linear-gradient(180deg, #ffe2a6 0%, #ff9a3c 38%, #ff5a1a 72%, #e3341a 100%);
  box-shadow: 0 0 0 1px rgba(255, 214, 160, .7) inset, 0 -8px 18px -8px rgba(160, 20, 0, .7) inset, 0 0 22px rgba(255, 90, 20, .7), 0 0 60px rgba(255, 60, 10, .45), 0 14px 26px -10px rgba(0, 0, 0, .75);
  animation: fire-breathe 2.8s ease-in-out infinite; }
.lb-neon--fire::after { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; z-index: -2; background: radial-gradient(50% 60% at 50% 100%, rgba(255, 230, 150, .55), transparent 70%); filter: blur(6px); animation: fire-lick 1.6s ease-in-out infinite alternate; }
.lb-neon--fire:hover:not(:disabled) { box-shadow: 0 0 0 1px rgba(255, 230, 190, .85) inset, 0 -8px 18px -8px rgba(160, 20, 0, .7) inset, 0 0 32px rgba(255, 100, 30, .9), 0 0 90px rgba(255, 60, 10, .6), 0 18px 30px -10px rgba(0, 0, 0, .75); }
.lb-neon--fire:disabled { opacity: .65; cursor: progress; animation: none; }
@keyframes fire-breathe { 0%, 100% { filter: brightness(1) saturate(1); } 50% { filter: brightness(1.08) saturate(1.15); } }
@keyframes fire-lick { from { transform: translateY(6%) scaleX(.9); opacity: .55; } to { transform: translateY(-4%) scaleX(1.05); opacity: 1; } }

.cm { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; }
.cm[hidden] { display: none; }
.cm__scrim { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 60%, rgba(70, 20, 4, .55), rgba(6, 2, 1, .88)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.cm__box { position: relative; width: min(680px, 100%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; border-radius: 22px; color: #fff2e4;
  background: radial-gradient(120% 70% at 50% 0%, rgba(255, 110, 30, .18), transparent 60%), linear-gradient(175deg, #241007, #0f0603 75%);
  border: 1px solid rgba(255, 150, 70, .32); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(255, 90, 20, .7);
  transform: translateY(18px) scale(.97); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .2, 1.1), opacity .3s; scrollbar-width: thin; scrollbar-color: rgba(255, 150, 60, .4) transparent; }
.cm.is-in .cm__scrim { opacity: 1; }
.cm.is-in .cm__box { transform: none; opacity: 1; }
.cm__flare { position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, #ff5a1a, #ffd27a, #ff5a1a, transparent); }
.cm__x { position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255, 200, 150, .2); background: rgba(10, 4, 2, .6); color: #fff2e4; cursor: pointer; }
.cm__x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.cm__x:hover { border-color: #ff8a1f; }
.cm__body > div { display: grid; gap: 18px; padding: clamp(24px, 4vw, 38px); }
.cm-kicker { margin: 0; color: #ffb35a; }
.cm-title { margin: -8px 0 0; font-size: clamp(34px, 5vw, 54px); line-height: .92; color: #fff2e4; text-shadow: 0 0 30px rgba(255, 110, 20, .35); padding-right: 40px; }
.cm-lede { margin: 0; color: rgba(255, 228, 205, .78); font-size: 15px; line-height: 1.6; }
.cm-fine { margin: 0; font-size: 12.5px; color: rgba(255, 228, 205, .5); }
.cm-wait { margin: 0; color: rgba(255, 228, 205, .6); }

.cm-box { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 22px; padding: 18px 22px 18px 14px; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 120% at 0% 50%, rgba(255, 90, 20, .3), transparent 70%), linear-gradient(120deg, rgba(60, 18, 6, .9), rgba(24, 9, 4, .9)); border: 1px solid rgba(255, 120, 50, .5); box-shadow: 0 0 50px -18px rgba(255, 80, 20, .8), inset 0 1px 0 rgba(255, 200, 140, .12); }
.cm-box__glow { position: absolute; left: 20px; top: 50%; z-index: -1; width: 150px; height: 150px; margin-top: -75px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 170, 60, .7), rgba(255, 80, 20, .25) 45%, transparent 70%); filter: blur(10px); animation: box-glow 2.6s ease-in-out infinite alternate; }
.cm-box__pic { display: grid; place-items: center; }
.cm-box__pic img { width: 140px; height: 140px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)); animation: box-bob 3.2s ease-in-out infinite; }
.cm-box__txt { display: grid; gap: 4px; }
.cm-box__txt .label { color: #ffb35a; }
.cm-box__txt b { font-size: clamp(30px, 4vw, 42px); line-height: .95; color: #fff2e4; text-shadow: 0 0 24px rgba(255, 110, 20, .5); }
.cm-box__txt span:last-child { font-size: 14px; line-height: 1.5; color: rgba(255, 228, 205, .8); }
.cm-box.is-reveal { width: 100%; text-align: left; opacity: 0; animation: cm-pop .8s cubic-bezier(.2, 1.4, .4, 1) .9s forwards; }
.cm-box.is-reveal .cm-box__pic img { animation: box-drop 1s cubic-bezier(.2, 1.5, .4, 1) 1.1s both, box-bob 3.2s ease-in-out 2.1s infinite; }
@keyframes box-glow { from { opacity: .55; transform: scale(.9); } to { opacity: 1; transform: scale(1.1); } }
@keyframes box-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
@keyframes box-drop { from { transform: translateY(-50px) scale(.6) rotate(-14deg); opacity: 0; } to { transform: none; opacity: 1; } }
.cm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cm-facts div { display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 170, 90, .1); }
.cm-facts b { font-size: 26px; line-height: 1; color: #ffb35a; }
.cm-facts span { font-size: 12px; line-height: 1.35; color: rgba(255, 228, 205, .65); }

.cm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cm-acts .lb-neon { justify-self: auto; }
.cm-gate { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 90, 20, .1); border: 1px solid rgba(255, 120, 50, .4); }
.cm-gate b { font: 800 15px var(--f-ui); color: #fff2e4; }
.cm-gate p { margin: 0; font-size: 13.5px; color: rgba(255, 228, 205, .78); }
.cm-gate__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cm-msg { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.cm-msg.is-good { background: rgba(255, 140, 40, .12); border: 1px solid rgba(255, 150, 60, .45); color: #ffe2bf; }
.cm-msg.is-good b { color: #ffb35a; }
.cm-msg.is-bad { background: rgba(255, 90, 60, .1); border: 1px solid rgba(255, 110, 80, .4); color: #ffc2b0; }
.cm-msg a { color: #ffd27a; }

.cm-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.cm-field input { min-width: 0; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255, 170, 90, .3); background: rgba(0, 0, 0, .35); color: #fff2e4; font: 500 14px var(--f-ui); }
.cm-field input:focus { outline: none; border-color: #ff8a1f; box-shadow: 0 0 0 3px rgba(255, 120, 20, .2); }
.cm-field .lb-ghost { height: 48px; cursor: pointer; background: none; }

.cm-sum { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 170, 90, .14); }
.cm-sum li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 170, 90, .14); font-size: 14px; color: rgba(255, 228, 205, .6); }
.cm-sum b { color: #fff2e4; font-weight: 600; text-align: right; }

.cm-buy, .cm-amt-wrap { grid-template-columns: minmax(0, 1fr); }
.cm-amt-wrap { display: grid; gap: 10px; }
.cm-amt { min-width: 0; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(255, 170, 90, .3); background: rgba(0, 0, 0, .35); cursor: text; transition: border-color .2s, box-shadow .2s; }
.cm-amt:focus-within { border-color: #ff8a1f; box-shadow: 0 0 0 3px rgba(255, 120, 20, .2); }
.cm-amt input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; background: none; outline: none; color: #fff2e4; font: 800 clamp(22px, 3.4vw, 28px) var(--f-ui); }
.cm-amt span { color: #ffb35a; }
.cm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-chips button { min-height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 170, 90, .28); background: rgba(0, 0, 0, .28); color: rgba(255, 228, 205, .85); font: 700 13px var(--f-ui); cursor: pointer; transition: border-color .2s, color .2s; }
.cm-chips button:hover { border-color: #ff8a1f; color: #fff2e4; }
.cm-buy .cm-sum b, .cm-buyrun .cm-fine { font-variant-numeric: tabular-nums; }
.cm-tick { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; color: #2a0700; background: linear-gradient(180deg, #ffe2a6, #ff9a3c 45%, #ff5a1a); box-shadow: 0 0 0 1px rgba(255, 214, 160, .7) inset, 0 0 30px rgba(255, 90, 20, .75), 0 0 80px rgba(255, 60, 10, .4); animation: cm-key .9s cubic-bezier(.2, 1.3, .4, 1) .15s both; }
.cm-tick svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cm-bought .cm-lede b { color: #ffb35a; }

.cm-house { position: relative; justify-self: center; width: 150px; height: 120px; display: grid; place-items: center; }
.cm-house__glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 120, 30, .55), transparent 70%); filter: blur(12px); animation: house-glow 2.4s ease-in-out infinite alternate; }
.cm-house svg { position: relative; width: 130px; fill: none; stroke: #ffb35a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(255, 120, 20, .8)); }
.cm-house svg path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: house-draw 2.8s ease-in-out infinite; }
.cm-house__wall { animation-delay: .3s !important; }
.cm-house__door { animation-delay: .7s !important; stroke: #ffd27a; }
.cm-house__win { animation-delay: .9s !important; stroke: #ffe7b0; }
.cm-house__chim { animation-delay: .5s !important; }
.cm-house.is-off svg { stroke: rgba(255, 180, 140, .4); filter: none; }
.cm-house.is-off svg path, .cm-house.is-off .cm-house__glow { animation: none; stroke-dashoffset: 0; opacity: .5; }
@keyframes house-draw { 0% { stroke-dashoffset: 300; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -300; } }
@keyframes house-glow { from { opacity: .5; transform: scale(.9); } to { opacity: 1; transform: scale(1.08); } }

.cm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cm-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 12px; font: 700 14.5px var(--f-ui); color: rgba(255, 228, 205, .42); transition: color .3s; }
.cm-steps__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255, 170, 90, .22); background: rgba(0, 0, 0, .3); font: 800 11px var(--f-ui); }
.cm-steps__dot svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.cm-steps__dot i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 140, 40, .25); border-top-color: #ff8a1f; animation: cm-spin .8s linear infinite; }
.cm-steps li.is-on { color: #fff2e4; }
.cm-steps li.is-on .cm-steps__dot { border-color: rgba(255, 120, 30, .8); box-shadow: 0 0 16px -2px rgba(255, 90, 20, .9); }
.cm-steps li.is-done { color: rgba(255, 228, 205, .78); }
.cm-steps li.is-done .cm-steps__dot { border: 0; color: #2a0700; background: linear-gradient(180deg, #ffd27a, #ff7a1a); }
.cm-steps li.is-bad { color: #fff2e4; }
.cm-steps li.is-bad .cm-steps__dot { color: #ff9d7a; border-color: rgba(255, 110, 80, .6); }
@keyframes cm-spin { to { transform: rotate(360deg); } }
.cm-quip { margin: 0; min-height: 1.5em; text-align: center; font: italic 600 15px var(--f-ui); color: #ffd27a; text-shadow: 0 0 14px rgba(255, 120, 20, .5); }
.cm-quip.is-in { animation: quip-in .45s ease both; }
@keyframes quip-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cm-reveal { position: relative; justify-items: center; text-align: center; overflow: hidden; }
.cm-reveal > * { position: relative; }
.cm-reveal .cm-title { padding-right: 0; }
.cm-reveal .cm-acts { justify-content: center; }
.cm-burst { position: absolute !important; left: 50%; top: 150px; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 150, 50, .5), rgba(255, 80, 20, .18) 35%, transparent 65%); animation: cm-burst 1.4s ease-out both; }
.cm-key { width: 190px; margin: 6px 0 4px; pointer-events: none; animation: cm-key 1s cubic-bezier(.2, 1.3, .4, 1) .2s both !important; }
.cm-key .key__mine { color: #ffb35a; }
@keyframes cm-pop { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes cm-burst { from { opacity: 0; transform: scale(.3); } 40% { opacity: 1; } to { opacity: .7; transform: scale(1); } }
@keyframes cm-key { from { opacity: 0; transform: translateY(-60px) rotate(-14deg) scale(.7); } 70% { transform: translateY(4px) rotate(3deg); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .cm { padding: 0; align-items: end; }
  .cm__box { border-radius: 22px 22px 0 0; max-height: 92dvh; }
  .cm__body > div { padding: 24px 18px 28px; }
  .cm-box { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px 16px 14px 10px; }
  .cm-box__pic img { width: 96px; height: 96px; }
  .cm-box__glow { width: 110px; height: 110px; margin-top: -55px; left: 4px; }
  .cm-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cm-acts .lb-neon, .cm-acts .lb-ghost { flex: 1 1 100%; justify-content: center; }
  .lb-neon--fire { width: 100%; }
  .cm-sum li { flex-wrap: wrap; gap: 4px 14px; }
  .cm-sum li b { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .lb-neon--fire, .lb-neon--fire::after, .cm-house svg path, .cm-house__glow, .cm-burst, .cm-key, .cm-box, .cm-box__glow, .cm-box__pic img, .cm-tick { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
}
.cm-tdot { display: inline-block; flex: none; width: 9px; height: 9px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; background: var(--tc); box-shadow: 0 0 8px var(--tc); }
.cm-tdot[data-tier="shrimp"] { --tc: var(--t-shrimp, #ff8fa3); }
.cm-tdot[data-tier="fish"] { --tc: var(--t-fish, #7ee08a); }
.cm-tdot[data-tier="dolphin"] { --tc: var(--t-dolphin, #5fd4ff); }
.cm-tdot[data-tier="whale"] { --tc: var(--t-whale, #ffd166); }
.cm-chips button { display: inline-flex; align-items: center; }
.cm-tiers span { display: inline-flex; align-items: center; margin-left: 12px; white-space: nowrap; color: rgba(255, 228, 205, .78); }
