.today-cover{background:#fff7e4;color:#34483f;border:1px solid #7f8471;border-radius:20px;box-shadow:0 5px 0 #d8d1b9;margin:clamp(16px,3vw,32px) 0 22px;overflow:hidden;isolation:isolate}
.today-cover .today-dateline,.today-cover>h1,.today-cover>p{margin-left:clamp(18px,4vw,40px);margin-right:clamp(18px,4vw,40px)}
.today-dateline{display:flex;justify-content:space-between;gap:12px;padding-top:clamp(17px,3vw,28px);color:#74694f;font-size:12px;letter-spacing:.065em;font-weight:650}
#cover-mode{max-width:55%;text-align:right;overflow-wrap:anywhere}
.today-cover h1{font:900 clamp(35px,6vw,65px)/1.14 var(--serif);letter-spacing:-.055em;margin-top:12px;margin-bottom:8px}
.today-cover>p{font-size:clamp(13px,1.8vw,17px);line-height:1.65;margin-top:0;margin-bottom:17px;color:#605d4a}
.journey-map{background:#afc49a;position:relative;overflow:hidden;isolation:isolate;width:100%}
.map-terrain{display:block;width:100%;height:clamp(166px,26vw,270px);image-rendering:pixelated}
.map-pet{position:absolute;transform:translateX(-50%);line-height:0;transition:left .6s ease,bottom .6s ease;filter:drop-shadow(0 2px 0 #604e4555)}
.map-pet svg{width:clamp(30px,6vw,62px);height:auto;display:block}
.map-cities{position:absolute;left:4%;right:4%;bottom:5%;display:flex;justify-content:space-between;gap:1em;pointer-events:none}
.map-cities span{max-width:44%;overflow-wrap:anywhere;font-size:12px;font-weight:700;background:#fff2d3e8;border:1px solid #8a846a;border-radius:3px;padding:3px 8px;color:#4d5342}
.today-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:clamp(16px,3vw,28px) clamp(18px,4vw,40px)}
.today-bottom strong{font:800 clamp(19px,2.5vw,27px)/1.35 var(--serif)}.today-bottom p{font-size:13px;line-height:1.5;color:#6a6655;margin:5px 0 0}
#cover-start{background:#31594b;border-color:#29483c;color:#fff9e8;white-space:nowrap}
.scene-shelf{border:1px solid #b2ab94;border-radius:14px;background:#f8f1df;overflow:hidden;margin:0 0 17px}
.scene-shelf>summary{display:flex;align-items:center;gap:12px;list-style:none;font-size:16px;font-weight:750;padding:17px 21px;color:#3d5146}
.scene-shelf>summary::-webkit-details-marker{display:none}.scene-shelf>summary small{font-weight:450;font-size:12px;color:#6e715e}.scene-shelf>summary:after{content:'＋';margin-left:auto;font-size:19px}.scene-shelf[open]>summary:after{content:'−'}
.scene-shelf>nav,.scene-shelf>section{margin-left:14px;margin-right:14px}.scene-shelf>section:last-child{margin-bottom:15px}
.home-footer{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;color:#645e52;font-size:12px}
.home-footer>button,.home-footer summary{background:none;border:0;padding:6px 0;color:inherit;font-size:12px}
.home-footer .brief{background:none;box-shadow:none;border:none;padding:0;margin:0}.home-footer .brief[open]{flex-basis:100%}.home-footer .brief>p{max-width:35em}
.space-notice{padding:11px 14px;background:#fff0c9;border-left:4px solid #ab783c;font-size:13px;line-height:1.7}
.life-panel .journey-map{border-radius:12px;margin:12px 0}.life-panel .map-terrain{height:clamp(150px,22vw,210px)}
.dish-option,.letter-line{display:block;width:100%;text-align:left;border:1px solid #c0b295;background:#fbf3de;padding:12px 14px;margin:8px 0;border-radius:10px}.dish-option.chosen{background:#dcebd1}
.coin-jar{height:124px;width:98px;margin:20px auto 12px;background:linear-gradient(90deg,#e5eee0,#f7f3d4,#d9e7d9);border:4px solid #6d8b7b;border-radius:18px 18px 29px 29px;position:relative}
.coin-jar:before{content:'';position:absolute;top:-9px;left:8%;width:84%;height:12px;border-radius:4px;background:#a37850;box-shadow:0 3px #695f4d}
.jar-coins{position:absolute;bottom:6px;left:8px;right:8px;color:#d7a24b;font-size:19px;line-height:.7;overflow-wrap:anywhere;text-shadow:1px 1px #956635}
.spark-board,.shared-gift{position:relative;overflow:hidden;border-radius:14px;padding:20px;margin:16px 0;background:#ede6f8;border:1px solid #ab9cba}.spark-board{background:#30334c;color:#fff2d2;text-align:center}.spark-board .life-note{color:#efe4cd}.spark-time{font-size:26px}
.burst{height:118px;position:relative;--size:55px}.burst.medium{--size:40px}.burst.gentle{--size:25px}.burst i{position:absolute;left:50%;top:50%;width:5px;height:5px;background:#ffd586;transform:rotate(calc(var(--n)*137.5deg)) translateX(var(--size));animation:sparkle 1.6s ease-out infinite}
.burst i:nth-child(3n){background:#ffc0a6}.burst i:nth-child(3n+1){background:#a4e2ce}
@keyframes sparkle{0%{transform:rotate(calc(var(--n)*137.5deg)) translateX(2px);opacity:0}20%{opacity:1}100%{opacity:.1}}
.gift-ticket{background:#ddeddb}.gift-letter{background:#fff0de}.gift-quiz{background:#eee5fa}.gift-quiz .sc-option{display:block;width:100%;margin:8px 0}
.tear-strip{touch-action:pan-y;padding:13px;border:2px dashed #71816b;border-radius:8px;margin:15px 0;cursor:grab;color:#405d46}.ticket-stamp{display:inline-block;color:#9c5341;border:2px solid;padding:3px 9px;transform:rotate(-5deg);margin:8px 12px 8px 0}
.letter-body,.pair-reveal{white-space:pre-wrap;line-height:1.8}.birthday-route{display:flex;justify-content:center;align-items:end;gap:14px;margin:14px 0}.birthday-route .map-pet{position:static;transform:none}
.pair-reveal{display:grid;grid-template-columns:1fr 1fr;gap:10px}.answer-face{border:1px solid #ac99b1;background:#fff9ed;border-radius:10px;padding:12px;transform-origin:left;overflow-wrap:anywhere}.answer-face:nth-child(2){background:#e6f1e4;animation-delay:.12s}.answer-face .life-note{margin:0 0 6px}
@media(prefers-reduced-motion:no-preference){.answer-face{animation:turn-card .48s both}.unsealed .letter-body,.ticket-stamp{animation:paper-in .36s both}.jar-coins{animation:paper-in .33s ease-out}}
@keyframes turn-card{from{opacity:.15;transform:perspective(500px) rotateY(-78deg)}to{opacity:1;transform:none}}
@keyframes paper-in{from{opacity:.25;translate:0 -9px}to{opacity:1;translate:0 0}}
.birthday-memories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.memory-tile{min-height:100px;border:1px dashed #a98c70;border-radius:10px;background:#f9ecd4;padding:9px}.memory-tile img,.memory-tile canvas{width:100%;height:110px;object-fit:cover}.birthday-cake{text-align:center;font-size:64px;padding:12px}
.utility-dialog,.celebration,.photo-dialog{max-width:min(92vw,460px);border:1px solid #686452;border-radius:16px;background:#fff8e7;color:#34483f;padding:20px}
.utility-dialog::backdrop,.celebration::backdrop,.photo-dialog::backdrop{background:#29322b80}.install-icon{width:66px;height:66px;border-radius:14px}.share-cover,.photo-dialog img{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain}.star-flower{font-size:54px;color:#c18a43}
.photo-zoom{display:block;width:100%;border:0;background:none;padding:0;line-height:0}
@media(max-width:530px){.today-bottom{flex-direction:column;align-items:stretch;gap:13px}.today-bottom button{width:100%}.map-terrain{height:155px}.scene-shelf>summary{padding:15px}.home-footer{gap:19px}.today-dateline{font-size:11px}}
@media(prefers-reduced-motion:reduce){.burst i{animation:none}.map-pet{transition:none}}
