/* Lumerento Editorial v3 — calm photographic composition. Overrides, does not replace the application. */
:root{--lm-night:#110e14;--lm-porcelain:#f6eee3;--lm-brass:#e3c08c;--lm-rose:#8f4c5c}
body{background:#100e14!important;color:var(--lm-porcelain);background-image:none!important}
.header{min-height:74px;padding:9px max(24px,calc((100vw - 1320px)/2));border-bottom:1px solid #9d837346!important;background:#161218ed!important;backdrop-filter:blur(16px);position:relative;z-index:20}
.logo-mark{color:#e4bd89!important;font:42px/1 var(--lm-display)!important}
.logo-words strong{color:#f6e8d4;font-size:32px;letter-spacing:-.015em}
.logo-words small{color:#bdad9d;font:10px var(--lm-ui);letter-spacing:.075em}
.header .nav{gap:clamp(11px,1.65vw,26px)}
.header .nav a{color:#e0d4ce;font-family:var(--lm-ui);font-size:13px;letter-spacing:0}
.header .nav a:hover,.header .nav a[aria-current=page]{color:#f7cd8c}
.header .atelier-link{color:#dcb58c!important}
.header .global-search-button,.header .account-trigger,.header .language{background:#211a23!important;border:1px solid #7d666a!important;border-radius:8px!important}
.header .account-trigger{min-height:39px}
.header .language{min-height:39px}
#home-view{display:flex;flex-direction:column;background:#100e14}
#home-view .hero{order:0;display:flex;align-items:center;max-width:none;width:100%;min-height:630px;margin:0;padding:85px max(36px,calc((100vw - 1310px)/2)) 74px!important;gap:0!important;position:relative;isolation:isolate;background-image:linear-gradient(90deg,#100c13e8 0%,#120d14bc 35%,#100c1362 60%,#0d091217 100%),url('media/lumerento-panorama.webp')!important;background-position:center center!important;background-size:cover!important;border-bottom:1px solid #ba97774a}
#home-view .hero:after{content:"";position:absolute;inset:auto 0 0;height:140px;background:linear-gradient(transparent,#100e14e0);pointer-events:none;z-index:-1}
#home-view .hero-copy{max-width:660px;flex:none;margin:0;position:relative}
#home-view .hero-art{display:none!important}
#home-view .hero .eyebrow{color:#dcc4a9!important;text-transform:uppercase;font-size:11px;letter-spacing:.23em!important;font-weight:500}
#home-view .hero h1{font:450 clamp(67px,8vw,118px)/.98 var(--lm-display);letter-spacing:-.05em;text-shadow:0 3px 20px #09040b9e!important;margin:20px 0 21px}
#home-view .hero .gold-line{font:italic 400 clamp(28px,3vw,43px)/1.25 var(--lm-serif);color:#f0d4ac!important;letter-spacing:0;margin-top:13px}
#home-view .hero-text{font:19px/1.6 var(--lm-serif);color:#f1e5dd;max-width:490px;text-shadow:0 2px 8px #12080a}
#home-view .hero-actions{margin:30px 0 28px;gap:12px}
#home-view .hero-actions .btn{min-height:50px;font-size:14px;padding:12px 21px}
#home-view .hero-actions .btn.gold{background:linear-gradient(120deg,#f5d99f,#d9ad76)!important;color:#291b1b!important;border:1px solid #f0d4a4!important;box-shadow:0 8px 26px #b3743973!important}
#home-view .hero-actions .btn.outline{background:#1c171fc9!important;color:#f2e3d7;border:1px solid #ac8e817a}
#home-view .hero-attributes{font-size:12px;color:#e4cec2;gap:16px}
#home-view .lm-search-home{width:min(100%,485px);margin:7px 0 25px}
#home-view .lm-search-row{background:#17121acc!important;border-color:#b99c8170}
#home-view .features{order:1;width:100%;max-width:1350px;padding:31px 30px;margin:0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
#home-view .features .feature{min-height:146px;border-radius:13px!important;padding:25px 22px;background:#1d1922!important;border:1px solid #7560697a!important}
#home-view .feature-icon{font-size:37px;color:#e6c38a}
#home-view .feature h2{font:450 25px/1.17 var(--lm-display);margin:0 0 10px}
#home-view .feature p{font:13px/1.7 var(--lm-ui);color:#d1c0b7}
#home-view .home-public-preview{order:2;max-width:1290px;width:100%;padding:22px 30px 18px;margin:12px auto 0}
.lm-preview-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.lm-preview-heading h2{font:450 clamp(30px,3.2vw,44px)/1.15 var(--lm-display);margin:5px 0;color:#f5e8d9}
.lm-preview-heading a{color:#e7c38f;text-decoration:none;font-size:14px;white-space:nowrap}
.lm-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.lm-preview-card{min-height:180px;position:relative;text-decoration:none;border:1px solid #77606b7a;border-radius:12px;overflow:hidden;background:linear-gradient(125deg,#392733c4,#1d1823de),url('media/memorial-stone.webp');background-size:cover;padding:24px}
.lm-preview-card:before{content:"✧";position:absolute;top:21px;right:24px;font:32px var(--lm-serif);color:#e9c48685}
.lm-preview-card strong{display:block;font:31px/1.2 var(--lm-display);max-width:80%;margin:11px 0}
.lm-preview-card .muted{color:#d6bbaa}
.lm-preview-card:hover{border-color:#e9c486}
.lm-preview-empty{display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid #735b65a3;background:linear-gradient(95deg,#2a202a,#18151e);border-radius:14px;padding:26px 32px;grid-column:1/-1}
.lm-preview-empty p{margin:0;color:#dfcfc5;font:19px/1.45 var(--lm-serif)}
.lm-preview-empty a{white-space:nowrap}
#home-view .lights-teaser{order:3;max-width:1290px;width:100%;margin:55px auto 32px;padding:0 30px}
#home-view .lights-intro h2{font-size:clamp(28px,3vw,40px)}
#home-view [data-world-lights=home] .world-surface{aspect-ratio:3.45/1!important;min-height:250px}
#home-view [data-world-lights=home] .world-map-art{object-fit:cover}
#home-view [data-world-lights=home]{border-radius:13px;box-shadow:none}
#home-view .home-bottom{order:4;max-width:1240px;width:calc(100% - 60px);margin:30px auto 70px;padding:30px 18px}
#home-view .home-bottom h2{font-size:38px}
#home-view .home-bottom .btn{white-space:nowrap}
.btn{transition:background-color .18s,border-color .18s,transform .18s}
.btn:focus-visible{outline:3px solid #f1ce9b;outline-offset:4px}
.page-heading h1{color:#f5e8dc}
.form-card,.memorial-card,.public-card{background-color:#1e1921!important;background-image:linear-gradient(140deg,#241d25e8,#16131ce8),url('media/memorial-stone.webp')!important;border-color:#866e677c!important;border-radius:14px!important}
#memorial-content{display:block!important;width:100%!important;max-width:1480px!important;margin:0 auto 85px!important;padding:0 24px!important}
#memorial-content .memorial-banner{position:relative!important;top:auto!important;display:flex!important;min-height:320px!important;max-width:none!important;width:100%!important;margin:25px 0 20px!important;padding:56px clamp(29px,5vw,70px)!important;border-radius:14px!important;background-image:linear-gradient(90deg,#130f17f7 0%,#191117dc 37%,#1a121d7c 63%,#160e184f),url('media/lumerento-panorama.webp')!important;background-size:cover!important;background-position:center!important;box-shadow:0 22px 50px #0502066b!important;border:1px solid #9b7a6c80!important;align-items:flex-start;justify-content:center!important}
#memorial-content .memorial-banner:after{display:none}
#memorial-content .memorial-banner .eyebrow{font-size:11px;letter-spacing:.18em!important;text-transform:uppercase;color:#edc998}
#memorial-content .memorial-banner h1{font:450 clamp(42px,5.5vw,77px)/1.1 var(--lm-display)!important;max-width:760px!important;color:#f9ecdf;margin:14px 0 8px;text-shadow:0 3px 22px #0007}
#memorial-content .memorial-banner p{max-width:620px}
#memorial-content .memorial-banner .memorial-tribute{font:italic 400 clamp(19px,2.1vw,26px)/1.45 var(--lm-serif);margin:18px 0 0;color:#ead4c4}
#memorial-content .memorial-layout{display:grid!important;grid-template-columns:minmax(0,1.54fr) minmax(335px,.86fr)!important;gap:19px!important;max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
#memorial-content .memorial-left,#memorial-content .memorial-right{min-width:0}
#memorial-content .memorial-card{padding:23px!important;background-image:linear-gradient(130deg,#251e28f4,#19151ffc),url('media/memorial-stone.webp')!important;border-radius:13px!important}
#memorial-content .memorial-card h2{font:480 clamp(24px,2.4vw,31px)/1.23 var(--lm-display);color:#f6e8d8}
#memorial-content .candle-scene{padding:0 0 13px!important;min-height:0!important;overflow:visible;background:linear-gradient(135deg,#1d151d,#2b1b24)!important;border:1px solid #7459598c;border-radius:10px!important}
#memorial-content .cin-stage{aspect-ratio:1.92!important;max-width:none!important;width:100%!important;border-radius:10px 10px 5px 5px!important;box-shadow:none;margin:0 auto 12px!important}
#memorial-content .cin-stage .cin-stage-photo{object-fit:cover;object-position:center 46%}
#memorial-content .candle-count{font:40px/1.1 var(--lm-display)!important;color:#eec995!important}
#memorial-content .candle-scene .lum-burn-caption{font-size:13px;color:#cbb7ac}
#memorial-content .memorial-left>.memorial-card:first-child>.mini-actions{display:flex;justify-content:center;margin:12px 0 6px}
#memorial-content .memorial-left>.memorial-card:first-child>.mini-actions .btn.gold{background:linear-gradient(110deg,#f5d69c,#d8a765)!important;color:#261a1a!important;border-color:#ecc58d!important;font-weight:650!important;min-width:min(100%,320px);min-height:49px;box-shadow:0 4px 15px #b2784866!important}
#memorial-content .memorial-right>.memorial-card:first-child{min-height:370px}
#memorial-content .share-studio{gap:12px}
#memorial-content .share-visual{border-radius:12px;background:linear-gradient(120deg,#533342,#2c222c)}
#memorial-content .share-net-grid{gap:6px}
#memorial-content .share-site{min-height:68px}
#memorial-content .memorial-expiry{background:#302331;border-color:#735a64}
#memorial-content .chat-feed{min-height:130px;max-height:370px;background:#16131c;border-color:#6c53638a}
#memorial-content .chat-message{background:#2d242f;border:1px solid #6d5564}
#memorial-content .chat-message strong{color:#efd2a0}
#memorial-content .chat-controls{gap:9px}
#memorial-content .chat-controls .btn{min-width:90px}
#memorial-content .memorial-left>.memorial-card+.memorial-card,#memorial-content .memorial-right>.memorial-card+.memorial-card{margin-top:18px}
#memorial-content .lum-atelier{margin:15px 0!important;background:linear-gradient(130deg,#221c26,#191620)!important;border-radius:10px!important;padding:12px 16px!important}
#memorial-content .lum-atelier.lm-collapsed{padding:0!important}
#memorial-content .lum-atelier.lm-collapsed>:not(.lm-atelier-toggle){display:none!important}
.lm-atelier-toggle{display:flex;justify-content:space-between;gap:15px;align-items:center;width:100%;min-height:54px;padding:13px 16px;border:0;background:transparent;color:#efceaa;text-align:left;font:500 16px/1.2 var(--lm-ui)}
.lm-atelier-toggle:after{content:'+';font:25px/1 var(--lm-serif);color:#e1b984}
.lum-atelier:not(.lm-collapsed)>.lm-atelier-toggle:after{content:'−'}
.lm-candle-nickname{display:block;max-width:360px;margin:16px auto 0;min-height:0}
.lm-candle-nickname label{font:500 12px var(--lm-ui);color:#e4c7b0;margin:0 0 5px}
.lm-candle-nickname input{width:100%!important;background:#17131a!important;border:1px solid #866d68!important;padding:11px 13px!important;color:#f5e2d0!important}
#memorial-content .memorial-right .support-note{border-radius:11px}
@media(max-width:1150px){
 .header{padding:10px 22px}
 .header .nav{gap:10px}
 .header .nav a{font-size:12px}
 #memorial-content{padding:0 16px!important}
 #memorial-content .memorial-layout{grid-template-columns:minmax(0,1.25fr) minmax(310px,.82fr)!important}
}
@media(max-width:900px){
 #home-view .hero{min-height:540px;padding:65px 26px!important;background-position:64% center!important}
 #home-view .hero-copy{max-width:560px}
 #home-view .hero h1{font-size:clamp(65px,10vw,99px)}
 #home-view .features{padding:18px;grid-template-columns:1fr;gap:9px}
 #home-view .features .feature{min-height:115px}
 .lm-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #memorial-content .memorial-layout{grid-template-columns:minmax(0,1fr)!important}
 #memorial-content .memorial-banner{min-height:280px!important}
}
@media(max-width:760px){
 .header{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;gap:8px 10px!important;padding:10px 17px!important;align-items:center}
 .header .logo{grid-column:1;grid-row:1}
 .header .global-search{grid-column:2;grid-row:1}
 .header #account-trigger{grid-column:3;grid-row:1;min-height:37px;font-size:12px}
 .header .language{grid-column:2/4;grid-row:2;justify-self:end;margin:0}
 .header .lm-mobile-menu{grid-column:1;grid-row:2;justify-self:start}
 .header .nav{grid-column:1/-1;grid-row:3;display:none!important;flex-direction:column!important;gap:0!important;width:100%;background:#241c25;border:1px solid #795e64;border-radius:12px;padding:8px 16px;order:initial!important}
 .header[data-menu-open="true"] .nav{display:flex!important}
 .header .nav a{display:block;width:100%;min-height:43px;padding:11px 9px;border-radius:5px;font:14px var(--lm-ui)!important}
 .header .nav a:hover{background:#3b2935}
 .lm-mobile-menu{background:#241a23;border:1px solid #8c6e65;border-radius:8px;min-height:37px;color:#f3ded0;display:flex;align-items:center;gap:9px;padding:6px 12px;font:13px var(--lm-ui)}
 #home-view .hero{min-height:650px;padding:54px 22px!important;align-items:flex-start;background-image:linear-gradient(180deg,#100d14de 0%,#120d16b8 46%,#110d1447 67%,#100d1488 100%),url('media/lumerento-panorama.webp')!important;background-position:70% center!important}
 #home-view .hero-copy{max-width:100%}
 #home-view .hero h1{font-size:clamp(58px,14vw,83px);margin-top:15px}
 #home-view .hero .gold-line{font-size:29px}
 #home-view .hero-text{font-size:17px;max-width:510px}
 #home-view .hero-actions{margin:23px 0;gap:9px}
 #home-view .hero-actions .btn{flex:1 1 195px;min-height:47px}
 #home-view .hero .lm-search-home{max-width:100%;margin-top:12px}
 #home-view .hero-attributes{display:none}
 #home-view .home-public-preview{padding:14px 17px 8px}
 .lm-preview-grid{grid-template-columns:1fr}
 .lm-preview-heading{align-items:flex-start}
 .lm-preview-heading a{font-size:12px;white-space:normal}
 .lm-preview-empty{display:block;padding:21px}
 .lm-preview-empty a{margin-top:12px}
 #home-view .lights-teaser{padding:0 16px;margin:38px auto 23px}
 #home-view [data-world-lights=home] .world-surface{aspect-ratio:1.8/1!important;min-height:200px}
 #home-view .home-bottom{width:calc(100% - 34px);margin:16px 17px 42px;padding:24px 5px}
 #memorial-content{padding:0 12px!important}
 #memorial-content .memorial-banner{min-height:320px!important;margin:14px 0!important;padding:31px 23px!important;background-position:65% center!important}
 #memorial-content .memorial-banner h1{font-size:clamp(40px,9vw,62px)!important}
 #memorial-content .memorial-banner .memorial-tribute{font-size:19px;max-width:300px}
 #memorial-content .memorial-card{padding:15px!important}
 #memorial-content .cin-stage{aspect-ratio:1.55!important}
 .lm-atelier-toggle{font-size:14px}
}
@media(min-width:761px){.lm-mobile-menu{display:none}}
@media(prefers-reduced-motion:reduce){#home-view .hero,#memorial-content .memorial-banner{background-attachment:scroll!important}}

/* Contextual actions stay in the scene, rather than duplicating a navigation rail. */
.lm-banner-shortcuts{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px;position:relative;z-index:2}
.lm-banner-action{min-height:38px;border:1px solid #d6b8908c;border-radius:7px;background:#171118ab;color:#f5dfbf;padding:8px 14px;font:500 12px var(--lm-ui);backdrop-filter:blur(5px)}
.lm-banner-action:hover{background:#a97b4e55;border-color:#f1d7ad}
#memorial-content .memorial-card,#memorial-content #chat-feed{scroll-margin-top:105px}
@media(max-width:760px){
 .lm-banner-shortcuts{gap:7px;margin-top:13px}
 .lm-banner-action{flex:1 1 105px;font-size:11px;min-height:43px;padding:8px 6px}
 #memorial-content .memorial-banner{min-height:365px!important}
}


/* LUMERENTO / LAYOUT RESTORATION 2026-10-31
   Calm editorial hierarchy. One photographic candle; remembrance is the focus.
   Progressive cascade only: no changes to memorial API, share keys, accounts or payments. */
:root{--lm-res-gold:#e8c38d;--lm-res-line:rgba(196,163,127,.32)}
#home-view .hero{min-height:610px!important;padding-block:85px 76px!important}
#home-view .hero h1{font-size:clamp(62px,6.8vw,98px)!important;line-height:.97!important;letter-spacing:-.048em!important;max-width:720px;margin:12px 0 20px!important;text-wrap:balance}
#home-view .hero h1 .gold-line{font:italic 400 clamp(26px,2.8vw,37px)/1.25 var(--lm-serif)!important;letter-spacing:0!important;margin-top:20px!important}
#home-view .hero-text{max-width:495px;font-size:clamp(17px,1.5vw,19px);line-height:1.6}
#home-view .hero-actions .btn.gold,
#home-view .home-bottom .btn.gold,
#memorial-content .mini-actions .btn.gold,
#create-view .form-actions .btn.gold{background:linear-gradient(122deg,#f2d49e,#d8ae74)!important;border:1px solid #ebcb97!important;color:#271b1c!important;box-shadow:none!important;font-weight:650}
#home-view .hero-actions .btn.gold:hover,
#memorial-content .mini-actions .btn.gold:hover,
#create-view .form-actions .btn.gold:hover{background:#f5ddb4!important;border-color:#f7dfb4!important}
#home-view .hero-actions .btn.outline{background:rgba(22,18,25,.80)!important}
#home-view .lights-teaser{order:1!important;margin:48px auto 30px!important}
#home-view .lights-intro{align-items:end;gap:16px}
#home-view .lights-intro h2{font-size:clamp(34px,3.5vw,49px)!important;letter-spacing:-.02em}
#home-view .lights-teaser .eyebrow{letter-spacing:.15em}
#home-view [data-world-lights=home] .world-surface{aspect-ratio:3.2/1!important;min-height:270px!important}
#home-view .home-public-preview{order:2!important;margin:20px auto 18px!important;padding-top:18px!important}
#home-view .features{order:3!important;max-width:1290px!important;margin:30px auto 0!important;padding:30px 30px 8px!important;border-top:1px solid var(--lm-res-line);gap:0!important}
#home-view .features .feature{min-height:0!important;padding:4px 28px 8px!important;border:0!important;border-right:1px solid var(--lm-res-line)!important;background:none!important;background-image:none!important;border-radius:0!important;box-shadow:none!important}
#home-view .features .feature:first-child{padding-left:0!important}
#home-view .features .feature:last-child{border-right:0!important;padding-right:0!important}
#home-view .features .feature h2{font:450 24px/1.2 var(--lm-display)!important;margin:0 0 8px}
#home-view .features .feature p{font-size:13px;line-height:1.65}
#home-view .home-bottom{order:4!important;margin-top:22px!important}
#home-view .lm-preview-empty{border-radius:10px;padding:23px 28px}
#home-view .lm-preview-empty p{font-size:18px}
#home-view .lm-preview-card{border-radius:9px}
#home-view .lm-preview-card strong{font-size:30px}
.header .nav a{font-family:var(--lm-ui)!important;font-size:13px}
.header .logo-words strong{letter-spacing:-.03em}
#memorial-content{max-width:1400px!important;margin-bottom:58px!important}
#memorial-content .memorial-banner{
 min-height:300px!important;padding:43px 7vw!important;
 align-items:center!important;justify-content:center!important;text-align:center!important;
 background-image:linear-gradient(110deg,rgba(23,19,26,.97),rgba(27,22,28,.92) 50%,rgba(20,18,24,.96)),url('media/memorial-stone.webp')!important;
 background-position:center!important;background-size:cover,420px auto!important;
 border:1px solid rgba(193,155,117,.4)!important;box-shadow:none!important;
 border-radius:11px!important;gap:0!important
}
#memorial-content .memorial-banner:before{content:"";display:block;position:relative;width:72px;height:1px;margin:0 auto 20px;background:linear-gradient(90deg,transparent,#dfb884,transparent);flex-shrink:0}
#memorial-content .memorial-banner .eyebrow{font:600 11px/1.55 var(--lm-ui)!important;letter-spacing:.16em!important;color:#daba90!important;text-transform:uppercase}
#memorial-content .memorial-banner h1{max-width:950px!important;font:450 clamp(49px,5.6vw,80px)/1.06 var(--lm-display)!important;letter-spacing:-.035em!important;overflow-wrap:anywhere;text-wrap:balance;margin:8px 0 11px!important}
#memorial-content .memorial-banner .muted{font-size:14px!important;letter-spacing:.06em;color:#d9c2ab!important}
#memorial-content .memorial-banner p:not(.eyebrow):not(.memorial-tribute){margin:10px 0 0!important;color:#d3beb0!important;font-size:14px}
#memorial-content .memorial-banner .memorial-tribute{font:italic 400 clamp(19px,2.1vw,26px)/1.45 var(--lm-serif)!important;max-width:730px!important;margin:17px auto 0!important;color:#f1dfce!important;text-wrap:balance}
#memorial-content .memorial-layout{grid-template-columns:minmax(0,1.33fr) minmax(330px,.83fr)!important;gap:20px!important}
#memorial-content .memorial-card{background-image:linear-gradient(130deg,rgba(35,29,36,.97),rgba(24,21,29,.98)),url('media/memorial-stone.webp')!important;border:1px solid rgba(175,146,117,.27)!important;border-radius:11px!important;box-shadow:none!important;padding:24px!important}
#memorial-content .memorial-card h2{font:450 clamp(25px,2.3vw,31px)/1.2 var(--lm-display)!important;letter-spacing:-.025em;margin-bottom:17px}
#memorial-content .candle-scene{border-color:rgba(166,130,102,.3)!important;background:#131015!important;border-radius:9px!important}
#memorial-content .cin-stage{aspect-ratio:1.86!important;border-radius:8px 8px 3px 3px!important;margin-bottom:7px!important}
#memorial-content .candle-scene .candle-count{font-size:40px!important}
#memorial-content .candle-scene .muted{font-size:12px}
#memorial-content .lm-candle-nickname{margin-top:13px!important}
#memorial-content .memorial-left>.memorial-card:first-child>.mini-actions{margin-top:10px!important}
#memorial-content .memorial-left>.memorial-card:first-child>.mini-actions .btn.gold{min-height:50px!important}
#memorial-content .share-visual{min-height:111px!important;padding:14px 18px!important;gap:14px!important;border-radius:8px}
#memorial-content .share-flame{width:65px;min-width:65px;height:65px;font-size:41px}
#memorial-content .share-visual strong{font-size:clamp(23px,2vw,29px)}
#memorial-content .share-description{font-size:16px;line-height:1.4}
#memorial-content .share-networks{padding-top:12px}
#memorial-content .share-site{min-height:58px!important;border-radius:7px!important}
#memorial-content .share-site>span{height:30px;width:30px}
#memorial-content .memorial-expiry{padding:11px 16px;border-radius:8px;font-size:14px}
#memorial-content .memorial-right .muted{line-height:1.55}
#memorial-content .chat-feed{min-height:108px!important;max-height:370px;border-radius:8px}
#memorial-content .chat-message{border-radius:8px}
#memorial-content #chat-form input,#memorial-content #chat-form textarea{border-radius:7px}
#memorial-content .lm-banner-shortcuts{justify-content:center;margin:21px auto 0;gap:8px;max-width:570px}
#memorial-content .lm-banner-action{min-height:42px;border-radius:7px;padding:9px 14px;font-weight:600}
#memorial-content .lm-banner-action:first-child{background:#ddbb86!important;color:#26191a!important;border-color:#e9cc9e!important}
#memorial-content .memorial-card [hidden]{display:none!important}
#create-view .page-heading{margin-bottom:22px}
#create-view .form-card{background-image:linear-gradient(145deg,#211a23f4,#18151cfc),url('media/memorial-stone.webp')!important;box-shadow:none!important;border-radius:11px!important}
#create-view .form-card input,#create-view .form-card textarea{border-color:#75616a}
#create-view .form-card fieldset .choice{border-radius:8px}
#create-view .form-card .archive-choice{border-radius:8px}
#create-view .form-actions .btn.gold{min-height:51px;min-width:210px}
@media(max-width:960px){
 #home-view .features{grid-template-columns:repeat(3,minmax(0,1fr));padding:24px 20px!important}
 #home-view .features .feature{padding:0 15px 4px!important}
 #home-view .features .feature:first-child{padding-left:0!important}
 #home-view .features .feature:last-child{padding-right:0!important}
 #memorial-content .memorial-layout{grid-template-columns:1fr!important}
}
@media(max-width:760px){
 .header{display:grid!important;grid-template-columns:minmax(0,1fr) 36px auto auto!important;grid-template-rows:auto!important;gap:7px!important;min-height:68px!important;padding:9px 12px!important;align-items:center}
 .header .logo{grid-area:1 / 1 / 2 / 2!important;min-width:0!important;gap:0}
 .header .logo-words strong{font-size:27px!important;line-height:1.05}
 .header .logo-words small{font-size:9px!important;line-height:1.3}
 .header .global-search{grid-area:1 / 2 / 2 / 3!important;width:36px;justify-self:end}
 .header .global-search-button{width:36px!important;min-width:36px!important;height:37px!important;min-height:37px!important;padding:8px!important}
 .header #account-trigger{grid-area:1 / 3 / 2 / 4!important;max-width:88px!important;min-height:37px!important;font-size:11px!important;padding:6px 9px!important}
 .header .lm-mobile-menu{grid-area:1 / 4 / 2 / 5!important;min-height:37px!important;padding:7px 9px!important;font-size:12px!important;white-space:nowrap}
 .header .language{grid-area:2 / 1 / 3 / 5!important;justify-self:stretch!important;width:100%;max-width:none!important;margin:0!important;display:none!important}
 .header[data-menu-open="true"] .language{display:flex!important}
 .header .language select{width:100%!important;max-width:none!important}
 .header .nav{grid-area:3 / 1 / 4 / 5!important;margin:0!important}
 #home-view .hero{min-height:565px!important;padding:47px 20px 32px!important;align-items:flex-start;background-image:linear-gradient(180deg,rgba(15,11,18,.94) 0%,rgba(15,11,18,.78) 40%,rgba(15,11,18,.25) 71%,rgba(15,11,18,.8) 100%),url('media/lumerento-panorama.webp')!important;background-position:73% center!important}
 #home-view .hero h1{font-size:clamp(47px,11.8vw,65px)!important;line-height:1.02!important;max-width:350px;margin:9px 0 14px!important}
 #home-view .hero h1 .gold-line{font-size:clamp(24px,6.3vw,29px)!important;margin-top:9px!important}
 #home-view .hero-text{font-size:16px!important;line-height:1.45;max-width:347px;margin-top:8px}
 #home-view .hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px!important;margin:20px 0 11px!important}
 #home-view .hero-actions .btn{min-width:0!important;min-height:49px!important;padding:8px 9px!important;font-size:12px!important;line-height:1.25!important;justify-content:center;text-align:center}
 #home-view .hero .lm-search-home{margin:14px 0 0!important;width:100%}
 #home-view .lights-teaser{margin:35px auto 22px!important;padding:0 16px!important}
 #home-view .lights-intro h2{font-size:32px!important}
 #home-view [data-world-lights=home] .world-surface{aspect-ratio:1.75/1!important;min-height:185px!important}
 #home-view .home-public-preview{margin:10px auto 16px!important;padding:15px 16px!important}
 #home-view .features{display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:7px 16px!important;margin:12px auto!important}
 #home-view .features .feature{border:0!important;border-bottom:1px solid var(--lm-res-line)!important;border-radius:0!important;padding:15px 0!important;min-height:0!important}
 #home-view .features .feature:last-child{border-bottom:0!important}
 #home-view .features .feature h2{font-size:23px!important;margin-bottom:5px}
 #home-view .features .feature p{margin:0}
 #home-view .home-bottom{margin-top:10px!important}
 #memorial-content{padding:0 12px!important;margin-bottom:35px!important}
 #memorial-content .memorial-banner{min-height:250px!important;padding:29px 15px!important;margin:12px 0 15px!important;border-radius:10px!important}
 #memorial-content .memorial-banner:before{margin-bottom:15px;width:52px}
 #memorial-content .memorial-banner h1{font-size:clamp(42px,10vw,59px)!important;line-height:1.05!important;margin:9px 0!important}
 #memorial-content .memorial-banner .memorial-tribute{font-size:19px!important;max-width:100%!important;margin-top:12px!important}
 #memorial-content .lm-banner-shortcuts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:360px;gap:7px!important;margin-top:19px}
 #memorial-content .lm-banner-action{min-width:0;min-height:44px!important;font-size:12px!important;padding:7px!important}
 #memorial-content .lm-banner-action:last-child:nth-child(odd){grid-column:1/-1;min-height:35px!important;background:transparent!important}
 #memorial-content .memorial-layout{display:flex!important;flex-direction:column!important;gap:13px!important}
 #memorial-content .memorial-layout>.memorial-left,#memorial-content .memorial-layout>.memorial-right{display:contents!important}
 #memorial-content .memorial-layout>.memorial-left>.memorial-card,
 #memorial-content .memorial-layout>.memorial-right>.memorial-card{width:100%;margin:0!important;min-width:0;max-width:100%;padding:16px!important}
 #memorial-content .memorial-layout>.memorial-left>.memorial-card:first-child{order:1}
 #memorial-content .memorial-layout>.memorial-right>.memorial-card:first-child{order:2}
 #memorial-content .memorial-layout>.memorial-left>.memorial-card:nth-child(2){order:3}
 #memorial-content .memorial-layout>.memorial-right>.memorial-card:not(:first-child){order:5}
 #memorial-content .memorial-card h2{font-size:26px!important;margin-bottom:13px}
 #memorial-content .cin-stage{aspect-ratio:1.62!important}
 #memorial-content .share-visual{min-height:92px!important;padding:12px!important}
 #memorial-content .share-flame{width:52px;min-width:52px;height:52px;font-size:35px}
 #memorial-content .share-net-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px}
 #memorial-content .share-site{min-height:61px!important}
 #memorial-content .chat-controls{display:grid;grid-template-columns:1fr}
 #memorial-content .chat-controls .btn{width:100%}
 #memorial-content .chat-feed{min-height:90px!important}
 #create-view .page-heading{padding:33px 14px 11px}
 #create-view .page-heading h1{font-size:clamp(38px,10vw,52px)}
 #create-view .form-card{padding:17px!important;margin-top:8px}
 #create-view .form-card input,#create-view .form-card textarea{font-size:16px}
 #create-view .form-actions .btn.gold{width:100%;min-width:0}
}
@media(max-width:370px){
 .header .logo-words strong{font-size:24px!important}
 .header #account-trigger{font-size:10px!important;padding:6px!important}
 .header .lm-mobile-menu{font-size:11px!important;padding:6px!important}
 #home-view .hero h1{font-size:45px!important}
 #home-view .hero-actions .btn{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
 #home-view .hero-actions .btn,#memorial-content .lm-banner-action{transition:none!important}
}


/* Alternate memorial candles are photographic portrait assets, not landscapes. */
#memorial-content .cin-stage[data-photo-mode="portrait"]{
 background:#120f14!important;
}
#memorial-content .cin-stage[data-photo-mode="portrait"] .cin-stage-photo:not(.cin-stage-top-photo){
 object-fit:contain!important;
 object-position:center center!important;
 background:radial-gradient(ellipse at center,#2b1c1a 0%,#141014 65%,#0c0b10 100%);
}
#memorial-content .cin-stage[data-photo-mode="portrait"] .cin-stage-top-photo{opacity:0!important}
#memorial-content .cin-stage[data-photo-mode="portrait"] .cin-flicker{opacity:.48}


/* Sixteen candle options must stay inside the mobile memorial — no page-wide scroll. */
#memorial-content .lum-atelier,
#memorial-content .lum-choices{min-width:0!important;max-width:100%!important}
#memorial-content .lum-choices{width:100%;overflow:hidden}
#memorial-content .lum-options{min-width:0!important;max-width:100%!important}
@media(max-width:620px){
 #memorial-content .lum-options,
 #memorial-content .lum-choices[data-type="candle"] .lum-options{
   display:grid!important;
   width:100%!important;
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
   gap:7px!important;
   overflow-x:clip!important;
 }
 #memorial-content .lum-option{min-width:0!important;max-width:100%!important}
 #memorial-content .lum-option-label{overflow-wrap:anywhere}
}


/* Photo atelier v2: photographed flame driven by real candle state.
   The image is a documented CC0 filmed flame. No CSS vector imitation.
   The candle photo still shows the chosen material and its physical wax. */
#memorial-content .cin-stage .cin-photo-flame{
  position:absolute; z-index:5; left:50%;
  top:var(--lm-flame-y,51%);
  width:clamp(19px,5%,33px); aspect-ratio:105 / 193;
  height:auto; transform:translate(-50%,-50%);
  display:none; pointer-events:none;
  background:url("media/candles/filmed-flame-loop.webp") center center/contain no-repeat;
  filter:drop-shadow(0 0 5px rgba(255,181,92,.5));
  opacity:.79;
}
#memorial-content .cin-stage[data-photo-mode="portrait"][data-lit="true"] .cin-photo-flame{display:block}
#memorial-content .cin-stage[data-variant="beeswax"]{--lm-flame-y:46%}
#memorial-content .cin-stage[data-variant="red-glass"]{--lm-flame-y:52%}
#memorial-content .cin-stage[data-variant="clear-glass"]{--lm-flame-y:53%}
#memorial-content .cin-stage[data-variant="lantern"]{--lm-flame-y:57%}
#memorial-content .cin-stage[data-variant="heart"]{--lm-flame-y:62%}
#memorial-content .cin-stage[data-variant="stone-bowl"]{--lm-flame-y:72%}
#memorial-content .cin-stage[data-variant="lotus"]{--lm-flame-y:75%}
#memorial-content .cin-stage[data-variant="rose"]{--lm-flame-y:68%}
#memorial-content .cin-stage[data-variant="lavender"]{--lm-flame-y:49%}
#memorial-content .cin-stage[data-variant="porcelain"]{--lm-flame-y:62%}
#memorial-content .cin-stage[data-variant="mosaic"]{--lm-flame-y:56%}
#memorial-content .cin-stage[data-variant="frost"]{--lm-flame-y:55%}
#memorial-content .cin-stage[data-variant="olive"]{--lm-flame-y:54%}
#memorial-content .cin-stage[data-variant="night"]{--lm-flame-y:57%}
#memorial-content .cin-stage[data-variant="crystal"]{--lm-flame-y:76%}
#memorial-content .cin-stage[data-photo-mode="portrait"][data-lit="false"] .cin-stage-photo{
  filter:grayscale(.72) brightness(.38) saturate(.52)!important;
}
#memorial-content .lum-upgrade[hidden],
#memorial-content .lum-price[hidden]{display:none!important}
#memorial-content .lum-free-note{
 color:#d3c3b4; font:400 12px/1.65 var(--lm-ui);
 border-top:1px solid #b38b6240; padding-top:11px;
}
@media(prefers-reduced-motion:reduce){
 #memorial-content .cin-stage .cin-photo-flame{
  background-image:url("media/candles/filmed-flame-still.webp")!important;
 }
}


/* Give the high-resolution transparent red-glass master a true memorial scale,
   instead of leaving it postage-stamp sized in the wide photographic stage. */
#memorial-content .cin-stage[data-variant="red-glass"] .cin-stage-photo:not(.cin-stage-top-photo){
 transform:scale(1.37);
 transform-origin:50% 51%;
}

/* Lumerento — memorial creation form / graphite v1 (31 Oct 2026)
   Keep photography on memorial pages, never on form surfaces. */
#create-view .form-card {
  background-color:#1b1f25!important;
  background-image:linear-gradient(153deg,#252a31 0%,#20242b 42%,#181c22 100%)!important;
  background-position:initial!important;
  background-size:auto!important;
  border:1px solid #4b525d!important;
  box-shadow:0 18px 48px rgba(0,0,0,.30)!important;
}
#create-view .form-card label:not(.choice):not(.language),
#create-view .form-card legend {
  color:#ece9e5;
}
#create-view .form-card input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
#create-view .form-card textarea,
#create-view .form-card select {
  background-color:#14171d!important;
  background-image:none!important;
  border-color:#59616d!important;
  color:#f1f0ee!important;
}
#create-view .form-card input::placeholder,
#create-view .form-card textarea::placeholder {
  color:#a5a9b0!important;
  opacity:1;
}
#create-view .form-card input:focus-visible,
#create-view .form-card textarea:focus-visible,
#create-view .form-card select:focus-visible {
  border-color:#bca989!important;
  outline-color:#cbb58f!important;
}
#create-view .memorial-photo-picker {
  background:linear-gradient(160deg,#272b32,#20242a)!important;
  border-color:#4b535c!important;
  box-shadow:none!important;
}
#create-view .memorial-photo-picker input[type="file"] {
  background:#171b21!important;
  border-color:#646b73!important;
  color:#e2e3e6!important;
}
#create-view .memorial-photo-picker input[type="file"]::file-selector-button {
  background:#30363e!important;
  border-color:#727782!important;
  color:#f0e7d7!important;
}
#create-view .form-card fieldset .choice,
#create-view .form-card .archive-choice {
  background:#282c33!important;
  border-color:#4f5863!important;
  color:#efebe6!important;
}
#create-view .form-card fieldset .choice:has(input:checked),
#create-view .form-card .archive-choice:has(input:checked) {
  background:#30343b!important;
  border-color:#93816d!important;
}
#create-view .form-card .choice small,
#create-view .form-card .fine,
#create-view .form-card .lm-place-help,
#create-view .form-card .lm-place-source {
  color:#bdc0c5!important;
}
#create-view .form-card .lm-place-options {
  background:#22262d!important;
  border-color:#626c76!important;
}
#create-view .form-card .lm-place-option:hover,
#create-view .form-card .lm-place-option:focus-visible,
#create-view .form-card .lm-place-option[aria-selected=true] {
  background:#343a43!important;
}


/* LUMERENTO TYPOGRAPHY AUDIT • 2026-10-31
   Layout-only refinements. Stable memorial data, access keys and payments untouched.
   Readability first: deliberate line breaks, fluid editorial type, and balanced controls. */
:root{
  --lm-body-readable:15px;
  --lm-note-readable:12.5px;
  --lm-caption-readable:12px;
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:var(--lm-body-readable);line-height:1.65}
main h1,main h2,main h3{overflow-wrap:break-word;hyphens:none}
p{overflow-wrap:break-word}
.hero-text,.memorial-tribute,.home-bottom p,.share-description{text-wrap:pretty}
button,a,input,select,textarea{letter-spacing:normal}
button,.btn{line-height:1.35}
small,.fine{line-height:1.6}
.eyebrow{font-size:12px;line-height:1.55;letter-spacing:.105em}
.header .nav a{line-height:1.4}
.header .logo-words small{font-size:10.5px!important;line-height:1.3}
#home-view .hero h1{max-width:820px;text-wrap:balance}
#home-view .hero h1 .gold-line{text-wrap:balance}
#home-view .hero-text{line-height:1.58!important}
#home-view .hero-actions .btn{line-height:1.32!important;white-space:normal;overflow-wrap:normal;gap:6px}
#home-view .lights-teaser .lights-intro h2{line-height:1.12!important;text-wrap:balance}
#home-view .lights-teaser .lights-intro p{line-height:1.6}
#home-view .world-note,
#lights-view .world-note{font-size:var(--lm-note-readable)!important;line-height:1.55!important;letter-spacing:0}
.lights-stat span,.world-lights-empty,.world-lights-count{line-height:1.4}
#home-view .lm-preview-heading h2{line-height:1.15;text-wrap:balance}
#home-view .lm-preview-heading a{font-size:14px;line-height:1.4;overflow-wrap:normal;max-width:240px}
#home-view .lm-preview-card strong{overflow-wrap:break-word;hyphens:none;text-wrap:pretty}
#home-view .lm-preview-empty p{line-height:1.5}
#home-view .features .feature h2{line-height:1.24!important}
#home-view .features .feature p{font-size:14px!important;line-height:1.6!important}
#home-view .home-bottom h2{line-height:1.12;letter-spacing:-.022em;text-wrap:balance}

.page-heading h1{line-height:1.12;text-wrap:balance;overflow-wrap:normal}
.page-heading>p:not(.eyebrow){max-width:690px;line-height:1.6}
#create-view .page-heading{margin-top:0!important;margin-bottom:12px!important;padding:35px 20px 18px!important}
#create-view .page-heading h1{max-width:780px;margin:9px auto 16px!important;line-height:1.1!important}
#create-view .page-heading>p:not(.eyebrow){margin-inline:auto}
#create-view .form-card label,#create-view .form-card legend{line-height:1.45}
#create-view .form-card .fine,
#create-view .memorial-photo-picker .fine{font-size:13px!important;line-height:1.6!important}
#create-view .lm-place-help,
#create-view #create-form .lm-location-fields .lm-place-help{font-size:12.5px!important;line-height:1.55}
#create-view .lm-place-source,
#create-view #create-form .lm-location-fields .lm-place-source{font-size:12px!important;line-height:1.55}
#create-view .lm-place-options .lm-place-secondary{font-size:12px}
#create-view .form-card fieldset .choice b{line-height:1.45}
#create-view .form-card fieldset .choice small{font-size:13px;line-height:1.45}
#create-view .form-actions .btn.gold{font-size:15px!important;line-height:1.35!important;letter-spacing:0}
#create-view .memorial-photo-picker{border-radius:10px}
#create-view .memorial-photo-picker .fine{margin:4px 0 11px}
.memorial-photo-picker[data-lm-file-ready="true"] input[type="file"],
.owner-photo-panel[data-lm-file-ready="true"] input[type="file"]{
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
 margin:0!important;border:0!important;overflow:hidden!important;opacity:0!important;
 clip-path:inset(50%)!important;white-space:nowrap;
}
.lm-photo-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;min-width:0}
.lm-photo-select{border:1px solid #b79a76;background:#382d2b;color:#f4e2ce;border-radius:7px;
 font:600 13px/1.35 var(--lm-ui);min-height:43px;padding:10px 15px;cursor:pointer}
.lm-photo-select:hover{background:#49382c}
.lm-photo-controls .lm-photo-filename{display:block;min-width:0;flex:1 1 170px;
 font:400 12.5px/1.5 var(--lm-ui);color:#d7c6bb;overflow-wrap:anywhere}
.memorial-photo-picker:has(input[type=file]:focus-visible) .lm-photo-select,
.owner-photo-panel:has(input[type=file]:focus-visible) .lm-photo-select,
.lm-photo-select:focus-visible{outline:3px solid #efd1a4;outline-offset:3px}

#memorial-content .memorial-banner h1{
  overflow-wrap:break-word!important;word-break:normal;hyphens:none;
  text-wrap:balance;line-height:1.085!important;
}
#memorial-content .memorial-banner.lm-name-medium h1{font-size:clamp(43px,4.8vw,70px)!important}
#memorial-content .memorial-banner.lm-name-long h1{font-size:clamp(38px,4.25vw,61px)!important}
#memorial-content .memorial-banner .memorial-tribute{max-width:670px!important;line-height:1.5!important;text-wrap:pretty}
#memorial-content .memorial-banner .muted{line-height:1.5}
#memorial-content .memorial-banner p:not(.eyebrow):not(.memorial-tribute){line-height:1.5!important}
#memorial-content .memorial-card h2{line-height:1.18!important;text-wrap:balance;overflow-wrap:break-word}
#memorial-content .memorial-card p{overflow-wrap:break-word}
#memorial-content .share-visual{gap:13px!important}
#memorial-content .share-visual strong{
 font-size:clamp(21px,2vw,27px)!important;line-height:1.17!important;
 overflow-wrap:break-word!important;word-break:normal;hyphens:none;
 text-wrap:pretty;
}
#memorial-content:has(.memorial-banner.lm-name-long) .share-visual strong{
 font-size:clamp(19px,1.95vw,24px)!important
}
#memorial-content .share-visual span{font-size:12.5px;line-height:1.42}
#memorial-content .share-description{font-size:clamp(16px,1.5vw,19px);line-height:1.47}
#memorial-content .share-privacy{font-size:12.5px;line-height:1.62}
#memorial-content .share-site small{font-size:11px;line-height:1.28}
#memorial-content .share-kicker{font-size:11.5px!important;letter-spacing:.12em!important;line-height:1.55}
#memorial-content .share-networks>p,
#memorial-content .memorial-right .muted{font-size:12.5px;line-height:1.6}
#memorial-content .lm-atelier-toggle{font-size:14px!important;line-height:1.4!important;gap:12px}
#memorial-content .lum-option-label{font-size:12px!important;line-height:1.33!important;overflow-wrap:break-word}
#memorial-content .lum-free-note{font-size:12.5px!important;line-height:1.62}
#memorial-content .lm-candle-nickname label{font-size:12.5px!important;line-height:1.5}
#memorial-content .lm-banner-action{font-size:13px!important;line-height:1.35}
#memorial-content .chat-feed .muted,
#memorial-content .chat-controls+span.muted{font-size:12.5px;line-height:1.6}
#memorial-content .chat-controls .btn{font-size:14px}
#memorial-content .owner-photo-panel h3{font-family:var(--lm-display);line-height:1.2}

#lights-view .lights-heading h1{line-height:1.08;text-wrap:balance}
#lights-view .lights-subtitle{line-height:1.58;max-width:760px}
#lights-view .lights-canvas-cta .muted{font-size:13px;line-height:1.55}
#explore-view .public-grid .public-card strong{overflow-wrap:break-word;text-wrap:pretty}
footer{line-height:1.5}
footer span{font-size:12.5px}

@media(max-width:900px){
 #home-view .lm-preview-heading{align-items:flex-start;gap:10px}
 #home-view .lm-preview-heading a{max-width:none;white-space:normal}
}
@media(max-width:760px){
 .header .logo-words small{font-size:10px!important}
 .header .lm-mobile-menu,
 .header #account-trigger{font-size:12px!important;line-height:1.4}
 #home-view .hero h1{font-size:clamp(40px,10.9vw,49px)!important;line-height:1.04!important}
 #home-view .hero .gold-line{font-size:clamp(23px,6vw,29px)!important;line-height:1.24!important}
 #home-view .hero-text{font-size:16px!important;line-height:1.55!important}
 #home-view .hero-actions .btn{font-size:13.5px!important;line-height:1.32!important;min-height:53px!important}
 #home-view .lm-preview-heading{flex-direction:column;align-items:flex-start;margin-bottom:17px}
 #home-view .lm-preview-heading a{font-size:13.5px;margin-top:0}
 #home-view .lights-teaser .lights-intro h2{font-size:clamp(30px,7.8vw,36px)!important}
 #home-view .features .feature p{font-size:13.5px!important}
 #home-view .home-bottom h2{font-size:clamp(31px,8vw,39px)!important}
 .page-heading h1{font-size:clamp(34px,8.8vw,44px)!important}
 #create-view .page-heading{padding:28px 16px 10px!important;margin-bottom:10px!important}
 #create-view .page-heading h1{font-size:clamp(34px,8.8vw,40px)!important;line-height:1.13!important;max-width:340px}
 #create-view .page-heading>p:not(.eyebrow){font-size:15px;line-height:1.56}
 #create-view .form-card label{font-size:13.5px}
 #memorial-content .memorial-banner h1{font-size:clamp(38px,9.5vw,53px)!important;line-height:1.09!important}
 #memorial-content .memorial-banner.lm-name-medium h1{font-size:clamp(35px,8.7vw,46px)!important}
 #memorial-content .memorial-banner.lm-name-long h1{font-size:clamp(30px,8vw,39px)!important}
 #memorial-content .memorial-banner .memorial-tribute{font-size:clamp(17px,4.6vw,20px)!important;line-height:1.48!important}
 #memorial-content .memorial-banner .muted{font-size:13px!important}
 #memorial-content .lm-banner-shortcuts{gap:8px!important}
 #memorial-content .lm-banner-action{font-size:12.5px!important;padding:9px 8px!important}
 #memorial-content .share-visual{gap:10px!important}
 #memorial-content .share-visual strong{font-size:clamp(21px,5.6vw,24px)!important}
 #memorial-content:has(.memorial-banner.lm-name-long) .share-visual strong{font-size:clamp(18px,4.9vw,21px)!important}
 #memorial-content .share-visual span{font-size:12px}
 #memorial-content .memorial-card h2{font-size:clamp(24px,6.8vw,29px)!important}
 #memorial-content .share-net-grid{gap:6px}
 #memorial-content .share-site small{font-size:11px!important}
 #memorial-content .share-privacy{font-size:12px}
 #memorial-content .lum-option-label{font-size:11.5px!important}
 #lights-view .lights-heading h1{font-size:clamp(31px,8vw,44px)!important}
 #explore-view .page-heading h1{line-height:1.11!important}
}
@media(max-width:370px){
 .header{grid-template-columns:minmax(0,1fr) 38px auto!important;grid-template-rows:auto auto!important;
   column-gap:8px!important;row-gap:5px!important;padding:9px 12px 8px!important}
 .header .logo{grid-column:1!important;grid-row:1!important}
 .header .logo-words strong{font-size:26px!important}
 .header .global-search{grid-column:2!important;grid-row:1!important}
 .header .lm-mobile-menu{grid-column:3!important;grid-row:1!important;min-height:38px;font-size:12px!important}
 .header #account-trigger{grid-column:2/4!important;grid-row:2!important;justify-self:end!important;
   min-width:118px;max-width:150px!important;min-height:34px!important;padding:6px 12px!important;
   font-size:12px!important}
 .header .language{grid-column:1/-1!important;grid-row:3!important}
 .header .nav{grid-column:1/-1!important;grid-row:4!important}
 #home-view .hero{padding-top:32px!important}
 #home-view .hero h1{font-size:clamp(38px,11.9vw,44px)!important}
 #home-view .hero-actions{grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
 #home-view .hero-actions .btn{font-size:14px!important;min-height:46px!important}
 #memorial-content .memorial-banner h1{font-size:38px!important}
 #memorial-content .memorial-banner.lm-name-medium h1{font-size:33px!important}
 #memorial-content .memorial-banner.lm-name-long h1{font-size:29px!important}
 #memorial-content .memorial-banner{padding:24px 12px!important}
 #memorial-content .lm-banner-action{font-size:12px!important}
 #create-view .page-heading h1{font-size:34px!important}
}


/* Compact, fully readable search hints at narrow widths. */
@media(max-width:760px){
 #home-view .lm-search-home input[type="search"],
 .global-search input[type="search"]{
   min-width:0!important;font-size:14.5px!important;line-height:1.5!important;
   text-overflow:ellipsis;
 }
}


/* Tablet / compact-desktop navigation:
   keep readable, translated nav links on their own line instead of forcing
   6 long labels, wordmark, search, login, and language into one 1024px row. */
@media(min-width:761px) and (max-width:1350px){
 .header{
   display:grid!important;
   grid-template-columns:minmax(0,1fr) auto auto auto!important;
   grid-template-rows:auto auto!important;
   align-items:center!important;justify-content:stretch!important;
   column-gap:clamp(9px,1.5vw,20px)!important;row-gap:5px!important;
   padding:9px clamp(18px,2.2vw,28px)!important;
   min-height:94px!important;
 }
 .header .logo{
   grid-column:1!important;grid-row:1!important;min-width:0!important;
   justify-self:start!important;max-width:100%;
 }
 .header .global-search{grid-column:2!important;grid-row:1!important;justify-self:end!important}
 .header #account-trigger{grid-column:3!important;grid-row:1!important;justify-self:end!important}
 .header .language{
   grid-column:4!important;grid-row:1!important;justify-self:end!important;
   margin:0!important;max-width:220px!important;
 }
 .header .nav{
   grid-column:1/-1!important;grid-row:2!important;width:100%!important;
   min-width:0!important;display:flex!important;align-items:center!important;
   justify-content:center!important;flex-wrap:wrap!important;
   gap:4px clamp(11px,1.9vw,25px)!important;
   margin:0!important;padding:0 4px 2px!important;
 }
 .header .nav a{
   flex:0 0 auto!important;font:500 13px/1.4 var(--lm-ui)!important;
   padding:5px 3px!important;white-space:nowrap;
 }
 .header .lm-mobile-menu{display:none!important}
}


/* Long translated empty-state actions must wrap inside narrow mobile cards. */
#home-view .lm-preview-empty{min-width:0;max-width:100%;box-sizing:border-box}
#home-view .lm-preview-empty a{
 min-width:0;max-width:100%;white-space:normal!important;
 overflow-wrap:break-word;word-break:normal;
 line-height:1.38!important;text-align:center;justify-content:center;
}
@media(max-width:760px){
 #home-view .lm-preview-empty{display:block!important}
 #home-view .lm-preview-empty a{display:inline-flex!important;min-height:46px!important}
}
