.slot-tabs{border-bottom:1px solid var(--studio-border);flex-shrink:0;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:6px 10px;display:grid}.slot-tabs svg{width:28px;height:28px}.color-columns{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.color-control{min-width:0}.color-control legend{margin-bottom:8px}.color-inputs{align-items:center;gap:6px;padding:4px 0;display:flex}.color-inputs input[aria-invalid=true]{border-color:var(--danger);outline-color:var(--danger)}.swatches{grid-template-columns:repeat(4,minmax(44px,1fr));justify-items:center;gap:10px;margin:4px 0 8px;display:grid}.swatch{border:3px solid var(--paper);cursor:pointer;width:48px;height:48px;box-shadow:0 0 0 1px var(--line-strong), var(--shadow-sm);border-radius:50%;place-items:center;display:grid}.swatch[aria-pressed=true]{outline:2px solid var(--ink);outline-offset:2px}.swatch svg{color:#fff;filter:drop-shadow(0 1px 2px #000)}.color-extras summary{cursor:pointer;width:48px;min-height:44px;color:var(--accent-strong);border-radius:12px;justify-content:center;align-items:center;display:flex}.color-extras summary::-webkit-details-marker{display:none}.pattern-options{grid-template-columns:repeat(4,minmax(0,1fr))}.material-sample svg{color:var(--accent);background:#fff;border-radius:50%}.pattern-sample{background:#c9a08a 50%/44px 44px;border-radius:10px;width:100%;height:44px;display:block;box-shadow:inset 0 0 0 1px #0000000f}.visual-slider{align-items:center;gap:10px;margin-top:12px;display:flex}.visual-slider>svg{color:var(--ink-soft);flex:0 0 26px}.turn-end{transform:rotate(135deg)}.wardrobe-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.wardrobe-thumbnail{aspect-ratio:1;background:var(--tint);width:100%;color:var(--ink-soft);border-radius:10px;justify-content:center;align-items:center;display:flex;overflow:hidden}.wardrobe-thumbnail img{object-fit:contain;width:100%;height:100%}.wardrobe-thumbnail svg{opacity:.6;width:30px;height:30px}.wardrobe-note{color:var(--ink-soft);margin:10px 0 0;font-size:12px}@media (width<=720px){.slot-tabs button{min-height:60px;padding:4px 0}.swatches{gap:8px}}@media (width<=370px){.color-columns{gap:12px}}.get-dressed{text-align:left;gap:12px;width:min(560px,100vw - 24px);max-height:calc(100dvh - 32px);display:grid}.get-dressed h2{margin:0;font-size:18px}.get-dressed .wardrobe-grid{max-height:min(46dvh,360px);overflow-y:auto}.face-picture{aspect-ratio:1;border-radius:12px;width:100%;max-width:56px}.face-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.preview-rotation{gap:12px;display:flex;position:absolute;bottom:16px;left:50%;transform:translate(-50%)}.preview-rotation button{background:var(--glass);border-color:var(--line)}@media (width<=720px){.preview-rotation{gap:4px;bottom:6px;left:auto;right:8px;transform:none}.preview-open svg{box-sizing:content-box;background:var(--glass);border-radius:8px;padding:4px;position:absolute;top:6px;right:6px}}.preview-actions{align-items:center;gap:8px;display:flex;position:absolute;bottom:16px;right:16px}.preview-actions .icon-button{background:var(--glass);border-color:var(--line)}.surprise-button{border-radius:var(--radius-full);min-height:44px;color:var(--color-text-espresso);background:var(--color-warm-honey);box-shadow:var(--shadow-sm);font:inherit;cursor:pointer;border:1.5px solid #0000;align-items:center;gap:8px;padding:0 16px;font-size:14px;font-weight:700;display:inline-flex}.surprise-button:hover:not(:disabled){filter:brightness(1.05)}.surprise-button:disabled{opacity:.6;cursor:default}@media (width<=720px){.preview-actions{gap:4px;bottom:6px;left:8px;right:auto}}.preview-message{text-align:center;font-size:14px;position:absolute;top:50%;left:20px;right:20px}.memory-album{text-align:left;width:min(720px,100vw - 24px);max-height:calc(100dvh - 24px);overflow-y:auto}.memory-album-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.memory-album .memory-album-heading h2{margin:0;font-size:20px}.memory-bonds h3{color:var(--ink-soft);margin:14px 0 8px;font-size:13px;font-weight:600}.memory-bonds ul{flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none;display:flex}.memory-bond{border:1.5px solid var(--line);border-radius:var(--radius-full);background:var(--paper);align-items:center;gap:10px;min-width:0;padding:6px 12px 6px 6px;font-size:13px;display:flex}.memory-bond>span:last-child{min-width:0;line-height:1.25;display:grid}.memory-bond b{overflow-wrap:anywhere}.memory-bond small{color:var(--ink-soft);font-size:11px}.memory-bond-picture{background:var(--tint);border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex;overflow:hidden}.memory-bond-picture img,.memory-bond-picture svg{object-fit:cover;width:100%;height:100%}.memory-tier{color:var(--ink-soft);align-items:center;gap:4px;font-size:12px;font-weight:600;display:inline-flex}.memory-bond.is-friends .memory-tier{color:var(--accent-strong)}.memory-bond.is-besties{border-color:var(--color-seat-rose)}.memory-bond.is-besties .memory-tier{color:#b04f73}.memory-tools{flex-wrap:wrap;gap:8px;margin:16px 0 12px;display:flex}.memory-tools button,.memory-lane-back{border:1.5px solid var(--line-strong);border-radius:var(--radius-full);background:var(--paper);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;align-items:center;gap:6px;padding:0 14px;font-size:14px;font-weight:600;display:inline-flex}.memory-tools button:hover:not(:disabled),.memory-lane-back:hover{background:var(--accent-soft)}.memory-tools button:disabled{opacity:.5;cursor:default}.memory-tools .memory-filter[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.memory-empty{text-align:center;padding:24px 12px}.memory-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px 14px;margin:0;padding:4px 2px 8px;list-style:none;display:grid}.memory-grid li{min-width:0;position:relative}.memory-grid li:nth-child(3n+1) .memory-polaroid{rotate:-1.2deg}.memory-grid li:nth-child(3n) .memory-polaroid{rotate:1deg}.memory-polaroid{color:#2c221e;box-shadow:var(--shadow-md);background:#fff;border-radius:4px;margin:0;padding:8px 8px 10px}.memory-photo{aspect-ratio:4/5;background:#eee8de;border-radius:2px;display:block;position:relative;overflow:hidden}.memory-photo img{object-fit:cover;width:100%;height:100%;display:block}.memory-drawn{background:linear-gradient(var(--memory-from), var(--memory-to));justify-content:center;align-items:flex-end;width:100%;height:100%;padding:18% 6% 4%;display:flex}.memory-drawn svg{flex:1 1 0;min-width:0;max-width:60%;max-height:100%}.memory-kind{background:#ffffffd9;border-radius:50%;place-items:center;width:30px;height:30px;font-size:16px;display:grid;position:absolute;bottom:6px;right:6px}.memory-polaroid figcaption{overflow-wrap:anywhere;gap:2px;margin-top:8px;font-size:12.5px;font-weight:500;line-height:1.35;display:grid}.memory-polaroid figcaption small{color:#635c58;font-size:11px}.memory-actions{gap:4px;display:flex;position:absolute;top:2px;right:2px}.memory-actions .icon-button{border-color:var(--line);background:var(--glass-strong);width:40px;height:40px}.memory-star[aria-pressed=true]{color:var(--accent-strong)}.memory-delete{color:var(--danger)}.memory-note{text-align:center;margin-top:12px;font-size:12px}.memory-lane{justify-items:center;gap:14px;margin-top:14px;display:grid}.memory-polaroid.is-large{width:min(340px,100%);animation:.6s ease-out memory-slide-in}.memory-polaroid.is-large .memory-photo img{animation:4.2s ease-out both memory-drift}.memory-polaroid.is-large figcaption{text-align:center;font-size:15px}.memory-lane-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.memory-lane-count{min-width:52px;color:var(--ink-soft);text-align:center;font-size:13px}@keyframes memory-slide-in{0%{opacity:0;translate:0 8px;rotate:-2deg}}@keyframes memory-drift{0%{scale:1.08}to{scale:1}}@media (prefers-reduced-motion:reduce){.memory-grid li .memory-polaroid{rotate:none}.memory-polaroid.is-large,.memory-polaroid.is-large .memory-photo img{animation:none}}.dye-intro{color:var(--ink-soft);gap:8px;margin:0 0 12px;font-size:13px;line-height:1.4;display:flex}.dye-intro svg{color:var(--accent-strong);flex:none}.dye-slots,.dye-modes{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.dye-slots button,.dye-modes button{align-items:center;gap:6px;min-height:40px;display:inline-flex}.dye-dot{border:1px solid var(--line-strong);border-radius:50%;width:14px;height:14px}.dye-swatches{grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:8px;margin:6px 0 14px;display:grid}.dye-swatch{overflow-wrap:anywhere;border:1.5px solid var(--line);border-radius:var(--radius-full);background:var(--paper);min-width:0;min-height:44px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:8px;padding:4px 10px 4px 4px;font-size:12.5px;font-weight:600;display:flex}.dye-swatch span{border:1.5px solid var(--line-strong);background:var(--dye);border-radius:50%;flex:none;width:32px;height:32px}.dye-swatch:hover:not(:disabled){border-color:var(--accent)}.dye-swatch:disabled{opacity:.45;cursor:default}.dye-empty{color:var(--ink-soft);margin:4px 0 12px;font-size:13px;line-height:1.4}.dye-journal-button{border:1.5px solid var(--line-strong);border-radius:var(--radius-full);background:var(--paper);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;align-items:center;gap:8px;padding:0 14px;font-size:14px;font-weight:600;display:inline-flex}.dye-splash{z-index:15;pointer-events:none;background:radial-gradient(circle at 35% 55%, var(--dye) 0%, transparent 45%);opacity:0;animation:.7s ease-out dye-splash;position:fixed;inset:0}@keyframes dye-splash{20%{opacity:.55}to{opacity:0;scale:1.3}}@media (prefers-reduced-motion:reduce){.dye-splash{display:none}}.character-selection{flex-shrink:0;align-items:center;gap:10px;padding:8px 16px;display:flex;overflow-x:auto}.portrait-choice img{object-fit:cover;width:100%;height:100%}.portrait-choice[aria-pressed=true]{border:3px solid var(--accent)}.character-selection select{min-width:0}.add-room-button{background:var(--sage);width:100%;min-height:64px;color:var(--ink);box-shadow:var(--shadow-md);cursor:pointer;border:0;border-radius:12px;justify-content:center;align-items:center;gap:12px;padding:10px;font-size:14px;font-weight:600;display:flex}.add-room-button:hover{background:var(--sage-strong)}.character-editor{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.name-input{border:1px solid var(--line-strong);background:var(--paper);border-radius:12px;width:100%;min-width:0;height:48px;padding:0 12px;font-size:16px}.empty-studio{background:radial-gradient(ellipse at center, var(--portrait-glow), var(--tint));flex-direction:column;justify-content:center;align-items:center;gap:16px;display:flex}.empty-studio .add-room-button{width:auto;padding:10px 24px}.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:16px;display:grid}.character-card{border:1px solid var(--line);background:var(--paper);min-width:0;box-shadow:var(--shadow-sm);border-radius:16px;position:relative;overflow:hidden;container-type:inline-size}.character-portrait{aspect-ratio:1;background:var(--tint);cursor:grab;touch-action:none;justify-content:center;align-items:center;width:100%;display:flex}.character-portrait:active{cursor:grabbing}.character-portrait:disabled{opacity:1;cursor:default}.character-portrait img{object-fit:cover;pointer-events:none;width:100%;height:100%}.character-card h3{overflow-wrap:anywhere;margin:10px 12px 2px;font-size:14px;font-weight:600}.character-location{color:var(--ink-soft);align-items:center;margin:0 12px;font-size:11px;display:flex}.character-actions{justify-content:space-between;gap:6px;padding:8px 6px;display:flex}.character-delete{border-color:var(--line);background:var(--glass);width:44px;height:44px;color:var(--danger);flex-basis:44px;position:absolute;top:6px;right:6px}.heading-actions{align-items:center;gap:8px;display:flex}.done-button{color:var(--ink);background:var(--sage);border-color:var(--sage)}.done-button:hover{background:var(--sage-strong)}.body-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.body-options button{border:1.5px solid var(--line);background:var(--paper);text-transform:capitalize;cursor:pointer;border-radius:16px;flex-direction:column;justify-content:flex-end;align-items:center;height:112px;padding:6px;font-size:11px;display:flex}.body-styles{grid-template-columns:repeat(2,minmax(0,1fr))}.character-studio .studio-tabs button svg{width:20px;height:20px}.empty-friends{justify-content:center;align-items:flex-end;gap:4px;padding:24px 0;display:flex}.character-drag-preview{z-index:100;pointer-events:none;border:2px solid var(--accent);background:var(--tint);width:72px;height:72px;box-shadow:var(--shadow-md);border-radius:16px;position:fixed;overflow:hidden;transform:translate(-50%,-80%)}.character-drag-preview img{object-fit:cover;width:100%;height:100%}@media (width<=720px){.character-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.character-selection{padding:6px 14px}.portrait-choice{flex-basis:48px;height:48px}}.drawer-create{grid-template-columns:1fr 1fr;gap:10px;display:grid}.drawer-create .add-room-button{gap:8px;min-height:56px;padding:8px 10px;font-size:13px}.add-room-button.adopt-button{background:var(--accent)}.add-room-button.adopt-button:hover{background:var(--accent-hover)}.empty-studio .adopt-button{min-height:52px}.add-room-button.surprise-friend-button{background:var(--color-warm-honey);min-height:52px;color:var(--color-text-espresso)}.add-room-button.surprise-friend-button:hover{filter:brightness(1.05)}.drawer-subheading{font-family:var(--font-display);align-items:center;gap:8px;margin:22px 0 0;font-size:15px;font-weight:600;display:flex}.autonomy-levels{border:0;margin:8px 0 0;padding:0}.autonomy-levels button{border-color:var(--line);min-height:44px;font-size:14px}.character-free-will{border-color:var(--line);background:var(--color-periwinkle);width:44px;height:44px;color:var(--ink);position:absolute;top:6px;left:6px}.character-album{border-color:var(--line);background:var(--glass);width:44px;height:44px;color:var(--accent-strong);position:absolute;top:calc(100cqw - 50px);right:6px}.character-free-will[aria-pressed=false],.character-free-will:disabled{background:var(--glass);color:var(--ink-soft)}.drawer-pets .character-grid{padding-top:10px}.pet-card .character-portrait{background:radial-gradient(circle at 50% 60%, var(--portrait-glow), var(--tint))}.pet-portrait-choice{position:relative;overflow:visible}.pet-badge{border:1.5px solid var(--line);border-radius:var(--radius-full);background:var(--accent);color:var(--ink);box-sizing:content-box;padding:3px;position:absolute;bottom:-4px;right:-4px}.pet-note{border-radius:var(--radius-md);background:var(--accent-soft);color:var(--ink);gap:10px;margin:14px 0 0;padding:12px;font-size:13px;line-height:1.5;display:flex}.pet-note svg{flex:none;margin-top:1px}.pet-delete-button{border:1.5px solid var(--danger-line);border-radius:var(--radius-md);background:var(--paper);width:100%;min-height:44px;color:var(--danger);cursor:pointer;justify-content:center;align-items:center;gap:8px;margin-top:16px;font-size:14px;font-weight:600;display:inline-flex}.pet-delete-button:hover{background:var(--danger-soft)}.starter-family-button{background:var(--color-periwinkle);margin-top:12px}.starter-family-button:hover{background:var(--color-studio-lilac)}.twin-sparkle{z-index:10;pointer-events:none;filter:drop-shadow(0 1px 2px #2c221e4d);font-size:20px;line-height:1;animation:1.6s ease-in-out infinite twin-twinkle;position:fixed}@keyframes twin-twinkle{50%{opacity:.55;scale:.8}}@media (prefers-reduced-motion:reduce){.twin-sparkle{animation:none}}.drawer-journal-button{border:1.5px solid var(--line-strong);border-radius:var(--radius-md);background:var(--paper);width:100%;min-height:44px;color:var(--ink);font:inherit;cursor:pointer;justify-content:center;align-items:center;gap:8px;margin:12px 0 0;font-size:14px;font-weight:600;display:flex}.drawer-journal-button svg{color:var(--accent-strong)}.sun-heading output,.surface-room-size span{font-family:var(--font-mono);font-variant-numeric:tabular-nums}.build-surface{z-index:14;pointer-events:none;position:absolute;inset:0;overflow:hidden}.surface-room-bar{align-items:center;gap:6px;display:flex;position:absolute;top:12px;left:12px}.surface-room-size{background:var(--glass);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:12px;margin-left:4px;padding:4px 10px;font-size:13px;font-weight:600}.surface-room-size span{font-variant-numeric:tabular-nums;font-size:11px;font-weight:400;display:block}.scene-anchor{gap:4px;display:flex;position:absolute;transform:translate(-50%,-50%)}.wall-handle-group{background:color-mix(in srgb, var(--paper) 65%, transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--shadow-md);border-radius:16px;padding:4px}.wall-resize{cursor:grab}.resize-arrow{pointer-events:none;display:inline-flex}.room-add{color:var(--ink);background:var(--sage);border-color:var(--sage)}.selection-tools{z-index:2}.surface-toolbar{border:1px solid var(--line);background:var(--glass-strong);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);width:max-content;max-width:calc(100vw - 24px);box-shadow:var(--shadow-md);border-radius:18px;flex-wrap:wrap;justify-content:center;gap:3px;padding:4px;display:flex}.surface-toolbar .remove-tool{color:var(--danger)}.surface-sun{z-index:3;pointer-events:auto;position:absolute;top:12px;right:12px}.sun-toggle{color:var(--accent-strong);background:var(--accent-soft);border-color:var(--accent);float:right}.sun-popover{border:1px solid var(--line);background:var(--paper);width:186px;box-shadow:var(--shadow-md);border-radius:16px;position:absolute;top:58px;right:0}.sun-heading{color:var(--ink-soft);justify-content:space-between;padding:12px 12px 0;font-size:11px;display:flex}.sun-heading output{font-variant-numeric:tabular-nums}.sun-pad{touch-action:none;background:linear-gradient(#e9eef6,#fdf1dc);border-radius:12px;height:128px;margin:8px;position:relative}.sun-compass{color:var(--ink-soft);pointer-events:none;justify-content:space-between;font-size:9px;display:flex;position:absolute;bottom:3px;left:17px;right:17px}.sun-handle{color:var(--ink);background:var(--accent);border-color:var(--accent-strong);cursor:grab;border-radius:50%;position:absolute;transform:translate(-50%,-50%)}.sun-handle:active{cursor:grabbing}.surface-message{border:1px solid var(--danger-line);background:var(--danger-soft);width:max-content;max-width:calc(100% - 24px);color:var(--danger);text-align:center;box-shadow:var(--shadow-sm);border-radius:12px;padding:8px 14px;font-size:12px;position:absolute;bottom:12px;left:50%;transform:translate(-50%)}.surface-message.draw-hint{border-color:var(--line);background:var(--glass);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--ink)}.draw-outline{pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.draw-outline polygon{fill:#38a9bb38;stroke:#38a9bb;stroke-width:3px;stroke-linejoin:round}.draw-label{border-radius:var(--radius-md);background:var(--glass);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:var(--shadow-sm);font-variant-numeric:tabular-nums;pointer-events:none;white-space:nowrap;padding:4px 10px;font-size:12px;font-weight:600;position:absolute;transform:translate(-50%,-50%)}@media (width>=721px){.surface-sun{right:56px}}@media (width<=720px){.surface-room-bar{gap:4px;top:8px;left:8px}.surface-room-size{font-size:11px}.surface-room-size span{font-size:10px}.surface-sun{top:8px;right:8px}.sun-popover{width:166px}.sun-pad{height:110px}.selection-tools.wall-tools{bottom:8px;transform:translate(-50%);top:auto!important;left:50%!important}.build-surface:has(.wall-tools) .surface-message{bottom:70px}}@media (width<=370px){.surface-room-size{display:none}}.openings-editor h3{margin:14px 0 8px}.aperture-editor{border:1.5px solid var(--accent);background:var(--paper);border-radius:16px;padding:12px}.aperture-actions{gap:4px;display:flex}.aperture-position{grid-template-columns:1fr auto auto;align-items:center;gap:6px;margin-top:14px;font-size:12px;font-weight:600;display:grid}.aperture-position output{font-variant-numeric:tabular-nums;color:var(--ink-soft);grid-column:1/-1;font-weight:400}.aperture-add-heading{margin-top:18px}.roof-pitches{grid-template-columns:repeat(3,minmax(0,1fr))}.roof-pitches button{min-height:52px}.furniture-editor>summary{cursor:pointer;min-height:48px;color:var(--ink);align-items:center;gap:10px;font-weight:600;list-style:none;display:flex}.furniture-editor>summary::-webkit-details-marker{display:none}.furniture-editor>summary>span{overflow-wrap:anywhere;flex:1}.furniture-editor>summary:after{content:"+";color:var(--accent);font-size:22px;font-weight:300}.furniture-editor[open]>summary:after{content:"−"}.furniture-channels{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px;display:grid}.furniture-channels button{border:1px solid var(--line);background:var(--paper);cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:66px;padding:6px;font-size:11px;display:flex}.furniture-channels button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong);font-weight:600}.furniture-channels button>span{border:1px solid #29272b33;border-radius:50%;width:24px;height:24px}.build-history{gap:6px;display:flex}.room-surfaces{margin-top:12px}.collection-item{min-width:0;position:relative}.collection-item>button:first-child{width:100%}.catalog-search{border:1.5px solid var(--line);border-radius:var(--radius-md);background:var(--paper);min-height:44px;color:var(--ink-soft);align-items:center;gap:8px;margin-bottom:12px;padding:0 12px;display:flex}.catalog-search:focus-within{border-color:var(--accent)}.catalog-search input{min-width:0;min-height:40px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:16px}.collection-picks{margin-bottom:14px}.collection-picks h4{color:var(--ink-soft);margin:0 0 8px;font-size:12px;font-weight:700}.collection-heading{align-items:center;gap:10px;min-height:44px;margin-bottom:12px;display:flex}.room-type-filter{border:0;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:0 0 12px;padding:0;display:grid}.room-type-filter button>span{overflow-wrap:anywhere;max-width:100%}.construction-tabs button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.room-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.room-choices button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong);font-weight:600}.room-choices svg{width:64px;height:64px}.floor-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;display:flex}.floor-tools h3{flex-basis:100%;align-items:center;gap:6px;margin:0;display:flex}.floor-choices{gap:4px;display:flex}.floor-choices button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}.room-tools{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 14px;display:flex}@media (width<=720px){.build-history{z-index:2;margin-top:-12px;position:relative}}.camera-controls{z-index:13;border:1px solid var(--line);background:var(--glass-strong);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--shadow-md);border-radius:18px;flex-direction:column;gap:3px;padding:4px;display:flex;position:absolute;bottom:12px;right:12px}.level-selector,.view-toggle{border-bottom:1px solid var(--line);flex-direction:column;gap:3px;padding-bottom:4px;display:flex}@media (width<=720px){.camera-controls{grid-template-columns:repeat(2,44px);display:grid;bottom:8px;right:8px}.level-selector{grid-column:1/-1;align-items:center}.view-toggle{flex-direction:row;grid-column:1/-1}}.studio-watch-links{margin-top:10px}.studio-watch-links summary{cursor:pointer;align-items:center;min-height:44px;font-size:13px;font-weight:700;display:flex}.studio-watch-link-title{text-overflow:ellipsis;white-space:nowrap;grid-area:title;margin:0;padding:4px 9px 0;font-size:14px;font-weight:700;overflow:hidden}.atmosphere-control{z-index:15;flex-direction:column;align-items:flex-start;gap:8px;max-height:calc(100% - 24px);display:flex;position:absolute;bottom:12px;left:12px}.atmosphere-toggle{color:var(--accent-strong);background:var(--glass-strong);box-shadow:var(--shadow-md)}.atmosphere-toggle[aria-expanded=true]{background:var(--accent-soft);border-color:var(--accent)}.atmosphere-popover{border:1.5px solid var(--line);background:var(--paper);width:296px;min-height:0;box-shadow:var(--shadow-md);border-radius:16px;padding:12px;overflow-y:auto}.atmosphere-popover h3{text-transform:uppercase;color:var(--ink-soft);justify-content:space-between;align-items:baseline;margin:12px 0 8px;font-size:11px;font-weight:700;display:flex}.atmosphere-popover h3:first-child{margin-top:0}.atmosphere-popover h3 output{font-family:var(--font-mono);font-weight:500}.atmosphere-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.atmosphere-presets button{border:1.5px solid var(--line);background:var(--paper);min-height:78px;color:var(--ink);cursor:pointer;border-radius:12px;flex-direction:column;align-items:center;gap:4px;padding:5px;font-size:10.5px;line-height:1.15;display:flex}.atmosphere-presets button:hover{border-color:var(--line-strong);box-shadow:var(--shadow-sm)}.atmosphere-presets button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);font-weight:700}.preset-sample{width:100%;height:38px;color:var(--ink);border-radius:8px;place-items:center;display:grid}.preset-sample[data-dark=true]{color:#fff3d6}.atmosphere-weather,.atmosphere-miniature{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.atmosphere-miniature{grid-template-columns:repeat(3,minmax(0,1fr))}.atmosphere-weather.atmosphere-season{grid-template-columns:repeat(5,minmax(0,1fr))}.atmosphere-season button{padding-inline:0}.atmosphere-season+.atmosphere-row{margin-top:6px}.atmosphere-weather button,.atmosphere-miniature button,.atmosphere-row button{border:1px solid var(--line);background:var(--tint);min-height:52px;color:var(--ink);cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:4px;font-size:11px;display:flex}.atmosphere-weather button:hover:not(:disabled),.atmosphere-miniature button:hover:not(:disabled),.atmosphere-row button:hover:not(:disabled){border-color:var(--line-strong)}.atmosphere-weather button[aria-pressed=true],.atmosphere-miniature button[aria-pressed=true],.atmosphere-row button[aria-pressed=true]{background:var(--color-periwinkle);border-color:var(--color-periwinkle);font-weight:700}.atmosphere-row button:disabled{color:var(--ink-soft);opacity:.6;cursor:default}.atmosphere-row{grid-template-columns:1fr 1fr;align-items:center;gap:6px;display:grid}.atmosphere-miniature+.atmosphere-row,.atmosphere-focus+.atmosphere-row{margin-top:6px}.atmosphere-row .atmosphere-wide{flex-direction:row;grid-column:1/-1;gap:8px;min-height:44px}.atmosphere-focus{gap:2px;margin-top:6px;display:grid}.atmosphere-focus label{color:var(--ink-soft);grid-template-columns:74px minmax(0,1fr);align-items:center;gap:8px;font-size:11px;display:grid}.atmosphere-focus input[type=range]{width:100%;min-width:0;height:36px;accent-color:var(--accent);cursor:pointer}.atmosphere-focus input:disabled{opacity:.5;cursor:default}.atmosphere-hint{color:var(--ink-soft);margin:6px 0 0;font-size:11px;line-height:1.4}@media (width<=720px){.atmosphere-control{max-height:calc(100% - 16px);bottom:8px;left:8px}.atmosphere-popover{width:min(296px,100vw - 120px)}}.account-control{position:relative}.tip-jar-toggle{z-index:16;border:1.5px solid var(--accent);background:var(--accent-soft);height:48px;color:var(--ink);font-family:var(--font-display);box-shadow:var(--shadow-md);cursor:pointer;border-radius:14px;align-items:center;gap:8px;padding:0 16px 0 12px;font-size:13px;font-weight:700;display:inline-flex;position:absolute;bottom:12px;left:68px}.tip-jar-toggle:hover{background:var(--accent)}.tip-jar-toggle svg{color:var(--accent-strong);flex-shrink:0}.tip-jar-toggle:hover svg{color:var(--ink)}@media (width<=720px){.tip-jar-toggle{justify-content:center;width:48px;padding:0;bottom:8px;left:60px}.tip-jar-toggle-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.help-control{position:relative}.help-toggle[aria-expanded=true]{border-color:var(--accent);background:var(--accent-soft)}.help-popover{width:248px}.help-popover h3{font-family:var(--font-display);margin:0 0 8px;font-size:16px}.help-options{flex-direction:column;gap:4px;display:flex}.help-switches{border-top:1.5px solid var(--line);margin-top:8px;padding-top:8px}.help-options a,.help-options button{border-radius:var(--radius-md);min-height:44px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:1.5px solid #0000;align-items:center;gap:10px;padding:0 12px;font-size:14px;font-weight:600;text-decoration:none;display:flex}.help-options a:hover,.help-options button:hover{background:var(--tint)}.help-options svg{color:var(--accent-strong);flex:none}.help-state{color:var(--ink-soft);margin-left:auto;font-size:13px}.help-options button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.help-options button[aria-pressed=true] .help-state{color:var(--accent-strong)}.help-options .help-restore{min-height:44px;color:var(--ink-soft);padding-left:16px;font-size:13px;font-weight:500}.multiplayer-control{position:relative}.multiplayer-primary,.multiplayer-secondary,.multiplayer-end{border:1px solid var(--line-strong);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:0 13px;font-size:13px;font-weight:700;display:inline-flex}.multiplayer-primary{border-color:var(--accent);background:var(--accent)}.multiplayer-secondary{background:var(--paper)}.multiplayer-primary:disabled,.multiplayer-secondary:disabled,.multiplayer-end:disabled{opacity:.55;cursor:default}.multiplayer-request{border:1px solid var(--line);border-radius:9px;grid-template-columns:1fr auto auto;align-items:center;gap:6px;margin-top:6px;padding:8px;display:grid}.multiplayer-request .multiplayer-primary,.multiplayer-request .multiplayer-secondary{min-height:38px;padding:0 9px}.multiplayer-control{align-items:center;gap:6px;display:flex}.multiplayer-toggle[data-waiting]:after{content:"";border:2px solid var(--paper);background:#e0a96d;border-radius:50%;width:9px;height:9px;position:absolute;top:6px;right:6px}.multiplayer-request-toast{z-index:30;border:1.5px solid var(--line);background:var(--paper);width:300px;max-width:calc(100vw - 20px);box-shadow:var(--shadow-md);border-radius:16px;padding:10px;position:absolute;top:calc(100% + 12px);right:0}.multiplayer-requests{gap:6px;display:grid}.consent-dialog{border:1.5px solid var(--line);background:var(--paper);width:min(360px,100vw - 24px);color:var(--ink);box-shadow:var(--shadow-lg);text-align:center;border-radius:16px;padding:20px}.consent-dialog::backdrop{background:#2c221e5c}.consent-dialog h2{font:600 18px/1.3 var(--font-display);overflow-wrap:anywhere;margin:8px 0 6px}.consent-dialog p{color:var(--ink-soft);margin:0 0 16px;font-size:13px}.consent-timer{font-family:var(--font-mono)}.consent-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.clear-view-exit:hover{background:var(--tint)}.clear-view-exit svg{color:var(--accent-strong)}.clear-view-exit[data-idle=true]{opacity:0}.shortcuts-list{text-align:left;gap:8px;margin:14px 0 0;display:grid}.shortcuts-list>div{grid-template-columns:9.5em 1fr;align-items:baseline;gap:10px;display:grid}.shortcuts-list dd{color:var(--ink-soft);margin:0;font-size:14px}.shortcuts-list kbd{font-family:var(--font-mono);font-size:12px;font-weight:600}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.guide-card{z-index:20;border:1.5px solid var(--line);border-radius:var(--radius-lg);width:272px;color:var(--ink);background:var(--glass-strong);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--shadow-md);padding:12px 12px 14px;position:absolute;top:112px;left:16px}.guide-card[data-mode=build]{top:176px}.guide-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.guide-heading h2{font-family:var(--font-display);align-items:center;gap:8px;margin:0 auto 0 4px;font-size:16px;font-weight:600;display:flex}.guide-heading svg{color:var(--accent-strong)}.guide-steps{gap:6px;margin:6px 0 0;padding:0;font-size:14px;font-weight:500;list-style:none;display:grid}.guide-steps li{border-radius:var(--radius-md);align-items:flex-start;gap:10px;padding:6px 8px;display:flex}.guide-steps li[aria-current=step]{background:var(--accent-soft);font-weight:600}.guide-steps li[data-done=true]{color:var(--ink-soft);text-decoration:line-through}.guide-steps small{color:var(--ink-soft);margin-top:2px;font-size:13px;font-weight:500;line-height:1.4;display:block}.guide-mark{border:1.5px solid var(--line-strong);border-radius:var(--radius-full);flex:none;justify-content:center;align-items:center;width:22px;height:22px;font-size:12px;font-weight:700;text-decoration:none;display:inline-flex}.guide-steps li[data-done=true] .guide-mark{border-color:var(--success-ink);background:var(--success-soft);color:var(--success-ink)}.guide-done{margin:8px 4px 0;font-size:14px}.guide-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.guide-actions button{border:1.5px solid var(--line-strong);border-radius:var(--radius-md);min-height:44px;color:var(--ink);background:var(--paper);cursor:pointer;flex:auto;justify-content:center;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.guide-actions button:hover{background:var(--tint)}.guide-hint{z-index:25;border:1.5px solid var(--line);border-radius:var(--radius-full);width:max-content;max-width:min(440px,100% - 32px);color:var(--ink);background:var(--glass-strong);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--shadow-md);align-items:center;gap:8px;margin:0;padding:6px 6px 6px 14px;font-size:14px;font-weight:500;display:flex;position:absolute;bottom:72px;left:50%;translate:-50%}.guide-hint>svg{color:var(--accent-strong);flex:none}@media (width<=720px){.guide-card{width:auto;top:136px;left:12px;right:60px}.guide-steps li:not([aria-current=step]),.guide-card[data-mode=build],.guide-card[data-mode=character]{display:none}.guide-hint{width:auto;max-width:none;bottom:172px;left:12px;right:12px;translate:none}}.cozy-prompt{z-index:20;border:1.5px solid var(--line);border-radius:var(--radius-lg);width:272px;color:var(--ink);background:var(--glass-strong);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--shadow-md);padding:10px 10px 12px 12px;position:absolute;top:112px;left:16px}.cozy-prompt[data-mode=build]{top:176px}.cozy-prompt[data-collapsed=true]{width:auto;padding-bottom:10px}.cozy-prompt[data-done=true]{border-color:var(--accent)}.cozy-prompt-heading{align-items:center;gap:6px;display:flex}.cozy-prompt-heading h2{font-family:var(--font-display);flex:1;align-items:center;gap:8px;margin:0 0 0 2px;font-size:15px;font-weight:600;display:flex}.cozy-prompt-heading h2 svg{color:var(--accent-strong)}.cozy-prompt-heading .icon-button{border-color:var(--line);width:44px;height:44px;box-shadow:none;background:0 0;flex-basis:44px}.cozy-prompt-body p{align-items:flex-start;gap:6px;margin:4px 4px 0;font-size:15px;font-weight:600;line-height:1.4;display:flex}.cozy-prompt-body p svg{color:var(--success-ink);flex:none;margin-top:3px}.cozy-prompt-sparkles{letter-spacing:2px;font-size:14px}.cozy-prompt[data-done=true] .cozy-prompt-sparkles{animation:1.4s ease-out both cozy-sparkle}.cozy-prompt-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px;display:flex}.cozy-prompt-actions button{border:1.5px solid var(--line-strong);border-radius:var(--radius-full);background:var(--paper);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:600;display:inline-flex}.cozy-prompt-actions button:hover{background:var(--accent-soft)}.cozy-prompt-kept{color:var(--success-ink);font-size:13px;font-weight:600}@keyframes cozy-sparkle{0%{opacity:0;translate:0 8px;scale:.4}40%{opacity:1;scale:1.2}to{opacity:1;translate:0;scale:1}}@media (prefers-reduced-motion:reduce){.cozy-prompt[data-done=true] .cozy-prompt-sparkles{animation:none}}@media (width<=720px){.cozy-prompt{width:auto;top:136px;left:12px;right:60px}.cozy-prompt[data-collapsed=true]{right:auto}.cozy-prompt[data-mode=build]{display:none}}.feature-hint{z-index:25;border:1.5px solid var(--line);border-radius:var(--radius-lg);width:max-content;max-width:min(560px,100% - 32px);color:var(--ink);background:var(--glass-strong);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:var(--shadow-md);align-items:center;gap:10px;margin:0;padding:6px 6px 6px 14px;font-size:14px;font-weight:500;line-height:1.4;animation:.3s ease-out feature-hint-in;display:flex;position:absolute;bottom:72px;left:50%;translate:-50%}.feature-hint[data-mode=studio]{bottom:92px}p.feature-hint{padding:10px 16px 10px 14px}.feature-hint>svg{color:var(--accent-strong);flex:none}.feature-hint>p{margin:0}.feature-hint-actions{flex:none;gap:4px;display:flex}.feature-hint-actions button{border-radius:var(--radius-md);min-height:44px;color:var(--ink);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:1.5px solid #0000;padding:0 14px;font-size:13px;font-weight:600}.feature-hint-actions .feature-hint-off{color:var(--ink-soft)}.feature-hint-actions button:hover{background:var(--tint)}.feature-hint-actions .feature-hint-ok{border-color:var(--line-strong);background:var(--paper)}@keyframes feature-hint-in{0%{opacity:0;translate:-50% 8px}}@media (prefers-reduced-motion:reduce){.feature-hint{animation:none}}@media (width<=720px){.feature-hint{flex-wrap:wrap;width:auto;max-width:none;padding:8px 8px 6px 14px;bottom:172px;left:12px;right:12px;translate:none}.feature-hint[data-mode=studio]{bottom:280px}.feature-hint>p{flex:1 1 0}.feature-hint-actions{justify-content:flex-end;width:100%}@keyframes feature-hint-in{0%{opacity:0;translate:0 8px}}}.update-notice{z-index:210;border:1.5px solid var(--line);background:var(--paper);width:max-content;max-width:calc(100vw - 24px);box-shadow:var(--shadow-md);color:var(--ink);border-radius:999px;align-items:center;gap:10px;padding:6px 6px 6px 16px;font-size:13px;font-weight:600;display:flex;position:fixed;top:76px;left:50%;transform:translate(-50%)}.update-notice button{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:6px;min-height:36px;display:inline-flex}.update-notice-reload{background:var(--accent-strong);color:var(--paper);padding:0 14px}.update-notice-reload:hover{background:var(--ink)}.update-notice-close{width:36px;color:var(--ink-soft)}.update-notice-close:hover{background:var(--tint)}@media (width<=720px){.update-notice{top:134px}}.install-guide-steps{color:var(--ink);text-align:left;gap:8px;margin:12px 0;padding-left:22px;font-size:14px;line-height:1.5;display:grid}.install-guide-steps svg{vertical-align:-3px;color:var(--accent-strong);display:inline-block}.settings-control{position:relative}.settings-toggle[aria-expanded=true]{border-color:var(--accent);background:var(--accent-soft)}.settings-popover{width:296px;max-height:calc(100dvh - 120px);overflow-y:auto}.settings-popover h3{text-transform:uppercase;color:var(--ink-soft);margin:12px 0 8px;font-size:11px;font-weight:700}.settings-popover h3:first-child{margin-top:0}.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.settings-row{grid-template-columns:1fr 1fr;align-items:center;gap:6px;display:grid}.settings-grid button,.settings-row button{border:1px solid var(--line);background:var(--tint);min-height:52px;color:var(--ink);font:inherit;text-align:center;cursor:pointer;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:4px;font-size:11px;line-height:1.2;display:flex}.settings-grid button:hover,.settings-row button:hover{border-color:var(--line-strong)}.settings-grid button[aria-pressed=true],.settings-grid button[aria-checked=true],.settings-row button[aria-pressed=true]{background:var(--color-periwinkle);border-color:var(--color-periwinkle);font-weight:700}.settings-sound{align-items:stretch}.settings-volumes{gap:2px;display:grid}.settings-volumes label{min-width:0;color:var(--ink-soft);align-items:center;gap:6px;display:flex}.settings-volumes svg{flex-shrink:0}.settings-volumes input[type=range]{width:100%;min-width:0;height:36px;accent-color:var(--accent);cursor:pointer}.settings-volumes input:disabled{cursor:default}.settings-haptics{margin-top:6px}.settings-row .settings-wide{flex-direction:row;grid-column:1/-1;gap:8px;min-height:44px}.settings-hint{color:var(--ink-soft);margin:6px 0 0;font-size:11px;line-height:1.4}.feature-hint.graphics-notice{max-width:min(420px,100% - 32px);bottom:132px}@media (width<=720px){.feature-hint.graphics-notice{bottom:232px}}
