/* v0.0.5 — existing paper / woodland identity, fewer competing surfaces. */
body{font-size:16px}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait}button:active:not(:disabled){transform:translateY(1px)}a,button{touch-action:manipulation}input,select{font-size:16px;min-height:48px}input[type=checkbox],input[type=radio]{min-height:0}select{width:100%;padding:13px 14px;border:1px solid var(--input-border,#bbc5b4);border-radius:8px;background:#fffef9;color:#273e2d}.text-btn{min-height:44px;display:inline-flex;align-items:center;gap:8px;cursor:pointer}.text-btn svg{width:19px;height:19px}summary{min-height:48px;cursor:pointer;padding:12px 0;font-size:15px;font-weight:600}details[open]>summary{margin-bottom:14px}details p{line-height:1.8}.header{padding-top:24px;padding-bottom:24px}.header nav{margin-left:auto;margin-right:0}.header nav a{min-height:44px;display:flex;align-items:center}.wrap{max-width:1280px}.hero{grid-template-columns:1fr 1fr;gap:56px;padding:38px 0 60px;min-height:600px}.hero h1{font-size:clamp(40px,4.8vw,64px);line-height:1.38}.hero-copy>p{font-size:17px;line-height:1.95}.hero-art{padding:0}.hero-art>img{width:100%;max-width:560px;height:auto;aspect-ratio:1;object-fit:contain}.hero .actions{align-items:center;gap:20px}.home-small{font-size:13px!important;color:#58664f}.home-note{border-top:1px solid #d9ddcf;border-bottom:1px solid #d9ddcf;padding:50px 0;display:grid;grid-template-columns:1fr 1fr;gap:56px}.section-label{display:block;font-size:13px;color:#58664f;margin-bottom:11px}.home-note h2{font-family:Gowun,sans-serif;font-size:36px;font-weight:400;line-height:1.5;letter-spacing:-.025em}.home-note-copy p{font-size:16px;margin:0 0 19px;line-height:1.85}.home-note-copy .text-btn{font-size:14px}.gentle-note{margin-top:28px;padding:21px 25px;background:transparent;border:1px solid #d9ddcf;border-radius:10px}.gentle-note p{font-size:14px}.form-layout{max-width:760px;padding-top:34px}.form-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.step-count{font-size:14px;color:#58664f;white-space:nowrap}.form-surface{padding:32px;background:transparent;border:1px solid #d9ddcf;box-shadow:none;border-radius:12px}.form-surface .field{margin-bottom:25px}.form-heading .page-title{font-size:36px}.form-layout>.lead{margin:12px 0 30px}.optional{font-size:12px;font-weight:400;color:#58664f}.hint,.field small{font-size:13px;color:#58664f;line-height:1.65}.check-label small{display:block;color:#58664f;font-size:13px;margin-top:5px}.choice span{min-height:48px}.form-footer p{font-size:13px}.photo-editor{padding-bottom:28px;margin-bottom:28px;border-bottom:1px solid #d9ddcf}.photo-editor h2{font:600 16px 'Malgun Gothic',sans-serif;margin:0 0 7px}.photo-editor .hint{margin:0 0 12px}.photo-edit-row{display:flex;gap:24px;align-items:center;margin-top:18px}.photo-crop-preview{width:126px;height:126px;flex:none;position:relative;overflow:hidden;background:#e9ecdf;border:1px solid #d2d8c8;border-radius:10px}.photo-crop-preview>svg{width:34px;height:34px;position:absolute;left:46px;top:46px;color:#58664f}.photo-crop-preview img{position:absolute;object-fit:cover;max-width:none}.photo-pick{position:relative;overflow:hidden;font-size:14px;cursor:pointer}.photo-pick input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.photo-pick:focus-within{outline:3px solid #a06a29;outline-offset:4px}.photo-controls .hint{margin:10px 0 0;font-size:12px}.photo-controls .text-btn{font-size:13px}.photo-controls [role=status]{font-size:13px;color:#9e3e30;margin-top:7px}.crop-details{margin-top:16px}.crop-sliders{display:grid;grid-template-columns:1fr 1fr;gap:12px 24px}.crop-sliders label{font-size:13px;display:block}.crop-sliders input{width:100%;accent-color:#314b38;min-height:44px}.mode-options{border-top:1px solid #d9ddcf;border-bottom:1px solid #d9ddcf;margin:0 0 25px;padding:0 0 2px}.profile-preview img{object-fit:cover;width:64px;height:64px;border-radius:10px}.report{padding-top:38px}.result-top{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:38px}.result-top h1{font-size:clamp(30px,3.8vw,46px);line-height:1.4}.result-caption{font-size:13px;color:#58664f;margin:0 0 12px}.result-top>.text-btn{font-size:13px;margin-top:8px;white-space:nowrap}.report-intro{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin:32px 0 62px}.result-photo img{width:100%;height:auto;aspect-ratio:1;object-fit:cover}.result-photo img.has-photo{border-radius:12px}.result-photo p{font-size:13px;color:#58664f;margin:13px 0 0}.result-summary h2{font:400 clamp(28px,3vw,39px)/1.5 Gowun,sans-serif;margin:0 0 12px;letter-spacing:-.025em;word-break:keep-all}.result-relation{font-weight:600;font-size:17px}.result-summary>p{line-height:1.9}.result-actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0 8px}.result-actions .btn{font-size:14px}.result-summary .save-profile{font-size:14px}.result-summary .hint{margin-top:16px;font-size:12px}.report-section{border-top:1px solid #d9ddcf;padding:34px 0;margin:0}.report-section h2{font:400 29px/1.5 Gowun,sans-serif;margin:0 0 20px;letter-spacing:-.02em}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-head>span{font-size:13px;color:#58664f}.chart-person h3{font:600 16px/1.6 'Malgun Gothic',sans-serif;margin:7px 0 16px}.pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.pillar{padding:21px 14px;text-align:center;background:#eeeee4;border-radius:10px;border:1px solid #dce0d2}.pillar span{font-size:12px;color:#58664f;display:block}.pillar strong{display:block;font:400 38px/1.6 'Malgun Gothic',serif;letter-spacing:.14em;margin:8px 0 2px}.pillar b{display:block;font-size:15px;font-weight:500}.pillar.unknown{background:transparent;border-style:dashed}.pillar.unknown strong{color:#7a8770}.chart-notice{font-size:14px;color:#675335;background:#f4ebd9;border-radius:8px;padding:12px 16px;margin-top:14px}.chart-person>.hint{margin-top:15px}.owner-chart,.calculation-note{border-top:1px solid #d9ddcf;margin-top:19px}.calculation-note p{font-size:14px;color:#58664f;max-width:75ch}.micro{font-size:12px!important}.element-section{display:grid;grid-template-columns:1fr 1.2fr;gap:45px;align-items:center}.element-section h2{margin-bottom:12px}.element-row{display:grid;grid-template-columns:72px 1fr 48px;align-items:center;gap:14px;margin:15px 0}.element-row>span{font-size:15px}.element-row i{font-style:normal}.element-row>span i{font-size:22px;margin-right:7px}.element-row .bar{background:#e4e8da;height:7px;border-radius:4px;overflow:hidden}.element-row .bar i{display:block;height:100%;border-radius:4px}.element-row b{font-size:14px;font-weight:500;text-align:right}.story-section{display:grid;grid-template-columns:1fr 1.2fr;gap:45px}.story-section p{margin:0;line-height:2;font-size:17px;max-width:44ch;word-break:keep-all}.story-section .hint{font-size:12px;margin-top:17px}.bond-section>p{max-width:72ch;font-size:17px;line-height:1.95}.family{border-top:1px solid #d9ddcf;margin-top:28px}.family-form{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:16px}.family-form .field{margin:0}.family-form .btn{white-space:nowrap;font-size:14px;margin-bottom:0}.family-result,#family-result{font-size:15px;line-height:1.9;margin:16px 0}.mission{margin-top:30px;border-radius:12px;padding:32px;gap:34px}.mission h2{font:400 26px/1.5 Gowun,sans-serif}.mission p{font-size:15px;line-height:1.8}.mission>div>span{font-size:13px;color:#e2eadb}.mission-actions p{font-size:12px}.report-end{display:flex;justify-content:space-between;gap:16px;padding-top:28px}.saved-row{background:transparent;border:0;border-bottom:1px solid #d9ddcf;border-radius:0;padding:24px 0;align-items:center}.saved-photo{width:84px;height:84px;object-fit:cover;border-radius:10px}.saved-row h2{font-size:25px}.saved-row p{font-size:13px;color:#58664f}.empty-library{padding:20px 0 50px;text-align:center}.empty-library img{width:min(260px,80%);height:auto}.empty-library h2{font:400 27px/1.5 Gowun,sans-serif}.empty-library p{font-size:15px;margin:14px 0 22px}.danger{color:#9e3e30;font-size:14px;margin-top:25px}.article p{font-size:16px;line-height:1.95}.article h1{font-size:42px}.article h2{margin-top:36px}.btn:disabled{opacity:.6}.notice{border-radius:10px}.notice p{font-size:14px}.footer-brand{min-height:44px;display:flex;align-items:center}footer a{min-height:44px;display:inline-flex;align-items:center}footer{padding-bottom:max(24px,env(safe-area-inset-bottom))}
@media(min-width:1440px){.hero{min-height:610px}}
@media(max-width:1000px){.hero{gap:32px;min-height:500px}.hero h1{font-size:48px}.report-intro{gap:34px}.family-form{grid-template-columns:1fr 1fr}.family-form .btn{grid-column:1/-1;justify-self:start}.result-summary h2{font-size:32px}.home-note{gap:35px}}
@media(max-width:640px){body{font-size:16px}.header{padding:18px 20px 10px}.header nav a{font-size:13px;min-height:44px}.wrap{padding:25px 20px 48px}.hero{padding:8px 0 29px;gap:15px;min-height:0}.hero h1{font-size:42px;margin-bottom:19px}.hero-copy>p{font-size:15px;line-height:1.85}.hero .actions{gap:10px;margin:21px 0 7px;align-items:flex-start}.hero .btn{font-size:14px;padding:12px 17px}.hero .text-btn{font-size:13px}.home-small{font-size:12px!important;line-height:1.65!important}.hero-art{margin:7px auto 0;max-width:380px}.hero-art>img{max-height:none;width:100%;height:auto}.home-note{grid-template-columns:1fr;gap:23px;padding:30px 0}.home-note h2{font-size:29px}.home-note h2 br{display:none}.home-note-copy p{font-size:15px;margin-bottom:14px}.gentle-note{padding:17px;margin-top:23px}.gentle-note p{font-size:12px;line-height:1.8}.section-label{font-size:12px}.form-layout{padding:25px 20px 45px}.form-heading .page-title{font-size:29px;word-break:keep-all}.form-layout>.lead{font-size:14px;margin:10px 0 25px}.form-surface{padding:22px 17px}.photo-edit-row{gap:16px}.photo-crop-preview{width:102px;height:102px}.photo-crop-preview>svg{left:34px;top:34px}.photo-pick{font-size:12px;padding:10px}.photo-controls .hint{font-size:11px}.photo-controls{min-width:0}.photo-editor h2{font-size:15px}.crop-sliders{grid-template-columns:1fr}.choice span{font-size:13px}.compact-choices .choice span{font-size:12px;min-height:44px}.mode-options summary{font-size:13px}.form-footer{gap:15px}.form-footer .btn{min-height:49px}.check-label{font-size:14px}.result-top{display:block;margin-bottom:24px}.result-top h1{font-size:33px}.result-top>.text-btn{margin-top:12px}.result-caption{font-size:12px}.report-intro{grid-template-columns:1fr;gap:28px;margin:22px 0 36px}.result-photo{max-width:440px;width:100%;margin:auto}.result-photo img{display:block;max-height:390px;object-fit:contain}.result-photo img.has-photo{object-fit:cover;max-height:none}.result-photo p{font-size:12px}.result-summary h2{font-size:30px}.result-summary>p{font-size:15px}.result-actions{margin-top:23px}.result-actions .btn{flex:1;font-size:13px;padding:12px}.result-summary .hint{font-size:12px}.report-section{padding:27px 0}.report-section h2{font-size:26px}.section-head{align-items:flex-start}.section-head>span{font-size:11px;padding-top:8px;white-space:nowrap}.pillars{grid-template-columns:repeat(2,1fr);gap:10px}.pillar{padding:18px 10px}.pillar strong{font-size:35px}.pillar b{font-size:14px}.pillar span{font-size:11px}.element-section,.story-section{grid-template-columns:1fr;gap:15px}.element-section .hint br{display:none}.element-row{gap:10px;margin:17px 0}.story-section h2{margin-bottom:3px}.story-section p,.bond-section>p{font-size:16px;line-height:1.9}.family-form{grid-template-columns:1fr}.family-form .btn{width:100%}.mission{padding:25px;display:block;margin-top:20px}.mission h2{font-size:24px}.mission-actions{margin-top:22px;text-align:left}.mission-actions .btn{width:100%}.report-end{display:block}.report-end .text-btn{margin-top:8px}.library-tools{gap:20px;flex-wrap:wrap}.library-tools .btn{font-size:13px}.saved-row{padding:20px 0;gap:15px}.saved-row .actions{margin:0;width:100%;justify-content:flex-start;padding-left:0}.saved-photo{width:72px;height:72px}.saved-row h2{font-size:24px}.article h1{font-size:33px}.article p{font-size:15px}.article h2{font-size:25px}footer{padding:20px}footer p{font-size:12px}footer>div{font-size:11px;gap:10px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
