@font-face { font-family:'Fishman Bait SC'; src:url('assets/cjk-regular.woff') format('woff'); font-weight:400; font-display:swap; unicode-range:U+80-FFFF; }
@font-face { font-family:'Fishman Bait SC'; src:url('assets/cjk-bold.woff') format('woff'); font-weight:700; font-display:swap; unicode-range:U+80-FFFF; }
body { font-family:'Fishman Bait SC',-apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif; }
.app-shell { max-width:420px; padding-bottom:max(24px,env(safe-area-inset-bottom)); }
.hero { margin:21px 10px; }
.hero h2 { font-size:26px; line-height:1.35; margin:8px 0; letter-spacing:-.7px; }
.hero>p:last-child { margin:0; font-size:13px; color:#778396; }
.hero .eyebrow { display:flex; align-items:center; gap:9px; }
.hero .eyebrow span { font:400 10px 'Fishman Bait SC',sans-serif; border-left:1px solid #b9c3cf; padding-left:9px; }
.is-embedded .topbar,.is-embedded .hero { display:none; }
.preview-bar { display:flex; align-items:center; gap:8px; font-size:11px; color:#7b8798; margin:0 1px 6px; min-height:40px; }
.preview-tag { padding:3px 6px; background:#e5ebdd; color:#526331; border-radius:5px; font-size:10px; font-weight:700; flex-shrink:0; }
.preview-bar .icon-button { margin-left:auto; padding:10px; width:40px; }
.progress { margin:0 12px 17px; }
.progress ol { display:flex; margin:0; padding:0; list-style:none; }
.progress li { display:flex; gap:6px; align-items:center; justify-content:center; position:relative; flex:1; font-size:11px; color:#8995a5; }
.progress b { display:grid; place-items:center; width:20px; height:20px; background:#e0e6ee; border-radius:50%; font:italic 800 12px Barlow; }
.progress li.current { color:#172016; font-weight:700; }
.progress .current b { color:#142000; background:var(--lime); }
.progress li.done b { background:#1c231d; color:#c6ff3d; }
.mode-switch { padding:4px; border-radius:12px; background:#e1e7ef; display:flex; gap:4px; margin-bottom:14px; }
.mode-switch button { flex:1; font-size:13px; min-height:42px; border-radius:9px; color:#758191; font-weight:700; padding:8px 5px; }
.mode-switch [aria-pressed=true] { background:#fff; color:#11161c; box-shadow:0 2px 5px #4f61700d; }
.card { background:#fff; border-radius:16px; padding:18px 16px; margin:0 0 14px; }
h2,h3,p { overflow-wrap:anywhere; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:7px; margin-bottom:12px; }
.section-head h2 { font-size:17px; margin:4px 0 0; letter-spacing:-.3px; }
.section-head h3 { font-size:14px; margin:0; }
.section-head .eyebrow { font-size:11px; }
.small-tag { font-size:10px; color:#8490a1; white-space:nowrap; }
figure { margin:0; }
figure>img { width:100%; height:auto; background:#f3f6fb; border-radius:11px; }
figcaption { color:#8b96a5; font-size:10px; line-height:1.7; text-align:center; margin:9px 2px 0; }
.visual-card figure { margin:0 -5px 17px; }
.texture-labels { display:grid; grid-template-columns:repeat(3,1fr); text-align:center; font-size:11px; font-weight:700; margin-top:5px; color:#697586; }
.texture-labels span:nth-child(2) { color:#243022; }
fieldset { border:0; padding:0; margin:0; min-width:0; }
legend { font-size:13px; font-weight:700; padding:0; margin-bottom:10px; }
.problem-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.problem-grid button { min-height:45px; border-radius:9px; background:#f1f4f8; padding:9px; text-align:left; font-size:12px; font-weight:700; display:flex; align-items:center; gap:7px; }
.problem-grid button::before { content:''; width:6px; height:6px; border-radius:50%; background:#bbc4cf; flex-shrink:0; }
.problem-grid button[aria-pressed=true] { background:#12171d; color:#fff; }
.problem-grid button[aria-pressed=true]::before { background:var(--lime); }
label { display:block; font-size:12px; font-weight:700; min-width:0; }
label>select { margin-top:7px; font-size:13px; font-weight:400; padding-left:11px; appearance:auto; padding-right:8px; }
.setup>label { margin:0 0 13px; }
.field-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.muted { font-size:11px; color:#8591a2; line-height:1.75; margin:12px 0 0; }
.fresh-intro>img { width:100%; height:175px; object-fit:contain; background:#f3f6fb; border-radius:11px; }
.fresh-intro>p { font-size:12px; color:#778596; line-height:1.8; margin:12px 0; }
.mini-steps { display:flex; align-items:center; justify-content:space-between; gap:4px; font-size:11px; color:#66794c; padding:10px 12px; background:#f2f7e8; border-radius:9px; }
.mini-steps i { font-style:normal; color:#9aa78b; }
.primary-button { font-size:15px; border-radius:11px; min-height:48px; }
.secondary-button { font-size:12px; min-height:44px; padding:9px 11px; border-radius:9px; }
button:disabled { opacity:.4; cursor:default; }
.field-error { color:#a53337; font-size:12px; background:#fff2f1; padding:10px 12px; border-radius:8px; margin:10px 0; }
.back-button { display:flex; gap:5px; align-items:center; font-size:12px; color:#7c889a; min-height:44px; margin:-5px 0 4px; padding:4px 0; }
.back-button>img { width:16px; height:16px; }
.page-heading { margin:0 3px 15px; }
.page-heading .eyebrow { font-size:12px; }
.page-heading h2 { font-size:23px; line-height:1.4; margin:7px 0; letter-spacing:-.5px; outline:none; }
.page-heading>p:last-child:not(.eyebrow) { font-size:12px; color:#7d899a; margin:4px 0 0; }
.prep-nav { display:flex; gap:7px; margin-bottom:13px; }
.prep-nav button { flex:1; min-height:40px; padding:7px 2px; background:#f1f4f8; border-radius:8px; color:#8a94a3; font:italic 800 20px Barlow; }
.prep-nav button[aria-pressed=true] { background:#11171c; color:var(--lime); }
.prep-image { width:100%; height:170px; object-fit:contain; background:#f3f6fb; border-radius:10px; }
.step-title { display:flex; gap:11px; align-items:center; margin-top:15px; }
.step-title>b { color:#8b9a72; font:italic 800 30px Barlow; }
.step-title h3 { font-size:17px; margin:0; }
.prep-card>p:not(.soft-note) { font-size:13px; line-height:1.9; margin:10px 0; }
.soft-note { font-size:11px; line-height:1.85; color:#7e7764; background:#f7f5ee; padding:11px 12px; border-radius:9px; margin:13px 0; }
.two-buttons { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:15px; }
.two-buttons .primary-button { font-size:13px; min-height:44px; padding:9px 10px; }
.calculator summary { display:flex; justify-content:space-between; gap:8px; align-items:center; font-weight:700; font-size:14px; cursor:pointer; min-height:32px; list-style:none; }
.calculator summary>span { display:flex; align-items:center; gap:5px; font-size:10px; color:#8a95a4; font-weight:400; }
.calculator summary img { width:15px; }
.calculator[open] summary { margin-bottom:10px; }
.calculator form>label:not(.check-row) { margin-top:14px; }
input[type=number] { width:100%; border:1px solid #e1e7ef; background:#f4f6fa; min-height:46px; border-radius:9px; padding:10px 12px; margin-top:7px; font-size:16px; }
input[type=number]::placeholder { font-size:11px; }
input[aria-invalid=true] { border-color:#bb4d50; }
.unit-label { color:#8693a3; font-size:11px; }
.ratio-fields { display:grid; grid-template-columns:1fr 12px 1fr; gap:9px; align-items:end; margin-top:14px; }
.ratio-fields>b { align-self:end; margin-bottom:13px; text-align:center; color:#94a0af; }
.check-row { font-weight:400; gap:7px; font-size:11px; line-height:1.7; margin:13px 0; align-items:flex-start; }
.check-row>input { width:17px; height:17px; flex-shrink:0; margin-top:2px; }
.calculator .text-button { font-size:11px; margin:0 auto; min-height:40px; }
.ratio-result { background:#eff8d9; border:1px solid #e2edcb; border-radius:11px; padding:15px; margin-top:8px; }
.ratio-result>span { font-size:12px; font-weight:700; }
.ratio-result>p { margin:2px 0; }
.ratio-result strong { font:italic 800 46px Barlow; color:#152010; padding-right:7px; }
.ratio-result p>span { font-size:13px; }
.ratio-result>div,.ratio-result>p:last-child { font-size:11px; color:#6a7955; line-height:1.8; margin-top:5px; }
.timer-controls { display:flex; align-items:center; gap:10px; }
.minute-input { display:flex; align-items:center; gap:6px; width:50%; }
.minute-input>input { margin:0; min-width:0; }
.minute-input>span { color:#8b97a5; font-size:11px; white-space:nowrap; }
.timer-controls>button { flex:1; }
.timer-readout { display:flex; justify-content:space-between; align-items:center; margin:8px 0 0; }
.timer-readout strong { font:italic 800 44px Barlow; }
.timer-readout .text-button { font-size:11px; margin:0; }
.inspect-card figure { margin:2px -3px 0; }
.inspect-card figure>img { max-height:190px; object-fit:contain; }
.switch-art { font-size:11px; margin:0 auto 10px; min-height:40px; }
.answer-list { display:grid; gap:8px; }
.answer-list button { display:flex; justify-content:space-between; align-items:center; text-align:left; padding:11px 12px; gap:8px; border:1px solid #e9edf3; border-radius:10px; min-height:47px; font-size:12px; }
.answer-list button::after { content:''; width:15px; height:15px; border:1px solid #c1cad5; border-radius:50%; flex-shrink:0; }
.answer-list button[aria-pressed=true] { border-color:#35422d; background:#f5f9ed; }
.answer-list button[aria-pressed=true]::after { border:4px solid #26321a; background:var(--lime); }
.scene-chips { display:flex; flex-wrap:wrap; gap:5px; margin:0 2px 13px; }
.scene-chips span { padding:4px 7px; font-size:10px; color:#748092; border-radius:6px; background:#e3e9f1; }
.result-card { padding:12px; }
.action-hero { background:#11171b; border-radius:12px; padding:17px 15px; color:#fff; }
.action-hero>div { display:flex; align-items:center; justify-content:space-between; gap:5px; color:#aeb8c0; font-size:10px; }
.action-tag { background:#c6ff3d; border-radius:5px; color:#233313; padding:3px 6px; font-weight:700; }
.action-hero h3 { font-size:23px; line-height:1.45; letter-spacing:-.5px; margin:13px 0 8px; }
.action-hero>p { color:#a5b0b8; font-size:11px; margin:0; line-height:1.75; }
.result-figure { margin:13px 1px; }
.result-figure>img { max-height:180px; object-fit:contain; }
.instruction { padding:0 4px; }
.instruction>span { color:#9aa5b3; font-size:10px; font-weight:700; }
.instruction p { font-size:13px; line-height:1.9; margin:5px 0 13px; }
.observe-box { display:flex; gap:8px; padding:12px; background:#f0f6e7; border-radius:10px; }
.observe-box>img { width:17px; height:17px; margin-top:2px; }
.observe-box strong { font-size:12px; }
.observe-box p { color:#71825e; font-size:11px; margin:4px 0 0; line-height:1.85; }
.feedback { border-top:1px solid #e9edf2; margin-top:17px; padding-top:14px; }
.feedback h3 { font-size:13px; margin:0 0 11px; }
.feedback-grid { display:flex; gap:7px; }
.feedback-grid>button { flex:1; background:#f0f3f8; border-radius:9px; min-height:44px; font-size:12px; font-weight:700; }
.feedback-grid>button[aria-pressed=true] { background:#172018; color:#c6ff3d; }
.feedback-result { padding:13px; border-radius:10px; background:#f1f5e9; margin-top:13px; }
.feedback-result h3 { font-size:14px; margin:0 0 5px; }
.feedback-result p { font-size:12px; color:#6c7a61; line-height:1.8; margin:0; }
.feedback-result button { margin-top:11px; background:#fff; }
.related-link { display:flex; align-items:center; justify-content:space-between; gap:5px; font-size:11px; color:#6c7d58; padding:14px 3px; }
.related-link>img { width:15px; }
.record-actions { border-top:1px solid #e8edf3; padding-top:13px; }
.record-actions .secondary-button { font-size:11px; padding:9px 4px; }
textarea { width:100%; min-height:210px; resize:vertical; margin:10px 0 0; padding:10px; border:1px solid #dce3eb; border-radius:8px; font-size:12px; }
footer { text-align:center; padding:15px 10px 5px; color:#8a96a6; }
footer>p:first-child { font-size:12px; margin:0; }
footer .text-button { font-size:11px; min-height:40px; margin:0 auto; }
.fine { font-size:10px; line-height:1.8; margin:0; }
dialog { border:0; border-radius:17px; padding:19px; max-width:370px; width:calc(100% - 30px); max-height:85dvh; color:#1a2228; }
dialog::backdrop { background:#13202a66; }
.dialog-top { display:flex; align-items:center; justify-content:space-between; gap:6px; }
.dialog-top h2 { margin:0; font-size:19px; }
.dialog-top .icon-button { font-size:25px; }
dialog p { font-size:13px; line-height:1.9; color:#748092; }
.source-link { display:block; color:#57703b; font-size:12px; line-height:1.8; text-decoration:underline; overflow-wrap:anywhere; }
.toast { position:fixed; bottom:32px; left:50%; transform:translateX(-50%); background:#1d272d; color:#fff; border-radius:10px; padding:12px 15px; max-width:calc(100vw - 30px); width:max-content; font-size:12px; z-index:10; }
@media(max-width:350px) { .card { padding:15px 12px; } .section-head h2 { font-size:15px; } .problem-grid button { font-size:11px; padding:8px; } .progress { margin-left:0; margin-right:0; } .progress li { font-size:10px; gap:4px; } .field-grid { grid-template-columns:1fr; } .action-hero h3 { font-size:21px; } .calculator summary { font-size:13px; } .calculator summary>span { font-size:9px; } }
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; } }
