/* Moone customer · "黄油日光" butter riso world */
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --butter: #f9cd4b; --butter-deep: #f2b415; --butter-soft: #fff3c9; --butter-ink: #4a3a07;
  --sky: #4fb3e0; --sky-soft: #d7eef8; --sky-wash: #eef8fc; --sky-ink: #17668f;
  --navy: #1e2a4a; --navy-2: #46506b; --navy-3: #6a7186;
  --paper: #fbf8ef; --card: #fffdf7; --line: #e4dbc4; --line-strong: #cfc3a6;
  --success: #2c7a4b; --success-soft: #e2f3e8; --success-line: #a9d5b8;
  --danger: #b23a24; --danger-soft: #fde6df; --danger-line: #f0b8aa;
  --warning: #8a5a00; --warning-soft: #fff0c2; --warning-line: #ecd08a;
  --blush: #f39a96;
  --bg: var(--paper); --surface: var(--card); --muted: var(--sky-wash); --text: var(--navy); --subtle: var(--navy-2); --accent: var(--navy); --accent-soft: var(--butter-soft);
  --font: "Fredoka", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --ease-pop: cubic-bezier(.16, 1, .3, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
  font-family: var(--font);
}
body.riso { background: var(--paper); color: var(--navy); font-family: var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--butter); color: var(--navy); }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
a { color: var(--sky-ink); }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
h2[tabindex="-1"]:focus { outline: none; }

/* ---------- shell ---------- */
.customer-shell { width: 100%; max-width: none; margin: 0; }
.topbar { position: sticky; top: 0; z-index: 5; height: 84px; padding-inline: clamp(20px, 3vw, 44px); border: 0; background: var(--paper); }
.brand { gap: 10px; color: var(--navy); }
.brand img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 3px rgb(30 42 74 / .18)); transform: rotate(-6deg); transition: transform .5s var(--ease-pop); }
.brand:hover img { transform: rotate(4deg) scale(1.05); }
.brand > span { display: grid; gap: 0; }
.brand strong { font-size: 26px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.brand small { display: block; margin: 0; padding: 0; border: 0; color: var(--navy-2); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.topbar nav { gap: 6px; }
.topbar nav .nav-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 9px 18px; border: 2px solid transparent; border-radius: 999px; background: transparent; color: var(--navy); font: 700 15px/1.2 var(--font); white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.topbar nav .nav-link:hover:not(:disabled) { background: var(--butter-soft); text-decoration: none; }
.topbar nav .nav-link[aria-current=page] { background: var(--navy); color: var(--butter); }
.topbar nav .shop-link { border-color: var(--sky); color: var(--sky-ink); }
.topbar nav .shop-link:hover { background: var(--sky-wash); }
.shop-link .icon { width: 15px; height: 15px; }
.nav-link:disabled { opacity: .5; cursor: not-allowed; }

.riso-stage { display: grid; grid-template-columns: minmax(340px, 41%) minmax(0, 1fr); align-items: start; }

/* ---------- butter field ---------- */
.sun-field { position: sticky; top: 84px; height: calc(100dvh - 84px); min-height: 520px; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; padding: clamp(24px, 4vh, 48px) clamp(28px, 4vw, 64px) clamp(28px, 5vh, 52px); background: var(--butter); color: var(--navy); overflow: hidden; isolation: isolate; }
.sun-art { position: relative; z-index: 1; align-self: center; justify-self: center; width: min(82%, 500px, 54dvh); aspect-ratio: 1; }
.sun-moon { position: relative; z-index: 2; display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 22px rgb(150 92 0 / .28)); transform-origin: 46% 62%; animation: moon-doze 7s ease-in-out infinite alternate; }
.star-canvas { position: absolute; inset: 0; z-index: 0; display: block; pointer-events: none; }
.ink-ring { position: absolute; z-index: 1; inset: -9%; border: 3px solid var(--sky); border-radius: 50%; opacity: .7; transform: translate(4%, -3%); }
.ink-dots { position: absolute; z-index: 0; left: -24%; bottom: -16%; width: 70%; aspect-ratio: 1; background-image: radial-gradient(circle, var(--sky) 0 2.6px, transparent 3px); background-size: 13px 13px; -webkit-mask-image: radial-gradient(circle at 45% 55%, #000 18%, transparent 68%); mask-image: radial-gradient(circle at 45% 55%, #000 18%, transparent 68%); opacity: .85; }
.sun-copy { position: relative; z-index: 1; display: grid; gap: 16px; max-width: 30ch; }
.sun-line { margin: 0; max-width: none; font-size: clamp(26px, 2.3vw, 36px); font-weight: 800; line-height: 1.28; letter-spacing: -.01em; }
.sun-note { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: var(--butter-ink); font-size: 14px; font-weight: 600; line-height: 1.65; }
.sun-note .icon { width: 18px; height: 18px; margin-top: 2px; flex: none; }
@keyframes moon-doze { from { transform: rotate(-5deg) translateY(0); } to { transform: rotate(5deg) translateY(-3.5%); } }
@keyframes moon-wake { 0% { transform: rotate(0) translateY(0) scale(1); } 35% { transform: rotate(-10deg) translateY(-9%) scale(1.04); } 70% { transform: rotate(5deg) translateY(1%) scale(.99); } 100% { transform: rotate(0) translateY(0) scale(1); } }
.riso:has(.result-symbol.is-success) .sun-moon { animation: moon-wake 1.1s var(--ease-pop) 1 both, moon-doze 7s ease-in-out 1.1s infinite alternate; }

/* ---------- paper column ---------- */
.paper { min-width: 0; padding: 20px clamp(24px, 4.6vw, 76px) 0; }
.paper > * { max-width: 860px; }
.page-heading { text-align: left; padding: 22px 0 30px; }
.page-heading h1 { margin: 0; font-size: clamp(34px, 3.5vw, 52px); font-weight: 700; line-height: 1.18; letter-spacing: -.02em; color: var(--navy); }
.page-heading h1 em { font-style: normal; padding: 0 .08em; background: linear-gradient(transparent 56%, var(--butter) 56%, var(--butter) 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.page-heading p { max-width: none; margin-top: 12px; color: var(--navy-2); font-size: 17px; font-weight: 600; }

/* steps */
.flow-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 30px; padding: 0; border: 0; }
.flow-steps li { position: relative; display: grid; justify-items: start; gap: 12px; min-width: 0; padding-right: 12px; }
.flow-steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 58px; right: 12px; height: 4px; border-radius: 4px; background: var(--sky-soft); transition: background .4s var(--ease-out); }
.step-number { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: var(--sky); color: #fff; font: 700 20px/1 var(--font); }
.step-number .icon { display: none; width: 22px; height: 22px; stroke-width: 2.6; }
.flow-steps li > div { display: grid; gap: 2px; min-width: 0; }
.flow-steps strong { display: inline; width: fit-content; color: var(--navy-2); font-size: 16px; font-weight: 700; line-height: 1.4; }
.flow-steps small { display: block; margin: 0; color: var(--navy-3); font-size: 13px; font-weight: 500; }
.flow-steps .is-current .step-number { background: var(--navy); color: var(--butter); box-shadow: 0 0 0 6px var(--butter-soft); animation: step-pop .55s var(--ease-pop); }
.flow-steps .is-current strong { color: var(--navy); box-shadow: inset 0 -.42em 0 var(--butter); }
.flow-steps .is-complete .step-number { background: var(--butter); color: var(--navy); }
.flow-steps .is-complete .step-number > span { display: none; }
.flow-steps .is-complete .step-number .icon { display: block; }
.flow-steps .is-complete strong { color: var(--navy); }
.flow-steps .is-complete::after { background: var(--navy); }
@keyframes step-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }

/* workspace */
.workspace { max-width: 860px; margin: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
.workspace-body { display: grid; grid-template-columns: minmax(0, 1fr) 248px; gap: 20px; align-items: start; }
.workspace-main { min-width: 0; padding: 26px 30px 26px; background: var(--card); border: 2px solid var(--navy); border-radius: 24px; box-shadow: 0 14px 30px -18px rgb(30 42 74 / .35); }
.context-panel { padding: 24px 22px; background: var(--sky-wash); border: 2px solid var(--sky); border-radius: 24px; color: var(--navy); font-size: 14px; }
.context-panel h2 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.guide-item { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; }
.guide-dot { width: 12px; height: 12px; margin-top: 6px; flex: none; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px var(--sky-soft); }
.context-panel h3 { margin: 0; font-size: 15px; font-weight: 700; }
.context-panel p { margin-top: 4px; color: var(--navy-2); font-size: 14px; font-weight: 500; line-height: 1.7; }
.aside-note { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; padding-top: 16px; border-top: 2px dashed var(--sky-soft); color: var(--sky-ink); }
.aside-note .icon { width: 17px; height: 17px; margin-top: 3px; flex: none; }
.aside-note p { margin: 0; color: var(--sky-ink); font-weight: 600; }
.workspace-body:has(#redeem-form:not(.hidden)) { grid-template-columns: minmax(0, 1fr); }
.workspace-body:has(#redeem-form:not(.hidden)) > .context-panel { display: none; }

.step-navigation { margin-bottom: 16px; }
.btn { min-height: 44px; gap: 8px; padding: 9px 18px; border: 2px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--navy); font: 700 15px/1.3 var(--font); transition: background .2s, border-color .2s, transform .15s var(--ease-out); }
.btn:hover:not(:disabled) { background: var(--butter-soft); border-color: var(--navy); text-decoration: none; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .45; }
.btn .icon { width: 17px; height: 17px; }
.ghost-pill { min-height: 38px; padding: 6px 14px; border-color: transparent; background: var(--paper); color: var(--navy-2); font-size: 14px; }
.ghost-pill .icon { transform: rotate(180deg); width: 16px; height: 16px; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: var(--butter); }
.btn.primary:hover:not(:disabled) { background: #2b3b66; border-color: #2b3b66; }

.form-heading { margin-bottom: 20px; }
.form-heading h2 { margin: 0; font-size: clamp(23px, 1.6vw + 12px, 28px); font-weight: 700; letter-spacing: -.01em; }
.form-heading p { margin-top: 6px; color: var(--navy-2); font-size: 15px; font-weight: 500; line-height: 1.7; }
.field { display: block; color: var(--navy); font-size: 15px; font-weight: 700; }
.key-input-wrap { position: relative; margin-top: 10px; }
.key-input-wrap > .icon { position: absolute; top: 50%; left: 20px; width: 20px; height: 20px; color: var(--navy-2); transform: translateY(-50%); pointer-events: none; }
.key-input-wrap input { width: 100%; height: 58px; padding: 14px 20px 14px 52px; border: 2px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--navy); font: 600 17px/1.2 var(--font); letter-spacing: .03em; transition: border-color .2s, box-shadow .2s; }
.key-input-wrap input:hover { border-color: var(--navy-3); }
.key-input-wrap input:focus, #session:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 5px var(--butter); }
input::placeholder, textarea::placeholder { color: var(--navy-3); opacity: 1; font-weight: 500; letter-spacing: 0; }
input[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--danger) !important; }
.field-feedback { margin-top: 10px; min-height: 22px; color: var(--navy-2); font-size: 14px; font-weight: 500; line-height: 1.7; overflow-wrap: anywhere; }
.field-feedback.is-error { color: var(--danger); font-weight: 600; }
.field-feedback.is-success { color: var(--success); font-weight: 600; }
.full-button { position: relative; width: 100%; min-height: 60px; margin-top: 20px; padding: 10px 64px; justify-content: center; font-size: 17px; letter-spacing: .02em; box-shadow: 0 12px 22px -14px rgb(30 42 74 / .7); }
.full-button > .icon { position: absolute; right: 9px; top: 50%; width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--butter); color: var(--navy); stroke-width: 2.4; transform: translateY(-50%); transition: transform .35s var(--ease-pop); }
.full-button:hover:not(:disabled) > .icon { transform: translate(4px, -50%); }
.full-button:disabled { box-shadow: none; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; padding: 4px 4px; border: 0; border-radius: 8px; background: transparent; color: var(--sky-ink); font: 700 14px/1.5 var(--font); cursor: pointer; flex-shrink: 0; }
.text-button:hover:not(:disabled) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-button:disabled { opacity: .5; cursor: not-allowed; }
.text-button .icon { width: 15px; height: 15px; }
.form-footnote { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; min-height: 40px; margin: 12px auto 0; color: var(--navy-2); font-size: 14px; font-weight: 500; text-align: center; }

/* session step */
.verified-summary { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 8px 16px 8px 9px; border-radius: 999px; background: var(--success-soft); }
.verified-check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--success); color: #fff; }
.verified-check .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.verified-summary > div { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; min-width: 0; }
.verified-summary > div > span { color: var(--success); font-size: 14px; font-weight: 600; }
.verified-summary strong { color: var(--navy); font-size: 16px; font-weight: 700; }
#redeem-form .form-heading { margin-bottom: 14px; }
#redeem-form .field { margin-bottom: 4px; }
.session-instructions { margin-bottom: 22px; padding: clamp(16px, 3vw, 22px); border: 2px dashed var(--sky); border-radius: 20px; background: var(--sky-wash); }
.session-instructions h3 { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.session-steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.session-steps li { display: flex; align-items: start; gap: 12px; }
.instruction-number { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--butter); font: 700 17px/1 var(--font); }
.instruction-content { flex: 1; min-width: 0; }
.instruction-content h4 { margin: 4px 0 8px; font-size: 16px; font-weight: 700; line-height: 1.45; }
.instruction-content p { margin: 0 0 10px; color: var(--navy-2); font-size: 14px; font-weight: 500; line-height: 1.7; }
.session-url-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.session-url-row a { display: flex; align-items: center; min-height: 44px; max-width: 100%; font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
#session { display: block; width: 100%; min-height: 150px; max-height: 360px; margin-top: 8px; padding: 14px 16px; border: 2px solid var(--line-strong); border-radius: 18px; background: var(--paper); color: var(--navy); font: 500 13px/1.75 var(--mono); transition: border-color .2s, box-shadow .2s; }
.field-hint { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-top: 6px; color: var(--navy-2); font-size: 13px; font-weight: 500; }
.field-hint > span { padding-top: 9px; }
.account-preview { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 18px; border-radius: 18px; background: var(--butter-soft); }
.account-preview > .icon { width: 22px; height: 22px; color: var(--butter-ink); }
.account-preview > div { display: grid; gap: 2px; min-width: 0; }
.account-preview > div > span { color: var(--butter-ink); font-size: 13px; font-weight: 600; }
.account-preview strong { font-size: 16px; font-weight: 700; overflow-wrap: anywhere; }
.format-valid { margin-left: auto; white-space: nowrap; font-size: 12px; color: var(--success); }
.account-confirm { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 8px; color: var(--navy); font-size: 15px; font-weight: 600; cursor: pointer; }
.account-confirm input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; accent-color: var(--navy); }
.account-confirm:has(input:disabled) { cursor: default; color: var(--navy-3); }
.notice { padding: 12px 16px; border-radius: 16px; font-size: 14px; font-weight: 600; line-height: 1.65; }
.notice.error { background: var(--danger-soft); border: 2px solid var(--danger-line); color: var(--danger); }
.account-confirm + .notice { margin-top: 12px; }
.notice:not(.hidden) + .full-button { margin-top: 16px; }
#session-order-message { color: var(--navy-2); font-size: 15px; line-height: 1.7; }

/* query & result */
.query-empty { display: flex; gap: 8px; align-items: center; justify-content: center; padding-top: 22px; color: var(--navy-3); }
.query-empty .icon { width: 16px; height: 16px; }
.query-empty p { font-size: 14px; font-weight: 500; }
#query-error { margin: 16px 0; }
.result-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; background: var(--butter-soft); color: var(--butter-ink); font: 700 13px/1.4 var(--font); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.success { background: var(--success-soft); color: var(--success); }
.badge.danger { background: var(--danger-soft); color: var(--danger); }
.badge.warning { background: var(--warning-soft); color: var(--warning); }
.badge.muted { background: var(--sky-wash); color: var(--navy-2); }
.result-symbol { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 22px auto 16px; background: var(--butter); color: var(--navy); }
.result-symbol > .icon { display: none; width: 38px; height: 38px; stroke-width: 2.4; }
.status-spinner { width: 34px; height: 34px; border: 4px solid rgb(30 42 74 / .18); border-top-color: var(--navy); border-radius: 50%; animation: status-spin .9s linear infinite; }
.result-symbol.is-success { background: var(--success); color: #fff; animation: step-pop .6s var(--ease-pop); }
.result-symbol.is-warning { background: var(--warning-soft); color: var(--warning); }
.result-symbol.is-danger { background: var(--danger-soft); color: var(--danger); }
.result-symbol:is(.is-success, .is-warning, .is-danger) .status-spinner { display: none; }
.result-symbol.is-success .status-success, .result-symbol:is(.is-warning, .is-danger) .status-attention { display: block; }
.result-symbol.is-loading .status-spinner { display: block; }
.result-symbol.is-loading .status-attention { display: none; }
.order-result > h2 { margin: 0; text-align: center; font-size: clamp(24px, 2vw + 12px, 30px); font-weight: 700; letter-spacing: -.01em; }
.order-result > p:not(.poll-note) { margin: 8px auto 0; max-width: 46ch; text-align: center; color: var(--navy-2); font-size: 15px; font-weight: 500; line-height: 1.75; overflow-wrap: anywhere; }
.progress-section { margin: 24px 0 8px; }
.progress-caption { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 8px; color: var(--navy-2); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
progress { display: block; width: 100%; height: 14px; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; appearance: none; background: var(--paper); accent-color: var(--butter-deep); }
progress::-webkit-progress-bar { background: var(--paper); }
progress::-webkit-progress-value { background: var(--butter-deep); border-radius: 999px; }
progress::-moz-progress-bar { background: var(--butter-deep); }
.progress-section progress:not([value]) { background: repeating-linear-gradient(-45deg, var(--butter) 0 10px, var(--butter-soft) 10px 20px); background-size: 200% 100%; animation: progress-wait 1.6s linear infinite; }
.progress-section progress:not([value])::-webkit-progress-bar { background: transparent; }
@keyframes progress-wait { from { background-position: 0 0; } to { background-position: -28px 0; } }
.order-result:has(.is-success) progress { accent-color: var(--success); }
.order-result:has(.is-success) progress::-webkit-progress-value { background: var(--success); }
.order-result:has(.is-success) progress::-moz-progress-bar { background: var(--success); }
.poll-note { margin-top: 16px; color: var(--navy-2); font-size: 14px; font-weight: 500; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
.result-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.result-actions .btn .icon { width: 16px; height: 16px; }
.receipt { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin: 26px 0 0; padding-top: 22px; border-top: 2px dashed var(--line); }
.receipt > div { min-width: 0; }
.receipt dt { margin-bottom: 4px; color: var(--navy-3); font-size: 13px; font-weight: 600; }
.receipt dd { margin: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.receipt-number { grid-column: 1 / -1; padding: 12px 16px; border-radius: 16px; background: var(--paper); }
.receipt-number dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.receipt-number code { font-family: var(--mono); font-size: 14px; overflow-wrap: anywhere; }
.recharge-support { display: grid; grid-template-columns: minmax(112px, 148px) minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 22px; padding: 16px; border: 2px solid var(--sky); border-radius: 22px; background: var(--sky-wash); }
.support-qr { display: block; border-radius: 14px; background: #fff; overflow: hidden; border: 2px solid #fff; box-shadow: 0 6px 16px -10px rgb(30 42 74 / .5); }
.support-qr img { display: block; width: 100%; height: auto; }
.support-copy { display: grid; gap: 8px; }
.support-copy p { color: var(--navy-2); font-size: 14px; font-weight: 500; line-height: 1.65; }
.support-copy .support-lead { color: var(--navy); font-size: 16px; font-weight: 700; }
.support-lead strong { display: block; color: var(--danger); font-weight: 800; }

/* help & footer */
.help-section { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; max-width: 860px; margin: 56px 0 52px; }
.help-heading h2 { margin: 0; font-size: 22px; font-weight: 700; }
.help-heading p { margin-top: 6px; color: var(--navy-2); font-size: 14px; font-weight: 500; }
.help-list { display: grid; gap: 10px; }
.help-list details { border: 2px solid var(--line); border-radius: 20px; background: var(--card); transition: border-color .2s; }
.help-list details:hover, .help-list details[open] { border-color: var(--navy); }
.help-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 10px 12px 10px 20px; list-style: none; color: var(--navy); font-size: 15px; font-weight: 700; cursor: pointer; }
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary > .icon { width: 30px; height: 30px; padding: 7px; flex: none; border-radius: 50%; background: var(--sky-soft); color: var(--sky-ink); stroke-width: 2.4; transition: transform .3s var(--ease-pop), background .2s; }
.help-list details[open] summary > .icon { transform: rotate(45deg); background: var(--butter); color: var(--navy); }
.help-list details p { margin: 0 20px 18px; color: var(--navy-2); font-size: 14px; font-weight: 500; line-height: 1.85; }
.site-footer { max-width: 860px; padding: 22px 0 30px; border-top: 2px dashed var(--line); color: var(--navy-2); font-size: 13px; font-weight: 500; }
.site-footer > div { display: flex; align-items: center; gap: 22px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 32px; color: var(--navy-2); font-weight: 600; }
.toast { border-radius: 999px; background: var(--navy); color: var(--butter); font-weight: 700; }
.toast.error { background: var(--danger); color: #fff; }
@keyframes status-spin { to { transform: rotate(360deg); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .riso-stage { grid-template-columns: minmax(300px, 36%) minmax(0, 1fr); }
  .workspace-body { grid-template-columns: minmax(0, 1fr); }
  .context-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
  .context-panel > div { display: contents; }
  .context-panel h2 { grid-column: 1 / -1; }
  .context-panel .aside-note { grid-column: 1 / -1; }
  .context-panel > .hidden { display: none !important; }
  .help-section { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 860px) {
  .topbar { position: relative; height: 68px; padding-inline: 16px; gap: 10px; }
  .brand img { width: 38px; height: 38px; }
  .brand strong { font-size: 22px; }
  .brand small { font-size: 10px; }
  .topbar nav { gap: 2px; }
  .topbar nav .nav-link { min-height: 40px; padding: 7px 12px; font-size: 14px; }
  .shop-name { display: none; }
  .riso-stage { grid-template-columns: 1fr; }
  .sun-field { position: relative; top: auto; height: auto; min-height: 0; grid-template-columns: minmax(0, 1fr) min(40%, 190px); grid-template-rows: auto; align-items: center; gap: 12px; padding: 18px 18px 18px 22px; }
  .sun-art { order: 2; width: 84%; }
  .sun-copy { order: 1; gap: 10px; }
  .sun-line { font-size: clamp(21px, 5.6vw, 28px); }
  .sun-note { font-size: 12px; line-height: 1.6; }
  .sun-note .icon { width: 15px; height: 15px; }
  .ink-dots { left: -30%; width: 80%; }
  .paper { padding: 4px 16px 0; }
  .page-heading { padding: 20px 0 22px; }
  .page-heading h1 { font-size: clamp(30px, 8vw, 40px); }
  .page-heading p { font-size: 15px; margin-top: 8px; }
  .flow-steps { margin-bottom: 20px; }
  .flow-steps li { justify-items: center; text-align: center; padding: 0 4px; }
  .flow-steps li:not(:last-child)::after { top: 19px; left: calc(50% + 28px); right: calc(-50% + 28px); }
  .step-number { width: 40px; height: 40px; font-size: 17px; }
  .flow-steps .is-current .step-number { box-shadow: 0 0 0 5px var(--butter-soft); }
  .flow-steps strong { font-size: 13px; }
  .flow-steps small { display: none; }
  .workspace-main { padding: 20px 18px 22px; border-radius: 22px; }
  .context-panel { display: block; padding: 18px; border-radius: 20px; }
  .context-panel > div:not(.hidden) { display: block; }
  .context-panel #key-guide .aside-note { display: none; }
  .guide-item { margin-top: 12px; }
  .form-heading h2 { font-size: 22px; }
  .form-heading p { font-size: 14px; }
  .key-input-wrap input { height: 56px; font-size: 16px; padding-left: 48px; }
  .key-input-wrap > .icon { left: 17px; }
  .full-button { min-height: 58px; font-size: 16px; }
  .text-button { min-height: 44px; }
  #session { font-size: 16px; min-height: 150px; padding: 12px 14px; line-height: 1.6; }
  .account-confirm { align-items: flex-start; padding-block: 10px; font-size: 14px; }
  .account-confirm input { margin-top: 1px; }
  .receipt { gap: 16px 12px; }
  .receipt dd { font-size: 14px; }
  .receipt-number dd { flex-wrap: wrap; gap: 2px; }
  .help-section { margin: 40px 0 34px; }
  .help-list summary { font-size: 14px; }
  .site-footer { gap: 6px; padding: 18px 0 24px; font-size: 12px; }
  .site-footer > div { width: 100%; justify-content: space-between; gap: 8px; }
  .site-footer a { min-height: 44px; }
}
@media (max-width: 520px) {
  .brand small { display: none; }
  .recharge-support { grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 14px; padding: 14px; }
  .support-qr { width: min(150px, 100%); }
}
@media (max-width: 380px) {
  .brand small { display: none; }
  .topbar nav .nav-link { padding-inline: 9px; }
  .sun-field { grid-template-columns: minmax(0, 1fr) 36%; }
}
@media (prefers-reduced-motion: reduce) {
  .sun-moon, .riso:has(.result-symbol.is-success) .sun-moon { animation: none; }
  .status-spinner { animation: none; border-style: dotted; }
  .progress-section progress:not([value]) { animation: none; }
}
