/* Restoration of the owner's original. Bottom navigation and functional fixes retained. */
:root{--bg:#02040a;--surface:#0f172ab3;--ink:#eefcff;--muted:#a3bfca;--aqua:#00f2ff;--line:#a0f0ff26;--original-field:radial-gradient(circle at center,#0a1020 0%,#02040a 100%)}
.bottom-nav{--aqua:#73e5ec}
.header-tools{position:relative;align-self:center;justify-self:start}
.header-tools .search-trigger{position:absolute;top:100%;left:0;z-index:25;background:#07111dbf;border:1px solid #a0f0ff26}
.site-header{position:relative}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;grid-column:3;justify-self:end}.lang-switch{display:flex;align-items:center;gap:2px;border:1px solid #a0f0ff26;background:#a0f0ff06;border-radius:99px;padding:3px}.lang-option{min-width:26px;min-height:24px;border-radius:99px;background:none;color:#a3bfca;font:900 10px var(--font);padding:3px 5px}.lang-option.active{background:#00f2ff20;color:#7ffbff}.lang-option:focus-visible{outline:2px solid #a0f0ff;outline-offset:3px}.photo-failed{padding:22px;min-height:230px;color:#a5dce6;gap:10px}.photo-failed strong{font:800 18px var(--font)}.photo-failed small{font-size:12px}.parade-card>.photo-failed{padding:0;min-height:56px;width:56px;height:56px;border-radius:14px}.parade-card>.photo-failed strong,.parade-card>.photo-failed small{display:none}.parade-card>.photo-failed .icon{width:23px;height:23px}.photo-failed.post-avatar{padding:0;min-height:36px;width:36px;height:36px;flex:0 0 36px;border-radius:50%}.photo-failed.post-avatar .icon{width:18px;height:18px}.photo-failed.post-avatar strong,.photo-failed.post-avatar small{display:none}.profile-photo>.photo-failed{background:#e0eafa;color:#2d6b82}.map-memorial .photo-failed.panel-photo{padding:20px;min-height:150px;height:auto}.map-memorial .photo-failed.panel-photo strong{font-size:15px}.photo-failed.panel-photo .icon{width:24px;height:24px}
@media(min-width:761px){.site-header{grid-template-columns:160px 1fr 160px}.brand{position:absolute;left:50%;transform:translateX(-50%)}.site-header>.icon-button{justify-self:start}}
@media(min-width:761px) and (max-width:1050px){.world-search{position:relative;left:auto;top:auto;width:440px;max-width:calc(100% - 40px);margin:0 auto}.earth-frame{margin-top:10px}}
@media(max-width:760px){.header-actions{position:relative}.lang-switch{position:absolute;right:0;top:34px;padding:1px;gap:0}.lang-option{min-width:22px;min-height:17px;font-size:8px;padding:1px 4px}}
body{background:#02040a}body:before{background:var(--original-field)}.starfield{inset:0;animation:none}.starfield i{background:#a0f0ff;opacity:.4;animation:original-stars 60s linear infinite;width:2px;height:2px}.starfield i:nth-child(4n){width:1px;height:1px;opacity:.5}@keyframes original-stars{from{transform:translateY(100vh)}to{transform:translateY(-100vh)}}
.review-note{background:#02040a;color:#8caab6;font-size:8px;border:0;height:16px}.site-header{height:82px;max-width:none;padding-inline:24px;grid-template-columns:48px 1fr 48px;gap:10px}.brand strong{font-size:35px;font-weight:800;letter-spacing:-.5px;color:#eeffff;text-shadow:0 1px 13px #a0f0ff42}.brand small{color:#a0f0ff;letter-spacing:.2em;font-size:9px;margin-top:5px}.site-header>.icon-button{color:#ddfaff}.site-header>.icon-button .icon{width:28px;height:28px}.account-button{background:#00f2ff10;border:1px solid #00f2ff55}.account-button .icon{width:22px!important;height:22px!important}
.world-page{padding-top:0}.world-search{position:absolute;left:72px;top:38px;width:225px;min-height:36px;padding-left:12px;background:#a0f0ff06;border-color:#a0f0ff35}.world-search input{font-size:12px}.world-search button{min-width:28px;min-height:28px;background:#00f2ff12}.earth-frame{width:min(420px,52svh);margin-top:16px;box-shadow:0 10px 65px #00f2ff0b;background:#000}.earth-frame iframe{filter:brightness(.9) saturate(1.1)}.region-invite{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:6px;min-height:36px;padding:7px 14px;border:1px solid #00f2ff80;border-radius:99px;background:#02080cdd;color:#bffbff;font-size:10px;font-weight:900;white-space:nowrap;transition:background 160ms}.region-invite .icon{width:14px;height:14px}.earth-tools{margin:10px 0 0;gap:10px;position:relative;z-index:21}.subtle-button,.region-picker summary{min-height:34px;padding:7px 13px;background:#00f2ff0a;border:1px solid #00f2ff38;color:#a0f0ff;font-size:10px;font-weight:800;border-radius:99px;display:flex;align-items:center;justify-content:center;gap:6px}.region-picker summary{cursor:pointer;list-style:none}.region-picker summary::-webkit-details-marker{display:none}.region-picker summary .icon{width:14px;height:14px}.region-picker form{position:absolute;right:0;top:43px;width:280px;max-width:calc(100vw - 40px);padding:18px;background:#07111ff8;border:1px solid #a0f0ff40;border-radius:16px;box-shadow:0 12px 30px #0009}.region-picker label{display:block;font-size:12px;color:#c2edf1;margin-bottom:6px}.region-picker select{width:100%;min-height:44px;font:16px var(--font);color:#eefcff;border:1px solid #8acbdc55;border-radius:10px;background:#101f30;padding:8px}.region-picker .gold-button{margin-top:12px;width:100%;font-size:11px;min-height:42px}.region-picker p{font-size:11px;line-height:1.6;color:#a3bdc9;margin-top:12px}
.pet-parade{margin-top:14px}.parade-heading{max-width:none;padding-inline:20px;margin-bottom:7px}.parade-heading p{font-size:10px;color:#b4d6df}.parade-controls{gap:6px}.parade-controls button{min-width:34px;min-height:32px;border-color:#a0f0ff30;background:#00f2ff08;color:#a0f0ff}.parade-controls #pause-parade{display:flex;gap:4px;width:auto;padding:0 9px;border-radius:99px;font-size:9px;font-weight:800}.parade-controls #pause-parade[aria-pressed=true]{background:#00f2ff18;color:#c7ffff}.parade-controls a{font-size:10px}.parade-track{animation:pet-parade 55s linear infinite}.parade-group{gap:10px;padding-right:10px}.parade-card{width:100px;flex-basis:100px;border-radius:19px;gap:4px;padding:8px 6px 10px;background:#0f172ab3;border-color:#a0f0ff26}.parade-card img{width:56px;height:56px;border-radius:14px;border-color:#a0f0ff35}.parade-card strong{font:900 italic 10px/1.2 var(--font)}.parade-card small{font-size:8px;line-height:1.3;color:#c4d9e1;text-transform:uppercase}.parade-dates{display:flex;flex-direction:column;min-height:17px;font-size:7px;font-weight:800;line-height:1.25;color:#b5c7d4}.parade-dates span:empty{display:none}.parade-dates span:before{content:'';display:inline-block;width:3px;height:3px;border-radius:50%;margin:0 4px 1px 0;background:#fde68a}.parade-dates .departure:before{background:#c4a7ff}.map-credits{font-size:9px;padding-top:10px;line-height:1.5;color:#a5bdc7}
.feed-page{width:min(calc(100% - 32px),620px);padding-top:0}.feed-heading{justify-content:center;position:relative;padding:20px 30px 14px;text-align:center}.feed-heading h1{font-size:25px;color:#dcfcff;font-weight:800}.feed-heading p{display:none}.feed-heading>a{position:absolute;right:0;font-size:0}.feed-heading>a .icon{width:18px;height:18px}.feed-list{gap:16px}.post-card{background:#ffffff03;border-color:#ffffff0d;border-radius:24px}.post-body{padding:14px 16px 16px}.post-person h2{font-size:14px;line-height:1.2}.post-person .place{font-size:10px;color:#a0f0ff;font-weight:800;margin-top:2px}.post-avatar{width:36px;height:36px;border-color:#a0f0ff4d}.post-date{font-size:9px;color:#9aabbc;font-weight:700}.post-dedication{font-size:12px;line-height:1.6;color:#abc9d3;margin-top:8px}.post-badge{font-size:8px;padding:4px 10px;background:#00f2ff26;color:#b1fbff;border-color:#00f2ff4d}.post-person>.subtle-button{border:0;background:transparent;color:#00f2ff70;width:34px;padding:0}.post-links{margin-top:8px}.post-visit{font-size:9px;min-height:30px}.post-card .offerings{border-top:1px solid #ffffff0c;padding-top:10px;margin-top:10px}.offering{position:relative;overflow:hidden;background:linear-gradient(145deg,#122c36b3,#07111ddd);border:1px solid #a0f0ff35;box-shadow:inset 0 1px #c6ffff0a;color:#c4ecf2;min-height:40px}.offering[data-gift=flower]{border-color:#dbb2cd38;background:linear-gradient(145deg,#332334a3,#111522c9)}.offering[data-gift=candle]{border-color:#d9c58c38;background:linear-gradient(145deg,#2e2b20b3,#111522c9)}.offering b{color:#d1fcff}.offering.gifted{border-color:#9ef8ff;background:#143740}.offering:after{content:'';position:absolute;inset:-1px;pointer-events:none;opacity:0;border-radius:inherit;background:#e6fcff1c;transition:opacity 140ms}.offering:active:after{opacity:1}.send-words,.panel-visit,.gold-button{background:#00edf2;color:#042029}.panel-visit{box-shadow:0 2px 14px #00f2ff1c}.map-memorial{background:#080e1bf5;border-color:#a0f0ff26}.panel-body h2{font-size:20px}.panel-body blockquote{font-family:var(--title);font-style:italic;background:#ffffff05;padding:9px;border:1px solid #ffffff0a;border-radius:8px}.inline-words input,.inline-words textarea{background:#a0f0ff08;border-color:#a0f0ff2e;border-radius:18px}.inline-words label{color:#b7d3de}.inline-words textarea{border-radius:16px}.word{background:#a0f0ff06}
/* Original garden palette, with the recovered main photograph and privacy boundary. */
body[data-view=memorial],body[data-view=my-garden],body[data-view=private-pet],body[data-view=new-pet]{--ink:#14546a;--muted:#487283;--aqua:#087dab;--line:#87bfd44d;--original-field:linear-gradient(160deg,#dceafa,#efe9ff 60%,#edf6fc);color:#14546a;background:#eae9fc}body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .review-note{background:#e6f0fb;color:#4d7182}body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .brand strong{color:#14546a;text-shadow:none}body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .brand small,body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .site-header>.icon-button{color:#2f7285}body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .starfield i{background:#fff;opacity:.7}.profile-surface,.profile-words,.garden-access,.private-intro-band,.owned-pets article,.new-pet-layout form{background:#f7fbffdb;border-color:#fff9;box-shadow:0 8px 24px #5367800c}.profile-photo{background:#e0eafa}.profile-details h1{font-style:normal}.profile-details .profile-date,.profile-details .place,.profile-details>blockquote,.profile-privacy,.profile-back,.privacy-promise,.album-privacy,.private-intro-band p{color:#356e80}.profile-details>blockquote{font-size:23px;line-height:1.8}.profile-details .offering{background:#f8fbff;border-color:#8bb9ca66;color:#236076}.profile-details .offering b{color:#14546a}.profile-words .inline-words input,.profile-words .inline-words textarea,.garden-access input,.new-pet-layout input,.new-pet-layout textarea{background:#f8fcff;color:#174d62;border-color:#8bb9ca66}.profile-words .inline-words label,.garden-access label,.new-pet-layout label{color:#326678}.profile-words .word{background:#e7f1f9;color:#245367}.private-garden .gold-button,.garden-access .gold-button,.new-pet .gold-button{background:linear-gradient(110deg,#129bc0,#6044df);color:#fff}.gate-message>p,.local-access-note,.private-garden-heading p,.new-pet-layout>div>p,.demo-explanation{color:#487283}.cloud-button,.gentle-link{color:#286b84}.private-garden .gentle-link{color:#286b84}.demo-label{color:#725d39}
/* Explicit in-page play is allowed even when the OS initially requests reduced motion. */
.motion-paused .starfield i,.motion-paused .parade-track{animation-play-state:paused}.motion-enabled .parade-track{animation-name:pet-parade;animation-duration:55s!important;animation-timing-function:linear;animation-iteration-count:infinite}.motion-enabled .starfield i{animation-name:original-stars;animation-duration:60s!important;animation-timing-function:linear;animation-iteration-count:infinite}
@media(min-width:1100px){.world-page{padding-top:0}.earth-frame{margin-top:8px}.site-main{min-height:calc(100svh - 166px)}}
@media(max-width:760px){.site-header{height:80px;padding-inline:14px;gap:6px;grid-template-columns:32px 1fr 32px}.brand strong{font-size:clamp(18px,6.15vw,24px);letter-spacing:-.5px}.brand small{font-size:clamp(7px,2.15vw,9px);letter-spacing:.13em;margin-top:4px}.site-header>.icon-button .icon{width:26px;height:26px}.account-button{min-height:32px!important}.site-header>.icon-button.account-button .icon{width:19px!important;height:19px!important}.world-search{position:relative;left:auto;top:auto;min-height:38px;width:calc(100% - 32px);margin-top:0;padding:3px 5px 3px 13px}.world-search input{font-size:16px}.earth-frame{width:min(94vw,43svh);margin-top:10px}.region-invite{min-height:34px;font-size:9px;bottom:12px}.earth-tools{margin-top:8px;gap:8px}.earth-tools .subtle-button,.region-picker summary{min-height:32px;font-size:9px;padding:6px 11px}.pet-parade{margin-top:11px}.parade-heading{padding-inline:15px;margin-bottom:5px;gap:4px}.parade-heading p{font-size:9px}.parade-controls{gap:5px}.parade-controls #pause-parade{font-size:8px;padding:0 7px;min-height:30px}.parade-controls #pause-parade .icon{width:12px;height:12px}.parade-controls button{min-height:30px;min-width:30px}.parade-controls a{font-size:9px;padding-left:2px}.parade-card{width:93px;flex-basis:93px;border-radius:18px;padding:7px 6px 9px;gap:4px}.parade-card img{width:56px;height:56px}.parade-card strong{font-size:9px}.parade-card small{font-size:7px}.parade-group{gap:9px;padding-right:9px}.map-credits{font-size:9px;line-height:1.45;padding-top:9px;padding-bottom:8px}.feed-heading{padding-top:20px;padding-bottom:14px}.feed-heading h1{font-size:24px}.post-person h2{font-size:14px}.post-body{padding:14px 16px 16px}.post-dedication{font-size:12px}.offering{font-size:10px;padding-inline:10px}.profile-details>blockquote{font-size:21px}}
@media(max-width:380px){.earth-frame{width:min(94vw,41svh)}.parade-heading p{max-width:75px;line-height:1.3}.parade-controls #pause-parade{padding-inline:6px}.parade-controls{gap:4px}}
@media(prefers-reduced-motion:reduce){.starfield i{animation:none}.motion-enabled .starfield i{animation-name:original-stars!important;animation-duration:60s!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important}.motion-enabled .parade-track{animation-name:pet-parade!important;animation-duration:55s!important;animation-timing-function:linear!important;animation-iteration-count:infinite!important}.motion-enabled .parade-track.manual{animation-name:none!important}}
@media(hover:hover) and (pointer:fine){.parade-card:hover{border-color:#00f2ff99;transform:translateY(-3px)}.offering:hover{border-color:#c2f9ff88;background:#18323d}.region-invite:hover{background:#07303b}.motion-enabled .pet-parade:hover .parade-track{animation-play-state:running}.motion-enabled .parade-window:hover .parade-track{animation-play-state:paused}.motion-paused .pet-parade:hover .parade-track{animation-play-state:paused}}
@media(min-width:761px){.site-header{grid-template-columns:160px 1fr 160px}}
@media(min-width:761px) and (max-width:1050px){.world-search{position:relative;left:auto;top:auto;width:440px;max-width:calc(100% - 40px);margin:0 auto}.earth-frame{width:min(420px,40svh);margin-top:10px}}
@media(min-width:761px) and (max-width:1050px) and (max-height:820px){.earth-frame{width:min(420px,36svh)}}
@media(max-width:760px){.site-header{height:84px}.lang-switch{top:32px}.lang-option{min-width:24px;min-height:24px;padding:2px 4px}}
body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .header-actions .icon-button{color:#286b84}
body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .lang-switch{border-color:#6693a766;background:#d6e7f0}
body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .lang-option{color:#396e81}
body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .lang-option.active{background:#b9dce7;color:#14546a}
@media(min-width:1051px){.earth-frame{width:clamp(250px,calc(100svh - 332px),460px)}}

.credit-info{position:relative;color:#e1edf0}
.credit-info summary{display:grid;place-items:center;cursor:pointer;list-style:none;width:36px;height:36px;border-radius:50%;background:#101e2a;border:1px solid #9cdfeb4a}
.credit-info summary::-webkit-details-marker{display:none}
.credit-info summary span{font:italic bold 14px Georgia,serif;border:1px solid #9bbfc9;border-radius:50%;width:19px;height:19px;text-align:center;line-height:18px}
.credit-info[open] summary{border-color:#90e5ed}
.credit-info>div{position:absolute;z-index:3;right:0;top:calc(100% + 6px);width:210px;padding:14px;border:1px solid #72b4bf66;background:#0b1926;box-shadow:0 8px 25px #0008;border-radius:14px;font-size:12px;line-height:1.5;text-align:left}
.credit-info p{margin:5px 0 0}.credit-info a{color:#a5eff4;text-decoration:underline}

.pet-parade{--pet-card-width:82px;--portrait-size:43px;--card-gap:7px;display:grid;align-items:center;margin-top:10px}
.parade-window,#parade-state{grid-area:1 / 1}
.parade-track.photo-stream{animation:none!important;position:relative;gap:var(--card-gap);padding-inline:5px;align-items:stretch}
.parade-window{overscroll-behavior-x:contain;touch-action:pan-x pan-y;min-width:0;min-height:calc(var(--portrait-size) + 52px)}
.photo-stream .parade-card{width:var(--pet-card-width);flex-basis:var(--pet-card-width);gap:1px;padding:5px 3px;border-radius:12px;background:#0d1624c4;border-color:#a0cce428}
.photo-stream .parade-photo{width:var(--portrait-size);height:var(--portrait-size);flex:none;border-radius:9px}
.photo-stream strong{font-size:9px;line-height:12px;color:#edf4f5}
.photo-stream small{font-size:7px;line-height:9px;min-height:9px}
.photo-stream .parade-dates{width:max-content;max-width:100%;margin-top:1px;min-height:0;gap:1px;color:#dce9ed;font:700 8px/1.15 var(--font);font-variant-numeric:tabular-nums}
.photo-stream .parade-dates span::before{content:none}
.life-row{display:flex;align-items:center;gap:3px;white-space:nowrap}
.life-row>span[aria-hidden]{font-family:"Apple Color Emoji","Segoe UI Emoji",emoji,sans-serif;font-size:8px;line-height:1}
#parade-state{font-size:12px;text-align:center;color:#b4d3db}
.earth-tools{flex-wrap:wrap;max-width:100%;padding:0 6px;margin:8px 0 0;gap:7px}
.earth-tools .parade-controls{margin:0;align-items:center}
.earth-tools .region-picker form,.earth-tools .credit-info>div{top:auto;bottom:calc(100% + 7px)}
.earth-tools .region-picker form{left:50%;right:auto;transform:translateX(-50%)}
@media(min-width:761px) and (max-width:1050px){.earth-frame{width:min(460px,calc(100svh - 340px))}}
@media(max-width:760px){
 body[data-view=home] .site-header{height:70px}
 body[data-view=home] .header-actions{flex-direction:column-reverse;align-items:flex-end;gap:1px}
 body[data-view=home] .lang-switch{position:static}
 .earth-frame{width:min(calc(100% - 4px),550px,max(250px,calc(100svh - 330px)));margin-top:7px}
 .pet-parade{--pet-card-width:clamp(64px,17.7vw,76px);--portrait-size:clamp(34px,9.3vw,40px);--card-gap:6px;margin-top:6px}
 .earth-tools .parade-controls #pause-parade{min-width:34px;width:34px;padding:0;justify-content:center}
 .earth-tools #pause-parade span{display:none}
 .earth-tools .parade-controls a{display:none}
 .earth-tools .credit-info>div{right:-25px}
}
@media(max-width:390px){
 .earth-tools{gap:4px;padding-inline:3px}
 .earth-tools .subtle-button,.earth-tools .region-picker summary{gap:4px;padding-inline:7px;letter-spacing:0}
 .earth-tools .subtle-button .icon,.earth-tools .region-picker summary .icon{width:12px;height:12px}
 .earth-tools .credit-info summary{width:31px;height:32px}
}
@media(prefers-reduced-motion:no-preference){
 .parade-window.with-photos{animation:parade-reveal 650ms ease-out both}
 @keyframes parade-reveal{from{opacity:0}to{opacity:1}}
}
.parade-controls #pause-parade,.parade-controls #more-parade{min-height:36px}
.parade-controls #pause-parade{min-width:68px;font-size:10px}
.parade-controls a,.post-visit,.profile-back,.load-more{border:1px solid #83dce34a;border-radius:99px;padding:7px 12px;background:linear-gradient(150deg,#17323d,#101d2b);color:#cbf9fa;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:800}
.parade-controls a{min-height:36px;font-size:10px}
.profile-back{color:#24576c;background:#f5fbff;border-color:#a1c3d1}
.post-visit{min-height:40px;font-size:11px}
.bottom-nav a:not(.create-nav){min-width:0;flex:0 1 100px;border-radius:14px;border:1px solid transparent;transition:background 150ms,border-color 150ms,transform 140ms var(--ease-out)}
.bottom-nav a[aria-current]:not(.create-nav){border-color:#6fd4dc5c;background:linear-gradient(160deg,#163440,#0a1b28);color:#baf5fa;box-shadow:inset 0 1px #caffff15}
.bottom-nav a[aria-current]::before{display:none}
.bottom-nav a:active,.post-visit:active,.parade-controls a:active,.profile-back:active{transform:scale(.96)}
.bottom-nav a:focus-visible,.credit-info summary:focus-visible,.photo-stream a:focus-visible{outline:2px solid #9cf3ff;outline-offset:2px}
@media(hover:hover) and (pointer:fine){.bottom-nav a:not(.create-nav):hover,.post-visit:hover,.parade-controls a:hover{background:#183440;border-color:#8bcfd97a}}
.photo-action{position:absolute;z-index:1;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:5px;border:1px solid #9bc5c650;border-radius:99px;padding:5px 9px;background:#071320e8;color:#e0f6f8;font-size:10px;font-weight:800;pointer-events:none}
.photo-action .icon{width:14px;height:14px}
@media(max-width:760px){
 .map-memorial{max-height:45dvh}
 .map-memorial .panel-scroll{max-height:calc(45dvh - 2px)}
 .map-memorial .panel-photo{height:115px}
 .map-memorial .offerings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .map-memorial .offerings .offering{min-width:0;min-height:44px;padding:4px;gap:3px}
}
.bottom-nav .create-nav[aria-current] span{border-color:#b0f8ff;box-shadow:0 0 0 3px #6fd4dc30}
@media(max-width:760px) and (max-height:640px){
 body[data-view=home] .site-header,.site-header{height:62px}
 .world-search{min-height:34px}
 .earth-frame{margin-top:4px;width:min(calc(100% - 4px),max(215px,calc(100svh - 326px)))}
 .earth-tools{margin-top:4px}
 .pet-parade{margin-top:5px}
 .pet-parade{--portrait-size:34px}
 .parade-controls #pause-parade,.parade-controls #more-parade,.parade-controls a{min-height:32px}
}
.offerings{position:relative}
.tribute-bloom{pointer-events:none;position:absolute;z-index:3;bottom:calc(100% - 2px);margin-left:-30px;width:60px;height:60px;display:grid;place-items:center;isolation:isolate;animation:offering-appear 1060ms var(--ease-out) both}
.tribute-bloom::before{content:'';position:absolute;inset:-9px;z-index:-1;border-radius:50%;background:radial-gradient(closest-side,#e9a7be99,transparent)}
.tribute-bloom.candle::before{background:radial-gradient(closest-side,#ffca68ce,transparent)}
.tribute-bloom img{width:45px;height:45px;object-fit:contain}
.tribute-bloom.flower img{transform:rotate(-12deg)}
.new-dedication{border-inline-start:2px solid #dfbda4;animation:note-arrival 280ms var(--ease-out) both}
@keyframes offering-appear{0%{opacity:0;transform:translateY(12px) scale(.94)}22%{opacity:1}70%{opacity:1;transform:translateY(-6px) scale(1)}100%{opacity:0;transform:translateY(-19px)}}
@keyframes note-arrival{from{opacity:.15;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:no-preference){
 body:is([data-view=feed],[data-view=adopt],[data-view=memorial],[data-view=my-garden]) .site-main>section,
 body[data-view=memorial] .public-profile,.post-card{animation:note-arrival 230ms var(--ease-out) both}
}
@media(prefers-reduced-motion:reduce){
 .tribute-bloom{animation:tribute-still 1000ms linear both!important}
 .new-dedication,body[data-view=feed] .feed-page{animation:quiet-arrival 220ms ease-out both!important}
 @keyframes quiet-arrival{from{opacity:.5}to{opacity:1}}
 @keyframes tribute-still{0%,78%{opacity:1}100%{opacity:0}}
}
/* Compact world, left search drawer and original legal documents. */
.site-header,body[data-view=home] .site-header{height:62px}
.brand strong{font-size:26px}
.brand small{font-size:8px;margin-top:3px}
.site-main{min-height:0;padding-bottom:22px}
body[data-view=home] .site-main{padding-bottom:0}
.earth-frame{width:min(520px,calc(100svh - 290px));margin-top:4px}
.photo-stream .parade-dates{font-size:7px;line-height:1.15}
.photo-stream .life-row>span[aria-hidden]{font-size:7px}
.site-legal{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:0 20px;padding:6px 16px calc(88px + env(safe-area-inset-bottom));font-size:11px;color:var(--muted)}
.site-legal a{display:inline-flex;align-items:center;min-height:36px;text-decoration:underline;text-underline-offset:3px}
.header-tools .icon-button{color:var(--ink)}
#menu-dialog{--ink:#eefcff;--muted:#a3bfca;--aqua:#73e5ec;--line:#a0f0ff26;position:fixed;inset:0 auto 0 0;margin:0;height:100dvh;max-height:100dvh;width:min(348px,calc(100vw - 24px));max-width:none;border-radius:0 20px 20px 0;overflow:auto;padding:20px;color:var(--ink)}
#menu-dialog .world-search{position:relative;top:auto;left:auto;width:100%;max-width:none;margin:0 0 18px;min-height:44px}
#menu-dialog .world-search input{font-size:16px}
#menu-dialog .search-results{position:static;display:block;margin:0 0 18px;max-height:280px}
#menu-dialog .search-results>div{display:flex;margin:0;border-bottom:1px solid var(--line)}
#menu-dialog .search-pet{display:block;flex:1;min-width:0;width:auto;padding:12px;color:#eefcff}
#menu-dialog .search-visit{min-width:44px}
#menu-dialog .search-results p{margin:0;padding:14px}
#menu-dialog .motion-setting{display:flex;align-items:center;gap:12px;min-height:48px;margin-top:12px;color:#c3dbe3;font-size:13px;cursor:pointer}
.motion-setting input{width:18px;height:18px;accent-color:#73e5ec}
#menu-dialog .legal-menu{margin-top:10px}
#menu-dialog .legal-menu a{font-size:12px;min-height:42px}
.legal-page{width:min(calc(100% - 40px),760px);margin:20px auto 0}
.legal-page .profile-back{background:#102431;color:#c5eff4;border-color:#77b5c44d}
.legal-copy{margin-top:28px;font-size:15px;line-height:1.8;color:#c1d0d9;overflow-wrap:anywhere}
.legal-copy h1{font-size:clamp(26px,5vw,38px);line-height:1.2;color:#eefcff;margin-bottom:24px}
.legal-copy h2{font-size:18px;line-height:1.4;color:#e2eff4;margin:26px 0 8px}
.legal-copy p{margin:12px 0}
.legal-copy ul{padding-left:22px;margin:12px 0}
.legal-copy a{color:#8ae2e9;text-decoration:underline}
.public-life-dates{display:flex;flex-wrap:wrap;gap:5px 16px}
.public-life-dates .life-row{font-size:11px}
.public-life-dates .life-row>span[aria-hidden]{font-size:11px}
.profile-date .public-life-dates{gap:8px 20px}
.profile-date .life-row{font-size:14px}
.date-check{display:block;margin-top:4px;color:inherit;font-size:11px;font-weight:400}
@media(max-width:760px){
 .site-header,body[data-view=home] .site-header{height:54px}
 .brand strong{font-size:20px;letter-spacing:-.035em}
 .brand small{font-size:6px;margin-top:3px;letter-spacing:.1em}
 .header-actions{flex-direction:column-reverse;align-items:flex-end;gap:0}
 .lang-switch{position:static}
 .header-tools .icon-button{min-height:36px;min-width:32px}
 .header-tools .search-trigger{min-height:32px}
 .header-tools .search-trigger .icon{width:16px;height:16px}
 .site-header .account-button{min-height:30px}
 .earth-frame{width:min(calc(100% - 4px),550px,max(215px,calc(100svh - 296px)));margin-top:4px}
 .photo-stream .parade-dates{font-size:6.5px}
 .photo-stream .life-row>span[aria-hidden]{font-size:6.5px}
 .site-legal{font-size:10px;gap:0 16px;padding-top:2px}
}
@media(max-width:360px){.brand strong{font-size:18px}.brand small{font-size:5.8px}}
@media(max-width:760px) and (max-height:640px){
 .earth-frame{width:min(calc(100% - 4px),max(215px,calc(100svh - 308px)))}
 .site-legal{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
 .site-legal a{min-height:28px}
}
body:is([data-view=memorial],[data-view=my-garden],[data-view=private-pet],[data-view=new-pet]) .header-tools .search-trigger{background:#eaf5fa;border-color:#87b7ca}
/* Slow pinpoints cross the space around the globe; no blinking. */
body[data-view=home] .starfield i{animation:passing-stars var(--star-duration,60s) linear infinite;animation-duration:var(--star-duration,60s)!important;opacity:.55}
body[data-view=home] .starfield i:nth-child(7n){width:2px;height:2px;box-shadow:0 0 4px #c0eaff85}
@keyframes passing-stars{from{transform:translate3d(10vw,100vh,0)}to{transform:translate3d(-10vw,-100vh,0)}}
.shooting-star{display:none}
body[data-view=home] .shooting-star{display:block;position:absolute;left:8%;top:8%;width:80px;height:1px;background:linear-gradient(90deg,transparent,#9bdde4);opacity:0;transform:rotate(32deg);animation:shooting-star 19s linear infinite}
body[data-view=home] .shooting-star:last-child{left:65%;top:16%;animation-delay:-9s;animation-duration:27s;width:55px}
@keyframes shooting-star{0%,87%,100%{opacity:0;transform:translate3d(0,0,0) rotate(32deg)}89%{opacity:.55}96%{opacity:0;transform:translate3d(170px,106px,0) rotate(32deg)}}
@media(prefers-reduced-motion:reduce){
 body[data-view=home] .starfield i{animation-duration:calc(var(--star-duration,60s) * 2)!important;opacity:.35}
 body[data-view=home] .shooting-star{display:none}
}
body[data-still] .starfield,body[data-still] .starfield i,body[data-still] .shooting-star{animation-play-state:paused!important}
/* v4.5: registro súper fácil desde el mapa */
.reg-invite{position:absolute;z-index:3;left:50%;transform:translateX(-50%);top:14px;padding:11px 20px;border:0;border-radius:999px;background:linear-gradient(180deg,#d8ae5c,#b98a3c);color:#fff;font:800 14.5px var(--font);letter-spacing:.02em;box-shadow:0 8px 22px #0006;cursor:pointer;white-space:nowrap}
.reg-invite:hover{filter:brightness(1.06)}
