@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#efece3;background:#0d211c;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #ffe0a6;outline-offset:3px}.site{min-height:100vh;background:radial-gradient(ellipse at top center,#224a3d 0%,#0d211c 62%)}.wrap{max-width:1430px;margin:0 auto;padding-left:clamp(16px,3vw,52px);padding-right:clamp(16px,3vw,52px)}.site-header{height:76px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff13;gap:18px}.brand{font-family:'Playfair Display',Georgia,serif;font-weight:700;font-size:25px;text-decoration:none;white-space:nowrap;letter-spacing:-1px}.brand span{font-family:Arial,sans-serif;font-size:26px;color:#e8b36c;margin-right:8px}.brand b{color:#f1dbb5}.nav{display:flex;align-items:center;gap:28px}.nav a,.nav button{font-weight:650;font-size:12px;letter-spacing:.02em;background:none;border:0;color:#cddbd2;text-decoration:none}.nav a:hover,.nav button:hover{color:white}.nav .nav-cta{color:#271a16;background:#f1d8aa;border-radius:99px;padding:12px 18px}.header-tag{font-size:11px;color:#92b0a5;letter-spacing:.12em}.intro{display:flex;align-items:end;justify-content:space-between;gap:22px;padding-top:40px;padding-bottom:25px}.eyebrow{font-weight:800;text-transform:uppercase;letter-spacing:.18em;color:#e9c48b;font-size:10px}.intro h1{font-family:'Playfair Display',Georgia,serif;margin:12px 0;font-size:clamp(34px,4.6vw,65px);line-height:1.09;max-width:900px;font-weight:600;letter-spacing:-.035em}.intro h1 i{color:#f1c981;font-weight:600}.intro p{max-width:580px;color:#b8c8c0;line-height:1.6;margin:0;font-size:14px}.intro-note{border:1px solid #ffffff24;border-radius:22px;padding:16px 19px;min-width:170px;white-space:nowrap;font-size:13px;background:#ffffff0a}.intro-note strong{font-size:22px;color:#ffe3a7}.studio{display:grid;grid-template-columns:338px minmax(0,1fr);gap:14px;min-height:615px}.controls{background:linear-gradient(160deg,#203d35,#142b27);border:1px solid #53705e7a;border-radius:22px;box-shadow:0 18px 48px #05110e90;padding:22px;position:relative;z-index:2;display:flex;flex-direction:column}.controls-title{font-family:'Playfair Display',Georgia,serif;font-size:25px;margin:0}.controls-sub{margin:6px 0 20px;color:#adc2b4;font-size:12px;line-height:1.6}.part{padding:16px 0 14px;border-top:1px solid #ffffff1c}.part-head{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-bottom:12px}.part-title{font-size:12px;font-weight:800;color:#fcf6e9}.part-hint{font-size:11px;color:#a6bdb1}.tree-cards,.scene-cards{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 1px 6px}.tree-cards::-webkit-scrollbar,.scene-cards::-webkit-scrollbar{display:none}.tree-choice{min-width:88px;width:88px;height:112px;background:#0a241d;border:1px solid #456458;border-radius:12px;color:#d2e3d9;padding:6px;transition:.18s}.tree-choice[aria-pressed=true],.scene-choice[aria-pressed=true],.orn-pick[aria-pressed=true],.topper-pick[aria-pressed=true]{border-color:#ffe39d;box-shadow:0 0 0 1px #ffe39d,0 0 20px #ffe39d28}.tree-choice img{height:77px;max-width:100%;object-fit:contain;display:block;margin:0 auto}.tree-choice small{font-size:10px;display:block;margin-top:3px}.scene-choice{width:88px;min-width:88px;padding:4px 4px 7px;color:#d2e3d9;background:#0b221d;border-radius:11px;border:1px solid #456458}.scene-choice img{width:100%;height:53px;object-fit:cover;border-radius:7px}.scene-choice small{font-size:10px;display:block;margin-top:4px}.topper-options,.decor-options{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.topper-pick,.orn-pick{height:47px;background:#0e2922;color:#fff7e8;border:1px solid #425e53;border-radius:11px;font-size:24px;display:grid;place-items:center;transition:.17s}.orn-pick:hover,.topper-pick:hover,.tree-choice:hover,.scene-choice:hover{transform:translateY(-2px)}.topper-pick{font-size:22px}.decor-options{grid-template-columns:repeat(7,1fr);gap:6px}.orn-pick{height:40px;font-size:23px;border-radius:9px}.quick-help{font-size:11px;color:#c0cfc5;margin:10px 0 3px;line-height:1.5}.sub-actions{display:flex;gap:8px;margin-top:10px}.small-ghost{color:#d3e1d5;background:transparent;border:1px solid #6d827657;border-radius:10px;padding:9px 10px;font-size:11px;flex:1}.small-ghost:hover{background:#ffffff12}.save-bar{margin-top:auto;padding-top:18px;border-top:1px solid #ffffff1c}.save-bar label{display:block;font-size:11px;font-weight:700;color:#d6e2d8;margin-bottom:8px}.name-entry{width:100%;border:1px solid #70857955;background:#0b251d;color:white;border-radius:12px;padding:13px 14px;outline:none;margin-bottom:10px}.name-entry::placeholder{color:#769589}.primary{border:0;border-radius:12px;padding:15px 19px;font-weight:800;background:#d94f54;color:white;box-shadow:0 4px 0 #9d3038;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.primary:hover{background:#e56463}.primary:active{transform:translateY(2px);box-shadow:0 2px 0 #9d3038}.primary.wide{width:100%}.gold-btn{background:#efd19c;color:#37221c;box-shadow:0 4px 0 #a47b4b}.gold-btn:hover{background:#ffe2ac}.tree-stage{position:relative;overflow:hidden;min-height:615px;border:1px solid #8c745354;border-radius:22px;background-image:linear-gradient(to bottom,#0c1e1959,#170d0e42),var(--scene-image);background-size:cover;background-position:center;box-shadow:0 20px 60px #040e0b88;isolation:isolate}.tree-stage:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 53% 45%,transparent 20%,#06150e6c 95%);pointer-events:none;z-index:1}.tree-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,transparent 65%,#151a14a8);pointer-events:none;z-index:1}.stage-top{position:absolute;top:18px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:5}.glass-pill{background:#0d241baf;border:1px solid #f2dcb34f;padding:11px 14px;border-radius:50px;font-size:11px;color:#ffebc8;backdrop-filter:blur(12px);font-weight:700;letter-spacing:.02em}.preview-3d{background:#0d241baf;border:1px solid #ffffff5c;border-radius:40px;padding:10px 14px;color:#fff0d6;font-size:11px;backdrop-filter:blur(8px)}.tree-floor{position:absolute;bottom:43px;left:17%;right:13%;height:80px;background:radial-gradient(ellipse,#f9e2a33f 0%,transparent 68%);z-index:2;pointer-events:none}.tree-assembly{position:absolute;z-index:3;width:min(76%,490px);height:560px;left:50%;top:51%;transform:translate(-50%,-50%);transform-style:preserve-3d;filter:drop-shadow(0 19px 20px #090f0e8c);transition:transform .3s ease}.tree-photo{position:absolute;height:100%;width:100%;object-fit:contain;object-position:center bottom;pointer-events:none;user-select:none;filter:contrast(1.04) saturate(1.12)}.tree-assembly.tilt{transform:translate(-50%,-50%) perspective(900px) rotateY(-11deg) rotateX(2deg)}.tree-topper{position:absolute;z-index:5;left:50%;top:5%;transform:translate(-50%,-15%);font-size:45px;filter:drop-shadow(0 0 10px #ffe7a3c9);pointer-events:none}.ornaments-layer{position:absolute;inset:0;z-index:4;pointer-events:none}.tree-gift{position:absolute;transform:translate(-50%,-50%) rotate(var(--r,0deg));filter:drop-shadow(0 5px 3px #07130cb2);font-size:clamp(20px,2.6vw,34px);user-select:none;line-height:1.1;pointer-events:none;transition:filter .2s,transform .2s;animation:orn-appear .3s cubic-bezier(.22,1.4,.6,1) both}.tree-gift::before{content:"";position:absolute;left:50%;bottom:86%;height:8px;border-left:1px solid #e7c580c4}.tree-gift.new,.tree-gift.friend{filter:drop-shadow(0 0 9px #ffe9a7) drop-shadow(0 4px 4px #0009)}.tree-gift.friend::after{content:"✦";position:absolute;top:-9px;right:-8px;color:#ffe596;font-size:11px}.tree-gift.glass-ball{height:30px;width:30px;border-radius:50%;background:radial-gradient(circle at 29% 22%,#fff9c8 1%,var(--ball-color,#dc3543) 28%,#3d050b 100%);border:1px solid #ffffff75;box-shadow:inset -5px -6px 9px #150b174a,0 5px 4px #0006}.tree-gift.glass-ball::after{content:"";position:absolute;top:-8px;left:11px;width:8px;height:6px;background:#f6d498;border-radius:3px 3px 0 0}.tree-gift.glass-ball::before{height:10px;bottom:101%}.tree-gift.pink-ball{--ball-color:#e5a2b7}.tree-gift.blue-ball{--ball-color:#7dcce0}.tree-gift.gold-ball{--ball-color:#f9d273}.tree-gift.red-ball{--ball-color:#ef4a4a}.tree-gift.friend{font-size:32px}.stage-caption{position:absolute;bottom:19px;left:18px;right:18px;z-index:5;display:flex;justify-content:space-between;gap:10px;align-items:center}.caption-note{border:1px solid #ffffff26;background:#172c24d4;color:#f5e4c5;padding:11px 13px;border-radius:11px;font-size:11px;max-width:66%;backdrop-filter:blur(10px)}.stage-counter{border:1px solid #ffffff36;background:#0d241bba;color:#fff5df;border-radius:30px;padding:11px 14px;font-size:11px;white-space:nowrap}.magic-toast{font-size:12px;color:#ead398}.disclaimer{font-size:11px;color:#b6c7bd;line-height:1.6;margin:13px 0 0}.bottom-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:21px;margin-bottom:36px;padding:20px 25px;border:1px solid #ffffff20;background:#ffffff08;border-radius:18px}.steps-inline{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.step{font-size:12px;color:#f6e8d1}.step small{display:block;color:#92ae9d;margin-top:3px}.step-number{font-weight:800;color:#f5d493;margin-right:7px}.step-arrow{color:#e8b66b}.bottom-strip .small-ghost{flex:none;white-space:nowrap}.seo{background:#f9f5ec;color:#253a32;padding:74px 0 86px}.seo .eyebrow{color:#ac6754}.seo h2{font-family:'Playfair Display',Georgia,serif;font-weight:600;font-size:clamp(29px,3.2vw,43px);letter-spacing:-.02em;margin:0 0 24px}.seo-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:60px}.seo p{line-height:1.85;font-size:14px;color:#597064}.seo h3{font-size:16px}.seo a{color:#9c4940;font-weight:750}.faq details{padding:16px 0;border-bottom:1px solid #d2dbd2}.faq summary{font-weight:750;cursor:pointer;font-size:14px}.faq p{margin-bottom:2px}.article-teasers{display:flex;flex-direction:column;gap:10px}.article-teasers a{display:block;padding:17px;border:1px solid #dfdbce;background:#fffdf7;border-radius:13px;text-decoration:none;font-size:13px}.footer{background:#0c2119;color:#9cb7a7;padding:27px 0;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:11px}.footer a{color:#bcd6c3}.preview-tip{background:#f8df9d;color:#2d2d26;padding:10px 20px;border-radius:10px;margin-bottom:15px;font-size:12px}.view-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(310px,.8fr);gap:18px;margin-top:25px;margin-bottom:40px}.view-layout .tree-stage{min-height:680px}.view-layout .tree-assembly{top:49%}.right-card{border-radius:22px;border:1px solid #65776859;background:#1a3a30;padding:30px;align-self:start;box-shadow:0 18px 45px #0005}.right-card h1,.right-card h2{font:600 36px/1.18 'Playfair Display',Georgia,serif;margin:10px 0}.right-card p{color:#b7cabb;font-size:13px;line-height:1.7}.note-title{font-size:10px;color:#e0c28b;font-weight:850;letter-spacing:.13em;text-transform:uppercase}.award-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:24px 0}.award-btn{background:#284b3e;border:1px solid #72877468;border-radius:13px;text-align:left;color:#fff5e9;padding:15px 10px;min-height:79px;transition:.15s}.award-btn:hover{background:#315746;transform:translateY(-2px)}.award-btn .emoji{font-size:25px;display:block;margin-bottom:7px}.award-btn span:last-child{font-size:12px;font-weight:800}.award-btn[disabled]{opacity:.6}.share-panel{padding:16px;border:1px solid #ffffff26;border-radius:15px;background:#0c251fc2;margin:17px 0}.link-copy{font-size:11px;color:#dfeddf;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:11px 0;padding:12px;background:#081a15;border:1px solid #335747;border-radius:8px}.share-row{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0}.share-mini{font-size:12px;color:#edeeea;border:1px solid #667c6b70;border-radius:10px;background:#335343;padding:12px 15px;font-weight:750}.share-mini:hover{background:#42644d}.share-mini.fill{background:#efd4a2;color:#30241f}.statline{display:flex;gap:13px;justify-content:space-between;border-top:1px solid #ffffff24;padding-top:17px;color:#dfc994;font-size:13px}.statline strong{font-size:24px;color:#fff4df;display:block}.award-reveal{background:linear-gradient(135deg,#d5a25e,#f6dca6);color:#34251c;border-radius:16px;padding:24px;margin:18px 0;text-align:center}.award-reveal strong{font:700 27px 'Playfair Display',Georgia,serif}.muted{font-size:12px;color:#9bb7a7}.go-back{color:#f5d99e;background:none;border:0;font-size:12px;padding:0}.result-banner{display:flex;align-items:center;gap:15px;border:1px solid #e6be77;padding:15px;border-radius:14px;background:#f1cd8550;margin:17px 0}.result-banner .emoji{font-size:35px}.chain-box{padding:20px;background:#102b22;border:1px solid #385f4c;border-radius:15px;margin-top:16px}.chain-box input{margin:10px 0 12px}.privacy-note{color:#94ae9e;font-size:11px;line-height:1.6}.blog-page{color:#1d332b;background:#f8f5ef;min-height:75vh;padding:55px 0}.blog-page h1{font:650 clamp(32px,4vw,55px) 'Playfair Display',Georgia,serif}.blog-page p,.blog-page li{line-height:1.8;max-width:740px;color:#567064;font-size:15px}.blog-page a{color:#a64d40}.blog-page article{max-width:820px}.blog-page .tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.blog-page .tile{background:#fff;padding:28px;border-radius:17px;border:1px solid #e2e3da;text-decoration:none}.blog-page .tile h2{font:600 25px 'Playfair Display',Georgia,serif}.blog-page h2{margin-top:30px}.loading{padding:80px 20px;text-align:center}.gift-surprise{animation:sparkle-in .5s both;font-size:15px;color:#ffe3a3;background:#46562a66;border:1px solid #b99454;border-radius:14px;padding:15px;margin-top:18px}#toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,25px);opacity:0;pointer-events:none;z-index:100;background:#f9dbaa;color:#2e2b1d;padding:13px 17px;border-radius:15px;box-shadow:0 8px 30px #0005;font-size:12px;font-weight:700;transition:.22s;max-width:min(90vw,440px);text-align:center}#toast.on{opacity:1;transform:translate(-50%,0)}@keyframes orn-appear{from{opacity:0;transform:translate(-50%,-80%) scale(.3)}to{opacity:1;transform:translate(-50%,-50%) rotate(var(--r,0deg)) scale(1)}}@keyframes sparkle-in{from{transform:scale(.8);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:1060px){.intro-note{display:none}.studio{grid-template-columns:310px minmax(0,1fr)}.controls{padding:17px}.tree-stage{min-height:600px}.tree-assembly{width:min(92%,450px)}}@media(max-width:800px){.header-tag{display:none}.nav{gap:15px}.nav a:nth-child(2){display:none}.studio{grid-template-columns:1fr}.tree-stage{order:0;min-height:550px}.controls{order:1}.controls .save-bar{margin-top:12px}.intro{padding-top:23px;padding-bottom:20px}.intro h1{font-size:40px}.intro p{font-size:12px}.tree-assembly{width:min(92%,390px);height:493px}.controls{display:block}.topper-options{grid-template-columns:repeat(5,minmax(0,1fr))}.bottom-strip{flex-wrap:wrap}.seo-grid{grid-template-columns:1fr;gap:23px}.view-layout{grid-template-columns:1fr}.view-layout .tree-stage{min-height:555px}.view-layout .tree-assembly{height:500px}.right-card{padding:24px}.view-layout .right-card{margin-bottom:20px}}@media(max-width:480px){.site-header{height:63px}.brand{font-size:21px}.brand span{font-size:21px}.nav{gap:9px}.nav a{font-size:10px}.nav .nav-cta{padding:10px 11px}.intro h1{font-size:35px}.intro p{font-size:12px}.studio{gap:10px}.tree-stage{border-radius:14px;min-height:480px}.tree-assembly{height:448px;width:350px;max-width:100%;top:52%}.stage-top{top:12px;left:10px;right:10px}.glass-pill,.preview-3d{font-size:9px;padding:9px}.stage-caption{bottom:11px;left:10px;right:10px}.caption-note{font-size:10px;padding:9px}.stage-counter{font-size:10px;padding:10px}.controls{padding:19px;border-radius:15px}.controls-title{font-size:23px}.intro{padding-top:20px}.bottom-strip{margin-top:14px}.steps-inline{gap:10px}.step{font-size:10px}.seo{padding:54px 0}.footer{flex-wrap:wrap}.view-layout .tree-stage{min-height:480px}.view-layout .tree-assembly{height:440px}.view-layout{gap:11px;margin-top:13px}.award-grid{gap:8px}.award-btn{min-height:73px;padding:10px}.right-card h1,.right-card h2{font-size:30px}.blog-page .tiles{grid-template-columns:1fr}.tree-gift{font-size:24px}.tree-gift.friend{font-size:25px}}
/* Optional true 3D-orbit canvas: points and ornaments are projected from 3D coordinates. */
.orbit-canvas{position:absolute;inset:0;width:100%;height:100%;display:none;z-index:8;touch-action:none;cursor:grab}.orbit-canvas:active{cursor:grabbing}.tree-assembly.is-3d{transform:translate(-50%,-50%)}.tree-assembly.is-3d .tree-photo,.tree-assembly.is-3d .tree-topper,.tree-assembly.is-3d .ornaments-layer{display:none}.tree-assembly.is-3d .orbit-canvas{display:block}
/* Compact customization tabs keep the name and share CTA above the fold. */
.intro{padding-top:20px;padding-bottom:18px}.intro h1{font-size:clamp(31px,3.35vw,48px);line-height:1.09;margin:8px 0}.intro p{line-height:1.45;font-size:12px}.intro-note{align-self:center}.controls{padding:19px}.controls-title{font-size:23px}.controls-sub{margin:6px 0 13px}.part{padding:13px 0 10px}.control-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border-radius:12px;background:#0e2820}.control-tabs button{border:1px solid transparent;background:transparent;color:#b6cabc;padding:10px 6px;border-radius:9px;font-size:11px;font-weight:750}.control-tabs button[aria-pressed=true]{background:#eddaa9;color:#312921;box-shadow:0 2px 5px #0005}.save-bar{padding-top:13px}.save-bar .disclaimer{margin:8px 0 0}.studio{min-height:614px}.tree-stage{min-height:614px}.stage-quick-create{position:absolute;z-index:6;bottom:78px;left:50%;transform:translateX(-50%);background:#de5555;color:#fff8ea;border:1px solid #f4a89a;border-radius:50px;padding:13px 24px;white-space:nowrap;font-size:13px;font-weight:850;box-shadow:0 5px 0 #9d3440,0 10px 25px #0008}.stage-quick-create:hover{background:#f06862}.quick-modal[hidden]{display:none}.quick-modal{position:fixed;inset:0;z-index:1000;background:#061610b9;display:grid;place-items:center;padding:24px;backdrop-filter:blur(6px)}.quick-dialog{width:min(100%,420px);position:relative;padding:35px;border:1px solid #bf9b62;background:linear-gradient(145deg,#214636,#0d291f);box-shadow:0 25px 110px #000a;border-radius:22px;color:#fff6e8}.quick-dialog h2{font:600 34px 'Playfair Display',Georgia,serif;margin:12px 0}.quick-dialog p{font-size:13px;color:#bfcdbf;line-height:1.6}.quick-dialog .name-entry{margin-top:10px}.modal-close{position:absolute;right:15px;top:15px;background:none;border:0;color:#f4e0c3;font-size:19px}@media(max-width:480px){.intro{padding-top:15px;padding-bottom:13px}.intro h1{font-size:33px}.tree-stage{min-height:495px}.stage-quick-create{bottom:72px}.controls{padding:16px}.tree-assembly{top:50%}}
@media(max-width:800px){.studio{grid-template-columns:minmax(0,1fr)}.controls,.tree-stage,.part,.tree-cards,.scene-cards{min-width:0}}

/* =============================================================
   V4 · Immersive fullscreen studio / right-side glass editor
   ============================================================= */
:root{--cream:#fff3d8;--gold:#f5d28c;--forest:#10362c;--rose:#cf444c}
.site{background:#0d201b}
.site-header{height:84px;max-width:none;padding-inline:clamp(23px,3.8vw,76px);background:linear-gradient(95deg,#0b281f 0%,#143c30 55%,#0a241d 100%);border:0;box-shadow:0 4px 23px #010b0947;position:relative;z-index:40}
.brand{font-size:31px;color:var(--cream);letter-spacing:-1px}
.brand span{font-size:28px;margin-right:12px}
.nav{gap:clamp(15px,2.35vw,40px)}
.nav a,.nav button{font-size:16px;min-height:48px;padding:12px 5px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:#f0eee5}
.nav a:hover,.nav button:hover{color:var(--gold)}
.nav .nav-cta{background:var(--gold);color:#2b261b;padding:12px 24px;min-height:51px;font-size:16px;border:1px solid #ffeec3;box-shadow:0 7px 22px #0005}
.nav .nav-cta:hover{background:#ffe4a8;color:#362212}
.hero-full{position:relative;background-image:linear-gradient(90deg,#0415116d 0%,#07201425 45%,#05151273 100%),var(--scene-image);background-size:cover;background-position:center center;isolation:isolate;min-height:calc(100svh - 84px);overflow:hidden}
.hero-full:before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(0deg,#081b17b8 0%,transparent 22%,transparent 85%,#06171428 100%);pointer-events:none}
.hero-shade{position:absolute;inset:0;background:radial-gradient(ellipse at 34% 49%,#ffe4a419 0%,transparent 54%);pointer-events:none;z-index:0}
.hero-content{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(390px,.78fr);gap:clamp(14px,3vw,50px);align-items:center;width:min(100%,1740px);min-height:calc(100svh - 84px);margin:0 auto;padding:22px clamp(20px,4.4vw,90px) 20px clamp(16px,3.5vw,68px)}
.hero-tree{position:relative;min-width:0;height:100%;min-height:690px}
.hero-full .tree-stage{background:none!important;border:0;box-shadow:none;border-radius:0;min-height:690px;height:100%;overflow:visible;isolation:auto}
.hero-full .tree-stage:before,.hero-full .tree-stage:after{display:none}
.hero-full .tree-floor{z-index:1;bottom:2%;height:90px;background:radial-gradient(ellipse,#ffe5af5e,transparent 68%)}
.hero-full .tree-assembly{width:min(95%,635px);height:min(76vh,710px);min-height:570px;left:49.5%;top:50%;filter:drop-shadow(0 20px 19px #07130d93)}
.hero-full .tree-assembly.is-3d{filter:drop-shadow(0 15px 19px #05140d9a)}
.hero-full .tree-photo{object-position:center bottom}
.hero-full .stage-top{top:21px;left:10px;right:9px}
.hero-full .glass-pill{font-size:12px;background:#071b14b8;border:1px solid #edc98b74;padding:12px 16px;backdrop-filter:blur(18px)}
.hero-full .preview-3d{font-size:12px;min-height:45px;padding:10px 16px;background:#103f33ed;border:1px solid #e8cd97c2;box-shadow:0 6px 20px #0006;white-space:nowrap;font-weight:750}
.hero-full .preview-3d:hover{background:#276a51}
.hero-full .stage-caption{bottom:17px;left:10px;right:10px}
.hero-full .stage-caption .caption-note{background:#071f19b4;color:#fbebd0;font-size:12px;border:1px solid #ffffff4f;max-width:77%}
.hero-full .stage-caption .stage-counter{background:#112d23d5;font-size:12px}
.hero-full .stage-quick-create{bottom:79px;z-index:7;font-size:14px;padding:13px 27px;background:linear-gradient(#ea6666,#c83e4b);border:1px solid #ffb3a8;box-shadow:0 5px 0 #952f3c,0 15px 35px #0007}
.hero-controls{width:100%;max-width:540px;justify-self:end;align-self:center;background:linear-gradient(145deg,#0e2c24ef,#092118f2 70%);border:1px solid #ead9af87;border-radius:27px;box-shadow:0 20px 70px #030e0bc9,inset 0 1px 0 #ffffff24;padding:clamp(20px,2.2vw,30px);backdrop-filter:blur(28px);min-width:0;min-height:0;max-height:calc(100svh - 123px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ad8b56 transparent}
.hero-controls .eyebrow{color:#eecb8c;font-size:10px;letter-spacing:.16em}
.hero-controls .controls-title{font:600 clamp(26px,2.5vw,37px)/1.15 'Playfair Display',Georgia,serif;color:#fff1d9;margin:8px 0 4px}
.hero-controls .controls-sub{font-size:13px;color:#bad2c0;margin:3px 0 18px;line-height:1.5}
.hero-controls .control-tabs{background:#051911a0;border:1px solid #ffffff23;border-radius:100px;gap:5px;padding:5px}
.hero-controls .control-tabs button{min-height:44px;border-radius:40px;font-size:13px;font-weight:800;color:#caddcc}
.hero-controls .control-tabs button[aria-pressed=true]{background:#f2dba7;color:#30221a;box-shadow:0 4px 9px #0004}
.hero-controls .part{padding:21px 0 14px;border:0}
.hero-controls .part-head{margin-bottom:15px}
.hero-controls .part-title{font-size:14px}
.hero-controls .part-hint{font-size:11px;color:#e2c990}
.hero-controls .decor-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.hero-controls .orn-pick{height:58px;border-radius:13px;background:linear-gradient(130deg,#183d31,#102b24);border:1px solid #65887875;font-size:28px;position:relative}
.hero-controls .orn-pick[aria-pressed=true]{background:#315f48;border-color:#ffe1a0}
.hero-controls .topper-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.hero-controls .topper-pick{height:54px}
.hero-controls .tree-cards,.hero-controls .scene-cards{display:flex;overflow-x:auto;gap:11px;padding:6px 4px 11px;scrollbar-width:thin;scrollbar-color:#d9c08a56 transparent}
.hero-controls .tree-choice{min-width:112px;width:112px;height:137px;background:#09251d;padding:8px}
.hero-controls .tree-choice img{height:99px}
.hero-controls .tree-choice small{font-size:11px}
.hero-controls .scene-choice{min-width:115px;width:115px;padding:6px 6px 8px}
.hero-controls .scene-choice img{height:66px}
.hero-controls .scene-choice small{font-size:11px}
.hero-controls .quick-help{font-size:12px;margin:12px 0 5px;color:#c6d5c7}
.hero-controls .sub-actions{margin-top:10px}
.hero-controls .small-ghost{font-size:12px;min-height:43px}
.mini-scene-action{margin-top:18px;text-align:center}
.mini-scene-action button{border:0;background:transparent;color:#eed59b;font-size:12px;padding:8px 12px;text-decoration:underline;text-underline-offset:4px;font-weight:750}
.hero-controls .save-bar{padding-top:15px;border-top:1px solid #ffffff31;margin-top:12px}
.hero-controls .save-bar label{color:#f5e2b5;font-weight:800;font-size:13px;margin-bottom:11px}
.hero-controls .name-entry{background:#071c14;border:1px solid #b8ba945b;min-height:48px;font-size:14px;border-radius:13px}
.hero-controls .primary{min-height:54px;font-size:15px;letter-spacing:.01em;background:linear-gradient(#ee6267,#cd3c47);border-radius:14px}
.hero-controls .disclaimer{text-align:center;font-size:11px;margin:12px 0 0}
/* Chapters below the fold: full-width, centered sections instead of compressed horizontal strips */
.section-inner{width:min(1100px,calc(100% - 48px));margin:0 auto;text-align:center}
.section-inner.narrow{max-width:820px}
.center{text-align:center}
.section-title{font:600 clamp(34px,4.4vw,59px)/1.15 'Playfair Display',Georgia,serif;letter-spacing:-.033em;margin:16px auto 17px;max-width:940px}
.section-lead{font-size:16px;line-height:1.85;max-width:760px;margin:0 auto 50px;color:#64786a}
.story-section{background:#fcf9f2;color:#173a2b;padding:95px 0 112px}
.story-section .eyebrow{color:#b47646}
.story-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:56px}
.story-steps article{border:1px solid #e7e2d7;border-radius:25px;padding:34px 26px 38px;background:white;box-shadow:0 13px 36px #39452b0c;position:relative;text-align:left}
.story-number{position:absolute;right:28px;top:28px;color:#b38b5f;font-size:15px;font-weight:900}
.story-icon{display:block;font-size:55px;line-height:1.1;margin:12px 0 27px}
.story-steps h3,.delight-grid h3{font:600 27px 'Playfair Display',Georgia,serif;margin:0 0 14px}
.story-steps p,.delight-grid p{font-size:15px;line-height:1.8;color:#65776b;margin:0}
.delight-section{background:linear-gradient(160deg,#123f31,#0b251e);padding:100px 0 115px;color:#fff2d9}
.delight-section .eyebrow{color:#f7d393}
.delight-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;margin-top:60px}
.delight-grid article{padding:24px 12px;text-align:center}
.delight-grid .delight-emoji{font-size:65px;margin-bottom:28px}
.delight-grid p{color:#b9d0be}
.seo{padding:105px 0 115px;background:#f9f2e8;color:#1c3a2c}
.seo .eyebrow{color:#af6947}
.seo .section-lead{color:#637766}
.seo .article-teasers{display:grid;grid-template-columns:1fr 1fr;gap:24px;max-width:1030px;margin:0 auto}
.seo .article-teasers a{border:1px solid #dfdccd;border-radius:20px;padding:31px 28px;font-size:18px;min-height:150px;text-align:left;color:#244e3b;text-decoration:none;box-shadow:0 8px 30px #48391f0b}
.seo .article-teasers a:hover{border-color:#c99862;background:#fff}
.seo .article-teasers a span{display:block;margin-top:18px;font-size:13px;color:#b56949}
.faq-section{background:#fffdf8;color:#213d2f;padding:98px 0 130px}
.faq-section .eyebrow{color:#b6794b}
.faq{margin-top:46px;text-align:left}
.faq summary{font-size:17px;padding:10px 0;min-height:38px}
.faq p{font-size:15px;line-height:1.8}
/* keep guest/owner room layouts compatible and styled */
.view-layout .tree-stage{background-image:linear-gradient(to bottom,#071c164e,#21140747),var(--scene-image)}
.view-layout .tree-assembly.is-3d{width:min(93%,540px);height:605px}
/* 3D canvas always stays isolated and takes pointer input only in orbit mode */
.orbit-canvas{touch-action:none;cursor:grab}
@media(max-width:1080px){
 .hero-content{grid-template-columns:minmax(0,1fr) minmax(345px,.85fr);gap:12px;padding-inline:19px}
 .hero-full .tree-assembly{width:min(100%,510px);height:600px;min-height:560px}
 .hero-tree,.hero-full .tree-stage{min-height:680px}
 .hero-controls{padding:22px;max-height:none}
 .nav{gap:14px}
 .nav a,.nav button{font-size:15px}
}
@media(max-width:800px){
 .site-header{height:72px;padding-inline:20px}
 .brand{font-size:26px}
 .nav{gap:14px}
 .nav a:not(.nav-cta),.nav button{display:none}
 .nav .nav-cta{font-size:14px;min-height:44px;padding:11px 17px}
 .hero-full{min-height:unset;background-position:center top}
 .hero-content{display:flex;flex-direction:column;gap:6px;padding:10px 15px 36px;min-height:0}
 .hero-tree{min-height:560px;width:100%}
 .hero-full .tree-stage{min-height:560px;height:560px}
 .hero-full .tree-assembly{height:525px;min-height:0;width:min(100%,490px);top:50%;left:50%}
 .hero-controls{width:min(100%,600px);max-width:600px;margin:0 auto;max-height:unset;overflow:visible;padding:23px}
 .hero-full .stage-top{top:10px;left:1px;right:1px}
 .hero-full .stage-caption{bottom:10px}
 .story-steps,.delight-grid{grid-template-columns:1fr;gap:20px}
 .story-steps article{padding:26px 32px}
 .delight-grid article{padding:20px 10px}
 .seo .article-teasers{grid-template-columns:1fr}
 .section-lead{margin-bottom:32px}
 .story-section,.delight-section,.faq-section,.seo{padding:72px 0 83px}
 .view-layout .tree-stage{background-position:center}
}
@media(max-width:480px){
 .site-header{height:67px}
 .brand{font-size:24px}.brand span{margin-right:6px}
 .nav .nav-cta{font-size:13px;padding:10px 12px}
 .hero-tree{min-height:485px}
 .hero-full .tree-stage{min-height:485px;height:485px;border-radius:0}
 .hero-full .tree-assembly{width:min(100%,390px);height:454px;top:49.5%}
 .hero-full .glass-pill{font-size:9px;padding:9px 11px}
 .hero-full .preview-3d{font-size:10px;padding:8px 10px;min-height:38px}
 .hero-full .stage-caption .caption-note{font-size:10px;max-width:73%;padding:8px}
 .hero-full .stage-caption .stage-counter{font-size:10px;padding:8px}
 .hero-full .stage-quick-create{bottom:68px;font-size:12px;padding:11px 18px}
 .hero-controls{padding:21px;border-radius:22px}
 .hero-controls .controls-title{font-size:29px}
 .hero-controls .orn-pick{height:53px;font-size:25px}
 .hero-controls .control-tabs button{font-size:12px}
 .section-inner{width:calc(100% - 34px)}
 .section-title{font-size:33px}
 .story-steps article{padding:26px}
 .seo .article-teasers a{font-size:16px;min-height:125px}
}

/* V4.1 refinement: make the train visible while 3D is rotating; shorten edit-to-share path */
.hero-full .tree-stage:has(.tree-assembly.is-3d) .stage-quick-create{display:none}
.hero-controls .decor-options{gap:7px}
.hero-controls .orn-pick{height:51px}
.hero-controls .part{padding:13px 0 10px}
.hero-controls .mini-scene-action{margin-top:4px}
.hero-controls .mini-scene-action button{padding:5px 8px;font-size:11px}
.hero-controls .controls-sub{margin-bottom:10px}
.hero-controls .sub-actions{margin-top:6px}
.hero-controls .small-ghost{min-height:37px}
.hero-controls .save-bar{padding-top:11px;margin-top:7px}
.hero-controls .name-entry{min-height:44px}
.hero-controls .primary{min-height:49px}
.hero-controls .disclaimer{margin-top:7px}
.nav a,.nav button{font-size:17px}
@media(max-width:800px){.nav a:not(.nav-cta),.nav button{display:none}}

/* Shared fullscreen treatment for created trees and friend invitation pages */
.room-main{width:100%;min-width:0}
.room-layout{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(375px,.84fr);align-items:center;gap:clamp(12px,3vw,54px);width:min(100%,1720px);min-height:calc(100svh - 84px);margin:auto;padding:22px clamp(17px,4.5vw,78px)}
.room-tree,.room-hero .tree-stage{position:relative;width:100%;height:100%;min-height:710px}
.room-hero .tree-stage{overflow:visible}
.room-hero .right-card{position:relative;z-index:2;align-self:center;width:100%;max-width:570px;margin:auto;background:linear-gradient(150deg,#0d3026f1,#10261feb);border:1px solid #e0bc806b;backdrop-filter:blur(20px);max-height:calc(100svh - 120px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#baa272 transparent;box-shadow:0 24px 70px #0009}
.room-hero .right-card h2{color:#fff0da}
.room-hero .right-card p{font-size:14px}
@media(max-width:800px){.room-layout{display:flex;flex-direction:column;gap:8px;min-height:0;padding:12px 15px 36px}.room-tree,.room-hero .tree-stage{height:540px;min-height:540px}.room-hero .right-card{max-height:none;overflow:visible;width:min(100%,600px)}}
@media(max-width:480px){.room-tree,.room-hero .tree-stage{height:485px;min-height:485px}}
/* V4.2: no hidden horizontal carousel for scene/style options or sections below */
.hero-controls .tree-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:9px}
.hero-controls .tree-choice{width:100%;min-width:0}
.hero-controls .scene-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:9px}
.hero-controls .scene-choice{width:100%;min-width:0}
.hero-controls .scene-choice img{width:100%;height:70px}
.story-steps{grid-template-columns:1fr;max-width:840px;margin:52px auto 0;gap:18px}
.story-steps article{display:grid;grid-template-columns:105px 1fr;grid-template-rows:auto auto;gap:4px 24px;padding:27px 38px;align-items:center}
.story-steps .story-icon{grid-row:1 / span 2;grid-column:1;margin:0;text-align:center;font-size:58px}
.story-steps h3{grid-column:2;grid-row:1;margin:0}
.story-steps p{grid-column:2;grid-row:2;max-width:610px}
@media(max-width:540px){.story-steps article{grid-template-columns:60px 1fr;padding:20px 17px;gap:6px 13px}.story-steps .story-icon{font-size:40px}.story-number{font-size:11px;right:16px;top:14px}.story-steps h3{font-size:22px}.story-steps p{font-size:13px}.hero-controls .scene-choice img{height:54px}}

.hero-controls .control-heading{position:relative;padding-right:116px}
.hero-controls .fast-link{position:absolute;right:0;top:0;min-height:40px;background:#ebd29f;color:#322a1c;border:1px solid #fff2ce;border-radius:999px;padding:9px 14px;font-size:12px;font-weight:850;box-shadow:0 6px 13px #0005}
.hero-controls .fast-link:hover{background:#ffe5ad}
@media(max-width:480px){.hero-controls .control-heading{padding-right:91px}.hero-controls .fast-link{font-size:11px;padding:8px 10px;min-height:36px}}

/* =============================================================
   V5 · 2D-first improvements; preserving scroll & always-on CTA
   ============================================================= */
.site:has(>.site-header + main .hero-full){position:relative}
.site:has(.hero-full)>.site-header{
 position:absolute!important;z-index:70!important;inset:0 0 auto 0;width:100%;max-width:none;
 background:linear-gradient(180deg,rgba(17,12,12,.72),rgba(20,13,13,.46))!important;
 border-bottom:1px solid rgba(255,232,194,.16);
 box-shadow:0 5px 28px rgba(0,0,0,.08);
 backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.site:has(.hero-full) .hero-full{padding-top:84px;min-height:100svh}
.hero-full .hero-content{min-height:calc(100svh - 84px)}
/* Remove the artificial tree canvas and keep two-dimensional trees native. */
.orbit-canvas,.preview-3d{display:none!important}
.hero-full .tree-assembly{filter:drop-shadow(0 22px 20px rgba(14,8,5,.56))}
/* Keep header+tabs+CTA stationary while editor scrolls independently. */
.hero-controls{
 display:flex!important;flex-direction:column!important;overflow:hidden!important;
 max-height:calc(100svh - 110px)!important;
 height:min(750px,calc(100svh - 110px));
 min-height:590px;justify-content:initial!important;
 padding-bottom:0!important;
}
.hero-controls .control-heading{flex:0 0 auto}
.hero-controls .control-tabs{flex:0 0 auto;margin-bottom:3px}
.hero-controls .editor-scroll{
 flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;
 overscroll-behavior:contain;scrollbar-gutter:stable;
 scrollbar-width:thin;scrollbar-color:#c7a46d77 transparent;
 padding-right:4px;padding-bottom:16px;
}
.hero-controls .editor-scroll::-webkit-scrollbar{width:6px}
.hero-controls .editor-scroll::-webkit-scrollbar-thumb{background:#c7a46d88;border-radius:20px}
.hero-controls .save-bar{
 flex:0 0 auto;position:relative;z-index:11;
 background:linear-gradient(180deg,#0e281fee,#071a14 42%);
 margin:0 -22px 0 -22px!important;
 padding:15px 22px 17px!important;
 border-top:1px solid #efd19c66;
 box-shadow:0 -12px 25px rgba(0,0,0,.21)
}
.hero-controls .save-bar label{margin-bottom:6px;font-size:12px}
.hero-controls .save-bar .name-entry{margin-bottom:10px;min-height:41px!important;padding:10px 13px}
.hero-controls .save-bar .primary{min-height:50px!important;width:100%}
.hero-controls .save-bar .disclaimer{margin:6px 0 0;font-size:10px}
.hero-controls .part:first-child{padding-top:11px}
.hero-controls .part{padding-top:12px;padding-bottom:11px}
.hero-controls .tree-cards,.hero-controls .scene-cards{overflow-x:auto}
.hero-controls .scene-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible}
.hero-controls .scene-choice{width:100%;min-width:0}
.hero-controls .scene-choice img{width:100%;height:62px;object-fit:cover}
.hero-controls .tree-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;overflow:visible}
.hero-controls .tree-choice{min-width:0;width:100%;height:130px}
.hero-controls .tree-choice img{height:92px}
.hero-controls .control-tabs button{font-size:14px}
@media(max-width:800px){
 .site:has(.hero-full)>.site-header{height:72px}
 .site:has(.hero-full) .hero-full{padding-top:72px}
 .hero-full .hero-content{min-height:0}
 .hero-controls{height:620px;min-height:0;max-height:620px!important;overflow:hidden!important}
 .hero-controls .save-bar{margin-inline:-21px!important;padding-inline:21px!important}
}
@media(max-width:480px){
 .site:has(.hero-full)>.site-header{height:67px}
 .site:has(.hero-full) .hero-full{padding-top:67px}
 .hero-controls{height:min(660px,calc(100svh - 80px));max-height:none!important;min-height:535px}
 .hero-controls .scene-choice img{height:55px}
 .hero-controls .tree-choice{height:116px}
 .hero-controls .tree-choice img{height:76px}
 .hero-controls .save-bar .primary{font-size:13px}
 .hero-controls .controls-sub{font-size:12px}
}

/* V6 / 2D usability polish: more canvas for selection, no premature publishing CTA */
.hero-controls .control-heading{
 padding:0!important;min-height:0;flex:0 0 auto;
 margin:0 0 10px!important;
}
.hero-controls .studio-prompt{
 margin:0;color:#f6e4c7;font-weight:650;font-size:14px;
 line-height:1.42;letter-spacing:.005em;
}
.hero-controls .fast-link{display:none!important}
.hero-controls .control-tabs{
 min-height:0!important;margin:0 0 4px!important;
 padding:3px!important;gap:3px!important;border-radius:14px;
}
.hero-controls .control-tabs button{
 min-height:35px!important;height:35px!important;
 font-size:13px!important;padding:4px 7px!important;
 border-radius:11px!important;
}
.hero-controls .editor-scroll{padding-top:0;padding-bottom:10px}
.hero-controls .part:first-child{padding-top:6px!important}
/* Ensure each selected topper is the only topper: Snowy/Golden sprite files have no baked-in star. */
.tree-assembly.tree-style-frost .tree-topper,.tree-assembly.tree-style-night .tree-topper{
 top:2.1%;font-size:45px;
}
.tree-assembly.tree-style-real .tree-topper{top:5.0%}
/* The refreshed snowy and golden assets fill the previous blank upper region. */
.tree-assembly.tree-style-night .tree-photo{filter:contrast(1.04) saturate(1.1)}
.tree-assembly.tree-style-frost .tree-photo{filter:contrast(1.06) saturate(1.05)}
/* Conversion-forward, simple end-of-page create section, styled consistently with the reference. */
.quick-start-section{
 background:radial-gradient(ellipse at 50% 10%,#1c4f40 0%,#11382e 45%,#07261e 100%);
 color:#fff9ed;text-align:center;padding:64px 24px 82px;
 border-top:1px solid #e6c99525;
}
.quick-start-inner{max-width:900px;margin:0 auto;display:flex;align-items:center;flex-direction:column}
.quick-start-inner img{display:block;width:170px;height:195px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 12px 20px #031b15a9)}
.quick-start-inner h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(36px,5vw,62px);line-height:1.12;letter-spacing:-.035em;margin:10px 0 13px}
.quick-start-inner p{font-size:clamp(15px,1.8vw,20px);color:#c2dbce;margin:0 0 28px;line-height:1.5}
.quick-start-button{display:inline-flex;justify-content:center;align-items:center;gap:21px;width:min(100%,420px);min-height:62px;
 background:linear-gradient(180deg,#ed6367,#cf434d);border:1px solid #ff9f97;color:#fff;font-size:18px;font-weight:800;
 border-radius:18px;box-shadow:0 5px 0 #9c313b,0 12px 28px #01190f63;transition:transform .2s,filter .2s}
.quick-start-button:hover{filter:brightness(1.08);transform:translateY(-2px)}
.quick-start-button:active{transform:translateY(1px)}
.quick-start-button span{font-size:25px}
@media(max-width:480px){
 .hero-controls .studio-prompt{font-size:13px}
 .hero-controls .control-heading{margin-bottom:8px!important}
 .hero-controls .control-tabs button{min-height:35px!important;height:35px!important;font-size:12px!important}
 .quick-start-section{padding:48px 18px 62px}
 .quick-start-inner img{width:128px;height:153px}
 .quick-start-inner h2{font-size:39px;margin:6px 0 10px}
 .quick-start-button{min-height:54px;font-size:16px}
}

/* Align user-selected topper above the new natural Golden Spruce crown. */
.tree-assembly.tree-style-night .tree-topper{top:-2.5%}

/* V7 — editor finishing touches and frictionless, observable guest journey */
.hero-controls .orn-pick {display:flex;align-items:center;justify-content:center;min-width:0;text-align:center}
.orn-ball-icon{--ball-color:#ec4758;position:relative;display:block;flex:0 0 32px;width:32px;height:32px;margin-inline:auto;border-radius:50%;border:1px solid #ffffff9c;background:radial-gradient(circle at 27% 20%,#fffdf2 0%,#ffcbbf 8%,var(--ball-color) 40%,#4b1c29 100%);box-shadow:inset -4px -5px 9px #100a1759,0 5px 7px #0008;transform:none!important;inset:auto!important}
.orn-ball-icon:before{content:"";position:absolute;top:-7px;left:calc(50% - 4px);height:6px;width:8px;background:linear-gradient(90deg,#99743d,#ffeac1,#b08545);border-radius:3px 3px 0 0}
.orn-ball-icon.gold-ball{--ball-color:#e6bc65;background:radial-gradient(circle at 27% 20%,#fffbe8 0%,#fcebc0 10%,#e4b452 48%,#765320 100%)}
.orn-ball-icon.blue-ball{--ball-color:#8ac5e2;background:radial-gradient(circle at 27% 20%,#fffffa 0%,#d8ecff 10%,#78b7df 48%,#285373 100%)}
/* Topper is selected by the user, not baked into Snowy Fir / Golden Spruce image assets. */
.hero-full .tree-topper{font-size:clamp(67px,6.15vw,92px)!important;filter:drop-shadow(0 0 15px #ffdf8ccc) drop-shadow(0 6px 5px #080f10a0);line-height:1;z-index:7}
.hero-full .tree-style-real .tree-topper{top:1.5%}
.hero-full .tree-style-frost .tree-topper{top:-2.7%}
.hero-full .tree-style-night .tree-topper{top:-7%}
.guest-preview-shortcut{margin:19px 0 0;padding:10px 18px;border:1px solid #f4daa377;background:#143d31;color:#f8e6c8;font-size:14px;font-weight:750;border-radius:99px;transition:background .2s}
.guest-preview-shortcut:hover{background:#265c49}
.owner-preview-cta{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0 0;padding:15px 12px;border:1px solid #edc895;background:#ead4a4;color:#33241a;font-weight:850;font-size:14px;border-radius:12px}
.owner-preview-cta:hover{background:#ffe3ac}.owner-preview-cta span{font-size:20px}
/* Guest link destination: tree is the hero, the single-click gift selector is the only job. */
.guest-hero .room-layout{grid-template-columns:minmax(0,1.18fr) minmax(410px,.85fr);gap:clamp(13px,2.8vw,50px)}
.room-hero .right-card.guest-card,.room-hero .right-card.voted-card{max-width:600px;padding:clamp(22px,2.5vw,35px);background:linear-gradient(148deg,#15392ff2,#0a231bea);border-color:#e6c58b87;box-shadow:0 25px 65px #041910a6;overflow:visible;max-height:none}
.guest-eyebrow{font-size:11px;font-weight:900;letter-spacing:.14em;color:#ffe0a7;margin-bottom:12px}
.guest-card h2,.voted-card h2{font-family:'Playfair Display',Georgia,serif!important;font-size:clamp(29px,3vw,42px)!important;line-height:1.16!important;margin:0 0 15px!important;letter-spacing:-.035em}
.guest-card h2 em{font-style:normal;color:#f7d8a4}
.room-hero .guest-card p.guest-instruction{font-size:14px;line-height:1.55;margin:0;color:#cbd7ca}
.guest-instruction strong{color:#f9dfae}
.guest-gift-heading{display:flex;justify-content:space-between;align-items:center;margin:23px 0 11px;padding-bottom:10px;border-bottom:1px solid #f9e3bd31;font-size:14px;font-weight:800;color:#fef0cf}
.guest-gift-heading span:last-child{font-size:10px;letter-spacing:.08em;color:#e6c990}
.guest-card .award-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 19px}
.award-btn.guest-gift-card{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:5px;background:linear-gradient(160deg,#2e5241cc,#17362d);padding:15px 7px 12px;min-height:137px;border:1px solid #a5c2a066;border-radius:17px;color:#fff5e8;box-shadow:0 9px 19px #071b1370;transition:transform .18s ease,background .18s,border-color .18s}
.award-btn.guest-gift-card:hover{transform:translateY(-4px);background:#345e47;border-color:#f1d79b}
.award-btn.guest-gift-card:active{transform:scale(.96)}
.award-btn.guest-gift-card .award-visual{display:flex;justify-content:center;align-items:center;gap:5px;height:43px;width:100%;position:relative}
.award-btn.guest-gift-card .award-visual .award-gift-box{font-size:27px;filter:drop-shadow(0 5px 6px #0007)}
.award-btn.guest-gift-card .award-visual .emoji{font-size:20px;margin:0;filter:drop-shadow(0 2px 2px #0006)}
.award-btn.guest-gift-card .award-label{font-size:13px;line-height:1.25;font-weight:800}
.award-btn.guest-gift-card .award-caption{font-size:10px;line-height:1.3;color:#d0d8c8;font-weight:400;display:block;max-width:140px}
.guest-gift-card.sending{background:#6b5a37!important;border-color:#f8d898!important;transform:scale(.95)!important;pointer-events:none}
.guest-bottom-note{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #e9c48b2e;padding-top:13px;color:#d7daca;font-size:12px}
.guest-bottom-note .go-back{color:#ffe1a2;white-space:nowrap;font-size:12px;font-weight:800}
/* Gift delivered panel and the creation CTA form the next natural step. */
.voted-card{text-align:center}
.success-seal{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;margin:0 auto 13px;color:#143722;font-size:35px;font-weight:900;background:linear-gradient(145deg,#f9e5ac,#daa252);box-shadow:0 0 0 6px #ffe2a920,0 0 42px #ffdf7d36}
.voted-card h2{max-width:430px;margin-inline:auto!important}
.delivered-ornament{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #f4d2969b;background:linear-gradient(115deg,#534a317d,#87694356);border-radius:17px;padding:13px 15px;margin:19px 0}
.delivered-ornament .ornament-big{font-size:43px;filter:drop-shadow(0 5px 7px #07150b7e)}
.delivered-ornament strong{color:#fff5e1;font-size:18px}
.delivered-ornament p{color:#ead8c0;font-size:12px!important;line-height:1.45!important;margin:5px 0 0!important}
.delivered-check{margin-left:auto;border-radius:50%;background:#c7edb3;color:#274831;font-weight:900;font-size:14px;width:25px;height:25px;display:grid;place-items:center}
.room-hero .voted-card .voted-next-copy{font-size:13px;line-height:1.5;color:#d2dacc;margin:10px 0}.voted-next-copy strong{color:#ffe2a6}
.voted-card .chain-box{text-align:left;background:#0b2d24c7;border-color:#a6be9873;padding:18px;border-radius:17px;margin:15px 0}
.voted-card .chain-box label{display:block;font-size:12px;color:#f9e4bc;font-weight:800}
.voted-card .chain-box .name-entry{font-size:15px;margin:10px 0 12px}
.voted-card .next-tree-cta{min-height:56px;font-size:16px;background:linear-gradient(180deg,#e96464,#c9454d);border-radius:11px}
.voted-card .customize-later{display:block;width:100%;background:none;color:#f5d6a0;font-size:12px;font-weight:750;padding:16px 5px 5px;border:0}
.guest-success-links{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:14px}
.guest-success-links button{font-size:12px;color:#e3cfa3;text-decoration:underline;text-underline-offset:4px}
/* Animate a physical gift arriving on the tree, with a celebratory aura; motion optional. */
.gift-celebration{pointer-events:none;position:absolute;inset:0;z-index:12;display:grid;place-items:center;overflow:hidden}
.celebration-gift{font-size:82px;position:absolute;left:45%;top:44%;filter:drop-shadow(0 4px 11px #ffd37cba);animation:gift-land .95s cubic-bezier(.22,.9,.35,1) both}
.sparkle-particle{position:absolute;left:49%;top:48%;color:#fff3b6;font-size:clamp(18px,2.4vw,35px);text-shadow:0 0 13px #ffe6a5;animation:sparkle-burst 1s ease-out var(--delay) both}
.flight-note{position:absolute;bottom:18%;left:50%;transform:translateX(-50%);font-size:12px;font-weight:900;letter-spacing:.09em;background:#ffe1a6;color:#2c3023;padding:12px 17px;border-radius:99px;white-space:nowrap;animation:note-fade 2.1s ease both}
.voted-hero:not(.revisited) .tree-gift.friend:last-child{animation:new-friend-gift 1.1s ease-out .18s both;z-index:9;font-size:clamp(34px,4vw,48px);filter:drop-shadow(0 0 18px #fff09d) drop-shadow(0 0 40px #ffd76b)}
@keyframes gift-land{0%{opacity:0;transform:translate(115%,-90%) scale(.15) rotate(-40deg)}43%{opacity:1;transform:translate(-15%,0%) scale(1.45) rotate(12deg)}85%{opacity:1;transform:translate(0,25%) scale(1.05)}100%{opacity:0;transform:translate(0,32%) scale(.7)}}
@keyframes sparkle-burst{0%{opacity:0;transform:rotate(var(--angle)) translateY(0) scale(.1)}30%{opacity:1}100%{opacity:0;transform:rotate(var(--angle)) translateY(calc(-1 * var(--distance))) scale(1.05)}}
@keyframes note-fade{0%,10%{opacity:0;translate:0 14px}27%,67%{opacity:1;translate:0 0}100%{opacity:0;translate:0 -15px}}
@keyframes new-friend-gift{0%{opacity:0;transform:translate(-50%,-120%) scale(.2) rotate(-24deg)}55%{opacity:1;transform:translate(-50%,-50%) scale(1.8) rotate(8deg)}100%{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(var(--r,0deg))}}
@media(max-width:1100px){.guest-hero .room-layout{grid-template-columns:minmax(0,1fr) minmax(345px,.92fr)}.room-hero .guest-card,.room-hero .voted-card{padding:20px}.guest-card .award-grid{gap:7px}.award-btn.guest-gift-card{min-height:118px;padding:12px 5px}}
@media(max-width:800px){.guest-hero .room-layout{display:flex;flex-direction:column}.guest-card,.voted-card{max-width:620px!important;margin:0 auto 20px!important}.guest-card .award-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-full .tree-topper{font-size:70px!important}}
@media(max-width:480px){.orn-ball-icon{width:25px;height:25px;flex-basis:25px}.hero-full .tree-topper{font-size:58px!important}.guest-hero .room-tree,.guest-hero .tree-stage,.voted-hero .room-tree,.voted-hero .tree-stage{height:440px;min-height:440px}.guest-card .award-grid{gap:8px}.award-btn.guest-gift-card{min-height:120px;padding:10px 6px}.award-btn.guest-gift-card .award-visual{height:34px}.award-btn.guest-gift-card .award-visual .award-gift-box{font-size:21px}.award-btn.guest-gift-card .award-visual .emoji{font-size:17px}.award-btn.guest-gift-card .award-label{font-size:11px}.award-btn.guest-gift-card .award-caption{font-size:9px}.guest-card h2,.voted-card h2{font-size:28px!important}.guest-bottom-note{font-size:10px}.celebration-gift{font-size:56px}.voted-card .next-tree-cta{font-size:14px}}
@media(prefers-reduced-motion:reduce){.celebration-gift,.sparkle-particle,.flight-note,.voted-hero .tree-gift.friend:last-child{animation:none!important}.gift-celebration{display:none!important}}

/* V8: affectionate wishes, date-locked gift reveal, optional post-create edits */
.tree-gift[data-gift-id]{border:0;background:transparent;padding:0;line-height:1;cursor:pointer;position:absolute;color:inherit;font:inherit;display:grid;place-items:center;filter:drop-shadow(0 3px 7px #0008)}
.tree-gift[data-gift-id]:focus-visible{outline:2px solid #ffdf9d;outline-offset:6px;border-radius:20px}
.tree-gift[data-gift-id]:hover{transform:translate(-50%,-50%) scale(1.23) rotate(var(--r,0deg));filter:drop-shadow(0 0 11px #ffcb87)}
.guest-card .wish-input-wrap{background:#071d18a8;border:1px solid #f1d59c38;border-radius:16px;padding:15px 15px 12px;margin-bottom:14px}
.wish-input-wrap label{display:block;font-weight:800;font-size:13px;color:#f9e6c4}
.wish-input-wrap label span{font-size:11px;color:#b6c6bd;font-weight:500;margin-left:5px}
.wish-input-wrap textarea{display:block;width:100%;min-height:87px;resize:vertical;background:#f6f0e4;color:#1a2a22;font-size:14px;line-height:1.5;border:0;border-radius:12px;padding:12px 14px;margin-top:10px;outline-offset:2px}
.wish-input-wrap textarea::placeholder{color:#8d928e}.wish-count{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px;color:#b8cdbf}.wish-count span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums}
.wish-options{margin-top:12px}.wish-options summary{font-size:12px;font-weight:750;color:#f4ce92;cursor:pointer;list-style:none}.wish-options summary:before{content:'▸';margin-right:7px}.wish-options[open] summary:before{content:'▾'}
.wish-options-inside{display:grid;gap:9px;padding:15px 0 3px}.wish-options-inside .name-entry{margin:0!important;padding:10px 12px}.wish-options-inside label{font-size:11px;font-weight:700}.wish-options-inside .wish-check{display:flex;align-items:center;gap:9px;color:#d9e7d6;font-weight:500;line-height:1.4}.wish-check input{width:17px;height:17px;accent-color:#e26165;flex-shrink:0}
.wish-cta-helper{color:#f5dcb2!important;font-size:11px!important;margin:11px 0 0!important;line-height:1.5}.sealed-note-success{border:1px dashed #f2dba471;background:#f7dd9130;border-radius:12px;padding:12px 15px;font-size:12px!important;color:#ffeecb!important;margin:15px 0!important;line-height:1.6!important}
.wish-treasury{border:1px solid #e4c27b62;border-radius:16px;background:radial-gradient(ellipse at top left,#5f3b293d,#09291d5c);padding:16px 16px 14px;margin:20px 0 12px}.wish-treasury .note-title{color:#f6d8a1;font-size:10px;font-weight:850;letter-spacing:.11em}.wish-treasury h3{font:600 22px Georgia,serif;margin:8px 0;color:#fff2dd}.wish-treasury p{font-size:12px!important;line-height:1.6!important;color:#d4ddd3;margin-bottom:12px}.gift-inbox-button{width:100%;border:1px solid #e8bc81;background:linear-gradient(160deg,#f2dba8,#e6bc85);border-radius:11px;padding:13px;color:#34251c;font-size:13px;font-weight:850;cursor:pointer;transition:.18s}.gift-inbox-button:hover{transform:translateY(-2px);filter:brightness(1.07)}.customize-owner-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#ffffff11;color:#fff0d8;border:1px solid #ffffff41;border-radius:10px;font-weight:800;font-size:13px;margin-top:10px;padding:11px 12px}.customize-owner-btn span{font-size:10px;color:#b8cbc0;font-weight:400}.delete-tree-btn{display:block;background:transparent;border:0;color:#d7a9a5;font-size:10px;text-decoration:underline;cursor:pointer;margin:13px auto 0;padding:3px 8px}
.gift-inbox-overlay{position:fixed;inset:0;z-index:2000;background:rgba(4,17,16,.83);backdrop-filter:blur(11px);display:grid;place-items:center;padding:20px;overflow-y:auto}.inbox-dialog{border-radius:26px;border:1px solid #e7c080a0;box-shadow:0 35px 115px #020905eb;width:min(100%,710px);max-height:calc(100dvh - 40px);overflow-y:auto;padding:clamp(24px,5vw,45px);position:relative;background:radial-gradient(ellipse at 40% 0%,#335f4c 0%,#172d28 40%,#11261f 100%);color:#fff6e8;text-align:center}.inbox-close{position:absolute;right:13px;top:13px;background:#ffffff19;border:1px solid #ffffff33;color:#fff6e8;border-radius:999px;width:38px;height:38px;cursor:pointer}.inbox-content h2{font:650 clamp(31px,4vw,46px)/1.18 Georgia,serif;margin:8px 0 10px}.inbox-content p{font-size:14px;line-height:1.65;color:#cddacf}.inbox-eyebrow{font-size:10px;color:#f5d69d;letter-spacing:.2em;font-weight:900}.inbox-lock{font-size:60px;margin:20px auto 8px}.inbox-calendar{padding:16px;margin:25px auto 20px;background:#ffffff12;border:1px solid #f0cf9668;border-radius:14px;max-width:380px;color:#ffdfa9;font-weight:800}.inbox-light-button,.inbox-copy-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;border:0;background:#f2d8a4;color:#35271e;padding:13px 20px;border-radius:999px;font-size:13px;font-weight:850;cursor:pointer}.inbox-copy-button{background:#ffffff18;border:1px solid #ffffff6c;color:#fff2df}.inbox-subline{font-size:13px!important;margin:10px 0 20px}.gift-envelope-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}.gift-envelope-tile{display:grid;gap:7px;place-items:center;text-align:center;border-radius:17px;min-height:136px;border:1px solid #f1d4985c;background:linear-gradient(155deg,#49745d7b,#173c34e6);color:#ffe8c1;cursor:pointer;padding:14px 8px;transition:transform .2s,background .2s}.gift-envelope-tile:hover{transform:translateY(-4px);background:#5f765b9c}.gift-envelope-tile .envelope-emoji{font-size:37px;filter:drop-shadow(0 5px 10px #0008)}.gift-envelope-tile strong{font-size:13px}.gift-envelope-tile small{font-size:10px;color:#cce0d0}.gift-envelope-tile.is-opened{background:linear-gradient(135deg,#6c4e34aa,#344b3c)}.inbox-affirmation{padding:16px;color:#f3debc;font:italic 17px Georgia,serif}.unwrapping-present{min-height:185px;position:relative;display:grid;place-items:center;margin:6px auto}.unwrapping-box{font-size:90px;animation:v8-wrap 1.05s cubic-bezier(.19,.8,.28,1) both;filter:drop-shadow(0 16px 14px #0007)}.unwrapping-bow{position:absolute;z-index:1;font-size:49px;top:14px;animation:v8-bow .9s cubic-bezier(.25,.7,.35,1) .3s both}.unwrapping-spark{position:absolute;top:45px;font-size:45px;letter-spacing:18px;color:#f4ce8b;animation:v8-spark 1.2s ease-out .2s both}.unwrapped-note{animation:v8-letter .7s ease-out .75s both;background:linear-gradient(150deg,#fff9e9,#f5e8cd);color:#473e31;border-radius:16px;padding:26px 28px;max-width:550px;margin:0 auto 20px;box-shadow:0 14px 22px #0003;position:relative}.unwrapped-note:before{content:'✦ ✦ ✦';font-size:16px;letter-spacing:10px;color:#ce9a60;position:absolute;top:-17px;left:50%;transform:translateX(-50%)}.note-from{font-size:12px;color:#a37445;font-weight:850;letter-spacing:.06em}.note-award{font-size:14px;font-weight:850;color:#72614b;margin:8px 0 10px}.unwrapped-note blockquote{font:italic clamp(19px,2.7vw,26px)/1.5 Georgia,serif;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.note-love{font-size:12px;color:#aa8259;margin-top:22px}.unwrapped-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:15px}@keyframes v8-wrap{0%{transform:scale(.35) rotate(-18deg);opacity:0}35%{transform:scale(1.1) rotate(10deg);opacity:1}75%{transform:scale(1) rotate(-5deg)}100%{transform:scale(.8);opacity:.78}}@keyframes v8-bow{0%{transform:translateY(40px) rotate(-15deg);opacity:0}55%{opacity:1}100%{transform:translateY(-66px) rotate(15deg);opacity:0}}@keyframes v8-spark{0%{opacity:0;transform:scale(.5)}45%{opacity:1;transform:scale(1.2)}100%{opacity:0;transform:scale(1.5)}}@keyframes v8-letter{from{opacity:0;transform:translateY(30px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}
.policy-page{padding:85px 20px 110px;background:radial-gradient(ellipse at top,#295142,#0c1d1b 70%)}.policy-inner{max-width:810px;margin:auto}.policy-inner h1{font:600 clamp(38px,6vw,58px) Georgia,serif;line-height:1.1;margin:18px 0}.policy-inner h3{font-size:20px;color:#f3d8a7;margin:32px 0 10px}.policy-inner p{line-height:1.82;color:#ccd9cd;font-size:15px}.policy-notice{background:#f5daa11c;border:1px solid #ffe0ab4d;border-radius:14px;padding:13px 18px}.policy-home{display:inline-block;background:#f2dba7;color:#30221a;padding:12px 20px;border-radius:999px;text-decoration:none;font-weight:850;margin-top:35px}
@media(max-width:800px){.room-hero .right-card.guest-card{overflow:visible!important}.guest-card .award-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gift-envelope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wish-count{flex-wrap:wrap}}
@media(max-width:480px){.gift-inbox-overlay{padding:8px}.inbox-dialog{max-height:calc(100dvh - 16px);padding:30px 15px 22px}.gift-envelope-tile{min-height:118px}.unwrapped-note{padding:25px 17px}.inbox-content h2{font-size:31px}.wish-input-wrap textarea{min-height:76px}}
@media(prefers-reduced-motion:reduce){.unwrapping-box,.unwrapping-bow,.unwrapping-spark,.unwrapped-note{animation:none!important}}
.public-wishes-button{width:100%;background:#fff7e711;border:1px solid #eed8ab5a;color:#f8dfad;padding:11px;border-radius:10px;font-size:12px;font-weight:800;cursor:pointer;margin:0 0 13px}.public-wish-card{text-align:left;background:#ffffff14;border-radius:13px;padding:17px 20px;margin:12px 0;border:1px solid #ffffff28}.public-wish-card div{color:#f5d79d;font-weight:900;font-size:12px}.public-wish-card p{color:#f6f2e5;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0!important}
/* Keep the optional topper proportionate to all three realistic tree assets. */
.hero-full .tree-topper{font-size:clamp(37px,4.2vw,55px)!important}
@media(max-width:480px){.hero-full .tree-topper{font-size:40px!important}}
/* Conversion-oriented phone view: glimpse the friend's tree without hiding the gift picker below the fold. */
@media(max-width:600px){
 .guest-hero .room-tree,.guest-hero .tree-stage{height:275px!important;min-height:275px!important}
 .guest-hero .tree-assembly{left:50%!important;top:48%!important;width:350px!important;height:455px!important;min-height:0!important;transform:translate(-50%,-50%) scale(.57)!important;transform-origin:center center}
 .guest-hero .tree-stage .stage-caption{display:none}
 .guest-hero .tree-stage .stage-top{top:8px;left:9px}
 .guest-hero .stage-top .glass-pill{font-size:11px}
 .guest-hero .room-layout{gap:10px}
 .guest-hero .right-card.guest-card{padding:17px!important}
 .guest-card h2{font-size:26px!important;margin-bottom:10px!important}
 .guest-card .award-grid{gap:7px;margin:9px 0 12px}
 .guest-card .award-btn.guest-gift-card{min-height:100px;padding:8px 5px}
 .guest-card .wish-input-wrap{padding:11px 11px 9px}
}

.brand{display:inline-flex;align-items:center;gap:7px}
.brand img{flex:none}
.hero-controls .control-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.quick-modal:not([open]){display:none}
.quick-modal[open]{width:100%;max-width:none;height:100%;max-height:none;margin:0;border:0;color:inherit}
.quick-modal::backdrop{background:#06161076}
.quick-dialog{max-height:100%;overflow:auto}
.optional-wish{margin-top:12px}
.optional-wish>summary{
 padding:11px 12px;border:1px solid #e9c48b55;border-radius:12px;
 color:#f7dfb2;min-height:44px;cursor:pointer;font-weight:700;font-size:14px;
}
.optional-wish>summary span{float:right;color:#c6d0c3;font-size:12px;font-weight:500}
.optional-wish .wish-input-wrap{margin:8px 0 0}
.editor-step-actions{
 display:flex;flex:0 0 48px;align-items:center;justify-content:flex-end;
 padding:0 2px;color:#d9e3d7;font-size:12px;
}
.editor-next{
 padding:8px 13px;min-height:44px;border:1px solid #e9c48b75;border-radius:10px;
 background:#213c30;color:#ffebc8;font-weight:750;white-space:nowrap;
}
.editor-next span{font-weight:500}
.nav .mobile-editor-save{display:none}

@media(max-width:800px){
 .brand{font-size:clamp(18px,5.5vw,24px);letter-spacing:-.55px}
 .brand img{width:25px;height:25px}
 .site:has(.editor-hero)>.site-header{padding-inline:12px;gap:8px}
 .site:has(.editor-hero)>.site-header .mobile-editor-save{
  display:inline-flex;min-height:44px;white-space:nowrap;
 }
 .site:has(.editor-hero) .editor-hero{
  --editor-header:72px;
  --editor-bottom:max(8px,env(safe-area-inset-bottom));
  padding-top:calc(var(--editor-header) + env(safe-area-inset-top));
 }
 .site:has(.editor-hero)>.site-header{
  height:calc(72px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);
 }
 .editor-hero .hero-content{
  display:grid;grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(150px,1fr) auto;
  height:calc(100dvh - var(--editor-header) - env(safe-area-inset-top));
  min-height:430px;gap:6px;padding:4px 10px var(--editor-bottom);
 }
 .editor-hero .hero-tree,.editor-hero .tree-stage{
  height:100%;min-height:0;
 }
 .editor-hero .tree-assembly{
  height:min(calc(100% - 43px),calc((100vw - 30px) * 1.3167));width:auto;
  aspect-ratio:780/1027;max-width:100%;
  top:calc(50% + 15px);left:50%;
 }
 .editor-hero .tree-topper{font-size:32px!important}
 .editor-hero .tree-style-night .tree-topper{top:max(-24px,-7%)}
 .editor-hero .tree-gift{font-size:clamp(12px,4vw,20px)}
 .editor-hero .tree-gift.glass-ball{height:13px;width:13px}
 .editor-hero .tree-gift.glass-ball::after{left:3px;width:5px;height:4px;top:-4px}
 .editor-hero .tree-gift::before{height:4px}
 .editor-hero .stage-top,.editor-hero .stage-caption{display:none}
 .editor-hero .stage-quick-create,.editor-hero .save-bar{display:none}
 .editor-hero .hero-controls{
  min-height:0;height:auto;max-height:none!important;
  padding:8px 10px 8px!important;border-radius:16px;
 }
 .editor-hero .control-tabs{padding:3px;gap:2px}
 .editor-hero .control-tabs button{min-height:44px!important;padding:4px;font-size:clamp(11px,3vw,13px)!important}
 .editor-hero .editor-scroll{
  flex:0 1 auto;min-height:0;max-height:clamp(102px,24dvh,218px);
  overflow-y:auto;overflow-x:hidden;padding:0 3px;scrollbar-gutter:stable;
 }
 .editor-hero .editor-step-actions{flex:0 0 auto;padding:4px 0 0}
 .editor-hero .editor-next{
  width:100%;min-height:46px;background:#cf4a51;
  color:#fff;border-color:#f4989b;border-radius:12px;
 }
 .editor-hero .hero-controls .part{padding:6px 0 7px}
 .editor-hero .part-head{margin-bottom:4px}
 .editor-hero .part-hint,.editor-hero .save-bar .disclaimer{display:none}
 .editor-hero .hero-controls .tree-choice{height:80px;padding:4px}
 .editor-hero .hero-controls .tree-choice img{width:42px;height:55px;object-fit:contain}
 .editor-hero .hero-controls .scene-choice img{height:37px}
 .editor-hero .decor-options{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
 .editor-hero .hero-controls .orn-pick,.editor-hero .topper-pick{min-height:44px;height:44px;font-size:21px}
 .editor-hero .name-entry,.quick-dialog .name-entry,.chain-box .name-entry,
 .guest-card textarea,.guest-card input[type=text]{font-size:16px}
 .editor-hero .quick-help{margin:5px 0;font-size:11px}
 .editor-hero .small-ghost{min-height:44px}
 .quick-dialog{padding:24px}
 .quick-dialog h2{margin:0 24px 12px 0;font-size:27px}
 .room-hero:not(.guest-hero):not(.voted-hero) .room-tree,
 .room-hero:not(.guest-hero):not(.voted-hero) .tree-stage,
 .guest-hero .room-tree,.guest-hero .tree-stage{height:155px!important;min-height:155px!important}
 .room-hero:not(.voted-hero) .tree-assembly{
  width:auto!important;height:145px!important;min-height:0!important;aspect-ratio:780/1027;
  left:50%!important;top:51%!important;transform:translate(-50%,-50%)!important;
 }
 .room-hero:not(.voted-hero) .tree-topper{font-size:25px!important}
 .room-hero:not(.voted-hero) .tree-gift{font-size:13px}
 .room-hero:not(.voted-hero) .tree-gift.glass-ball{width:11px;height:11px}
 .room-hero:not(.voted-hero) .tree-gift.glass-ball::after{left:2px;width:5px;height:4px;top:-4px}
 .room-hero:not(.voted-hero) .stage-caption{display:none}
 .room-hero .right-card{width:100%}
 .voted-hero .voted-card{order:-1}
 .guest-card .award-btn.guest-gift-card{min-height:72px;justify-content:center}
 .guest-card .award-caption,.guest-card .award-gift-box{display:none!important}
 .guest-card .award-btn.guest-gift-card .award-visual{height:24px}
 .guest-card .award-btn.guest-gift-card .award-visual .emoji{font-size:22px}
}
@media(max-width:480px){
 .site:has(.editor-hero) .editor-hero{--editor-header:67px}
 .site:has(.editor-hero)>.site-header{height:calc(67px + env(safe-area-inset-top))}
}

.editor-hero .topper-pick{display:flex;flex-direction:column;justify-content:center;gap:4px}
.editor-hero .topper-pick small{font-size:11px;font-weight:650}

.tree-style-real{container-type:size}
.tree-assembly.tree-style-real .tree-topper{
 /* Classic fir has a transparent band above the actual crown. */
 top:calc(100% - min(100cqh, 100cqw * 1.3167) * .8666);
 transform:translate(-50%,-83%);
}
.editor-hero .orn-ball-icon{width:22px;height:22px;flex-basis:22px}
.editor-hero .orn-ball-icon::before{width:6px;height:5px;left:calc(50% - 3px);top:-5px}
.hero-full .tree-gift:not(.glass-ball){font-size:clamp(25px,3vw,40px)}
.hero-full button.tree-gift[data-gift-id]{
 pointer-events:auto;min-width:44px;min-height:44px;
 font-size:clamp(30px,3.4vw,45px);z-index:1;
}
.hero-full button.tree-gift[data-gift-id]::after{top:0;right:0}
@media(max-width:800px){
 .editor-hero .tree-gift:not(.glass-ball){font-size:clamp(15px,4.5vw,24px)}
 .room-hero:not(.voted-hero) .tree-gift:not(.glass-ball){font-size:18px}
 .room-hero:not(.voted-hero) button.tree-gift[data-gift-id]{font-size:23px}
 .room-hero:not(.guest-hero):not(.voted-hero) .room-tree,
 .room-hero:not(.guest-hero):not(.voted-hero) .tree-stage{height:248px!important;min-height:248px!important}
 .room-hero:not(.guest-hero):not(.voted-hero) .tree-assembly{height:233px!important}
}

@media(min-width:801px){
 .editor-hero .editor-step-actions{display:none}
 .editor-hero .hero-controls{
  height:auto;min-height:0;max-height:calc(100dvh - 110px)!important;
 }
 .editor-hero .editor-scroll{flex:0 1 360px;min-height:0}
 .editor-hero .hero-controls .tree-choice{height:108px}
 .editor-hero .hero-controls .tree-choice img{height:74px}
 .editor-hero .hero-controls .scene-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
 .editor-hero .hero-controls .scene-choice small{min-height:2.4em;display:grid;place-items:center;line-height:1.2}
 .editor-hero .hero-controls .topper-pick{height:70px;font-size:26px}
}

@media(max-width:800px){
 .editor-hero .hero-content{min-height:470px;grid-template-rows:minmax(135px,1fr) auto}
 .editor-hero .editor-scroll{
  flex:0 0 auto;height:230px;max-height:none;padding-bottom:2px;
 }
 .editor-hero .hero-controls .scene-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .editor-hero .hero-controls .scene-choice small{min-height:2.1em;display:grid;place-items:center;font-size:10px;line-height:1.05}
 .editor-hero .topper-options{gap:5px}
 .editor-hero .hero-controls .topper-pick{height:60px;font-size:22px}
 .editor-hero .topper-pick small{font-size:10px}
 .editor-hero .quick-help{display:none}
 .editor-hero .sub-actions{margin-top:5px}
 .editor-hero .hero-controls .decor-options{gap:4px}
 .editor-hero .hero-controls .orn-pick{min-height:36px;height:36px!important}
 .editor-hero .hero-controls .decor-options{grid-template-rows:repeat(4,36px)}
 .editor-hero .sub-actions .small-ghost{min-height:34px;padding-block:5px}
 .editor-hero .hero-controls .part:has(.decor-options){padding-block:3px 5px}
 .editor-hero .hero-controls .part:has(.decor-options) .part-head{margin-bottom:3px}
}
