/* v0.2.2 — approved Unslop refinement: quiet controls, one result, explicit sharing. */
body.saju-active{--paper:#fff;--ink:#292620;--muted:#696158;--line:#e5e1da;--soft:#f6f4ef;--green:#bd4025;--orange:#bd4025;--orange-hover:#9e321c;background:#f6f4ef;color:var(--ink);font-family:'Apple SD Gothic Neo','Malgun Gothic',sans-serif;caret-color:var(--orange)}
body.saju-active ::selection{background:#f7dfd4;color:#292620}
body.saju-active .header{width:100%;max-width:520px;height:64px;padding:0 20px;background:white;border-bottom:1px solid var(--line)}
body.saju-active .header .brand{font-family:inherit;font-size:20px;color:var(--ink);font-weight:500}
body.saju-active .header nav{gap:16px}
body.saju-active #main{max-width:520px;min-height:60vh;margin:auto;padding:0 20px 32px;background:white}
body.saju-active .saju-surface .wrap{width:100%;margin:0;padding:0;max-width:none}
body.saju-active .saju-surface .screen{padding:0;animation:none}
body.saju-active .saju-surface [hidden]{display:none!important}
body.saju-active .saju-surface :is(h1,h2,h3){font-family:inherit;font-weight:600;color:var(--ink);letter-spacing:0;word-break:keep-all;overflow-wrap:anywhere}
body.saju-active .saju-surface h1{font-size:28px;line-height:1.4;margin:0}
body.saju-active .saju-surface h2{font-size:20px;line-height:1.5;margin:0 0 16px}
body.saju-active .saju-surface h3{font-size:16px;line-height:1.6;margin:20px 0 8px}
body.saju-active .saju-surface p{word-break:keep-all;overflow-wrap:anywhere;font-size:15px;line-height:1.7}
body.saju-active .saju-surface :is(button,input,summary){font-family:inherit;letter-spacing:0}
body.saju-active .saju-surface button{cursor:pointer;font-weight:500;transition:background-color 120ms ease-out,color 120ms ease-out,border-color 120ms ease-out}
body.saju-active .saju-surface button:disabled{cursor:default}
body.saju-active .saju-surface :is(button,input,summary,a):focus-visible{outline:3px solid #35564c;outline-offset:3px}
body.saju-active .saju-surface .primary{display:inline-flex;justify-content:center;align-items:center;gap:8px;width:100%;max-width:none;min-height:56px;padding:12px 16px;border:1px solid var(--orange);border-radius:8px;background:var(--orange);color:white;font-size:16px;font-weight:600;box-shadow:none;line-height:1.5;white-space:normal}
body.saju-active .saju-surface .primary:hover{background:var(--orange-hover);border-color:var(--orange-hover)}
body.saju-active .saju-surface .primary:disabled{background:#e7e3dd;color:#716a62;border-color:#e7e3dd}
body.saju-active .saju-surface .secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;background:white;color:var(--ink);border:1px solid #c9c2b9;border-radius:8px;box-shadow:none;font-size:14px;line-height:1.5;white-space:normal}
body.saju-active .saju-surface .secondary:hover{background:var(--soft)}
body.saju-active .saju-surface .back{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:8px 0;border:0;background:none;color:var(--muted);font-size:14px}
body.saju-active .saju-surface svg{width:20px;height:20px;flex-shrink:0}
body.saju-active .saju-surface :is(.small,.field-note,.form-meta){font-size:13px;color:var(--muted);line-height:1.6}
body.saju-active .saju-surface .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.saju-active .visual-intro{text-align:center;padding:28px 0 0}
body.saju-active .visual-intro h1{margin:0 0 12px}
body.saju-active .visual-intro p{font-size:14px;color:var(--muted);margin:0}
body.saju-active .visual-hero{margin:20px 0 16px;background:#f6f1e6;border-radius:16px;overflow:hidden;text-align:center}
body.saju-active .visual-hero img{display:block;width:100%;height:248px;object-fit:contain;margin:auto}
body.saju-active .saju-surface .visual-start{display:flex;flex-direction:column;gap:0;margin:0;align-items:stretch}
body.saju-active .saju-surface .visual-start .primary{justify-content:space-between;font-size:18px}
body.saju-active .saju-surface .visual-start .hero-meta{font-size:12px;text-align:center;margin:12px 0 16px;color:var(--muted)}
body.saju-active .visual-start .home-demo{align-self:center;min-width:180px;order:0;margin:0}
body.saju-active .visual-menu{margin-top:32px;border-top:1px solid var(--line);padding-top:24px}
body.saju-active .visual-menu-grid{display:block}
body.saju-active .visual-menu-item,body.saju-active .daily-entry{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;padding:16px 0;min-height:80px;border:0;border-bottom:1px solid var(--line);background:white;color:var(--ink);text-align:left;font:inherit}
body.saju-active .visual-menu-item strong,body.saju-active .daily-entry strong{display:block;font-size:16px;font-weight:500}
body.saju-active .visual-menu-item small,body.saju-active .daily-entry small{display:block;font-size:13px;margin-top:4px;color:var(--muted)}
body.saju-active .home-more{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin-top:24px;font-size:14px}
body.saju-active .home-more a,body.saju-active .home-more button{min-height:48px;display:inline-flex;align-items:center}
body.saju-active .saju-surface .home-footer{padding:16px 0 0;font-size:12px;color:var(--muted)}
body.saju-active>footer{background:white;max-width:520px;padding:20px;font-size:12px;margin:auto}
/* Input: one decision per row; the action stays reachable on short screens. */
body.saju-active .saju-surface .form-layout{display:block;padding:12px 0 100px;margin:0;max-width:none}
body.saju-active .saju-surface .form-intro h1{margin:12px 0 24px;font-size:28px}
body.saju-active .saju-surface .pet-form{padding:0}
body.saju-active .saju-surface :is(fieldset,.field){border:0;padding:0;margin:0 0 24px;min-width:0}
body.saju-active .saju-surface :is(legend,.field-label){display:block;margin:0 0 8px;padding:0;font-size:14px;font-weight:500;line-height:24px}
body.saju-active .saju-surface .optional{font-size:12px;color:var(--muted);font-weight:400;margin-left:4px}
body.saju-active .saju-surface .choice-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.saju-active .saju-surface .choice-buttons label{position:relative;display:block;cursor:pointer;margin:0}
body.saju-active .saju-surface .choice-buttons input{position:absolute;width:1px;height:1px;opacity:0}
body.saju-active .saju-surface .choice-buttons span{display:flex;align-items:center;justify-content:center;min-height:52px;padding:12px 8px;border:1px solid #c9c2b9;border-radius:8px;font-size:15px;background:white;color:var(--ink)}
body.saju-active .saju-surface .choice-buttons input:checked+span{border-color:var(--orange);background:#fff4ef;color:#9e321c;font-weight:600}
body.saju-active .saju-surface .choice-buttons input:focus-visible+span{outline:3px solid #35564c;outline-offset:3px}
body.saju-active .saju-surface .date-parts{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:8px}
body.saju-active .saju-surface .date-parts label{display:flex;align-items:center;position:relative;margin:0;min-width:0}
body.saju-active .saju-surface .date-parts label>span:last-child{position:absolute;right:12px;color:var(--muted);font-size:14px;pointer-events:none}
body.saju-active .saju-surface input[type=text]{width:100%;min-width:0;height:52px;padding:12px;border:1px solid #bfb7ac;border-radius:8px;background:white;color:var(--ink);font:inherit;font-size:16px}
body.saju-active .saju-surface input::placeholder{color:#766e64;opacity:1}
body.saju-active .saju-surface .date-parts input{padding-right:32px;text-align:center;font-variant-numeric:tabular-nums}
body.saju-active .saju-surface .date-field .field-note{margin:8px 0 0}
body.saju-active .saju-surface .identity-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start;margin:0}
body.saju-active .saju-surface .identity-row :is(fieldset,.field){margin-bottom:20px}
body.saju-active .saju-surface .optional-fields{border-top:1px solid var(--line);padding:0;margin:0 0 16px}
body.saju-active .saju-surface summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 0;font-size:14px;font-weight:500;list-style:none;line-height:1.6}
body.saju-active .saju-surface summary::-webkit-details-marker{display:none}
body.saju-active .saju-surface summary::after{content:'+';font-size:20px;font-weight:400;color:var(--muted);flex-shrink:0}
body.saju-active .saju-surface details[open]>summary::after{content:'−'}
body.saju-active .saju-surface .form-meta{margin:0;font-size:12px}
body.saju-active .saju-surface .error{background:#fff2ee;color:#9e321c;padding:12px;border-radius:8px;font-size:14px;margin:12px 0}
body.saju-active .form-dock{position:fixed;z-index:20;left:50%;transform:translateX(-50%);bottom:var(--saju-keyboard-inset,0px);width:min(100%,520px);padding:12px 20px max(12px,env(safe-area-inset-bottom));background:white;border-top:1px solid var(--line)}
body.saju-active .saju-surface .form-dock .primary{justify-content:space-between}
body.saju-active:has(.input-screen)>footer{display:none}
/* Result: one illustration, real tab buttons, details on request. */
body.saju-active .saju-surface .result-shell{max-width:none;margin:0;padding:12px 0 0}
body.saju-active .saju-surface .result-topbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:0 0 16px}
body.saju-active .saju-surface .result-kind{font-size:12px;color:var(--muted)}
body.saju-active .saju-surface .sample-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;margin:0 0 16px;background:var(--soft);border:0;border-radius:8px;font-size:13px}
body.saju-active .saju-surface .sample-notice button{font-size:12px;padding:8px;flex-shrink:0}
body.saju-active .saju-surface .result-lead{display:flex;flex-direction:column;gap:0;padding:0 0 20px;margin:0;background:white;border:0;align-items:center;text-align:center}
body.saju-active .saju-surface .result-name{display:flex;gap:8px;align-items:center;font-size:14px;margin:0 0 8px;color:var(--muted);font-weight:400}
body.saju-active .signature-paw{width:16px;height:16px}
body.saju-active .saju-surface .result-lead h1{font-size:28px;line-height:1.4;max-width:360px;text-align:center;margin:0;font-weight:600}
body.saju-active .saju-surface .result-element{font-size:13px;margin:8px 0 0;color:var(--muted)}
body.saju-active .saju-surface .result-illustration{position:static;display:block;margin:16px 0;width:208px;max-width:100%}
body.saju-active .saju-surface .result-illustration img{display:block;width:100%;height:208px;object-fit:contain;border-radius:12px}
body.saju-active .saju-surface .result-one-line{font-family:inherit;font-size:14px;max-width:360px;line-height:1.7;margin:0;color:var(--muted)}
body.saju-active .reading-tabs{display:flex;gap:4px;padding:4px;background:var(--soft);border-radius:8px;margin:0}
body.saju-active .reading-tabs button{flex:1;min-width:0;min-height:48px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--muted);font-size:14px;padding:8px 4px;white-space:normal}
body.saju-active .reading-tabs button[aria-selected=true]{background:white;color:var(--ink);border-color:#d8d1c7;font-weight:600}
body.saju-active .saju-surface .reading-panel{padding:24px 0 16px;margin:0;background:white;border:0;border-radius:0;outline-offset:4px;color:var(--ink)}
body.saju-active .saju-surface .reading-panel>p{margin:0 0 16px}
body.saju-active .saju-surface .reading-detail{border:0;border-top:1px solid var(--line);padding:0;margin:16px 0 0}
body.saju-active .saju-surface .reading-detail p{font-size:14px;line-height:1.8}
body.saju-active .saju-surface .nature-pair{display:grid;grid-template-columns:1fr;gap:12px;padding:0;margin:20px 0}
body.saju-active .saju-surface .nature-pair div{display:grid;grid-template-columns:100px 1fr;gap:8px}
body.saju-active .saju-surface .nature-pair dt{font-size:13px;color:var(--muted);margin:0}
body.saju-active .saju-surface .nature-pair dd{font-size:14px;color:var(--ink);font-weight:400;margin:0}
body.saju-active .saju-surface .today-activity{background:var(--soft);padding:16px;border-radius:8px}
body.saju-active .saju-surface .today-activity h3{margin:0 0 8px}
body.saju-active .saju-surface .today-activity p{margin:0}
body.saju-active .saju-surface .panel-share{margin:0 0 24px}
body.saju-active .saju-surface .result-basis{font-size:13px;line-height:1.7;padding:12px 0;margin:0;color:var(--muted);border:0}
body.saju-active .saju-surface .all-calculations{border-top:1px solid var(--line);padding:0;margin:0 0 24px}
body.saju-active .saju-surface .reading-section{padding:16px 0;margin:0;border:0}
body.saju-active .saju-surface .saju-pillar{background:var(--soft)}
body.saju-active .saju-surface .element-name{font-size:16px}
body.saju-active .saju-surface .result-explanation{font-size:13px;color:var(--muted)}
body.saju-active .saju-surface .save-record{display:block;padding:0;margin:24px 0;text-align:center}
body.saju-active .saju-surface .save-record p{font-size:12px;color:var(--muted);margin:8px 0 0}
body.saju-active .saju-surface .result-foot{display:block;margin:24px 0 0;padding:20px 0 0;border-top:1px solid var(--line);text-align:center}
body.saju-active .saju-surface .result-foot p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 16px}
body.saju-active .saju-surface .guardian-form{margin:20px 0 0;padding:0;border:0;background:transparent;color:var(--ink)}
body.saju-active .saju-surface .guardian-form label{display:block;font-size:14px;color:var(--ink);margin-bottom:8px}
body.saju-active .saju-surface .guardian-form .field-note{margin:8px 0 16px}
body.saju-active .saju-surface .guardian-result{padding:20px 0 0;margin:20px 0 0;border-top:1px solid var(--line);color:var(--ink)}
body.saju-active .saju-surface .guardian-result h3{color:var(--ink);margin:0 0 12px}
body.saju-active .saju-surface .guardian-result p{color:var(--ink)}
/* A dedicated share preview keeps the selected image beside its actions. */
body.saju-sharing{overflow:hidden}
body.saju-active .saju-surface .share-sheet{width:min(100% - 24px,460px);max-height:calc(100dvh - 24px);padding:20px;margin:auto;border:1px solid var(--line);border-radius:16px;background:white;color:var(--ink);overscroll-behavior:contain;overflow:auto}
body.saju-active .share-sheet::backdrop{background:rgb(30 25 20 / .42)}
body.saju-active .share-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}
body.saju-active .saju-surface .share-header h2{font-size:20px;margin:0}
body.saju-active .saju-surface .share-header button{padding:8px 12px}
body.saju-active .share-kinds{display:flex;gap:8px;margin-bottom:16px}
body.saju-active .share-kinds button{flex:1;min-height:48px;border:1px solid var(--line);border-radius:8px;background:white;font-size:14px;padding:8px;color:var(--ink)}
body.saju-active .share-kinds button[aria-pressed=true]{border-color:#bfb6aa;background:var(--soft);font-weight:600}
body.saju-active .share-preview{text-align:center}
body.saju-active .share-preview img{display:block;width:100%;max-width:256px;height:auto;margin:auto;border:1px solid var(--line);border-radius:8px}
body.saju-active .saju-surface #card-kind-status{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0}
body.saju-active .saju-surface .share-privacy{font-size:12px;margin:0 0 16px;text-align:center;color:var(--muted)}
body.saju-active .share-secondary{display:flex;gap:8px;margin-top:8px}
body.saju-active .saju-surface .share-secondary button{flex:1;min-width:0;font-size:13px;padding:12px 8px;word-break:keep-all}
body.saju-active .share-sheet>.small{text-align:center;margin:12px 0 0}
body.saju-active .manual-link{display:block;margin-top:16px;font-size:13px}
body.saju-active .manual-link input{margin-top:8px}
body.saju-active #toast{font-size:14px}
@media(max-width:375px){body.saju-active .saju-surface h1,body.saju-active .saju-surface .form-intro h1{font-size:24px}body.saju-active .visual-hero img{height:216px}body.saju-active .saju-surface .identity-row{grid-template-columns:1.15fr 1fr;gap:12px}body.saju-active .saju-surface .result-lead h1{font-size:24px}body.saju-active .saju-surface .share-sheet{padding:16px}body.saju-active .share-preview img{max-width:200px}}
@media(max-height:700px){body.saju-active .share-preview img{max-width:168px}}
@media(prefers-reduced-motion:reduce){body.saju-active .saju-surface button{transition:none}}
@media print{body.saju-active .form-dock,body.saju-active .share-sheet{display:none}}

/* v0.2.3 — illustrated choices and ten-stem character portraits. */
.pet-character{display:block;width:100%;aspect-ratio:1;background-image:url('/assets/characters-v023.png');background-size:500% 400%;background-position:var(--character-x) var(--character-y);background-repeat:no-repeat;background-color:white}
body.saju-active .visual-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.saju-active .visual-menu-item{display:block;min-width:0;min-height:0;padding:0;border:1px solid #ded7cd;border-radius:16px;background:#faf7f0;overflow:hidden;transition:background .15s,border-color .15s}
body.saju-active .visual-menu-item:hover{background:#f0e8db;border-color:#ab9c8a}
body.saju-active .visual-menu-item:active{background:#e9decc}
body.saju-active .visual-menu-item>img{width:100%;height:124px;object-fit:cover;display:block}
body.saju-active .visual-menu-item>span{display:flex;align-items:center;justify-content:space-between;padding:12px;gap:4px}
body.saju-active .visual-menu-item strong{font-size:15px;font-weight:600}
body.saju-active .visual-menu-item .icon{width:18px;height:18px;flex-shrink:0}
body.saju-active .home-more{display:grid;grid-template-columns:1fr 1fr;gap:8px}
body.saju-active .home-more :is(a,button){justify-content:center;border:1px solid var(--line);border-radius:8px;text-decoration:none;padding:8px;font-size:13px}
body.saju-active .saju-surface .result-illustration{width:248px;margin:8px 0 12px}
body.saju-active .saju-surface .result-one-line{font-size:19px;line-height:1.5;font-weight:500;color:var(--ink)}
body.saju-active .character-tags{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:16px 0 0;font-size:13px;color:#665849}
body.saju-active .character-tags span{background:#f5efe4;padding:4px 12px;border-radius:20px}
body.saju-active .character-disclaimer{font-size:12px;color:var(--muted);margin:12px 0 0}
body.saju-active .character-scene{font-size:14px;line-height:1.8;background:#f8f5ee;padding:16px;border-radius:12px;margin:20px 0 0}
body.saju-active .reading-tabs{background:white;border-radius:0;gap:8px}
body.saju-active .reading-tabs button{display:flex;flex-direction:column;align-items:center;padding:4px 4px 8px;gap:4px;min-height:96px;border:1px solid #e2dcd2;border-radius:12px;background:#fbfaf7;color:var(--ink);overflow:hidden}
body.saju-active .reading-tabs button img{width:100%;height:52px;object-fit:cover;border-radius:8px}
body.saju-active .reading-tabs button[aria-selected=true]{border:2px solid var(--orange);padding:3px 3px 7px;background:#fff4ee;color:#96321f}
body.saju-active .reading-tabs button span{font-size:13px}
body.saju-active .share-formats{display:flex;gap:8px;margin:0 0 16px}
body.saju-active .share-formats button{flex:1;border:1px solid var(--line);border-radius:8px;min-height:44px;padding:8px;background:white;font:inherit;font-size:13px}
body.saju-active .share-formats button[aria-pressed=true]{background:var(--soft);border-color:var(--orange)}
@media(min-width:900px){body.saju-active :is(.header,#main){max-width:1040px}body.saju-active>footer{max-width:1040px}body.saju-active #main{padding:0 40px 40px}body.saju-active .visual-home .screen{display:grid;grid-template-columns:1fr 1fr;gap:0 40px;padding-top:32px}body.saju-active .visual-intro{grid-column:1;grid-row:1;align-self:end}body.saju-active .visual-intro h1{font-size:36px}body.saju-active .visual-hero{grid-column:2;grid-row:1 / 3;margin:0}body.saju-active .visual-hero img{height:340px}body.saju-active .visual-start{grid-column:1;grid-row:2}body.saju-active .visual-menu{grid-column:1 / -1}body.saju-active .visual-menu-grid{grid-template-columns:repeat(4,minmax(0,1fr))}body.saju-active .home-more{grid-column:1 / -1;max-width:480px}body.saju-active .home-footer{grid-column:1 / -1}body.saju-active .saju-surface .form-layout{max-width:520px;margin:auto}body.saju-active .saju-surface .result-shell{display:grid;grid-template-columns:380px minmax(0,1fr);column-gap:48px;align-items:start}body.saju-active .result-shell>*{grid-column:2}body.saju-active .result-shell>.result-topbar,body.saju-active .result-shell>.sample-notice{grid-column:1 / -1}body.saju-active .result-shell>.result-lead{grid-column:1;grid-row:3 / 9;position:sticky;top:24px}body.saju-active .result-shell:not(:has(.sample-notice))>.result-lead{grid-row:2 / 9}body.saju-active .saju-surface .result-illustration{width:300px}body.saju-active .saju-surface .result-foot{grid-column:1 / -1}}
@media(max-width:375px){body.saju-active .visual-menu-item strong{font-size:14px}body.saju-active .visual-menu-item>span{padding:12px 8px}body.saju-active .saju-surface .result-illustration{width:208px}body.saju-active .saju-surface .result-one-line{font-size:17px}}body.saju-active .report-upgrade{display:flex;align-items:center;gap:16px;margin:28px 0;padding:20px 16px;background:#fff3e8;border:1px solid #efd2b8;border-radius:16px}body.saju-active .report-upgrade img{width:72px;height:96px;object-fit:cover;border-radius:12px}body.saju-active .report-upgrade div{min-width:0;flex:1}body.saju-active .report-upgrade p{font-size:12px;margin:0 0 6px}body.saju-active .report-upgrade h2{font-size:17px;margin:0 0 14px}body.saju-active .report-upgrade .primary{font-size:13px;padding:12px;min-height:46px}body.saju-active .report-upgrade a{display:block;text-align:center;margin-top:10px;font-size:12px;padding:10px}body.saju-active .purchase-entry{grid-column:1 / -1;display:block;padding:16px;margin:12px 0;text-align:center;font-size:13px;border:1px solid #ded9ce;border-radius:10px}
body.saju-active .public-card-controls{border-top:1px solid #ddd3c7;margin-top:24px;padding-top:20px}body.saju-active .public-card-controls h3{font-size:18px}body.saju-active .public-card-controls p{font-size:13px}body.saju-active .public-card-controls label,body.saju-active .public-manager label{display:block;font-size:14px;margin:12px 0}body.saju-active .public-card-controls input:not([type=checkbox]),body.saju-active .public-manager input{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #bcb4a8;border-radius:8px;font:inherit;margin:8px 0}body.saju-active .public-card-controls .public-consent{display:flex;gap:10px;align-items:center;min-height:44px}body.saju-active .public-card-controls .public-consent input{width:20px;height:20px;flex-shrink:0}body.saju-active .public-card-controls button,body.saju-active .public-card-controls a{margin:6px 0;width:100%;display:block;text-align:center}body.saju-active .public-manager{max-width:520px;margin:auto;padding:24px 0}body.saju-active .public-manager article{padding:20px;margin:20px 0;border:1px solid #ddd;border-radius:12px}body.saju-active .public-manager summary{padding:16px 0;cursor:pointer}
body.saju-active .visual-start .primary{order:0}body.saju-active .visual-start .hero-meta{order:1}body.saju-active .visual-start .home-demo{order:2}body.saju-active .purchase-entry{text-decoration:none}
/* Approved picture shelf · v0.3.3 */
body.saju-active:has(.shelf-home,.shelf-excerpt){--paper:#fbf5e8;--ink:#302a21;--muted:#675b48;--line:#c4b695;background:var(--paper)}
body.saju-active:has(.shelf-home,.shelf-excerpt) :is(.header,#main),body.saju-active:has(.shelf-home,.shelf-excerpt)>footer{background:var(--paper);max-width:1040px}
body.saju-active:has(.shelf-home,.shelf-excerpt) .header{height:auto;min-height:68px;gap:8px;flex-wrap:wrap;padding-block:10px}
body.saju-active .visual-home .screen.shelf-home{display:block;padding:0}
body.saju-active .saju-surface .shelf-home :is(h1,h2),body.saju-active .shelf-excerpt h1{font-family:Georgia,'Batang',serif;font-weight:700;letter-spacing:-.04em}
body.saju-active .shelf-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;align-items:center;padding:32px 20px}
body.saju-active .shelf-intro h1{font-size:clamp(34px,5.4vw,64px);line-height:1.16}
body.saju-active .shelf-intro p{margin:14px 0 20px;font-size:16px;color:var(--muted)}
body.saju-active .shelf-hero .visual-hero{grid-column:auto;grid-row:auto;background:none;overflow:visible;margin:0}
body.saju-active .shelf-hero .visual-hero img{height:clamp(160px,28vw,285px);mix-blend-mode:multiply}
body.saju-active .saju-surface .shelf-intro .visual-start{align-items:start;flex-direction:row;flex-wrap:wrap;gap:10px}
body.saju-active .shelf-home h2{margin:0 0 15px;font-size:clamp(25px,3vw,35px)}
body.saju-active .shelf-section{margin:8px 0 35px}
body.saju-active .shelf-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
body.saju-active .saju-surface .shelf-press,body.saju-active:has(.shelf-home,.shelf-excerpt) .header nav a{
  --face:#fff9e9;--edge:#8b7759;display:inline-flex;justify-content:center;align-items:center;gap:8px;
  min-height:46px;padding:9px 15px;border:1px solid var(--edge);border-radius:11px;color:#352d24;
  background:linear-gradient(#ffffff60,transparent 45%),var(--face);box-shadow:inset 0 1px #ffffffa0,0 4px var(--edge),0 7px 9px #513e2423;
  font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;text-decoration:none;word-break:keep-all;touch-action:manipulation;
  transition:transform .13s ease,box-shadow .13s ease
}
body.saju-active:has(.shelf-home,.shelf-excerpt) .header nav{gap:7px}
body.saju-active:has(.shelf-home,.shelf-excerpt) .header nav a{padding:7px 10px;font-size:13px}
body.saju-active .saju-surface .shelf-primary{--face:#345e49;--edge:#193d2f;color:#fff9e8}
body.saju-active .shelf-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:0 12px 10px;border-bottom:9px solid #a47e55;border-radius:3px;box-shadow:0 4px #684b30,0 11px 12px -10px #53381c}
body.saju-active .saju-surface .shelf-cover{
  --face:#e3e0bd;display:grid;grid-template-columns:43% 1fr;gap:0;min-width:0;padding:0;overflow:hidden;text-align:left;
  border:1px solid #776544;border-left:7px solid #6c5234;border-radius:4px 10px 6px 3px;
  box-shadow:2px 2px #fff5d6,3px 3px #a29476,4px 5px #e0d3b8,5px 6px #897958,6px 8px 9px #58452d33
}
body.saju-active .saju-surface .shelf-cover.cat{--face:#e4dfe9}
body.saju-active .shelf-cover>img{width:100%;height:150px;object-fit:cover}
body.saju-active .shelf-cover>span{display:block;padding:14px}
body.saju-active .shelf-cover small,body.saju-active .cover-open{font-size:13px}
body.saju-active .shelf-cover strong{display:block;margin:4px 0 7px;font:700 clamp(22px,3vw,31px)/1.3 Georgia,'Batang',serif;letter-spacing:-.04em}
body.saju-active .shelf-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.saju-active .saju-surface .shelf-choice{--face:#f8efdc;display:block;text-align:left;min-width:0;padding:0;overflow:hidden}
body.saju-active .shelf-choice img{display:block;width:100%;height:auto;aspect-ratio:1.9;object-fit:cover}
body.saju-active .shelf-choice span{display:flex;align-items:center;justify-content:space-between;padding:10px 12px}
body.saju-active .shelf-choice b{color:#795c36}
body.saju-active .shelf-meeting{margin-top:16px}
body.saju-active .shelf-meeting img{width:42px;height:32px;object-fit:cover;border-radius:5px}
body.saju-active .shelf-secondary{border-top:1px solid var(--line);padding:20px 0 5px}
body.saju-active .shelf-excerpt article{max-width:800px;margin:auto;padding-top:24px}
body.saju-active .shelf-excerpt .shelf-back{margin-bottom:22px}
body.saju-active .excerpt-body{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center}
body.saju-active .excerpt-body>img{display:block;width:100%;max-height:340px;object-fit:cover;border:2px solid #776344;border-radius:6px}
body.saju-active .excerpt-body h1{font-size:clamp(27px,4vw,40px);line-height:1.3;margin:5px 0 12px}
body.saju-active .excerpt-body blockquote{margin:15px 0;font:700 21px/1.55 Georgia,'Batang',serif;color:#8c442c}
body.saju-active .excerpt-body small{line-height:1.65;color:#665944}
body.saju-active .shelf-excerpt .shelf-actions{margin:22px 0}
@media(hover:hover){body.saju-active .saju-surface .shelf-press:hover,body.saju-active:has(.shelf-home,.shelf-excerpt) .header nav a:hover{transform:translateY(-2px)}}
body.saju-active .saju-surface .shelf-press:active,body.saju-active:has(.shelf-home,.shelf-excerpt) .header nav a:active{transform:translateY(3px);box-shadow:inset 0 2px 4px #513e2425,0 1px var(--edge)}
@media(max-width:650px){
  body.saju-active:has(.shelf-home,.shelf-excerpt) .header,body.saju-active:has(.shelf-home,.shelf-excerpt) #main{padding-inline:15px}
  body.saju-active .shelf-hero{grid-template-columns:1.1fr .9fr;gap:4px;padding:22px 0 26px}
  body.saju-active .shelf-intro h1{font-size:clamp(30px,7.8vw,45px)}
  body.saju-active .shelf-intro p{margin:8px 0 14px;font-size:14px}
  body.saju-active .shelf-hero .visual-hero img{height:clamp(130px,38vw,200px)}
  body.saju-active .shelf-books{gap:14px;padding-inline:4px}
  body.saju-active .saju-surface .shelf-cover{display:flex;align-items:stretch;flex-direction:column;border-left-width:5px}
  body.saju-active .shelf-cover>img{height:auto;aspect-ratio:1.55}
  body.saju-active .shelf-cover>span{padding:8px 10px 11px}
  body.saju-active .shelf-cover strong{font-size:21px;margin:3px 0}
  body.saju-active .shelf-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
  body.saju-active .excerpt-body{grid-template-columns:1fr;gap:16px}
  body.saju-active .excerpt-body>img{max-height:235px}
}
@media(prefers-reduced-motion:reduce){body.saju-active .saju-surface .shelf-press,body.saju-active:has(.shelf-home,.shelf-excerpt) .header nav a{transition:none;transform:none!important}}
