/* Mind Over Muscle — section styles. Relies on sedatozturk.me /style.css for tokens, header, footer and .btn. */
:root { --mom-ok: #1f8a5b; --mom-ok-l: #e6f5ee; --mom-err: #c2412d; --mom-err-l: #fdf1ee; --mom-warn: #b7791f; --mom-warn-l: #fbf3e4; --mom-stage: #ffffff; }
#mom { min-height: 70vh; padding-top: 96px; }
#mom .wrap { max-width: var(--max, 1180px); margin: 0 auto; padding: 0 24px; }
#mom h1, #mom h2, #mom h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.1; }
#mom h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 14px; }
#mom h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 10px; }
#mom h3 { font-size: 20px; margin: 0 0 8px; }
#mom p { color: var(--ink-soft); line-height: 1.6; margin: 0 0 12px; }
#mom .eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
#mom .eyebrow .ico { width: 16px; height: 16px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.mom-muted { color: var(--muted); font-size: 14px; }
.mom-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.mom-sp { flex: 1; }

/* brand mark */
.mom-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.mom-brand .mark { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #0e1b2e, #2a5bd7 70%, #7aa5ff); display: grid; place-items: center; position: relative; flex: none; box-shadow: 0 10px 24px rgba(42,91,215,.25); }
.mom-brand .mark::before { content: ""; width: 22px; height: 22px; border: 2.5px solid #fff; border-radius: 50%; opacity: .9; }
.mom-brand .mark::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.mom-brand b { font-family: var(--display); font-size: 20px; letter-spacing: -0.02em; display: block; line-height: 1; }
.mom-brand small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .04em; margin-top: 4px; }
.mom-brand.lg .mark { width: 72px; height: 72px; border-radius: 22px; } .mom-brand.lg .mark::before { width: 36px; height: 36px; border-width: 3.5px; } .mom-brand.lg .mark::after { width: 12px; height: 12px; }

/* sub navigation */
.mom-subnav { position: sticky; top: 70px; z-index: 5; background: rgba(246,247,249,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.mom-subnav .in { display: flex; align-items: center; gap: 4px; max-width: var(--max, 1180px); margin: 0 auto; padding: 8px 24px; overflow-x: auto; scrollbar-width: none; }
.mom-subnav .in::-webkit-scrollbar { display: none; }
.mom-subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.mom-subnav a.on { background: var(--ink); color: #fff; }
.mom-subnav a:hover:not(.on) { background: #fff; color: var(--ink); }
.mom-subnav .mom-brand { margin-right: 10px; } .mom-subnav .mom-brand .mark { width: 34px; height: 34px; border-radius: 10px; } .mom-subnav .mom-brand .mark::before { width: 16px; height: 16px; border-width: 2px; } .mom-subnav .mom-brand .mark::after { width: 6px; height: 6px; } .mom-subnav .mom-brand b { font-size: 16px; } .mom-subnav .mom-brand small { display: none; }

/* cards */
.mom-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius, 26px); padding: 26px; }
.mom-card.tight { padding: 18px 20px; border-radius: 18px; }
.mom-card.accent { background: var(--ink); color: #fff; border-color: transparent; }
#mom .mom-card.accent p, #mom .mom-card.accent .mom-muted { color: rgba(255,255,255,.72); }
#mom a.mom-card, #mom a.mom-card h3 { text-decoration: none; color: inherit; }
#mom .mom-card.accent h3 { color: #fff; }
.mom-card.soft { background: var(--accent-l); border-color: transparent; }
.mom-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mom-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-l); color: var(--accent-d); font-size: 13px; font-weight: 600; }
.mom-pill.ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.mom-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #fff; }
.mom-badge.ok { background: var(--mom-ok); } .mom-badge.warn { background: var(--mom-warn); } .mom-badge.ghost { background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }

/* gate */
.mom-gate { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 40px 0 90px; }
.mom-gate-brand { display: block; margin-bottom: 36px; }
#mom h1.mom-slogan { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 640px; }
#mom h2.mom-gate-title { display: flex; align-items: center; gap: 10px; font-size: 22px; margin: 34px 0 12px; }
#mom h2.mom-gate-title .ico { width: 20px; height: 20px; color: var(--accent); }
.mom-gate .lead { font-size: 19px; line-height: 1.55; max-width: 560px; margin-bottom: 0; }
.mom-gate form { display: grid; gap: 14px; margin-top: 4px; max-width: 520px; }
.mom-field { display: grid; gap: 6px; }
.mom-field label { font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; }
.mom-field input, .mom-field select { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 16px; font: inherit; font-size: 17px; color: var(--ink); outline: none; transition: border-color .15s, box-shadow .15s; }
.mom-field input.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; text-transform: uppercase; font-size: 20px; text-align: center; }
.mom-field input:focus, .mom-field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-l); }
.mom-msg { padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.mom-msg.err { background: var(--mom-err-l); color: var(--mom-err); } .mom-msg.ok { background: var(--mom-ok-l); color: var(--mom-ok); } .mom-msg.info { background: var(--accent-l); color: var(--accent-d); }
.mom-gate-art { position: relative; min-height: 420px; }
.mom-gate-art .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.mom-gate-art .o1 { width: 320px; height: 320px; background: #dbe6fb; top: 0; right: 0; }
.mom-gate-art .o2 { width: 260px; height: 260px; background: #e1e9f5; bottom: 0; left: 10%; }
.mom-gate-art .preview { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(14,27,46,.3); }
.mom-gate-art .preview .grid-board { max-width: 300px; margin: 0 auto; }

/* home */
.mom-home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.mom-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mom-stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.mom-stat b { font-family: var(--display); font-size: 30px; display: block; line-height: 1; letter-spacing: -0.02em; }
.mom-stat small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.mom-home-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-bottom: 44px; }
.mom-featured { display: grid; gap: 16px; align-content: space-between; min-height: 230px; }
.mom-featured h3 { font-size: 28px; }
.mom-side { display: grid; gap: 12px; }
.mom-ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mom-ex-card { position: relative; display: grid; gap: 12px; align-content: start; text-decoration: none; color: inherit; transition: transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.mom-ex-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(14,27,46,.35); }
.mom-ex-card .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-l); color: var(--accent); display: grid; place-items: center; }
.mom-ex-card .icon .ico { width: 24px; height: 24px; }
.mom-ex-card .top { display: flex; justify-content: space-between; align-items: flex-start; }
.mom-ex-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: 4px; }
.mom-ex-card .pb { color: var(--ink); }

/* intro */
.mom-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.mom-intro-head { margin-bottom: 20px; }
.mom-intro-head .icon { width: 64px; height: 64px; border-radius: 20px; background: var(--accent-l); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.mom-intro-head .icon .ico { width: 32px; height: 32px; }
.mom-section { padding: 22px 0; border-top: 1px solid var(--line); }
.mom-section h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 10px; }
.mom-section ol, .mom-section ul { margin: 0; padding-left: 20px; color: var(--ink-soft); line-height: 1.6; }
.mom-section li + li { margin-top: 6px; }
.mom-refs { font-size: 13.5px; color: var(--muted); }
.mom-refs a { color: var(--accent); }
.mom-note { background: var(--accent-l); border-radius: 18px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.mom-note img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.mom-note p { margin: 0; color: var(--ink); }
.mom-note small { display: block; color: var(--accent-d); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.mom-settings { position: sticky; top: 130px; display: grid; gap: 18px; }
.mom-setting { display: grid; gap: 8px; }
.mom-setting > label { font-size: 13px; font-weight: 700; color: var(--ink-soft); letter-spacing: .04em; display: flex; justify-content: space-between; }
.mom-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.mom-seg button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.mom-seg button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.mom-seg button:disabled { opacity: .35; cursor: not-allowed; }
.mom-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 14px; cursor: pointer; font-weight: 600; }
.mom-toggle i { width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; flex: none; }
.mom-toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.mom-toggle.on i { background: var(--accent); } .mom-toggle.on i::after { transform: translateX(18px); }
.mom-pbbox { display: grid; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--bg); border: 1px dashed var(--line); }
.mom-pbbox b { font-family: var(--display); font-size: 26px; letter-spacing: -0.02em; }
.mom-pbbox small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.mom-attempts { display: grid; gap: 6px; }
.mom-attempts div { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px dashed var(--line); }
.mom-attempts div b { color: var(--ink); font-variant-numeric: tabular-nums; }

/* play overlay */
.mom-play { position: fixed; inset: 0; z-index: 100; background: var(--mom-stage); display: grid; grid-template-rows: auto 1fr; overscroll-behavior: contain; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.mom-play-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); min-height: 56px; }
.mom-play-bar .ttl { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.mom-play-bar .hud { display: flex; gap: 14px; margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.mom-play-bar .hud span b { color: var(--ink); }
.mom-play-bar .hud .timer { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; color: var(--ink); min-width: 92px; text-align: right; }
.mom-ibtn { width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.mom-ibtn:hover { border-color: var(--ink); }
.mom-stage { position: relative; display: grid; place-items: center; overflow: hidden; padding: 12px; }
.mom-stage .status { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font-weight: 700; color: var(--ink-soft); font-size: 15px; pointer-events: none; }
.mom-countdown { display: grid; place-items: center; text-align: center; gap: 10px; }
.mom-countdown b { font-family: var(--display); font-size: clamp(80px, 20vw, 160px); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.mom-countdown p { font-size: 18px; color: var(--muted); }
.mom-feedback-ok { animation: momOk .35s var(--ease); } .mom-feedback-err { animation: momErr .35s var(--ease); }
@keyframes momOk { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes momErr { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.mom-play .tapzone { position: absolute; inset: 0; }

/* grid */
.grid-board { display: grid; gap: var(--gap, 6px); width: min(92vw, 92vh - 80px, 760px); aspect-ratio: 1; --n: 5; grid-template-columns: repeat(var(--n), 1fr); }
.grid-cell { border: 1.5px solid var(--line); background: #fff; border-radius: clamp(4px, calc(14px - var(--n) * 1px), 14px); font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; font-size: clamp(11px, calc(70vmin / var(--n) * 0.42), 54px); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .12s, border-color .12s; -webkit-tap-highlight-color: transparent; }
.grid-cell.done { background: var(--bg); border-color: transparent; color: #c7cdd8; cursor: default; }
.grid-cell.err { background: var(--mom-err-l); border-color: var(--mom-err); }
.grid-cell.hit { background: var(--mom-ok-l); border-color: var(--mom-ok); }
@media (hover: hover) { .grid-cell:not(.done):hover { border-color: var(--ink); } }

/* mot */
.mot-wrap { position: relative; width: min(96vw, 96vh - 80px, 900px); aspect-ratio: 1; }
.mot-canvas { width: 100%; height: 100%; border: 1.5px solid var(--line); border-radius: 22px; background: #fff; touch-action: none; display: block; }
.mot-overlay { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; text-align: center; }
.mot-overlay b { font-family: var(--display); font-size: clamp(40px, 10vw, 96px); color: var(--ink); letter-spacing: -0.03em; background: rgba(255,255,255,.85); padding: 6px 28px; border-radius: 24px; }
.mot-overlay p { font-size: 18px; font-weight: 700; color: var(--ink); background: rgba(255,255,255,.9); padding: 8px 18px; border-radius: 999px; }

/* search */
.search-wrap { display: grid; gap: 14px; justify-items: center; width: min(96vw, 1000px); }
.search-cue { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; }
.search-cue svg { background: #fff; border-radius: 8px; }
.search-field { position: relative; width: min(94vw, 88vh - 140px, 900px); aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; }
.search-item { position: absolute; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 50%; }
.search-item.err { background: var(--mom-err-l); }

/* go/no-go */
.gng-wrap { display: grid; gap: 12px; justify-items: center; width: min(96vw, 820px); }
.gng-rule { font-weight: 700; color: var(--ink-soft); text-align: center; font-size: 15px; max-width: 520px; }
.gng-arena { position: relative; width: min(92vw, 80vh - 140px, 720px); aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: 28px; background: #fff; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gng-stim { display: grid; place-items: center; position: relative; }
.gng-stim .lbl { position: absolute; font-family: var(--display); font-weight: 800; font-size: clamp(24px, 6vmin, 48px); color: #fff; letter-spacing: .02em; }
.gng-arena.flash-ok { box-shadow: inset 0 0 0 6px var(--mom-ok-l); } .gng-arena.flash-err { box-shadow: inset 0 0 0 6px var(--mom-err-l); }

/* memory */
.mem-wrap { display: grid; gap: 16px; justify-items: center; }
.mem-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: min(88vw, 68vh - 120px, 460px); aspect-ratio: 1; }
.mem-tile { border-radius: 18px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: background .1s, transform .1s; -webkit-tap-highlight-color: transparent; }
.mem-tile.lit { background: var(--accent); border-color: var(--accent); }
.mem-tile.sel { background: var(--accent-l); border-color: var(--accent); }
.mem-tile.ok { background: var(--mom-ok-l); border-color: var(--mom-ok); } .mem-tile.bad { background: var(--mom-err-l); border-color: var(--mom-err); }
.mem-digit { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 24vmin, 180px); color: var(--ink); letter-spacing: -0.04em; line-height: 1; min-height: 1em; }
.mem-entry { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 28px; letter-spacing: .3em; min-height: 40px; color: var(--ink); }
.mem-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(88vw, 320px); }
.mem-keypad button { font: inherit; font-weight: 700; font-size: 24px; padding: 14px 0; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.mem-keypad button.wide { grid-column: span 2; font-size: 16px; }
.mem-prompt { font-weight: 700; font-size: 17px; color: var(--ink-soft); min-height: 24px; }

/* peripheral */
.per-stage { position: relative; width: min(96vw, 92vh - 80px, 900px); aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.per-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 9%; aspect-ratio: 1; display: grid; place-items: center; }
.per-center .fx { width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; transition: border-radius .05s; }
.per-center .fx.sq { border-radius: 18%; }
.per-stim { position: absolute; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.per-stim svg { width: 100%; height: 100%; }
.per-answer { display: grid; gap: 16px; justify-items: center; width: min(94vw, 560px); }
.per-answer .opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.per-answer .opts button, .per-dirs button { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px; cursor: pointer; display: grid; place-items: center; gap: 4px; font: inherit; font-weight: 600; font-size: 13px; color: var(--ink); }
.per-answer .opts button.on, .per-dirs button.on { border-color: var(--accent); background: var(--accent-l); }
.per-dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: min(70vw, 240px); }
.per-dirs button { aspect-ratio: 1; font-size: 20px; }
.per-dirs .c { border: 1.5px dashed var(--line); border-radius: 14px; display: grid; place-items: center; }

/* results */
.mom-result { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.mom-score { font-family: var(--display); font-size: clamp(56px, 9vw, 96px); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.mom-metrics { display: grid; gap: 0; }
.mom-metrics div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mom-metrics div span { color: var(--ink-soft); } .mom-metrics div b { font-variant-numeric: tabular-nums; }
.mom-result-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* history */
.mom-hist-ex { display: grid; gap: 16px; margin-bottom: 28px; }
.mom-hist-ex .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mom-chart { width: 100%; height: auto; display: block; }
.mom-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mom-table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--line); }
.mom-table td { padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.mom-table td b { color: var(--ink); }
.mom-table tr.pb td b::after { content: " · " attr(data-pb); color: var(--mom-ok); font-size: 11px; letter-spacing: .06em; }
.mom-empty { text-align: center; padding: 40px 20px; color: var(--muted); }

/* about */
.mom-about { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.mom-about img.mom-portrait { width: 100%; border-radius: 26px; aspect-ratio: 4/5; object-fit: cover; }
.mom-links { display: grid; gap: 8px; }
.mom-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; }
.mom-cv { display: grid; gap: 6px; font-size: 14.5px; }
.mom-cv div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.mom-cv div span:first-child { font-weight: 700; color: var(--muted); font-size: 13px; }

.mom-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; z-index: 200; box-shadow: 0 20px 40px -20px rgba(0,0,0,.4); }
.mom-foot-note { text-align: center; color: var(--muted); font-size: 13px; padding: 30px 0 10px; }

@media (max-width: 1000px) {
  .mom-gate, .mom-home-grid, .mom-intro, .mom-result, .mom-about { grid-template-columns: 1fr; }
  .mom-ex-grid { grid-template-columns: repeat(2, 1fr); }
  .mom-settings { position: static; order: -1; }
  .mom-gate-art { display: none; }
  .mom-subnav { top: 64px; }
}
@media (max-width: 640px) {
  #mom { padding-top: 84px; }
  #mom .wrap, .mom-subnav .in { padding: 0 16px; }
  .mom-subnav .in { padding: 8px 16px; }
  .mom-ex-grid { grid-template-columns: 1fr; }
  .mom-stats { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  .mom-stat { padding: 12px 12px; } .mom-stat b { font-size: 24px; } .mom-stat small { font-size: 11px; }
  .mom-card { padding: 20px; border-radius: 20px; }
  .mom-play-bar .hud { gap: 10px; font-size: 13.5px; }
  .mom-play-bar .ttl { display: none; }
  .mem-board { width: min(88vw, 60vh - 160px); }
  .per-answer .opts { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .mom-ex-card, .mom-feedback-ok, .mom-feedback-err { animation: none !important; transition: none !important; } }
