:root{--ink:#203e33;--green:#244e3b;--gold:#bca26b;--paper:#f8f7f1;--line:#dfdfd2}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#edf0e9;font-family:var(--font-body)}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{transition:background .2s,transform .2s}button:hover{filter:brightness(.96)}button:focus-visible,a:focus-visible{outline:3px solid #c3a765;outline-offset:4px}button:disabled{opacity:.5}button,input,textarea{border-radius:8px}input,textarea{font-size:16px}button{min-height:44px}button span{display:inline-block}a{color:inherit;text-decoration:none}[hidden]{display:none!important}#landscape{position:fixed;inset:0;background:linear-gradient(90deg,rgba(8,28,20,.63),rgba(8,28,20,.03) 78%),url('./assets/vuon-ho-sen.webp') center/cover no-repeat;z-index:-3}#view{position:fixed;inset:0;display:none;z-index:0}#view canvas{display:block;touch-action:none}.shade{position:fixed;inset:0;background:linear-gradient(#102a2145,transparent 30%,transparent 70%,#102a2155);pointer-events:none;z-index:-2}header{height:108px;padding:0 4.2%;display:flex;align-items:center;gap:32px;position:relative;z-index:2;color:#fff;border-bottom:1px solid #ffffff30}.brand{display:flex;gap:12px;align-items:center;font-family:var(--font-display);font-size:23px;letter-spacing:.09em;white-space:nowrap}.mark{font-size:42px;color:#ead4a3}.brand small{font-family:var(--font-body);font-size:8px;letter-spacing:.14em;display:block;margin-top:8px}.brand>span:last-child{display:block}nav{margin-left:auto;display:flex;gap:22px}.nav{border:0;border-bottom:1px solid transparent;border-radius:0;color:inherit;background:none;font-size:14px;padding:12px 0}.nav.active{border-color:#e1c98f}.outline{border:1px solid #ffffff80;background:#ffffff13;color:#fff;padding:10px 18px;white-space:nowrap}.outline span{margin-left:15px}h1,h2,h3{font-family:var(--font-display);font-weight:400}h1{font-size:clamp(36px,4.6vw,68px);line-height:1.16;letter-spacing:-.035em;margin:24px 0}p{line-height:1.8}.eyebrow{font-size:10px;letter-spacing:.21em;font-weight:600}.welcome{color:#fff;max-width:740px;padding:clamp(70px,13vh,150px) 0 80px 7.5%}.welcome p{color:#fffef0d9;font-size:17px;font-weight:300;margin:0 0 30px}.welcome .eyebrow{color:#f0dba8}.welcome-actions{display:flex;gap:12px}.primary{color:#fff;background:var(--green);border:1px solid var(--green);padding:14px 22px;font-size:14px}.welcome .primary{background:#e8ddbc;color:#183a2a;border-color:#e8ddbc}.primary span{margin-left:26px}.soft{color:#fff;background:#ffffff15;border:1px solid #ffffff75;padding:14px 22px;font-size:14px}.caption{display:flex;align-items:center;gap:12px;margin-top:55px;font-size:11px;letter-spacing:.1em;color:#fffce4c4}.line{width:32px;height:1px;background:#e1cb99}footer{position:fixed;bottom:0;left:0;right:0;padding:22px 4.2%;display:flex;justify-content:space-between;font-size:10px;letter-spacing:.06em;color:#fff;pointer-events:none}.mobile-nav{display:none}.workspace{max-width:1220px;margin:auto;padding:52px 5% 100px}.section-heading h1{font-size:clamp(30px,3.5vw,46px);margin:15px 0 8px}.section-heading p{font-size:14px;color:#66766b;margin:0 0 26px}body.inner #landscape{background:#f6f6ef}body.inner .shade{display:none}body.inner header{color:var(--ink);border-color:var(--line);background:#fafbf6}body.inner .outline{border-color:#cbd3c6;color:var(--ink);background:none}body.inner footer{background:#f6f6efe8;color:#6a796f}.search{display:flex;align-items:center;border:1px solid #d3d9cc;background:#fff;border-radius:12px;padding:7px;max-width:650px;gap:10px}.search>span{font-size:28px;margin-left:14px}.search input{flex:1;min-width:0;border:0;outline:none;padding:8px;background:none}.sample{font-size:11px;color:#7e877a;line-height:1.6}.people-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:25px}.person-card{border:1px solid #dde2d5;background:#fffdf8;text-align:center;padding:26px 15px 18px;border-radius:14px;cursor:pointer;position:relative}.person-card:hover{box-shadow:0 10px 30px #18382512;transform:translateY(-2px)}.person-card h2{font-size:22px;margin:17px 0 7px}.person-card p{font-size:12px;color:#7c867b;margin:0 0 15px}.person-card .visit{font-size:12px;color:#3a5c45;border-top:1px solid #e5e6db;padding-top:15px;display:block}.portrait{height:84px;width:72px;border-radius:45% 45% 7px 7px;margin:auto;background:linear-gradient(150deg,#dfe5d5,#f5f2e5);color:#6f866e;display:grid;place-items:center;font-family:var(--font-display);font-size:40px;border:3px double #b6c4ae}.family-layout{display:grid;grid-template-columns:1fr 1.6fr;gap:24px}.family-card,.tree-card{background:#fffdf7;border:1px solid #dce1d4;border-radius:16px;padding:30px}.family-card{background:#244839;color:#fcf7e7;text-align:center}.family-symbol{font-size:70px;color:#d7c28c;margin:10px}.family-card h2{font-size:28px}.family-card p{font-size:14px;color:#e3e7db}.family-card .primary{background:#e6daba;color:#203e33;border-color:#e6daba;width:100%}.textbutton{background:none;border:0;color:inherit;padding:10px 5px;font-size:12px}.family-card .textbutton{margin-top:10px}.tree-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.tree-title h2{font-size:22px;margin:0}.tree-title span{font-size:9px;color:#889480}.family-tree{padding-top:28px}.generation{display:flex;justify-content:center;gap:12px}.generation button,.generation>div{background:#f1f3e9;border:1px solid #d7dece;text-align:center;border-radius:10px;padding:15px 12px;font-size:12px;flex:1;max-width:200px}.generation small{display:block;font-size:10px;color:#81907b;margin-top:7px}.tree-line{height:26px;width:1px;background:#bcc7b0;margin:auto}.family-tree~.sample{text-align:center;margin-top:24px}.tour-ui{position:fixed;inset:0;pointer-events:none;z-index:3}.tour-top{position:absolute;top:20px;left:20px;right:20px;display:flex;justify-content:space-between;gap:10px}.glass{padding:12px 16px;color:#254832;border:1px solid #ffffffb0;background:#fffdf5ed;border-radius:10px;box-shadow:0 4px 20px #15251c16;font-size:12px;pointer-events:auto}.tour-top>span{display:flex;align-items:center}.tour-search{display:flex;position:absolute;top:84px;left:20px;border-radius:10px;overflow:hidden;background:#fffef7;pointer-events:auto;max-width:calc(100% - 40px)}.tour-search input{border:0;border-radius:0;padding:14px;min-width:0;width:230px}.tour-search button{border:0;background:#244e3b;color:#fff;width:48px;font-size:26px}.tour-tools{position:absolute;right:20px;bottom:75px;display:flex;flex-direction:column;gap:8px;pointer-events:auto}.tour-tools button{background:#fffef4ee;color:#254832;border:1px solid #d1dbc9;width:44px;font-size:20px;box-shadow:0 2px 16px #12382222}.tour-hint{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);background:#1e4032e6;color:#fff;padding:10px 20px;border-radius:20px;font-size:11px;white-space:nowrap}.loading{position:absolute;inset:0;background:#edf0e7;display:grid;place-items:center}.tour-error{pointer-events:auto;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fffdf5f5;padding:30px;text-align:center;border-radius:18px;width:min(440px,calc(100% - 32px));box-shadow:0 20px 90px #10241e55}.tour-error>span{font-size:50px;color:#889a73}.tour-error p{font-size:13px;color:#657264}.tour-error .textbutton{display:block;margin:10px auto 0}body.touring header,body.touring main,body.touring footer,body.touring .mobile-nav{display:none}body.touring #view{display:block}body.touring #landscape{background:linear-gradient(#183d3030,#183d3030),url('./assets/vuon-ho-sen.webp') center/cover}.scrim{position:fixed;inset:0;background:transparent;backdrop-filter:none;z-index:8}.memorial{position:fixed;right:0;top:0;height:100dvh;width:440px;max-width:100%;background:var(--paper);z-index:9;overflow:auto;box-shadow:-15px 0 65px #142e2820}.close{position:absolute;right:14px;top:14px;width:44px;height:44px;border:1px solid #e1e4d9;background:#fffdf9d9;font-size:26px;color:#52684f;z-index:1}.memorial-top{background:radial-gradient(ellipse at top,#e4e8d6,#f4f1e5);padding:40px 22px 25px;text-align:center;border-bottom:1px solid #dce0cf}.memorial-top .portrait{margin:24px auto 18px;height:100px;width:82px}.memorial-top h2{font-size:30px;margin:10px 0}.memorial-top p{margin:0;color:#7d856f;font-size:13px}.memorial-motto{display:block;font-family:var(--font-display);font-style:italic;font-size:14px;color:#81886e;margin-top:15px}.ritual{display:grid;grid-template-columns:repeat(3,1fr);padding:16px 18px;gap:8px}.ritual button{border:1px solid #dedfce;background:#fffdf7;color:#5e7356;padding:10px 5px;font-size:25px}.ritual span{display:block;font-size:11px;margin-top:5px}.tabs{display:flex;padding:0 22px;border-bottom:1px solid #dce0cf;gap:20px}.tabs button{border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:#87907d;font-size:12px;padding:14px 0}.tabs [aria-selected=true]{color:#294e37;border-color:#294e37}.tab-content{padding:22px;font-size:14px;color:#66715e;line-height:1.8;min-height:160px}.tab-content h3{color:#3b563d;font-size:22px;margin:0 0 10px}.tab-content p{margin:0 0 16px}.tab-content blockquote{margin:0 0 16px;border-left:2px solid #b4be9f;padding:10px 14px;background:#edeee3}.tab-content small{display:block;color:#89937f;font-size:11px}.panel-sample{padding:0 22px 18px}.memory-picture{width:100%;border-radius:10px;aspect-ratio:1.8;object-fit:cover;margin-bottom:12px}dialog{border:1px solid #d9dfce;border-radius:18px;background:#fcfbf5;color:#284735;padding:36px;width:min(480px,calc(100% - 24px));max-height:90dvh;overflow:auto;box-shadow:0 30px 100px #142a2755}dialog::backdrop{background:transparent;backdrop-filter:none}dialog h2{font-size:30px;margin:15px 0}dialog form{display:grid;gap:17px;margin-top:24px}label{display:grid;gap:8px;font-size:12px;color:#63735d}label input,label textarea{width:100%;border:1px solid #d7decd;background:#fffef9;padding:12px;color:#2b4834}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.toast{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);background:#1f4839;color:#fff;z-index:30;font-size:13px;padding:14px 22px;border-radius:12px;box-shadow:0 10px 40px #13271e33;max-width:90%;text-align:center}.ritual-scene{margin:0 22px 16px;padding:18px;background:#e9ebdf;border-radius:12px;text-align:center;font-size:12px;color:#5f7158;position:relative;overflow:hidden}.ritual-scene .smoke{display:inline-block;font-size:28px;animation:rise 3s ease-in-out infinite;color:#999f8b}.ritual-scene .blossom{font-size:28px;letter-spacing:10px;color:#b68a92}@keyframes rise{0%{transform:translateY(10px);opacity:0}50%{opacity:.6}100%{transform:translateY(-12px);opacity:0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1600px){.welcome{padding-top:17vh}}@media(max-width:1000px){header{gap:20px;padding:0 4%;height:96px}.brand{font-size:19px}nav{gap:16px}.create{display:none}.people-grid{grid-template-columns:repeat(3,1fr)}.welcome{padding-left:6%;max-width:620px}.family-layout{grid-template-columns:1fr 1.4fr}.family-card,.tree-card{padding:22px}.generation button,.generation>div{padding:12px 7px;font-size:11px}}@media(max-width:640px){#landscape{background:linear-gradient(180deg,#102d2233 15%,#102b2199 48%,#102b21dd),url('./assets/vuon-ho-sen.webp') 46% center/cover}.shade{display:none}header{height:82px;padding:0 22px;border:0}.brand{font-size:19px;gap:8px}.brand small{font-size:6.8px}.mark{font-size:34px}nav{display:none}.welcome{padding:calc(30dvh - 70px) 25px 155px;max-width:100%}.welcome h1{font-size:38px;margin:18px 0;line-height:1.14}.welcome .eyebrow{font-size:8px}.welcome p{font-size:14px;line-height:1.8}.welcome-actions{gap:8px}.welcome-actions button{padding:14px 15px;font-size:12px}.primary span{margin-left:12px}.caption{margin-top:30px;font-size:10px}footer{bottom:73px;padding:12px 22px;font-size:9px}.footer-right{display:none}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:4;display:grid;grid-template-columns:repeat(4,1fr);background:#faf9f0f5;backdrop-filter:blur(12px);border-top:1px solid #dce1d2;padding:5px 10px calc(5px + env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:none;font-size:23px;color:#75816b;padding:4px 0;min-height:58px}.mobile-nav button.active{color:#274a37}.mobile-nav span{display:block;font-size:9px;margin-top:4px}.workspace{padding:22px 20px 150px}.section-heading h1{font-size:32px}.section-heading p{font-size:12px}.section-heading .eyebrow{font-size:8px}.search{gap:4px}.search input{padding:8px 4px;font-size:14px}.search>span{margin-left:5px;font-size:24px}.search .primary{padding:11px;font-size:12px}.people-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.person-card{padding:20px 9px 14px}.person-card h2{font-size:19px}.person-card p{font-size:11px}.portrait{height:73px;width:62px;font-size:32px}.family-layout{grid-template-columns:1fr;gap:16px}.family-card{padding:24px}.family-symbol{font-size:52px}.family-card h2{margin:10px 0}.tree-title h2{font-size:21px}.family-page .section-heading h1{font-size:32px}.memorial{top:auto;bottom:0;width:100%;height:auto;max-height:90dvh;border-radius:24px 24px 0 0}.memorial-top{padding:28px 20px 20px}.memorial-top .portrait{height:76px;width:65px;margin:16px auto 12px}.memorial-top h2{font-size:28px}.memorial-top .eyebrow{font-size:9px}.ritual{padding:13px 18px}.tour-top{top:12px;left:12px;right:12px}.glass{padding:10px 12px;font-size:11px}.tour-search{top:70px;left:12px}.tour-search input{width:195px;padding:12px}.tour-tools{right:12px;bottom:70px}.tour-hint{font-size:9px;white-space:normal;width:calc(100% - 24px);bottom:15px;text-align:center;padding:10px 12px}.tour-error{padding:25px 20px}.tour-error h2{font-size:24px}dialog{padding:30px 23px}.toast{bottom:85px;font-size:12px;width:max-content}.tab-content{font-size:13px}}

.tour-destinations{position:absolute;bottom:78px;left:20px;display:flex;gap:7px;pointer-events:auto;max-width:calc(100% - 95px);flex-wrap:wrap}.tour-destinations button{border:1px solid #fff9;background:#fffdf1ed;color:#36513c;padding:10px 15px;font-size:12px;box-shadow:0 3px 20px #183b2522}.tour-destinations button.active{background:#28503c;color:#fff}.tour-hint{bottom:22px}@media(max-width:640px){.tour-destinations{left:12px;bottom:75px;max-width:calc(100% - 80px);gap:6px}.tour-destinations button{font-size:10px;padding:8px 10px;min-height:38px}.tour-hint{bottom:15px}}

.walk-controls{position:absolute;right:18px;bottom:70px;display:flex;flex-direction:column;align-items:center;gap:6px;pointer-events:auto}.walk-controls>div{display:flex;gap:6px}.walk-controls button{width:49px;height:49px;background:#fffdf3e8;color:#234a35;border:1px solid #fff9;font-size:24px;box-shadow:0 4px 18px #183b2533;touch-action:none;user-select:none}.walk-controls button:active{background:#30543e;color:#fff}.tour-tools{bottom:260px}.tour-destinations{bottom:80px;max-width:calc(100% - 200px)}.tour-hint{max-width:calc(100% - 30px);white-space:normal;text-align:center}@media(max-width:640px){.walk-controls{bottom:82px;right:12px}.walk-controls button{width:43px;height:43px}.tour-destinations{max-width:calc(100% - 175px);bottom:85px}.tour-tools{bottom:255px}.tour-hint{font-size:10px;bottom:15px;min-height:42px;display:grid;place-items:center}.tour-destinations button{padding:7px 9px}}

/* Photo tour replaces the WebGL scene and all step controls. */
#view.photo-garden{overflow:hidden;touch-action:none;background:#203b2e;cursor:grab}.photo-garden:active{cursor:grabbing}.photo-stage{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}.photo-stage>img{display:block;width:100%;height:100%;pointer-events:none;user-select:none}.photo-spot{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;padding:8px;border:0;background:none;color:#fff;min-height:44px;white-space:nowrap;cursor:pointer}.spot-dot{display:block;width:17px;height:17px;border:2px solid #fff;border-radius:50%;background:#254735c9;box-shadow:0 0 0 5px #ffffff35,0 2px 12px #162b2580;flex-shrink:0}.spot-label{padding:8px 12px;background:#234e3eea;box-shadow:0 3px 16px #163b2530;border:1px solid #fff8;border-radius:6px;font-size:12px;letter-spacing:.02em}.small-grave .spot-label{display:none}.small-grave:hover .spot-label,.small-grave:focus-visible .spot-label{display:block}.small-grave .spot-dot{width:11px;height:11px;box-shadow:0 0 0 4px #ffffff26}.photo-source{position:absolute;left:20px;top:145px;max-width:calc(100% - 40px);background:#183e2dc9;color:#fffbea;padding:8px 12px;border-radius:6px;font-size:10px;pointer-events:none}.tour-tools{bottom:95px}.tour-destinations{max-width:calc(100% - 95px);bottom:90px}.tour-hint{font-size:11px;background:#163a2cde}.photo-stage .landmark .spot-label{background:#fffdf0ed;color:#284833}.tour-ui{background:linear-gradient(#18372835,transparent 20%,transparent 75%,#102a2440)}@media(max-width:640px){.photo-source{top:130px;left:12px;font-size:9px;padding:7px 9px}.photo-stage .spot-label{font-size:10px;padding:7px 9px}.photo-stage .landmark .spot-label{display:none}.photo-stage .landmark .spot-dot{width:18px;height:18px;background:#fffedb}.tour-destinations{bottom:85px;max-width:calc(100% - 85px)}.tour-destinations button{font-size:10px;padding:9px 11px}.tour-tools{bottom:90px}.tour-hint{font-size:10px;min-height:44px}}

.memory-place{display:block;font-size:8px;letter-spacing:.18em;color:#7c8e70;margin:0 20px 15px}.memory-intro h3{font-size:24px}.memory-intro p{font-size:12px}.empty-stories{text-align:center;padding:18px 8px 25px;color:#809072}.empty-stories>span{font-size:45px;color:#a6b198}.empty-stories p{font-size:12px}.story-card{padding:20px 0;border-top:1px solid #dbe0d1}.story-card h3{font-size:23px;margin:10px 0}.story-card p{white-space:normal;overflow-wrap:anywhere}.story-date{font-size:10px;color:#94a084}.tab-content>.primary{width:100%;margin:12px 0}.ancestor-dialog{width:min(700px,calc(100% - 24px));padding:0;overflow:auto}.ancestor-photo{height:260px;background:url('./assets/chinh-dien-v26.webp') center 48%/cover}.ancestor-content{text-align:center;padding:28px 35px}.ancestor-content h2{font-size:30px}.ancestor-content>p{font-size:13px;color:#74816a}.ancestor-content .primary{min-width:230px}.ancestor-ritual{border:1px solid #d6dcc8;border-radius:12px;background:#f0f0e3;padding:15px;margin:15px 0}.ancestor-ritual .smoke{display:block;color:#a1a08c;font-size:35px;animation:rise 3s ease infinite}.incense-sticks{font-size:27px;letter-spacing:4px;color:#8d6041}.ancestor-ritual p{font-family:var(--font-display);color:#808a6a;margin:10px 0;font-size:15px}.photo-stage .ancestor-hotspot .spot-label{background:#fcf3d6;color:#4e5438}.photo-stage .ancestor-hotspot .spot-dot{background:#d2ab65}.ancestor-hotspot{min-width:190px;justify-content:center}@media(max-width:640px){.ancestor-photo{height:210px}.ancestor-content{padding:24px 22px}.ancestor-content h2{font-size:27px}.photo-stage .ancestor-hotspot .spot-label{display:block;font-size:12px}.tour-destinations{max-width:calc(100% - 75px);bottom:85px;gap:5px}.tour-destinations button{padding:8px 10px;font-size:10px}.memory-place{font-size:7px;margin-top:5px}.memorial-top{padding-top:23px}}

.family-landscape{position:relative;border-radius:16px;overflow:hidden;margin:0 0 25px;background:#36543b;min-height:380px}.family-landscape>img{width:100%;height:420px;display:block;object-fit:cover;object-position:center 52%}.family-landscape:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 15%,#143325d9);pointer-events:none}.family-landscape-caption{position:absolute;bottom:28px;left:30px;right:25px;color:#fff;z-index:1}.family-landscape-caption .eyebrow{color:#efe2b9;font-size:9px}.family-landscape-caption h2{font-size:35px;margin:12px 0 7px}.family-landscape-caption p{font-size:13px;color:#f0f3e6;margin:0 0 18px}.family-visit-actions{display:flex;gap:9px;flex-wrap:wrap}.family-visit-actions .primary{background:#e5d7b1;border-color:#e5d7b1;color:#204832}.family-visit-actions .soft{background:#ffffff16}@media(max-width:640px){.family-landscape>img{height:430px;object-position:37% center}.family-landscape-caption{bottom:22px;left:19px;right:15px}.family-landscape-caption h2{font-size:28px}.family-landscape-caption p{font-size:12px}.family-visit-actions{gap:7px}.family-visit-actions button{padding:11px 13px;font-size:11px}.family-landscape{margin-bottom:20px;border-radius:12px}}

/* Terraces, photo guidance and incense made from a photographic cutout. */
.terrace-levels{position:absolute;top:145px;right:20px;display:flex;gap:5px;pointer-events:auto}.terrace-levels button{background:#fffdf0ed;color:#294935;border:1px solid #e4e5d5;padding:9px 13px;font-size:11px}.grave-picker{position:absolute;left:20px;top:183px;width:278px;pointer-events:auto;background:#fffdf2f2;border:1px solid #e2e4d6;border-radius:10px;padding:9px 11px}.grave-picker label{font-size:9px;color:#7f886e;margin-bottom:5px}.grave-picker select{width:100%;border:0;background:none;color:#30503a;font:inherit;font-size:12px;min-height:35px;outline-offset:3px}.photo-route{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 1px 3px #21452baa);z-index:1}.photo-route polyline{fill:none;stroke:#f3d690;stroke-width:3;vector-effect:non-scaling-stroke;stroke-dasharray:6 6;stroke-linecap:round;stroke-linejoin:round;animation:guide-dashes 1.4s linear infinite}.photo-spot{z-index:2}.photo-spot[data-tier] .spot-dot{width:24px;height:24px;display:grid;place-items:center;font-size:9px;color:#fff;background:#284b39e8}.photo-spot[data-tier=top] .spot-dot{border-color:#e2d1a4}.photo-spot[data-tier=middle] .spot-dot{border-color:#c7ddba}.photo-offering{position:absolute;transform:translate(-50%,-92%);pointer-events:none;z-index:3}.photo-offering img{display:block;width:100%;filter:drop-shadow(0 2px 2px #2c26163d)}.offering-breath{position:absolute;left:45%;top:7%;height:25%;width:15%;border-left:1px solid #d8d6c3aa;border-radius:50%;filter:blur(1px);animation:small-smoke 3s ease-in-out infinite}.incense-ceremony{position:fixed;inset:0;z-index:7;display:grid;place-items:center;pointer-events:none;background:radial-gradient(ellipse at center,#14251a8c,#10231c40 70%);backdrop-filter:blur(2px);animation:ceremony-in .35s ease}.incense-presentation{text-align:center;color:#fff8df;position:relative;padding:12px 20px 25px}.incense-presentation>.eyebrow{font-size:10px;letter-spacing:.25em;display:block}.offering-visual{position:relative;width:260px;height:390px;margin:10px auto 0}.offering-visual img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 8px 15px #251d1240)}.offering-bowl{clip-path:inset(66% 0 0 0)}.offering-sticks{clip-path:inset(0 0 28% 0);animation:place-incense 1.3s ease-out both}.incense-presentation>p{font-family:var(--font-display);font-style:italic;font-size:17px;margin:12px 0 0;text-shadow:0 1px 8px #0a201c}.living-smoke{position:absolute;left:28%;top:-3%;height:38%;width:43%;overflow:visible;filter:blur(2px);opacity:.35}.living-smoke path{fill:none;stroke:#ece9d9;stroke-width:1.5;animation:living-smoke 3s ease-in-out infinite;transform-origin:50% 100%}.living-smoke path:last-child{animation-delay:-1.6s;opacity:.6}.incense-ceremony.complete{opacity:0;transition:opacity .65s ease;backdrop-filter:blur(0)}@keyframes guide-dashes{to{stroke-dashoffset:-24}}@keyframes place-incense{0%{transform:translateY(-40px);opacity:0}25%{opacity:1}100%{transform:translateY(0);opacity:1}}@keyframes small-smoke{0%{opacity:0;transform:translateY(7px) scaleX(.5)}40%{opacity:.6}100%{opacity:0;transform:translateY(-10px) scaleX(1.7)}}@keyframes living-smoke{0%{transform:translateY(10px) scaleX(.8);opacity:0}40%{opacity:.7}100%{transform:translateY(-22px) scaleX(1.3);opacity:0}}@keyframes ceremony-in{from{opacity:0}to{opacity:1}}@media(max-width:640px){.terrace-levels{right:auto;left:12px;top:236px;gap:5px}.terrace-levels button{padding:7px 11px;min-height:34px;font-size:10px}.grave-picker{left:12px;top:165px;width:245px;padding:7px 10px}.grave-picker select{font-size:12px;min-height:32px}.grave-picker label{font-size:9px}.photo-source{max-width:calc(100% - 24px)}.offering-visual{width:220px;height:330px}.incense-presentation>p{font-size:15px}.photo-spot[data-tier] .spot-dot{width:26px;height:26px}.tour-destinations{max-width:calc(100% - 80px)}}

/* Keep the landscape unobstructed: numbered markers and a fitted full view. */
.photo-stage .main-grave .spot-label,.photo-stage .small-grave .spot-label{display:none!important}.photo-stage .main-grave .spot-dot,.photo-stage .small-grave .spot-dot{width:20px;height:20px;box-shadow:0 0 0 2px #ffffff30;font-size:8px}.photo-stage .photo-spot[data-tier] .spot-dot{width:22px;height:22px;font-size:8px}.photo-source{top:auto;bottom:70px;left:20px;font-size:9px;background:#163726b8}.photo-garden{background:linear-gradient(#e0e7d8,#c7d3bd)!important}.tour-ui{background:none}.terrace-levels{top:85px}.grave-picker{top:139px;left:20px}.tour-top .glass{font-size:10px}.tour-destinations{bottom:82px}.tour-tools{bottom:85px}@media(max-width:640px){.grave-picker{top:116px;left:12px;width:210px;padding:5px 9px}.grave-picker label{font-size:8px}.grave-picker select{min-height:28px;font-size:10px}.terrace-levels{top:185px;left:12px}.terrace-levels button{font-size:9px;padding:5px 9px;min-height:30px}.photo-source{top:auto;bottom:61px;left:12px;font-size:8px;padding:5px 8px}.tour-top>span{max-width:55%;text-align:right}.photo-stage .photo-spot[data-tier] .spot-dot{width:19px;height:19px;font-size:7px}.tour-search{top:64px}.tour-search input{width:165px;font-size:13px}.tour-search button{width:40px}.tour-hint{bottom:10px;font-size:9px;min-height:36px}.tour-destinations{bottom:85px}.photo-stage .main-grave,.photo-stage .small-grave{padding:3px;min-height:32px}}

.family-garden-name{position:fixed;top:20px;left:50%;transform:translateX(-50%);font:600 14px var(--font-body);color:#21483b;max-width:42vw;text-align:center}.family-tools-dialog{width:94vw;max-width:1200px;height:90dvh;max-height:94dvh;padding:0;border:1px solid #b8c5b1;border-radius:18px;background:#f4f6ed}.family-tools-dialog::backdrop{background:transparent}.family-tools-dialog>.close{position:absolute;right:12px;top:12px;z-index:5;background:white}@media(max-width:640px){.family-garden-name{top:74px;max-width:90vw;width:90vw;font-size:12px}}

.gate-clan-sign{position:absolute;left:41%;top:35%;width:18%;height:5.1%;display:flex;align-items:center;justify-content:center;text-align:center;color:#efcf79;font-family:var(--font-display);font-weight:700;line-height:1.08;text-shadow:0 1px 1px #29170d,0 -1px 0 #f6e4aa55;overflow-wrap:anywhere;padding:0 .4%;box-sizing:border-box;pointer-events:none}.gate-clan-sign[hidden]{display:none}

.placed-grave{position:absolute;transform:translate(-50%,-100%);padding:0;border:0;background:transparent;cursor:pointer;min-height:0;line-height:0}.placed-grave>img{display:block;width:100%;height:auto;pointer-events:none}.placed-grave>span{position:absolute;bottom:0;left:50%;transform:translate(-50%,30%);background:#214c3b;color:#fff;border:1px solid #fff;border-radius:50%;font:8px var(--font-body);line-height:18px;width:18px;height:18px}.placed-grave:hover{filter:brightness(1.13)}.placed-grave:focus-visible{outline:2px solid #e5bd67}.placed-grave[hidden],.overview-placed-grave[hidden]{display:none}.photo-stage>.overview-placed-grave{position:absolute;height:auto;transform:translate(-50%,-100%);pointer-events:none}.grave-page-control{position:fixed;top:215px;left:20px;z-index:4;background:#f5f6eeed;padding:8px;border-radius:10px;color:#254535;font:11px var(--font-body)}.grave-page-control label{display:block;margin-bottom:4px}.grave-page-control select{max-width:190px;border:0;background:transparent;color:inherit;font:inherit}@media(max-width:640px){.grave-page-control{top:224px;left:12px;padding:6px;font-size:10px}.placed-grave>span{font-size:6px;width:14px;height:14px;line-height:14px}}

.placed-grave::before{content:"";position:absolute;left:18%;right:18%;bottom:4.5%;height:5%;background:#21332950;border-radius:50%;filter:blur(2px);z-index:-1}.placed-grave>img{position:relative}.placed-grave{isolation:isolate}

/* Footing is anchored inside the lawn, with the image centered over its slab. */
.placed-grave::before{left:13%;right:13%;bottom:2.8%;height:13%;background:linear-gradient(175deg,#b9b7ac,#8a8e85);clip-path:polygon(14% 0,86% 0,100% 100%,0 100%);border-radius:1px;filter:drop-shadow(0 2px 1px #1727194d);z-index:-1}.placed-grave>span{bottom:-2%;width:16px;height:16px;line-height:16px;font-size:7px;transform:translate(-50%,40%)}
.ritual-smoke{position:absolute;transform:translate(-50%,-100%);pointer-events:none;z-index:3;opacity:.8;transition:opacity 2s}.ritual-smoke svg{display:block;width:100%;height:100%;overflow:visible;filter:blur(.6px)}.ritual-smoke path{fill:none;stroke:#ede9dc;stroke-width:2;stroke-linecap:round;animation:ritual-smoke-rise 3.6s ease-in-out infinite;transform-origin:50% 100%}.ritual-smoke path:last-child{animation-delay:-1.8s;stroke-width:1.5}.ritual-smoke.settled{opacity:.45}.ritual-smoke[hidden]{display:none}@keyframes ritual-smoke-rise{0%{opacity:0;transform:translateY(5px) scaleX(.75)}35%{opacity:.8}100%{opacity:0;transform:translateY(-16px) scaleX(1.3)}}@media(prefers-reduced-motion:reduce){.ritual-smoke path{animation:none;opacity:.45}}

.photo-stage .ancestor-hotspot{min-width:32px;width:32px;padding:6px;justify-content:center}.photo-stage .ancestor-hotspot .spot-label{position:absolute;left:100%;top:50%;transform:translateY(-50%);font-size:11px;white-space:nowrap}@media(max-width:640px){.photo-stage .ancestor-hotspot .spot-label{font-size:9px;padding:5px 7px}}

/* Long burial slabs share the path’s vertical axis; dimensions keep rows clear. */
.placed-grave>img{width:100%;height:100%;object-fit:contain;object-position:center bottom;transform:none}.placed-grave::before{display:none}

/* Preserve the photograph aspect ratio: horizontal burial body, upright headstone. */
.placed-grave>img{height:auto;object-fit:contain;aspect-ratio:auto}.placed-grave{height:auto}

.placed-grave{height:var(--grave-height,auto)}.placed-grave>img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.placed-grave>img.grave-mirrored{transform:scaleX(-1)}.photo-stage>.overview-placed-grave.grave-mirrored{transform:translate(-50%,-100%) scaleX(-1)}

.grave-photo{position:absolute;height:100%;width:auto;aspect-ratio:1.5;left:50%;bottom:0;transform:translateX(-50%);isolation:isolate;pointer-events:none}.grave-photo.is-right{transform:translateX(-50%) scaleX(-1)}.grave-photo>img{position:relative;display:block;width:100%;height:100%;object-fit:contain}.grave-photo::before{content:"";position:absolute;inset:0;clip-path:polygon(3% 92%,81% 92%,97% 56%,36% 56%);background:#182b1c45;transform:translateY(1px);filter:blur(1px);z-index:-1}
/* Consistent Vietnamese type and comfortable reading sizes. */
body{font-size:15px;line-height:1.6}button,input,textarea,select{font-family:var(--font-body);line-height:1.45}.brand{font-size:22px;letter-spacing:.035em;line-height:1.3}.brand small{font-size:10px;letter-spacing:.08em;line-height:1.5}.welcome h1{font-family:var(--font-display);font-weight:400;font-size:clamp(42px,4.4vw,64px);line-height:1.28;letter-spacing:-.025em}.welcome p{font-size:16px;line-height:1.85}.eyebrow{font-size:11px;letter-spacing:.1em;line-height:1.6}.nav,.primary,.soft,.outline{font-size:14px;line-height:1.5}.section-heading h1{line-height:1.4}.section-heading p,.tab-content{font-size:15px;line-height:1.8}.person-card h2{font-size:23px;line-height:1.4}.person-card p{font-size:13px}.sample,.caption{font-size:12px;line-height:1.65}.memorial-top h2{line-height:1.4}.memory-place{font-size:10px;letter-spacing:.08em;line-height:1.7}.memorial-top .eyebrow{font-size:11px}.tab-content h3,.story-card h3{line-height:1.45}.tab-content p,.story-card p{line-height:1.85}.story-date,.story-card small{font-size:12px}.tabs button{font-size:13px}.ritual button{font-size:14px}.tour-top .glass{font-size:12px;line-height:1.5}.tour-top>span{max-width:37%;overflow-wrap:break-word}.family-garden-name{font-family:var(--font-body);font-size:14px;line-height:1.5;max-width:34vw}.tour-destinations button{font-size:12px;line-height:1.45;padding:10px 13px}.tour-hint{font-size:12px;line-height:1.6}.photo-source{font-size:11px;line-height:1.6}.spot-label{font-family:var(--font-body);font-size:12px;letter-spacing:0;line-height:1.5}.grave-picker label{font-size:11px;line-height:1.5}.grave-picker select{font-size:13px;line-height:1.5}.terrace-levels button,.grave-page-control{font-size:12px;line-height:1.5}.ancestor-content h2{line-height:1.45}.ancestor-content>p{font-size:14px;line-height:1.85}dialog label{font-size:13px;line-height:1.6}dialog input,dialog textarea,dialog select{font-size:16px;line-height:1.6}.toast{font-size:13px;line-height:1.6}.gate-clan-sign{font-family:var(--font-display);font-weight:700;letter-spacing:0;line-height:1.18}.photo-stage .ancestor-hotspot .spot-label{font-size:12px}
@media(max-width:640px){.brand{font-size:18px;letter-spacing:.02em}.brand small{font-size:8px;letter-spacing:.04em}.welcome h1{font-size:36px;line-height:1.32}.welcome .eyebrow{font-size:10px}.welcome p{font-size:15px;line-height:1.8}.welcome-actions{flex-wrap:wrap}.welcome-actions button{font-size:13px;padding:13px 15px}.section-heading h1{font-size:29px;line-height:1.4}.section-heading .eyebrow{font-size:10px}.person-card h2{font-size:19px}.sample,.caption{font-size:11px}.memorial-top h2{font-size:28px;line-height:1.4}.memory-place{font-size:9px;letter-spacing:.04em}.tab-content{font-size:14px}.tour-top .glass{font-size:11px;padding:9px 10px}.tour-top>span{max-width:54%;line-height:1.5}.family-garden-name{top:66px;left:12px;transform:none;max-width:none;width:calc(100% - 24px);font-size:12px;line-height:1.5;text-align:center}.tour-search{top:99px}.grave-picker{top:150px;width:225px}.grave-picker label{font-size:10px}.grave-picker select{font-size:12px;min-height:32px}.terrace-levels{top:225px}.terrace-levels button{font-size:11px;padding:6px 8px}.grave-page-control{top:270px;font-size:11px}.tour-destinations button{font-size:11px;padding:8px 9px}.photo-stage .spot-label{font-size:11px}.photo-source{font-size:10px;max-width:calc(100% - 24px)}.tour-hint{font-size:11px;line-height:1.6}.mobile-nav span{font-size:11px;line-height:1.5}.ancestor-content h2{font-size:25px;line-height:1.45}.ancestor-content>p{font-size:14px}.photo-stage .ancestor-hotspot .spot-label{font-size:10px}}

.photo-stage .reference-grave{transform:none;background:none;border:0;padding:0}.reference-grave-crop{position:absolute;inset:0;overflow:hidden;pointer-events:none;mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent),linear-gradient(to bottom,transparent,#000 3%,#000 97%,transparent);mask-composite:intersect}.reference-grave-crop img{display:block;object-fit:fill;pointer-events:none}.reference-grave::before{display:none}
@media(max-width:640px){.welcome h1{font-size:clamp(30px,8.2vw,34px);line-height:1.35}}

/* Remembrance forms and history */
.relationship-actions{display:flex;gap:10px;padding:16px 24px;flex-wrap:wrap}.relationship-actions button{flex:1;border:1px solid #b8c8bb;background:#f5f4e9;color:#254c3b;border-radius:8px;padding:12px;font:inherit;cursor:pointer}.offering-picture,.managed-offering-stage{height:200px;overflow:hidden;border-radius:12px;background:#30271c;margin:16px 0}.offering-picture img,.managed-offering-stage img{width:100%;height:100%;object-fit:contain}.offering-history{margin-top:22px;border-top:1px solid #d7d8c8;padding-top:12px}.offering-history article{padding:14px 0;border-bottom:1px solid #e1e3d6;overflow-wrap:anywhere}.offering-history small{display:block;color:#69766d;margin-top:5px}.offering-history p{white-space:pre-wrap}.relation-note{background:#eef1e6;padding:14px;border-radius:8px;overflow-wrap:anywhere}#offeringError,#relativeError{color:#a53126}#relativeDialog select{width:100%;padding:12px;border:1px solid #c8d1c7;background:#fffdf5;border-radius:7px;font:inherit;color:#254c3b}dialog{max-height:90dvh;overflow:auto}dialog::backdrop{background:rgba(13,29,22,.65)}

.headstone-inscription{position:absolute;z-index:2;pointer-events:none;overflow:visible;fill:#e5d6a9;font-family:Vuon Sans,sans-serif;font-weight:600}.portrait img,.profile-emblem img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.portrait-upload{display:grid;gap:10px;margin:16px 0;padding:14px;background:#eef0e6;border-radius:10px}.portrait-upload img{width:90px;height:110px;object-fit:cover;border-radius:7px}.portrait-upload small{color:#6c786c}


.portrait-file-button{display:block;padding:13px 15px;border:1px solid #9db2a0;border-radius:9px;background:#edf2e7;color:#244b36;cursor:pointer;font:inherit;line-height:1.6}.portrait-file-button input{display:block;max-width:100%;margin-top:10px;font:inherit;font-size:14px}.portrait-editor-preview{width:130px;height:160px;margin:18px auto;display:grid;place-items:center;background:#e9ede0;border:1px solid #c4cfbc;border-radius:10px;text-align:center;font-size:14px;overflow:hidden}.portrait-editor-preview img{width:100%;height:100%;object-fit:cover}#portraitError{color:#a53126}.mini-grave img{width:48px;height:60px;object-fit:cover;border-radius:5px}.family-dialog .profile-actions{flex-wrap:wrap}
/* Balanced ritual panel: burner and form alongside the memorial plaque. */
dialog.offering-dialog{width:min(1160px,calc(100vw - 48px));max-width:none;max-height:94dvh;padding:30px;border-radius:20px;background:#f3f4ed;overflow:auto;box-sizing:border-box}
.offering-dialog>.close,.offering-dialog>.family-dialog-close{position:absolute;right:10px;top:10px;z-index:3;background:#fffdf7;border:1px solid #dbe0d4}
.offering-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.92fr);gap:30px;align-items:stretch}
.offering-main{min-width:0;background:#fffdf8;border:1px solid #dce1d4;border-radius:16px;overflow:hidden;box-shadow:0 8px 24px #263f2d08}
.offering-dialog .offering-picture{height:auto;aspect-ratio:4/3;margin:0;border-radius:0;background:#090a09;overflow:hidden}
.offering-dialog .offering-picture img{width:100%;height:100%;display:block;object-fit:contain}
.offering-copy{padding:24px 26px 26px}.offering-copy>.eyebrow,.offering-copy>.private-tag{font-size:11px;letter-spacing:.14em}.offering-copy h2{font-size:27px;line-height:1.3;margin:9px 0 7px}.offering-copy>p{font-size:14px;margin:0 0 18px;color:#66766a;line-height:1.5}
.offering-dialog .offering-copy form{display:grid;gap:13px;margin:0}.offering-dialog .offering-copy label{display:block;font-size:14px;line-height:1.5;color:#2d4938}.offering-dialog .offering-copy label>span{display:inline;color:#788477;font-weight:400}.offering-dialog .offering-copy input,.offering-dialog .offering-copy textarea{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:11px 13px;border:1px solid #ccd7c6;border-radius:8px;background:#fff;color:#284735;font:inherit;font-size:16px;line-height:1.5}.offering-dialog .offering-copy textarea{min-height:90px;resize:vertical}.offering-dialog .offering-copy .sample,.offering-dialog .offering-copy .small-note{font-size:12px;line-height:1.6;margin:0;color:#788477}.offering-dialog .offering-copy button[type=submit],.offering-dialog #submitOffering,.offering-dialog .offering-copy .family-primary{width:100%;margin:4px 0 0;padding:13px 18px;font-size:15px;border-radius:8px}.offering-dialog #offeringError:empty{display:none}
.tribute-plaque{position:relative;min-width:0;padding:48px 32px 26px;border:1px solid #cbd6c4;border-radius:50% 50% 12px 12px / 95px 95px 12px 12px;background:linear-gradient(150deg,#fffef9,#f0f3eb);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 12px 30px #25412f0b,0 8px 0 -3px #d5ddce;color:#274533;overflow-wrap:anywhere}
.tribute-plaque::before{content:'';position:absolute;inset:11px;border:1px solid #cfb783;border-radius:inherit;pointer-events:none}.plaque-symbol{font-size:30px;line-height:1.2;color:#7b8e6a;margin:0 0 14px}.plaque-symbol.martyr{color:#b53328;text-shadow:0 2px 8px #b5332822}.plaque-dedication{font-family:var(--font-display);font-weight:700;font-size:16px;line-height:1.7;letter-spacing:.13em;color:#9b782e}.plaque-rule{width:90px;height:1px;background:#d9c28d;margin:17px auto 25px}.plaque-portrait{width:92px;height:118px;object-fit:cover;border:3px double #c9b779;padding:3px;background:#fffdf6;margin-bottom:17px;border-radius:9px}.tribute-plaque .plaque-honor{font-family:var(--font-display);font-style:italic;font-size:18px;color:#6f7c6b;margin:0 0 6px}.tribute-plaque h3{font-family:var(--font-display);font-size:clamp(26px,2.2vw,34px);font-weight:700;line-height:1.3;margin:0 0 24px;text-wrap:balance;color:#254332}.tribute-plaque dl{width:100%;margin:0;display:grid;gap:20px}.tribute-plaque dt{font-family:var(--font-body);font-size:13px;color:#778371;margin-bottom:6px}.tribute-plaque dd{font-family:var(--font-display);font-size:17px;line-height:1.6;margin:0;color:#2b4938}.tribute-plaque .plaque-motto{font-family:var(--font-display);font-size:14px;font-style:italic;color:#8a947e;margin:28px 0 0;line-height:1.7}
@media(min-width:900px){.offering-dialog .offering-picture{max-height:360px}}
@media(max-width:760px){dialog.offering-dialog{width:calc(100vw - 20px);max-height:94dvh;padding:24px 12px 16px;border-radius:14px}.offering-layout{grid-template-columns:minmax(0,1fr);gap:22px}.offering-copy{padding:20px}.offering-copy h2{font-size:25px}.offering-dialog .offering-picture{aspect-ratio:4/3}.tribute-plaque{min-height:420px;padding:46px 25px 30px}.tribute-plaque h3{font-size:29px}.tribute-plaque dl{gap:15px}}

/* Keep the burner frame full-column and the plaque heading near its crown. */
.offering-dialog .offering-picture{width:100%;height:340px;max-height:none;aspect-ratio:auto;background:#090a09}.offering-dialog .offering-picture img{width:100%;height:100%;max-width:none;object-fit:contain}.tribute-plaque{justify-content:flex-start;padding-top:58px}@media(max-width:760px){.offering-dialog .offering-picture{height:auto;aspect-ratio:4/3}.tribute-plaque{padding-top:46px}}
/* Broad inscription layout matches the real headstone face, without squeezing text. */
.headstone-inscription{fill:#fff0bf;font-family:var(--font-body);font-weight:700;paint-order:stroke fill;stroke:#1c1e1a;stroke-width:.7px;stroke-linejoin:round;overflow:visible}.headstone-inscription .stone-title{font-weight:600;fill:#eadcb1}.headstone-inscription .stone-name{font-weight:700;fill:#fff3ce}.headstone-inscription .stone-date{font-weight:600;fill:#f5e8c5}.headstone-inscription .stone-rule{fill:none;stroke:#c8b781;stroke-width:1;opacity:.65}
.relationship-actions #viewHeadstone{min-width:150px}.headstone-dialog{width:min(720px,calc(100vw - 24px));max-width:none}.headstone-dialog h2{margin-bottom:5px}.stone-zoom-tools{display:flex;gap:10px;align-items:center;justify-content:center;margin:18px 0;flex-wrap:wrap}.stone-zoom-tools button{border:1px solid #b8c7b1;background:#f1f4e8;color:#294b36;padding:9px 16px;font:inherit}.stone-zoom-tools output{min-width:56px;text-align:center;font-variant-numeric:tabular-nums}.headstone-reader{height:clamp(240px,44vh,430px);overflow:auto;padding:14px;background:#e4e9dc;border:1px solid #c8d1bf;border-radius:12px}.headstone-reader-stone{box-sizing:border-box;min-width:260px;aspect-ratio:3/2;margin:0 auto;border:5px double #a6a99e;border-radius:35% 35% 7px 7px / 28% 28% 7px 7px;background:radial-gradient(ellipse at 30% 25%,#42443d,#242721 65%);box-shadow:0 5px 12px #14221335;padding:10px 15px}.headstone-reader-stone .headstone-inscription{position:static;display:block;width:100%;height:100%;pointer-events:none;overflow:visible}@media(max-width:640px){.headstone-dialog{padding:28px 14px 18px}.headstone-reader{padding:8px}.headstone-reader-stone{min-width:240px}.relationship-actions #viewHeadstone{min-width:130px}}

.family-incense-button{border:1px solid #b69e62;border-radius:8px;padding:12px 16px;background:#f2e9cd;color:#4d452c;font:inherit;line-height:1.5}.family-incense-button:hover{background:#e8dcb8}.offering-dialog #familyIncense{width:100%;font-weight:600;font-size:15px}.tour-destinations #familyIncenseQuick{font-size:13px;white-space:nowrap;pointer-events:auto}.tour-destinations{flex-wrap:wrap}
/* Smoke remains present throughout the visit; no fade-out or removal timer. */
.persistent-smoke{opacity:.8;transition:none}.persistent-smoke svg{filter:blur(.55px)}.persistent-smoke path{stroke:#eeece4;stroke-width:3;animation-duration:4.8s}.persistent-smoke path:nth-child(2){animation-delay:-1.2s;stroke-width:2.6}.persistent-smoke path:nth-child(3){animation-delay:-2.4s;stroke-width:4;opacity:.6}.persistent-smoke path:nth-child(4){animation-delay:-3.6s;stroke-width:2.3}@media(prefers-reduced-motion:reduce){.persistent-smoke path{animation:none;opacity:.5}}
