/* 参考手机手账主题：分散的鱼兔涂鸦、粉色描边、纸片与贴纸，而非固定主角色。 */
:root {
  --bg:#fffafb; --paper:#fffefe; --ink:#87616d; --muted:#aa8792;
  --rose:#d491a6; --rose-light:#fff0f4; --sage:#a56d80; --line:#f0d3de;
  --radius:24px; --shadow:3px 6px 0 #fce7ee;
  --hand:'Comic Sans MS','STKaiti','KaiTi','Microsoft YaHei',sans-serif;
  --serif:var(--hand);
}
body.scrapbook {
  margin:0; color:var(--ink); font:15px/1.8 var(--hand);
  background:linear-gradient(180deg,#ffe9efb8 0,#fffdfd 290px,#fffdfd 85%,#fff0f5);
  min-height:100vh; isolation:isolate; position:relative;
}
body.scrapbook::before {
  content:''; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background-image:url('doodles/wallpaper.png'); background-repeat:repeat;
  background-size:660px 660px; background-position:18px 30px; opacity:.28;
  -webkit-mask-image:radial-gradient(ellipse 350px 200px at 50% 320px,transparent 20%,#000 90%);
  mask-image:radial-gradient(ellipse 350px 200px at 50% 320px,transparent 20%,#000 90%);
}
h1,h2,h3 { font-family:var(--hand); letter-spacing:.7px; }
h1 { font-size:32px; color:#ab7285; }
h2 { font-size:21px; color:#a76f83; }
h3 { color:#ad7b8c; }
p { overflow-wrap:break-word; }
button,input,textarea,select { font-family:var(--hand); }
.icon { stroke-width:1.9; }
.doodle-icon { object-fit:contain; stroke:none; }
button:focus-visible,a:focus-visible { outline:3px solid #d88faa; outline-offset:4px; }
.app-main { margin-left:0; padding-bottom:0; }
main { max-width:1060px; padding:24px 30px 25px; margin:auto; }
.sidebar,.topbar,.mobile-nav { display:none; }
.muted { color:var(--muted); }
.eyebrow { color:#bc8a9e; font-family:var(--hand); letter-spacing:1.2px; }
.subtle-link,.text-button { color:#a3657d; font-size:13px; }
.subtle-link:hover,.text-button:hover { color:#8e4b66; }
.text-button.muted { color:#a78491; }
.helper { color:#a6808e; font-size:13px; line-height:1.9; }
.button { font-size:14px; font-weight:400; border:2px solid #efc7d5; min-height:44px; padding:9px 18px; border-radius:17px 15px 16px 14px; box-shadow:2px 3px 0 #fbe7ee; }
.primary { background:#fbe4eb; color:#9b5e74; }
.primary:hover { background:#f7d7e2; }
.soft { background:#fffafa; color:#ae748b; }
.soft:hover { background:#fff1f6; }
.button:hover { transform:translateY(-1px); box-shadow:2px 4px 0 #f7dce6; }
.button .icon { width:18px; height:18px; }
.icon-button { color:#c68b9f; }
.icon-button:hover { background:#ffedf3; }
.pill { background:#fff1f5; color:#bc8b9f; }
.card { border:2px solid #f0d1dd; border-radius:24px 21px 25px 20px; background:#fffefef5; box-shadow:3px 5px 0 #fce8ef; }
.section-heading h2 { color:#ae7c8f; font-size:19px; }
.section-heading h2 .icon { color:#d899ad; }
.section-heading .eyebrow { color:#bd96a4; font-size:11px; }
.page-heading { padding:10px 0 4px; }
.page-heading h1 { font-size:31px; }
.page-heading p { font-size:14px; color:#ae8a97; }
.heading-dot { color:#ebb6c5; }
.scrap-header { max-width:1060px; min-height:86px; margin:auto; padding:18px 30px 10px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.scrap-brand { display:flex; align-items:center; gap:8px; }
.scrap-brand-icons { display:flex; align-items:center; width:75px; height:52px; flex-shrink:0; }
.scrap-brand-icons .doodle-icon { width:49px; height:49px; }
.scrap-brand-icons .doodle-icon--fish { margin-left:-13px; transform:rotate(-13deg); width:53px; height:43px; }
.scrap-brand strong { display:block; color:#b4758b; font-size:23px; font-weight:600; letter-spacing:1px; line-height:1.4; }
.scrap-brand small { display:block; color:#c59aaa; font-size:11px; margin-top:3px; }
.scrap-header-right { display:flex; gap:17px; align-items:center; }
.private-label { display:flex; align-items:center; gap:7px; color:#c49aaa; font-size:11px; }
.private-label .icon { width:13px; height:13px; }
.scrap-user { display:flex; align-items:center; gap:2px; font-size:13px; color:#b28396; }
.scrap-user .doodle-icon { width:39px; height:37px; }
.scrap-header-right .text-button { font-size:12px; color:#b58d9e; }
.scrap-tabs { max-width:1000px; margin:11px auto 0; display:flex; justify-content:center; gap:15px; padding:0 12px; }
.scrap-tabs > a { display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 22px; min-height:46px; background:#ffffffeb; border:2px solid #f3dce5; border-radius:18px 18px 15px 16px; color:#bb91a3; font-size:13px; position:relative; box-shadow:2px 3px 0 #fff1f5; }
.scrap-tabs > a .icon { width:17px; height:17px; color:#ce9cb0; }
.scrap-tabs > a:hover { background:#fff4f7; border-color:#ecc5d4; }
.scrap-tabs > a.selected { background:#ffeef4; border-color:#e9b8cc; color:#a86f86; }
.scrap-tabs .tab-bow { position:absolute; width:30px; height:20px; top:-13px; right:3px; fill:#ffe1ea; color:#e6aabd; transform:rotate(12deg); }
.scrap-footer { text-align:center; margin:22px auto 35px; padding:5px 20px; color:#c69cab; position:relative; max-width:700px; }
.scrap-footer > span { color:#dbabbb; letter-spacing:3px; font-size:17px; }
.scrap-footer p { font-size:12px; margin:9px 0; }
.scrap-footer > .doodle-icon { width:52px; height:40px; transform:rotate(12deg); }

/* 恋爱手账首页 */
.journal-intro { max-width:880px; margin:0 auto 6px; min-height:294px; text-align:center; position:relative; padding:25px 80px 15px; }
.journal-ribbon { display:inline-flex; align-items:center; gap:15px; color:#c78fa4; background:#fffafbd9; border:2px solid #f3d5df; border-radius:28px; padding:5px 26px; font-size:14px; box-shadow:2px 3px 0 #ffedf3; }
.journal-ribbon .icon { width:24px; height:17px; fill:#ffe8ef; color:#e4a8bd; }
.journal-date { display:flex; gap:16px; justify-content:center; align-items:center; color:#d69caf; font-size:14px; font-weight:600; margin-top:21px; letter-spacing:1px; }
.journal-date > span { font-size:13px; color:#d7a5b5; letter-spacing:2px; }
.journal-greeting { font-size:51px; color:#e4a4b7; font-weight:600; line-height:1.45; margin:11px 0 7px; text-shadow:0 2px 0 white,2px 3px 0 #fff1f6; letter-spacing:4px; }
.journal-greeting > span { font-weight:400; color:#f0b8c7; font-size:43px; margin-left:10px; display:inline-block; transform:rotate(-12deg); }
.journal-subtitle { font-size:14px; color:#b68a9b; margin:10px 0 0; }
.set-story-date { display:inline-flex; align-items:center; gap:9px; border:2px solid #f1cbd9; background:#ffffffed; border-radius:24px; padding:7px 20px; color:#b67d94; font-size:13px; margin-top:17px; box-shadow:2px 3px 0 #ffebf2; }
.set-story-date .icon { width:16px; height:16px; color:#d297ae; }
.set-story-date:hover { background:#fff2f7; }
.journal-scribble { font-size:13px; color:#bd93a3; margin-top:23px; }
.journal-scribble span { color:#c7a3af; margin-left:12px; font-size:12px; }
.counter-label { font-size:18px; color:#d297aa; margin:13px 0 0; font-weight:400; letter-spacing:3px; }
.journal-counter { display:flex; align-items:baseline; gap:12px; justify-content:center; position:relative; width:max-content; max-width:100%; margin:0 auto; }
.journal-counter strong { font-family:'Comic Sans MS','Segoe Print',cursive; font-size:112px; line-height:1.15; color:#f0afc0; font-weight:700; letter-spacing:4px; text-shadow:2px 3px 0 white; }
.counter-unit { color:#ca95a7; font-size:24px; }
.counter-deco { position:absolute; right:calc(100% + 16px); bottom:8px; width:60px; height:60px; transform:rotate(-16deg); }
.counter-deco .doodle-icon { width:100%; height:100%; }
.counter-deco.rabbit { right:auto; left:calc(100% + 7px); bottom:18px; width:48px; height:52px; transform:rotate(13deg); }
.date-edit { color:#c7a2b1; font-size:11px; display:inline-block; border-bottom:1px dashed #e6c5d2; margin-top:7px; }
.intro-sticker { position:absolute; pointer-events:none; z-index:0; }
.intro-sticker > .icon { width:100%; height:100%; }
.intro-sticker.one { left:1%; top:40%; width:79px; height:59px; transform:rotate(-18deg); }
.intro-sticker.two { right:2%; top:48%; width:66px; height:71px; transform:rotate(14deg); }
.intro-sticker.three { width:46px; height:32px; right:11%; top:6%; transform:rotate(18deg); }
.intro-sticker.three .icon { color:#e9b5c4; fill:#ffedf3; }
.intro-sticker.four { width:38px; height:38px; left:15%; top:6%; transform:rotate(-13deg); }
.intro-sticker.four .icon { color:#e9b7c6; fill:white; }
.journal-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); max-width:720px; margin:8px auto 32px; gap:18px; }
.journal-action { display:flex; align-items:center; justify-content:center; gap:9px; position:relative; min-height:55px; padding:10px 12px; background:#fffdfdf5; border:2px solid #f2d3df; color:#b48095; border-radius:21px 18px 23px 19px; box-shadow:2px 4px 0 #fce7ef; transform:rotate(-1.5deg); }
.journal-action:nth-child(2) { transform:rotate(1.2deg); border-color:#edd9e5; }
.journal-action:nth-child(3) { transform:rotate(-1deg); }
.journal-action:nth-child(4) { transform:rotate(1.5deg); }
.journal-action > span { display:flex; align-items:center; justify-content:center; width:29px; height:29px; background:#fff0f5; border-radius:10px; color:#cc90a7; }
.journal-action .icon { width:18px; height:18px; }
.journal-action strong { font-size:14px; font-weight:400; }
.journal-action:hover { background:#fff1f6; transform:translateY(-2px) rotate(0); }
.scrapbook-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); grid-template-areas:'photos dates' 'notes daily'; gap:30px 27px; padding:0 8px; align-items:start; }
.scrap-sheet { background:#fffdfdf5; border:2px solid #efcdd9; border-radius:27px 24px 28px 21px; box-shadow:4px 7px 0 #fce7eee3; padding:25px; position:relative; min-width:0; }
.photo-sheet { grid-area:photos; }
.anniversary-sheet { grid-area:dates; }
.note-sheet { grid-area:notes; }
.daily-sheet { grid-area:daily; }
.paper-tape { position:absolute; left:38%; top:-12px; width:77px; height:22px; background:repeating-linear-gradient(110deg,#f6d1dd9c 0 5px,#ffe5edb8 5px 11px); transform:rotate(-5deg); border:1px dashed #edc5d4a6; z-index:1; }
.note-sheet .paper-tape { left:12%; width:65px; transform:rotate(6deg); }
.corner-sticker { position:absolute; pointer-events:none; }
.corner-sticker > .doodle-icon { width:100%; height:100%; }
.corner-sticker.fish { right:-24px; bottom:-16px; width:68px; height:58px; transform:rotate(-16deg); }
.corner-sticker.bunny { right:-17px; top:-25px; width:65px; height:65px; transform:rotate(9deg); }
.corner-bow { position:absolute; right:15px; top:-17px; color:#e4a7bd; transform:rotate(10deg); }
.corner-bow .icon { width:44px; height:28px; fill:#ffe5ef; }
.sheet-heading { display:flex; gap:12px; align-items:center; justify-content:space-between; margin-bottom:19px; }
.sheet-heading > div > p { color:#cba1b1; font-family:'Comic Sans MS',cursive; font-size:10px; letter-spacing:.4px; margin-bottom:5px; }
.sheet-heading h2 { display:flex; align-items:center; gap:9px; color:#ad798d; font-size:20px; font-weight:600; line-height:1.5; }
.sheet-heading h2 .icon { width:19px; height:19px; color:#d69aaf; }
.sheet-heading .subtle-link { font-size:12px; flex-shrink:0; white-space:nowrap; }
.sheet-heading .subtle-link .icon { width:14px; height:14px; }
.sheet-foot { display:flex; justify-content:space-between; gap:8px; border-top:1px dashed #f0d6e0; margin-top:20px; padding-top:13px; font-size:12px; color:#ba93a4; }
.sheet-foot > span:last-child { color:#cd9daf; font-size:11px; }
.scrap-sheet .photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; }
.scrap-sheet .photo-card { background:white; border:1px solid #f5e0e9; border-radius:3px; box-shadow:1px 3px 5px #bc8b9e14; padding:5px; transform:rotate(-2deg); }
.scrap-sheet .photo-card:nth-child(even) { transform:rotate(2deg); }
.scrap-sheet .photo-card:hover { transform:rotate(0); }
.scrap-sheet .photo-card > img,.scrap-sheet .video-tile { border-radius:2px; aspect-ratio:1; background:#fff1f6; }
.scrap-sheet .photo-meta { padding:7px 2px 1px; }
.scrap-sheet .photo-meta > span { font-size:11px; color:#ac8595; }
.scrap-sheet .photo-meta small { font-size:9px; color:#c8a5b4; }
.scrap-sheet .media-badge { font-size:8px; padding:2px 5px; background:#fff9fcde; color:#c092a6; }
.scrap-photo-empty { min-height:176px; display:flex; align-items:center; gap:25px; padding:10px 0; }
.empty-polaroid { background:#fffafb; border:2px solid #f3d5e1; height:119px; width:103px; flex-shrink:0; transform:rotate(-9deg); box-shadow:4px 5px 0 #fcebf2; display:flex; align-items:center; justify-content:center; position:relative; }
.empty-polaroid::before { content:''; position:absolute; inset:9px 9px 29px; background:#fff1f6; border:1px dashed #efcbd8; }
.empty-polaroid > .icon { position:relative; color:#dfb3c5; height:27px; width:27px; margin-bottom:20px; }
.empty-polaroid > span { position:absolute; bottom:2px; font-size:20px; color:#e8b3c7; }
.scrap-photo-empty h3 { color:#b38196; font-size:17px; font-weight:400; line-height:1.7; }
.scrap-photo-empty p { font-size:13px; color:#b994a4; line-height:1.9; margin:9px 0 13px; }
.scrap-photo-empty .text-button { font-size:13px; color:#b67994; }
.scrap-date-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; border-top:1px dashed #f0d6df; }
.scrap-date-row:nth-child(3) { border-top:0; }
.scrap-date-row strong { color:#ad7c91; display:block; font-size:15px; font-weight:400; }
.scrap-date-row small { display:block; color:#c09baa; font-size:11px; margin-top:2px; }
.scrap-date-row > span { font-size:11px; white-space:nowrap; color:#c39aaa; }
.scrap-date-row b { color:#df9cb3; font-family:'Comic Sans MS',cursive; font-size:31px; font-weight:400; margin-right:2px; }
.sheet-empty { padding:6px 0 10px; }
.sheet-empty p { font-size:14px; line-height:2; color:#b38b9d; margin-bottom:17px; }
.sheet-empty .subtle-link { font-size:13px; }
.scrap-note-list { display:grid; gap:13px; }
.scrap-note { display:flex; align-items:flex-start; gap:12px; background:#fff9fbdc; border:2px solid #f8e4ed; border-radius:21px 19px 23px 18px; padding:16px 14px; box-shadow:2px 4px 0 #ffeef4; }
.scrap-note > div { min-width:0; width:100%; }
.note-sticker { width:51px; height:51px; flex-shrink:0; border:2px solid #f9dbe5; border-radius:17px 14px 18px 15px; background:#fff0f5; display:flex; align-items:center; justify-content:center; transform:rotate(-5deg); }
.note-sticker .doodle-icon { width:52px; height:48px; }
.scrap-note .note-meta { color:#bd8ba1; font-size:12px; }
.scrap-note .note-meta time { font-size:10px; color:#c8a5b4; }
.scrap-note p { font-size:15px; color:#a8788f; margin-top:8px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; }
.scrap-note small { font-size:12px; color:#be98aa; display:block; margin-top:6px; }
.daily-sheet { background:#fffafcf5; overflow:visible; }
.tiny-label { font-size:10px; color:#c294aa; border:1px dashed #eccad8; background:#fff5f9; padding:3px 7px; border-radius:10px; white-space:nowrap; }
.daily-question { color:#b27d94; font-size:19px; font-weight:400; line-height:1.9; margin:7px 0 17px; }
.daily-caption { color:#be95a8; font-size:13px; line-height:1.9; }
.daily-answer { white-space:pre-wrap; background:white; color:#ab788f; border:1px dashed #edcfdd; padding:12px 14px; border-radius:16px; font-size:14px; }
.daily-doodle { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:13px; color:#ebc0d0; }
.daily-doodle .icon { height:25px; width:25px; fill:white; transform:rotate(15deg); }
.daily-doodle > span { font-size:24px; transform:rotate(-15deg); }
.daily-form { gap:10px; }

/* 共用页面与表单延续手账主题 */
.stack { gap:17px; }
.stack > label,.form-row > label { color:#ac7f93; font-size:14px; }
.stack input:not([type=checkbox]):not([type=radio]),.stack select,.stack textarea { font-family:var(--hand); font-size:15px; background:#fffbfd; color:#9b7185; border:2px solid #f0d7e2; border-radius:13px 11px 14px 12px; padding:10px 13px; }
.stack input:focus,.stack select:focus,.stack textarea:focus { border-color:#dfacc3; box-shadow:0 0 0 3px #f8e4ed; }
.privacy-note { background:#fff3f8; color:#ad7f95; }
.flash { border:2px solid #eed1df; background:#fff5f9; color:#a3728a; border-radius:18px; font-family:var(--hand); font-size:14px; }
.tabs { border-color:#efd4e1; }
.tabs a { color:#bd92a7; font-size:15px; }
.tabs a.selected { color:#ae758e; border-color:#e3afc4; }
.album-cover { background:#fff3f7; border:5px solid white; border-radius:10px; box-shadow:2px 4px 0 #f0d8e4; }
.album-cover > .doodle-icon { height:48px; width:48px; }
.album-cover > span { color:#b589a0; background:#fffbfddd; }
.album-create { border:2px dashed #ecc5d8; background:#fff7fb; color:#c18fa7; border-radius:18px; }
.album-card h3 { font-size:17px; }
.album-card p,.photo-meta small,.album-info { color:#ba93a7; }
.photo-card > img { background:#fff2f7; }
.video-tile { background:#fff1f8; color:#c6a1b7; }
.photo-meta > span { color:#ab7c93; }
.together-banner { background:#fff4f8ee; border:2px solid #edc7d9; border-radius:26px 22px 27px 24px; box-shadow:3px 6px 0 #fce5ef; }
.together-banner h2 { font-family:var(--hand); color:#ad7d95; font-size:24px; }
.together-banner em { color:#e6a8be; }
.together-banner p { color:#bc96a9; font-size:13px; }
.together-banner .avatar,.together-banner .avatar.rabbit,.avatar,.avatar.rabbit { background:#fff2f8; border:1px solid #f4dce7; }
.avatar .doodle-icon { width:100%; height:100%; }
.anniversary-count strong { color:#dfa3bc; font-family:'Comic Sans MS',cursive; }
.anniversary-count > span,.anniversary-note { color:#b68ea4; }
.anniversary-top .pill { color:#bd8ba4; background:#fff0f6; }
.date-icon { background:#fff1f7; color:#d49db6; border:1px solid #f2d8e4; }
.note-card { border-top:2px solid #edcbdb; }
.note-card > p,.thought-item p { font-family:var(--hand); color:#a37790; }
.note-meta { color:#b58aa1; }
.note-visibility { color:#bf98ad; }
.note-content { font-family:var(--hand); font-size:19px; color:#a4758e; }
.characters-card { background:#fff4f8; }
.characters-card h3,.characters-card p { color:#b187a0; font-family:var(--hand); }
.empty-characters .doodle-icon { width:55px; height:55px; }
.empty-state h3 { font-family:var(--hand); color:#b189a0; }
.empty-state p { color:#bda0af; }
.chat-welcome h2 { font-family:var(--hand); color:#ba8da4; }
.chat-welcome p { color:#bfa0b2; font-size:14px; }
.chat-heading { border-color:#f1dbe8; }
.chat-heading strong { color:#b2869d; font-size:17px; }
.chat-heading small,.message-label { color:#c09bb0; }
.nian-avatar { background:#fff0f8; color:#d4a1bd; border:1px solid #f3d6e7; }
.bubble { border:1px solid #f0daea; color:#a57993; background:#fff7fb; font-size:15px; border-radius:20px 17px 19px 7px; }
.user .bubble { color:#a3708e; background:#fcecf4; border-radius:18px 20px 7px 19px; }
.chat-input { border-color:#f0dce9; }
.chat-input textarea { font-family:var(--hand); color:#a77793; font-size:15px; }
.chat-privacy { color:#bfa1b3; }
.connection-note { color:#b18aa3; background:#fff2f9; }
.comment { border-color:#f2deeb; }
.comment p { color:#a88099; font-size:15px; }
.card-actions { border-color:#f0dce9; }
.reading-column .full-note { border-radius:25px 22px 27px 23px; }
.form-title { color:#b48aa3; font-family:var(--hand); }
dialog { font-family:var(--hand); background:#fffdfefb; border:2px solid #eec9dc; border-radius:26px 22px 25px 23px; box-shadow:5px 9px 0 #fbdce9,0 15px 90px #a87b9545; }
dialog::backdrop { background:#996a8450; backdrop-filter:blur(3px); }
.dialog-heading h2 { color:#ac7b97; }
.drop-zone { background:#fff5fa; border:2px dashed #e8c1d7; border-radius:19px; color:#bc8fa9; }
.drop-zone > span { color:#c9a4b9; }
.file-summary { background:#fce9f4; color:#bb8ba6; }
.guest .app-main { margin:0; }
.guest main { max-width:1060px; }
.login-story h1 { font-family:var(--hand); color:#c18ca7; font-size:37px; line-height:1.9; }
.login-story > p { font-size:15px; color:#bc94ac; }
.login-story > .eyebrow { color:#ca9ab2; }
.login-stationery { display:flex; align-items:center; gap:20px; padding:35px 10px; flex-wrap:wrap; max-width:400px; }
.login-stationery .doodle-icon { width:65px; height:65px; transform:rotate(-15deg); }
.login-stationery .doodle-icon:nth-child(3) { transform:rotate(13deg); width:55px; height:60px; }
.login-stationery .icon:not(.doodle-icon) { width:32px; height:28px; color:#e2b0cb; fill:#ffedf7; transform:rotate(15deg); }
.login-card { background:#fffdfef5; border:2px solid #efcfe1; border-radius:27px 22px 28px 21px; box-shadow:5px 8px 0 #fce6f1; }
.login-card h2 { font-family:var(--hand); color:#b682a0; font-size:26px; }
.login-card > .muted { font-size:14px; color:#c09ab0; }
.login-card .brand-mark .icon { width:42px; height:42px; }
.identity-picker span { background:#fff9fc; color:#c39bb3; border:2px solid #f1d9e9; border-radius:16px; font-family:var(--hand); font-size:14px; }
.identity-picker .doodle-icon { width:36px; height:34px; }
.identity-picker input:checked + span { background:#ffedf6; border-color:#e5b4cf; color:#b77e9f; }
.login-bottom { color:#c09bb2; font-size:12px; border-color:#f1dbea; }

@media(min-width:1500px) {
  .scrap-header { max-width:1160px; }
  main { max-width:1160px; }
  .journal-intro { min-height:310px; padding-top:31px; }
  .journal-greeting { font-size:56px; }
  .scrapbook-grid { gap:32px; }
}
@media(max-width:1000px) {
  main { padding-inline:26px; }
  .scrap-header { padding-inline:26px; }
  .scrap-tabs { gap:12px; }
  .scrap-tabs > a { font-size:13px; padding-inline:16px; }
  .private-label { display:none; }
  .journal-intro { max-width:800px; padding-inline:55px; }
  .scrapbook-grid { padding-inline:2px; gap:29px 21px; }
  .scrap-sheet { padding:22px; }
  .sheet-heading { gap:8px; }
  .sheet-heading h2 { font-size:18px; gap:7px; }
  .sheet-heading .subtle-link { font-size:11px; }
  .scrap-photo-empty { gap:20px; }
  .empty-polaroid { width:85px; height:105px; }
  .scrap-photo-empty h3 { font-size:16px; }
  .scrap-photo-empty p { font-size:12px; }
  .scrap-note { padding:13px 11px; gap:9px; }
  .note-sticker { width:43px; height:45px; }
  .note-sticker .doodle-icon { width:43px; height:43px; }
}
@media(max-width:800px) and (min-width:681px) {
  .journal-intro { min-height:300px; padding:25px 60px 14px; }
  .journal-greeting { font-size:43px; letter-spacing:2px; }
  .journal-subtitle { font-size:13px; }
  .intro-sticker.one { left:0; width:62px; }
  .intro-sticker.two { right:0; width:55px; }
  .scrap-tabs > a { padding:9px 14px; font-size:12px; gap:6px; }
  .scrap-tabs { gap:9px; }
  .journal-actions { gap:13px; }
  .journal-action { font-size:13px; gap:6px; padding:10px 5px; }
  .journal-action strong { font-size:13px; }
  .scrapbook-grid { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:27px 20px; }
  .scrap-sheet .photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sheet-heading h2 { font-size:17px; }
  .sheet-heading .subtle-link { font-size:10px; }
  .sheet-heading h2 .icon { width:16px; height:16px; }
  .scrap-photo-empty { flex-direction:column; text-align:center; gap:18px; }
  .scrap-note .note-meta time { font-size:9px; }
  .scrap-note p { font-size:14px; }
}
@media(max-width:680px) {
  body.scrapbook { font-size:14px; background:linear-gradient(180deg,#ffe9f0d6 0,#fffdfd 215px,#fffdfd 90%,#fff3f8); }
  body.scrapbook::before { background-size:430px 430px; background-position:-25px 65px; opacity:.29; -webkit-mask-image:radial-gradient(ellipse 155px 150px at 50% 215px,transparent 18%,#000 95%); mask-image:radial-gradient(ellipse 155px 150px at 50% 215px,transparent 18%,#000 95%); }
  .app-main { margin-left:0; padding-bottom:77px; }
  main { padding:9px 20px 18px; }
  .scrap-header { padding:14px 18px 5px; min-height:64px; gap:10px; }
  .scrap-brand { gap:3px; }
  .scrap-brand-icons { width:52px; height:39px; }
  .scrap-brand-icons .doodle-icon { width:36px; height:36px; }
  .scrap-brand-icons .doodle-icon--fish { margin-left:-13px; width:36px; height:29px; }
  .scrap-brand strong { font-size:20px; letter-spacing:.5px; max-width:180px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
  .scrap-brand small { display:none; }
  .scrap-header-right { gap:10px; }
  .scrap-user { font-size:12px; gap:0; }
  .scrap-user .doodle-icon { width:31px; height:30px; }
  .scrap-header-right .text-button { font-size:11px; }
  .scrap-tabs { display:none; }
  .journal-intro { padding:18px 10px 11px; min-height:302px; margin-bottom:0; }
  .journal-ribbon { gap:10px; font-size:12px; padding:4px 15px; border-width:1.5px; }
  .journal-ribbon .icon { width:19px; height:14px; }
  .journal-date { font-size:13px; gap:13px; margin-top:18px; letter-spacing:.6px; }
  .journal-date > span { font-size:11px; letter-spacing:.4px; }
  .journal-greeting { font-size:36px; letter-spacing:2px; margin-top:12px; line-height:1.6; white-space:nowrap; }
  .journal-greeting > span { font-size:27px; margin-left:7px; }
  .journal-subtitle { font-size:12px; margin-top:7px; line-height:1.9; }
  .set-story-date { font-size:12px; padding:6px 15px; margin-top:17px; gap:8px; border-width:1.5px; }
  .set-story-date .icon { width:14px; height:14px; }
  .journal-scribble { font-size:12px; margin-top:20px; }
  .journal-scribble > span { display:block; font-size:11px; margin:3px 0 0; }
  .intro-sticker.one { width:43px; height:39px; left:-12px; top:34%; transform:rotate(-16deg); }
  .intro-sticker.two { width:40px; height:45px; right:-10px; top:53%; transform:rotate(13deg); }
  .intro-sticker.three { right:0; top:6%; width:31px; height:23px; }
  .intro-sticker.four { left:1%; top:7%; width:25px; height:25px; }
  .counter-label { font-size:15px; margin-top:15px; letter-spacing:2px; }
  .journal-counter { gap:7px; }
  .journal-counter strong { font-size:clamp(64px,22vw,90px); letter-spacing:2px; }
  .counter-unit { font-size:20px; }
  .counter-deco { right:calc(100% + 5px); width:39px; height:40px; bottom:6px; }
  .counter-deco.rabbit { left:calc(100% + 4px); width:35px; height:37px; bottom:14px; }
  .date-edit { font-size:10px; }
  .journal-actions { gap:11px; margin:5px 0 27px; }
  .journal-action { flex-direction:column; padding:10px 2px 8px; gap:6px; min-height:76px; border-width:1.5px; border-radius:19px 17px 20px 16px; }
  .journal-action strong { font-size:13px; white-space:nowrap; }
  .journal-action > span { width:29px; height:29px; background:#fff2f7; border-radius:10px; }
  .journal-action .icon { width:18px; height:18px; }
  .scrapbook-grid { display:flex; flex-direction:column; gap:27px; padding:0 1px; align-items:stretch; }
  .scrap-sheet { padding:23px 20px 19px; border-radius:25px 22px 26px 21px; border-width:2px; box-shadow:3px 6px 0 #fce7ef; }
  .sheet-heading { margin-bottom:17px; }
  .sheet-heading > div > p { font-size:9px; margin-bottom:5px; }
  .sheet-heading h2 { font-size:19px; gap:7px; }
  .sheet-heading h2 .icon { width:18px; height:18px; }
  .sheet-heading .subtle-link { font-size:11px; gap:4px; }
  .sheet-heading .subtle-link .icon { height:12px; width:12px; }
  .corner-sticker.fish { width:56px; height:49px; bottom:-14px; right:-18px; }
  .corner-sticker.bunny { width:52px; height:56px; top:-22px; right:-15px; }
  .corner-bow { top:-15px; right:16px; }
  .corner-bow .icon { width:37px; height:24px; }
  .paper-tape { width:59px; height:19px; top:-11px; }
  .scrap-sheet .photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
  .scrap-sheet .photo-card { padding:3px; }
  .scrap-sheet .photo-meta > span { font-size:10px; }
  .scrap-sheet .photo-meta small { font-size:8px; }
  .scrap-sheet .photo-meta { padding:6px 1px 1px; }
  .scrap-photo-empty { min-height:160px; gap:17px; padding:4px 0; }
  .empty-polaroid { height:95px; width:79px; }
  .empty-polaroid::before { inset:7px 7px 25px; }
  .empty-polaroid .icon { height:22px; width:22px; }
  .empty-polaroid > span { font-size:18px; }
  .scrap-photo-empty h3 { font-size:15px; line-height:1.8; }
  .scrap-photo-empty p { font-size:12px; margin:8px 0 10px; }
  .scrap-photo-empty .text-button { font-size:12px; }
  .sheet-foot { font-size:11px; padding-top:12px; margin-top:17px; gap:5px; }
  .sheet-foot > span:last-child { font-size:10px; }
  .sheet-empty { padding:2px 0 9px; }
  .sheet-empty p { font-size:14px; line-height:2; }
  .sheet-empty .subtle-link { font-size:13px; }
  .scrap-date-row { padding:11px 0; }
  .scrap-date-row strong { font-size:16px; }
  .scrap-date-row small { font-size:11px; }
  .scrap-date-row b { font-size:30px; }
  .scrap-note { padding:13px 10px; gap:9px; border-width:1.5px; }
  .note-sticker { width:43px; height:43px; border-radius:14px 12px 15px 11px; border-width:1.5px; }
  .note-sticker .doodle-icon { width:43px; height:41px; }
  .scrap-note .note-meta { font-size:11px; }
  .scrap-note p { font-size:14px; margin-top:7px; line-height:1.9; }
  .scrap-note small { font-size:11px; }
  .daily-question { font-size:20px; }
  .daily-caption { font-size:13px; }
  .tiny-label { font-size:10px; padding:3px 6px; }
  .daily-answer { font-size:14px; }
  .daily-doodle { margin-top:10px; }
  .scrap-footer { margin:25px auto 14px; padding:4px 15px; }
  .scrap-footer > span { font-size:15px; }
  .scrap-footer p { font-size:11px; }
  .scrap-footer > .doodle-icon { width:45px; height:35px; }
  .mobile-nav { display:flex; position:fixed; bottom:0; left:0; right:0; padding:10px 13px calc(9px + env(safe-area-inset-bottom)); justify-content:space-around; z-index:20; border-top:2px solid #f3d6e4; background:#fffbfdef; backdrop-filter:blur(14px); box-shadow:0 -4px 15px #dbb3c511; border-radius:21px 23px 0 0; }
  .mobile-nav > a { display:flex; align-items:center; flex-direction:column; gap:5px; color:#caa0b5; font-size:11px; min-width:44px; min-height:40px; }
  .mobile-nav a .icon { width:21px; height:21px; }
  .mobile-nav a.selected { color:#ad7593; }
  .mobile-nav a.selected .icon { fill:#ffe8f3; }
  .page-heading { gap:12px; margin-bottom:24px; padding:10px 0 1px; }
  .page-heading h1 { font-size:28px; }
  .page-heading p { font-size:13px; }
  .page-heading .button { font-size:12px; min-height:39px; }
  .page-heading > .heading-actions { max-width:135px; }
  .card { padding:22px; border-radius:23px 20px 24px 19px; }
  .section-heading h2 { font-size:19px; }
  .section-heading .eyebrow { font-size:10px; }
  .helper { font-size:12px; }
  .stack > label,.form-row > label { font-size:13px; }
  .stack input:not([type=checkbox]):not([type=radio]),.stack select,.stack textarea { font-size:15px; padding:10px 12px; }
  .tabs a { font-size:14px; }
  .anniversary-card h2 { font-size:22px; }
  .anniversary-note { font-size:14px; }
  .together-banner h2 { font-size:21px; }
  .together-banner p { font-size:12px; }
  .card .form-title { font-size:20px; }
  .note-content { font-size:18px; }
  .bubble { font-size:14px; }
  .chat-input textarea { font-size:14px; }
  .chat-privacy { font-size:9px; }
  dialog { padding:25px 20px; border-radius:23px 20px 24px 21px; }
  .dialog-heading h2 { font-size:23px; }
  .dialog-heading .eyebrow { font-size:11px; }
  .drop-zone strong { font-size:15px; }
  .drop-zone > span { font-size:11px; }
  .guest main { padding:27px 21px; }
  .guest .app-main { padding-bottom:0; }
  .login-story h1 { font-size:29px; }
  .login-story > p { font-size:13px; max-width:210px; }
  .login-stationery { position:absolute; right:-9px; bottom:-10px; width:47%; height:105px; padding:0; gap:8px; justify-content:center; }
  .login-stationery .doodle-icon { width:43px; height:43px; }
  .login-stationery .doodle-icon:nth-child(3) { width:40px; height:43px; }
  .login-stationery .doodle-icon:last-child { width:35px; height:35px; }
  .login-stationery .icon:not(.doodle-icon) { width:22px; height:20px; }
  .login-card { padding:27px 24px; }
  .login-card h2 { font-size:25px; }
  .login-card > .muted { font-size:13px; }
  .login-card .brand-mark { display:none; }
  .identity-picker span { font-size:13px; }
  .identity-picker .doodle-icon { height:32px; width:34px; }
  .login-bottom { font-size:11px; }
}
@media(max-width:360px) {
  main { padding-inline:16px; }
  .scrap-header { padding-inline:14px; }
  .scrap-brand strong { font-size:18px; max-width:135px; }
  .scrap-header-right { gap:7px; }
  .scrap-user { font-size:11px; }
  .journal-greeting { font-size:32px; letter-spacing:1px; }
  .journal-greeting > span { font-size:24px; margin-left:5px; }
  .journal-subtitle { font-size:11px; }
  .journal-actions { gap:9px; }
  .journal-action strong { font-size:11px; }
  .scrap-sheet { padding-inline:17px; }
  .sheet-heading h2 { font-size:18px; }
}
@media(prefers-reduced-motion:reduce) {
  .journal-action,.button,.scrap-sheet .photo-card { transition:none; }
}
