:root{color-scheme:dark;--bg:#1b1d22;--panel:#202228;--text:#f4efe8;--subtle:#aaa9a7;--faint:#777b7e;--line:rgba(255,255,255,.11);--rose:#e9a49f;--mint:#b4cfc2;--gold:#e8c58e;--shadow:0 24px 80px rgba(0,0,0,.28);font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(ellipse 50% 56% at 11% 90%,rgba(184,102,105,.11),transparent 70%),radial-gradient(ellipse 46% 46% at 89% 10%,rgba(111,151,138,.11),transparent 70%),var(--bg)}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:wait}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--gold);outline-offset:3px}input,textarea{width:100%;color:var(--text);background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:7px;padding:13px 15px;transition:border .2s,background .2s}input:hover,textarea:hover{border-color:rgba(255,255,255,.25)}textarea{resize:vertical;min-height:118px;line-height:1.7}label{display:block;margin:16px 0 8px;font-size:13px;color:#d9d8d2}h1,h2,p{margin-top:0}h1,h2{font-weight:500}h2{letter-spacing:0}p{line-height:1.75}button{border:0} [hidden]{display:none!important}.ambient{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:-1}.ambient i{position:absolute;border:1px solid rgba(255,255,255,.075);border-radius:50%}.ambient i:nth-child(1){width:380px;height:380px;left:-190px;top:34%}.ambient i:nth-child(2){width:650px;height:650px;right:-310px;top:-300px}.ambient i:nth-child(3){width:170px;height:170px;right:17%;bottom:-116px}.eyebrow,.section-index{display:inline-block;color:var(--gold);font-size:10px;font-weight:700;letter-spacing:2.5px}.muted,.form-note{color:var(--subtle);font-size:13px}.form-note{margin:15px 0 23px}.primary-button{min-height:47px;padding:12px 19px;border-radius:6px;color:#242428;background:var(--rose);font-size:13px;font-weight:700;transition:transform .2s,background .2s}.primary-button:hover{background:#f4b4ae;transform:translateY(-2px)}.primary-button span{margin-left:18px}.primary-button.full{width:100%;display:flex;align-items:center;justify-content:space-between}.outline-button{padding:11px 18px;border:1px solid rgba(255,255,255,.2);border-radius:6px;background:transparent;color:var(--text);font-size:13px}.outline-button:hover{background:rgba(255,255,255,.07)}.text-button{min-height:44px;padding:8px 10px;color:var(--text);background:transparent;font-size:12px}.text-button:hover{color:var(--rose)}.text-button.secondary{color:var(--subtle)}.text-button.danger{color:#f3aaa9}#notice{position:fixed;z-index:200;bottom:24px;left:50%;transform:translate(-50%,16px);opacity:0;pointer-events:none;border:1px solid rgba(255,255,255,.16);border-radius:6px;padding:12px 18px;color:var(--text);background:#3b3d41;box-shadow:var(--shadow);transition:opacity .2s,transform .2s;max-width:min(90vw,450px);font-size:13px}#notice.show{opacity:1;transform:translate(-50%,0)}
/* The entrance intentionally shares the same visual language as the space. */
.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(300px,1fr) minmax(330px,490px);gap:clamp(40px,8vw,140px);align-items:center;max-width:1260px;padding:70px 7%;margin:auto}.auth-intro{align-self:center}.auth-intro h1{font-size:clamp(36px,4.5vw,66px);line-height:1.2;margin:29px 0 22px}.title-dot,.wordmark-dot{color:var(--rose)}.auth-intro p{color:#c3c0ba;font-size:16px}.brand-art{position:relative;width:160px;height:120px;margin:45px 0 5px}.brand-art span{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.4);box-shadow:inset -16px -16px 28px rgba(0,0,0,.09),0 14px 35px rgba(0,0,0,.13)}.brand-art span:nth-child(1){left:8px;top:25px;width:85px;height:85px;background:radial-gradient(circle at 30% 25%,rgba(255,255,255,.67),rgba(238,168,163,.48) 33%,rgba(238,168,163,.1) 77%)}.brand-art span:nth-child(2){left:75px;top:0;width:70px;height:70px;background:radial-gradient(circle at 27% 24%,rgba(255,255,255,.72),rgba(165,203,187,.4) 43%,rgba(165,203,187,.08) 78%)}.brand-art span:nth-child(3){left:102px;top:81px;width:25px;height:25px;background:radial-gradient(circle at 28% 28%,#ffe6ad,rgba(232,197,142,.18))}.auth-panel{padding:32px 0}.auth-panel h2{font-size:27px;margin:16px 0 9px}.auth-panel .muted{margin-bottom:27px}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.person-group{border-top:1px solid var(--line);padding-top:15px}.person-group strong{font-size:13px;font-weight:500;color:var(--mint)}.person-group input{font-size:12px}.role-picker,.kind-picker{display:flex;gap:10px}.role-option,.kind-option{border:1px solid var(--line);border-radius:6px;background:rgba(255,255,255,.03);color:var(--subtle);padding:12px 15px;transition:background .2s,border-color .2s,color .2s}.role-option{flex:1}.role-option[aria-pressed=true],.kind-option.is-active{border-color:var(--rose);color:var(--text);background:rgba(233,164,159,.11)}
.app-shell{max-width:1440px;min-height:100vh;margin:auto;padding:0 clamp(22px,4.2vw,64px);position:relative}.site-header{min-height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.wordmark{font-size:16px;font-weight:650;white-space:nowrap;display:flex;align-items:center;gap:12px}.wordmark-icon{font-size:25px;color:var(--rose);font-weight:400}.header-actions{display:flex;gap:12px;align-items:center}.private-label{font-size:11px;color:var(--subtle);white-space:nowrap}.online-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--mint);vertical-align:middle;margin-right:6px;box-shadow:0 0 12px rgba(180,207,194,.7)}.app-content{display:grid;grid-template-columns:minmax(230px,315px) minmax(0,1fr);gap:clamp(30px,5vw,82px);min-height:calc(100vh - 154px)}.lead{padding-top:clamp(65px,11vh,145px);position:relative;display:flex;flex-direction:column}.lead h1{font-size:clamp(32px,3.3vw,49px);line-height:1.35;margin:23px 0 22px}.lead h1 em{font-style:normal;color:var(--rose)}.lead>p{max-width:275px;color:var(--subtle);font-size:14px}.lead>.preview-banner{max-width:315px;margin:0 0 26px;padding:12px 14px;border-left:2px solid var(--gold);background:rgba(232,197,142,.08);color:#e7d9bd;font-size:12px;line-height:1.6}.tiny-sun{letter-spacing:0;color:var(--rose);font-size:14px;margin-right:4px}.pending-link{align-self:flex-start;margin-top:10px;padding:10px 0;color:var(--mint);background:transparent;font-size:12px;text-align:left}.pending-link span:last-child{margin-left:6px}.lead-bottom{display:flex;align-items:center;gap:13px;margin-top:auto;margin-bottom:44px;font-size:12px;color:var(--faint)}.lead-flower{font-size:17px;color:var(--gold)}.space-panel{min-width:0;padding-top:47px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:28px}.tab{position:relative;background:transparent;color:var(--subtle);font-size:13px;padding:15px 0 17px;white-space:nowrap}.tab.is-active{color:var(--text)}.tab.is-active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--rose)}.item-count{font-size:11px;color:var(--faint)}.float-hint{padding-top:24px;color:var(--faint);font-size:11px}.float-hint span{color:var(--gold);margin-right:8px}.bubble-field{min-height:530px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,170px);place-items:center;position:relative;padding:18px 0 0}.bubble-field:before{content:"";position:absolute;inset:9% 5%;background:radial-gradient(ellipse at 48% 46%,rgba(224,174,161,.05),transparent 61%);pointer-events:none}.bubble-slot{width:100%;height:100%;display:flex;align-items:center;justify-content:center;min-width:0}.bubble{--bubble-size:124px;position:relative;width:var(--bubble-size);height:var(--bubble-size);display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:50%;border:1px solid rgba(255,255,255,.22);color:var(--text);background:radial-gradient(circle at 28% 23%,rgba(255,255,255,.3),rgba(238,173,167,.20) 25%,rgba(187,107,112,.15) 57%,rgba(187,107,112,.02) 78%);box-shadow:inset -12px -15px 25px rgba(0,0,0,.12),inset 8px 8px 18px rgba(255,255,255,.045),0 15px 35px rgba(0,0,0,.19),0 0 30px rgba(233,164,159,.06);padding:21px;text-align:center;animation:floaty var(--duration,7s) ease-in-out infinite alternate;animation-delay:var(--delay,0s);transition:box-shadow .2s,color .2s}.bubble:hover{box-shadow:inset -12px -15px 25px rgba(0,0,0,.09),0 19px 35px rgba(0,0,0,.25),0 0 32px rgba(233,164,159,.2)}.bubble.impression{background:radial-gradient(circle at 27% 21%,rgba(255,255,255,.33),rgba(181,210,198,.19) 28%,rgba(90,146,129,.15) 65%,rgba(90,146,129,.02) 82%);box-shadow:inset -12px -15px 25px rgba(0,0,0,.1),0 13px 30px rgba(0,0,0,.18),0 0 28px rgba(180,207,194,.06)}.bubble.answered{background:radial-gradient(circle at 26% 20%,rgba(255,255,255,.35),rgba(238,203,153,.23) 27%,rgba(173,130,80,.12) 65%,rgba(173,130,80,.02) 84%)}.bubble-label{font-size:9px;color:#eee1da;white-space:nowrap;margin-bottom:7px}.bubble-text{font-size:11px;line-height:1.55;max-width:94px;max-height:48px;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.bubble-author{font-size:9px;color:rgba(255,255,255,.68);margin-top:6px;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bubble-slot:nth-child(4n+1) .bubble{--bubble-size:136px}.bubble-slot:nth-child(5n+2) .bubble{--bubble-size:112px}.bubble-slot:nth-child(7n+3) .bubble{--bubble-size:143px}.bubble-slot:nth-child(3n+1){transform:translateY(8px)}.bubble-slot:nth-child(5n+4){transform:translateY(-10px)}.bubble-slot:nth-child(3n+1) .bubble{--duration:9s;--delay:-2s}.bubble-slot:nth-child(4n+2) .bubble{--duration:7s;--delay:-4s}.bubble-slot:nth-child(5n+3) .bubble{--duration:11s;--delay:-6s}@keyframes floaty{from{transform:translate3d(-2px,6px,0)}to{transform:translate3d(3px,-7px,0)}}.field-key{display:flex;gap:22px;align-items:center;padding:17px 0 28px;color:var(--faint);font-size:10px}.field-key>span{white-space:nowrap}.key-mark{display:inline-block;width:7px;height:7px;border-radius:50%;vertical-align:middle;margin-right:7px}.key-mark.question{background:var(--rose)}.key-mark.impression{background:var(--mint)}.key-mark.answered{background:var(--gold)}.empty-state{grid-column:1/-1;text-align:center;color:var(--subtle);font-size:13px;line-height:2.1}.empty-state span{display:block;font-size:43px;color:var(--rose);font-weight:200;margin-bottom:12px}.empty-state button{color:var(--rose);background:none;padding:4px;text-decoration:underline;text-underline-offset:5px}
.archive-intro{padding:34px 0 17px;display:flex;align-items:end;justify-content:space-between;gap:20px}.archive-intro h2{margin:11px 0 0;font-size:25px}.archive-intro p{font-size:12px;color:var(--faint);margin:0}.filter-bar{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}.filter{min-height:44px;padding:8px 13px;border:1px solid var(--line);border-radius:5px;background:transparent;color:var(--subtle);font-size:11px}.filter.is-active{color:var(--text);border-color:var(--rose);background:rgba(233,164,159,.1)}.timeline{padding-bottom:85px;max-height:calc(100vh - 336px);min-height:350px;overflow-y:auto;scrollbar-color:#666 transparent;scrollbar-width:thin}.timeline-item{display:flex;gap:17px;width:100%;padding:19px 3px;border-top:1px solid var(--line);background:transparent;color:var(--text);text-align:left}.timeline-item:hover{background:rgba(255,255,255,.025)}.timeline-icon{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(233,164,159,.35);color:var(--rose);font-size:15px}.timeline-item.impression .timeline-icon{border-color:rgba(180,207,194,.35);color:var(--mint)}.timeline-body{min-width:0;flex:1}.timeline-meta{color:var(--faint);font-size:11px;display:flex;gap:9px}.timeline-text{font-size:13px;margin-top:8px;line-height:1.6;word-break:break-word}.timeline-extra{color:var(--subtle);font-size:11px;margin-top:8px;line-height:1.5}.timeline-arrow{color:var(--faint);align-self:center}.timeline-empty{color:var(--subtle);font-size:13px;line-height:2;padding:35px 0}.compose-button{position:fixed;z-index:20;bottom:clamp(25px,5vw,55px);right:clamp(23px,5vw,70px);display:flex;align-items:center;justify-content:center;gap:9px;min-height:54px;padding:0 22px;border-radius:30px;background:var(--rose);color:#292529;font-weight:700;font-size:13px;box-shadow:0 14px 40px rgba(0,0,0,.28);transition:transform .2s,background .2s}.compose-button:hover{transform:translateY(-3px);background:#f3b1aa}.plus-sign{font-size:24px;line-height:1;font-weight:300}.site-footer{border-top:1px solid var(--line);height:67px;display:flex;align-items:center;font-size:11px;color:var(--faint)}
.sheet-dialog{width:min(94vw,500px);max-height:min(85vh,780px);overflow:auto;border:1px solid rgba(255,255,255,.16);border-radius:8px;padding:30px;color:var(--text);background:#282a2f;box-shadow:var(--shadow)}.sheet-dialog::backdrop{background:rgba(9,10,13,.72);backdrop-filter:blur(5px)}.dialog-top{display:flex;justify-content:space-between;align-items:center}.close-button{border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--text);width:44px;height:44px;display:grid;place-items:center;font-size:20px;line-height:1}.sheet-dialog h2{font-size:24px;line-height:1.5;margin:18px 0 7px}.sheet-dialog .muted{margin-bottom:23px}.kind-option{font-size:12px;flex:1;white-space:nowrap}.kind-option>span{font-size:15px;margin-right:4px}.text-meta{display:flex;justify-content:space-between;gap:12px;color:var(--faint);font-size:10px;margin:8px 0 20px}.text-meta span:last-child{white-space:nowrap}.preview-note{padding:21px 19px;border:1px solid rgba(233,164,159,.28);border-radius:8px;background:rgba(233,164,159,.07);margin:20px 0}.preview-tag{font-size:11px;color:var(--rose)}.preview-note p{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.preview-actions,.dialog-actions{display:flex;justify-content:flex-end;gap:12px}.detail-byline{margin-top:29px;color:var(--subtle);font-size:11px}.detail-title{font-size:22px!important;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75!important;margin:11px 0 27px!important}.detail-reply{border-left:2px solid var(--gold);padding:2px 0 2px 16px;margin:25px 0}.reply-label{font-size:11px;color:var(--gold)}.reply-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;margin-top:9px}.detail-actions{border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px;margin-top:25px;padding-top:9px}
@media(max-width:1080px){.bubble-field{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,155px);min-height:650px}.app-content{grid-template-columns:minmax(190px,255px) minmax(0,1fr);gap:22px}.lead h1{font-size:35px}.bubble-slot:nth-child(n+10){display:none}.bubble{--bubble-size:112px}.bubble-slot:nth-child(4n+1) .bubble{--bubble-size:126px}.bubble-slot:nth-child(7n+3) .bubble{--bubble-size:122px}}
@media(max-width:700px){.app-shell{padding:0 20px}.site-header{min-height:70px}.wordmark{font-size:13px;gap:7px}.wordmark-icon{font-size:21px}.private-label{display:none}.header-actions{gap:3px}.header-actions .text-button{font-size:11px;min-height:44px;padding:8px 7px}.app-content{display:block;min-height:calc(100vh - 130px)}.lead{padding-top:40px}.lead h1{font-size:33px;margin:16px 0 9px}.lead>p{font-size:12px;max-width:340px;margin-bottom:7px}.lead-bottom{display:none}.space-panel{padding-top:24px}.tabs{gap:24px}.item-count{font-size:10px}.float-hint{padding-top:20px;font-size:10px}.bubble-field{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,157px);min-height:650px}.bubble-slot:nth-child(n+9){display:none}.bubble{--bubble-size:126px}.bubble-slot:nth-child(4n+1) .bubble{--bubble-size:136px}.bubble-slot:nth-child(5n+2) .bubble{--bubble-size:112px}.bubble-slot:nth-child(7n+3) .bubble{--bubble-size:139px}.field-key{gap:12px;font-size:9px;justify-content:space-between;flex-wrap:wrap}.compose-button{right:20px;bottom:calc(18px + env(safe-area-inset-bottom));min-height:51px;padding:0 17px}.timeline{max-height:none;min-height:330px}.archive-intro{padding-top:29px}.archive-intro h2{font-size:22px}.archive-intro p{display:none}.site-footer{margin-top:50px}.auth-layout{display:block;padding:65px 7%}.auth-intro h1{font-size:38px;margin:9px 0}.auth-intro p{font-size:13px}.brand-art{height:75px;margin:25px 0}.brand-art span:nth-child(1){transform:scale(.62);transform-origin:top left}.brand-art span:nth-child(2){transform:scale(.62);transform-origin:top left;left:55px}.brand-art span:nth-child(3){display:none}.auth-panel{padding-top:12px}.sheet-dialog{padding:22px}.kind-option{padding:10px 7px;font-size:11px}}
@media(max-width:390px){.bubble-field{grid-template-rows:repeat(4,140px);min-height:580px}.bubble,.bubble-slot:nth-child(4n+1) .bubble{--bubble-size:120px}.bubble-slot:nth-child(7n+3) .bubble{--bubble-size:124px}.form-pair{grid-template-columns:1fr}.auth-layout{padding:40px 7%}.field-key{gap:9px}.field-key>span{font-size:8px}.bubble-text{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}

/* Warm daylight palette. Keep structure and motion unchanged. */
:root {
  color-scheme: light;
  --bg: #f7f3f2;
  --panel: #fffaf8;
  --text: #353135;
  --subtle: #655e61;
  --faint: #776e71;
  --line: rgba(77, 58, 60, .16);
  --rose: #a94f53;
  --mint: #476f60;
  --gold: #86613d;
  --shadow: 0 24px 70px rgba(98, 66, 61, .17);
}
body {
  background:
    radial-gradient(ellipse 54% 57% at 8% 78%, rgba(228, 168, 153, .25), transparent 72%),
    radial-gradient(ellipse 44% 52% at 92% 7%, rgba(160, 190, 166, .19), transparent 74%),
    var(--bg);
}
.ambient i { border-color: rgba(115, 77, 76, .11); }
input, textarea { background: rgba(255, 255, 255, .73); }
input:hover, textarea:hover { border-color: rgba(112, 68, 66, .39); }
label { color: #55494b; }
.auth-intro p { color: var(--subtle); }
.auth-panel, .space-panel { color: var(--text); }
.brand-art span { border-color: rgba(255, 255, 255, .8); }
.role-option, .kind-option { background: rgba(255, 255, 255, .57); }
.role-option[aria-pressed=true], .kind-option.is-active { background: rgba(169, 79, 83, .11); }
.primary-button, .compose-button { color: #fff; box-shadow: 0 12px 29px rgba(157, 83, 77, .18); }
.primary-button:hover, .compose-button:hover { background: #924248; }
.outline-button { border-color: var(--line); }
.outline-button:hover { background: rgba(169, 79, 83, .07); }
.text-button.danger { color: #a43743; }
#notice { color: var(--text); background: #fffaf8; border-color: var(--line); }
.online-dot { box-shadow: 0 0 11px rgba(71, 111, 96, .27); }
.lead>.preview-banner { color: #65483c; background: rgba(221, 171, 134, .19); }
.bubble-field:before {
  background: radial-gradient(ellipse at 48% 46%, rgba(228, 166, 151, .13), transparent 67%);
}
.bubble {
  border-color: rgba(255, 255, 255, .91);
  background: radial-gradient(circle at 27% 22%, rgba(255,255,255,.95), rgba(245,207,198,.86) 38%, rgba(225,166,160,.55) 73%, rgba(225,166,160,.31));
  box-shadow: inset -9px -13px 24px rgba(132,79,80,.09), inset 9px 9px 18px rgba(255,255,255,.76), 0 15px 33px rgba(146,91,88,.16);
}
.bubble:hover { box-shadow: inset -9px -13px 24px rgba(132,79,80,.07), 0 19px 35px rgba(146,91,88,.21), 0 0 30px rgba(184,113,107,.17); }
.bubble.impression {
  background: radial-gradient(circle at 27% 22%, rgba(255,255,255,.96), rgba(212,233,218,.87) 39%, rgba(155,195,174,.57) 76%, rgba(155,195,174,.32));
  box-shadow: inset -9px -13px 24px rgba(69,107,87,.08), 0 15px 33px rgba(82,122,101,.14);
}
.bubble.answered {
  background: radial-gradient(circle at 27% 22%, rgba(255,255,255,.97), rgba(248,228,193,.88) 39%, rgba(225,191,139,.58) 76%, rgba(225,191,139,.31));
}
.bubble-label { color: #624347; font-weight: 650; }
.bubble.impression .bubble-label { color: #355b4d; }
.bubble.answered .bubble-label { color: #6d512e; }
.bubble-author { color: #655b59; }
.timeline-item:hover { background: rgba(169, 79, 83, .055); }
.timeline-icon { border-color: rgba(169, 79, 83, .38); }
.timeline-item.impression .timeline-icon { border-color: rgba(71, 111, 96, .4); }
.preview-note { border-color: rgba(169, 79, 83, .28); background: rgba(232, 175, 161, .14); }
.sheet-dialog { border-color: rgba(100, 70, 70, .17); background: var(--panel); }
.sheet-dialog::backdrop { background: rgba(48, 35, 39, .47); }

/* Private photo memories use the same restrained timeline and sheet language. */
.memory-add { min-height: 44px; margin: 0 0 18px; padding: 9px 14px; }
.memory-item { align-items: center; min-height: 92px; }
.memory-thumb { width: 76px; height: 68px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 6px; background: #ead9d1; color: var(--rose); }
.memory-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.memory-item .timeline-body { display: flex; flex-direction: column; }
.memory-item .timeline-text { display: block; }
.memory-dialog { width: min(94vw, 640px); }
.memory-detail-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 9px; margin: 16px 0 24px; }
.memory-detail-photos img, .memory-example-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #ead9d1; }
.memory-example-image { display: grid; place-items: center; padding: 16px; color: var(--rose); text-align: center; font-size: 13px; }
.memory-thumb .memory-example-image { width: 100%; height: 100%; aspect-ratio: auto; font-size: 10px; }
#memory-photos { min-height: 48px; font-size: 12px; }
#memory-compose-form .form-note { margin: 8px 0 18px; }
#memory-compose-form .primary-button { margin-top: 19px; }
#memory-note-form .primary-button { min-height: 44px; }
@media(max-width:390px) { .memory-thumb { width: 62px; height: 62px; } .memory-item { gap: 11px; } .memory-item .timeline-meta { flex-wrap: wrap; } }

