:root{--bg:#f7f6f0;--paper:#fffef9;--ink:#303c31;--muted:#788074;--line:#e4e6db;--green:#556c46;--light:#e8edde;--orange:#b97b53}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans JP',sans-serif;font-size:14px;line-height:1.8}button,input,textarea,select{font:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b97b53;outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin-top:0}.serif,h1,h2,.question-title{font-family:'Noto Serif JP',serif;font-weight:500}h1{font-size:34px;line-height:1.65;letter-spacing:.04em}h2{font-size:23px}h3{font-size:16px}.sidebar{position:fixed;inset:0 auto 0 0;width:242px;padding:39px 25px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f4f3ed}.brand{display:flex;align-items:center;font-size:25px;font-weight:600;gap:12px;letter-spacing:.1em}.brandmark{font-family:Georgia,serif;font-style:italic;font-size:42px;line-height:1;color:var(--green)}.branddot{font-size:7px;color:var(--orange);margin-left:-7px}.brandcaption{font-size:10px;letter-spacing:.15em;margin:12px 0 48px 45px;color:var(--muted)}nav{display:grid;gap:9px}nav a{padding:12px;border-radius:8px;font-size:13px;color:#72796c}nav a span{display:inline-block;width:29px;font-size:19px}nav a.active{background:#e3e8d9;color:#425738;font-weight:600}.sidebar-note{margin-top:auto;padding:30px 12px 22px}.small-label{font-size:9px;letter-spacing:.16em;color:var(--muted)}.sidebar-note p{font-size:12px;line-height:2.1;margin:12px 0}.little-flower{font-size:42px;color:#bbbea1}.profile{display:flex;gap:12px;align-items:center;background:none;border:none;text-align:left;padding:18px 0 0;border-top:1px solid var(--line);font-size:12px}.profile small{display:block;font-size:10px;color:var(--muted)}.avatar{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;flex-shrink:0;border-radius:50%;font-size:13px}.sage{background:#e1e8d7;color:#556c46}.peach{background:#f0dfd2;color:#9b6d4e}.blue{background:#e1e8e9;color:#627d85}.shell{margin-left:242px}.topbar{height:83px;border-bottom:1px solid var(--line);margin:0 48px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);letter-spacing:.08em}.demo-tag{font-size:9px;letter-spacing:.12em}.demo-tag b{font-size:10px;margin-left:10px;font-weight:400;border:1px solid var(--line);padding:5px 9px;border-radius:20px}main{max-width:1240px;margin:auto;padding:39px 48px 60px}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--green);margin-bottom:9px}.intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}.intro h1{margin-bottom:9px}.intro p{font-size:12px;color:var(--muted);margin-bottom:0}.season{font-size:52px;color:#b8bc91;transform:rotate(-13deg);margin-right:35px}.hero{display:grid;grid-template-columns:1.1fr .9fr;min-height:320px;border-radius:14px;overflow:hidden;background:#e8ecdd;border:1px solid #dce1d0}.hero-copy{padding:33px 35px}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #c9d2bc;border-radius:20px;padding:4px 11px;font-size:10px;color:#5c704e;background:#f2f4e9}.hero .question-title{font-size:27px;line-height:1.85;margin:19px 0 11px}.hero-copy>p{font-size:12px;color:#697660;margin-bottom:23px}.button{display:inline-flex;align-items:center;justify-content:center;gap:28px;background:var(--green);color:white;border:1px solid var(--green);border-radius:7px;padding:12px 19px;font-size:12px;font-weight:500}.button:hover{background:#405635}.button.secondary{background:transparent;color:var(--green);border-color:#ccd2c2}.button.secondary:hover{background:#edf0e5}.text-button{border:0;background:none;padding:8px 0;color:var(--green);font-size:12px}.hero-actions{display:flex;align-items:center;gap:20px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:290px;background:radial-gradient(ellipse at center,#f3f2e5,transparent 70%);overflow:hidden}.art-circle{position:absolute;width:230px;height:230px;border:1px solid #d0d8be;border-radius:50%}.art-circle:after{content:'';position:absolute;inset:20px -25px;border:1px solid #d0d8be;border-radius:50%;transform:rotate(-30deg)}.photo{position:absolute;width:153px;background:#fffef7;padding:10px 10px 23px;box-shadow:0 10px 25px #4656381b;transform:rotate(-12deg) translate(-33px,-14px)}.photo.second{transform:rotate(11deg) translate(56px,25px);width:139px}.photo svg{width:100%;height:125px;display:block;background:#b9c5a9}.photo.second svg{height:114px;background:#e8ceac}.photo small{display:block;text-align:center;font-family:'Noto Serif JP',serif;font-size:9px;margin-top:9px;color:#7d806b}.art-star{position:absolute;right:24px;top:28px;font-size:43px;color:#aeb78f}.art-caption{position:absolute;bottom:20px;font-size:9px;letter-spacing:.16em;color:#8b947d}.support-note{font-size:10px;color:var(--muted);margin:11px 2px 30px}.section-top{display:flex;align-items:center;justify-content:space-between;margin:31px 0 18px}.section-top h2{margin:0;font-size:21px}.section-top h2 small{font-family:'Noto Sans JP',sans-serif;display:block;font-size:11px;color:var(--muted);margin-top:5px;letter-spacing:0;font-weight:400}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.story-card,.question-card{background:var(--paper);border:1px solid var(--line);border-radius:11px;padding:23px;text-align:left}.story-card{display:flex;flex-direction:column;align-items:stretch;transition:transform .2s,border-color .2s}.story-card:hover{transform:translateY(-3px);border-color:#b8c3aa}.person{display:flex;align-items:center;gap:10px;font-size:12px}.person small{display:block;color:var(--muted);font-size:10px}.story-card h3{font-family:'Noto Serif JP',serif;font-size:18px;line-height:1.8;font-weight:500;margin:19px 0 10px}.story-card p{font-size:12px;line-height:1.9;color:#788071;margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-foot{border-top:1px solid #eceee4;padding-top:13px;display:flex;justify-content:space-between;color:#88917f;font-size:10px;margin-top:auto}.week-note{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);border-top:1px solid var(--line);padding:22px 3px;margin-top:28px}.week-note .icon{font-size:30px;color:#9d9770}.week-note h3{font-size:12px;margin:0 0 3px;font-weight:500}.week-note p{font-size:11px;color:var(--muted);margin:0}.week-note a{margin-left:auto;font-size:11px;white-space:nowrap;color:var(--green)}footer{display:flex;justify-content:space-between;margin:0 48px;padding:23px 0;border-top:1px solid var(--line);color:#8f9786;font-size:10px}footer span{font-family:'Noto Serif JP',serif;letter-spacing:.2em}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0}.filter{border:1px solid var(--line);background:transparent;border-radius:30px;padding:7px 17px;font-size:12px}.filter.selected{background:var(--green);color:white;border-color:var(--green)}.question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.question-card{min-height:226px;display:flex;flex-direction:column}.question-card .category{font-size:10px;color:#8c956f}.question-card h3{font-family:'Noto Serif JP',serif;font-weight:500;line-height:1.9;margin:16px 0}.question-card button{margin-top:auto;align-self:flex-start}.notice{background:#eeefe6;padding:14px 17px;border-radius:8px;font-size:11px;color:#6a755f;line-height:1.9}.empty{text-align:center;padding:60px 20px;border:1px dashed #cdd3c3;border-radius:12px}.empty>span{font-size:44px;color:#a9b695}.empty h2{margin:13px 0}.empty p{color:var(--muted);font-size:12px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:24px 0}.count{font-size:12px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:16px;padding:39px;width:min(600px,calc(100% - 28px));max-height:90dvh;color:var(--ink);background:var(--paper);box-shadow:0 25px 90px #22332030}dialog::backdrop{background:#29322565;backdrop-filter:blur(3px)}.close{position:absolute;right:14px;top:10px;border:0;background:none;font-size:27px;color:#858c7a}.modal-title{font-size:25px;line-height:1.8;margin:15px 0}.helper{font-size:12px;color:var(--muted);line-height:1.9}.field-label{display:block;font-size:12px;margin:21px 0 9px}textarea{width:100%;min-height:170px;resize:vertical;border:1px solid #d7ddcd;border-radius:8px;padding:15px;background:#fcfcf7;color:var(--ink);line-height:1.9;font-size:14px}select{padding:11px;border:1px solid #d7ddcd;border-radius:7px;background:#fcfcf7;color:var(--ink);width:100%}.editor-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:7px;font-size:10px;color:var(--muted)}.modal-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:24px}.answer-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:2.2;margin:24px 0;font-size:14px}.reply{padding:13px 16px;border-radius:8px;background:#edf0e5;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;margin:10px 0}.reply-form textarea{min-height:80px}.danger{color:#a26453}.about-copy p{font-size:13px;line-height:2}.about-copy h3{margin-top:24px}#toast{position:fixed;bottom:30px;left:calc(50% + 100px);transform:translateX(-50%);background:#334c35;color:white;border-radius:8px;padding:12px 24px;font-size:12px;box-shadow:0 6px 30px #20352020;opacity:0;pointer-events:none;transition:opacity .2s;z-index:10}#toast.show{opacity:1}.mobile-only{display:none}
@media(min-width:1500px){main{padding-top:55px}.hero{min-height:360px}.hero-copy{padding:40px}.hero .question-title{font-size:31px}}
@media(max-width:1100px){.sidebar{width:205px;padding:30px 18px}.shell{margin-left:205px}.topbar{margin:0 30px}main{padding:30px}.hero-copy{padding:25px}.hero .question-title{font-size:24px}.hero-actions{gap:12px}.question-grid{grid-template-columns:repeat(2,1fr)}.photo{width:130px}.photo.second{width:120px;transform:rotate(11deg) translate(36px,25px)}.art-star{right:12px}}
@media(max-width:760px){.sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;width:auto;height:70px;padding:0 8px;z-index:5;background:#f9f9f1f5;border-top:1px solid var(--line);border-right:0}.sidebar>.brand,.brandcaption,.sidebar-note,.profile{display:none}nav{display:flex;justify-content:space-around;gap:0;height:100%;align-items:center}nav a{display:flex;flex-direction:column;align-items:center;gap:0;font-size:9px;padding:4px 9px;border-radius:8px}nav a span{width:auto;font-size:21px;line-height:1.5}nav a.active{background:none;color:var(--green)}.shell{margin-left:0;margin-bottom:70px}.topbar{height:60px;margin:0 21px;font-size:10px}main{padding:27px 20px 35px}h1{font-size:28px}.intro{margin-bottom:23px}.intro p{font-size:11px}.season{font-size:37px;margin-right:5px}.hero{grid-template-columns:1fr;position:relative;min-height:0}.hero-copy{padding:25px 24px 27px;z-index:1}.hero .question-title{font-size:25px}.hero-art{display:none}.hero-actions{gap:22px}.support-note{font-size:10px;margin-bottom:22px}.cards{grid-template-columns:1fr}.story-card{padding:21px}.section-top{margin-top:27px}.section-top h2{font-size:20px}.week-note{gap:12px}.week-note a{font-size:10px}.week-note p{font-size:10px}.week-note .icon{font-size:25px}footer{margin:0 20px;font-size:9px}.question-grid{grid-template-columns:1fr 1fr;gap:10px}.question-card{padding:16px;min-height:235px}.question-card h3{font-size:15px}.filters{gap:6px}.filter{font-size:11px;padding:6px 12px}.modal-title{font-size:23px}dialog{padding:30px 22px}.modal-actions{flex-wrap:wrap}.toolbar{align-items:flex-start}.toolbar .button{font-size:11px;padding:8px 11px}#toast{left:50%;bottom:87px;width:max-content;max-width:90vw}.intro .button{font-size:10px;padding:10px}.notice{font-size:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Circle-based prototype v2 */
input{font:inherit;color:var(--ink);padding:11px 13px;border:1px solid #d7ddcd;border-radius:7px;background:#fcfcf7;max-width:100%}input:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.circle-select-label{display:flex;align-items:center;gap:14px}.circle-select-label>span{font-size:10px;white-space:nowrap}.circle-select-label select{width:auto;max-width:330px;font-size:12px;border:0;background:transparent;padding:8px 24px 8px 0}.context-line{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--green);margin:0 0 13px}.context-line a{white-space:nowrap}.draft-banner{display:flex;justify-content:space-between;gap:12px;border:1px solid #dcd6be;background:#f2efdf;border-radius:8px;padding:16px 20px;font-size:12px}.quiet-empty{padding:28px 24px;border:1px dashed #d3d8c8;border-radius:10px;color:#79856c}.quiet-empty span{font-family:'Noto Serif JP',serif;font-size:18px}.quiet-empty p{font-size:12px;margin:8px 0 0}.question-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:28px 0 16px}.question-controls label>span{display:block;margin:0 0 8px;font-size:11px;color:var(--muted)}.question-hint{font-size:11px;color:var(--muted);line-height:1.8}.question-card{min-height:275px}.question-card h3{margin-bottom:10px}.circle-card,.settings-card{padding:28px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.circle-card.current{border-color:#aebc9b;background:#f1f4e9}.circle-card .circle-icon{float:right;font-size:36px;color:#96a480}.circle-card h2{font-size:24px;margin:20px 0 8px;overflow-wrap:anywhere}.circle-card p{font-size:12px;color:var(--muted)}.circle-card .pill{font-size:10px}.circle-card .card-foot{margin-top:20px;padding-top:8px}.audience-field{border:1px solid var(--line);border-radius:10px;margin-top:25px;padding:16px;max-height:260px;overflow:auto}.audience-field legend{font-size:12px;padding:0 6px}.audience-field label{display:flex;align-items:center;gap:12px;padding:8px 0;font-size:13px}.audience-field input{accent-color:var(--green);width:18px;height:18px;flex:none}.audience-field small{display:block;color:var(--muted);font-size:10px}.audience-field .helper{margin:0 0 9px}.search-label span{font-size:11px;display:block;margin-bottom:7px}.search-label input{width:100%;padding:13px 17px}.archive-actions{display:flex;gap:10px;align-items:center}.draft-list{padding:20px;background:#f0eee1;border-radius:10px;margin:20px 0}.draft-list h3{font-size:12px;color:#817b5d}.draft-list button{display:flex;width:100%;justify-content:space-between;align-items:center;gap:15px;text-align:left;border:0;border-top:1px solid #dfddca;background:none;padding:14px 0;font-size:12px}.draft-list small{display:block;font-size:11px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.draft-list button>span:last-child{white-space:nowrap}.history{border-top:1px solid var(--line);padding:17px 0;font-size:12px}.history summary{cursor:pointer;color:var(--green)}.history article{margin-top:15px;padding:15px;background:#f1f2e9;border-radius:7px}.history p{white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0 0}.history small{color:var(--muted)}.divider{border:0;border-top:1px solid var(--line);margin:26px 0}.settings-card{margin-bottom:22px}.settings-card h2{font-size:22px}.settings-card form{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.settings-card .field-label{width:100%;margin:0}.principles{display:grid;grid-template-columns:1fr 1fr;gap:22px}.principles b{font-size:13px}.principles p{font-size:12px;color:var(--muted);margin:8px 0 0}#circle-form>input{width:100%}.story-card .card-foot span:first-child{overflow-wrap:anywhere;max-width:75%}h1{overflow-wrap:anywhere}
@media(max-width:760px){.intro .season{display:none}.intro h1{font-size:26px;letter-spacing:.01em}.topbar{gap:8px}.circle-select-label{display:block;min-width:0;flex:1}.circle-select-label>span{font-size:9px;display:block}.circle-select-label select{font-size:11px;max-width:100%;padding:0 10px 0 0}.demo-tag{font-size:8px;white-space:nowrap}.demo-tag b{margin-left:4px;font-size:9px}nav a{font-size:9px;padding:4px 4px}.context-line{font-size:10px}.draft-banner{font-size:11px;padding:14px;display:block}.draft-banner span{display:block;margin-top:6px}.question-controls{gap:10px}.question-controls select{font-size:11px;padding:10px 7px}.circle-card{padding:23px}.section-top{gap:10px}.section-top .button{padding:9px 10px;gap:6px;font-size:10px}.section-top h2{font-size:19px}.principles{grid-template-columns:1fr}.question-card{min-height:270px}.archive-actions{gap:6px}.archive-actions .filter{padding:6px 10px}.archive-actions .text-button{font-size:10px}.toolbar{gap:8px}.toolbar .button{padding:7px 8px;font-size:10px}.draft-list{padding:16px}.draft-list button{font-size:11px}.settings-card{padding:22px}.circle-card .pill{max-width:80%;overflow-wrap:anywhere}}
.section-top .button{white-space:nowrap;flex-shrink:0}
/* UX review: readable type, explicit actions and forgiving drafts */
:root{--muted:#626d5c}body{font-size:16px}.button,.text-button,.filter{font-size:14px;min-height:44px}.intro p,.helper,.notice,.question-hint,.story-card p,.quiet-empty p,.support-note,.field-label,.circle-card p,.principles p{font-size:14px;color:var(--muted)}.person,.reply,.answer-content,textarea,input,select{font-size:16px}.person small,.pill,.count,.card-foot,.question-card .category,.section-top h2 small,.editor-bottom,.audience-field small,.search-label span,.question-controls label>span{font-size:12px;color:var(--muted)}.story-card p{color:#626d5c}.card-foot{gap:12px}.circle-select-label select{font-size:14px;min-height:44px}.circle-select-label{min-width:0;max-width:80%}.circle-select-label select{max-width:100%}.circle-select-label>span{font-size:12px}.demo-tag b{border:0;padding:0}.demo-tag a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px}.close{min-width:44px;min-height:44px}.modal-title{padding-right:10px}.section-top{flex-wrap:wrap}.toolbar,.archive-actions,.hero-actions{flex-wrap:wrap}.question-card .text-button{font-size:14px}.question-card h3{font-size:19px}.draft-list h3,.draft-list button,.draft-list small{font-size:14px}.start-guide{border:1px solid #d4dbc9;border-radius:12px;background:#f0f3e8;padding:17px 22px;margin:0 0 24px}.start-guide summary,summary{cursor:pointer;min-height:44px;align-content:center}.start-guide summary{font-weight:500}.start-guide ol{padding-left:24px;font-size:14px}.start-guide li{margin:9px 0}.start-guide a{text-decoration:underline;text-underline-offset:4px}.start-guide p{font-size:13px;margin:12px 0 0;color:var(--muted)}.care-notice{margin-bottom:24px}.care-notice p:last-child{font-size:13px;margin:12px 0 0}.care-notice h3{font-size:18px}.answer-mark{font-size:12px;color:#466337;display:block;margin:0 0 12px}.export-choice{border-top:1px solid var(--line);padding:20px 0}.export-choice h3{font-size:18px}.size-option{display:flex;align-items:center;gap:14px;min-height:48px}.size-option input{width:22px;height:22px}.large-text :is(p,li,label,input,textarea,select,.button,.text-button,.filter,.answer-content,.reply,.person,.helper,.notice,.question-hint,.draft-list button){font-size:18px}.large-text :is(small,.card-foot,.editor-bottom,.pill,.category,.count,.support-note,.start-guide p){font-size:15px}.large-text nav a{font-size:16px}.large-text .question-card h3{font-size:22px}button:disabled{opacity:.5;cursor:not-allowed}.story-card,.question-card,.circle-card{min-width:0;overflow-wrap:anywhere}.context-line{font-size:13px;flex-wrap:wrap}.context-line a{min-height:44px;align-content:center}.week-note{flex-wrap:wrap}.week-note a,.week-note p,.week-note h3{font-size:13px}.section-top .button{font-size:14px;white-space:normal}
@media(max-width:760px){.topbar{height:auto;min-height:83px;margin:0 16px;gap:10px}.circle-select-label{max-width:calc(100% - 92px)}.circle-select-label select{font-size:14px;min-height:44px}.circle-select-label>span{font-size:12px}.demo-tag{font-size:10px}.demo-tag b{margin-left:2px}.demo-tag a{font-size:14px}.question-grid{grid-template-columns:1fr}.question-card{min-height:0;padding:24px}.question-controls{grid-template-columns:1fr}.question-controls select{font-size:16px}.sidebar{height:78px;padding:0 3px}nav a, .large-text nav a{font-size:11px;padding:6px 2px;min-height:56px}nav a span{font-size:22px}.shell{margin-bottom:78px}main{padding:24px 18px 36px}.hero-copy{padding:24px}.hero-actions{gap:12px}.hero .question-title{font-size:25px}.intro p{font-size:14px}.toolbar{gap:14px}.toolbar .button,.archive-actions .text-button,.archive-actions .filter{font-size:14px;padding:10px 12px}.section-top .button{font-size:14px}.start-guide{padding:13px 18px}.context-line{font-size:13px}.modal-actions{justify-content:stretch}.modal-actions .button{flex:1}.editor-bottom{align-items:flex-start;gap:8px}.editor-bottom span:first-child{max-width:70%}.audience-field{max-height:none}.audience-field label{font-size:16px;min-height:48px}.audience-field legend{font-size:14px}.question-card h3{font-size:20px}.section-top h2{font-size:21px}dialog{padding:35px 20px 25px}.large-text .question-controls select{font-size:18px}#toast{bottom:92px;font-size:14px}.brandcaption{display:none}}
.member-list{padding-left:20px;font-size:14px}.member-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.member-row small{display:block;color:var(--muted);font-size:12px}#invite-email,#circle-name{width:100%}.size-option input{flex-shrink:0}.history p{white-space:pre-wrap;overflow-wrap:anywhere}#sync-state{font-size:11px;color:var(--green)}.start-guide a{text-decoration:underline}.notice p:last-child{margin-bottom:0}.modal-actions button{white-space:normal}#main>.cards{margin-top:20px}#note-form .button{margin-top:16px}

.signed-out .sidebar nav,.signed-out .profile,.signed-out .topbar{display:none}.login-card{max-width:600px}.login-card input{width:100%;margin:8px 0 16px}.login-card button{min-height:48px}.login-providers{display:grid;gap:12px}.login-divider{text-align:center;margin:24px 0;color:var(--muted)}#login-status{min-height:1.5em;white-space:pre-wrap}#login-code{font-size:24px;letter-spacing:.3em}#code-login{margin-top:24px}#login-methods h3{margin-top:24px}
[hidden]{display:none!important}.login-card form{display:block}.login-card .helper{margin:10px 0 16px}.login-card input{padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--paper)}

/* Clear first steps, visible story preview, and direct invitation actions. */
.circle-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:18px}
.share-preview{background:#f0f3e8;border:1px solid #d4dbc9;border-radius:12px;padding:20px;margin:20px 0}
.share-preview h3{font-family:inherit;font-size:14px;color:var(--green);margin-bottom:14px}
.share-preview h4{font-size:18px;line-height:1.7;margin:0 0 12px;font-weight:500}
.share-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.9}
#sharing .audience-field{max-height:none;margin-top:20px}
#sharing .audience-field label{font-size:16px;min-height:52px;padding:12px 8px;border-bottom:1px solid var(--line)}
#sharing .audience-field label:has(input:checked){background:var(--light);border-radius:6px}
#sharing .audience-field legend{font-size:16px}
#share-summary{overflow-wrap:anywhere}
.large-text .share-text,.large-text .share-preview h4{font-size:20px}
@media(max-width:760px){.circle-actions{align-items:stretch}.circle-actions .button{width:100%}.share-preview{padding:16px}.start-guide ol{padding-left:20px}#sharing .modal-actions{flex-direction:column}.modal-actions{flex-wrap:wrap}}
#sharing .modal-actions{position:sticky;bottom:0;background:var(--paper);padding:12px 0;margin-top:18px;border-top:1px solid var(--line);box-shadow:0 -8px 18px var(--paper);z-index:1}
#invite-name,#join-name{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:8px}

/* NOCOSU identity: a book that grows, with calm Japanese typography. */
body{font-family:'Hiragino Sans','Yu Gothic UI','Yu Gothic',Meiryo,sans-serif;letter-spacing:.015em}
.serif,h1,h2,.question-title{font-family:'Hiragino Mincho ProN','Yu Mincho',YuMincho,serif}
.brand{gap:10px;letter-spacing:0}.brand-symbol{display:block;width:44px;height:44px;flex:none}.brand-word{font-family:'Avenir Next',Avenir,'Trebuchet MS',sans-serif;font-size:25px;font-weight:600;letter-spacing:.13em;color:#355746}.brandcaption{margin-left:54px}
/* Signed-out entry: the value of answering, followed by a choice of login. */
.signed-out{background:radial-gradient(ellipse at 12% 40%,#eef0e5 0,transparent 55%),var(--bg)}
.signed-out .sidebar{position:static;width:auto;max-width:1240px;margin:auto;padding:26px 40px 18px;border:0;background:transparent;height:auto}
.signed-out .sidebar>.brand{display:inline-flex}.signed-out .sidebar .brandcaption,.signed-out .sidebar-note{display:none}
.signed-out .brand-symbol{width:48px;height:48px}.signed-out .brand-word{font-size:27px;letter-spacing:.15em}
.signed-out .shell{margin:0}.signed-out main{max-width:1180px;margin:auto;padding:18px 40px 48px}
.login-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;align-items:start}
.login-intro{padding-top:12px}.entry-kicker{color:#53684d;font-size:12px;letter-spacing:.1em;margin-bottom:16px}
.login-intro h1{font-size:clamp(32px,3.1vw,43px);line-height:1.6;letter-spacing:.05em;margin:0 0 18px;color:#304b3b;font-weight:500}
.login-intro h1 em{white-space:nowrap;display:inline-block;font-style:normal;position:relative;background:linear-gradient(transparent 78%,#d9e0c9 78%)}
.entry-description{font-size:14px;line-height:2.1;color:#5a6658;margin-bottom:0;text-wrap:pretty}
.story-illustration{position:relative;height:264px;margin:22px 0 18px;isolation:isolate}
.story-illustration:before{content:'';position:absolute;inset:26px 10px 30px 20px;border:1px solid #d8decb;border-radius:50%;transform:rotate(-13deg);z-index:-1}
.illustration-question,.illustration-story,.illustration-reply{position:absolute;box-shadow:0 8px 24px #304b3b0b;animation:entry-appear .65s both}
.illustration-question{left:0;top:3px;background:#e5eadb;border:1px solid #d3dcc5;border-radius:14px 14px 14px 3px;padding:15px 20px;z-index:2;transform:rotate(-3deg)}
.illustration-question span,.illustration-reply span,.story-page-label{font-size:11px;letter-spacing:.06em;color:#586b50}
.illustration-question p{font-size:16px;line-height:1.7;margin:6px 0 0}
.illustration-story{left:38%;top:38px;background:#fffef9;border:1px solid #e0dfd0;border-radius:3px 12px 12px 3px;padding:18px 22px 15px 27px;transform:rotate(5deg);animation-delay:.12s;min-width:188px}
.illustration-story:before{content:'';position:absolute;left:7px;top:0;bottom:0;border-left:1px solid #e8e5d8}
.illustration-story p{font-family:'Hiragino Mincho ProN','Yu Mincho',YuMincho,serif;font-size:15px;line-height:1.8;margin:8px 0 12px}
.story-page-line{display:block;height:1px;width:95%;margin:9px 0 0;background:#e5e5d9}.story-page-line.short{width:66%}
.illustration-reply{left:1%;top:157px;background:#f2e7da;border:1px solid #e7d6c2;border-radius:14px 14px 3px 14px;padding:12px 18px;z-index:3;transform:rotate(-2deg);animation-delay:.24s}
.illustration-reply span{color:#826246;font-size:10px}.illustration-reply p{font-size:14px;line-height:1.65;margin:5px 0 0}
.story-illustration figcaption{position:absolute;bottom:0;right:0;font-size:10px;color:#6d7665}
.entry-values{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 0 0;margin:0;list-style:none;gap:15px;border-top:1px solid #dce1d2;counter-reset:value}
.entry-values li{counter-increment:value;position:relative}.entry-values li:before{content:'0' counter(value);display:block;color:#8b9878;font-size:11px;letter-spacing:.1em;margin-bottom:4px}
.entry-values b{font-size:13px;font-weight:600;display:block;margin-bottom:4px}.entry-values span{font-size:11px;color:#65705e;line-height:1.7;display:block}
.login-layout .login-card{width:100%;padding:30px;margin:8px 0 0;border-radius:20px;background:#fffefb;box-shadow:0 12px 40px #34483005}
.entry-card-label{font-size:11px;color:#708064;letter-spacing:.09em;display:block;margin-bottom:7px}
.login-card h2{font-family:inherit;font-size:24px;letter-spacing:.01em;font-weight:600;margin:0 0 8px}
.login-card .helper{font-size:13px;line-height:1.8;margin:10px 0 18px}
.login-card .login-providers{grid-template-columns:1fr;gap:10px;margin-top:24px}
.login-card .login-providers .button{min-height:52px;font-size:15px;font-weight:600;padding:12px;white-space:normal;border-color:#d6dcd1;background:white;color:#354331;gap:12px}
.login-card .login-providers .button:hover{background:#f0f4e9;border-color:#97aa8e}
.login-card .login-providers .provider-line{background:#eaf6ed;border-color:#b8d8bc;color:#235d34}
.login-card .login-providers .provider-line:hover{background:#d8efdd}
.login-card .provider-help{font-size:11px;line-height:1.8;margin:12px 0 0;color:#66725e}
.login-card .login-divider{display:flex;align-items:center;gap:12px;margin:22px 0;font-size:12px;white-space:nowrap}
.login-divider:before,.login-divider:after{content:'';flex:1;height:1px;background:var(--line)}
.login-card input{margin:7px 0 0}.login-card .field-label{font-size:13px}.login-card #email-help{font-size:12px;margin:9px 0 16px}
.login-card #send-code{width:100%;font-size:14px;background:#355746;border-color:#355746}.login-card #send-code:hover{background:#254536}
.login-card #login-status:empty{display:none}.login-card #login-status:not(:empty){padding:12px;background:var(--light);border-radius:8px;font-size:14px}
.entry-private{font-size:12px;text-align:center;color:#5f6e57;line-height:1.9;padding-top:20px;margin:0}
.login-invitation{font-size:14px;line-height:1.8;border-left:3px solid var(--green);padding-left:12px;margin:14px 0 18px}
.login-help{border-top:1px solid var(--line);margin-top:20px;padding-top:8px;font-size:13px}.login-help summary{font-size:13px;color:#586b50}.login-help p{color:var(--muted);line-height:1.8}
.signed-out footer{max-width:1100px;margin:auto;color:#68725f;font-size:11px}
@keyframes entry-appear{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.story-illustration *{animation:none!important}}
@media(max-width:1000px) and (min-width:761px){.login-layout{gap:28px}.signed-out main{padding-left:28px;padding-right:28px}.login-layout .login-card{padding:24px}.illustration-story{left:35%;min-width:170px;padding-right:15px;padding-left:20px}.illustration-question{padding:13px}.illustration-question p{font-size:14px}.entry-values{gap:8px}.entry-values b{font-size:12px}.entry-description{font-size:13px}}
@media(max-width:760px){
.signed-out .sidebar{padding:20px 22px 16px}.signed-out .brand-symbol{width:38px;height:38px}.signed-out .brand-word{font-size:23px}
.signed-out main{padding:8px 20px 32px}.login-layout{display:flex;flex-direction:column;gap:0;max-width:480px;margin:auto}.login-intro{display:contents}
.entry-kicker{font-size:10px;margin:0 0 12px;letter-spacing:.04em}.login-intro h1{font-size:30px;line-height:1.55;margin:0 0 16px;letter-spacing:.03em}.login-intro h1 br:nth-of-type(2){display:none}
.entry-description{font-size:13px;line-height:1.95;margin:0 0 22px}.entry-description br{display:none}
.login-layout .login-card{order:1;padding:22px;margin:0;border-radius:16px}.login-card h2{font-size:22px}.login-card .login-providers{margin-top:20px}.login-card .helper{font-size:13px}.login-card .provider-help{font-size:11px}
.story-illustration{order:2;width:100%;max-width:430px;align-self:center;margin:34px 0 20px;height:275px}.illustration-story{left:38%;min-width:170px;padding-left:20px;padding-right:15px}.illustration-question{padding:14px}.illustration-question p{font-size:14px}.illustration-reply{top:165px}
.entry-values{order:3;width:100%;gap:12px}.entry-values b{font-size:12px}.entry-values span{font-size:11px}.signed-out footer{margin:0 20px;padding:18px 0;gap:20px;font-size:10px}
}
@media(max-width:360px){.signed-out main{padding-left:14px;padding-right:14px}.login-layout .login-card{padding:18px}.login-intro h1{font-size:27px}.illustration-story{left:34%;top:49px}.illustration-question{padding:12px}.illustration-reply{padding:12px;top:175px}.entry-values{gap:8px}.entry-values b{font-size:11px}}

@media(min-width:761px) and (max-width:1100px){body:not(.signed-out) .sidebar .brand-symbol{width:36px;height:36px}body:not(.signed-out) .sidebar .brand-word{font-size:21px;letter-spacing:.08em}}
/* At narrower widths the example becomes a readable sequence, not overlapping cards. */
@media(max-width:1000px){
.story-illustration{display:grid;grid-template-columns:1fr;gap:14px;height:auto;padding:8px 0}
.illustration-question,.illustration-story,.illustration-reply{position:relative;left:auto;top:auto;transform:none;min-width:0}
.illustration-question{justify-self:start;width:82%;padding:15px 18px}
.illustration-story{justify-self:end;width:82%;padding:18px 24px}
.illustration-reply{justify-self:start;width:75%;padding:14px 18px}
.story-illustration figcaption{position:static;justify-self:end;margin-top:4px}
.story-illustration:before{inset:40px 5px 45px;border-radius:44%}
}

/* First home: one clear starting action, private by default, resume when needed. */
.home-mobile-brand,.home-context-note{display:none}
.home-page.no-circles .circle-select-label{display:none}
.home-page.no-circles .home-context-note{display:block;font-size:12px;letter-spacing:.04em}
.home-view{max-width:1000px;margin:auto}.home-heading{margin-bottom:24px}.home-heading h1{font-size:32px;line-height:1.6;margin:6px 0 10px}.home-heading>p:last-child{color:var(--muted);font-size:15px;margin:0}
.home-question{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);border:1px solid #d9e1ce;background:#eaf0e1;border-radius:18px;overflow:hidden}
.home-question-copy{padding:28px 30px}.home-question h2{font-size:26px;line-height:1.65;margin:18px 0 12px;text-wrap:pretty}.home-question-copy>p{font-size:14px;color:#5e6c54;margin:0 0 24px}
.home-write-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.home-write-actions .button{background:#355746;border-color:#355746;min-height:52px;font-size:15px;gap:10px}.home-write-actions .button.secondary{background:transparent;color:#355746}.home-write-actions>span{font-size:12px;color:#5e6c54}
.home-other-questions{display:flex;gap:22px;flex-wrap:wrap;margin-top:12px}.home-other-questions .text-button{font-size:13px;text-decoration:underline;text-underline-offset:4px}
.home-writing-tip{padding:30px 24px;background:#f2f5eb;border-left:1px solid #dce3d2;align-content:center}.home-writing-tip img{display:block;margin-bottom:16px;opacity:.85}.home-writing-tip h3{font-size:15px;line-height:1.8;font-weight:500;margin-bottom:12px}.home-writing-tip>p{font-size:13px;color:#63705b;line-height:1.9;margin-bottom:8px}
.home-writing-tip summary{font-size:13px;color:#4e6640;min-height:44px}.home-example-label{font-size:11px;color:var(--muted);margin:8px 0}.home-writing-tip blockquote{margin:12px 0 0;border-left:2px solid #b7c5a6;padding-left:12px;font-size:13px;line-height:1.9}
.home-private{font-size:13px;color:#546849;margin:12px 3px 24px;line-height:1.9}
.home-steps{list-style:none;display:grid;grid-template-columns:1fr 1.2fr 1.1fr;gap:20px;padding:0 0 24px;margin:0;border-bottom:1px solid var(--line)}
.home-steps li{display:flex;gap:12px;align-items:flex-start}.home-steps li>span{font-size:13px;color:#718361;border:1px solid #d5ddc9;border-radius:50%;width:30px;height:30px;text-align:center;line-height:28px;flex:none}
.home-steps b{font-size:13px;font-weight:500}.home-steps p{font-size:12px;color:var(--muted);margin:5px 0 0;line-height:1.8}.home-steps small{font-size:10px;border:1px solid #d8dece;border-radius:15px;padding:2px 6px;white-space:nowrap}
.home-sharing-guide,.home-samples{margin:24px 0 0;padding:10px 18px;border:1px solid var(--line);border-radius:10px;background:#fffef966;font-size:14px}.home-sharing-guide summary,.home-samples summary{font-size:14px;color:#506344}.home-sharing-guide p,.home-sharing-guide li{font-size:13px;line-height:1.9}.home-sharing-guide li{margin:10px 0}.home-sharing-guide a{text-decoration:underline;text-underline-offset:4px}.home-sharing-guide ol{padding-left:23px}.home-samples small{color:var(--muted);font-size:11px;display:inline-block;margin-left:10px}.home-samples .cards{margin:15px 0}.home-view>.notice{margin-top:24px}
.home-resume{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#f4eee1;border:1px solid #e3d8bd;border-radius:14px;padding:24px;margin:0 0 24px}.home-resume>div{min-width:0}.home-resume h2{font-size:20px;line-height:1.6;margin:7px 0 10px}.home-resume p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:#6a6857}.home-resume-actions{flex:none;display:grid;gap:8px}.home-resume .button{font-size:14px;gap:10px}
.home-arrival{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #d2dcd3;background:#edf3ed;border-radius:10px;padding:14px 18px;margin-bottom:24px;font-size:14px;color:#395d46}.home-arrival>span:last-child{white-space:nowrap}
.large-text .home-view p,.large-text .home-view .text-button,.large-text .home-view summary,.large-text .home-view b{font-size:18px}.large-text .home-question h2{font-size:30px}
@media(max-width:1050px){.home-question{grid-template-columns:1fr}.home-writing-tip{border-left:0;border-top:1px solid #dce3d2;padding:16px 26px}.home-writing-tip img{display:none}.home-writing-tip h3{margin:0}.home-writing-tip>p{margin:6px 0}.home-steps{gap:12px}.home-steps li{gap:7px}.home-resume{flex-direction:column;align-items:stretch}}
@media(max-width:760px){
.home-page .home-mobile-brand{display:flex;gap:8px}.home-page .home-mobile-brand .brand-word{font-size:19px;letter-spacing:.09em}.home-page.no-circles .home-context-note{display:none}.home-page .topbar{min-height:70px;height:auto;padding:10px 0;flex-wrap:wrap;gap:8px}.home-page .circle-select-label{order:3;max-width:100%;flex-basis:100%;border-top:1px solid var(--line);padding-top:8px}.home-page .circle-select-label>span{font-size:11px}.home-page .circle-select-label select{font-size:14px;width:100%}.home-page #sync-state{display:none}.home-page .demo-tag{margin-left:auto}.home-page .demo-tag a{min-height:44px;font-size:13px}.home-page main{padding-top:24px}
.home-heading{margin-bottom:20px}.home-heading h1{font-size:26px;line-height:1.55;margin-bottom:12px}.home-heading>p:last-child{font-size:14px}.home-question-copy{padding:22px}.home-question h2{font-size:23px;margin-top:16px}.home-question-copy>p{font-size:14px;margin-bottom:20px}.home-write-actions{gap:8px}.home-write-actions .button{width:100%;font-size:15px}.home-write-actions>span{width:100%;text-align:center}.home-other-questions{justify-content:space-between;gap:8px;margin-top:10px}.home-other-questions .text-button{font-size:12px}.home-writing-tip{padding:14px 22px}.home-writing-tip>p{display:none}.home-writing-tip h3{font-size:13px}.home-private{font-size:12px;margin-bottom:24px}.home-steps{grid-template-columns:1fr;gap:16px}.home-steps li{gap:14px}.home-steps b{font-size:14px}.home-steps p{margin:3px 0 0;font-size:12px}.home-sharing-guide,.home-samples{padding:8px 14px}.home-resume{padding:20px;gap:18px}.home-resume h2{font-size:19px}.home-resume-actions .button{width:100%}.home-arrival{align-items:flex-start;flex-direction:column;font-size:13px;gap:5px}
}

.home-heading h1>span{display:inline-block}.large-text .home-view .button{font-size:18px}

/* A stable header; topic selection belongs with the questions. */
.topbar-actions{display:flex;align-items:center;gap:22px;margin-left:auto;letter-spacing:0}
.topbar-actions .text-button{font-size:13px;min-height:44px;padding:10px 4px}
.topbar .home-context-note{display:block}
.guide-progress{display:flex;list-style:none;padding:0;margin:24px 0;gap:8px}
.guide-progress li{flex:1;min-width:0}
.guide-progress button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;border:1px solid var(--line);border-radius:8px;background:transparent;font-size:13px}
.guide-progress span{font-size:12px}
.guide-progress [aria-current=step] button{background:var(--green);border-color:var(--green);color:white}
.guide-description{font-size:16px;line-height:1.95}
.guide-preview{background:#edf0e5;border:1px solid var(--line);border-radius:12px;padding:24px;margin:24px 0 16px}
.guide-menu{display:inline-flex;gap:8px;border-bottom:2px solid var(--green);padding:3px 0 7px;margin-bottom:18px;font-weight:600}
.guide-preview p{font-family:var(--font-story,serif);font-size:21px;margin-bottom:20px}
.guide-button-example{display:inline-block;background:#fffef9;border:1px solid #ccd2c2;border-radius:7px;padding:10px 16px;color:var(--green);font-size:14px}
.guide-actions,.guide-actions>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.guide-actions{margin-top:28px}.guide-actions .button{min-height:48px}
.guide-reopen{font-size:12px;color:var(--muted);margin:18px 0 0}
.welcome-guide .modal-title{padding-right:20px}
@media(max-width:760px){
 .topbar .home-mobile-brand{display:flex;font-size:18px;gap:8px;letter-spacing:.06em}
 .topbar .home-context-note{display:none}
 .topbar,.home-page .topbar{min-height:72px;height:auto;display:flex;flex-wrap:wrap;gap:8px;padding:10px 0}
 .topbar-actions{gap:12px}.topbar-actions .text-button{font-size:12px}
 .guide-progress{gap:5px;margin:18px 0}.guide-progress button{font-size:11px;gap:5px}
 .guide-description{font-size:15px}.guide-preview{padding:18px}.guide-preview p{font-size:19px}
 .guide-actions{align-items:stretch;flex-direction:column-reverse;gap:4px}.guide-actions>div{justify-content:flex-end;flex-wrap:wrap}.guide-actions .button{flex:1;padding:12px 10px;gap:5px;font-size:13px}
 .guide-reopen{margin-top:8px}.welcome-guide .modal-title{font-size:23px}
}
@media(max-width:760px){
 .welcome-guide .modal-title{font-size:22px;line-height:1.5}
 .guide-progress button{flex-direction:column;gap:0;padding:5px 2px;line-height:1.4;white-space:nowrap}
 .guide-preview{padding:12px 16px;margin:16px 0 12px}
 .guide-preview p{display:none}
 .guide-menu{display:block;width:fit-content;margin-bottom:10px;font-size:13px}
 .guide-button-example{padding:6px 10px;font-size:12px}
 .guide-description{line-height:1.8;margin-bottom:12px}
 .guide-actions{margin-top:16px}
}

/* A book of one's own: quiet illustration, real words, a clear way to write. */
.story-hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:24px;padding:32px;border:1px solid #e4dfd1;border-radius:22px;background:linear-gradient(135deg,#fcfaf3,#f2f3e9);overflow:hidden;isolation:isolate}
.story-intro{grid-column:1;grid-row:1;position:relative;z-index:1}
.story-intro .eyebrow{color:#8b7554;font-size:10px;letter-spacing:.13em;margin-bottom:18px}
.story-intro h1{font-size:34px;line-height:1.65;letter-spacing:.04em;margin:0 0 18px;color:#355746}
.story-intro h1 span{display:inline-block}
.story-intro>p:last-child{font-size:13px;color:#747665;line-height:2;margin-bottom:26px}
.story-hero .home-question{grid-column:1;grid-row:2;display:block;border:0;border-top:1px solid #dcded0;border-radius:0;background:none;overflow:visible}
.story-hero .home-question-copy{padding:23px 0 0}
.story-hero .home-question h2{font-size:22px;line-height:1.7;margin:14px 0 8px}
.story-hero .home-question-copy>p{font-size:13px;margin-bottom:20px}
.story-hero .pill{padding:0;border:0;border-radius:0;background:none;color:#8b7554;font-size:11px;letter-spacing:.1em}
.story-hero .home-other-questions{gap:24px}
.story-scene{grid-column:2;grid-row:1 / span 2;align-self:center;min-width:0;margin:0;position:relative;padding-bottom:12px}
.story-art{position:relative;margin:0 -24px;isolation:isolate}
.story-art:before{content:'';position:absolute;inset:10% 5%;z-index:-1;background:radial-gradient(ellipse,#e2e7cf99,transparent 70%);border-radius:50%}
.story-art img{width:100%;height:auto;display:block;position:relative;z-index:1}
.story-trace{position:absolute;display:block;width:10px;height:16px;background:#c5a57c;border-radius:100% 0 100% 0;opacity:.55;z-index:0}
.trace-one{left:14%;top:18%;rotate:-25deg}.trace-two{right:16%;top:7%;width:7px;height:12px;background:#6e8764;rotate:22deg}
.story-scene figcaption{position:relative;z-index:2;margin:16px 8px 0}
.story-first-caption{text-align:center;font-family:var(--font-story,serif);font-size:17px;line-height:1.9;color:#7a7a63;letter-spacing:.07em}
.story-keepsake{width:100%;display:block;text-align:left;border:1px solid #dedbcf;background:#fffef7dd;border-radius:3px 14px 14px 3px;padding:17px 18px 14px 24px;box-shadow:-5px 4px 0 #e7e4d7,0 8px 22px #4d5b3610;border-left:3px solid #bca27e;transition:box-shadow .2s}
.story-keepsake:hover{box-shadow:-5px 4px 0 #e7e4d7,0 10px 25px #4d5b3620}
.keepsake-label{display:block;color:#7a7c6c;font-size:10px;margin-bottom:9px;letter-spacing:.02em}
.keepsake-quote{font-family:var(--font-story,serif);display:block;font-size:16px;line-height:1.9;overflow-wrap:anywhere;color:#46553f}
.keepsake-read{display:block;text-align:right;color:#536d46;font-size:11px;margin-top:8px}
.story-collection{display:flex;justify-content:center;gap:14px;font-size:12px;color:#6d745e;min-height:44px;align-items:center;margin-top:10px}
.story-collection:hover{text-decoration:underline;text-underline-offset:4px}
.story-entrance .story-art img{animation:story-unfold 1.8s cubic-bezier(.2,.7,.2,1) both}
.story-entrance .story-trace{animation:story-leaf 2.8s ease-out both}
.story-entrance figcaption{animation:story-words 1s .5s both}
@keyframes story-unfold{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
@keyframes story-leaf{from{opacity:0;transform:translate(-8px,20px) rotate(-40deg)}to{opacity:.55;transform:none}}
@keyframes story-words{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.large-text .story-intro>p:last-child,.large-text .keepsake-quote{font-size:18px}
@media(min-width:761px) and (max-width:1100px){.story-hero{padding:26px;column-gap:20px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.story-intro h1{font-size:27px}.story-hero .home-question h2{font-size:21px}.story-keepsake{padding:12px 14px 10px 18px}.keepsake-quote{font-size:14px}.story-art{margin:0 -16px}.story-scene figcaption{margin-left:0;margin-right:0}}
@media(max-width:760px){
 .home-story-view{margin-top:0}.story-hero{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-rows:auto auto;column-gap:0;padding:22px 20px 18px;border-radius:18px}
 .story-intro .eyebrow{font-size:9px;letter-spacing:.04em;margin-bottom:12px}
 .story-intro h1{font-size:22px;line-height:1.65;letter-spacing:.01em;margin-bottom:12px}
 .story-intro>p:last-child{font-size:12px;margin-bottom:20px;line-height:1.9}.story-intro>p:last-child br{display:none}
 .story-scene{grid-row:1;align-self:center;padding:0;margin:0 -16px 0 0;pointer-events:none}
 .story-art{margin:0 -6px 0 -8px}.story-scene figcaption{margin:2px 0 0;pointer-events:auto}
 .story-first-caption{font-size:11px;line-height:1.7;letter-spacing:0}
 .story-keepsake{display:none}.story-collection{font-size:10px;line-height:1.7;gap:5px;margin:0;min-height:44px;text-align:center}
 .story-hero .home-question{grid-column:1 / -1;grid-row:2}.story-hero .home-question-copy{padding:18px 0 0}
 .story-hero .home-question h2{font-size:22px;margin:12px 0 8px}.story-hero .home-question-copy>p{font-size:13px;margin-bottom:18px}
 .story-hero .home-other-questions{gap:8px}.home-story-view .home-private{font-size:11px;line-height:1.9;margin:13px 3px 22px}
}
@media(max-width:360px){.story-hero{padding:20px 16px 16px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.story-intro h1{font-size:19px}.story-intro>p:last-child{font-size:11px}.story-hero .home-question h2{font-size:21px}.story-first-caption{font-size:10px}}
@media(prefers-reduced-motion:reduce){.story-entrance .story-art img,.story-entrance .story-trace,.story-entrance figcaption{animation:none}.story-keepsake{transition:none}}
@media(max-width:760px){
 .story-intro{display:contents}
 .story-intro .eyebrow{grid-column:1 / -1;grid-row:1;margin-bottom:12px}
 .story-intro h1{grid-column:1 / -1;grid-row:2;font-size:25px;line-height:1.55;margin-bottom:16px}
 .story-intro>p:last-child{grid-column:1;grid-row:3;align-self:center;font-size:12px;padding-right:10px;margin-bottom:18px}
 .story-scene{grid-column:2;grid-row:3;margin:-8px -8px 10px 0}
 .story-art{margin:0 -5px 0 -12px}
 .story-hero .home-question{grid-row:4}
 .story-collection{font-size:10px;display:block;line-height:1.7;padding:7px 0}.story-collection span{display:none}
}
@media(max-width:360px){.story-intro h1{font-size:23px}.story-intro>p:last-child{font-size:11px}.story-collection{font-size:9px}}

/* A quiet writing page: question, words, then one clear save action. */
dialog.writing-modal{width:min(680px,calc(100% - 28px));padding:34px 38px 0;scroll-padding-bottom:135px}
.writing-heading .eyebrow{padding-right:26px}.writing-heading .modal-title{font-size:27px;line-height:1.7;margin:16px 0 8px}
.writing-heading .helper{margin:0 0 26px}
.writing-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.writing-label .field-label{margin:0;font-weight:600}.writing-label .pill{font-size:12px;white-space:nowrap}
#editor textarea{display:block;min-height:220px;line-height:2.1;padding:18px 20px;background:#fffefa;border-color:#bbc2b0;scroll-margin-top:20px}
#editor textarea::placeholder{color:#7c8274;opacity:1}#editor textarea:focus{outline:2px solid var(--green);outline-offset:3px}
#editor .editor-bottom{font-size:12px;line-height:1.7;gap:12px;margin:10px 0 0;min-height:22px}#editor #count{white-space:nowrap}
#editor .writing-draft-help{font-size:13px;line-height:1.8;margin:9px 0 0}
.writing-warning{margin:0 0 12px}.writing-error{padding:12px 14px;border:1px solid #c5967f;border-radius:8px;background:#fff5ee;color:#823e2d;font-size:14px;line-height:1.8}
.writing-footer{position:sticky;bottom:0;background:var(--paper);border-top:1px solid var(--line);padding:14px 0 22px;margin-top:22px;z-index:1}
.writing-private{font-size:12px;color:var(--muted);margin:0 0 12px}.writing-footer .modal-actions{margin:0;align-items:center;gap:16px}
#save-story{min-width:180px}#save-story:disabled{opacity:.5;cursor:not-allowed}
.saved-preview{padding:20px 22px;margin:20px 0;border-left:3px solid #b3bea0;background:#f5f4ed;border-radius:0 10px 10px 0;overflow-wrap:anywhere}
.saved-preview>p{font-size:13px;color:var(--muted);margin:0 0 12px}.saved-preview blockquote{font-family:'Hiragino Mincho ProN','Yu Mincho',YuMincho,serif;font-size:18px;line-height:1.9;margin:0;white-space:pre-wrap}
@media(max-width:760px){
 dialog.writing-modal{padding:30px 20px 0;max-height:94dvh;width:calc(100% - 20px);scroll-padding-bottom:164px}
 .writing-heading .eyebrow{font-size:10px;letter-spacing:.06em}.writing-heading .modal-title{font-size:23px;line-height:1.65;margin-top:17px}
 .writing-heading .helper{margin-bottom:22px;font-size:13px}.writing-label{gap:8px}.writing-label .field-label{font-size:15px}.writing-label .pill{font-size:11px}
 #editor textarea{min-height:200px;padding:14px;line-height:1.95}#editor .editor-bottom{font-size:11px;gap:8px}#editor .editor-bottom span:first-child{max-width:none}
 .writing-footer{padding:12px 0 18px;margin-top:18px}.writing-private{font-size:11px;line-height:1.8;margin-bottom:10px}
 .writing-footer .modal-actions{flex-direction:column-reverse;gap:6px;align-items:stretch}.writing-footer .modal-actions button{width:100%;min-height:44px}
 #editor .writing-draft-help{font-size:12px}.saved-preview{padding:16px}.saved-preview blockquote{font-size:16px}
}

/* Personal archive and a calm reading view. */
.archive-header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}
.archive-header .eyebrow{margin-bottom:14px}.archive-header h1{margin:0 0 12px}.archive-header p{color:var(--muted);font-size:14px;margin:0;max-width:540px}.archive-header>.button{flex-shrink:0}
.archive-controls{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px;align-items:end;margin:22px 0 16px}.archive-sort{display:block;font-size:12px;color:var(--muted)}.archive-sort select{display:block;margin-top:7px;font-size:14px;min-height:52px}
.archive-filters{display:flex;flex-wrap:wrap;gap:8px}.archive-filters button{display:flex;align-items:center;gap:10px}.archive-filters button span{font-size:12px;opacity:.8}
.archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.archive-card{display:flex;flex-direction:column;min-width:0;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:24px 26px;box-shadow:0 3px 0 #e9e8dd;transition:border-color .18s,box-shadow .18s;overflow-wrap:anywhere}
.archive-card:hover{border-color:#aab79b;box-shadow:0 5px 15px #34472e0a}.archive-card-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted);margin-bottom:18px}.archive-card-meta>span{color:#707a53}.archive-card h2{font-size:22px;line-height:1.75;margin:0 0 16px;font-weight:500}.archive-excerpt{white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:15px;line-height:1.95;margin:0 0 22px;color:#535e4f}
.archive-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:16px;margin-top:auto;font-size:13px;color:var(--green)}.archive-card-foot>span:last-child{white-space:nowrap}.archive-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.archive-badges .pill{font-size:11px}.is-shared{background:#e8edde;color:#415933}.draft-indicator{font-size:11px;color:#87724f}
.archive-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);padding:18px 0 0;margin:34px 0 0;font-size:14px}.archive-footer .text-button{font-size:13px}
.archive-drafts{border:1px solid #e2ddc8;padding:12px 20px;margin:0 0 24px}.archive-drafts summary{font-size:15px;font-weight:500}.archive-drafts summary span{font-size:12px;font-weight:400;margin-left:10px;color:#756e54}.archive-drafts .helper{margin:5px 0 12px;font-size:13px}.archive-drafts button b{display:block;color:#817153;font-size:11px;font-weight:400;margin-bottom:5px}.archive-drafts button>span:first-child{min-width:0}.archive-drafts small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.archive-empty img{opacity:.65;margin-bottom:20px}.archive-empty h2{font-size:25px}.archive-empty p{max-width:430px;margin:0 auto 24px}.archive-notes{margin-top:28px}#record-count{margin:18px 0 14px}

dialog.reading-modal{width:min(740px,calc(100% - 28px));padding:24px 42px 28px}.reader-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-right:25px;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:30px}.reader-top>span{font-size:12px;color:var(--muted)}.reader-top button{font-size:13px}
.reader-heading .eyebrow{font-size:11px}.reader-heading .modal-title{font-size:29px;line-height:1.8;margin:14px 0 18px}.reader-meta{display:flex;flex-wrap:wrap;gap:14px;align-items:center;color:var(--muted);font-size:12px}.reader-meta .pill{font-size:11px}.reader-updated{font-size:11px;color:var(--muted);margin:8px 0 0}
.reader-body{font-family:'Hiragino Mincho ProN','Yu Mincho',YuMincho,serif;font-size:19px;line-height:2.15;margin:34px 0 38px;letter-spacing:.015em}
.reader-edit{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:20px;border-top:1px solid var(--line)}.reader-edit>span{font-size:13px;color:var(--muted);max-width:340px}.reader-edit .button{flex-shrink:0}
.reader-history{margin:20px 0 0;padding:10px 0;border:0}.reader-history summary{font-size:13px}.reader-history .helper{font-size:12px}.reader-history article p{font-size:16px}.reader-history small{font-size:12px}
.reader-sharing{display:flex;justify-content:space-between;align-items:center;gap:22px;background:#f1f3e9;border:1px solid #e0e5d4;border-radius:10px;padding:20px;margin-top:28px}.reader-sharing h3{font-size:15px;font-weight:500;margin:0 0 5px}.reader-sharing p{font-size:13px;color:var(--muted);margin:0}.reader-sharing .button{flex-shrink:0;font-size:13px}.reader-sharing ul{margin:8px 0 0;padding:0;list-style:none;font-size:14px}.reader-sharing li{overflow-wrap:anywhere;margin-top:8px}.reader-sharing small{display:block;font-size:11px;color:var(--muted)}
.reader-other{font-size:12px;margin-top:18px}.reader-other summary{color:var(--muted)}.reader-other .helper{margin:4px 0;font-size:12px}.reader-other .text-button{font-size:13px}.reader-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.reader-bottom>.text-button{font-size:13px}
.large-text .archive-excerpt{font-size:18px}.large-text .reader-body{font-size:22px}
@media(max-width:760px){
 .archive-header{display:block;margin-bottom:24px}.archive-header h1{font-size:28px}.archive-header>.button{margin-top:18px}.archive-header .eyebrow{font-size:10px}.archive-header p{font-size:13px;line-height:1.9}
 .archive-controls{grid-template-columns:1fr;gap:12px}.archive-sort{display:flex;align-items:center;gap:14px}.archive-sort select{flex:1;min-width:0;margin:0;font-size:14px;min-height:44px}.archive-controls input{font-size:16px}
 .archive-filters{gap:6px}.archive-filters .filter{padding:8px 12px;font-size:13px;gap:6px}.archive-filters button span{font-size:11px}
 .archive-grid{grid-template-columns:1fr;gap:16px}.archive-card{padding:20px}.archive-card h2{font-size:21px}.archive-card-meta{font-size:11px;margin-bottom:14px}.archive-excerpt{font-size:15px;margin-bottom:18px}.archive-card-foot{font-size:12px;gap:8px}.archive-card-foot .pill{font-size:10px}.archive-badges{gap:4px}
 .archive-drafts{padding:10px 16px}.archive-drafts summary{font-size:14px}.archive-drafts summary span{display:block;margin:0 0 0 16px}.archive-drafts button{display:block}.archive-drafts button>span:last-child{display:block;margin-top:8px;color:var(--green)}.archive-drafts small{font-size:13px}
 .archive-empty{padding:30px 20px}.archive-empty h2{font-size:23px}.archive-empty .button{white-space:normal}.archive-footer{margin-top:26px}.archive-footer button{font-size:12px}
 dialog.reading-modal{width:calc(100% - 20px);padding:22px 22px 20px;max-height:94dvh}.reader-top{display:block;padding-right:26px;margin-bottom:24px}.reader-top>span{display:block;font-size:11px}.reader-top button{padding:0;font-size:13px}.reader-heading .modal-title{font-size:24px;line-height:1.75;padding:0}.reader-meta{font-size:11px;gap:8px}.reader-body{font-size:17px;line-height:2.15;margin:28px 0 30px}
 .reader-edit{display:block}.reader-edit>span{display:block;font-size:12px}.reader-edit .button{margin-top:12px}.reader-sharing{display:block;padding:18px}.reader-sharing .button{margin-top:14px;width:100%}.reader-sharing p{font-size:12px}.reader-history summary{font-size:12px}.reader-bottom{gap:10px}.reader-bottom .button{width:100%}
}
.archive-write-short{display:none}
@media(max-width:760px){
 .archive-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 8px;margin-bottom:20px}.archive-header>div{display:contents}.archive-header .eyebrow{display:none}.archive-header h1{grid-column:1;grid-row:1;font-size:25px;margin:0;letter-spacing:0}.archive-header p{grid-column:1 / -1;grid-row:2;font-size:12px;margin:0}.archive-header>.archive-write{grid-column:2;grid-row:1;margin:0;min-height:44px;padding:9px 12px;font-size:12px}.archive-header>.button:not(.archive-write){grid-column:1 / -1;grid-row:3;margin:0;justify-self:start}
 .archive-write-long{display:none}.archive-write-short{display:inline}.archive-controls{margin-top:18px;gap:10px}.archive-controls .search-label input{min-height:48px;padding:10px 12px}
}

/* A dedicated writing page; the text grows with the story. */
body.writing-page .sidebar,body.writing-page .topbar,body.writing-page .shell>footer{display:none}
body.writing-page .shell{margin-left:0;max-width:none;padding:0}
body.writing-page #main{padding:0;max-width:none;margin:0}
.writing-sheet{max-width:920px;margin:0 auto;padding:0 48px 32px}
.writer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 0;border-bottom:1px solid var(--line,#deded4)}
.writer-toolbar .brand{display:flex;align-items:center;gap:9px;font-size:21px;letter-spacing:2px}
.writing-sheet .writing-heading{margin:64px 0 34px}
.writing-sheet h1{font-family:var(--serif,"Yu Mincho",serif);font-size:34px;line-height:1.65;font-weight:500;overflow-wrap:anywhere}
.writing-sheet #entry-text{width:100%;min-height:300px;max-height:none;overflow:hidden;resize:none;border:0;border-radius:0;background:transparent;padding:20px 0;font-size:19px;line-height:2.1;box-shadow:none}
.writing-sheet #entry-text:focus{outline:2px solid #8e9c73;outline-offset:8px}
.writing-sheet .writing-footer{position:sticky;bottom:0;background:#faf9f2f5;border-top:1px solid #dfdfd3;padding:16px 0;backdrop-filter:blur(8px);display:flex;justify-content:space-between;align-items:center;gap:16px;z-index:3}
.writing-sheet .writing-footer .modal-actions{margin:0;flex-shrink:0}
.writing-sheet .writing-private{font-size:12px;max-width:300px;margin:0}
.photo-attachment{margin:28px 0 24px;padding-top:24px;border-top:1px solid #deded4}
.photo-attachment h2{font-size:20px;font-weight:500;margin:0}
.photo-attachment .section-top{margin:0}
.photo-picker{display:block;position:relative;text-align:center;border:1px dashed #aeb79b;border-radius:12px;padding:22px;cursor:pointer;color:#4c6146;background:#f1f2e8}
.photo-picker span{display:block;font-weight:600;font-size:16px}
.photo-picker small{display:block;font-size:12px;margin:5px 0}
.photo-picker input{display:block;max-width:100%;width:auto;margin:10px auto 0;border:0;background:transparent;font-size:13px;padding:4px}
.photo-picker.dragging{outline:3px solid #708956}
.photo-format{font-size:12px;line-height:1.7}
.attached-photo{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:20px;padding:16px 0;border-top:1px solid #e0e1d7}
.attached-photo>img{width:160px;height:130px;object-fit:contain;border-radius:8px;background:#e9e9e1}
.attached-photo label{display:block;margin-bottom:8px}
.attached-photo label small{font-size:11px;color:#6d7467}
.attached-photo input{width:100%;box-sizing:border-box}
.photo-actions{display:flex;gap:16px;justify-content:flex-end;flex-wrap:wrap;margin-top:4px}
.photo-actions button{min-height:44px;font-size:13px}
#photo-status{font-size:13px;color:#4c6146}
.photo-gallery{display:grid;gap:28px;margin:30px 0}
.photo-gallery figure{margin:0}
.photo-gallery img{display:block;width:100%;max-height:640px;object-fit:contain;border-radius:8px;background:#efefe7}
.photo-gallery figcaption{margin:10px 0;color:#616657;font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.photo-gallery.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.photo-gallery.compact img{max-height:220px}
.archive-photo{width:100%;height:160px;object-fit:cover;border-radius:6px;margin:14px 0 0}
.large-text .writing-sheet #entry-text{font-size:22px}
@media(max-width:650px){
 .writing-sheet{padding:0 22px 12px}.writer-toolbar{gap:8px;padding:14px 0}.writer-toolbar .brand{font-size:16px;letter-spacing:1px}.writer-toolbar .brand img{width:26px;height:26px}.writer-toolbar .pill{font-size:10px;padding:5px 7px}.writer-toolbar>button{font-size:13px;padding:5px}
 .writing-sheet .writing-heading{margin:36px 0 24px}.writing-sheet h1{font-size:26px}.writing-sheet #entry-text{font-size:17px;min-height:260px;line-height:2}
 .writing-sheet .writing-footer{display:block;padding:10px 0 calc(10px + env(safe-area-inset-bottom))}.writing-sheet .writing-private{max-width:none;margin-bottom:6px;font-size:11px}.writing-sheet .writing-footer .modal-actions{display:flex;gap:10px}.writing-sheet #save-story{flex:1;min-height:48px}.writing-sheet #draft-close{font-size:12px;max-width:110px}
 .attached-photo{grid-template-columns:1fr;gap:12px}.attached-photo>img{width:100%;height:200px}.photo-gallery.compact{grid-template-columns:1fr}.photo-picker small{display:none}.photo-picker{padding:16px 10px}.photo-attachment h2{font-size:18px}
}

.writing-sheet h1:focus{outline:none}
.writing-sheet .writing-heading{margin-top:44px}
.writing-sheet #entry-text{min-height:220px}
.photo-picker input{position:absolute;inset:0;width:100%;height:100%;max-width:none;margin:0;opacity:0;cursor:pointer}
.photo-picker:focus-within{outline:2px solid #708956;outline-offset:3px}
.photo-picker:has(input:disabled){opacity:.55;cursor:default}
@media(max-width:650px){.writing-sheet .writing-heading{margin-top:30px}.writing-sheet #entry-text{min-height:220px}}
@media(max-width:650px){
 .writer-toolbar .brand-word{font-size:18px;letter-spacing:1.5px}.writer-toolbar .brand{gap:6px;flex-shrink:0}.writer-toolbar .pill,.writer-toolbar>button{white-space:nowrap;flex-shrink:0}.writer-toolbar .pill{font-size:9px;padding:4px 6px}.writer-toolbar{gap:6px}
}
@media(max-width:650px){
 .writing-sheet .writing-footer .modal-actions{flex-direction:row;flex-wrap:nowrap;align-items:center}.writing-sheet .writing-footer .modal-actions button{width:auto}.writing-sheet #draft-close{flex:0 1 105px}.writing-sheet #save-story{padding-left:12px;padding-right:12px}
 body.writing-page .shell{margin-bottom:0}
}

/* Share one story: choose people first, then review the exact text and photos. */
dialog.sharing-modal{width:min(720px,calc(100% - 28px));padding:34px 38px 18px;scroll-padding-bottom:100px}
#share-flow{min-width:0}#share-flow .modal-title{line-height:1.6;margin-bottom:20px;padding-right:22px}
.share-steps{display:flex;gap:24px;list-style:none;padding:0 0 22px;margin:0 0 24px;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}.share-steps li{display:flex;align-items:center;gap:8px}.share-steps span{display:grid;place-items:center;border:1px solid #cbd2c2;border-radius:50%;width:27px;height:27px;flex:none}.share-steps [aria-current]{color:var(--green);font-weight:600}.share-steps [aria-current] span{background:var(--green);color:white;border-color:var(--green)}
.share-intro{font-size:16px;line-height:1.9}.share-story-summary{display:flex;gap:16px;align-items:center;padding:18px;background:#f0f2e9;border-radius:10px;margin:20px 0}.share-story-summary img{width:76px;height:76px;object-fit:cover;border-radius:6px;flex:none}.share-story-summary>div{min-width:0}.share-story-summary .eyebrow{font-size:10px}.share-story-summary h3{font-family:inherit;font-size:16px;line-height:1.7;margin:6px 0;overflow-wrap:anywhere}.share-story-summary p{font-size:13px;margin:0;color:var(--muted)}
#share-flow .audience-field{border:0;border-top:1px solid var(--line);border-radius:0;padding:12px 0;margin-top:26px}#share-flow .audience-field legend{font-weight:600;padding:0 12px 0 0}#share-flow .audience-field label{border:1px solid var(--line);border-radius:8px;margin:8px 0;padding:14px;gap:14px;overflow-wrap:anywhere}#share-flow .audience-field label:has(input:checked){border-color:var(--green);background:#eef3e5}#share-flow .audience-field small{font-size:12px;margin-top:5px}#share-flow .audience-field input{width:22px;height:22px}
.share-empty{padding:12px 0;font-size:15px;line-height:1.9}.share-empty h3{font-size:17px}.share-empty .button{margin-top:8px}
.share-footer{position:sticky;bottom:-18px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;margin:24px 0 0;border-top:1px solid var(--line);background:var(--paper);box-shadow:0 -8px 18px var(--paper);z-index:2}.share-footer button{white-space:normal}.share-return{margin-top:16px}.share-destination{padding:18px 20px;background:#eef3e5;border-radius:10px}.share-destination h3{margin:0 0 10px;font-size:15px;font-family:inherit}.share-people{list-style:none;margin:0;padding:0;display:grid;gap:10px}.share-people li{display:flex;align-items:baseline;gap:6px 16px;flex-wrap:wrap;overflow-wrap:anywhere}.share-people span{font-size:17px;font-weight:500}.share-people small{font-size:12px;color:var(--muted)}
#share-flow .share-preview{background:transparent;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0;margin:24px 0}#share-flow .share-preview h4{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:23px;line-height:1.8}#share-flow .share-text{font-size:17px;line-height:2}.share-photo-count{font-size:13px;color:var(--green);margin:26px 0 0}#share-flow .photo-gallery{margin:16px 0 0;gap:24px}#share-flow .photo-gallery img{max-height:400px}#share-flow figcaption>span{font-size:12px;color:var(--muted)}#share-flow figcaption>p{margin:4px 0 0}#share-photo-status:empty{display:none}#share-photo-status{font-size:14px;color:#924329;line-height:1.8}
.share-rules{margin:16px 0;font-size:14px;line-height:1.9}.share-rules summary{color:var(--green);font-weight:500}.share-rules p{margin:8px 0}.share-success-mark{width:48px;height:48px;display:grid;place-items:center;background:#e8efdd;color:var(--green);border-radius:50%;font-size:25px;margin:0 0 24px}.share-complete>p{line-height:1.9}.share-receipt{padding:20px;border:1px solid var(--line);border-radius:10px;margin:24px 0}.share-receipt h3{font-size:18px;line-height:1.8;margin:0 0 8px}.share-receipt p{font-size:14px;margin:0;color:var(--muted)}
@media(max-width:760px){dialog.sharing-modal{width:calc(100% - 16px);padding:30px 20px 16px;max-height:94dvh;scroll-padding-bottom:150px}.share-steps{gap:16px;font-size:13px}.share-story-summary{padding:14px;gap:12px}.share-story-summary img{width:54px;height:68px}.share-story-summary h3{font-size:15px}.share-footer{bottom:-16px;flex-direction:column-reverse;align-items:stretch;padding:12px 0;gap:4px}.share-footer .button{width:100%}.share-footer .text-button{width:100%}.share-destination{padding:16px}#share-flow .share-preview h4{font-size:21px}#share-flow .share-text{font-size:16px}.share-return{width:100%}.share-people li{display:block}.share-people small{display:block;margin-top:4px}}

@media(max-width:760px){#share-flow .modal-title{padding-right:12px;margin-bottom:16px}.share-steps{margin-bottom:16px;padding-bottom:16px}.share-intro{font-size:14px}.share-story-summary{margin:16px 0;padding:12px}#share-flow .audience-field{margin-top:18px}}

/* Continue from a story through invitation, participation, and explicit sharing. */
.sharing-setup{padding:28px;background:var(--paper);border:1px solid #cbd5bf;border-radius:14px;margin:24px 0 36px}.sharing-setup h2{font-size:25px;margin:12px 0 20px;line-height:1.6}.setup-story{padding:16px 18px;background:#eef2e7;border-radius:8px;display:grid;gap:6px;margin-bottom:22px;overflow-wrap:anywhere}.setup-story span,.setup-story small{font-size:12px;color:var(--muted)}.setup-story strong{font-weight:500;font-size:17px;line-height:1.8}.setup-steps{list-style:none;padding:0;margin:0 0 20px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.setup-steps li{min-width:0}.setup-steps b{display:block;font-size:15px;color:var(--green);margin-bottom:10px}.setup-steps span{font-size:14px;color:var(--muted);line-height:1.9;display:block}.setup-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.sharing-setup>.helper{margin:18px 0 0}.invite-next{padding-left:24px;margin:24px 0;font-size:15px;line-height:1.9}.invite-next li{margin:12px 0}.invite-group-options{display:grid;gap:12px}.invite-group-options button{white-space:normal;overflow-wrap:anywhere}
@media(max-width:760px){.sharing-setup{padding:20px 18px;margin:20px 0 28px}.sharing-setup h2{font-size:22px}.setup-steps{grid-template-columns:1fr;gap:16px}.setup-steps b{margin-bottom:5px}.setup-actions{align-items:stretch;flex-direction:column}.setup-actions .button{width:100%;white-space:normal}.setup-story{padding:14px}.setup-story strong{font-size:16px}}

/* People first: a visual invitation, then actual members and a clear next action. */
.people-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:30px;padding:4px 0 24px}.people-hero h1{font-size:38px;margin:10px 0 12px}.people-hero-copy>p{font-size:17px;line-height:1.9;margin-bottom:24px;color:#58634f}.people-hero-copy>.button{gap:10px;font-size:15px;padding:12px 22px}.people-hero .button svg{width:23px;height:23px}.people-promise{display:flex;align-items:center;gap:7px;font-size:12px;margin-top:13px;color:#66725d}.people-promise svg{width:17px;height:17px;flex:none}.people-scene{margin:0;max-width:440px;justify-self:center}.people-scene img{display:block;width:100%;height:auto;animation:people-arrive .65s ease-out both}.people-scene figcaption{text-align:center;font-family:'Noto Serif JP',serif;font-size:13px;color:#69755d;margin-top:2px;letter-spacing:.06em}
.people-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;list-style:none;padding:23px 0;margin:4px 0 26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.people-flow li{display:flex;gap:13px;align-items:center;position:relative;min-width:0}.people-flow li:not(:last-child):after{content:'›';position:absolute;right:-15px;color:#9ba68d;font-size:23px}.people-step-icon{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;background:#e8edde;color:#637852;flex:none}.people-step-icon svg{width:27px;height:27px}.people-flow li:nth-child(2) .people-step-icon{background:#f0e5d7;color:#9c7754}.people-flow li:nth-child(3) .people-step-icon{background:#e4eaea;color:#668080}.people-step-number{font-size:10px;color:#7a856e;letter-spacing:.12em}.people-flow h2{font-family:inherit;font-weight:500;font-size:14px;line-height:1.6;margin:0 0 3px}.people-flow p{font-size:11px;line-height:1.7;color:#67715f;margin:0}
.people-next.sharing-setup{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:21px 24px;margin:0 0 30px;border-radius:12px;background:#eef2e7;border-color:#d5dec9}.people-next-copy{min-width:0;flex:1}.people-next-label{font-size:11px;color:#5b704b}.people-next h2{font-size:21px;margin:4px 0 7px}.people-next p{font-size:12px;color:#66715e;margin:0}.people-next .setup-actions{flex-direction:column;flex-shrink:0;gap:4px;max-width:44%}.people-next .setup-actions .button{white-space:normal;gap:6px}.people-next .setup-story{background:#fffef9a6;border-left:2px solid #9daf8b;border-radius:0;padding:9px 12px;margin:13px 0}.people-next .setup-story strong{font-size:15px}.people-next .setup-story small{font-size:11px}
.people-groups .section-top{gap:20px;align-items:flex-start}.people-groups .section-top>button{flex:none}.people-groups .section-top h2{font-size:23px}.people-groups .section-top h2 small{font-size:12px;line-height:1.8;margin-top:7px;color:#6d7864}.people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.people-group{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:23px;display:flex;flex-direction:column;min-width:0}.people-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.people-group-state{font-size:11px;color:#826c50}.people-group-state.is-ready{color:#57714a}.people-group-state:before{content:'';display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;margin-right:6px}.people-group h3{font-family:'Noto Serif JP',serif;font-size:22px;font-weight:500;line-height:1.7;margin:16px 0;overflow-wrap:anywhere}.people-members{list-style:none;padding:0;margin:0;display:flex;gap:16px;flex-wrap:wrap}.people-members li{display:flex;align-items:center;gap:9px;min-width:0;max-width:100%;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.people-members small{display:block;font-size:10px;color:#737d69;margin-top:3px}.member-portrait{display:flex;align-items:center;justify-content:center;flex:none;width:39px;height:43px;border-radius:45% 45% 40% 40%;font-size:16px;font-family:'Noto Serif JP',serif}.tone-0{background:#e4ebd9;color:#607550}.tone-1{background:#f2e4d7;color:#967154}.tone-2{background:#e2e9eb;color:#607f82}.people-waiting{font-size:12px;color:#7c765f;margin:17px 0 0}.people-group-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:auto;padding-top:24px}.people-group-actions .button{gap:6px}.people-group-actions .text-button{font-size:12px}.people-group-foot{margin-top:18px;border-top:1px solid var(--line);padding-top:8px}.people-group-foot .text-button{color:#78836e;font-size:11px}.people-empty{display:flex;align-items:center;gap:20px;border:1px dashed #cbd3bf;background:#f0f2e9;padding:25px;border-radius:12px}.people-empty-icon{flex:none;color:#839372}.people-empty-icon svg{width:48px;height:48px}.people-empty h3{font-family:'Noto Serif JP',serif;font-size:20px;font-weight:500;margin:0 0 6px}.people-empty p{font-size:13px;color:#69755e;margin:0}.people-solo{margin:30px 0 0;border-top:1px solid var(--line);padding-top:20px;color:#6c7861}.people-solo summary{cursor:pointer;font-size:13px}.people-solo>p{font-size:12px;margin:12px 0}.people-solo .member-row{gap:12px;flex-wrap:wrap}.people-solo .member-row>div{display:flex;gap:18px}
.invite-sheet{min-width:0}.invite-heading-icon{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:#e9edde;color:#6c8158;margin-bottom:20px}.invite-heading-icon svg{width:29px;height:29px}.invite-sheet .modal-title{font-size:28px;line-height:1.6;margin:8px 0 14px}.invite-group-label{font-size:13px;color:#737d68;padding-bottom:16px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.invite-group-label strong{font-weight:500;color:var(--ink)}.invite-sheet .field-label{font-size:14px;margin-top:21px}.invite-sheet input{width:100%;min-height:48px;border:1px solid #cbd3c0;border-radius:8px;padding:10px 12px;background:var(--paper);font-size:16px}.invite-sheet .helper{font-size:12px;line-height:1.7;margin:7px 0 0;color:#707b65}.invite-submit{margin-top:27px}.invite-submit .button,.invite-copy{width:100%;font-size:15px;min-height:48px;gap:8px}.invite-submit>p{font-size:12px;text-align:center;line-height:1.8;margin:12px 0 18px;color:#65725a}.invite-details{border-top:1px solid var(--line);padding-top:15px;font-size:12px;color:#6d7863}.invite-details summary{cursor:pointer;padding:4px 0}.invite-details p{line-height:1.9;margin:10px 0 0}.invite-address{background:#f0f2e9;border-radius:9px;padding:14px 16px;margin:20px 0;display:grid;gap:4px;overflow-wrap:anywhere}.invite-address>span,.invite-address small{font-size:12px;color:#707b65}.invite-address strong{font-size:16px;font-weight:500}.invite-sheet #invite-link{font-size:13px;min-height:70px;line-height:1.7;padding:10px;margin-bottom:13px;word-break:break-all}.invite-copy-status{font-size:12px;line-height:1.7;color:#556c46;margin:10px 0 4px}.invite-after{border-top:1px solid var(--line);margin-top:24px;padding-top:22px;display:flex;gap:13px;align-items:flex-start}.invite-after-icon{color:#7d8e69;flex:none}.invite-after-icon svg{width:31px;height:31px}.invite-after h3{font-family:inherit;font-size:14px;font-weight:500;margin:0 0 4px}.invite-after p{font-size:12px;color:#748066;margin:0 0 4px}.invite-after .text-button{font-size:13px}
@keyframes people-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.people-scene img{animation:none}}
@media(min-width:761px) and (max-width:1100px){.people-hero{gap:12px}.people-flow{gap:14px}.people-flow li{gap:8px}.people-step-icon{width:38px;height:38px}.people-step-icon svg{width:23px;height:23px}.people-flow h2{font-size:12px}.people-flow p{font-size:10px}.people-next.sharing-setup{gap:16px;padding:18px}.people-grid{gap:14px}.people-group{padding:18px}}
@media(max-width:760px){.people-hero{grid-template-columns:1fr;gap:10px;padding:0 0 15px}.people-hero h1{font-size:30px;margin:7px 0 9px}.people-hero-copy>p{font-size:15px;margin-bottom:17px}.people-hero-copy>.button{font-size:14px;min-height:46px}.people-promise{font-size:11px;margin-top:11px}.people-scene{width:min(100%,310px);margin-top:-3px}.people-scene figcaption{font-size:11px}.people-flow{grid-template-columns:1fr;gap:15px;padding:19px 0;margin-bottom:21px}.people-flow li{gap:15px}.people-flow li:not(:last-child):after{display:none}.people-step-icon{width:43px;height:43px}.people-step-icon svg{width:24px;height:24px}.people-flow li>div{display:grid;grid-template-columns:auto 1fr;gap:0 7px;align-items:baseline}.people-step-number{font-size:10px}.people-flow h2{font-size:14px}.people-flow p{grid-column:2;font-size:11px}.people-next.sharing-setup{flex-direction:column;align-items:stretch;padding:19px;gap:15px;margin-bottom:23px}.people-next h2{font-size:20px}.people-next .setup-actions{max-width:none;align-items:stretch}.people-next .setup-actions .button{font-size:13px}.people-groups .section-top{display:block;margin-top:25px}.people-groups .section-top h2{font-size:21px}.people-groups .section-top>button{margin-top:10px}.people-grid{grid-template-columns:1fr;gap:16px}.people-group{padding:20px}.people-group h3{font-size:21px}.people-group-actions{gap:8px 16px;padding-top:21px}.people-empty{padding:20px 17px;gap:12px;align-items:flex-start}.people-empty-icon svg{width:34px;height:34px}.people-empty h3{font-size:17px}.people-empty p{font-size:12px}.invite-heading-icon{width:44px;height:44px;margin-bottom:14px}.invite-heading-icon svg{width:25px;height:25px}.invite-sheet .modal-title{font-size:24px}.invite-sheet .field-label{margin-top:18px;font-size:14px}.invite-sheet .helper{font-size:11px}.invite-sheet>p{font-size:13px}.invite-submit{margin-top:23px}.invite-submit>p{font-size:11px}.invite-after{gap:10px}.invite-after h3{font-size:13px}.invite-address strong{font-size:14px}}
.large-text .people-flow h2,.large-text .people-members li,.large-text .invite-sheet .field-label{font-size:17px}.large-text .people-flow p,.large-text .people-next p,.large-text .invite-sheet .helper,.large-text .invite-submit>p{font-size:14px}

@media(max-width:480px){.invite-sheet .modal-actions{flex-direction:column-reverse;align-items:stretch}.invite-sheet .modal-actions .button{width:100%}}

/* Group reading and sharing stay in one place. */
.group-room{max-width:1080px;margin:auto}.group-room-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.group-room-header h1{overflow-wrap:anywhere;margin:10px 0}.group-room-header p{color:var(--muted);line-height:1.7}.group-room-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-bottom:36px}.group-room section{margin:30px 0}.group-room-empty{background:#f0f2e9;border-radius:20px;padding:30px;text-align:center}.group-room-empty>span{display:block;width:40px;margin:auto;color:#687556}.group-room-empty p{max-width:540px;margin:12px auto;line-height:1.8}.group-story-choice{display:flex;align-items:center;width:100%;text-align:left;gap:16px;padding:20px 0;border:0;border-bottom:1px solid #e3e5da;background:transparent;color:inherit;cursor:pointer}.group-story-choice>span:first-of-type{flex:1;min-width:0}.group-story-choice strong,.group-story-choice small{display:block;overflow-wrap:anywhere}.group-story-choice strong{font-size:17px;line-height:1.6}.group-story-choice small{color:#6b7165;line-height:1.7;margin-top:6px}.group-story-choice img{width:64px;height:70px;object-fit:cover;border-radius:8px}.share-inline-preview{border-top:1px solid #e3e5da;margin-top:24px;padding-top:20px}.share-inline-preview .share-text{max-height:220px;overflow:auto;white-space:pre-wrap}.share-inline-preview .photo-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.share-inline-preview .photo-gallery img{height:180px;width:100%;object-fit:contain;background:#f4f2ec}.share-inline-preview h3{font-size:16px}.group-room .cards{margin-top:16px}
@media(max-width:600px){.group-room-header{display:block}.group-room-header h1{font-size:28px}.group-room-actions>.button{width:100%}.group-room-empty{padding:24px 18px}.share-inline-preview .photo-gallery{grid-template-columns:1fr}.group-story-choice{gap:10px}.group-story-choice img{width:48px;height:60px}}

/* People's stories lead the home feed, with a shared visual language for photos. */
.story-card:has(.story-card-content){padding:0;overflow:hidden;display:flex;flex-direction:column;text-align:left;width:100%;height:100%}.story-card-content{padding:24px;min-width:0;display:flex;flex-direction:column;flex:1}.story-card-content h3{margin:18px 0 10px}.story-card-content>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 20px}.story-card-content .card-foot{margin-top:auto}.story-card-content .person{gap:10px;align-items:center}.story-card-content .person>span:nth-child(2){flex:1;min-width:0}.story-cover{position:relative;aspect-ratio:16/9;width:100%;background:#e4e9dc;flex:none}.story-cover img{width:100%;height:100%;object-fit:cover;display:block}.story-cover>span{position:absolute;right:12px;bottom:12px;padding:4px 10px;border-radius:20px;background:#fffef9eb;color:#43523a;font-size:12px}.cover-unavailable{min-height:100px;background:linear-gradient(135deg,#e1e7d8,#f0ecdf)}.cover-unavailable img[hidden]{display:none}.unread-badge,.nav-unread{display:inline-flex;align-items:center;justify-content:center;background:#e5eddb;color:#3e5c30;border:1px solid #cad8bb;border-radius:20px;padding:3px 9px;font:500 12px/1.6 'Noto Sans JP',sans-serif;white-space:nowrap}.unread-story{border-color:#aaba99}.nav-unread{margin-left:auto;min-width:24px;padding:1px 6px}.home-feed{padding:24px 0 36px;border-bottom:1px solid var(--line);margin-bottom:36px}.home-feed .section-top{align-items:center;margin:0 0 22px}.home-feed h2{font-size:27px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0}.home-feed .helper{margin:8px 0}.home-feed-cards{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.home-feed-cards .story-card-content{padding:20px}.home-feed-cards .story-card h3{font-size:19px}.home-feed>.text-button{margin-top:12px}.feed-toolbar{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:24px 0 12px}.feed-toolbar .filters{margin:0;display:flex;flex-wrap:wrap;gap:8px}.group-timeline{display:grid;gap:22px;max-width:880px;margin:24px 0}.group-timeline>.story-card.has-cover{display:grid;grid-template-columns:240px minmax(0,1fr)}.group-timeline .story-cover{height:100%;min-height:230px;aspect-ratio:auto}.group-timeline .story-card h3{margin-top:15px}.question-thread{border-top:1px solid var(--line);padding-top:28px}.question-thread>header{display:flex;justify-content:space-between;align-items:center;gap:16px}.question-thread h2{font-size:25px;line-height:1.6;margin:8px 0}.question-thread .cards{align-items:stretch}.group-privacy{margin:28px 0}.group-exit-footer{border-top:1px solid var(--line);padding-top:18px;margin-top:36px}.group-exit-footer p{font-size:12px;margin-top:4px}.people-group-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.people-group-foot .danger{font-size:12px}.exit-consent{display:flex;align-items:center;gap:12px;margin:24px 0;line-height:1.8}.exit-consent input{width:22px;height:22px;flex:none;accent-color:#8b4d3e}.danger-button{background:#854b3f;border-color:#854b3f}.danger-button:hover{background:#6f3b31}
@media(max-width:700px){.home-feed{padding-top:8px}.home-feed h2{font-size:24px}.home-feed-cards{grid-template-columns:1fr}.home-feed-cards .story-card.has-cover{display:grid;grid-template-columns:100px minmax(0,1fr)}.home-feed-cards .story-cover{height:100%;aspect-ratio:auto}.home-feed-cards .story-card-content{padding:16px}.home-feed-cards .person .avatar{display:none}.home-feed-cards .person{flex-wrap:wrap}.home-feed-cards .story-card h3{font-size:17px}.home-feed-cards .story-card-content>p{-webkit-line-clamp:2}.home-feed-cards .card-foot>span:first-child{display:none}.group-timeline>.story-card.has-cover{display:flex}.group-timeline .story-cover{aspect-ratio:16/9;min-height:0;height:auto}.question-thread>header{display:block}.question-thread h2{font-size:22px}.story-card-content{padding:20px}.group-room-actions{margin-bottom:22px}.group-room-header{margin-bottom:18px}.nav-unread{font-size:10px;min-width:18px;padding:0 4px;margin:0 0 0 4px}}
@media(min-width:701px){.home-feed-cards>.story-card.has-cover:only-child{display:grid;grid-template-columns:260px minmax(0,1fr)}.home-feed-cards>.story-card.has-cover:only-child .story-cover{aspect-ratio:auto;height:100%;min-height:240px}.home-feed-cards>.story-card:only-child .story-card-content{padding:24px}}
.question-thread .cards{align-items:start}.question-thread .story-card{height:auto}.question-thread .story-cover{height:180px;aspect-ratio:auto}
@media(max-width:360px){.home-feed-cards .story-card.has-cover{display:flex}.home-feed-cards .story-cover{height:140px;aspect-ratio:auto}.home-feed-cards .story-card-content{padding:18px}.home-feed .section-top{gap:4px}}

/* A story opens a private, two-person conversation. */
.home-conversations{margin:0 0 32px;padding:24px;border:1px solid #dce3db;border-radius:22px;background:#f2f6f0}.home-conversations h2{margin:4px 0}.conversation-preview{display:flex;align-items:center;gap:16px;width:100%;padding:18px 4px;border:0;border-top:1px solid #dce3db;background:transparent;text-align:left;color:inherit;cursor:pointer}.conversation-preview>span:nth-child(2){min-width:0;flex:1}.conversation-preview strong,.conversation-preview small,.conversation-excerpt{display:block}.conversation-preview small{margin:6px 0;color:#58685b;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-excerpt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-symbol{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;background:#dfe9db;color:#355840;font-size:24px}.story-conversation{margin:38px 0;padding:28px;background:#f3f6f0;border:1px solid #dde6da;border-radius:22px;scroll-margin:24px}.conversation-heading{display:flex;gap:14px;align-items:flex-start}.conversation-heading h3{font-size:23px;margin:0 0 8px}.conversation-heading p{margin:0;font-size:14px;color:#465d4c;line-height:1.8}.conversation-group{font-size:13px;color:#5e705f;margin:10px 0 10px 56px}.conversation-select{display:block;margin:20px 0;font-size:14px}.conversation-select select{display:block;width:100%;margin-top:8px}.conversation-toolbar{display:flex;justify-content:space-between;flex-wrap:wrap;margin:14px 0}.conversation-toolbar button{font-size:13px;min-height:40px}.conversation-log{display:flex;flex-direction:column;gap:16px}.conversation-message{max-width:90%;align-self:flex-start;border:1px solid #e0e5da;border-radius:16px 16px 16px 4px;background:#fff;padding:16px 18px;min-width:0}.conversation-message.from-me{align-self:flex-end;border-radius:16px 16px 4px 16px;background:#e5eedf;border-color:#d6e3cf}.conversation-message header{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-size:13px}.conversation-message time{font-size:11px;color:#657061}.conversation-message p{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}.comment-remove{display:block;font-size:12px;margin-top:8px;min-height:36px}.conversation-empty{text-align:center;color:#536752;padding:15px 5px}.conversation-empty>span{font:52px Georgia,serif;line-height:1}.conversation-empty p{margin:0}.conversation-form{margin-top:26px}.conversation-form>label{font-weight:600;display:block;margin-bottom:10px}.conversation-form textarea{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:120px;background:#fff;border:1px solid #afc2a8;border-radius:12px;padding:14px;font:inherit;line-height:1.8}.conversation-prompts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;font-size:12px;color:#586657}.conversation-prompts button{background:#fff;border:1px solid #cad7c3;border-radius:18px;padding:9px 12px;color:#40563b;cursor:pointer;font:inherit;min-height:38px}.conversation-send{display:flex;justify-content:space-between;align-items:center;gap:12px}.conversation-send small{color:#667661}.conversation-status{font-size:14px;line-height:1.8;min-height:1em}.conversation-rules{font-size:12px;color:#596a56;line-height:1.9;margin-top:18px}.conversation-rules summary{cursor:pointer;min-height:36px}.home-conversations details summary{cursor:pointer;padding:12px 0}.story-conversation [hidden]{display:none!important}
@media(max-width:540px){.story-conversation{padding:18px 14px;margin:28px -4px;border-radius:16px}.conversation-heading{gap:10px}.conversation-heading h3{font-size:20px}.conversation-heading .conversation-symbol{width:32px;height:32px;font-size:20px}.conversation-message{max-width:96%;padding:13px}.conversation-group{margin-left:42px}.conversation-send{flex-wrap:wrap}.conversation-send .button{width:100%}.home-conversations{padding:18px 14px}.conversation-preview{gap:10px}.conversation-preview .conversation-symbol{width:30px;height:30px}.conversation-preview strong{font-size:14px}}

/* Home: writing a personal story and reading loved ones have equal entrances. */
.home-welcome{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(200px,1fr);align-items:center;gap:20px;padding:12px 12px 22px}.home-welcome .eyebrow{color:#8b7554;margin:0 0 14px;font-size:12px}.home-welcome h1{font-size:clamp(26px,2.5vw,36px);line-height:1.65;letter-spacing:.025em;color:#355746;margin:0 0 14px}.home-welcome p:last-child{font-size:14px;line-height:1.95;color:var(--muted);margin:0}.home-welcome>img{width:100%;height:auto;max-height:240px;object-fit:contain;mix-blend-mode:multiply}
.home-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}.home-shortcuts button{display:flex;align-items:center;gap:14px;min-height:44px;border:1px solid #dce1d3;border-radius:30px;background:#fffdf7;color:#375943;padding:10px 18px;font-size:14px}.home-shortcuts button:hover{background:#edf1e7}
.home-paths{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin-bottom:32px}.home-path{min-width:0;border:1px solid #dce0cf;border-radius:20px;padding:28px;background:#f5f6ee}.home-reading{background:#fcf7ed;border-color:#e6ddca}.home-path-label{color:#72654b;font-size:12px;letter-spacing:.08em}.home-path>header h2{font-size:24px;line-height:1.6;margin:9px 0;color:#355746}.home-path>header p{font-size:14px;line-height:1.9;color:var(--muted);margin:0 0 24px}.home-path :is(h2,h3){scroll-margin-top:28px}.home-path .home-growing-question{display:block;border:0;border-radius:0;background:none}.home-path .home-question-copy{padding:0}.home-growing-question h3{font-family:'Noto Serif JP',serif;font-size:25px;line-height:1.75;margin:16px 0 10px;font-weight:500}.home-growing-question .home-question-copy>p{font-size:14px;line-height:1.9;margin-bottom:22px}.home-path .button{width:100%;justify-content:center;gap:12px;font-size:14px}.home-path .home-other-questions{justify-content:space-between;gap:8px}.home-path .home-other-questions .text-button{font-size:13px}.home-path-note{font-size:12px;line-height:1.9;color:var(--muted);margin:20px 0 0}.home-reading-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted);margin-bottom:14px}.home-reading .story-card{width:100%;margin:0 0 18px;background:#fffdf8}.home-reading .story-card-content{padding:20px}.home-reading .story-cover{aspect-ratio:2/1}.home-reading .story-card p{-webkit-line-clamp:3}.home-reading-empty{text-align:center;margin-bottom:22px}.home-reading-empty img{display:block;width:100%;max-width:220px;height:130px;object-fit:contain;margin:0 auto 12px}.home-reading-empty h3{font-size:18px;line-height:1.7;margin:12px 0}.home-reading-empty p{font-size:14px;line-height:1.9;color:var(--muted);margin:0}.home-draft{padding:20px;background:#fffaf0;border:1px solid #e4d8bd;border-radius:12px;margin-bottom:24px}.home-draft h3{font-size:19px;line-height:1.7;margin:10px 0}.home-draft p{font-size:14px;color:var(--muted);overflow-wrap:anywhere;white-space:pre-wrap}.home-draft+.home-growing-question{border-top:1px solid #dce0cf;padding-top:22px}.home-bookshelf{margin:34px 0}.home-bookshelf .section-top{margin:0 0 20px}.home-bookshelf h2{margin:10px 0;font-size:24px}.home-bookshelf .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.home-garden .home-conversations{margin:0 0 32px}.home-garden .home-conversations h2{font-size:24px}
.large-text .home-garden :is(.home-path>header p,.home-question-copy>p,.home-reading-empty p,.home-draft p,.home-welcome p:last-child){font-size:18px}.large-text .home-garden :is(.home-path-note,.home-path-label,.home-reading-status){font-size:15px}
@media(max-width:1050px){.home-paths{gap:16px}.home-path{padding:22px}.home-path>header h2{font-size:22px}.home-growing-question h3{font-size:23px}}
@media(max-width:760px){.home-welcome{grid-template-columns:minmax(0,1fr) 100px;gap:0;padding:0 0 20px}.home-welcome>div{display:contents}.home-welcome .eyebrow,.home-welcome h1{grid-column:1 / -1}.home-welcome h1{font-size:25px;line-height:1.65}.home-welcome p:last-child{font-size:13px;padding-right:8px}.home-welcome p:last-child br{display:none}.home-welcome>img{grid-column:2;grid-row:3;width:115px;max-width:none;margin-left:-8px}.home-shortcuts{gap:8px;margin-bottom:20px}.home-shortcuts button{font-size:13px;padding:9px 12px;gap:8px}.home-paths{grid-template-columns:1fr;gap:22px}.home-path{padding:24px 20px}.home-path>header h2{font-size:23px}.home-growing-question h3{font-size:23px}.home-reading-empty img{height:110px}.home-bookshelf .cards{grid-template-columns:1fr}.home-bookshelf h2,.home-garden .home-conversations h2{font-size:22px}.home-garden .home-sharing-guide{font-size:14px}.home-path .home-other-questions .text-button{font-size:13px}.home-garden .home-reading .story-card.has-cover{display:flex;flex-direction:column}.home-garden .home-reading .story-cover{width:100%;height:150px}.home-garden .home-reading .story-card .avatar{display:flex}}
@media(max-width:360px){.home-welcome h1{font-size:22px;letter-spacing:0}}

/* The personal archive grows into a book with a living table of contents. */
.archive-portrait{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:36px;padding:28px 36px;margin:0 0 28px;border:1px solid #e1dfd0;border-radius:18px;background:linear-gradient(115deg,#f1f3e8,#fbf7ed)}.archive-portrait .eyebrow{font-size:11px;color:#7a7057}.archive-portrait h2{font-size:27px;line-height:1.8;margin:12px 0}.archive-portrait p{font-size:14px;line-height:1.95;color:var(--muted);margin:0 0 12px}.archive-since{font-size:12px;color:#72745f}.archive-book{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:218px;border-radius:3px 13px 13px 3px;border:1px solid #b7c3a4;border-left:12px solid #718568;background:#e1e8d7;box-shadow:5px 5px 0 #fcfaf2,6px 6px 0 #d3d6c8,10px 10px 0 #eeeddf;transform:rotate(3deg);color:#435c42;padding:24px 14px}.archive-book>span{font-family:'Noto Serif JP',serif;font-size:23px;letter-spacing:.08em}.archive-book small{font-size:12px}.archive-book i{position:absolute;top:0;right:25px;width:14px;height:32px;background:#bd885f;clip-path:polygon(0 0,100% 0,100% 100%,50% 80%,0 100%)}
.archive-contents{margin:28px 0}.archive-contents h2{font-size:21px;margin:0 0 7px}.archive-contents>p{font-size:13px;color:var(--muted);margin:0 0 16px}.archive-theme-list{display:flex;flex-wrap:wrap;gap:10px}.archive-theme-list button{display:flex;gap:18px;align-items:center;border:1px solid #d9ddce;border-left:4px solid #b6c4a5;background:#fffdf6;border-radius:5px 10px 10px 5px;padding:12px 18px;min-height:48px;font-size:14px;text-align:left}.archive-theme-list button span{font-size:12px;color:var(--muted)}.archive-theme-list button[aria-pressed=true]{border-color:#6c815a;background:#e7eddf;color:#395137}.archive-view-switch{display:flex;gap:6px;background:#eeefe7;padding:4px;border-radius:8px;width:fit-content;margin-bottom:18px}.archive-view-switch button{min-height:44px;padding:9px 20px;border:1px solid transparent;border-radius:6px;background:none;font-size:14px;color:#59624e}.archive-view-switch button[aria-pressed=true]{background:#fffef9;border-color:#dbdfd2;box-shadow:0 1px 3px #394c2510}.archive-chapter{margin:26px 0 36px}.archive-chapter>header{display:flex;align-items:baseline;gap:14px;border-bottom:1px solid #dce1d1;padding-bottom:12px;margin-bottom:20px}.archive-chapter>header>span{font-family:Georgia,serif;font-size:27px;color:#8c9a75}.archive-chapter h2{font-size:23px;margin:0}.archive-chapter>header small{font-size:12px;color:var(--muted);margin-left:auto}.archive-grid{align-items:start}.archive-card h3{font-family:'Noto Serif JP',serif;font-size:22px;line-height:1.75;font-weight:500;margin:0 0 16px}.archive-photo-wrap{position:relative;width:100%;margin:0 0 20px;overflow:hidden;border-radius:7px;background:#edf0e3}.archive-photo-wrap .archive-photo{display:block;width:100%;height:190px;object-fit:cover;margin:0;border-radius:0}.archive-photo-wrap>span{position:absolute;bottom:9px;right:10px;border-radius:20px;padding:3px 9px;background:#fffffff0;font-size:11px;color:#46563c}.archive-photo-unavailable{height:100px;display:grid;place-items:center}.archive-photo-unavailable>span{position:static}.archive-next-page{display:flex;justify-content:space-between;align-items:center;gap:26px;margin:32px 0;padding:24px 28px;background:#eff2e7;border:1px solid #d9e0cb;border-radius:14px}.archive-next-page>div{min-width:0}.archive-next-page>div:last-child{display:grid;flex-shrink:0;gap:8px}.archive-next-page h2{font-size:22px;line-height:1.7;margin:10px 0}.archive-next-page p{font-size:14px;color:var(--muted);margin:0}.archive-next-page .button{font-size:14px;gap:12px}.archive-next-page .text-button{text-align:center;font-size:13px}.large-text .archive-portrait p,.large-text .archive-next-page p{font-size:18px}.large-text .archive-theme-list button,.large-text .archive-view-switch button{font-size:18px}
@media(max-width:1050px){.archive-portrait{gap:24px;padding:26px;grid-template-columns:minmax(0,1fr) 170px}.archive-book{min-height:195px}.archive-book>span{font-size:19px}.archive-portrait h2{font-size:24px}.archive-next-page{align-items:flex-start;flex-direction:column}.archive-next-page>div:last-child{width:100%}}
@media(max-width:760px){.archive-portrait{grid-template-columns:minmax(0,1fr) 90px;gap:14px;padding:22px 18px}.archive-portrait .eyebrow{font-size:10px}.archive-portrait h2{font-size:21px;line-height:1.75}.archive-portrait p{font-size:13px}.archive-portrait p br{display:none}.archive-portrait-copy{display:contents}.archive-portrait-copy>.eyebrow,.archive-portrait-copy>h2{grid-column:1 / -1;margin:0}.archive-portrait-copy>p{grid-column:1;grid-row:3;margin:0}.archive-portrait-copy>.archive-since,.archive-portrait-copy>.text-button{grid-column:1 / -1;grid-row:4;font-size:11px}.archive-book{grid-column:2;grid-row:3;min-height:126px;gap:9px;padding:14px 5px;border-left-width:6px;border-radius:2px 8px 8px 2px}.archive-book>img{width:28px;height:28px}.archive-book>span{font-size:11px;letter-spacing:0}.archive-book small{font-size:9px}.archive-book i{width:8px;height:19px;right:12px}.archive-theme-list{gap:8px}.archive-theme-list button{padding:10px 12px;gap:10px;font-size:13px}.archive-chapter>header{gap:10px}.archive-chapter h2{font-size:21px}.archive-card h3{font-size:21px}.archive-photo-wrap .archive-photo{height:170px}.archive-next-page{padding:22px 18px;gap:18px}.archive-next-page h2{font-size:21px}.archive-next-page .button{width:100%}.archive-drafts summary span{margin-left:0}.archive-portrait-copy>.text-button{font-size:14px}.large-text .archive-portrait{grid-template-columns:minmax(0,1fr) 80px}}
.archive-chapter .archive-grid:has(>.archive-card:only-child){grid-template-columns:1fr}
@media(min-width:761px){.archive-chapter .archive-card:only-child:has(.archive-photo-wrap){display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:26px}.archive-chapter .archive-card:only-child:has(.archive-photo-wrap) .archive-card-meta{grid-column:1 / -1}.archive-chapter .archive-card:only-child .archive-photo-wrap{grid-column:1;grid-row:2 / span 2;margin:0 0 20px}.archive-chapter .archive-card:only-child:has(.archive-photo-wrap) h3{grid-column:2;grid-row:2}.archive-chapter .archive-card:only-child:has(.archive-photo-wrap) .archive-excerpt{grid-column:2;grid-row:3}.archive-chapter .archive-card:only-child:has(.archive-photo-wrap) .archive-card-foot{grid-column:1 / -1}}

/* Question discovery: a small invitation, then paths into the personal story. */
.discovery-header{margin:10px 0 28px}.discovery-header h1{font-size:36px;line-height:1.65;margin:14px 0}.discovery-header p{color:#687261;margin:0;font-size:15px}.discovery-pick{display:grid;grid-template-columns:160px minmax(0,1fr);gap:32px;padding:30px 34px;border:1px solid #dce2d2;border-radius:22px;background:linear-gradient(110deg,#ecf0e3,#fbf8ee);margin-bottom:28px}.discovery-pick-symbol{border:1px solid #d4dcc6;border-radius:70px 70px 8px 8px;background:#f8f8ef;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;color:#78896b;transform:rotate(-3deg);box-shadow:5px 5px 0 #e0e5d7}.discovery-pick-symbol svg{width:62px;height:62px}.discovery-pick-symbol span{font-family:'Noto Serif JP',serif;font-size:13px;text-align:center}.discovery-pick h2{font-size:27px;line-height:1.7;margin:8px 0 10px}.discovery-pick p{margin:0 0 18px;color:#65705e}.discovery-pick-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}.discovery-pick small{display:block;margin-top:16px;color:#737c6c;font-size:12px}.discovery-resume{border-left:3px solid #9cae8c;padding:12px 18px;background:#f0f2e9;display:flex;align-items:center;gap:16px;margin:0 0 30px;flex-wrap:wrap}.discovery-resume>div{flex:1;min-width:180px}.discovery-resume span{display:block;font-size:12px;color:#727c68}.discovery-resume b{font-weight:500}.discovery-browse>h2{font-size:25px;margin:30px 0 18px;scroll-margin-top:24px}.question-trails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:28px}.question-trail{display:flex;align-items:center;gap:16px;text-align:left;border:1px solid #e1e3d6;border-radius:14px;padding:18px 16px;background:#fffef9;color:var(--ink);min-width:0}.question-trail:nth-child(3n+2){background:#f7f1e8}.question-trail:nth-child(3n){background:#f0f3ee}.question-trail svg{flex-shrink:0;color:#8b9978}.question-trail strong{display:block;font-size:16px;font-weight:500}.question-trail small{display:block;font-size:11px;color:#6b7464;margin-top:4px}.question-trail[aria-pressed=true]{border-color:#6b8056;box-shadow:inset 0 0 0 1px #6b8056;background:#e7eddd}.question-trail:hover{border-color:#8e9d7d}.discovery-tools{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) minmax(160px,1fr);gap:16px}.discovery-tools label,.question-context label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#65705d}.discovery-tools input,.discovery-tools select,.question-context select{width:100%;min-width:0;min-height:48px;padding:10px 12px;border-radius:9px;border:1px solid var(--line);background:#fffef9;color:var(--ink);font-size:14px}.question-context{margin:10px 0 20px;color:#737c69;font-size:13px}.question-context label{max-width:300px;margin-top:10px}.discovery-results-top{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:24px}.discovery-results-top h2{font-size:25px;margin:0;scroll-margin-top:24px}#question-count{color:#70796a;font-size:13px;margin:6px 0 20px}.discovery .question-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.discovery-card{padding:26px;min-height:0;display:flex;flex-direction:column;border-radius:15px;background:#fffef9;border:1px solid #e2e5d9}.discovery-card-meta{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#77816a}.discovery-card h3{font-size:23px;line-height:1.7;margin:16px 0 12px}.discovery-card>p{font-size:14px;color:#697361;margin:0 0 22px}.discovery-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid #e8eadf;flex-wrap:wrap}.discovery-card-foot small{font-size:11px;color:#7a826f}.discovery-card .text-button{font-size:14px;color:#526b43}.question-repeat-note{font-size:11px;color:#788270;margin-top:8px}#question-more{text-align:center;margin:26px 0}.large-text .question-trail strong{font-size:19px}.large-text .question-trail small,.large-text .discovery-pick small,.large-text .question-repeat-note{font-size:15px}.large-text .discovery-card>p{font-size:18px}
@media(max-width:1100px){.question-trails{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-pick{grid-template-columns:110px minmax(0,1fr);gap:24px;padding:26px}.discovery-tools{grid-template-columns:1fr 1fr}.discovery-tools>.search-label{grid-column:1 / -1}.discovery-pick h2{font-size:24px}}
@media(max-width:760px){.discovery-header h1{font-size:27px}.discovery-header p{font-size:14px}.discovery-header p br{display:none}.discovery-pick{display:block;padding:24px 20px;position:relative;overflow:hidden}.discovery-pick-symbol{display:none}.discovery-pick h2{font-size:23px}.discovery-pick-actions{display:block}.discovery-pick-actions .button{width:100%}.discovery-pick-actions .text-button{margin-top:10px}.question-trails{gap:9px}.question-trail{display:block;padding:14px 10px}.question-trail svg{width:26px;height:26px;margin-bottom:6px}.question-trail strong{font-size:14px}.question-trail small{font-size:11px}.discovery-tools{gap:12px}.discovery-tools select{font-size:14px;padding:10px 6px}.discovery-tools input{font-size:16px}.discovery .question-grid{grid-template-columns:1fr}.discovery-card{padding:22px}.discovery-card h3{font-size:22px}.discovery-browse>h2,.discovery-results-top h2{font-size:23px}.discovery-results-top .text-button{font-size:12px}.large-text .question-trails{grid-template-columns:1fr}.large-text .discovery-tools{grid-template-columns:1fr}.large-text .discovery-tools select{font-size:18px}.discovery-resume{padding:12px}.discovery-resume>div{min-width:100%}}

.discovery-header h1 span{display:inline-block}

/* A shared set of gentle line motifs, from a question to a received story. */
.question-motif{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:18px 21px 17px 22px;flex-shrink:0;background:#eaf0e4;color:#657a53}.question-motif svg{width:32px;height:32px}.motif-clay{background:#f6eae1;color:#a16f50}.motif-ochre{background:#f4efd9;color:#998549}.discovery-card-heading{display:flex;align-items:center;gap:16px;margin-bottom:18px}.discovery-card-heading .discovery-card-meta{display:flex;flex-direction:column;gap:5px;align-items:flex-start;margin:0}.discovery-pick-symbol .question-motif{background:transparent;width:auto;height:auto}.discovery-pick-symbol .question-motif svg{width:48px;height:48px}
.received-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:10px 0 46px;padding:26px 0}.received-intro h1{font-family:'Noto Serif JP',serif;font-size:clamp(27px,3vw,39px);line-height:1.65;font-weight:500;margin:16px 0}.received-intro h1 span{display:inline-block}.received-intro p{font-size:15px;color:#697264;line-height:2}.received-intro img{width:29%;height:auto;max-width:280px}.received-reply-link{margin-top:8px}.received-library .section-top h2{font:500 25px 'Noto Serif JP',serif;overflow-wrap:anywhere}.received-people{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0}.received-person{display:flex;align-items:center;gap:12px;padding:12px 18px 12px 12px;max-width:100%;border:1px solid #dfe4d7;border-radius:15px;background:#fffef9;color:#4c5945;text-align:left;font:inherit;cursor:pointer}.received-person[aria-pressed=true]{background:#e8eede;border-color:#718360}.received-person>span:last-child{overflow-wrap:anywhere;min-width:0}.received-person small{display:block;font-size:12px;color:#677360;margin-top:3px}.received-person-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:50%;background:#f4f3e9;font-family:'Noto Serif JP',serif;font-size:21px}.received-person-icon svg{width:24px;height:24px}.received-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:18px}.received-toolbar .filters{margin:0}.received-count{font-size:13px;color:#6a7563;margin:18px 0}.received-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:36px;align-items:start}.received-story{height:100%;display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:#fffef9}.received-story .story-card-content{padding:25px;flex:1;display:flex;flex-direction:column;width:100%;box-sizing:border-box}.received-story .story-cover{height:210px;width:100%}.received-story-top{display:flex;align-items:center;gap:12px;font-size:12px;color:#68745d}.received-story-top .question-motif{width:42px;height:42px;border-radius:13px}.received-story-top svg{width:26px;height:26px}.received-story-top .unread-badge{margin-left:auto;white-space:nowrap}.received-story p.received-by{font-size:14px;color:#5c6d50;margin:20px 0 8px;display:block;overflow-wrap:anywhere}.received-story h3{font-family:'Noto Serif JP',serif;font-weight:500;font-size:23px;line-height:1.7;margin:0 0 14px}.received-story p.received-excerpt{font-size:15px;line-height:1.95;color:#56614f;white-space:pre-line;-webkit-line-clamp:3;margin:0 0 20px}.received-date{font-size:12px;color:#73806b;margin-top:auto;padding-top:8px}.received-story .card-foot{font-size:12px;margin-top:18px;gap:14px;align-items:center}.received-story .card-foot>span:last-child{white-space:nowrap;font-size:14px;color:#4c683e}.received-page .home-conversations{margin-top:38px}.received-empty{background:#fffef9;border:1px solid var(--line);border-radius:22px;padding:38px;text-align:center}.received-empty-icon{display:inline-grid;place-items:center;background:#edf0e5;border-radius:50%;width:72px;height:72px;color:#738360}.received-empty h2{font:500 23px/1.7 'Noto Serif JP',serif}.received-empty p{color:#687460;line-height:2;font-size:15px}.received-empty>div{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:18px;margin-top:25px}.conversation-kicker{display:block;font-size:12px;color:#687b5c;letter-spacing:.05em;margin-bottom:9px}.conversation-heading h3{font-family:'Noto Serif JP',serif;line-height:1.65;overflow-wrap:anywhere}.conversation-heading .conversation-symbol svg{width:27px;height:27px}.conversation-empty{font-size:14px;line-height:1.9;text-align:left;padding:10px 0 0;margin:0}.conversation-toolbar{justify-content:flex-end;gap:20px;margin-bottom:8px}.conversation-form{margin-top:22px}.conversation-form>label{font-size:14px}
@media(max-width:700px){.received-intro{gap:10px;margin-bottom:24px;padding-top:10px}.received-intro img{width:23%;min-width:80px}.received-intro h1{font-size:26px}.received-grid{grid-template-columns:1fr}.received-story .story-cover{height:220px}.received-person{font-size:14px}.received-empty{padding:26px 18px}}
@media(max-width:480px){.received-intro{position:relative;display:block;padding-bottom:0}.received-intro img{position:absolute;right:0;top:0;width:74px;min-width:0;opacity:.8}.received-intro h1{font-size:25px;margin-top:22px}.received-intro .eyebrow{display:block;padding-top:12px}.received-intro p{font-size:14px}.received-library .section-top h2{font-size:23px}.received-person{padding:9px 13px 9px 9px;gap:8px}.received-person-icon{width:34px;height:34px;font-size:18px}.received-story .story-card-content{padding:20px}.received-story h3{font-size:22px}.received-story .card-foot{align-items:flex-start;flex-direction:column;gap:9px}.received-story .card-foot>span:last-child{align-self:flex-end}.discovery-card-heading{gap:12px}.question-motif{width:52px;height:52px}.conversation-heading h3{font-size:20px}}

.received-intro{margin:0 0 22px;padding:8px 0}.received-intro h1{margin:12px 0;font-size:clamp(25px,2.7vw,36px)}

/* People and groups: one next step for each stage of sharing. */
.people-page .people-hero{padding-bottom:28px}.people-page .people-hero h1{font-size:clamp(30px,3vw,42px);line-height:1.65}.people-page .people-hero p{line-height:1.9}.people-how{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:0 0 30px;color:#59694f}.people-how summary{cursor:pointer;min-height:32px;display:list-item}.people-how .people-flow{margin:24px 0 8px}.people-page .people-groups h2{font-family:'Noto Serif JP',serif;font-weight:500}.people-page .people-groups .section-top{align-items:center;gap:20px}.people-page .people-groups .section-top p{margin-bottom:0}.group-card-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#ecf0e3;color:#738461}.group-card-icon svg{width:29px;height:29px}.people-page .people-group h3{font-family:'Noto Serif JP',serif;font-size:25px;line-height:1.7;font-weight:500}.people-page .people-group{display:flex;flex-direction:column}.group-card-summary{font-size:14px;color:#637258;line-height:1.9;margin-top:auto;padding-top:12px}.people-page .people-group-actions .button{width:100%;justify-content:space-between}.group-story-room .group-room-header{align-items:center;margin-bottom:20px}.group-story-room .group-room-header h1{font-family:'Noto Serif JP',serif;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.group-story-room .group-room-header p{font-size:13px;line-height:1.9}.group-room-emblem{display:grid;place-items:center;width:90px;height:90px;border-radius:28px;background:#e9eedf;color:#7d8e66;flex-shrink:0}.group-room-emblem svg{width:48px;height:48px}.group-members-panel{padding:20px;border:1px solid var(--line);background:#fffef9;border-radius:17px;margin-bottom:26px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.group-member-chips{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.group-member-chips>span{display:flex;align-items:center;gap:8px;font-size:14px;overflow-wrap:anywhere}.group-member-chips i{display:grid;place-items:center;width:32px;height:32px;background:#ececde;border-radius:50%;font-style:normal;flex-shrink:0}.group-members-panel>div:last-child{display:flex;flex-wrap:wrap;gap:12px}.group-next-step{display:flex;align-items:flex-start;gap:24px;padding:30px;background:#eef2e8;border:1px solid #dce4d2;border-radius:23px;margin:25px 0}.group-next-symbol{display:grid;place-items:center;flex-shrink:0;width:64px;height:64px;border-radius:50%;background:#fffef9;color:#778768}.group-next-symbol svg{width:32px;height:32px}.group-next-step h2{font:500 25px/1.7 'Noto Serif JP',serif;margin:8px 0 12px}.group-next-step p{font-size:15px;line-height:1.9;margin:0 0 18px}.group-next-step small{display:block;font-size:12px;color:#627156;line-height:1.9;margin-top:16px}.group-next-step .text-button{margin-left:12px}.group-reading-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 35px;padding:24px;background:#edf1e7;border-radius:18px}.group-reading-actions p{font-size:14px;line-height:1.9;margin:0;max-width:480px}.group-reading-actions .button{flex-shrink:0}.group-stories-heading{align-items:center}.group-stories-heading h2{font:500 25px/1.7 'Noto Serif JP',serif}.group-sharing-note{font-size:13px;line-height:1.9;color:#67735e;margin:28px 0}.group-sharing-note summary{cursor:pointer;min-height:42px;display:flex;align-items:center;gap:8px}.group-sharing-note summary:after{content:'＋';margin-left:auto}.group-sharing-note[open] summary:after{content:'−'}.group-sharing-note svg{width:20px;height:20px}.group-story-room .question-thread .question-motif{margin-bottom:14px}.group-create-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#eaf0e3;color:#718261;margin-bottom:20px}.group-create-icon svg{width:32px;height:32px}.group-create>p{line-height:1.9;color:#64705b;font-size:15px}.group-create-theme{margin:22px 0;color:#627156;font-size:14px}.group-create-theme summary{cursor:pointer;min-height:40px}.group-create-theme select{width:100%}.group-create .modal-title{line-height:1.6}.group-story-room .group-exit-footer{border-top:1px solid var(--line);padding-top:20px}
@media(max-width:700px){.group-next-step{gap:16px;padding:24px 20px}.group-next-step h2{font-size:23px}.group-reading-actions{flex-direction:column;align-items:stretch}.group-members-panel{padding:16px}.group-room-emblem{width:66px;height:66px;border-radius:21px}.group-room-emblem svg{width:36px;height:36px}.group-stories-heading{flex-wrap:wrap}.group-next-symbol{width:44px;height:44px}.group-next-symbol svg{width:26px;height:26px}}
@media(max-width:480px){.people-page .people-hero h1{font-size:29px}.people-page .people-groups .section-top{align-items:flex-start;flex-direction:column;gap:0}.group-story-room .group-room-header{gap:10px}.group-story-room .group-room-header h1{font-size:28px}.group-room-emblem{width:48px;height:48px;align-self:flex-start}.group-room-emblem svg{width:27px;height:27px}.group-next-step{display:block;padding:22px 18px}.group-next-symbol{margin-bottom:18px}.group-next-step .button{width:100%}.group-next-step .text-button{margin:14px 0 0}.group-next-step h2{font-size:22px}.group-member-chips{gap:10px}.people-page .people-group h3{font-size:23px}.group-story-room .group-exit-footer{align-items:flex-start;flex-direction:column}}

/* Account settings: purpose first, current state and save feedback in place. */
.account-settings{max-width:880px;margin:0 auto}.settings-intro{margin:18px 0 28px}.settings-intro h1{font-family:'Noto Serif JP',serif;font-weight:500;font-size:34px;line-height:1.65;margin:12px 0}.settings-intro>p{color:var(--muted);font-size:15px}.settings-mobile-break{display:none}.settings-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:30px}.settings-shortcuts button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:62px;border:1px solid #dce2d4;background:#f1f4e9;color:#445941;border-radius:12px;font-size:14px}.settings-shortcuts svg{width:23px;height:23px;flex-shrink:0}.account-settings .settings-card{padding:28px 30px;margin:0 0 22px;border-radius:16px}.settings-section-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.settings-section-heading>span{display:grid;place-items:center;background:#eef1e5;color:#6e805b;border-radius:50%;width:46px;height:46px;flex-shrink:0}.settings-section-heading svg{width:25px;height:25px}.settings-section-heading h2{font-size:22px;margin:2px 0 7px;scroll-margin-top:30px}.settings-section-heading p{margin:0;font-size:14px;color:var(--muted);line-height:1.8}.account-settings .helper{font-size:13px;line-height:1.8}.settings-profile-preview{display:flex;align-items:center;gap:14px;margin-bottom:20px}.settings-profile-preview>span{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#e6eadb;color:#526548;font-family:'Noto Serif JP',serif;font-size:24px}.settings-profile-preview strong{display:block;overflow-wrap:anywhere;font-size:18px}.settings-profile-preview small{display:block;color:var(--muted);margin-top:3px}.settings-save-row{display:flex;align-items:center;gap:16px;margin-top:20px}.settings-save-row p{font-size:14px;margin:0;color:#526548}.settings-save-row .button:disabled{opacity:.5;cursor:default}.settings-email{background:#f7f7f0;border-radius:10px;padding:18px 20px;margin-bottom:22px}.settings-email>span{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}.settings-email strong{font-size:17px;overflow-wrap:anywhere}.settings-email p{margin-bottom:0}.settings-login-method{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid #e4e6dc}.settings-provider-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;border:1px solid #dde3d6;font-size:21px;font-weight:600;background:#fff;color:#566b4a}.settings-provider-mark.provider-line{font-size:11px;background:#e6f1e8;color:#2c7041}.settings-method-title{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.settings-method-state{font-size:11px;color:#697064;border:1px solid #dde0d6;border-radius:20px;padding:2px 9px}.settings-method-state.is-linked{color:#3c6038;background:#e9efdf;border-color:#d2dec4}.settings-login-method p{font-size:13px;color:var(--muted);line-height:1.7;margin:7px 0 0;overflow-wrap:anywhere}.settings-login-method .button{font-size:13px;min-height:44px;padding:10px 14px}.settings-method-check{font-size:21px;color:#60844b}.settings-detail{border-top:1px solid #e4e6dc;margin-top:20px;padding-top:16px}.settings-detail summary{cursor:pointer;min-height:36px;font-size:14px;color:#536346}.settings-detail p,.settings-detail li{font-size:14px;line-height:1.9}.settings-detail ul{padding-left:21px}.settings-detail li+li{margin-top:10px}.settings-sharing-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#dfe5d7;border:1px solid #dfe5d7;border-radius:12px;overflow:hidden;margin-bottom:18px}.settings-sharing-stats>div{display:grid;justify-items:center;gap:4px;background:#f3f5ed;padding:18px 8px}.settings-sharing-stats strong{font-family:Georgia,serif;font-size:28px;font-weight:400;color:#516548}.settings-sharing-stats small{font-family:inherit;font-size:12px;margin-left:5px}.settings-sharing-stats span{font-size:12px;color:#5e6d55}.settings-link-rows>a,.settings-link-rows>button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:18px 0;background:none;border:0;border-bottom:1px solid #e4e6dc;text-align:left;text-decoration:none;color:inherit;min-height:64px}.settings-link-rows strong{display:block;font-size:15px;font-weight:500}.settings-link-rows small{display:block;color:var(--muted);font-size:13px;margin-top:7px;line-height:1.75}.settings-text-preview{background:#f5f4ec;border-left:3px solid #a8b996;padding:15px 20px;margin-top:18px;border-radius:0 8px 8px 0}.settings-text-preview small{font-size:11px;color:var(--muted)}.settings-text-preview p{font-size:16px;line-height:1.8;margin:8px 0}.settings-text-preview.is-large p{font-size:20px}.settings-signout{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 8px 40px}.settings-signout strong{font-size:15px;font-weight:500}.settings-signout p{font-size:13px;color:var(--muted);line-height:1.8;margin:6px 0}.settings-signout .button{flex-shrink:0}.account-settings [data-google-link-flow] h4{scroll-margin-top:30px}.account-settings [data-google-link-flow] strong{overflow-wrap:anywhere}.account-settings input{max-width:100%}.large-text .account-settings :is(.helper,.settings-section-heading p,.settings-detail p,.settings-detail li,.settings-login-method p,.settings-link-rows small){font-size:17px}
@media(max-width:700px){.settings-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.account-settings .settings-card{padding:24px 20px}.settings-intro h1{font-size:28px}.settings-mobile-break{display:block}.settings-login-method{grid-template-columns:36px minmax(0,1fr);gap:12px}.settings-provider-mark{width:34px;height:34px}.settings-login-method>.button{grid-column:2;justify-self:start}.settings-method-check{grid-column:2}.settings-section-heading{gap:12px}.settings-section-heading h2{font-size:20px}.settings-signout{display:block}.settings-signout .button{margin-top:14px}.settings-save-row{flex-wrap:wrap}.settings-sharing-stats span{font-size:11px}.settings-email{padding:16px}.settings-help h2{font-size:20px}}
@media(max-width:380px){.account-settings .settings-card{padding:21px 16px}.settings-section-heading>span{width:34px;height:34px}.settings-section-heading h2{font-size:18px}.settings-intro h1{font-size:25px}.settings-shortcuts button{gap:6px;font-size:13px}.settings-sharing-stats>div{padding:14px 4px}}
.account-settings .settings-card form{display:block}.account-settings .field-label{font-size:14px;margin:0 0 9px}.account-settings #name{display:block;width:100%;max-width:520px}.account-settings [data-verify-link] input{display:block;width:100%;max-width:320px;margin:10px 0}.account-settings [data-verify-link] .button{white-space:normal}
/* Identity images are authenticated and independent of private story attachments. */
.identity-picture{display:inline-flex;width:48px;height:48px;flex-shrink:0;overflow:hidden;border-radius:50%;align-items:center;justify-content:center;vertical-align:middle;background:#e9eee1;color:#59704b}.identity-picture img{display:block;width:100%;height:100%;object-fit:cover}.identity-picture svg{width:60%;height:60%}.identity-picture.is-group{border-radius:14px}.tone-sage{background:#e9eee1;color:#59704b}.tone-clay{background:#f1e4dd;color:#996752}.tone-ochre{background:#f6edcf;color:#8b7538}.tone-blue{background:#e2edf0;color:#527b88}.profile .identity-picture,.story-card .avatar .identity-picture{width:38px;height:38px}.profile>.avatar,.story-card .avatar{padding:0;overflow:hidden}.settings-profile-preview>span,.settings-profile-preview .identity-picture{width:64px;height:64px}.settings-profile-preview{flex-wrap:wrap}.settings-profile-preview>.text-button{margin-left:auto}.people-group .group-card-icon{width:76px;height:76px;padding:0;background:none}.group-card-icon .identity-picture,.group-room-emblem .identity-picture{width:76px;height:76px}.group-room-emblem{background:none!important;padding:0!important}.group-member-chips .identity-picture{width:30px;height:30px}.people-members .identity-picture{width:42px;height:42px}.group-member-chips>span{gap:8px}.identity-upload{position:relative;overflow:hidden;cursor:pointer}.identity-upload input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.avatar-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.avatar-options button{display:grid;justify-items:center;gap:8px;border:1px solid #d6dfcc;border-radius:10px;padding:15px;background:#f6f7f1;color:#58704b}.avatar-options button[aria-pressed=true],.avatar-tones button[aria-pressed=true]{outline:2px solid #637e50;outline-offset:2px}.avatar-tones{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.avatar-tones button{min-width:48px;min-height:44px;border:1px solid #ccc;border-radius:25px;padding:8px 14px}.avatar-options button span{font-size:13px}#identity-preview{text-align:center;margin:24px}#identity-preview .identity-picture{width:128px;height:128px}
/* Language controls stay out of writing flows so a switch cannot discard a story draft. */
.entry-language{display:none}.signed-out .entry-language{display:flex;justify-content:flex-end;padding:14px 24px;background:var(--paper,#faf9f5)}
.language-control{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}.language-control select{width:auto;min-width:150px;min-height:44px;font:inherit;border:1px solid #ccd0c5;border-radius:10px;background:#fff;padding:8px 12px;color:#354432}.language-control span{font-size:14px}
html:not([lang="ja"]) .story-illustration p{font-size:clamp(12px,1.3vw,17px);line-height:1.6}html:not([lang="ja"]) .story-illustration span{font-size:11px}html:not([lang="ja"]) .brandcaption{font-size:12px}html:not([lang="ja"]) .sidebar nav a{font-size:14px;line-height:1.4}html:not([lang="ja"]) .intro h1{overflow-wrap:anywhere}html[lang="ko"] body{word-break:keep-all}html[lang="en"] h1{letter-spacing:-.035em}
@media(max-width:700px){.signed-out .entry-language{padding:8px 16px}.language-control{gap:8px}.language-control select{min-width:130px}html:not([lang="ja"]) .sidebar nav a{font-size:10px}html:not([lang="ja"]) .story-illustration p{font-size:12px}html:not([lang="ja"]) .entry-values{gap:10px}html:not([lang="ja"]) .group-card-actions{flex-wrap:wrap}html:not([lang="ja"]) .button{white-space:normal;height:auto;min-height:44px}}

/* Mobile writing and sharing: actions stay within reach, with room to scroll past them. */
.writer-input-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.writer-input-tools .field-label{margin:0}.writer-input-tools button{min-height:44px;flex-shrink:0}
.group-pending-share{padding:22px;background:var(--sage-light,#edf2e9);border:1px solid #cbd6c5;border-radius:18px;margin:20px 0}.group-pending-share h2{font-size:22px;margin:10px 0}.group-pending-share p{line-height:1.7}.group-pending-share .button{max-width:100%}
.invite-copy+.invite-copy{margin-top:10px}
@media(max-width:640px){
 #code-login>.button,#code-login>#change-email{display:block;width:100%;min-height:48px;margin-top:10px}
 input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:16px}
 .writer-input-tools{gap:6px}.writer-input-tools button{font-size:14px;padding:8px}
 .writing-page #main{padding-bottom:190px}.writing-footer{position:fixed;left:0;right:0;bottom:0;z-index:20;box-shadow:0 -5px 20px #393e2910;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
 .writing-footer .writing-private{margin:0 0 8px}.writing-footer .modal-actions{margin:0}.writing-heading{margin-top:28px}
 #photo-heading,#photo-error{scroll-margin-top:20px}.photo-picker small{display:none}
 .group-pending-share{padding:18px}.group-pending-share h2{font-size:20px}.group-pending-share .button{width:100%}
 .modal-actions>.button,.modal-actions>.text-button,.share-footer button,.invite-after button{min-height:44px}
}
@media(max-width:640px){.code-entry .login-intro{display:none}.code-entry .login-layout{gap:0}.code-entry .login-card{margin-top:0}}
@media(max-width:640px){.writing-page textarea,.writing-page input:not([type=file]){scroll-margin-bottom:160px;scroll-margin-top:16px}}
