:root{--deep:#174e3b;--green:#207647;--lime:#8abf57;--ink:#233c31;--cream:#fff8e8;--gold:#f7c847;--sub:#627568;--shadow:0 14px 36px #2049331a}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:ui-rounded,"Trebuchet MS",system-ui,-apple-system,sans-serif;color:var(--ink);background:radial-gradient(circle at 22% 0,#fffef3 0,#f1f8e9 55%,#e6efdf 100%)}button{font:inherit;cursor:pointer}button:focus-visible{outline:3px solid #146ecc;outline-offset:3px}.hidden{display:none!important}
.topbar{background:var(--deep);padding:15px clamp(15px,2.5vw,35px);color:white;display:flex;justify-content:space-between;align-items:center;gap:15px;box-shadow:0 3px 15px #142e2070}.top-brand{display:flex;gap:14px;align-items:center}.brand-symbol{width:55px;height:55px;display:grid;place-items:center;border:3px solid #fff2af;background:#2b9759;color:#fff1a0;border-radius:18px;box-shadow:0 4px 0 #12422d;font-size:24px;line-height:1;font-weight:1000;position:relative}.brand-symbol span{position:absolute;top:-6px;right:-4px;font-size:14px;color:#fdd250}.overline{font-weight:850;font-size:10px;letter-spacing:.17em;color:#e6f5dd}.topbar h1{margin:2px 0 0;font-size:clamp(20px,2.5vw,32px);letter-spacing:-.04em;font-weight:1000}.topbar em{font-style:normal;color:#ffe176}.top-tools{display:flex;align-items:center;gap:14px}.stars{border:1px solid #c7ebc344;border-radius:999px;padding:8px 15px;font-size:13px;background:#2b6b4b;white-space:nowrap;font-weight:650}.stars span{color:#ffe079;font-size:19px}.top-button{background:white;border:0;border-radius:999px;padding:10px 16px;font-weight:850;color:#21573a;white-space:nowrap}
.layout{max-width:1640px;margin:0 auto;display:grid;grid-template-columns:minmax(216px,240px) minmax(0,1fr) minmax(216px,238px);gap:20px;padding:20px}.side{align-self:start;background:#fffdf8;border:1px solid #d4e6cb;border-radius:22px;padding:19px 15px;box-shadow:var(--shadow)}.side-heading{padding:2px 5px 12px}.mini-tag{font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:1000;color:#3e945b}.side h2{margin:4px 0 7px;font-size:23px;letter-spacing:-.04em}.side p{margin:0;color:var(--sub);font-size:12px;line-height:1.5}.room-picker{display:grid;gap:4px}.floor-label{margin:14px 4px 6px;text-transform:uppercase;font-size:10px;letter-spacing:.12em;color:#879e89;font-weight:900}.room-option{border:1px solid transparent;background:transparent;border-radius:12px;display:flex;align-items:center;gap:9px;padding:8px 9px;width:100%;text-align:left;color:#324a3b;font-size:12px;font-weight:800;transition:background .12s}.room-option:hover{background:#eff5e7}.room-option.active{background:#e5f6d7;color:#14533b;border-color:#a8d6a7}.room-option .room-emoji{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#f8efcf;font-size:17px}.help-box{margin-top:18px;border-radius:14px;background:#f4f7e9;border:1px solid #dbe9cc;padding:13px}.help-box b{font-size:12px}.help-box p{margin-top:5px}.center{min-width:0}.scene-intro{padding:2px 5px 13px;display:flex;align-items:center;justify-content:space-between;gap:16px}.scene-intro h2{font-size:clamp(20px,2.1vw,29px);letter-spacing:-.035em;margin:5px 0 0;line-height:1.18}.mode-chip{font-size:11px;font-weight:850;border-radius:30px;padding:9px 12px;background:#dff0d8;color:#267446;white-space:nowrap}
.stage{height:clamp(410px,54vw,630px);position:relative;border-radius:25px;overflow:hidden;border:5px solid white;box-shadow:0 18px 45px #2f583534;background:#e7f6f1}.home-poster{position:absolute;inset:0;overflow:hidden}.home-poster img{width:100%;height:100%;object-fit:cover;object-position:center 44%}.home-poster:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#143823b6,transparent 61%);z-index:1}.poster-card{position:absolute;left:5%;bottom:10%;z-index:2;color:white;width:min(360px,55%);text-shadow:0 1px 2px #233}.poster-card span{font-size:12px;font-weight:900;letter-spacing:.15em;color:#fff1a2}.poster-card strong{display:block;font-weight:1000;font-size:clamp(31px,5vw,55px);letter-spacing:-.055em;line-height:1.02;margin:8px 0}.poster-card p{line-height:1.48;font-size:clamp(13px,1.5vw,17px);font-weight:650;margin:12px 0 21px}.primary{border:0;border-radius:13px;background:linear-gradient(#fce87d,#efbf33);color:#254733;font-weight:1000;padding:15px 20px;box-shadow:0 5px 0 #a78a35;font-size:15px}.primary span{padding-left:12px}.stage-brand{position:absolute;right:14px;bottom:13px;font-size:10px;font-weight:850;color:#265a40;background:#ffffffdb;border-radius:999px;padding:6px 12px;z-index:5}.stage-brand span{color:#e16b7e}.room-scene{position:absolute;inset:0;background:linear-gradient(180deg,#8bd2f2 0,#cdf1fc 47%,#f4f9ec 100%)}#scene{position:absolute;width:100%;height:100%;top:0;left:0;touch-action:none;display:block}.sun{position:absolute;width:175px;height:175px;right:11%;top:9%;background:#fff9c7;border-radius:50%;filter:blur(6px);opacity:.85}.cloud{position:absolute;width:190px;height:47px;background:#fff9;border-radius:99px;filter:blur(8px)}.cloud-1{top:17%;left:8%}.cloud-2{right:13%;top:28%;transform:scale(.8)}.hotspots{position:absolute;inset:0;pointer-events:none}.hotspot{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;background:#fffaf5ee;box-shadow:0 5px 16px #263e3866;border:3px solid #efbc4a;color:#245341;border-radius:999px;padding:7px 11px;display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:12px;font-weight:950;transition:transform .2s}.hotspot:hover{transform:translate(-50%,-55%) scale(1.08)}.hotspot.done{background:#e7f4dc;border-color:#5bb879}.hotspot .orb{font-size:18px}.scene-hint{position:absolute;top:12px;left:14px;padding:8px 12px;border-radius:30px;background:#ffffffd9;font-size:11px;color:#365d4a;font-weight:850}.cam-tools{position:absolute;right:12px;top:12px;display:flex;gap:5px}.cam-tools button{width:33px;height:33px;font-size:21px;color:#376147;border:1px solid #bed6bf;border-radius:10px;background:#fffefa}.stage-loading{position:absolute;inset:0;display:grid;place-items:center;text-align:center;background:#fff9eddf;z-index:9;color:#2c6144;font-weight:850;padding:20px}
.room-toolbar{display:flex;gap:9px;flex-wrap:wrap;padding:14px 0 0}.room-toolbar button{background:#fff;border:1px solid #cfe1c5;border-radius:11px;padding:11px 15px;color:#285a3d;font-size:12px;font-weight:900;box-shadow:0 2px 0 #d2e1c9}.room-toolbar button:hover{background:#edf6e5}.room-toolbar .mission-cta{margin-left:auto;background:#ffe48a;border-color:#d9a94f;color:#69491d}.activity-info{margin-top:16px;background:#fffdf8;border-radius:17px;display:flex;align-items:center;padding:14px 17px;gap:14px;border:1px solid #d4e6c9;min-height:83px}.activity-icon{display:grid;place-items:center;font-size:24px;width:47px;height:47px;border-radius:14px;background:#ffefbf;color:#d47d52;flex-shrink:0}.activity-info strong{font-size:14px}.activity-info p{font-size:12px;margin:5px 0 0;color:#63796b;line-height:1.5}.footer-note{margin:13px 5px;font-size:11px;color:#738977;line-height:1.4}
.buddy-switch{display:grid;grid-template-columns:1fr 1fr;gap:9px}.buddy-choice{border:2px solid #e3ebdd;border-radius:14px;background:#fff;padding:6px 6px 9px;color:#385a43;display:grid;gap:6px;justify-items:center;min-width:0}.buddy-choice.active{border-color:#79bb62;background:#f5fbe9}.buddy-choice img{height:130px;width:100%;object-fit:contain;background:#f7faf2;border-radius:10px}.buddy-choice b{font-size:12px}.buddy-speak{border:1px solid #e0dbb5;margin-top:16px;padding:15px;background:#fff4cc;border-radius:15px}.speech-label{font-size:10px;letter-spacing:.1em;color:#a17a38;font-weight:950}.buddy-speak p{font-family:Georgia,serif;font-style:italic;font-size:17px;color:#554524;line-height:1.4;margin:12px 0 14px}.buddy-speak button{border:1px solid #efd07d;background:#fff9ea;color:#795b2d;border-radius:8px;padding:9px 13px;font-size:11px;font-weight:900}.truth{border:1px solid #d4e3d0;background:#f1f7ef;border-radius:14px;padding:12px;margin-top:15px}.truth b{font-size:11px}.truth p{font-size:11px;margin-top:7px}.truth strong{color:#2a653c}footer{text-align:center;padding:23px;color:#5d7d64;font-size:10px;letter-spacing:.06em;font-weight:750}
.modal{position:fixed;inset:0;background:#143624af;z-index:90;display:grid;place-items:center;padding:18px}.modal-card{position:relative;width:min(500px,100%);background:#fffdf6;border:5px solid #faf0c7;border-radius:26px;padding:30px;box-shadow:0 25px 70px #142a216b}.modal-card h2{font-size:26px;margin:12px 0}.modal-card p{line-height:1.6}.modal-close{position:absolute;right:15px;top:12px;border:none;background:none;font-size:28px;color:#39704a}.mission-choices{display:grid;gap:11px;margin-top:19px}.mission-choices button{padding:14px;border-radius:13px;border:2px solid #c6deb5;background:#f2f8eb;text-align:left;color:#355d3c;font-weight:850}.mission-choices button.correct{border-color:#4ba956;background:#d8f3d6}.mission-choices button.incorrect{border-color:#ce8173;background:#fff0eb}#missionFeedback{font-size:14px;font-weight:750;margin:15px 0 0}
@media(min-width:1350px){.stage{height:630px}}@media(max-width:1050px){.layout{grid-template-columns:185px minmax(0,1fr);gap:13px;padding:14px}.buddies-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.1fr 1fr;align-items:center;gap:10px}.buddies-panel .side-heading{align-self:start}.buddy-choice img{height:100px}.buddy-speak,.truth{margin:0}.stage{height:560px}.side{padding:12px}.room-option{padding:7px;font-size:11px}.side h2{font-size:20px}}@media(max-width:680px){.topbar{padding:11px 13px}.brand-symbol{width:42px;height:42px;font-size:20px;border-radius:13px}.topbar h1{font-size:19px}.overline{font-size:8px}.stars{font-size:10px;padding:7px 10px}.top-button{padding:9px;font-size:11px}.top-tools{gap:5px}.layout{display:flex;flex-direction:column;gap:12px;padding:12px}.center{order:1}.rooms-panel{order:2;width:100%}.buddies-panel{order:3;display:block}.scene-intro{padding:5px 3px 10px}.scene-intro h2{font-size:21px}.mode-chip{font-size:9px;padding:6px 8px}.stage{height:min(68vh,520px);min-height:370px;border-width:3px;border-radius:18px}.poster-card{width:85%;bottom:8%;left:5%}.home-poster:before{background:linear-gradient(0deg,#183e2fd4,transparent 70%)}.poster-card strong{font-size:39px}.poster-card p{font-size:13px}.primary{font-size:13px;padding:12px 15px}.room-picker{display:grid;grid-template-columns:1fr 1fr;gap:3px 6px}.floor-label{grid-column:1/-1}.room-option{padding:9px}.buddies-panel .buddy-switch{max-width:350px}.buddy-choice img{height:140px}.buddy-speak,.truth{margin-top:12px}.room-toolbar button{padding:9px;font-size:11px}.room-toolbar .mission-cta{margin-left:0}.stage-brand{font-size:8px;right:8px;bottom:8px}.hotspot{padding:6px 8px;font-size:10px}.hotspot .orb{font-size:14px}.scene-hint{font-size:9px;max-width:59%;padding:7px}.cam-tools button{width:29px;height:29px;font-size:18px}}
.room-toolbar button:disabled{opacity:.42;cursor:not-allowed}
@media(max-width:680px){.hotspot{font-size:9px}.hotspot span:last-child{max-width:84px;white-space:normal;line-height:1.1}.hotspot{min-height:27px}}

/* Extra 3D room decorations */
.decor-panel{margin-top:12px;border:2px solid #e1d6a5;border-radius:18px;background:#fffbee;padding:15px;box-shadow:0 8px 20px #34482516}
.decor-title{display:flex;flex-direction:column;gap:3px;margin-bottom:11px}.decor-title strong{font-size:17px;color:#286047}.decor-title small,.voice-note{font-size:11px;color:#6f7756;line-height:1.4}
.decor-items{display:flex;flex-wrap:wrap;gap:8px}.decor-choice{border:2px solid #cfe4c7;background:#fff;border-radius:12px;padding:10px 12px;color:#375c46;font-weight:800;font-size:12px}.decor-choice.selected{border-color:#d08c38;background:#ffdf8c}
.decor-saved{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px;color:#6b816f;font-size:12px}.decor-placed-line{display:flex;align-items:center;gap:5px;background:#f4f8ed;border:1px solid #dce8d7;border-radius:10px;padding:5px 8px}.decor-placed-line span{font-size:11px}.decor-placed-line button,.decor-reset{border:1px solid #cbdabc;border-radius:8px;background:#fff;padding:6px 9px;font-size:11px;font-weight:800;color:#3c6850}.decor-placed-line button:hover{background:#e9f5e1}.decor-reset{margin-top:7px}#decorHint{font-size:12px;color:#617565;margin-bottom:5px}.voice-note{display:block;margin-top:8px}
@media(max-width:680px){.decor-items{display:grid;grid-template-columns:1fr 1fr}.decor-choice{text-align:left}.decor-panel{padding:12px}}

#roomScene.decorating .hotspots{pointer-events:none;opacity:.24}#roomScene.decorating .hotspot{pointer-events:none}#roomScene.decorating canvas{cursor:crosshair}

/* Furniture rearranging: separate from accessories, child-friendly touch targets */
.decor-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:13px 0 15px;border-bottom:1px solid #e7e7ce;padding-bottom:13px}
.decor-tabs button{border:2px solid #bdd5ae;background:#fff;color:#315a43;border-radius:999px;padding:10px 15px;font-size:12px;font-weight:900}
.decor-tabs button.active{background:#ffe2a1;border-color:#d8a24b;color:#573b17}
.furniture-panel h3{margin:3px 0 4px;color:#2d6748;font-size:15px}.furniture-help{font-size:12px;color:#5b7462;line-height:1.5;margin:7px 0 12px}
.furniture-items{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 12px}
.furniture-choice{border:2px solid #cbdcc3;background:#fff;color:#315f45;border-radius:12px;padding:11px 13px;font-size:12px;font-weight:850;min-height:42px}
.furniture-choice.selected{background:#fff2ba;border-color:#dcae45;box-shadow:0 0 0 2px #ffe3a9}
.furniture-controls,.nudge-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin:9px 0}
.furniture-controls button,.nudge-row button{border:1px solid #c6d8bd;border-radius:10px;background:#f8fbf2;padding:10px 12px;min-height:42px;font-size:12px;font-weight:850;color:#245740}
.furniture-controls button:disabled,.nudge-row button:disabled{opacity:.42;cursor:not-allowed}
.nudge-row span{font-size:12px;color:#536d58;font-weight:850;margin-right:4px}
#furnitureHint{min-height:20px;font-size:12px;color:#527057;line-height:1.5;margin:10px 0}
.furniture-handle{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;border-radius:999px;border:2px solid #a66c19;background:#fff3c9;color:#3e5639;padding:7px 10px;box-shadow:0 4px 10px #3b3b2244;font-size:11px;font-weight:950;white-space:nowrap;max-width:155px;overflow:hidden;text-overflow:ellipsis}
.furniture-handle.selected{background:#f6cd51;border-color:#6e5519;box-shadow:0 0 0 4px #fef2c5bb,0 4px 15px #60472155}
#roomScene.decorating.mode-furniture .hotspots{opacity:1;pointer-events:none}#roomScene.decorating.mode-furniture .furniture-handle{pointer-events:auto}
#roomScene.decorating .scene-hint{background:#fff5cc}
@media(max-width:680px){.decor-tabs{display:grid;grid-template-columns:1fr 1fr}.decor-tabs button{padding:9px 6px;font-size:11px}.furniture-items{display:grid;grid-template-columns:1fr 1fr}.furniture-choice{padding:9px;font-size:11px}.furniture-handle{font-size:9px;padding:6px;max-width:105px}.furniture-controls button{flex:1}.nudge-row button{padding:9px 12px}.furniture-panel h3{font-size:14px}}

/* Christine Voice Studio — does not change room or character artwork */
.voice-studio{margin-top:13px;background:#fffdf5;border:2px solid #c7dbb7;border-radius:14px;color:#2c5e42;overflow:hidden}
.voice-studio summary{cursor:pointer;list-style:none;padding:13px 14px;font-size:13px;font-weight:900;display:flex;align-items:center;justify-content:space-between;gap:10px}
.voice-studio summary::-webkit-details-marker{display:none}.voice-studio[open] .voice-arrow{transform:rotate(180deg)}.voice-studio-inner{padding:0 14px 14px}
.voice-subtitle{font-size:12px;line-height:1.55;color:#61735f;margin:0 0 13px}
.voice-label{display:block;font-weight:850;font-size:12px;margin:11px 0 6px}
.voice-studio select,.voice-studio input[type=file]{width:100%;max-width:100%;padding:9px 7px;border:1px solid #c2d9b8;border-radius:9px;background:#fff;font:inherit;font-size:12px;color:#2b5e42}
.voice-settings{display:grid;gap:10px;margin:12px 0}.voice-settings label{display:block;font-size:11px;font-weight:800}.voice-settings output{float:right;font-variant-numeric:tabular-nums}.voice-settings input{width:100%;accent-color:#338559;display:block;margin-top:9px}
.voice-buttons{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.voice-buttons button{border:1px solid #bad3ad;background:#ecf7e7;border-radius:9px;color:#26593a;font-size:11px;font-weight:850;padding:10px 12px;min-height:40px;flex:1}
.voice-buttons button:disabled{opacity:.47;cursor:not-allowed}.voice-divider{border-top:1px solid #e0e6d8;margin-top:15px}
.voice-status{margin:10px 0;color:#315b42;background:#f1f8ea;padding:9px;border-radius:9px;font-size:11px;line-height:1.5}
.voice-privacy{display:block;color:#607464;font-size:10px;line-height:1.5}
@media(max-width:680px){.voice-studio-inner{padding:0 11px 13px}.voice-studio summary{padding:12px}.voice-buttons{flex-direction:column}}


/* ===== FRONT-DOOR WELCOME — character art stays unmodified ===== */
.front-entry{position:absolute;inset:0;z-index:6;overflow:hidden;isolation:isolate;background:linear-gradient(180deg,#8bd8f3 0%,#c6f3f6 46%,#93d07f 47%,#65b45d 100%)}
.front-entry.hidden{display:none!important}.entry-sky-stars{position:absolute;top:5%;left:8%;right:8%;display:flex;justify-content:space-between;color:#fff4bb;font-size:36px;text-shadow:0 1px 15px #fff}.entry-sky-stars i:nth-child(2){font-size:20px;margin-top:20px}.entry-sky-stars i:nth-child(3){font-size:26px}
.front-house{position:absolute;inset:11% 11% 15%;filter:drop-shadow(0 15px 18px #1b613a54)}.roof-house{position:absolute;top:0;left:2%;right:2%;height:29%;background:repeating-linear-gradient(45deg,#1b6849 0 16px,#277e51 16px 27px);clip-path:polygon(50% 1%,100% 86%,100% 100%,0 100%,0 86%);border-radius:8px}.roof-badge{position:absolute;top:49%;left:50%;transform:translate(-50%,-15%);background:#ffe4a0;border:4px solid #fff8d3;border-radius:99px;font-size:16px;font-weight:1000;color:#236444;box-shadow:0 2px 10px #103c3360;padding:5px 13px}.roof-badge span{color:#e69f38;font-size:12px;margin-left:4px}.front-wall{position:absolute;top:25%;bottom:0;left:5%;right:5%;background:repeating-linear-gradient(180deg,#f9eccc 0 17px,#eedcb0 18px 20px);border:8px solid #fff8db;border-top:12px solid #fff8db;border-radius:7px 7px 17px 17px;box-shadow:inset 0 6px 25px #c0a8784d}.front-window{position:absolute;top:23%;width:23%;height:32%;background:linear-gradient(125deg,#77c5e9,#e6f9ff);border:8px solid #fffaf0;box-shadow:0 0 0 3px #d0aa6b,0 6px 10px #694c214b;border-radius:35px 35px 7px 7px;text-align:center;color:#f8de67;font-size:25px}.front-window:before,.front-window:after{content:'';position:absolute;background:#fffef2}.front-window:before{left:45%;top:0;bottom:0;width:7px}.front-window:after{top:50%;left:0;right:0;height:7px}.front-window.window-left{left:10%}.front-window.window-right{right:10%}.front-window span{position:absolute;top:15%;left:20%}.doorframe{position:absolute;left:38%;top:13%;width:24%;height:76%;border:7px solid #fff8e7;border-radius:52px 52px 3px 3px;box-shadow:0 0 0 3px #b78b4b,0 5px 15px #5f4c3749;perspective:750px;overflow:visible}.door-interior{position:absolute;inset:0;border-radius:44px 44px 2px 2px;background:#f6e5bc url('assets/approved_house_crop.jpg') center/cover no-repeat;opacity:.9;filter:saturate(1.05);box-shadow:inset 0 0 30px #3e2b1855}.front-door{position:absolute;inset:0;border-radius:41px 41px 2px 2px;transform-origin:left center;background:repeating-linear-gradient(90deg,#c18d4c 0 14px,#b78042 15px 17px,#d5a25f 18px 36px);border:4px solid #975c2e;box-shadow:inset 0 0 0 14px #c99558,inset 0 0 0 18px #985a33,4px 8px 14px #4228176a;transition:transform 1.3s cubic-bezier(.2,.64,.2,1);backface-visibility:hidden}.front-entry.door-open .front-door{transform:rotateY(-111deg)}.door-knob{position:absolute;right:10%;top:51%;width:13px;height:13px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffeb9c,#d9a238 65%,#806122);box-shadow:0 1px 3px #473a1f}.door-plaque{position:absolute;left:10%;right:10%;top:22%;background:#f8eed0cc;border:2px solid #9d6b33;border-radius:14px;padding:8px 1px;text-align:center;font-size:clamp(10px,1.2vw,17px);font-family:Georgia,serif;font-style:italic;color:#2b5c43}.porch-floor{position:absolute;bottom:-5%;left:24%;right:24%;height:6%;background:#fef8e4;border:3px solid #e4ceb0;border-radius:6px}
.welcome-sprite{position:absolute;bottom:28%;width:25%;height:56%;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:end;pointer-events:none;filter:drop-shadow(2px 6px 5px #123d235b)}.welcome-sprite img{height:90%;width:100%;object-fit:contain;mix-blend-mode:normal}.welcome-sprite span{font-weight:1000;background:#fff9d6;border:2px solid #f1cc6b;border-radius:30px;padding:5px 13px;color:#255b39;font-size:12px;box-shadow:0 3px 6px #344c2761}.sprite-christine{left:11%}.sprite-christen{right:11%}.entry-flowers{position:absolute;bottom:24%;font-size:clamp(15px,3vw,27px);letter-spacing:5px;text-shadow:0 2px 4px #225d36}.flowers-left{left:3%}.flowers-right{right:3%}
.welcome-panel{position:absolute;bottom:0;left:0;right:0;z-index:5;padding:16px 21px 13px;text-align:center;color:#f9fff5;background:linear-gradient(0deg,#164731f5 0%,#1a5d42ee 81%,#1a5d42b3 100%);box-shadow:0 -7px 20px #1b4b3759}.welcome-label{font-size:10px;font-weight:1000;letter-spacing:.12em;color:#ffdc86}.welcome-panel h3{font-size:clamp(18px,2.2vw,27px);margin:4px 0}.welcome-panel p{font-size:12px;margin:5px 0 10px;line-height:1.45}.entry-controls{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.entry-controls button{border-radius:12px;font-size:12px;font-weight:950;padding:11px 15px;min-height:42px}.entry-main{border:2px solid #ffcf4d;color:#184a38;background:linear-gradient(#ffed9b,#ffc643);box-shadow:0 3px 0 #bd842c}.entry-secondary{border:2px solid #dbf4d0;background:#f5fff0;color:#1d6440}.entry-text{border:0!important;text-decoration:underline;background:transparent;color:#e6f7e6}.welcome-panel .entry-tech-note{font-size:9px;color:#d1eacb;margin:9px 0 0}.guest-arrivals{z-index:4;position:absolute;left:26%;right:26%;top:50%;height:21%;display:flex;align-items:end;justify-content:center;gap:3px;pointer-events:none;opacity:0}.front-entry.guests-arriving .guest-arrivals{opacity:1}.guest-item{flex:0 1 61px;height:95px;background:#fffef5;border:2px solid #d9bd6b;box-shadow:0 4px 6px #29492c5c;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;overflow:hidden;opacity:0;transform:translateX(-180px) translateY(30px) scale(.85)}.guest-item img{height:74%;width:100%;object-fit:cover;object-position:top}.guest-item b{font-size:10px;color:#1f5d43;background:#fff;width:100%;text-align:center;padding:2px}.guest-item.name-only span{display:grid;place-items:center;height:72%;width:100%;font-size:27px;font-weight:1000;background:#e7daf2;color:#685282}.guest-item:nth-child(4) span{background:#fff0d4;color:#b75f25}.guest-item:nth-child(5) span{background:#e9dcff;color:#805abb}.guest-item:nth-child(6) span{background:#f5dfdd;color:#b36177}.front-entry.guests-arriving .guest-item{animation:guest-walk 2.3s ease-in-out forwards;animation-delay:calc(var(--guest-order)*.35s)}@keyframes guest-walk{0%{opacity:0;transform:translateX(-230px) translateY(34px) scale(.7)}25%{opacity:1;transform:translateX(-95px) translateY(-8px) scale(1)}60%{opacity:1;transform:translateX(-25px) translateY(6px) scale(.88)}89%{opacity:1}100%{opacity:0;transform:translateX(48px) translateY(-37px) scale(.25)}}.front-entry.entered .front-house,.front-entry.entered .welcome-sprite{transition:opacity .5s;opacity:.12}.front-entry.entered{background:linear-gradient(#d9f5df,#fcf3d1) url('assets/approved_house_crop.jpg') center/cover no-repeat}.front-entry.entered .welcome-panel{background:#1b5a41f0}
@media(max-width:680px){.front-house{inset:11% 5% 29%}.roof-badge{font-size:12px}.welcome-sprite{bottom:37%;height:42%;width:31%}.sprite-christine{left:3%}.sprite-christen{right:3%}.front-entry .front-window{top:25%;width:19%;height:26%;border-width:4px}.doorframe{left:33%;width:34%;top:18%;height:74%}.entry-flowers{display:none}.welcome-panel{padding:10px 9px 8px}.welcome-panel p{font-size:11px;line-height:1.3}.entry-controls button{padding:8px 9px;min-height:36px;font-size:10px}.welcome-label{font-size:8px}.welcome-panel .entry-tech-note{font-size:8px}.guest-arrivals{left:7%;right:7%;top:43%;height:21%}.guest-item{height:70px}.guest-item img{height:68%}.guest-item b{font-size:8px}.door-plaque{font-size:10px;padding:4px 1px}}
@media(prefers-reduced-motion:reduce){.front-door{transition:none}.guest-item{animation-duration:.01ms!important}}

/* A fully interactive, accessible prayer-time story activity; portraits are not 3D walkers. */
.prayer-cta{border:2px solid #b79b38!important;background:linear-gradient(#fff3b0,#f7d564)!important;color:#23503a!important;font-weight:1000;box-shadow:0 3px 0 #b69a49}
.prayer-modal{position:fixed;inset:0;background:#173c31d9;z-index:90;display:grid;place-items:center;padding:15px;overflow-y:auto;overscroll-behavior:contain;backdrop-filter:blur(7px)}
.prayer-card{width:min(890px,100%);max-height:min(97vh,900px);overflow:auto;border:5px solid #ffefb0;border-radius:26px;background:#fffdf4;box-shadow:0 22px 80px #14271fb0;color:#234132}
.prayer-top{display:flex;gap:12px;justify-content:space-between;align-items:start;padding:18px 22px 9px}
.prayer-top h2{font-size:clamp(19px,3vw,30px);line-height:1.2;letter-spacing:-.04em;margin:5px 0 6px;color:#215a39}.prayer-top p{margin:0;color:#587965;font-size:13px;line-height:1.4}
.prayer-close{border:0;background:#f1e5c9;color:#3b573e;width:42px;height:42px;border-radius:50%;font-size:28px;line-height:1;font-weight:750;flex:0 0 42px}
.prayer-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:8px 22px 14px}
.prayer-choices button{border:2px solid #cbdcbd;background:#f4f9e9;color:#2e6345;border-radius:13px;padding:12px 7px;font-weight:850;min-height:47px}
.prayer-choices button[aria-pressed=true]{background:#fae59b;border-color:#d0a044;box-shadow:inset 0 0 0 1px #fffcdf}
.prayer-artwork{position:relative;overflow:hidden;margin:0 20px;min-height:255px;border-radius:19px;border:3px solid #d5ddbb;background:linear-gradient(#fff4cc,#fff2c7 62%,#d29b68 63%,#b87c54 100%);display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:15px 13px}
.prayer-artwork.location-garden{background:linear-gradient(#9fddf3,#d3f3ff 49%,#b9de8b 50%,#73bd5d 100%)}
.prayer-artwork.location-alone{background:linear-gradient(#f8f2d3,#fff9e8 56%,#b9d9c1 57%,#8bbb9b 100%)}
.prayer-artwork:before,.prayer-artwork:after{position:absolute;font-size:32px;bottom:29%;opacity:.82;pointer-events:none}
.prayer-artwork.location-garden:before{content:'🌷';left:2%}.prayer-artwork.location-garden:after{content:'🌼';right:2%}
.prayer-scene-title{z-index:1;text-align:center;border-radius:22px;background:#fffdf1f2;border:1px solid #e2d9af;padding:7px 14px;color:#30613c;font-weight:950;font-size:clamp(12px,2vw,17px)}
.prayer-kids{z-index:1;width:100%;display:flex;justify-content:center;align-items:end;gap:7px;min-height:131px;padding-top:9px}
.prayer-kids figure{margin:0;width:clamp(55px,12%,88px);display:flex;flex-direction:column;align-items:center;justify-content:end;animation:prayer-enter .55s both;animation-delay:calc(var(--kid-index,0)*.08s)}
.prayer-kids img{display:block;width:100%;height:clamp(78px,11vw,109px);object-fit:cover;object-position:top center;border-radius:14px 14px 6px 6px;border:3px solid #fff7dd;box-shadow:0 5px 10px #254a366b}
.prayer-kids figcaption{background:#fffef4;border-radius:0 0 10px 10px;padding:3px 5px;font-size:11px;color:#376346;font-weight:850;max-width:100%;text-overflow:ellipsis;overflow:hidden}
.prayer-artwork.location-alone .prayer-kids figure:not(.christine-figure){display:none}
.prayer-artwork.location-alone .prayer-kids figure.christine-figure{width:125px}
.prayer-artwork.location-alone .prayer-kids figure.christine-figure img{height:136px}
.prayer-setting{z-index:1;background:linear-gradient(#fff6d1,#e2b279);padding:9px 25px;border:3px solid #f9e2a5;border-radius:45px 45px 16px 16px;box-shadow:0 5px 0 #a47049;color:#704f29;font-weight:950;font-size:clamp(11px,2vw,15px);text-align:center;min-width:56%;min-height:40px}
.location-garden .prayer-setting{background:#e6f8d4;border-color:#fff5d8;box-shadow:0 5px 0 #4c9d4e;color:#356e45}
.location-alone .prayer-setting{background:#fff9eb;border-color:#f7d08b;box-shadow:0 5px 0 #d6b38c;color:#4d714a}
@keyframes prayer-enter{from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}
.prayer-bottom{padding:13px 21px 18px;text-align:center}
.prayer-instructions{font-size:13px;line-height:1.55;color:#486250;margin:0 0 10px}
.prayer-words{margin:0 auto 11px;padding:12px 20px;border:0;border-radius:13px;background:#f2f6e9;color:#265638;font:italic 500 clamp(14px,1.8vw,18px)/1.45 Georgia,serif}
.prayer-audio-status{margin:8px 0 12px;color:#63816e;font-size:12px;min-height:17px}
.prayer-controls{display:flex;justify-content:center;gap:9px;flex-wrap:wrap}
.prayer-controls button{font-size:13px;border-radius:12px;min-height:46px;padding:11px 15px;font-weight:950}
.prayer-play{background:#ffe183;border:2px solid #e5bd4e;color:#27543b}.prayer-quiet{background:#fafaf1;border:2px solid #c6d7b4;color:#35654b}.prayer-done{background:#2c7950;border:2px solid #1b5c41;color:white}
#prayerWatch{display:inline-block;color:#247346;font-size:12px;font-weight:750;margin:13px 0 5px;text-decoration:underline}
.prayer-disclaimer{font-size:10px;color:#778c79;line-height:1.4;margin:5px auto 0;max-width:650px}
@media(max-width:680px){.prayer-modal{padding:6px;align-items:start}.prayer-card{border-width:3px;border-radius:16px;max-height:96dvh}.prayer-top{padding:12px 12px 7px}.prayer-choices{gap:4px;padding:4px 8px 9px}.prayer-choices button{min-height:52px;font-size:11px;padding:6px 4px}.prayer-artwork{margin:0 8px;min-height:217px;padding:8px 4px}.prayer-kids{gap:3px;min-height:105px}.prayer-kids figure{width:18%}.prayer-kids img{height:89px;border-width:2px}.prayer-kids figcaption{font-size:9px}.prayer-setting{padding:7px 8px;min-width:67%}.prayer-bottom{padding:10px 11px 14px}.prayer-words{padding:8px 10px}.prayer-controls button{font-size:11px;padding:8px;min-height:42px}}
@media(prefers-reduced-motion:reduce){.prayer-kids figure{animation:none}}

/* Separate actual rigged GLB character preview; doesn't change room renderer */
.walk3d-header{color:#fdf6e5;font-size:12px;font-weight:800;text-decoration:none;border:1px solid #c8dcb5;border-radius:999px;padding:8px 10px;white-space:nowrap}
.walk3d-entry-link{background:#f4d06e;color:#1d4d34!important;display:inline-flex;align-items:center;justify-content:center;padding:11px 13px;border-radius:11px;font-size:13px;font-weight:900;text-decoration:none;border:2px solid #ecb841;line-height:1.25}
.walk3d-toolbar{padding:9px 11px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #a9d4a3;background:#d5edc9;color:#234f30!important;font-size:13px;font-weight:800;border-radius:10px;white-space:normal;min-height:38px}
.walk3d-header:focus-visible,.walk3d-entry-link:focus-visible,.walk3d-toolbar:focus-visible{outline:3px solid #e3bb43;outline-offset:2px}
@media(max-width:660px){.walk3d-header{font-size:11px;padding:6px 8px}.walk3d-entry-link{width:100%}.walk3d-toolbar{width:100%}}

.room-option{text-decoration:none}
