:root {
  --rose:#4A1630; --ink:#5C2A3E; --muted:#8A4A62; --faint:#B07A90;
  --pink:#E85A8B; --pink-soft:#FFEAF2; --pink-deep:#C43B6E;
  --paper:#FFF7FA; --white:#FFF; --line:rgba(232,90,139,.16);
  --shadow:0 14px 34px rgba(196,59,110,.10);
  --max:1180px; --nav-height:130px;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; width:100%; }
body { margin:0; background:var(--paper); color:var(--ink); font:400 16px/1.72 -apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; min-width:0; width:100%; }
body.layer-is-open { overflow:hidden; }
a { color:inherit; text-decoration:none; }
button,input { font:inherit; }
button { cursor:pointer; }
a,button,input { -webkit-tap-highlight-color:transparent; }
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible { outline:3px solid var(--pink-deep); outline-offset:3px; }
img { display:block; max-width:100%; height:auto; }
h1,h2,h3,p,figure { margin-top:0; }
p { margin-bottom:1em; }
h1,h2,h3 { color:var(--rose); line-height:1.36; letter-spacing:-.025em; }
h1 { font-size:clamp(27px,3.2vw,32px); }
h2 { font-size:clamp(21px,2.5vw,26px); }
h3 { font-size:18px; }
[hidden] { display:none!important; }
.shell { width:min(var(--max),calc(100% - 40px)); margin-inline:auto; }
.skip-link { position:fixed; z-index:250; top:-90px; left:12px; background:var(--rose); color:white; padding:8px 14px; border-radius:8px; }
.skip-link:focus { top:10px; }
.eyebrow { display:inline-block; margin-bottom:10px; color:var(--pink-deep); font-size:12px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.section-heading { display:flex; align-items:end; gap:14px; justify-content:space-between; margin-bottom:24px; }
.section-heading p { max-width:620px; color:var(--muted); margin:4px 0 0; font-size:15px; }
.section-heading h2 { margin:0; }
.tiny-link { font-size:14px; color:var(--pink-deep); font-weight:800; white-space:nowrap; border-bottom:1px solid currentColor; padding-bottom:3px; }
.section-spacing { margin-block:58px; }
.fixed-masthead { position:fixed; z-index:60; inset:0 0 auto; width:100%; background:var(--white); box-shadow:0 3px 14px rgba(74,22,48,.035); }
.sugar-strip { background:var(--pink-deep); height:22px; color:#fff; width:100%; }
.sugar-strip-inner { display:flex; align-items:center; justify-content:space-between; height:22px; font-size:11px; font-weight:700; letter-spacing:.055em; gap:12px; }
.strip-dot { opacity:.7; margin-inline:5px; }
.strip-search { height:44px; border:0; background:transparent; color:#fff; font-size:12px; padding:0 4px; display:inline-flex; align-items:center; gap:8px; justify-content:center; position:relative; z-index:2; flex-shrink:0; }
.glass { display:inline-block; width:12px; height:12px; border-radius:50%; border:2px solid currentColor; position:relative; }
.glass::after { content:""; position:absolute; width:6px; height:2px; background:currentColor; right:-5px; bottom:-2px; transform:rotate(45deg); }
.cover-bar { background:#fff; border-bottom:1px solid var(--line); width:100%; height:64px; }
.cover-bar-inner { height:100%; display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:14px; }
.brand-home { display:flex; align-items:center; justify-self:start; min-width:0; max-width:100%; }
.brand-logo { width:auto; max-width:190px; height:34px; object-fit:contain; object-position:left center; }
.brand-words { color:var(--rose); font-size:22px; letter-spacing:-.04em; font-weight:900; white-space:nowrap; }
.brand-words>span { font-weight:800; font-style:italic; color:var(--pink-deep); padding-left:4px; font-size:.85em; }
.envelope-open { color:var(--rose); border:1px solid rgba(232,90,139,.26); border-radius:99px; min-height:44px; background:var(--pink-soft); padding:7px 20px; display:flex; align-items:center; justify-content:center; gap:11px; font-size:14px; font-weight:800; white-space:nowrap; transition:background .18s,transform .18s; }
.envelope-open:hover { background:#ffdaea; transform:translateY(-1px); }
.envelope-symbol { width:22px; height:16px; border:2px solid currentColor; border-radius:4px; position:relative; flex:0 0 auto; }
.envelope-symbol::before,.envelope-symbol::after { content:""; position:absolute; top:0; width:10px; height:1.5px; background:currentColor; }
.envelope-symbol::before { left:0; transform:translate(1px,3px) rotate(31deg); }
.envelope-symbol::after { right:0; transform:translate(-1px,3px) rotate(-31deg); }
.open-app { background:linear-gradient(135deg,#FF7AA8,#E85A8B 55%,#C43B6E); color:white; min-height:44px; justify-self:end; border-radius:99px; padding:7px 19px; white-space:nowrap; font-weight:800; font-size:14px; display:inline-flex; align-items:center; gap:5px; }
.open-app:hover,.button-primary:hover { filter:saturate(1.08) brightness(.97); }
.sticker-rail { height:44px; border-bottom:1px solid var(--line); background:var(--pink-soft); width:100%; }
.sticker-rail-inner { height:100%; display:flex; align-items:center; justify-content:flex-start; gap:12px; overflow-x:auto; scrollbar-width:none; }
.sticker-rail-inner::-webkit-scrollbar { display:none; }
.sticker-rail a { display:inline-flex; align-items:center; justify-content:center; min-height:32px; color:var(--ink); border-radius:7px; font-weight:700; font-size:14px; white-space:nowrap; padding:3px 14px; transition:background .18s; }
.sticker-rail a:hover { background:#fff; }
.sticker-rail a[aria-current="page"] { background:var(--pink-deep); color:white; }
main { padding-top:calc(var(--nav-height) + 25px); min-height:65vh; }
.button-row { display:flex; gap:12px; flex-wrap:wrap; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:9px 23px; border-radius:99px; font-size:14px; font-weight:800; white-space:nowrap; border:1px solid transparent; }
.button-primary { color:white; background:linear-gradient(135deg,#FF7AA8,#E85A8B 55%,#C43B6E); box-shadow:0 7px 18px rgba(196,59,110,.20); }
.button-outline { color:var(--pink-deep); background:white; border-color:rgba(232,90,139,.48); }
.button-outline:hover { background:var(--pink-soft); }
.media-frame { position:relative; width:100%; height:225px; border-radius:18px; background:#fff0f6; overflow:hidden; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; }
.media-frame img { max-height:100%; max-width:100%; width:100%; height:100%; object-fit:contain; object-position:center; position:relative; z-index:1; }
.media-frame.cover-media { height:min(300px,42vw); min-height:185px; border-radius:22px; background:#ffeef4; }
.media-frame.card-media { height:190px; border-radius:16px; }
.media-frame.diary-media { height:225px; }
.media-frame.album-media { height:230px; }
.media-frame.app-media { height:360px; max-width:400px; margin-inline:auto; }
.media-frame.editorial-media { height:260px; }
.media-frame.mini-icon { height:72px; width:72px; flex:0 0 auto; border-radius:18px; }
.paper-illustration { position:absolute; inset:0; overflow:hidden; background:radial-gradient(circle at 24% 35%,rgba(255,255,255,.85),transparent 28%),linear-gradient(140deg,#FFF5F9,#FDE4ED); }
.paper-circle { position:absolute; display:block; width:210px; height:210px; border-radius:50%; background:rgba(232,90,139,.16); left:12%; top:15%; }
.paper-stroke { position:absolute; display:block; width:49%; height:12px; background:rgba(196,59,110,.29); border-radius:99px; top:44%; left:27%; transform:rotate(-15deg); }
.paper-arch { position:absolute; display:block; width:190px; height:230px; border:1px solid rgba(232,90,139,.38); border-radius:100px 100px 10px 10px; right:12%; bottom:-70px; transform:rotate(12deg); }
.paper-sticker { position:absolute; display:block; width:76px; height:76px; border-radius:20px; background:rgba(255,255,255,.64); border:1px solid rgba(232,90,139,.21); transform:rotate(16deg); left:39%; bottom:14%; }
.media-frame:nth-child(2n) .paper-circle { left:auto; right:5%; }
.media-frame:nth-child(3n) .paper-arch { right:36%; }
.cover-letter { background:white; border:1px solid var(--line); border-radius:24px; padding:20px 20px 28px; box-shadow:var(--shadow); }
.cover-media .paper-circle { width:320px; height:320px; left:18%; top:-32%; }
.cover-media .paper-arch { width:260px; height:300px; right:22%; bottom:-100px; }
.cover-copy { padding:25px 12px 0; text-align:center; }
.cover-copy h1 { font-size:clamp(28px,3.8vw,36px); margin:0 auto 12px; max-width:740px; }
.cover-copy p { margin:0 auto 20px; max-width:820px; color:var(--muted); line-height:1.78; }
.cover-copy .button-row { justify-content:center; }
.note-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.note-card { border:1px solid var(--line); background:white; border-radius:20px; overflow:hidden; box-shadow:0 10px 28px rgba(74,22,48,.04); min-width:0; }
.note-card .media-frame { border:0; border-radius:0; }
.note-copy { padding:18px 22px 23px; }
.note-copy span { display:inline-block; color:var(--pink-deep); font-size:12px; font-weight:800; letter-spacing:.08em; margin-bottom:5px; }
.note-copy h3 { margin:0 0 10px; font-size:19px; }
.note-copy p { font-size:15px; margin:0 0 13px; color:var(--muted); }
.note-copy a { color:var(--pink-deep); font-weight:800; font-size:14px; }
.split-feature { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:26px; align-items:stretch; }
.paper-panel { border:1px solid var(--line); border-radius:19px; background:white; box-shadow:var(--shadow); padding:26px; min-width:0; }
.paper-panel h2 { margin-bottom:12px; }
.paper-panel p { color:var(--muted); }
.paper-panel .media-frame { margin-top:16px; }
.diary-list,.workflow-list { list-style:none; padding:0; margin:0; }
.diary-list li { border-top:1px solid var(--line); padding:12px 0; display:flex; align-items:flex-start; gap:16px; }
.diary-list li:last-child { border-bottom:1px solid var(--line); }
.diary-list b { color:var(--pink-deep); font-size:25px; line-height:1; min-width:33px; }
.diary-list strong { display:block; color:var(--rose); font-size:16px; }
.diary-list p { margin:3px 0 0; font-size:14px; }
.gallery-rail { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }
.album { position:relative; min-width:0; border-radius:15px; padding:24px 18px; background:white; border:1px solid var(--line); min-height:205px; box-shadow:4px 5px 0 #ffe0ec; display:flex; flex-direction:column; justify-content:space-between; }
.album:before { content:""; position:absolute; top:10px; bottom:10px; left:7px; border-left:2px dashed rgba(232,90,139,.3); }
.album-label { color:var(--pink-deep); font-weight:800; font-size:12px; letter-spacing:.06em; }
.album h3 { font-size:19px; margin:20px 0 7px; }
.album p { color:var(--muted); font-size:14px; margin:0; }
.number-rail { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.number-card { min-width:0; border-radius:16px; background:#fff; border:1px solid var(--line); padding:22px; }
.number-card>strong { display:block; color:var(--pink-deep); font-size:39px; line-height:1.1; letter-spacing:-.06em; }
.number-card h3 { margin:11px 0 7px; }
.number-card p { color:var(--muted); font-size:14px; margin:0; }
.status-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.status-card { background:#fff; padding:22px; border-radius:15px; border:1px solid var(--line); }
.status-dot { display:block; width:12px; height:12px; margin-bottom:15px; background:var(--pink); border-radius:50%; box-shadow:0 0 0 5px #ffe3ed; }
.status-card h3 { margin-bottom:9px; }
.status-card p { font-size:14px; color:var(--muted); margin:0; }
.workflow-list { counter-reset:work; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.workflow-list li { min-width:0; border-top:3px solid var(--pink); padding:18px 14px; background:#fff; border-radius:0 0 12px 12px; }
.workflow-list li:before { counter-increment:work; content:"0" counter(work); display:block; color:var(--pink-deep); font-weight:900; font-size:25px; margin-bottom:10px; }
.workflow-list li strong { color:var(--rose); display:block; margin-bottom:6px; }
.workflow-list li p { color:var(--muted); margin:0; font-size:14px; }
.letter-stack { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px; }
.letter-card { min-width:0; border:1px solid var(--line); background:white; border-radius:18px; padding:28px; }
.letter-card:before { content:'✉'; display:inline-flex; justify-content:center; align-items:center; width:44px; height:44px; background:var(--pink-soft); border-radius:50%; color:var(--pink-deep); margin-bottom:15px; font-size:21px; }
.letter-card h3 { margin-bottom:13px; }
.letter-card p { color:var(--muted); }
.letter-card small { color:var(--pink-deep); font-weight:900; }
.walk-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.walk-card { padding:24px 20px; border-radius:17px; border:1px dashed rgba(232,90,139,.55); background:#fff; }
.walk-card b { color:var(--pink-deep); font-size:12px; }
.walk-card h3 { margin:6px 0; }
.walk-card p { color:var(--muted); margin:0; font-size:14px; }
.app-home { display:grid; grid-template-columns:1fr .72fr; gap:26px; align-items:center; padding:26px; border-radius:23px; background:linear-gradient(120deg,#fff,#ffe9f2); border:1px solid var(--line); }
.app-home h2 { font-size:28px; margin-bottom:13px; }
.app-home p { max-width:650px; color:var(--ink); }
.app-points { padding:0; margin:16px 0 22px; list-style:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.app-points li { font-size:14px; color:var(--rose); padding-left:20px; position:relative; }
.app-points li:before { content:'●'; position:absolute; left:0; color:var(--pink); font-size:10px; }
.app-home .media-frame { background:white; }
.two-info { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.info-panel { background:white; border-radius:17px; border:1px solid var(--line); padding:25px; }
.info-panel p { font-size:15px; color:var(--muted); }
.faq-preview { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.faq-preview article { padding:21px; background:white; border:1px solid var(--line); border-radius:15px; }
.faq-preview h3 { font-size:16px; }
.faq-preview p { font-size:14px; margin:0; color:var(--muted); }
.home-manifesto { border-radius:22px; background:#4A1630; color:#F8D6E4; padding:38px clamp(24px,5vw,65px); }
.home-manifesto h2 { color:#fff; }
.home-manifesto p { max-width:900px; }
.home-manifesto .eyebrow { color:#ff99be; }
.editorial-page { padding-bottom:20px; }
.inner-head { background:#fff; border:1px solid var(--line); border-radius:22px; padding:clamp(25px,4vw,47px); margin-bottom:24px; position:relative; overflow:hidden; }
.inner-head:after { content:""; position:absolute; width:190px; height:190px; right:-90px; top:-125px; border-radius:50%; background:#ffeaf2; pointer-events:none; }
.inner-head>* { position:relative; z-index:1; }
.inner-head h1 { margin-bottom:14px; }
.inner-head p { max-width:860px; margin-bottom:0; color:var(--muted); }
.inner-media { margin:0 0 25px; }
.inner-media.media-side { max-width:650px; }
.inner-media.media-side .media-frame { height:260px; }
.paper-observation { display:flex; align-items:flex-start; gap:13px; background:#ffeaf2; color:var(--ink); border-left:4px solid var(--pink); padding:20px 25px; border-radius:0 14px 14px 0; margin-bottom:27px; }
.paper-observation:before { content:"✦"; color:var(--pink-deep); font-size:22px; }
.paper-observation p { margin:0; }
.essay-stack { display:grid; gap:17px; }
.essay-block { background:#fff; border:1px solid var(--line); padding:clamp(22px,3vw,32px); border-radius:18px; min-width:0; }
.essay-block h2 { margin:2px 0 15px; font-size:21px; }
.essay-block p { margin:0 0 11px; }
.essay-block p:last-child { margin-bottom:0; }
.essay-block .entry-count { color:var(--pink-deep); font-size:13px; font-weight:900; letter-spacing:.10em; }
.layout-diary .essay-stack,.layout-fragments .essay-stack,.layout-gallery .essay-stack,.layout-mood .essay-stack,.layout-status .essay-stack { grid-template-columns:repeat(2,minmax(0,1fr)); }
.layout-diary .essay-block { border-left:5px solid #f8b5ca; }
.layout-portrait .essay-block { display:grid; grid-template-columns:160px 1fr; gap:17px; }
.layout-portrait .essay-block .entry-count { grid-column:1; font-size:34px; }
.layout-portrait .essay-block h2 { grid-column:1; font-size:18px; }
.layout-portrait .essay-block .essay-copy { grid-column:2; grid-row:1 / span 2; }
.layout-city .essay-block { border-radius:0 18px 18px 0; border-left:4px solid var(--pink); }
.layout-fragments .essay-block:nth-child(4n+2),.layout-mood .essay-block:nth-child(4n+3) { background:#ffeaf2; }
.layout-letters .essay-block { max-width:950px; border:1px solid rgba(232,90,139,.28); box-shadow:8px 8px 0 #ffe0eb; }
.layout-letters .essay-block:nth-child(even) { margin-left:auto; }
.layout-steps .essay-block { display:grid; grid-template-columns:94px 1fr; gap:16px; border-top:3px solid var(--pink); }
.layout-steps .essay-block .entry-count { grid-row:1 / span 2; font-size:32px; }
.layout-steps .essay-block h2 { grid-column:2; }
.layout-steps .essay-copy { grid-column:2; }
.layout-book .essay-block:nth-child(even) { background:#fff1f7; }
.layout-status .essay-block { border-top:5px solid var(--pink); }
.layout-shelf .essay-block { box-shadow:7px 6px 0 #fbdce8; }
.layout-ranking .essay-block { display:grid; grid-template-columns:70px 1fr; gap:15px; }
.layout-ranking .entry-count { font-size:34px; grid-row:1 / span 2; }
.layout-ranking h2 { grid-column:2; }
.layout-ranking .essay-copy { grid-column:2; }
.layout-checklist .essay-block { border-radius:12px; border-left:4px solid var(--pink-deep); }
.layout-longform .essay-block { border:0; border-bottom:1px solid var(--line); border-radius:0; box-shadow:none; }
.layout-longform .essay-block:first-child { border-top:1px solid var(--line); }
.layout-app .inner-head { background:linear-gradient(120deg,#fff,#ffe4ef); }
.layout-terms .essay-block { padding:20px 27px; border-left:4px solid #eeb3c9; border-radius:12px; }
.layout-faq .inner-head { background:#fff; }
.faq-items { display:grid; gap:12px; }
.faq-items details { background:white; border:1px solid var(--line); border-radius:14px; padding:20px 23px; }
.faq-items summary { color:var(--rose); font-weight:800; cursor:pointer; padding-right:30px; position:relative; }
.faq-items summary:after { content:'+'; position:absolute; right:0; top:-4px; color:var(--pink-deep); font-size:25px; }
.faq-items details[open] summary:after { content:'−'; }
.faq-items p { color:var(--muted); margin:15px 0 0; }
.related-box { margin:50px 0 10px; background:#fff; border:1px solid var(--line); border-radius:20px; padding:27px; display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:22px; }
.related-lead h2 { margin:0 0 8px; font-size:21px; }
.related-lead p { color:var(--muted); font-size:14px; margin:0; }
.related-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; align-content:center; }
.related-links a { display:flex; align-items:center; justify-content:space-between; padding:12px 15px; background:#fff2f7; border-radius:10px; color:var(--rose); font-weight:750; font-size:14px; gap:8px; min-width:0; }
.related-links a:hover { background:#ffe1eb; }
.site-footer { background:var(--rose); margin-top:68px; color:#F8D6E4; font-size:13px; }
.footer-inner { padding:55px 0 30px; }
.footer-intro { display:flex; align-items:center; flex-wrap:wrap; gap:20px; }
.footer-brand .brand-words { color:white; font-size:24px; }
.footer-brand .brand-words>span { color:#ffaac8; }
.footer-brand .brand-logo { max-height:32px; }
.footer-english { font-size:12px; letter-spacing:.15em; color:#ffc0d8; font-weight:800; }
.footer-intro p { flex-basis:100%; max-width:750px; color:#efd0dd; }
.footer-groups { display:grid; grid-template-columns:repeat(4,1fr); gap:25px; border-top:1px solid rgba(255,255,255,.15); padding-top:30px; margin-top:15px; }
.footer-group { display:flex; flex-direction:column; align-items:flex-start; gap:9px; }
.footer-group h2 { color:white; font-size:15px; margin:0 0 6px; }
.footer-group a { color:#f8d6e4; font-size:13px; min-height:25px; }
.footer-group a:hover,.footer-bottom a:hover { text-decoration:underline; color:white; }
.footer-ethics { padding-top:29px; margin-top:30px; border-top:1px solid rgba(255,255,255,.15); font-size:13px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.15); padding-top:22px; display:flex; align-items:center; flex-wrap:wrap; gap:12px 25px; color:#f2d1df; }
.footer-bottom span { margin-right:auto; }
.mobile-bottom { display:none; }
.dialog-veil { position:fixed; inset:0; background:rgba(56,15,34,.48); backdrop-filter:blur(3px); z-index:100; opacity:0; pointer-events:none; visibility:hidden; transition:opacity .2s,visibility .2s; }
.dialog-veil.is-open { opacity:1; pointer-events:auto; visibility:visible; }
.envelope-sheet { position:fixed; left:50%; bottom:0; width:min(920px,100%); height:min(70vh,720px); height:min(70dvh,720px); transform:translate(-50%,110%); visibility:hidden; pointer-events:none; background:#fff9fb; border:1px solid #f4c4d4; border-radius:24px 24px 0 0; box-shadow:0 -20px 80px rgba(74,22,48,.25); z-index:110; display:flex; flex-direction:column; transition:transform .28s ease; }
.envelope-sheet.is-open { visibility:visible; pointer-events:auto; transform:translate(-50%,0); }
.sheet-head { display:flex; align-items:center; justify-content:space-between; padding:16px 27px; border-bottom:1px solid var(--line); gap:16px; }
.sheet-brand { display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.sheet-brand .brand-words { font-size:20px; }
.sheet-brand .brand-logo { max-height:29px; }
.sheet-brand>span:last-child:not(.brand-words) { font-size:12px; color:var(--muted); }
.layer-close { border:1px solid var(--line); background:#fff; color:var(--rose); border-radius:50%; width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; font-size:29px; line-height:1; flex:0 0 auto; }
.layer-close:hover { background:var(--pink-soft); }
.sheet-scroll { padding:24px 27px 36px; overflow-y:auto; overscroll-behavior:contain; flex:1; }
.sheet-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; }
.sheet-group h2 { display:flex; gap:12px; align-items:center; color:var(--rose); font-size:18px; padding-bottom:10px; margin:0 0 10px; border-bottom:1px solid var(--line); }
.sheet-group h2 span { color:var(--pink); }
.sheet-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.sheet-links a { display:flex; flex-direction:column; padding:13px 14px; border:1px solid #f9dce6; border-radius:12px; background:#fff; min-width:0; }
.sheet-links a:hover { border-color:var(--pink); background:#fff5f9; }
.sheet-links strong { font-size:14px; color:var(--rose); }
.sheet-links span { font-size:12px; color:var(--muted); line-height:1.5; margin-top:4px; }
.search-sheet { position:fixed; top:92px; left:50%; transform:translate(-50%,-16px); width:min(730px,calc(100% - 32px)); max-height:calc(100vh - 110px); max-height:calc(100dvh - 110px); overflow-y:auto; z-index:110; border:1px solid var(--line); background:#fff; border-radius:22px; box-shadow:0 24px 70px rgba(74,22,48,.17); padding:28px; opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s,transform .2s; }
.search-sheet.is-open { opacity:1; transform:translate(-50%,0); visibility:visible; pointer-events:auto; }
.search-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:14px; }
.search-head h2 { margin:0; font-size:23px; }
.search-label { display:block; font-size:13px; color:var(--muted); font-weight:800; margin:10px 0 6px; }
.search-sheet input { width:100%; height:52px; padding:10px 16px; color:var(--rose); border:1px solid #eeb4c8; background:#fff6f9; border-radius:12px; font-size:16px; }
.search-tip { font-size:13px; color:var(--muted); margin:13px 0; }
.search-suggestions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.search-suggestions a { display:flex; justify-content:space-between; align-items:center; background:#fff0f6; color:var(--rose); border-radius:12px; min-height:45px; padding:11px 15px; font-size:14px; font-weight:800; }
.search-suggestions a:hover { background:#ffdfeb; }
.search-empty { color:var(--muted); margin:18px 0 0; }
@media(max-width:900px) {
  .note-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .gallery-rail,.number-rail,.status-grid,.walk-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .workflow-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .app-home { grid-template-columns:1fr 1fr; }
}
@media(max-width:760px) {
  :root { --nav-height:86px; }
  .shell { width:calc(100% - 32px); }
  .sticker-rail { display:none; }
  .cover-bar-inner { gap:7px; }
  .brand-logo { max-width:138px; height:30px; }
  .brand-words { font-size:18px; }
  .envelope-open { width:44px; min-width:44px; padding:0; border-radius:13px; }
  .envelope-open>span:last-child { display:none; }
  .open-app { padding:8px 13px; font-size:13px; }
  main { padding-top:calc(var(--nav-height) + 18px); }
  .section-spacing { margin-block:37px; }
  .section-heading { align-items:flex-start; gap:10px; }
  .section-heading h2 { font-size:22px; }
  .section-heading p { font-size:14px; }
  .split-feature { grid-template-columns:1fr; }
  .app-home { grid-template-columns:1fr; }
  .app-home .media-frame { height:270px; }
  .footer-groups { grid-template-columns:repeat(2,1fr); }
  .mobile-bottom { position:fixed; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); inset:auto 0 0; z-index:80; width:100%; min-height:50px; background:rgba(255,255,255,.97); border-top:1px solid #f2c5d5; padding:3px 3px max(3px,env(safe-area-inset-bottom)); backdrop-filter:blur(14px); }
  .mobile-bottom a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; font-size:11px; color:var(--muted); border-radius:10px; white-space:nowrap; min-width:0; min-height:48px; }
  .mobile-bottom a[aria-current="page"] { background:var(--pink-deep); color:#fff; font-weight:800; }
  .bottom-glyph { font-size:19px; line-height:1.35; }
  .site-footer { margin-top:46px; padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
  .sheet-groups { gap:19px; }
  .sheet-links { grid-template-columns:1fr; }
  .envelope-sheet { height:min(76vh,770px); height:min(76dvh,770px); border-radius:20px 20px 0 0; }
  .search-sheet { top:90px; width:calc(100% - 24px); max-height:calc(100vh - 105px); max-height:calc(100dvh - 105px); padding:20px; }
  .layout-diary .essay-stack,.layout-fragments .essay-stack,.layout-gallery .essay-stack,.layout-mood .essay-stack,.layout-status .essay-stack { grid-template-columns:1fr; }
}
@media(max-width:540px) {
  .cover-letter { padding:10px 10px 22px; border-radius:17px; }
  .media-frame.cover-media { height:206px; min-height:0; border-radius:14px; }
  .cover-copy { padding:21px 8px 0; }
  .cover-copy h1 { font-size:27px; }
  .cover-copy p { font-size:15px; }
  .section-heading { flex-direction:column; }
  .note-grid,.gallery-rail,.number-rail,.status-grid,.walk-grid,.letter-stack,.two-info,.faq-preview { grid-template-columns:1fr; }
  .workflow-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .app-points { grid-template-columns:1fr; }
  .app-home { padding:19px; }
  .app-home h2 { font-size:24px; }
  .inner-head { padding:24px 20px; }
  .inner-head h1 { font-size:26px; }
  .essay-block { padding:21px; }
  .layout-portrait .essay-block { grid-template-columns:1fr; gap:4px; }
  .layout-portrait .essay-block .entry-count,.layout-portrait .essay-block h2,.layout-portrait .essay-block .essay-copy { grid-column:1; grid-row:auto; }
  .layout-steps .essay-block,.layout-ranking .essay-block { display:block; }
  .related-box { grid-template-columns:1fr; padding:22px; }
  .sheet-head { padding:13px 17px; }
  .sheet-scroll { padding:19px 14px 30px; }
  .sheet-groups { grid-template-columns:1fr; gap:17px; }
  .sheet-links { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sheet-brand>span:last-child:not(.brand-words) { display:none; }
}
@media(max-width:360px) {
  .brand-words { font-size:16px; }
  .brand-logo { max-width:110px; }
  .open-app { padding:7px 8px; font-size:12px; }
  .sugar-strip-inner { font-size:10px; }
  .button { padding-inline:16px; }
  .workflow-list,.sheet-links { grid-template-columns:1fr; }
  .search-suggestions { grid-template-columns:1fr; }
  .related-links { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { transition:none!important; animation:none!important; }
}
