/* Mobile-first refinements layered over the shared typography. */
html{scroll-padding-top:20px;-webkit-text-size-adjust:100%}body{min-height:100vh;min-height:100svh}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}.question-review{margin-top:20px;color:var(--muted);font-size:12px}.question-review summary{cursor:pointer;text-align:center;padding:10px;list-style-position:inside}.question-review .question-jumps{margin-top:12px}.share-card{width:min(100%,580px);margin:0 auto;background:#faf8f4;border:1px solid #dde1e5;border-radius:14px;overflow:hidden;box-shadow:0 8px 30px #34415409}.share-stamp{display:flex;justify-content:space-between;padding:21px 25px 18px;font-size:10px;letter-spacing:1px;color:var(--muted)}.share-image{width:calc(100% - 24px);margin:0 12px;aspect-ratio:4/3;object-fit:contain}.share-body{padding:24px 30px 27px}.share-oc{font-size:13px;color:var(--muted);overflow-wrap:anywhere;margin-bottom:7px}.share-body h1{font-family:var(--serif);font-weight:500;font-size:40px;line-height:1.3}.share-body .tagline{font-size:19px;line-height:1.8;margin:15px 0 17px}.share-tags{display:inline-block;background:#e7e8f0;border-radius:22px;padding:5px 13px;color:#64728a;font-size:11px;letter-spacing:1px}.share-signature{padding:15px 30px;border-top:1px solid #dde1e5;color:var(--muted);font-size:10px;letter-spacing:1px}.card-actions{margin-top:20px}.save-hint{font-size:11px;color:var(--muted);text-align:center;margin-top:9px}.result-warning{margin-top:22px}.result-details{margin-top:26px;scroll-margin-top:20px}.result-details .result-section:first-child{border-top:0;padding-top:0;margin-top:0}.card-dialog-heading{padding:22px 24px 12px}.card-dialog-heading h2{font-family:var(--serif);font-size:23px;font-weight:500}.card-dialog-heading p{color:var(--muted);font-size:12px;margin-top:5px}.card-preview{width:min(100% - 40px,440px);height:auto;margin:0 auto;border:1px solid var(--line);border-radius:6px}.card-dialog-heading+img{user-select:auto;-webkit-touch-callout:default}#card-dialog .result-actions{margin:18px 20px 24px}.result-actions a{text-decoration:none}.result-note{white-space:pre-line}
@media(max-width:820px){.hero{display:flex;flex-direction:column;gap:20px}.hero-art-wrap{order:-1;width:100%;max-width:480px}.hero-copy{width:100%}.hero h1 br{display:none}.hero h1{font-size:36px}.hero-copy>.eyebrow{display:none}.hero-art{border-radius:18px}.intro-strip{display:none}.atlas{padding-top:36px}.hero-art img{max-height:none}.hero-buttons{margin-top:20px}}
@media(max-width:540px){.site-header{padding:11px 20px}.site-header .brand,.site-header nav button{min-height:44px}.nav-pill{display:flex;align-items:center}.hero{gap:12px;padding-top:9px;padding-bottom:24px}.hero-art-wrap{max-width:340px}.hero-art img{max-height:240px;object-fit:contain}.art-caption{padding:7px 13px;font-size:11px}.art-caption small{font-size:8px}.hero h1{font-size:30px;letter-spacing:0;line-height:1.4;margin:7px 0 9px}.hero h1 br:first-of-type{display:block}.hero-copy>p.description{font-size:13px;line-height:1.8}.hero-buttons{margin-top:17px;gap:12px}.hero-buttons .primary{flex:1;padding:13px 12px;font-size:13px}.hero-buttons .text-button{font-size:12px}.hero-meta{margin-top:10px;font-size:10px}.atlas .section-heading{margin-bottom:20px}.form-heading{margin-bottom:21px}.form-heading h1{font-size:27px;margin:9px 0}.field input,.field select,.field textarea{font-size:16px}.setup-card{padding:25px 22px}.setup-card .field{margin-bottom:20px}.question-shell{margin-top:8px;padding-bottom:145px}.question-shell .progress-heading{margin-bottom:10px;font-size:11px}.question-shell .progress-heading span{max-width:65%;text-align:right}.question-shell .progress-track{margin-bottom:19px}.question-card{padding:24px 20px}.question-card h1{font-size:21px;line-height:1.6;margin:10px 0 21px}.options{gap:9px}.option{padding:13px 11px;font-size:14px;line-height:1.7;min-height:52px}.option.unknown{font-size:12px;min-height:44px}.question-controls{position:fixed;bottom:0;left:0;right:0;margin:0;padding:12px 20px;padding-bottom:calc(12px + env(safe-area-inset-bottom));background:#faf8f4f7;border-top:1px solid var(--line);z-index:5;box-shadow:0 -4px 20px #34415406;gap:12px}.question-controls .secondary{flex:1}.question-controls .primary{flex:2}.question-controls button{min-height:48px}.question-review summary{min-height:44px}.question-jumps{gap:8px}.jump{width:44px;height:44px;font-size:12px}.question-shell .local-note{font-size:10px}body[data-view='question'] .site-footer{display:none}.result-top{margin-bottom:13px}.share-card{border-radius:12px}.share-stamp{padding:17px 19px 13px;font-size:9px;letter-spacing:.5px}.share-image{width:calc(100% - 16px);margin:0 8px}.share-body{padding:19px 23px 22px}.share-oc{font-size:12px;margin-bottom:5px}.share-body h1{font-size:35px}.share-body .tagline{font-size:17px;margin:11px 0 14px}.share-tags{font-size:10px;padding:4px 12px}.share-signature{font-size:9px;padding:12px 23px}.card-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.card-actions button{min-height:48px;font-size:12px;padding:11px 8px}.save-hint{font-size:10px}.result-content{padding:24px 23px}.result-section h2{font-size:16px}.result-note{padding-bottom:12px}.result-actions button,.result-actions a{min-height:44px}.dialog-close{min-width:44px;min-height:44px;right:5px;top:5px}.card-dialog-heading{padding:24px 22px 13px}.card-dialog-heading h2{font-size:22px}.card-preview{width:calc(100% - 32px)}.toast{bottom:calc(95px + env(safe-area-inset-bottom));font-size:12px}}
@media print{.share-card{box-shadow:none;border:0;width:105mm;break-inside:avoid}.share-image{max-height:80mm;width:100%;margin:0}.share-body{padding:10px 15px}.share-body h1{font-size:28px}.share-body .tagline{font-size:16px;margin:6px 0}.share-stamp{padding:12px 15px;font-size:8px}.share-signature{padding:8px 15px}.card-actions,.save-hint,.question-review{display:none}.result-details{margin-top:20px}.result-warning{font-size:10px}}
