.mx { --ink: #1a1a1a; --ink2: #3a3a3a; --ink3: #6b6b6b; --paper: #f5f2ec; --line: rgba(70, 54, 20, 0.055); --rule: rgba(30, 27, 22, 0.1); --field: #dcd7cc; --rail: #e4dfd5; --night: #0b0814; --btn: #86198f; --accent: #d946ef; --serif: 'Libre Baskerville', Georgia, serif; --expo: cubic-bezier(0.16, 1, 0.3, 1); --spring: cubic-bezier(0.34, 1.45, 0.64, 1); --head: var(--im-header-h, 56px);
    --a: #6d28d9; --a-tint: #f1edff; --fill: 0; --w: #1a1a1a;
    --deck-shadow: 0 2px 4px rgba(30, 27, 22, 0.04), 0 50px 90px -50px rgba(30, 27, 22, 0.5);
    color: var(--ink); }
.mx [hidden] { display: none !important; }
.mx-still, .mx-still *, .mx-still *::before, .mx-still *::after { transition: none !important; }
.mx-label { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink3); }
.mx-label::before { content: ""; flex: none; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--btn)); }
.pm.ex .mx .ex-btn { cursor: pointer; font-family: inherit; }
.mx-text { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--field); cursor: pointer; }
.mx-text:hover { color: var(--ink); }
.mx-small { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink3); }
.mx-ground { background-color: var(--paper); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 46px 46px; background-position: -1px -1px; transition: background-color 0.9s ease; }

.mx-intro, .mx-ask, .mx-result { display: none; min-height: 100vh; min-height: 100svh; padding: calc(var(--head) + 24px) 24px 24px; }
.mx[data-stage="intro"] .mx-intro, .mx[data-stage="ask"] .mx-ask { display: flex; flex-direction: column; justify-content: center; }
.mx[data-stage="result"] .mx-result { display: block; padding-top: var(--top, calc(var(--head) + 24px)); padding-bottom: 110px; }
.mx[data-stage="result"] .mx-result.is-titled { padding-top: calc(var(--head) + 44px); }
.mx-result.mx-ground { transition: background-color 0.9s ease, padding-top 1s var(--expo); }
.mx-ask { background-color: var(--a-tint); }
.mx-result { background-color: var(--rs, var(--paper)); }

.mx-deck { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--deck-shadow); }
.mx-deck.is-enter { animation: mx-deck 0.9s var(--expo) both; }
.mx-deck-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); min-height: 650px; }
.mx-spectrum { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1px; height: 5px; }
.mx-welcome .mx-spectrum, .mx-reading .mx-spectrum { background: var(--night); }
.mx-spectrum i { position: relative; overflow: hidden; background: var(--rail); }
.mx-spectrum i::after { content: ""; position: absolute; inset: 0; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--expo); }
.mx-spectrum i.is-on::after { transform: scaleX(1); }
.mx-pane { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 44px 38px 36px; background: var(--a); color: #fff; transition: background-color 0.9s ease; }
.mx-pane::before { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 100%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.07)); box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.35); transform: scaleY(var(--fill)); transform-origin: bottom; transition: transform 0.8s var(--expo); }
.mx-pane > * { position: relative; }
.mx-pane--night { justify-content: center; background: var(--night); }
.mx-pane--night::before { display: none; }
.mx-pane-n { margin: 0 0 20px; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.mx-main { display: flex; flex-direction: column; min-width: 0; padding: 46px 48px 38px; }
.mx-track { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.mx-track i { position: relative; height: 12px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.1); }
.mx-track i::after { content: ""; position: absolute; inset: 0; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--expo); transition-delay: calc(var(--r, 0) * 70ms + var(--c-i, 0) * 35ms); }
.mx-track i.is-on::after { transform: scaleX(1); }

.mx-welcome { animation: mx-deck 1s var(--expo) both; }
.mx-welcome .mx-spectrum i::after { transform: scaleX(1); animation: mx-seg 0.9s var(--expo) both; animation-delay: calc(var(--n) * 55ms + 300ms); }
.mx-welcome .mx-pane-n { margin-bottom: 26px; }
.mx-demo-rows { display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; }
.mx-demo-rows li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: center; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.mx-demo-out { display: flex; align-items: center; gap: 18px; margin: 30px 0 0; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.mx-demo-out b { font-family: var(--serif); font-size: 76px; font-weight: 400; line-height: 0.9; letter-spacing: -0.04em; }
.mx-demo-out b.is-roll, .mx-demo-out strong.is-roll { animation: mx-roll-in 0.6s var(--expo) both; }
.mx-demo-out span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.mx-demo-out strong { display: block; margin-top: 4px; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; text-transform: none; color: #fff; }
.mx-welcome-main { justify-content: center; padding: 44px 64px 46px; }
.mx-welcome-main > * { animation: mx-in 0.9s var(--expo) both; }
.mx-welcome-main > :nth-child(1) { animation-delay: 250ms; }
.mx-welcome-main > :nth-child(2) { animation-delay: 320ms; }
.mx-welcome-main > :nth-child(3) { animation-delay: 390ms; }
.mx-welcome-main > :nth-child(4) { animation-delay: 460ms; }
.mx-welcome-main > :nth-child(5) { animation-delay: 530ms; }
.mx-intro.is-leaving .mx-welcome-main > * { animation: mx-out 0.2s ease both; }
.mx-intro.is-leaving .mx-pane > * { animation: mx-roll-out 0.2s ease both; }
.mx-mark { display: inline-flex; align-items: center; gap: 13px; margin: 0 0 30px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.mx-glyph { display: inline-flex; align-items: flex-end; gap: 3px; height: 24px; }
.mx-glyph i { width: 4px; height: calc(4px + var(--i) * 3.2px); border-radius: 2px; background: var(--g); transform-origin: bottom; animation: mx-bar 0.7s var(--spring) both; animation-delay: calc(var(--i) * 70ms + 450ms); }
.pm.ex .mx-welcome-main h1 { max-width: 14ch; margin-bottom: 24px !important; }
.pm.ex .mx-welcome-main h1 em { color: var(--btn); }
.mx-lede { max-width: 46ch; margin: 0 0 38px; font-size: 19px; line-height: 1.6; color: var(--ink2); }
.mx-go { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.pm.ex .mx-go .ex-btn { padding: 18px 34px; border-radius: 12px; font-size: 17px; }
.mx-go .ex-btn span, .mx-lock span { display: inline-block; transition: transform 0.25s var(--expo); }
.mx-go .ex-btn:hover span, .mx-lock:hover:not(:disabled) span { transform: translateX(5px); }
.mx-kbd { font-size: 13.5px; color: var(--ink3); }
.mx-kbd kbd { display: inline-block; margin: 0 2px; padding: 2px 7px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--field), 0 1px 0 var(--field); font: inherit; font-size: 12px; font-weight: 700; color: var(--ink2); }
@media (hover: none) { .mx-kbd { display: none; } }
.mx-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.mx-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px 8px 9px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 600; color: var(--ink2); }
.mx-facts svg { flex: none; width: 18px; height: 18px; color: var(--g); }

.pm.ex .mx-pane-name { max-width: none; margin: 0 0 24px !important; font-size: clamp(30px, 3vw, 40px) !important; font-weight: 800 !important; line-height: 1.04 !important; letter-spacing: -0.035em !important; color: #fff !important; }
.mx-pane-roll.is-out { animation: mx-roll-out 0.2s ease both; }
.mx-pane-roll.is-in { animation: mx-roll-in 0.7s var(--expo) both; }
.mx-pane-why { padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.mx-pane-why.is-roll { animation: mx-roll-in 0.6s var(--expo) both; }
.mx-pane-why b { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.mx-pane-why p { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.5; color: rgba(255, 255, 255, 0.95); }
.mx-pane-count { display: flex; gap: 12px; align-items: baseline; margin: auto 0 0; padding-top: 40px; }
.mx-pane-count b { font-family: var(--serif); font-size: 92px; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 0.9; letter-spacing: -0.04em; }
.mx-pane-count b.is-roll { animation: mx-roll-in 0.6s var(--expo) both; }
.mx-pane-count span { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.75); }
.mx-slot { --dir: 1; display: flex; flex: 1; flex-direction: column; }
.mx-card { display: flex; flex: 1; flex-direction: column; }
.mx-card.is-in > * { animation: mx-in 0.7s var(--expo) both; }
.mx-card.is-in > :nth-child(2) { animation-delay: 70ms; }
.mx-card.is-in > :nth-child(3) { animation-delay: 140ms; }
.mx-card.is-in > :nth-child(n + 4) { animation-delay: 210ms; }
.mx-card.is-out { animation: mx-out 0.22s cubic-bezier(0.4, 0, 1, 1) both; }
.pm.ex .mx-q { max-width: none; margin: 0 0 26px !important; font-size: clamp(26px, 2.6vw, 34px) !important; font-weight: 800 !important; line-height: 1.12 !important; letter-spacing: -0.03em !important; outline: none; }
.pm.ex .mx-q.is-long { font-size: clamp(22px, 2vw, 26px) !important; line-height: 1.18 !important; }
.mx-say { display: grid; align-items: center; min-height: 164px; padding: 24px 30px; border-radius: 20px; background: var(--a-tint); transition: background-color 0.5s ease, box-shadow 0.4s; }
.mx-say > * { grid-area: 1 / 1; }
.mx-say-text { margin: 0; text-wrap: balance; font-size: clamp(20px, 2.1vw, 25px); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); transition: color 0.3s; }
.mx-say-text.is-empty { font-weight: 400; color: var(--ink3); }
.mx-say > .is-in { animation: mx-in 0.55s var(--expo) both; }
.mx-say > .is-out { animation: mx-out 0.18s ease both; }
.mx-say-intro b { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a); transition: color 0.6s; }
.mx-say-intro p { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink2); }
.mx-say-intro .mx-say-hint { margin-top: 8px; font-size: 14.5px; font-weight: 400; letter-spacing: 0; color: var(--ink3); }
.mx-card.is-locked .mx-say { box-shadow: inset 0 0 0 1.5px var(--a); }
.mx-dial { margin: 20px 14px 0; outline: none; touch-action: none; cursor: pointer; }
.mx-ends { display: flex; justify-content: space-between; gap: 16px; margin: 0 -10px 5px; font-size: 10.5px; font-weight: 700; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink3); }
.mx-dial-rail { position: relative; height: 44px; }
.mx-dial-track { position: absolute; top: 21px; right: 0; left: 0; height: 2px; border-radius: 1px; background: var(--rail); }
.mx-card:not(.is-placed):not(.is-open) .mx-stop { animation: mx-breathe 4s ease-in-out infinite; animation-delay: calc(var(--s) * 0.2s + 1.2s); }
.mx-stop { position: absolute; top: 12px; width: 20px; height: 20px; margin-left: -10px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--rail); cursor: pointer; transition: box-shadow 0.3s, background-color 0.3s, transform 0.25s var(--spring); }
.mx-stop:hover { transform: scale(1.25); box-shadow: inset 0 0 0 2px var(--a); }
.mx-thumb { position: absolute; top: 4px; left: calc(var(--at, 0) * 100%); width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: var(--a); box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--rail), 0 12px 22px -8px var(--a); opacity: 0; transform: scale(0.4); pointer-events: none; transition: left 0.5s var(--spring), opacity 0.25s, transform 0.4s var(--spring), background-color 0.6s; }
.mx-card.is-placed .mx-thumb { opacity: 1; transform: none; }
.mx-dial:focus-visible .mx-thumb { box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--a), 0 12px 22px -8px var(--a); }
.mx-card.is-locked .mx-thumb { animation: mx-pop 0.5s var(--spring); }
.mx-ticks { position: relative; min-height: 36px; margin-top: 8px; }
.mx-tick { position: absolute; top: 0; width: 19%; font-size: 13px; font-weight: 500; line-height: 1.3; letter-spacing: -0.005em; text-align: center; text-wrap: balance; color: var(--ink3); transform: translateX(-50%); transition: color 0.3s; }
.mx-tick:first-child { left: -10px !important; width: calc(16% + 10px); text-align: left; transform: none; }
.mx-tick:last-child { right: -10px; left: auto !important; width: calc(16% + 10px); text-align: right; transform: none; }
.mx-word { white-space: nowrap; }
.mx-tick.is-now { font-weight: 700; color: var(--a); }
.mx-or { margin: 12px 0 0 4px; }
.mx-none { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px 6px 10px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--field); font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink2); cursor: pointer; transition: box-shadow 0.3s, color 0.3s; }
.mx-none i { flex: none; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--rail); transition: box-shadow 0.3s, background-color 0.3s; }
.mx-none:hover { box-shadow: inset 0 0 0 1px var(--a); color: var(--ink); }
.mx-none.is-picked { box-shadow: inset 0 0 0 1.5px var(--a); color: var(--ink); }
.mx-none.is-picked i { background: var(--a); box-shadow: none; }
.mx-gap { flex: 1; min-height: 22px; }
.mx-under { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--rule); }
.mx-under-left { display: flex; gap: 26px; align-items: center; }
.mx-dk { padding: 9px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink3); cursor: pointer; }
.mx-dk:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.mx-lock { display: inline-flex; gap: 12px; align-items: center; padding: 15px 30px; border: 0; border-radius: 12px; background: var(--a); box-shadow: 0 14px 28px -14px var(--a); font: inherit; font-size: 16px; font-weight: 700; color: #fff; cursor: pointer; transition: background-color 0.6s, opacity 0.3s, transform 0.25s var(--expo); }
.mx-lock:hover { transform: translateY(-2px); }
.mx-lock:disabled { opacity: 0.3; box-shadow: none; cursor: default; transform: none; }

.mx-rtitle { max-width: 1120px; max-height: 0; margin: 0 auto; overflow: hidden; opacity: 0; transform: translateY(12px); transition: max-height 1s var(--expo), margin-bottom 1s var(--expo), opacity 0.8s ease 0.15s, transform 1s var(--expo); }
.mx-result.is-titled .mx-rtitle { max-height: 150px; margin-bottom: 28px; opacity: 1; transform: none; }
.mx-rtitle .mx-mark { margin: 0 0 12px 6px; font-size: 15px; color: var(--ink2); }
.mx-rtitle .mx-glyph { height: 18px; }
.mx-rtitle .mx-glyph i { width: 3px; height: calc(3px + var(--i) * 2.3px); animation: none; }
.pm.ex .mx-rtitle-h { max-width: none; margin: 0 0 0 4px !important; font-size: clamp(34px, 3.4vw, 48px) !important; font-weight: 800 !important; line-height: 1.05 !important; letter-spacing: -0.035em !important; }
@media (max-height: 820px) {
    .mx-rtitle .mx-mark { display: none; }
    .pm.ex .mx-rtitle-h { font-size: 30px !important; }
    .mx-result.is-titled .mx-rtitle { margin-bottom: 18px; }
    .mx[data-stage="result"] .mx-result.is-titled { padding-top: calc(var(--head) + 26px); }
}
.mx-rpane { justify-content: center; background: var(--rp, var(--night)); }
.mx-rpane::before { display: none; }
.mx-reading[data-state="thinking"] .mx-rnum, .mx-reading[data-state="done"] .mx-rthink { display: none; }
.mx-rthink ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; font-size: 17px; font-weight: 600; }
.mx-rthink li { display: flex; align-items: center; gap: 14px; opacity: 0; transform: translateY(10px); transition: opacity 0.5s var(--expo), transform 0.5s var(--expo); }
.mx-rthink li.is-on { opacity: 1; transform: none; }
.mx-rthink svg { flex: none; width: 20px; height: 20px; color: var(--accent); }
.mx-rthink path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.35s ease 0.15s; }
.mx-rthink li.is-on path { stroke-dashoffset: 0; }
.mx-rnum.is-in > * { animation: mx-roll-in 0.9s var(--expo) both; }
.mx-rnum.is-in > :nth-child(2) { animation-delay: 220ms; }
.mx-num { display: flex; gap: 14px; align-items: flex-end; margin: 0 0 18px; }
.mx-num b { font-family: var(--serif); font-size: 168px; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 0.82; letter-spacing: -0.04em; }
.mx-num span { padding-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
.mx-num span strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }
.pm.ex .mx-rname { max-width: none; margin: 0 !important; font-size: clamp(28px, 2.8vw, 36px) !important; font-weight: 800 !important; line-height: 1.08 !important; letter-spacing: -0.035em !important; color: #fff !important; }
.mx-rmain { justify-content: center; padding: 40px 48px 36px; }
.mx-rmain > * { transition: opacity 0.8s var(--expo), transform 0.8s var(--expo); }
.mx-reading[data-state="done"] .mx-rmain > :nth-child(2) { transition-delay: 0.1s; }
.mx-reading[data-state="done"] .mx-rmain > :nth-child(n + 4) { transition-delay: 0.25s; }
.mx-reading[data-state="thinking"] .mx-rmain > :not(.mx-bars) { opacity: 0; transform: translateY(14px); pointer-events: none; }
.mx-rsum { max-width: 62ch; margin: 0 0 26px; font-size: 18px; line-height: 1.6; color: var(--ink2); }
.mx-scale { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.mx-scale li { padding-top: 10px; border-top: 3px solid var(--paper); font-size: 11.5px; line-height: 1.35; color: var(--ink3); transition: border-color 0.5s, color 0.5s; transition-delay: calc(var(--n) * 110ms); }
.mx-scale b { display: block; margin-bottom: 2px; font-family: var(--serif); font-size: 17px; font-weight: 400; }
.mx-scale li.is-reached { border-top-color: #b6ae9e; color: var(--ink2); }
.mx-scale li.is-current { border-image: linear-gradient(90deg, var(--accent), var(--btn)) 1; font-weight: 700; color: var(--ink); }
.mx-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: end; height: 216px; margin: 30px 0 42px; padding-top: 56px; border-bottom: 1px solid var(--rule); }
.mx-bar { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; }
.mx-bar i { display: block; width: min(58px, 100%); height: calc(var(--h) * 100%); min-height: 4px; border-radius: 9px 9px 0 0; background: var(--c); transform: scaleY(0); transform-origin: bottom; transition: transform 0.9s var(--spring), opacity 0.5s; transition-delay: calc(var(--n) * 80ms); }
.mx-bars.is-on .mx-bar i { transform: scaleY(1); }
.mx-bar span { position: absolute; top: 100%; left: 50%; margin-top: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--ink3); transform: translateX(-50%); }
.mx-bar b { position: absolute; bottom: calc(var(--h) * 100% + 6px); left: 50%; font-family: var(--serif); font-size: 19px; font-weight: 400; color: var(--ink); opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.5s, transform 0.6s var(--spring); }
.mx-bars.is-numbered .mx-bar b { opacity: 1; transform: translate(-50%, 0); }
.mx-bar strong { position: absolute; bottom: calc(var(--h) * 100% + 34px); left: 50%; padding: 3px 9px; border-radius: 999px; background: var(--c); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; color: #fff; opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.4s, transform 0.5s var(--spring); }
.mx-bar.is-strong strong { background: #fff; box-shadow: inset 0 0 0 1.5px var(--c); color: var(--c); }
.mx-bars.is-flagged .mx-bar strong { opacity: 1; transform: translate(-50%, 0); }
.mx-bars.is-flagged.has-weak .mx-bar:not(.is-weak):not(.is-strong) i { opacity: 0.55; }
.mx-key { display: none; }
.mx-rhold { max-width: 66ch; margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink2); }
.mx-rhold b { color: var(--w); }
.mx-note { max-width: 70ch; margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--paper); font-size: 14.5px; line-height: 1.55; color: var(--ink2); }
.mx-rlinks { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; min-height: 42px; margin-top: 26px; }
.pm.ex .mx-onward { margin-left: auto; padding: 11px 18px; border-radius: 10px; font-size: 14px; animation: mx-rise 0.8s var(--expo) both; }
.mx-onward span { display: inline-block; animation: mx-nudge 1.8s ease-in-out 1s 3; }
.mx-math { margin: 18px 0 0; padding: 24px 26px; border-radius: 16px; background: var(--paper); animation: mx-rise 0.5s var(--expo) both; }
.mx-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.mx-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; }
.mx-steps li > b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--field); font-family: var(--serif); font-size: 13.5px; font-weight: 400; color: var(--ink); }
.mx-steps strong { display: block; margin: 3px 0 4px; font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.mx-steps p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.mx-steps p b { font-weight: 700; color: var(--ink); }
.mx-steps .mx-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 8px 0 2px; }
.mx-chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px 4px 9px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--ink2); }
.mx-chip i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.mx-steps .mx-chip b { font-family: var(--serif); font-size: 14px; font-weight: 400; }
.mx-math-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rule); }
.mx-math-note p { margin: 0 0 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink2); }
.mx-math-note p:last-child { margin: 0; font-size: 13.5px; color: var(--ink3); }
.mx-math-note strong { color: var(--ink); }
.mx-math-note a { font-weight: 600; color: var(--btn) !important; text-decoration: underline !important; text-underline-offset: 3px; white-space: nowrap; }

.mx-next { display: none; max-width: 1120px; margin: 64px auto 0; scroll-margin-top: calc(var(--head) + 24px); }
.mx-result.is-presented .mx-next { display: block; }
.mx-result.is-presented .mx-next > .mx-label, .mx-result.is-presented .mx-path, .mx-result.is-presented .mx-more, .mx-result.is-presented .mx-foot { animation: mx-rise 0.9s var(--expo) both; }
.mx-result.is-presented .mx-path:nth-child(1) { animation-delay: 120ms; }
.mx-result.is-presented .mx-path:nth-child(2) { animation-delay: 200ms; }
.mx-result.is-presented .mx-more, .mx-result.is-presented .mx-foot { animation-delay: 280ms; }
.mx-next > .mx-label { margin-left: 6px; }
.mx-paths { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.mx-path { padding: 36px 38px 32px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 30px 60px -46px rgba(30, 27, 22, 0.5); }
.mx-path--wide { grid-column: 1 / -1; }
.pm.ex .mx-path h3 { margin: 0 0 10px !important; font-size: 24px !important; font-weight: 800 !important; line-height: 1.15 !important; letter-spacing: -0.025em !important; }
.mx-path-line { margin: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--ink2); }
.mx-study-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.pm.ex .mx-study h3 { font-size: 30px !important; }
.mx-study-points { margin: 0 0 30px; padding: 0; list-style: none; }
.mx-study-points li { position: relative; padding: 0 0 9px 22px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.mx-study-points li::before { content: ""; position: absolute; top: 9px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--btn); }
.mx-study-next { margin: 0 0 16px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }
.mx-study-form { padding: 30px 30px 28px; border-radius: 18px; background: var(--paper); }
.mx-study-form .ex-fs { margin-bottom: 28px; }
.mx-study-form .ex-choice-body { padding: 16px 44px 16px 18px; }
.mx-study-note span { display: flex; gap: 10px; align-items: baseline; }
.mx-study-note i, .mx-study-tick i { font-style: normal; font-weight: 400; color: var(--ink3); }
.mx-study-note textarea { min-height: 76px; }
.mx-study-tick { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 24px; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--ink); cursor: pointer; }
.mx-study-tick input { flex: none; width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--btn); }
.mx-study .ex-sent { border-radius: 18px; }
.mx-take { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.mx-take-taste .mx-path-line { margin-bottom: 0; }
.mx-take-taste .mx-small { margin-top: 14px; }
.mx-take-title { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); }
.mx-take-line { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--ink2); }
.mx-flash { margin: 24px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--im-ok-bg); box-shadow: inset 0 0 0 1px var(--im-ok-line); font-size: 15px; font-weight: 600; color: var(--im-ok-ink); }
.mx-noscript { flex-basis: 100%; font-size: 14px; color: var(--ink3); }
.mx-about { display: none; padding: 96px 0 104px; background: #fff; }
.mx[data-stage="intro"] .mx-about { display: block; }
.pm.ex .mx-about h2 { max-width: 24ch; margin: 0 0 48px !important; font-size: clamp(28px, 3vw, 40px) !important; font-weight: 800 !important; line-height: 1.1 !important; letter-spacing: -0.03em !important; }
.mx-about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-bottom: 44px; }
.pm.ex .mx-about h3 { margin: 0 0 10px !important; font-size: 18px !important; font-weight: 700 !important; line-height: 1.3 !important; letter-spacing: -0.01em !important; }
.mx-about-grid p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink2); }
.mx-row { display: flex; gap: 10px; }
.mx-row input { flex: 1; min-width: 0; padding: 14px 15px; border: 0; border-radius: 10px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--field); font: inherit; font-size: 15.5px; color: var(--ink); }
.mx-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pm.ex .mx-row .ex-btn { padding: 14px 22px; white-space: nowrap; }
.mx-take-form .mx-small { margin-top: 14px; }
.mx-bad { margin: 10px 0 0; font-size: 13.5px; font-weight: 600; color: #a3341f; }
.mx-receipt { display: grid; gap: 10px; margin: 0; padding: 20px 22px; border-radius: 12px; background: var(--im-ok-bg); box-shadow: inset 0 0 0 1px var(--im-ok-line); list-style: none; font-size: 15.5px; font-weight: 600; color: var(--im-ok-ink); }
.mx-receipt li { display: flex; gap: 12px; align-items: center; opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--expo), transform 0.45s var(--expo); }
.mx-receipt li.is-on { opacity: 1; transform: none; }
.mx-receipt svg { flex: none; width: 18px; height: 18px; }
.mx-more { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: baseline; margin: 10px 6px 0; font-size: 15px; }
.pm.ex .mx-more a.mx-text { color: var(--ink2) !important; text-decoration-color: var(--field) !important; }
.mx-more-lead { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }
.mx-msg-source { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mx-ok { padding: 3px 11px; border-radius: 999px; background: var(--im-ok-bg); box-shadow: inset 0 0 0 1px var(--im-ok-line); font-size: 13px; font-weight: 600; color: var(--im-ok-ink); }
.mx-sheet { display: none; }
.mx-sheet h4 { margin: 18px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink3); }
.mx-sheet p { margin: 0 0 4px; font-size: 15px; font-weight: 700; line-height: 1.45; }
.mx-sheet ol { margin: 0 0 12px; padding-left: 20px; font-size: 13.5px; line-height: 1.5; color: var(--ink2); }
.mx-foot { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: space-between; margin: 40px 6px 0; }
.mx-foot p { max-width: 70ch; margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink3); }
.mx-foot div { display: flex; gap: 24px; }

@keyframes mx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mx-in { from { opacity: 0; transform: translate3d(calc(var(--dir, 1) * 46px), 0, 0); } to { opacity: 1; transform: none; } }
@keyframes mx-out { to { opacity: 0; transform: translate3d(calc(var(--dir, 1) * -34px), 0, 0); filter: blur(3px); } }
@keyframes mx-deck { from { opacity: 0; transform: translateY(36px) scale(0.965); } to { opacity: 1; transform: none; } }
@keyframes mx-roll-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mx-roll-out { to { opacity: 0; transform: translateY(-16px); } }
@keyframes mx-bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mx-seg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mx-pop { 40% { transform: scale(1.16); } }
@keyframes mx-nudge { 50% { transform: translateY(4px); } }
@keyframes mx-breathe { 0%, 26%, 100% { transform: scale(1); box-shadow: inset 0 0 0 2px var(--rail); } 12% { transform: scale(1.12); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--a) 45%, var(--rail)); } }

@media (prefers-reduced-motion: reduce) {
    .mx *, .mx *::before, .mx *::after { animation: none !important; transition: none !important; }
    .mx-rthink li, .mx-receipt li { opacity: 1; transform: none; }
    .mx-rthink path { stroke-dashoffset: 0; }
    .mx-welcome .mx-spectrum i::after { transform: scaleX(1); }
}
@media (max-width: 1000px) {
    .mx-deck-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .mx-pane { padding: 26px 30px 24px; }
    .mx-pane::before { transform: scaleX(var(--fill)); transform-origin: left; box-shadow: 1px 0 0 rgba(255, 255, 255, 0.35); }
    .mx-pane-n { margin-bottom: 10px; }
    .mx-pane-why { padding-top: 12px; }
    .mx-pane-why b { margin-bottom: 4px; }
    .mx-pane-why p { font-size: 15px; }
    .pm.ex .mx-pane-name { margin-bottom: 10px !important; padding-right: 96px; font-size: 26px !important; }
    .mx-pane-count { position: absolute; top: 22px; right: 28px; gap: 6px; margin: 0; padding: 0; }
    .mx-pane-count b { font-size: 44px; }
    .mx-main { padding: 32px 30px 30px; }
    .mx-welcome .mx-pane, .mx-rpane { padding: 30px; }
    .mx-welcome-main { padding: 34px 30px 38px; }
    .mx-num b { font-size: 120px; }
    .mx-rmain { padding: 32px 30px 34px; }
    .mx-paths, .mx-study-grid, .mx-take, .mx-about-grid { grid-template-columns: minmax(0, 1fr); }
    .mx-study-grid, .mx-take, .mx-about-grid { gap: 30px; }
    .mx-study-next, .mx-study-pitch .ex-steps { display: none; }
    .mx-study-points { margin-bottom: 0; }
    .mx-about { padding: 64px 0 72px; }
}
@media (max-width: 720px) {
    .mx-intro, .mx-ask, .mx-result { padding: calc(var(--head) + 14px) 12px 24px; }
    .mx[data-stage="result"] .mx-result { padding-bottom: 60px; }
    .mx-deck { border-radius: 20px; }
    .mx-pane { padding: 20px 22px 18px; }
    .pm.ex .mx-pane-name { margin: 0 !important; font-size: 22px !important; }
    .mx-pane-count { top: 16px; right: 20px; }
    .mx-pane-count b { font-size: 36px; }
    .mx-pane-why { margin-top: 10px; padding-top: 10px; }
    .mx-pane-why b { display: none; }
    .mx-pane-why p { font-size: 14px; line-height: 1.45; }
    .mx-main { padding: 26px 20px 24px; }
    .mx-welcome .mx-pane, .mx-rpane { padding: 24px 22px; }
    .mx-welcome-main { padding: 28px 22px 30px; }
    .mx-demo-out b { font-size: 56px; }
    .mx-facts { margin-top: 30px; }
    .pm.ex .mx-q { margin-bottom: 20px !important; }
    .mx-say { min-height: 200px; padding: 22px 20px; border-radius: 16px; }
    .mx-gap { min-height: 20px; }
    .mx-ticks { min-height: 34px; }
    .mx-tick:first-child, .mx-tick:last-child { width: 46%; }
    .mx-tick:not(:first-child):not(:last-child) { display: none; }
    .mx-under { padding-top: 20px; }
    .mx-under-left { gap: 20px; }
    .mx-num b { font-size: 104px; }
    .mx-rmain { padding: 24px 20px 26px; }
    .mx-rsum { font-size: 16.5px; }
    .mx-scale li { font-size: 0; }
    .mx-scale b { font-size: 15px; }
    .mx-bars { gap: 8px; height: 210px; margin-bottom: 38px; }
    .mx-bar strong { display: none; }
    .mx-key:not([hidden]) { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0 0 18px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--ink2); }
    .mx-key span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
    .mx-key span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
    .mx-math { padding: 20px 18px; }
    .mx-bar span { margin-top: 8px; font-size: 11px; }
    .mx-next { margin-top: 40px; }
    .pm.ex .mx-rtitle-h { font-size: 28px !important; }
    .mx[data-stage="result"] .mx-result.is-titled { padding-top: calc(var(--head) + 22px); }
    .mx-result.is-titled .mx-rtitle { margin-bottom: 16px; }
    .mx-path { padding: 26px 22px 24px; border-radius: 20px; }
    .mx-row { flex-direction: column; }
    .mx-study-form { padding: 22px 18px 20px; }
    .pm.ex .mx-study h3 { font-size: 26px !important; }
}
@media (max-width: 640px) {
    .mx-bars { margin-bottom: 56px; }
    .mx-bar:nth-child(even) span { margin-top: 26px; }
}
@media print {
    body.mx-printing * { visibility: hidden; }
    body.mx-printing .mx-sheet, body.mx-printing .mx-sheet * { visibility: visible; }
    body.mx-printing .mx-sheet { display: block; position: absolute; top: 0; left: 0; width: 100%; margin: 0; padding: 0; border: 0; }
}
