/* Rose letter-paper. These tokens also govern every private dialog and mobile view. */
:root{--bg:#fff5f7;--paper:#fffdfd;--ink:#46232e;--muted:#79505e;--green:#b72f5a;--line:#e9bbc9;--pink:#b72f5a;--serif:'Songti SC','STSong','SimSun',serif;--accent:#b72f5a;--soft:#fce1ea}
body{font-family:'PingFang SC','Microsoft YaHei',sans-serif;font-size:15px;color:var(--ink);background:var(--bg)}button,input,textarea,select{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a5234e;outline-offset:3px}button:disabled{filter:none;opacity:.65}button:disabled:not(.sea-page){cursor:wait}h1 span{color:var(--accent)}
.header{max-width:1320px;background:var(--bg)}.brand-icon,.header nav{background:#f8dce6}.brand-icon svg,.brand{color:var(--accent)}.nav-item{font-size:14px;color:#754050;padding:12px 18px;min-height:46px}.nav-item.active{background:var(--paper);color:#982347;box-shadow:0 2px 8px #a72f5812}.together,.header .together{color:#754050;font-size:12px}.avatar{background:#f6c9d9;color:#9c234a;border-color:var(--bg)}.avatar.second{background:#f6ded4;color:#89503f}.logout-button{background:var(--paper);color:#8c3150;border-color:var(--line);font-size:12px;min-height:36px}.intro p{font-size:14px;color:var(--muted);line-height:1.8}.eyebrow,.small-index{color:#92435f}.eyebrow{font-size:11px;letter-spacing:2.2px}.section-sub,.date-note,.date-note small{color:var(--muted);font-size:12px}.section-heading h2{font-size:21px;line-height:1.65}.section-heading{margin-bottom:22px}.primary{background:var(--accent);color:white;min-height:48px;font-size:14px;box-shadow:0 5px 15px #a4234a15}.primary:hover{background:#9d244c;box-shadow:0 5px 17px #a4234a25}.primary:disabled{background:#9c4965;color:#fff}.subtle-button{background:#fff9fb;color:#8c3150;border-color:#d49bae;font-size:13px;min-height:44px}.subtle-button.selected{background:#f9d5e2;border-color:#b4486c}.text-button,.read-draw-message{color:#9a2c51;font-size:13px;min-height:36px}.quiet{font-size:12px;line-height:1.9;color:var(--muted);letter-spacing:.3px}.corner-label{font-size:11px;color:#895066}.corner-star{color:#bd4872}.draw-card>p,.fire-card>p{font-size:14px;color:var(--muted);line-height:1.9}.draw-card h3,.fire-card h3{font-size:24px;line-height:1.65}.history-bar,.draw-history{background:var(--paper);border-color:var(--line)}.history-bar>div,.history-bar p{font-size:13px;color:var(--muted);line-height:1.8}.tiny-label{color:#8a405a;font-size:12px}.draw-history summary{font-size:14px;color:#79324c;min-height:30px}.draw-history summary>span{font-size:12px;color:var(--muted)}.history-item{border-color:var(--line)}.history-item>span{color:#9e3156;background:#f8dce6;flex-shrink:0}.history-item h4{font-size:14px;color:var(--ink)}.history-item p,.history-empty{font-size:12px;color:var(--muted)}.history-bar p{overflow-wrap:anywhere}footer{font-size:12px;color:#79505e;line-height:1.8}footer span:last-child{font-size:10px;color:#79505e}
/* A single mysterious draw scene. No catalogue or odds are displayed. */
.lottery-grid{grid-template-columns:1fr}.draw-card{background:#fce8ee;padding:30px 40px;display:grid;grid-template-columns:1.05fr 1fr;column-gap:30px;align-items:center;justify-items:start;text-align:left;min-height:415px}.draw-card .corner-label{grid-column:1/-1}.draw-card .illustration{grid-column:1;grid-row:2/7;max-width:470px;margin:0;position:relative}.draw-card h3{grid-column:2;margin:20px 0 0}.draw-card>p{grid-column:2;margin:4px 0 0}.draw-card .draw-button{grid-column:2;margin-top:12px;width:100%;max-width:320px}.draw-card .quiet{grid-column:2;margin-top:0}.shaking{animation:draw-shake .24s ease-in-out infinite}.shaking .sticks{animation:stick-rattle .18s ease-in-out infinite}.shaking::after{content:'♡';position:absolute;left:70%;top:20%;font:36px var(--serif);color:#b72f5a;animation:draw-hearts .7s ease-out infinite;pointer-events:none}@keyframes draw-shake{0%,100%{transform:rotate(-2deg) translateX(-3px)}50%{transform:rotate(2deg) translateX(3px)}}@keyframes stick-rattle{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(3deg) translateY(-5px)}}@keyframes draw-hearts{0%{opacity:0;transform:translateY(20px) scale(.7)}30%{opacity:1}100%{opacity:0;transform:translateY(-35px) scale(1.15)}}
/* Bottles travel across a bounded sea, rather than bobbing at fixed positions. */
.wish-top{background:#fce5ed;border-color:var(--line)}.wish-top h3{color:var(--ink);font-size:26px}.wish-top p{font-size:14px;color:var(--muted)}.wish-ocean{border-color:#dba1b6;background:#f2c7d6}.ocean-caption{color:#7c4058;font-size:11px;letter-spacing:1.5px;gap:12px}.ocean-caption span:last-child{font-size:12px}.bottle-sea{height:330px;margin:0 58px}.sea-bottle{left:var(--x0);top:var(--y0);color:#78354f;animation:bottle-sail var(--sail-time,28s) linear infinite;animation-delay:var(--bob-delay)}.sea-bottle:hover,.sea-bottle:focus-within{animation-play-state:paused}.sea-bottle>span{color:#78354f;background:#fff6f8ed;font-size:11px;box-shadow:0 1px 6px #87264613}.ocean-controls .primary{background:var(--accent);font-size:14px;min-height:48px}.sea-page{background:#fff5f8;border-color:#b86d8b;color:#943454;width:40px;height:40px}.ocean-hint{color:#74394f;font-size:12px}.ocean-empty,.ocean-empty small{color:#753b50}.ocean-empty small{font-size:12px}.bottle-toolbar>span,.bottle-section-heading>span{font-size:12px;color:var(--muted)}.bottle-section-heading h3{font-size:23px;line-height:1.65}.filters{flex-wrap:wrap}.filters button{font-size:13px;color:#7e3852;min-height:42px}.filters button.selected{background:#f5cddd;color:#822c4a}.shore-wish{color:var(--ink);border-color:var(--line);background:var(--paper)}.shore-wish strong{font-size:16px}.shore-wish small{font-size:12px;color:var(--muted)}.shore-arrow{color:#a13d60}.shore-empty{border-color:#d79eb1;color:var(--muted);font-size:15px}.wish-cabinet{background:linear-gradient(100deg,#f4dbd8,#fff0ec 45%,#f2d8d6);border-color:#d9aaa9}.cabinet-shelf{border-bottom-color:#bd8b8c}.cabinet-bottle{color:#653746}.cabinet-bottle>span{font-size:14px}.cabinet-bottle>small{font-size:11px;color:#79505e}.cabinet-empty{font-size:16px;color:#79505e}.cabinet-empty small{font-size:12px;color:#79505e}.empty-shelf{background:#bd8b8c}.demo-note{font-size:12px;color:var(--muted);line-height:1.9}.bottle-dialog{background:var(--paper)}.bottle-dialog h2{color:var(--ink);font-size:24px}.bottle-sender,.bottle-status{color:var(--muted);font-size:13px}.bottle-dialog-actions .primary,.bottle-dialog-actions .subtle-button,.bottle-dialog-actions .text-button{font-size:13px}.bottle-dialog-actions .subtle-button{background:#fff5f8}@keyframes bottle-sail{0%,100%{left:var(--x0);top:var(--y0)}25%{left:var(--x1);top:var(--y1)}50%{left:var(--x2);top:var(--y2)}75%{left:var(--x3);top:var(--y3)}}
/* One shared fire above, personal tending records below. */
.fire-grid{grid-template-columns:1fr;gap:22px}.fire-card{background:#fce7ec;padding:30px}.fire-scene{height:265px}.fire-side{padding:32px;background:var(--paper)}.fire-side h3{font-size:25px;margin-bottom:22px}.stats{grid-template-columns:1fr;padding:20px 0}.stats>div{flex-direction:row;align-items:baseline;gap:12px}.stats strong{font-size:36px;color:#ad2c54}.stats span{font-size:13px;color:var(--muted)}.couple-fire-today{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}.fire-person{display:flex;align-items:center;gap:14px;padding:17px;background:#fff3f7;border:1px solid var(--line);border-radius:12px}.fire-person.tended{background:#fbe1eb}.fire-person strong{display:block;font-size:15px;color:#77334a}.fire-person small{display:block;font-size:12px;color:var(--muted);margin-top:5px}.fire-avatar{display:inline-flex;position:relative;width:48px;height:48px;align-items:center;justify-content:center;border:1.5px solid #ce8da5;border-radius:50%;background:#fff6f8;flex-shrink:0}.fire-avatar svg{width:38px;height:38px;stroke:none}.fire-avatar>b{font-size:9px;position:absolute;left:-2px;bottom:-2px;background:#fffcfd;border-radius:50%;border:1px solid #ce8da5;width:17px;height:17px;display:grid;place-items:center;color:#82324d}.fire-avatar>i{position:absolute;right:-3px;bottom:-2px;width:18px;height:18px;background:#ae2852;color:white;font-size:12px;display:grid;place-items:center;border:2px solid white;border-radius:50%;font-style:normal}.fire-avatar.is-waiting{border-style:dashed;background:#fffafc}.fire-avatar.is-waiting svg{filter:grayscale(1);opacity:.55}.fire-avatar.mini{width:32px;height:32px}.fire-avatar.mini svg{width:27px;height:27px}.fire-avatar.mini>b{width:13px;height:13px;font-size:8px;left:-3px}.fire-avatar.mini>i{width:15px;height:15px;font-size:10px;right:-4px}.fire-side h4{font-size:16px;color:#683144;font-weight:500;margin:28px 0 16px}.week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.day{padding:12px 5px 14px;border:1px solid #efd1dc;border-radius:12px;background:#fff7fa;color:#754355;font-size:12px}.day.today{background:#fce1eb;border-color:#c45d81}.day-avatars{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}.fire-note,.fire-note p{color:var(--muted);font-size:13px;line-height:1.9}.fire-note svg{color:#b4365e}
/* Small pins: no labels or photos until selected. */
.compact-pin{height:32px;min-width:32px;padding:0 5px;display:flex;align-items:center;justify-content:center;gap:2px;border:1.5px solid #b9436a;border-radius:18px;background:#fff9fc;box-shadow:0 2px 7px #822b4c30;color:#8f2548}.compact-pin>span{font-size:17px;line-height:1}.compact-pin>b{font:600 12px 'PingFang SC','Microsoft YaHei',sans-serif}.cluster-pin{background:#fbdce8}.cluster-intro{font-size:13px;color:#81334e;margin-bottom:14px}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff9fc}.leaflet-popup-content p{font-size:13px;color:var(--muted);line-height:1.7}.leaflet-popup-content h4{font-size:16px}.popup-open{background:#f6d7e3;color:#8b2b4c;font-size:13px;min-height:42px}.popup-entry+.popup-entry{border-color:var(--line)}.leaflet-control-zoom a{color:#a02c52!important;background:#fff5f9!important}.leaflet-bar{border-color:#d9a1b5!important}.journey-map-top h3{font-size:25px;line-height:1.7}.map-bottom{color:var(--muted);font-size:12px;border-color:var(--line)}#meeting-map,#meeting-picker{background:#f9e7ed}.journey-stats strong{color:#ad2c54}.journey-stats span,.journey-stats>p{color:var(--muted);font-size:13px}.journey-stats>div{border-color:var(--line)}.meeting-toolbar h3{font-size:24px}.meeting-actions .primary{font-size:14px;min-height:46px}.meeting-filters label,.meeting-filters>span{font-size:13px;color:var(--muted)}.meeting-filters input{font-size:14px;min-height:44px}.meeting-memory{background:var(--paper)}.memory-photo-button{background:#f6d7e3}.memory-placeholder{background:linear-gradient(120deg,#f9dce8,#fae4de)}.memory-number,.memory-dates{font-size:12px;color:#8a405c}.memory-body h4{font-size:21px}.memory-diary{font-size:14px;color:var(--muted)}.memory-actions{border-color:var(--line);flex-wrap:wrap}.memory-actions button{font-size:13px;color:#923052;min-height:38px}.memory-actions button:last-child{color:#9e3154}.meeting-empty{border-color:#d9a1b5;color:var(--muted);font-size:16px}.meeting-empty span,.meeting-privacy{font-size:12px;color:var(--muted)}.tile-offline{background:#fff8fbef;color:#73394d;border-color:var(--line);font-size:12px}.map-fallback-message{color:var(--muted)}
/* Forms, dialogs and the welcome page use the same readable text hierarchy. */
dialog{background:var(--paper);color:var(--ink);border-color:var(--line);max-height:90dvh;overflow-y:auto}dialog::backdrop{background:#4f213959}.close{color:#943454;width:40px;height:40px}.result-paper{background:#fff0f5;border-color:var(--line)}.result-grade{color:#a02c52;border-color:#cb829e}.result-icon{background:#f5cedd;color:#a02c52}.result-paper p,.history-message{color:#683345;font-size:16px;line-height:2}.result-paper small,.message-source,#history-detail-meta{color:var(--muted);font-size:12px}.ticket-dash{border-color:#d69ab1}form>label,.date-fields label,.marker-choices legend,.meeting-upload label{font-size:14px;color:#683345}.field-hint,.detail-location,.diary-upload,.detail-date,.detail-number,.photo-zoom-actions span{font-size:12px;color:var(--muted)}.detail-diary{color:#683345;font-size:16px}.meeting-editor input:not([type=radio]):not([type=file]),.meeting-filters input,textarea,select{background:#fff8fb;border-color:#dca8bb;color:var(--ink);font-size:15px}.meeting-editor input:not([type=radio]):not([type=file]){min-height:46px}textarea::placeholder,input::placeholder{color:#8f6574;opacity:1}.form-bottom{font-size:12px;color:var(--muted)}select{font-size:13px}.place-result{background:#fff1f6;border-color:#e7bccb;color:#73394d;font-size:14px}.marker-choices span{background:#fff5f9;border-color:#dca8bb}.marker-choices input:checked+span{background:#f5cfdf;border-color:#b4365e;box-shadow:0 0 0 2px #efc5d6}.meeting-upload{border-color:#d79bb1}.meeting-upload input[type=file]{font-size:12px;color:var(--muted)}.meeting-upload input::file-selector-button{background:#f8dce7;border-color:#d79bb1;color:#7c2f4a;font-size:12px}.form-error,.login-error{font-size:13px;color:#a5234e}.detail-picture-frame{background:#fbe8ee}.toast{background:#862744;color:white;font-size:14px;z-index:1500}.auth-screen{background:var(--bg)}.auth-story{background:#f9dfe9}.auth-story h1 span{color:#ad2c54}.auth-story-copy p,.auth-story-foot,.login-intro,.login-bottom,.login-rule{color:var(--muted);font-size:13px}.auth-entry label{font-size:13px;color:#71374c}.login-flower{color:#b9436a}.username-field{border-color:#d39aaf;background:#fff9fb}.username-field svg{color:#a53b61}.username-field input{color:#46232e;font-size:16px}.username-field input::placeholder{font-size:14px;color:#8e5d70}.username-field:focus-within{outline-color:#b9436a}.login-submit{font-size:14px}.login-rule{border-color:#dca8bb}.login-rule p{font-size:12px}.legacy-import{background:#fff0f5;border-color:#c9829d}.legacy-import p{color:#73394d;font-size:13px}.blocked-card{background:var(--paper);border-color:var(--line)}.blocked-card p{color:var(--muted);font-size:14px}
@media(max-width:1000px){.nav-item{padding:12px 13px}.day-avatars{flex-direction:column;gap:13px}.fire-side h3{font-size:23px}.journey-stats>div{gap:8px}}
@media(max-width:900px){
 body.signed-in{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.header{height:76px;min-height:76px;padding:12px 18px;gap:8px;flex-wrap:nowrap;position:relative}.brand{font-size:21px;gap:9px}.brand-icon{width:36px;height:36px}.brand small{font-size:8px;letter-spacing:2px}.header .together{margin-left:auto;gap:8px}.header .together .avatar{display:none}.header .together>span:not(.avatar){display:block!important;font-size:11px}.header nav{position:fixed;z-index:1000;bottom:0;left:0;right:0;order:initial;width:100%;height:calc(70px + env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom));gap:4px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-radius:18px 18px 0 0;border:1px solid #dfafc1;background:#fff7fbea;backdrop-filter:blur(15px);box-shadow:0 -4px 20px #a32f5810}.header nav .nav-item{padding:6px 2px;min-width:0;min-height:52px;display:flex;flex-direction:column;gap:5px;border-radius:12px;font-size:12px;justify-content:center}.header nav .nav-item svg{width:20px;height:20px}.nav-item.active{background:#f7d6e4;box-shadow:none}.logout-button{font-size:11px;padding:5px 9px}.header nav .nav-item.active{color:#94294e}
 main{padding:0 16px;max-width:100%}.intro{padding:28px 0 25px}.intro .eyebrow{font-size:9px;letter-spacing:1.5px}h1{font-size:25px;line-height:1.65;letter-spacing:.3px}.intro p{font-size:13px;letter-spacing:0;margin-top:5px}.date-note{display:none}.section-heading{margin-bottom:16px}.section-heading>div{gap:9px}.section-heading h2{font-size:19px;letter-spacing:.2px}.section-sub{display:none}.small-index{font-size:14px}.eyebrow{font-size:10px;letter-spacing:1.6px}.draw-card{padding:24px 20px 27px;display:flex;flex-direction:column;text-align:center;align-items:center;gap:0;min-height:0}.draw-card .corner-label{align-self:flex-start;font-size:10px}.draw-card .illustration{max-width:360px;margin:4px auto 5px}.draw-card h3{font-size:21px;margin:0 0 8px}.draw-card>p{font-size:13px;margin:0 0 20px}.draw-card .draw-button{margin:0;max-width:none;width:100%}.draw-card .quiet{margin-top:14px}.primary{font-size:14px;min-height:48px}.history-bar{padding:17px;gap:8px}.history-bar>div,.history-bar p{font-size:13px}.draw-history{padding:17px}.draw-history summary{font-size:14px}.history-item h4{font-size:15px}#draw-history-list{grid-template-columns:1fr}.wish-top{padding:23px 20px;align-items:stretch;flex-direction:column;gap:17px}.wish-top h3{font-size:23px;line-height:1.65;margin:9px 0}.wish-top p{font-size:13px}.wish-top .primary{width:100%}.ocean-caption{left:16px;right:16px;top:17px;font-size:9px;letter-spacing:.8px}.ocean-caption span:last-child{font-size:11px;letter-spacing:0}.wish-ocean{padding-top:44px}.bottle-sea{height:340px;margin:0 48px}.sea-bottle{width:86px}.sea-bottle>span{font-size:10px;padding:4px 7px}.sea-bottle .bottle-art{width:70px;height:116px}.ocean-controls{gap:12px;padding:4px 12px 0}.ocean-controls .primary{font-size:13px;padding:12px 14px;min-height:46px;gap:7px}.sea-page{width:32px;height:36px;flex-shrink:0}.ocean-hint{font-size:12px;padding:0 14px;line-height:1.8}.bottle-toolbar{flex-wrap:wrap;margin:23px 0;align-items:center}.bottle-toolbar>span{font-size:12px;padding:0}.bottle-toolbar .filters{gap:3px}.bottle-toolbar .filters button{font-size:12px;padding:8px 10px;min-height:42px}.bottle-section-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}.bottle-section-heading .eyebrow{font-size:9px}.bottle-section-heading h3{font-size:21px}.bottle-section-heading>span{font-size:12px}.shore-wishes{grid-template-columns:1fr}.shore-wish{padding:14px}.shore-wish strong{font-size:16px}.shore-wish small{font-size:12px}.wish-cabinet{padding:17px 12px}.cabinet-shelf{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cabinet-bottle>span{font-size:13px}.cabinet-bottle>small{font-size:10px}.cabinet-empty{font-size:15px}.cabinet-empty small{font-size:12px}.bottle-dialog{padding:30px 20px}.bottle-dialog h2{font-size:22px}.bottle-dialog-art .bottle-art{width:88px;height:145px}.bottle-status{font-size:13px}.bottle-dialog-actions .primary,.bottle-dialog-actions .subtle-button{font-size:13px;white-space:normal}
 .fire-grid{grid-template-columns:1fr;gap:18px}.fire-card{padding:24px 18px}.fire-scene{height:245px;width:300px}.fire-card h3{font-size:23px}.fire-side{padding:25px 16px}.fire-side h3{font-size:21px;margin:15px 0 20px}.stats{padding:18px 0}.stats strong{font-size:34px}.couple-fire-today{grid-template-columns:1fr;gap:10px}.fire-person{padding:13px 15px;gap:13px}.fire-person strong{font-size:15px}.fire-person small{font-size:13px}.week{gap:4px}.day{padding:12px 2px;border-radius:9px}.day-date{font-size:11px;white-space:nowrap}.day-avatars{flex-direction:column;gap:14px;margin-top:12px}.fire-avatar.mini{width:27px;height:27px}.fire-avatar.mini svg{width:23px;height:23px}.fire-side h4{font-size:16px}.fire-note p{font-size:13px}
 .journey-map-top{padding:22px 18px;flex-direction:column;align-items:stretch}.journey-map-top h3{font-size:23px;line-height:1.6}.map-actions{width:100%}.map-actions button{flex:1;font-size:13px;min-height:44px}#meeting-map{height:360px}.map-bottom{padding:13px 15px;flex-direction:column;font-size:12px;line-height:1.7}.journey-stats{grid-template-columns:repeat(3,minmax(0,1fr));padding:24px 0;gap:0}.journey-stats>div{flex-direction:column;align-items:center;gap:5px;padding:0}.journey-stats>div:nth-child(3){border:0}.journey-stats strong{font-size:30px}.journey-stats span{font-size:12px;white-space:nowrap}.journey-stats>p{display:none}.meeting-toolbar{flex-direction:column;align-items:stretch;gap:17px}.meeting-toolbar h3{font-size:23px}.meeting-actions{width:100%;justify-content:flex-start;gap:7px}.meeting-actions .primary{flex:1;padding:12px 10px;font-size:13px}.meeting-actions .subtle-button{font-size:12px;min-height:46px;padding:10px}.meeting-list{grid-template-columns:1fr}.meeting-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.meeting-filters label{display:flex;flex-direction:column;align-items:flex-start;gap:7px;font-size:13px;min-width:0}.meeting-filters input{width:100%;min-width:0;font-size:14px}.meeting-filters .place-filter{grid-column:1/-1}.meeting-filters .place-filter input{width:100%}.meeting-filters .text-button{justify-self:start;min-height:40px}.meeting-filters>span{text-align:right;font-size:12px}.memory-body{padding:20px}.memory-diary{font-size:14px}.memory-photo-button{height:220px}.meeting-editor{padding:30px 18px}.meeting-editor h2{font-size:23px;line-height:1.6}.date-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.date-fields input{font-size:14px!important;padding:10px 6px!important;max-width:100%;width:100%}.place-search{flex-direction:column}.place-search button{width:100%;font-size:14px}.marker-choices{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.marker-choices span{width:100%;height:42px;font-size:21px}.meeting-upload{padding:15px;align-items:flex-start;flex-direction:column}.meeting-upload input[type=file]{font-size:13px}.meeting-upload img{width:100%;height:150px}.diary-upload{flex-wrap:wrap;gap:10px;font-size:12px}.diary-upload .text-button{font-size:12px}.field-hint{font-size:12px}.meeting-detail{padding:32px 20px}.meeting-detail h2{font-size:24px}.detail-diary{font-size:16px}.confirm-actions{flex-direction:column}.confirm-actions button{width:100%}.photo-zoom-actions{gap:7px;flex-wrap:wrap}.photo-zoom-actions button{min-width:44px}.detail-location{overflow-wrap:anywhere}dialog{max-width:calc(100% - 24px);max-height:88dvh;padding:30px 20px}.result-paper h2{font-size:25px}.result-paper p{font-size:16px}.toast{bottom:calc(85px + env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 32px);font-size:13px;padding:13px 20px;line-height:1.7}.auth-screen{grid-template-columns:1fr}.auth-story{padding:24px 22px;min-height:240px}.auth-story h1{font-size:27px;line-height:1.6}.auth-story-copy{margin-top:25px;max-width:85%}.auth-story-copy .eyebrow{font-size:8px}.home-illustration{width:205px;opacity:.7;right:-23px;bottom:-15px}.auth-entry{padding:30px 24px 38px;max-width:460px}.auth-entry h2{font-size:24px}.login-intro{font-size:14px;line-height:1.8}.login-rule p,.login-bottom{font-size:13px}.login-flower{font-size:32px;margin-bottom:16px}.login-submit{font-size:15px}.legacy-import{padding:15px;gap:12px;flex-wrap:wrap}.legacy-import p{flex-basis:100%;font-size:13px}footer{margin-top:28px;padding:22px 0;justify-content:center}footer span:last-child{display:none}
}
@media(max-width:360px){main{padding:0 12px}.brand{font-size:19px}.header{padding:12px}.header .together>span:not(.avatar){font-size:10px}.section-heading h2{font-size:17px}.ocean-caption>span:first-child{font-size:8px;letter-spacing:.4px}.ocean-caption span:last-child{font-size:10px}.bottle-sea{margin:0 44px}.bottle-toolbar .filters button{padding:8px}.fire-side{padding:23px 12px}.day-date{font-size:10px}.journey-stats span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.sea-bottle{left:var(--x0);top:var(--y0)}.shaking::after{display:none}}
/* Allow the fire illustration to shrink with the narrowest phones. */
.lottery-grid,.fire-grid{grid-template-columns:minmax(0,1fr)}.draw-card,.fire-card,.fire-side{min-width:0}
