/*! © 2026 暖溪村 Warmbrook · warmbrook.place · 保留所有权利 */
.hr-room.card{padding:0;overflow:hidden}.hr-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;flex-wrap:wrap}.hr-heading h3{margin:0;display:inline}.hr-cozy{margin-left:10px;color:#82745f;font-size:12px;white-space:nowrap}.hr-actions{display:flex;gap:6px;flex-wrap:wrap}.hr-actions .btn{min-height:38px}.hr-stage{position:relative;width:100%;aspect-ratio:3 / 2;isolation:isolate;overflow:hidden;background:#f4efe5;user-select:none;-webkit-user-select:none}.hr-backdrop{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.hr-floor-guide{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:3}.hr-floor-guide polygon{fill:#fff8df12;stroke:#fff8dfb3;stroke-width:.3;stroke-dasharray:1 1}.hr-stage.is-moving .hr-floor-guide{display:block}.hr-piece{position:absolute;padding:0;margin:0;border:0;background:transparent;border-radius:4px;cursor:pointer;line-height:0;transform:translate(-50%,-100%);touch-action:auto;-webkit-tap-highlight-color:transparent}.hr-piece:after{content:"";position:absolute;width:max(100%,44px);height:max(100%,44px);left:50%;top:50%;transform:translate(-50%,-50%)}.hr-stage .hr-piece img{height:100%;width:auto;max-width:none;display:block;pointer-events:none;-webkit-user-drag:none}.hr-stage .hr-art{display:block;position:relative;height:100%;transform:scaleX(var(--facing, 1));pointer-events:none}.hr-stage .hr-by-width img{width:100%;height:auto}.hr-stage .hr-by-width .hr-art{height:auto}.hr-stage .hr-anchor-rug .hr-flat-rug{transform:scale(var(--facing, 1),.5)}.hr-stage .hr-anchor-floor .hr-art:before{content:"";position:absolute;left:6%;right:6%;bottom:var(--shadow-base, 0);aspect-ratio:6 / 1;transform:translateY(45%);border-radius:50%;background:radial-gradient(closest-side,#54381c75,#54381c29 60%,#54381c00);z-index:-1}.hr-stage .hr-anchor-floor img{filter:drop-shadow(0 1.5px 1.5px rgba(70,45,20,.28))}.hr-glowing:before{content:"";position:absolute;inset:-30% -45%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 50% 55%,rgba(255,216,119,.5),rgba(255,219,139,.18) 38%,transparent 70%)}.hr-piece[data-item=sunflower_floor_lamp]:before{inset:-12% -45% 48%;background:radial-gradient(ellipse closest-side at 50% 42%,rgba(255,218,116,.34),rgba(255,218,116,.1) 38%,transparent 100%)}.hr-piece[data-item=candy_ghost_plush]:before{inset:-22% -30%;background:radial-gradient(ellipse at 50% 48%,rgba(255,255,248,.4),rgba(229,246,255,.16) 36%,rgba(204,226,255,.05) 57%,transparent 72%);filter:blur(.8px);animation:hr-ghost-glow 2.8s ease-in-out infinite}.hr-stage .hr-piece[data-item=candy_ghost_plush] .hr-art img{filter:drop-shadow(0 0 1px rgba(255,255,248,.58)) drop-shadow(0 0 4px rgba(221,240,255,.36)) drop-shadow(0 2px 2px rgba(70,45,20,.18))}@keyframes hr-ghost-glow{0%,to{opacity:.6;transform:scale(.98)}50%{opacity:.85;transform:scale(1.02)}}.hr-anchor-rug,.hr-anchor-wall{transform:translate(-50%,-50%)}.hr-anchor-ceiling{transform:translate(-50%)}.hr-stage.is-editing{touch-action:none}.hr-stage.is-editing .hr-piece{cursor:grab;touch-action:none}.hr-stage.is-moving .hr-piece{cursor:grabbing}.hr-piece.is-selected .hr-art{filter:drop-shadow(0 0 2px #fff9e7) drop-shadow(0 0 2px #506742)}.hr-piece:focus-visible{outline:2px solid #fff9e7;outline-offset:4px}.hr-fallback{mix-blend-mode:multiply}.hr-night:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#26346080,#343a5c6b);mix-blend-mode:multiply}.hr-night .hr-backdrop{filter:brightness(.78) saturate(.8)}.hr-night-art:after{display:none}.hr-night-art .hr-backdrop{filter:none}.hr-visit+h4,.hr-visit~h4{margin-top:14px}.hr-night .hr-art img{filter:brightness(.7) saturate(.82)}.hr-night .hr-glowing .hr-art img{filter:none}.hr-night .hr-glowing:before{z-index:0;inset:-60% -90%;mix-blend-mode:screen;background:radial-gradient(ellipse at 50% 50%,rgba(255,206,120,.55),rgba(255,196,110,.2) 40%,transparent 70%)}.hr-night .hr-piece[data-item=sunflower_floor_lamp]:before{inset:-18% -60% 42%;background:radial-gradient(ellipse closest-side at 50% 42%,rgba(255,215,108,.65),rgba(255,207,100,.2) 38%,transparent 100%)}.hr-night .hr-piece[data-item=candy_ghost_plush]:before{inset:-30% -42%;background:radial-gradient(ellipse at 50% 48%,rgba(255,255,250,.48),rgba(225,244,255,.2) 35%,rgba(194,221,255,.06) 58%,transparent 73%)}.hr-selection{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 18px 0}.hr-selection:empty{display:none}.hr-selected-name{font-weight:600;margin-right:auto}.hr-surface-label{color:#82745f;font-size:12px}.hr-surface select{max-width:175px;border:1px solid var(--line);color:var(--ink);background:var(--card2);border-radius:8px;min-height:36px;padding:4px 8px;font:inherit;font-size:13px}.hr-notice{color:#82745f;font-size:12px;padding:8px 18px 12px}.hr-notice:empty{display:none}.hr-notice.is-error{color:#9e5438}.hr-storage{padding:12px 18px 18px;background:var(--card2);border-top:1px solid var(--line)}.hr-storage[hidden]{display:none}.hr-storage-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.hr-storage-heading span{color:#82745f;font-size:12px}.hr-inventory{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;max-height:300px;overflow-y:auto;overscroll-behavior:contain}.hr-inventory-item{border:1px solid var(--line);border-radius:10px;background:var(--card);font:inherit;color:var(--ink);cursor:pointer;padding:10px 6px 7px;display:flex;flex-direction:column;align-items:center;gap:5px}.hr-inventory-item:hover{border-color:var(--green);background:#f0f3e8}.hr-inventory-item:disabled{opacity:.6;cursor:default}.hr-inventory-art{width:60px;height:60px;display:grid;place-items:center}.hr-inventory-art .hr-art{display:grid;place-items:center;width:60px;height:60px}.hr-inventory-art img{display:block;max-width:56px;max-height:56px;width:auto;height:auto;pointer-events:none}.hr-inventory-item span{font-size:12px;line-height:1.4}.hr-inventory-item b{font-size:11px;color:#82745f;font-weight:400}.hr-empty-storage{margin:5px 0;font-size:13px;color:#82745f}.hr-visit{margin:12px 0;border-radius:12px;overflow:hidden}.hr-readonly .hr-piece{cursor:help}.hr-surface .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:520px){.hr-heading{padding:12px;gap:8px}.hr-heading>div:first-child{width:100%}.hr-actions{margin-left:auto}.hr-actions .btn,.hr-selection .btn{min-height:42px}.hr-selection{padding:10px 12px 0;gap:7px}.hr-selected-name{flex-basis:100%}.hr-surface select{min-height:42px;font-size:16px;max-width:170px}.hr-notice{padding:8px 12px 12px}.hr-storage{padding:12px}.hr-inventory{grid-template-columns:repeat(3,minmax(0,1fr));max-height:240px}}.hr-stage .hr-anchor-ceiling .hr-art:after{content:"";position:absolute;left:50%;bottom:99%;width:1px;height:600%;background:#60462c8c}.house-walk{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:5px;margin:0 0 9px}.house-walk>span:last-child{text-align:right}.house-walk>b{color:var(--muted);font-size:12px;font-weight:500}.house-walk .btn{min-height:36px;padding:5px 7px;font-size:12px}.house-heart{font-weight:400}.house-send-street{align-self:center;margin-top:5px}.hr-pet{position:absolute;width:auto;max-width:none;transform:translate(-50%,-100%);padding:0;margin:0;border:0;background:transparent;border-radius:8px;line-height:0;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.hr-pet:after{content:"";position:absolute;inset:-8px -3px}.hr-pet img{display:block;height:100%;width:auto;max-width:none;pointer-events:none;transform-origin:50% 90%;filter:drop-shadow(0 2px 1px rgba(66,46,22,.2))}.hr-bird-idle{display:block;height:100%;transform-origin:50% 95%;pointer-events:none;animation:hr-bird-idle 13s ease-in-out infinite;animation-delay:var(--bird-delay,0s)}.hr-pet:is([data-pose="0"],[data-pose="3"],[data-pose="4"],[data-pose="5"]) .hr-bird-idle,.hr-night .hr-bird-idle{animation:none}@keyframes hr-bird-idle{0%,26%,34%,67%,75%,to{transform:none}29%,31%{transform:rotate(-5deg)}69%{transform:translateY(-2px) rotate(2deg)}72%{transform:translateY(0) scale(1.025,.975)}}.hr-pet:focus-visible{outline:2px solid #bda36f;outline-offset:4px}.hr-stage.is-editing .hr-pet{cursor:default}.hr-night .hr-pet img{filter:brightness(.78) saturate(.85) drop-shadow(0 2px 1px rgba(35,30,40,.3))}.hr-pet-name{position:absolute;transform:translate(-50%);color:#65543e;font-size:10px;line-height:1.35;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;text-shadow:0 0 2px #fff9ed,0 0 5px #fff9ed,0 0 8px #fff9edb3}.hr-night .hr-pet-name{color:#eee5d0;text-shadow:0 0 3px #292532,0 0 7px #fff0ce66}.hr-pet.is-nuzzling img{animation:hr-pet-nuzzle .95s ease-in-out}.hr-pet.is-dozing img{animation:hr-pet-doze 1.35s ease-in-out}@keyframes hr-pet-nuzzle{0%,to{transform:none}18%{transform:translateY(1px) scale(1.06,.94)}42%{transform:translate(var(--pet-nudge),-4px) rotate(-6deg) scale(.98,1.03)}68%{transform:translateY(-1px) rotate(3deg)}85%{transform:scale(1.02,.98)}}@keyframes hr-pet-doze{0%,to{transform:none}40%{transform:translateY(-1px) rotate(-2deg) scale(1.025,1.06)}72%{transform:rotate(1deg) scale(1.015,1.02)}}.hr-pet-speech{position:absolute;z-index:400000;width:max-content;max-width:calc(100% - 16px);padding:7px 11px;box-sizing:border-box;border:1px solid #d8c7a8;border-radius:14px;background:#fff9ed;color:#65523e;font-size:13px;line-height:1.5;text-align:center;overflow-wrap:anywhere;pointer-events:none;box-shadow:0 2px 7px #503b2920;transform:translate(-50%,-100%);animation:hr-pet-words 2.7s ease both}.hr-pet-speech:after{content:"";position:absolute;left:var(--tail-left);bottom:-5px;width:8px;height:8px;background:inherit;border-right:1px solid #d8c7a8;border-bottom:1px solid #d8c7a8;transform:translate(-50%) rotate(45deg)}@keyframes hr-pet-words{0%{opacity:0;transform:translate(-50%,calc(-100% + 4px))}10%,85%{opacity:1;transform:translate(-50%,-100%)}to{opacity:0;transform:translate(-50%,calc(-100% - 3px))}}@media(prefers-reduced-motion:reduce){.hr-bird-idle,.hr-pet.is-nuzzling img,.hr-pet.is-dozing img,.hr-pet-speech,.hr-piece[data-item=candy_ghost_plush]:before,.hr-gift.is-arriving{animation:none}.hr-glint{animation:none;opacity:.85;transform:scale(.8)}.hr-glint+.hr-glint{display:none}}.hr-gifts{position:absolute;left:3%;bottom:3%;display:flex;align-items:flex-end;gap:1.2%;width:62%;z-index:300000;pointer-events:none}.hr-gift{position:relative;flex:0 0 auto;width:10.7%;max-width:51px;aspect-ratio:1;padding:0;border:0;background:none;cursor:pointer;pointer-events:auto;transition:transform .25s ease}.hr-plate{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;border-radius:12%;border:1.5px solid rgba(196,165,114,.7);background:#fbf8eb;box-shadow:0 3px 5px -1px #3c281259,inset 0 0 0 2px #ffffff8c}.hr-plate .spr,.hr-plate .emj{width:92%;height:92%;mix-blend-mode:multiply}.hr-plate .spr-cut,.hr-plate img[src*=".png"]{mix-blend-mode:normal}.hr-plate .emj{display:grid;place-items:center;font-size:15px;mix-blend-mode:normal}.hr-gift:hover,.hr-gift:focus-visible{transform:translateY(-3px)}.hr-gift:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:12%}.hr-gift.is-arriving{animation:hr-gift-land .62s cubic-bezier(.3,1.35,.5,1) both;animation-delay:calc(var(--i) * .14s + .2s)}@keyframes hr-gift-land{0%{opacity:0;transform:translateY(-16px) scale(.9)}60%{opacity:1;transform:translateY(1px) scale(1.04,.96)}to{opacity:1;transform:none}}.hr-glint{position:absolute;width:28%;aspect-ratio:1;pointer-events:none;opacity:0;background:radial-gradient(circle,#fffbe8 0 18%,#ffe49a 34%,#ffd67800 62%);clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%);filter:drop-shadow(0 0 3px rgba(255,226,140,.95));animation:hr-glint 3.2s ease-in-out infinite;animation-delay:calc(var(--i) * .55s + .9s)}.hr-glint:nth-of-type(1){left:-7%;top:-2%}.hr-glint:nth-of-type(2){right:-2%;top:28%;width:16%;animation-delay:calc(var(--i) * .55s + 1.95s)}.hr-glint:nth-of-type(3){left:30%;top:-12%;width:13%;animation-delay:calc(var(--i) * .55s + 2.7s)}@keyframes hr-glint{0%,62%,to{opacity:0;transform:scale(.2) rotate(0)}72%{opacity:1;transform:scale(1) rotate(20deg)}82%{opacity:.9;transform:scale(.85) rotate(32deg)}92%{opacity:0;transform:scale(.3) rotate(45deg)}}.hr-night .hr-glint{filter:drop-shadow(0 0 4px rgba(255,230,150,1))}.hr-night .hr-plate{filter:brightness(.86) saturate(.9)}.house-gift-note{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 16px;margin:14px 0;border-radius:10px;background:var(--card2);line-height:1.8}.house-gift-actions{margin:12px 0;flex-wrap:wrap}#house-send-form select,#house-send-note{width:100%;margin:8px 0;padding:10px;font:inherit;border:1px solid var(--line);border-radius:9px;background:var(--card2);color:var(--ink)}#house-send-note{min-height:90px;resize:vertical}
