/* The game UI: the landing page, loading, level-up, evolution, HUD and results. One look: chunky game panels in pump
   green over the 3D world (Solomon's floating panels over live play, in the game's colours and its Lilita One type). */
@font-face { font-family: 'Lilita One'; src: url('/fonts/LilitaOne-Regular.ttf') format('truetype'); font-display: swap; }
:root {
  --g: #5dff8f; --g2: #2ee86f; --gd: #0f7a3a; --gi: #052a14; --red: #ff3b5c; --gold: #ffd23f; --ink: #06100a;
  --panel: linear-gradient(180deg, rgba(20, 40, 27, .94), rgba(7, 15, 10, .94));
  --line: rgba(93, 255, 143, .28); --txt: #eafff1; --mut: #9fc5ad;
  --sh: 0 6px 0 rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.is-hidden { display: none !important; }

/* ── landing (rebuilt 2026-10-22: "make landing page UI higher quality. feels cheap"; capsule pick after his Inspiration
   #15: dark glass capsules, the chosen one lit by its own aura, a floor reflection) ─────────────────────────────────── */
@font-face { font-family: 'Geist'; src: url('/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/geist-mono.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
#mp-landing { --ui: 'Geist', system-ui, -apple-system, Segoe UI, Arial, sans-serif; --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --ink: #eefbf2; --ink2: #b9d4c3; --ink3: #7c978a; --hair: rgba(255, 255, 255, .09); --hair2: rgba(255, 255, 255, .16);
  --glass: rgba(8, 15, 11, .62); --glass2: rgba(12, 22, 16, .78); --ease: cubic-bezier(.2, .7, .2, 1);
  position: fixed; inset: 0; z-index: 600; overflow: hidden; color: var(--ink); font-family: var(--ui); -webkit-font-smoothing: antialiased; }
#mp-landing.is-gone { opacity: 0; pointer-events: none; transition: opacity .35s; }
#mp-landing ::selection { background: rgba(93, 255, 143, .35); }
:where(#mp-landing) :where(button) { font-family: var(--ui); }
#mp-landing :focus-visible { outline: 2px solid var(--g); outline-offset: 3px; }

.mp-bg { position: absolute; inset: 0; background: #07120b url('/mp/reel-poster.jpg') center / cover no-repeat; }
.mp-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.12) contrast(1.04); }
.mp-shade { position: absolute; inset: 0; background:
  radial-gradient(60% 70% at 26% 58%, rgba(30, 140, 70, .16), rgba(0, 0, 0, 0) 70%),
  linear-gradient(90deg, rgba(3, 8, 5, .94) 0%, rgba(3, 8, 5, .86) 24%, rgba(3, 8, 5, .52) 44%, rgba(3, 8, 5, .12) 62%, rgba(3, 8, 5, .1) 76%, rgba(3, 8, 5, .62) 100%),
  linear-gradient(180deg, rgba(3, 8, 5, .7) 0%, rgba(3, 8, 5, 0) 16%, rgba(3, 8, 5, 0) 72%, rgba(3, 8, 5, .85) 100%); }
.mp-grain { position: absolute; inset: 0; opacity: .08; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* top bar */
.mp-top { position: absolute; top: 0; left: 0; right: 0; height: 76px; padding: 0 clamp(18px, 2.6vw, 44px); display: flex; align-items: center; gap: 18px; z-index: 4; }
.mp-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.mp-coin { width: 38px; height: 38px; display: block; filter: drop-shadow(0 0 14px rgba(93, 255, 143, .35)); }
.mp-coin svg { width: 100%; height: 100%; display: block; }
.mp-word { font: 25px 'Lilita One', Arial, sans-serif; letter-spacing: .6px; color: #fff; }
.mp-word b { font-weight: normal; color: var(--g); }
.mp-tick { font: 700 11.5px var(--mono); letter-spacing: .04em; color: #0b1a10; background: var(--g); padding: 3px 7px; border-radius: 6px; }
.mp-stats { margin: 0 auto; display: flex; align-items: stretch; height: 46px; border-radius: 999px; background: var(--glass); border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 12px 40px rgba(0, 0, 0, .35); }
.mp-stat-i { display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0 20px; border: 0; background: none; color: inherit; position: relative; }
.mp-stat-i + .mp-stat-i::before { content: ''; position: absolute; left: 0; top: 11px; bottom: 11px; width: 1px; background: var(--hair2); }
.mp-stat-i i { font: 500 10px var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.mp-stat-i b { font: 600 15px var(--mono); font-variant-numeric: tabular-nums; color: #fff; letter-spacing: -.01em; }
.mp-stat-i.is-pot b { color: var(--gold); }
.mp-stat-i.is-live { flex-direction: row; align-items: center; gap: 8px; cursor: pointer; padding: 0 20px 0 18px; }
.mp-stat-i.is-live b { font-size: 15px; }
.mp-stat-i.is-live i { color: var(--ink2); }
.mp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(255, 59, 92, .18), 0 0 12px var(--red); animation: mp-pulse 1.6s infinite; }
@keyframes mp-pulse { 50% { opacity: .4; } }
.mp-nav { display: flex; gap: 10px; align-items: center; }
.mp-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font: 600 13.5px var(--ui); color: var(--ink); text-decoration: none; cursor: pointer;
  background: var(--glass); border: 1px solid var(--hair2); transition: border-color .15s, background .15s; }
.mp-btn:hover { border-color: rgba(93, 255, 143, .5); background: rgba(16, 34, 23, .82); }
.mp-btn-icon { width: 40px; padding: 0; justify-content: center; }
.mp-btn-icon svg { width: 17px; height: 17px; }
.mp-ca { display: flex; gap: 8px; }
.mp-ca-btn i { font: 600 10px var(--mono); font-style: normal; letter-spacing: .12em; color: var(--ink3); }
.mp-ca-btn span { font: 600 13px var(--mono); }
.mp-ca-btn em { font: 600 11px var(--mono); font-style: normal; color: var(--g); }

/* hero */
.mp-hero { position: absolute; left: clamp(20px, 4.6vw, 92px); top: 50%; transform: translateY(-47%); width: min(600px, 92vw); z-index: 3; }
.mp-hero > * { animation: mp-rise .7s var(--ease) both; }
.mp-hero > :nth-child(2) { animation-delay: .05s; } .mp-hero > :nth-child(3) { animation-delay: .1s; } .mp-hero > :nth-child(4) { animation-delay: .15s; }
.mp-hero > :nth-child(5) { animation-delay: .2s; } .mp-hero > :nth-child(6) { animation-delay: .25s; } .mp-hero > :nth-child(7) { animation-delay: .3s; }
.mp-hero > :nth-child(8) { animation-delay: .35s; } .mp-hero > :nth-child(9) { animation-delay: .4s; } .mp-hero > :nth-child(10) { animation-delay: .45s; }
@keyframes mp-rise { from { opacity: 0; transform: translateY(14px); filter: blur(3px); } }
.mp-kicker { display: flex; align-items: center; gap: 10px; font: 600 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--g); }
.mp-kicker span { width: 26px; height: 1px; background: linear-gradient(90deg, var(--g), rgba(93, 255, 143, 0)); }
.mp-title { margin: 10px 0 0; font: normal clamp(64px, 7.6vw, 132px)/.86 'Lilita One', Arial, sans-serif; letter-spacing: .5px; color: #fff;
  text-shadow: 0 4px 0 #0c2214, 0 7px 0 rgba(0, 0, 0, .35), 0 18px 40px rgba(0, 0, 0, .55); }
.mp-title span { background: linear-gradient(180deg, #b9ffd1 0%, #5dff8f 45%, #20c463 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 5px 0 #0a2a15) drop-shadow(0 0 28px rgba(93, 255, 143, .38)); }
.mp-sub { margin: 18px 0 26px; max-width: 30em; font: 450 18px/1.55 var(--ui); color: var(--ink2); }
.mp-sub em { font-style: normal; font-weight: 650; color: #ff6b85; }
.mp-label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font: 600 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink3); }
.mp-label-r { letter-spacing: .1em; }

/* the capsule pick */
.mp-chars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 14px; }
.mp-char { position: relative; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; -webkit-box-reflect: below 6px linear-gradient(transparent 76%, rgba(255, 255, 255, .13)); }
.mp-cap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 248px; padding: 0 10px 22px; border-radius: 999px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015) 46%, color-mix(in srgb, var(--c2) 22%, transparent) 100%), rgba(6, 12, 9, .78);
  border: 1px solid var(--hair2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px rgba(0, 0, 0, .45); transition: transform .25s var(--ease), border-color .25s, box-shadow .25s; }
.mp-char:hover .mp-cap { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.mp-aura { position: absolute; inset: -30% -40% 20%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 55%, transparent), transparent 75%); opacity: .0; transition: opacity .35s; }
.mp-art { position: absolute; left: 50%; top: 18px; height: 168px; width: auto; transform: translateX(-50%); filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)) saturate(.8) brightness(.86); transition: filter .3s, transform .35s var(--ease); pointer-events: none; }
.mp-char:hover .mp-art { filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)) saturate(.95) brightness(.97); }
.mp-char-name { position: relative; font: 19px 'Lilita One', Arial, sans-serif; color: #fff; letter-spacing: .3px; }
.mp-char-tag { position: relative; margin-top: 2px; font: 600 10.5px var(--mono); letter-spacing: .14em; color: var(--ink3); }
.mp-char.is-on .mp-cap { border-color: color-mix(in srgb, var(--c) 80%, white 10%); transform: translateY(-6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 0 46px color-mix(in srgb, var(--c) 42%, transparent), 0 26px 70px color-mix(in srgb, var(--c) 22%, transparent); }
.mp-char.is-on .mp-aura { opacity: 1; animation: mp-breathe 2.8s ease-in-out infinite; }
.mp-char.is-on .mp-art { filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .5)) drop-shadow(0 0 22px color-mix(in srgb, var(--c) 55%, transparent)); transform: translateX(-50%) scale(1.06); animation: mp-bob 2.4s ease-in-out infinite; }
.mp-char.is-on .mp-char-tag { color: var(--c); }
@keyframes mp-breathe { 50% { opacity: .7; transform: scale(1.06); } }
@keyframes mp-bob { 50% { transform: translateX(-50%) scale(1.06) translateY(-5px); } }
.mp-pick { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 26px 0 16px; padding: 12px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--hair); }
.mp-pick-move { display: grid; gap: 1px; min-width: 0; }
.mp-pick-move i { font: 600 10px var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.mp-pick-move b { font: 17px 'Lilita One', Arial, sans-serif; font-weight: normal; color: #fff; }
.mp-pick-move span { font: 450 12.5px var(--ui); color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-meters { display: grid; gap: 5px; flex: 0 0 auto; }
.mp-meter { display: grid; grid-template-columns: 54px auto; align-items: center; gap: 8px; }
.mp-meter i { font: 600 9.5px var(--mono); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); text-align: right; }
.mp-meter s { display: block; width: 104px; height: 6px; text-decoration: none; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 18px, transparent 18px 21.5px); position: relative; }
.mp-meter s::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 21.5px - 3.5px); background: repeating-linear-gradient(90deg, var(--pick, var(--g)) 0 18px, transparent 18px 21.5px); transition: width .3s var(--ease); }

/* difficulty: one segmented track with a gliding highlight */
.mp-tiers { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; margin-bottom: 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--hair); }
.mp-tier-glide { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05)); border: 1px solid var(--hair2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35); transition: transform .3s var(--ease), border-color .3s; }
.mp-tiers[data-on="2"] .mp-tier-glide { transform: translateX(100%); }
.mp-tiers[data-on="3"] .mp-tier-glide { transform: translateX(200%); border-color: rgba(255, 210, 63, .55); background: linear-gradient(180deg, rgba(255, 210, 63, .2), rgba(255, 210, 63, .06)); }
.mp-tier { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--ink2); border-radius: 999px; }
.mp-tier b { font: 650 14.5px var(--ui); }
.mp-tier i { font: 600 11px var(--mono); font-style: normal; color: var(--ink3); }
.mp-tier.is-on { color: #fff; }
.mp-tier.is-on i { color: var(--g); }
.mp-tier.is-on[data-tier="3"] i { color: var(--gold); }

/* name + address */
.mp-id { display: grid; grid-template-columns: 1fr 1.7fr; margin-bottom: 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--hair); overflow: hidden; }
.mp-field { display: grid; gap: 3px; padding: 9px 16px 10px; cursor: text; transition: background .15s; }
.mp-field + .mp-field { border-left: 1px solid var(--hair); }
.mp-field:focus-within { background: rgba(93, 255, 143, .05); }
.mp-field i { font: 600 9.5px var(--mono); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--ink3); }
.mp-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; padding: 0; font: 550 15px var(--ui); color: #fff; }
.mp-field input::placeholder { color: rgba(185, 212, 195, .45); }
.mp-field.is-wallet input { font: 550 14px var(--mono); }
.mp-field input.is-bad { color: #ff7b93; }

/* PLAY */
.mp-play { position: relative; width: 100%; height: 74px; border: 0; border-radius: 999px; cursor: pointer; overflow: hidden; isolation: isolate;
  font: 32px 'Lilita One', Arial, sans-serif; letter-spacing: 3px; color: #052a14;
  background: linear-gradient(180deg, #c7ffd9 0%, #6dfaa0 30%, #2fe26e 62%, #1fbf5a 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .75), inset 0 -4px 0 rgba(0, 70, 30, .35), 0 8px 0 #0e6b33, 0 22px 50px rgba(46, 232, 111, .38); transition: transform .08s, box-shadow .08s, filter .15s; }
.mp-play:hover { filter: brightness(1.06) saturate(1.05); }
.mp-play:active { transform: translateY(6px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), inset 0 -2px 0 rgba(0, 70, 30, .35), 0 2px 0 #0e6b33, 0 10px 24px rgba(46, 232, 111, .3); }
.mp-play-label { position: relative; z-index: 2; font: 32px 'Lilita One', Arial, sans-serif; letter-spacing: 3px; }
.mp-play-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; z-index: 1; background: rgba(255, 255, 255, .35); transition: width .2s; }
.mp-play-shine { position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; z-index: 1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); animation: mp-shine 3.6s ease-in-out infinite 1.2s; }
@keyframes mp-shine { 0% { left: -40%; } 40%, 100% { left: 130%; } }
.mp-play.is-loading { cursor: wait; color: rgba(5, 42, 20, .65); filter: saturate(.7); }
.mp-play.is-loading .mp-play-shine { display: none; }
.mp-play-note { margin-top: 14px; font: 500 11.5px var(--mono); letter-spacing: .04em; color: var(--ink3); text-align: center; }

/* right rail */
.mp-side { position: absolute; right: clamp(18px, 2.6vw, 44px); top: 96px; width: min(380px, 26vw); max-height: calc(100% - 120px); display: flex; flex-direction: column; z-index: 3;
  border-radius: 22px; background: var(--glass2); border: 1px solid var(--hair); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden; animation: mp-rise .8s var(--ease) .25s both; }
.mp-side > section { padding: 16px 18px; }
.mp-side > section + section { border-top: 1px solid var(--hair); }
.mp-sec-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font: 600 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.mp-sec-n { font: 700 11px var(--mono); color: #0b1a10; background: var(--g); padding: 1px 6px; border-radius: 6px; letter-spacing: 0; }
.mp-sec-r { margin-left: auto; letter-spacing: .06em; text-transform: none; color: var(--ink3); font-weight: 500; }
.mp-crown svg { width: 20px; height: 15px; display: block; filter: drop-shadow(0 0 8px rgba(255, 210, 63, .5)); }
.mp-koth { background: radial-gradient(120% 90% at 0% 0%, rgba(255, 210, 63, .12), rgba(255, 210, 63, 0) 60%); }
.mp-koth .mp-sec-h { color: var(--gold); }
.mp-king { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; }
.mp-king .ph { width: 54px; height: 64px; background-size: contain; background-repeat: no-repeat; background-position: center bottom; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .5)); }
.mp-king .n { font: 20px 'Lilita One', Arial, sans-serif; color: #fff; line-height: 1.1; }
.mp-king .m { font: 500 11.5px var(--mono); color: var(--ink3); }
.mp-king .b { text-align: right; font: 700 22px var(--mono); color: var(--gold); font-variant-numeric: tabular-nums; }
.mp-king .b small { display: block; font: 600 9.5px var(--mono); letter-spacing: .14em; color: var(--ink3); text-transform: uppercase; }
.mp-watch { margin-top: 12px; width: 100%; height: 40px; border: 0; border-radius: 999px; cursor: pointer; font: 18px 'Lilita One', Arial, sans-serif; letter-spacing: .5px; color: #2a1d00;
  background: linear-gradient(180deg, #ffeaa0, #ffc93a 60%, #f0ac12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 5px 0 #8a6408; }
.mp-watch:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 0 #8a6408; }
.mp-hill-empty { display: grid; grid-template-columns: 54px 1fr; gap: 12px; align-items: center; }
.mp-hill-empty .ph { width: 54px; height: 64px; background: url('/mp/pill-green.webp') center bottom / contain no-repeat; opacity: .35; filter: grayscale(1); }
.mp-hill-empty b { display: block; font: 18px 'Lilita One', Arial, sans-serif; font-weight: normal; color: #fff; }
.mp-hill-empty span { font: 450 12.5px var(--ui); color: var(--ink3); }
.mp-list { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; max-height: 230px; margin: 0 -6px; padding: 0 6px; }
.mp-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 2px 10px; align-items: center; padding: 7px 8px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.mp-row:hover { background: rgba(255, 255, 255, .05); }
.mp-row .ph { grid-row: span 2; width: 30px; height: 36px; background-size: contain; background-repeat: no-repeat; background-position: center bottom; }
.mp-row .n { font: 600 14px var(--ui); color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-row .b { font: 700 13.5px var(--mono); color: var(--g); text-align: right; font-variant-numeric: tabular-nums; }
.mp-row .m { font: 500 11px var(--mono); color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-row .r { font: 700 10px var(--mono); letter-spacing: .1em; text-align: right; }
.mp-row .r.win { color: var(--g); } .mp-row .r.lost { color: #ff6b85; } .mp-row .r.left { color: var(--ink3); }
.mp-recent .mp-row { cursor: default; }
.mp-recent .b.lost { color: var(--ink2); text-decoration: line-through; text-decoration-color: rgba(255, 107, 133, .6); }
.mp-empty { font: 450 12.5px var(--ui); color: var(--ink3); padding: 2px 2px 4px; }
.mp-how3 { display: grid; gap: 9px; background: rgba(0, 0, 0, .18); }
.mp-how3 div { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; font: 450 12.5px/1.35 var(--ui); color: var(--ink2); }
.mp-how3 b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 700 11px var(--mono); color: #0b1a10; background: var(--g); }

/* modal */
.mp-modal { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; background: rgba(2, 6, 4, .7); }
.mp-modal-card { position: relative; width: min(560px, 92vw); max-height: 86vh; overflow: auto; padding: 26px 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(18, 34, 24, .98), rgba(7, 14, 10, .98)); border: 1px solid var(--hair2);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .6); font: 450 15px/1.6 var(--ui); color: var(--ink2); }
.mp-modal-card h2 { margin: 0 0 10px; font: 30px 'Lilita One', Arial, sans-serif; color: #fff; font-weight: normal; }
.mp-modal-card b { color: #fff; font-weight: 650; }
.mp-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--hair2); background: rgba(255, 255, 255, .05); color: #fff; font-size: 20px; cursor: pointer; }
.mp-modal-num { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 6px 12px; align-items: baseline; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--hair); }
.mp-modal-num span { font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink3); }
.mp-modal-num b { font: 700 18px var(--mono); color: var(--gold); }

.mp-runload { position: fixed; inset: 0; z-index: 650; display: grid; place-content: center; justify-items: center; gap: 18px; background: radial-gradient(60% 60% at 50% 45%, #10301c, #040a06); color: #fff; font: 26px 'Lilita One', Arial, sans-serif; }
.mp-runload-pill { width: 54px; height: 108px; border-radius: 30px; background: linear-gradient(180deg, var(--g) 0 50%, #fff 50%); border: 4px solid #0a1a10; animation: mp-spin 1.1s ease-in-out infinite; box-shadow: 0 0 40px rgba(93, 255, 143, .35); }
@keyframes mp-spin { 50% { transform: rotate(180deg) scale(1.08); } 100% { transform: rotate(360deg); } }

@media (min-width: 761px) and (max-height: 1000px) { .mp-hero { transform: translateY(-47%) scale(.92); transform-origin: left center; } }
@media (min-width: 761px) and (max-height: 900px) { .mp-hero { transform: translateY(-46%) scale(.82); } .mp-top { height: 66px; } .mp-side { top: 82px; } }
@media (min-width: 761px) and (max-height: 800px) { .mp-hero { transform: translateY(-45%) scale(.74); } }
@media (min-width: 761px) and (max-height: 700px) { .mp-hero { transform: translateY(-44%) scale(.64); } }
@media (max-width: 1360px) {
  .mp-stat-i:nth-child(2) { display: none; }
  .mp-side { width: 320px; }
  .mp-hero { width: min(540px, 92vw); }
  .mp-cap { height: 220px; }
  .mp-art { height: 146px; }
}
@media (max-width: 1100px) {
  .mp-side { display: none; }
  .mp-stats { margin: 0 0 0 auto; }
}
@media (max-width: 760px) {
  .mp-top { height: auto; padding: 12px 12px 0; flex-wrap: wrap; gap: 10px; }
  .mp-brand { order: 1; }
  .mp-nav { order: 2; margin-left: auto; }
  .mp-stats { order: 3; width: 100%; margin: 0; height: 40px; }
  .mp-stat-i { flex: 1; padding: 0 12px; }
  .mp-stat-i:nth-child(2), .mp-stat-i:nth-child(3) { display: none; }
  .mp-word { font-size: 21px; }
  #mp-landing { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .mp-bg { position: fixed; }
  .mp-top { position: relative; }
  .mp-hero { position: relative; top: auto; left: auto; right: auto; transform: none; width: auto; margin: 22px 12px 28px; }
  .mp-play-label { font-size: 28px; }
  .mp-tier { gap: 5px; }
  .mp-tier i { font-size: 10px; }
  .mp-title { font-size: 58px; }
  .mp-sub { font-size: 15px; margin: 12px 0 16px; }
  .mp-chars { gap: 10px; }
  .mp-cap { height: 170px; padding-bottom: 14px; }
  .mp-art { height: 104px; top: 12px; }
  .mp-char-name { font-size: 15px; }
  .mp-pick { margin: 18px 0 12px; }
  .mp-meters { display: none; }
  .mp-id { grid-template-columns: 1fr; }
  .mp-field + .mp-field { border-left: 0; border-top: 1px solid var(--hair); }
  .mp-play { height: 64px; font-size: 28px; }
  .mp-label-r { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #mp-landing *, #mp-landing *::before, #mp-landing *::after { animation: none !important; transition: none !important; }
}

/* ── level-up (Solomon's three cards, in this game's style) ───────────────────────────────────────────────────── */
.mpl { position: fixed; inset: 0; z-index: 420; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 20px;
  background: radial-gradient(70% 60% at 50% 50%, rgba(4, 18, 9, .55), rgba(2, 6, 4, .82)); font-family: 'Lilita One', Arial, sans-serif; color: #fff; animation: mpl-in .18s ease-out; }
@keyframes mpl-in { from { opacity: 0; } }
.mpl-head { text-align: center; }
.mpl-kick { font-size: 15px; letter-spacing: 4px; color: var(--g); }
.mpl-title { font-size: clamp(34px, 5vw, 52px); line-height: 1; text-shadow: 0 4px 0 #0a1a10; -webkit-text-stroke: 1.5px #0a1a10; }
.mpl-cards { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.mpl-card { position: relative; width: min(260px, 84vw); min-height: 300px; display: flex; flex-direction: column; border-radius: 20px; padding: 14px; cursor: pointer; text-align: left; color: var(--txt); font: inherit;
  background: var(--panel); border: 3px solid var(--line); box-shadow: var(--sh); transition: transform .12s, border-color .12s; animation: mpl-card .28s cubic-bezier(.2, 1.4, .4, 1) both; }
.mpl-card:nth-child(2) { animation-delay: .05s; }
.mpl-card:nth-child(3) { animation-delay: .1s; }
@keyframes mpl-card { from { transform: translateY(30px) scale(.9); opacity: 0; } }
.mpl-card:hover { transform: translateY(-6px); border-color: var(--g); }
.mpl-card .tag { align-self: flex-start; font-size: 11px; letter-spacing: 1.2px; padding: 3px 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: var(--mut); }
.mpl-card .tag.new { background: var(--g); color: var(--gi); }
.mpl-card .tag.up { background: #2a6cff; color: #fff; }
.mpl-card .tag.item { background: #b06cff; color: #fff; }
.mpl-card .ic { width: 74px; height: 74px; margin: 10px auto 6px; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, rgba(93, 255, 143, .25), rgba(0, 0, 0, .2)); border: 2px solid rgba(255, 255, 255, .1); }
.mpl-card .ic img { width: 56px; height: 56px; object-fit: contain; image-rendering: auto; }
.mpl-card .nm { font-size: 24px; text-align: center; color: #fff; line-height: 1.05; }
.mpl-card .lv { text-align: center; font-size: 14px; color: var(--g); margin: 2px 0 8px; }
.mpl-card .ds { font: 600 13.5px/1.4 system-ui, Arial, sans-serif; color: #d8f5e2; text-align: center; }
.mpl-card .st { margin-top: auto; padding-top: 10px; display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; font: 600 12px system-ui, Arial, sans-serif; color: var(--mut); }
.mpl-card .st b { color: #fff; font-weight: 700; }
.mpl-card .st b em { font-style: normal; color: var(--g); }
.mpl-card.evo { border-color: var(--gold); background: radial-gradient(100% 70% at 50% 25%, rgba(255, 210, 63, .25), rgba(0, 0, 0, 0) 65%), var(--panel); }
.mpl-card.evo .tag { background: var(--gold); color: #2a1d00; }
.mpl-card.evo .nm { color: var(--gold); }
.mpl-card.abil { border-color: #b06cff; min-height: 250px; }
.mpl-card.abil .tag { background: #b06cff; color: #fff; }
.mpl-card.fork { cursor: default; }
.mpl-card.fork:hover { transform: none; }
.mpl-fork { display: grid; gap: 8px; margin-top: 8px; }
.mpl-fork button { text-align: left; border-radius: 13px; padding: 9px 10px; cursor: pointer; font: inherit; color: #fff; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .14); }
.mpl-fork button:hover { border-color: var(--g); background: rgba(93, 255, 143, .14); }
.mpl-fork button b { display: block; font-weight: normal; font-size: 17px; color: var(--g); }
.mpl-fork button span { font: 600 12.5px/1.35 system-ui, Arial, sans-serif; color: #d8f5e2; }
.mpl-foot { display: flex; gap: 10px; }
.mpl-foot button { font: inherit; font-size: 15px; padding: 9px 16px; border-radius: 12px; cursor: pointer; color: #fff; background: var(--panel); border: 2px solid var(--line); box-shadow: var(--sh); }
.mpl-foot button:disabled { opacity: .4; cursor: default; }
.mpl-foot button.forgetting { border-color: var(--red); color: var(--red); }
.mpl-card.can-forget { border-color: var(--red); }

.mp-evo-flash { position: fixed; inset: 0; z-index: 430; pointer-events: none; display: grid; place-items: center; font: clamp(40px, 7vw, 86px) 'Lilita One', Arial, sans-serif; color: var(--gold);
  text-shadow: 0 5px 0 #4a3200, 0 0 50px rgba(255, 210, 63, .7); -webkit-text-stroke: 2px #2a1d00; background: radial-gradient(circle, rgba(255, 230, 140, .45), rgba(255, 210, 63, 0) 60%); animation: mp-evo 1.6s ease-out forwards; }
@keyframes mp-evo { 0% { opacity: 0; transform: scale(.6); } 15% { opacity: 1; transform: scale(1.08); } 75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.04); } }

/* ── results ─────────────────────────────────────────────────────────────────────────────────────────────── */
.mpr { position: fixed; inset: 0; z-index: 640; display: grid; place-items: center; background: rgba(2, 6, 4, .72); font-family: 'Lilita One', Arial, sans-serif; animation: mpl-in .25s; }
.mpr-card { width: min(520px, 92vw); padding: 24px 24px 20px; border-radius: 24px; text-align: center; background: var(--panel); border: 3px solid var(--line); box-shadow: var(--sh); color: #fff; }
.mpr-card.win { border-color: var(--g); }
.mpr-card.lost { border-color: var(--red); }
.mpr-t { font-size: clamp(40px, 7vw, 64px); line-height: 1; -webkit-text-stroke: 1.5px #0a1a10; text-shadow: 0 4px 0 #0a1a10; }
.mpr-card.win .mpr-t { color: var(--g); }
.mpr-card.lost .mpr-t { color: var(--red); }
.mpr-sol { margin: 10px 0 4px; font-size: 40px; color: var(--gold); }
.mpr-sub { font: 600 13px system-ui, Arial, sans-serif; color: var(--mut); }
.mpr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; }
.mpr-grid div { padding: 8px 4px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.mpr-grid i { display: block; font-style: normal; font-size: 10.5px; letter-spacing: 1px; color: var(--mut); }
.mpr-grid b { font-weight: normal; font-size: 22px; }
.mpr-btns { display: flex; gap: 10px; }
.mpr-btns button { flex: 1; height: 56px; border: 0; border-radius: 16px; cursor: pointer; font: inherit; font-size: 22px; }
.mpr-btns .again { color: var(--gi); background: linear-gradient(180deg, #a6ffc6, #3df07c 55%, #22c75c); box-shadow: 0 6px 0 var(--gd); }
.mpr-btns .menu { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }

/* level-up: card parts added with the Solomon flow (rarity, key hint, forget dim, the build strip under the cards) */
.mpl-card .row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.mpl-card .rar { font-size: 11px; letter-spacing: 1.2px; }
.mpl-card .key { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; color: var(--gi); background: var(--g); box-shadow: 0 3px 0 var(--gd); }
.mpl-card.evo .key { background: var(--gold); box-shadow: 0 3px 0 #8a6408; }
.mpl-card.abil .key { background: #c89bff; box-shadow: 0 3px 0 #5b2ea6; }
.mpl-card .ic.pill { background: radial-gradient(circle at 50% 40%, rgba(255, 210, 63, .3), rgba(0, 0, 0, .2)); }
.mpl-card .ic svg { display: block; }
.mpl-card.combo { border-color: rgba(255, 210, 63, .55); }
.mpl-card.combo .tag { background: rgba(255, 210, 63, .2); color: var(--gold); }
.mpl-card.dim { opacity: .35; pointer-events: none; }
.mpl-card.can-forget { animation: mpl-shake .5s ease-in-out infinite alternate; }
.mpl-card.can-forget:hover { border-color: var(--red); background: radial-gradient(100% 70% at 50% 25%, rgba(255, 59, 92, .22), rgba(0, 0, 0, 0) 65%), var(--panel); }
@keyframes mpl-shake { from { transform: rotate(-.6deg); } to { transform: rotate(.6deg); } }
.mpl-hint { margin-top: 6px; font: 600 14px system-ui, Arial, sans-serif; color: var(--red); }
.mpl-foot button b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 6px; padding: 0 6px; border-radius: 7px; font-weight: normal; background: rgba(255, 255, 255, .12); }
.mpl-build { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 8px 14px; border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); }
.mpl-build .grp { display: flex; align-items: center; gap: 5px; }
.mpl-build em { font-style: normal; font-size: 11px; letter-spacing: 1.5px; color: var(--mut); margin-right: 3px; }
.mpl-build .sl { position: relative; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); display: grid; place-items: center; }
.mpl-build .sl.e { background: rgba(255, 255, 255, .03); border-style: dashed; }
.mpl-build .sl img { width: 26px; height: 26px; object-fit: contain; }
.mpl-build .sl i { position: absolute; right: -4px; bottom: -5px; min-width: 15px; padding: 0 3px; border-radius: 6px; font-style: normal; font-size: 11px; line-height: 15px; text-align: center; color: var(--gi); background: var(--g); }
.mpl-build .stage { gap: 8px; }
.mpl-build .stage span { display: grid; line-height: 1.1; }
.mpl-build .stage b { font-weight: normal; font-size: 15px; color: var(--gold); }
.mpl-build .stage i { font: 600 11px system-ui, Arial, sans-serif; font-style: normal; color: var(--mut); }
@media (max-width: 760px) {
  .mpl { justify-content: flex-start; overflow-y: auto; padding-top: 14px; }
  .mpl-cards { gap: 14px; }
  .mpl-card { min-height: 0; width: min(330px, 92vw); }
  .mpl-card .ic { width: 56px; height: 56px; margin: 6px auto 2px; }
  .mpl-build { gap: 10px; }
  .mpl-build .sl { width: 28px; height: 28px; }
}

/* results: parts added with the rebuilt end screen */
.mpr-pill { display: grid; place-items: center; margin: -6px 0 4px; }
.mpr-sol.lost { color: var(--red); }
.mpr-sol.mpr-wait { color: var(--mut); animation: mpr-blink 1s ease-in-out infinite alternate; }
@keyframes mpr-blink { to { opacity: .35; } }
.mpr-stage { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: -4px 0 12px; }
.mpr-stage b { font-weight: normal; font-size: 16px; color: var(--gold); margin-right: 4px; }
.mpr-stage span { font: 600 11.5px system-ui, Arial, sans-serif; padding: 3px 8px; border-radius: 8px; background: rgba(176, 108, 255, .2); color: #dcc4ff; }
.mpr-moves { display: grid; gap: 6px; margin: 0 0 16px; text-align: left; }
.mpr-moves .mv { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; }
.mpr-moves img { width: 28px; height: 28px; object-fit: contain; }
.mpr-moves span { display: grid; gap: 3px; }
.mpr-moves i { font: 600 11px system-ui, Arial, sans-serif; font-style: normal; color: var(--mut); }
.mpr-moves s { display: block; height: 7px; border-radius: 4px; width: var(--w); background: linear-gradient(90deg, var(--g2), var(--g)); text-decoration: none; }
.mpr-moves b { font-weight: normal; font-size: 15px; }
@media (max-width: 760px) { .mpr-moves { display: none; } .mpr-card { padding: 18px 16px 16px; } }

/* ── in-run HUD (Solomon's layout, hud.ts) ───────────────────────────────────────────────────────── */
.mph-brand { display: flex; align-items: center; gap: 7px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--panel); border: 2px solid var(--line); box-shadow: var(--sh); pointer-events: none; }
.mph-brand svg { width: 30px; height: 30px; display: block; }
.mph-brand span { font-size: 17px; color: #fff; letter-spacing: .4px; white-space: nowrap; }
.mph-brand span b { font-weight: normal; color: var(--g); }
.mph-brand em { font: normal 800 11.5px system-ui, -apple-system, Segoe UI, Arial, sans-serif; padding: 1px 6px; border-radius: 6px; color: #fff; background: var(--red); box-shadow: 0 2px 0 #9b1c33; }
.mph-kit { display: flex; flex-direction: column; gap: 6px; padding: 6px 8px; border-radius: 14px; background: rgba(6, 14, 9, .55); border: 1px solid rgba(255, 255, 255, .08); pointer-events: auto; }
.mph-xp { position: absolute; top: 0; left: 0; right: 0; height: 7px; background: rgba(0, 0, 0, .55); pointer-events: none; z-index: 2; }
.mph-xp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--g2), var(--g)); box-shadow: 0 0 10px rgba(93, 255, 143, .7); transition: width .15s; }
.mph-xp b { display: none; }
.mph-status { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 10px; align-items: center; padding: 8px 14px 8px 8px; min-width: 300px; border-radius: 16px; background: var(--panel); border: 2px solid var(--line); box-shadow: var(--sh); pointer-events: none; }
.mph-status .pt { width: 58px; height: 62px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(93, 255, 143, .22), rgba(0, 0, 0, .25)); border: 1px solid rgba(255, 255, 255, .1); }
.mph-status .tx { flex: 1; display: grid; gap: 3px; }
.mph-status .l1 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mph-status .nm { font-size: 19px; color: #fff; }
.mph-status .lv { font-size: 16px; color: var(--g); }
.mph-status .st { font: 600 11.5px system-ui, Arial, sans-serif; color: var(--mut); white-space: nowrap; }
.mph-status .st b { font: 13px 'Lilita One', Arial, sans-serif; color: var(--gold); font-weight: normal; }
.mph-status .bars > div { gap: 6px; }
@media (max-width: 760px), (pointer: coarse) {
  .mph-brand span, .mph-brand em { display: none; }
  .mph-brand { padding: 4px; }
  .mph-status { left: 8px; bottom: auto; top: 118px; min-width: 0; padding: 5px 10px 5px 5px; transform: scale(.82); transform-origin: top left; }
}

/* ── pause (index.ts showPauseMenu) ───────────────────────────────────────────────────────────────────────── */
.mpp { position: fixed; inset: 0; z-index: 420; background: radial-gradient(70% 60% at 50% 50%, rgba(4, 18, 9, .6), rgba(2, 6, 4, .88)); font-family: 'Lilita One', Arial, sans-serif; animation: mpl-in .18s ease-out; }
.mpp-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(340px, 90vw); box-sizing: border-box; padding: 20px 20px 18px; border-radius: 22px; text-align: center; background: var(--panel); border: 3px solid var(--line); box-shadow: var(--sh); color: #fff; display: grid; gap: 10px; }
.mpp-t { font-size: 46px; line-height: 1; -webkit-text-stroke: 1.5px #0a1a10; text-shadow: 0 4px 0 #0a1a10; }
.mpp-t.sm { font-size: 32px; }
.mpp-run { font: 600 13px system-ui, Arial, sans-serif; color: var(--mut); }
.mpp-run b { font: 18px 'Lilita One', Arial, sans-serif; color: var(--g); font-weight: normal; }
.mpp-audio { display: flex; justify-content: center; gap: 10px; }
.mpp-b { height: 52px; border: 0; border-radius: 15px; cursor: pointer; font: inherit; font-size: 21px; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: 0 5px 0 rgba(0, 0, 0, .35); }
.mpp-b:hover { filter: brightness(1.08); }
.mpp-b:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.mpp-b.go { color: var(--gi); background: linear-gradient(180deg, #a6ffc6, #3df07c 55%, #22c75c); box-shadow: 0 5px 0 var(--gd); }
.mpp-b.bad { background: linear-gradient(180deg, #ff7a90, #ff3b5c 60%, #d62445); box-shadow: 0 5px 0 #8f1830; }
.mpp-side { position: absolute; top: 50%; transform: translateY(-50%); width: min(300px, 26vw); max-height: 84vh; overflow-y: auto; box-sizing: border-box; padding: 12px 10px; border-radius: 18px; background: var(--panel); border: 2px solid var(--line); box-shadow: var(--sh); }
.mpp-side.l { right: calc(50% + 196px); }
.mpp-side.r { left: calc(50% + 196px); }
@media (max-width: 900px) { .mpp-side { display: none; } }

/* shrine + airdrop popups (index.ts showShrineRewardPanel / showChestRewardPanel) in the level-up card style */
.mpl-card.shrine { min-height: 0; }
.mpl-card.chest { cursor: default; min-height: 0; transition: border-color .07s, box-shadow .2s; }
.mpl-card.chest:hover { transform: none; }
.mpl-card.chest.rolling { animation: mpl-roll .14s ease-in-out infinite alternate; }
@keyframes mpl-roll { from { transform: rotate(-1.5deg) scale(.98); } to { transform: rotate(1.5deg) scale(1.02); } }
.mpl-card.chest .q { font-size: 44px; color: var(--mut); }
.mpl-chest-btns { width: min(320px, 86vw); }
.mp-runload { transition: opacity .35s ease-out; }
.mp-runload.is-fading { opacity: 0; pointer-events: none; }

/* the X button (launch day 10-31): black X pill, white logo disc, the handle; green ring on hover */
.mp-xbtn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: 999px; background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .24); box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.mp-xbtn:hover { transform: translateY(-1px); border-color: var(--g); box-shadow: 0 0 0 3px rgba(93, 255, 143, .2), 0 12px 34px rgba(0, 0, 0, .5); }
.mp-xbtn-ic { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; flex: none; }
.mp-xbtn-ic svg { width: 16px; height: 16px; }
.mp-xbtn-t { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.mp-xbtn-t i { font: 600 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: rgba(255, 255, 255, .62); }
.mp-xbtn-t b { font: 700 14.5px var(--ui); letter-spacing: -.01em; }
@media (max-width: 760px) { .mp-xbtn { height: 40px; padding: 0 14px 0 4px; gap: 8px; } .mp-xbtn-ic { width: 32px; height: 32px; } .mp-xbtn-t i { display: none; } .mp-xbtn-t b { font-size: 13.5px; } }

/* scrollbars (launch day 10-31): thin, dark, a green thumb, never the white OS bar */
@supports (-moz-appearance: none) { * { scrollbar-width: thin; scrollbar-color: rgba(93, 255, 143, .32) transparent; } }
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(93, 255, 143, .32); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(93, 255, 143, .55); }

/* ── livestream view (/stream): the reel + a waiting card while nobody plays, a LIVE tag, no menu, no cursor ───────── */
body.mp-stream, body.mp-stream * { cursor: none !important; }
body.mp-stream #mp-landing > :not(.mp-bg), body.mp-stream .mp-spec button { display: none !important; }
#mp-stream-card, #mp-stream-tag { display: none; }
body.mp-stream.mp-stream-wait #mp-stream-card { display: flex; position: fixed; z-index: 900; left: 50%; top: 50%; transform: translate(-50%, -50%);
  flex-direction: column; align-items: center; gap: 8px; padding: 26px 42px; border-radius: 22px; background: rgba(6, 16, 10, .78);
  border: 1px solid rgba(93, 255, 143, .25); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); text-align: center; }
#mp-stream-card b { font: normal 52px/1 'Lilita One', Arial, sans-serif; letter-spacing: .5px; color: #5dff8f; }
#mp-stream-card span { font: 600 19px var(--ui, system-ui), sans-serif; color: #fff; }
#mp-stream-card em { font: 600 14px var(--mono, monospace); font-style: normal; color: rgba(255, 255, 255, .65); }
body.mp-stream #mp-stream-tag { display: flex; position: fixed; z-index: 900; right: 18px; bottom: 18px; align-items: center; gap: 8px; padding: 8px 14px;
  border-radius: 999px; background: rgba(6, 16, 10, .72); border: 1px solid rgba(93, 255, 143, .25); font: 700 13px var(--mono, monospace);
  letter-spacing: .04em; color: #fff; }
#mp-stream-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e; }
