@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700;800;900&display=swap');
:root{--ink:#244b3d;--muted:#7b877c;--cream:#f7f7ef;--line:#e0e6db;--green:#315c47;--orange:#c88b5d;--white:#fffffb;font-family:'DM Sans','Noto Sans KR',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--cream)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0}button:disabled{cursor:wait;opacity:.65}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d89b52;outline-offset:4px}button{transition:background .18s,transform .18s,box-shadow .18s}button:hover{filter:brightness(.97)}button:active{transform:translateY(1px)}.svg-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon.filled{fill:currentColor;stroke:none}.header{height:94px;position:relative;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:0 44px;border-bottom:1px solid #e1e6da;background:#f9faf3}.brand{display:flex;gap:10px;align-items:center;font-size:21px;font-weight:800;letter-spacing:-1px}.brand-mark{display:grid;place-items:center;width:43px;height:43px;background:#315745;color:#fbf9e8;border-radius:14px;transform:rotate(-8deg)}.brand-mark svg{width:27px;height:27px;transform:rotate(8deg)}.brand small{display:block;font-size:8px;letter-spacing:3.2px;font-weight:600;margin-top:2px}.header nav{display:flex;align-items:center;gap:35px;margin-left:55px;height:100%}.nav-link{background:none;font-size:13px;font-weight:600;white-space:nowrap;height:100%;position:relative;color:#7d877c}.nav-link.active{color:var(--ink)}.nav-link.active:after{content:'';position:absolute;height:3px;background:var(--green);left:0;right:0;bottom:0}.tiny-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:#ba8d5c;vertical-align:top;margin-left:3px}.my-care{display:flex;gap:9px;align-items:center;background:#edf0e6;padding:12px 17px;border-radius:30px;font-size:12px}.my-care b{font-family:'DM Sans',sans-serif;font-size:12px;font-weight:500;background:#fffdf4;border-radius:50%;padding:3px 7px}.my-care .icon{width:17px;height:17px}#main{position:relative;height:calc(100dvh - 94px);min-height:760px;overflow:hidden}#scene{position:absolute;inset:0;background:#e4e9d9;z-index:0;touch-action:none}#scene canvas{display:block;width:100%;height:100%}.scene-vignette{position:absolute;inset:0;background:linear-gradient(90deg,#f5f6ed 0%,#f5f6edf5 19%,#f5f6edb8 28%,transparent 48%),linear-gradient(0deg,#f3f4e9 0%,transparent 20%);pointer-events:none;z-index:1}.intro{position:absolute;top:48px;left:48px;z-index:2}.eyebrow{font-size:11px;letter-spacing:2px;display:flex;gap:8px;align-items:center;font-weight:600;color:#7c8a70}.eyebrow>span{width:19px;height:1px;background:#869c72}h1{font-size:clamp(36px,3.5vw,55px);line-height:1.3;font-weight:600;letter-spacing:-2.6px;margin:18px 0 17px}.title-dot{color:#b39467}.intro-copy{font-size:13px;line-height:1.9;color:#7b8678;margin:0 0 24px;letter-spacing:-.15px}.primary-button{display:flex;gap:11px;align-items:center;padding:16px 19px;background:var(--green);color:white;border-radius:8px;font-size:12px;font-weight:500;box-shadow:0 6px 15px #2c553414}.primary-button .icon{width:17px;height:17px}.primary-button .arrow{margin-left:13px;width:16px}.intro-foot{display:flex;align-items:center;gap:6px;font-size:9px;color:#84907e;margin-top:13px;letter-spacing:-.2px}.live-dot{width:6px;height:6px;display:inline-block;flex:none;border-radius:50%;background:#8aa570}.prototype-tag{font-size:7px;letter-spacing:1px;border:1px solid #cfd7c7;border-radius:3px;padding:3px 4px;margin-left:3px}.location-chip{position:absolute;z-index:2;top:27px;left:57%;transform:translateX(-35%);background:#fffff3ec;box-shadow:0 4px 14px #3346210b;display:flex;align-items:center;gap:11px;border:1px solid #fff;border-radius:10px;padding:12px 17px;min-width:300px}.location-pin{width:32px;height:32px;border:1px solid #dfe6d6;border-radius:50%;display:grid;place-items:center}.location-pin .icon{width:17px;height:17px}.location-chip small{display:block;font-size:9px;color:#8a927e;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.location-chip button{padding:3px 0 0;background:none;font-size:12px;font-weight:600;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.location-chip button span{margin-left:8px;color:#8f9c7e}.chip-divider{height:24px;width:1px;background:#dfe5d4;margin:0 3px 0 7px}.weather{font-size:10px;color:#8b927d;white-space:nowrap}.scene-tools{position:absolute;z-index:2;right:29px;top:30px;display:flex;gap:8px}.round-button{width:36px;height:36px;display:grid;place-items:center;border:1px solid #d7dfce;background:#fbfcf3d9;border-radius:50%}.round-button .icon{width:16px;height:16px}.friend-card{position:absolute;z-index:3;top:390px;left:48px;width:295px;border:1px solid #edf0e5;background:#fffef8;border-radius:13px;box-shadow:0 10px 40px #233d2610;overflow:hidden}.friend-topline{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;font-size:10px;font-weight:500}.friend-topline span{display:flex;align-items:center;gap:6px}.friend-topline button{font-size:9px;background:transparent;color:#8e967f;padding:0}.friend-photo{position:relative;display:block;background:#e7e8da;width:calc(100% - 20px);height:161px;margin:0 10px;border-radius:6px;overflow:hidden}.friend-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 42%;transition:transform .3s}.friend-photo:hover img{transform:scale(1.04)}#photo-placeholder{font-size:50px;color:#a4b08f}.photo-badge{position:absolute;left:9px;top:10px;background:#f8f9e9ed;border-radius:3px;padding:4px 6px;font-size:8px;color:#4f6850}.photo-link{position:absolute;bottom:9px;right:9px;font-size:8px;background:#283d28a1;color:white;padding:5px 7px;border-radius:3px}.friend-content{padding:13px 16px 15px}.friend-heading{display:flex;align-items:center;justify-content:space-between}.friend-heading h2{font-size:18px;letter-spacing:-.8px;font-weight:600;margin:0;max-width:225px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.favorite{padding:2px;background:transparent;color:#a1ad91}.favorite[aria-pressed=true]{color:#be795e}.favorite[aria-pressed=true] svg{fill:#f4ddd1}.friend-content p{font-size:10px;color:#8c9283;line-height:1.7;margin:7px 0 10px}.dog-traits{display:flex;gap:5px;flex-wrap:wrap}.trait{padding:4px 7px;border:1px solid #e5e8dd;border-radius:4px;font-size:8px;color:#74816c}.friend-share{display:flex;align-items:center;width:100%;gap:6px;padding:12px 14px;font-size:9px;border-top:1px solid #ecefe4;background:#f7f8ef;color:#718065}.friend-share .icon{width:13px;height:13px}.friend-share .icon:last-child{margin-left:auto}.world-label{position:absolute;left:69%;top:43%;z-index:2;background:#fbfbefdf;padding:7px 12px;border-radius:5px;box-shadow:0 2px 10px #31544612;pointer-events:none;font-size:10px;display:flex;gap:6px;align-items:center;transform:rotate(-3deg)}.world-label small{display:none}.label-dot{width:5px;height:5px;background:#acbc84;border-radius:50%}.dock-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 21px 0;font-size:11px;font-weight:500}.virtual-pill{font-size:8px;background:#edf1e2;color:#8a9973;padding:4px 7px;border-radius:20px}.scene-instructions{position:absolute;bottom:40px;left:62%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;font-size:8px;color:#89977e;white-space:nowrap;z-index:2}.scene-instructions i{font-style:normal;color:#b8c0a8}.page-footer{display:flex;justify-content:space-between;position:absolute;bottom:15px;left:35px;right:35px;z-index:2;font-size:8px;color:#909984;letter-spacing:.2px}.page-footer button{padding:0;background:none;font-size:8px;color:#909984}.scene-loading{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;color:#7b8c68;font-size:12px}.loader-paw{font-size:35px;animation:bob 1.5s ease-in-out infinite}.scene-error{position:absolute;top:30%;left:50%;width:min(400px,60%);text-align:center;padding:40px;background:#fffff3e0;border-radius:20px;z-index:2}.scene-error h2{font-size:18px}.scene-error p{font-size:12px;line-height:1.8}.toast{position:fixed;left:50%;bottom:245px;transform:translate(-50%,20px);padding:13px 22px;color:#f9fbf0;background:#294d3eea;backdrop-filter:blur(10px);border-radius:8px;font-size:12px;box-shadow:0 4px 30px #1a392824;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:85vw;text-align:center;line-height:1.7}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:0;border-radius:20px;padding:0;background:#fafbf5;color:var(--ink);box-shadow:0 30px 100px #132d3b30}dialog::backdrop{background:#1c302b55;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:29px 32px;border-bottom:1px solid #e4e9dc}.dialog-heading .eyebrow{font-size:8px;letter-spacing:2.2px}.dialog-heading h2{font-size:24px;letter-spacing:-1.2px;margin:8px 0 0;font-weight:600}.dialog-heading .round-button{flex:none}.explore-dialog{width:1040px;max-width:calc(100vw - 50px);max-height:calc(100dvh - 70px)}.explore-layout{display:grid;grid-template-columns:43% 57%;height:570px;max-height:calc(100dvh - 230px)}.shelter-browser{padding:21px 23px 0;display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line)}.search-field{display:flex;align-items:center;gap:9px;border:1px solid #d9e2d2;background:#fffef9;border-radius:8px;padding:12px}.search-field .icon{width:17px;height:17px;color:#8e9e81}.search-field input{border:0;outline:0;background:none;min-width:0;flex:1;font-size:12px;color:var(--ink)}.filter-row{display:flex;gap:8px;margin:12px 0 18px}.filter-row select,.filter-row button{padding:8px 10px;border:1px solid #dfe5d6;border-radius:5px;background:#fbfcf5;font-size:10px;color:#77876e}.filter-row button[aria-pressed=true]{background:#315b45;color:white;border-color:#315b45}.list-meta{display:flex;justify-content:space-between;margin-bottom:7px;font-size:10px}.list-meta span{font-size:9px;color:#9ca58e}.shelter-list{overflow-y:auto;flex:1;padding-right:7px;overscroll-behavior:contain}.shelter-item{display:block;text-align:left;width:100%;background:transparent;border-bottom:1px solid #e4e9dc;padding:16px 5px}.shelter-item:hover,.shelter-item.selected{background:#edf2e4}.shelter-item-head{display:flex;justify-content:space-between;gap:5px;align-items:center}.shelter-item h3{font-size:13px;letter-spacing:-.4px;margin:0;font-weight:600}.shelter-item .shelter-kind{font-size:8px;color:#85966d;background:#e8eedc;padding:4px 5px;white-space:nowrap;border-radius:3px}.shelter-item p{font-size:9px;color:#8a9780;margin:8px 0 10px;line-height:1.7}.shelter-item-footer{display:flex;align-items:center;gap:4px;font-size:9px;color:#809275}.shelter-item-footer .icon{height:12px;width:12px}.shelter-item-footer>span:last-child{margin-left:auto}.shelter-empty{padding:35px 10px;text-align:center;font-size:12px;line-height:1.9;color:#8e9a7e}.korea-map{background:#edf2e7;position:relative;overflow:hidden;display:flex;flex-direction:column}.map-heading{display:flex;align-items:center;justify-content:space-between;font-size:10px;padding:21px 23px;position:absolute;left:0;right:0;top:0;z-index:1}.map-live{display:flex;gap:7px;align-items:center}#map-count{font-size:9px;color:#859776}#map-svg{width:100%;height:100%;min-height:0}.map-labels{font-size:10px;fill:#6e8460;pointer-events:none;font-weight:500}.map-pin{fill:#6f8f5c;stroke:#edf2e7;stroke-width:2;cursor:pointer;transition:r .2s}.map-pin:hover,.map-pin.selected{fill:#b58151;r:7;stroke:#fff;stroke-width:2}.map-caption{position:absolute;bottom:15px;left:20px;right:20px;font-size:8px;display:flex;gap:6px;align-items:center;color:#729066}.map-caption small{margin-left:auto;color:#8e9e82;font-size:8px}.pin-legend{width:7px;height:7px;background:#6f8f5c;border-radius:50%}.dialog-data-note{padding:12px 25px;font-size:9px;color:#929d84;border-top:1px solid #e1e8d7;line-height:1.7}.dog-dialog{width:750px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 50px)}.dog-dialog>.dialog-close{position:absolute;right:15px;top:15px;z-index:1;background:#fafbefee}.dog-detail-top{display:grid;grid-template-columns:44% 56%}.dog-detail-photo{width:100%;height:360px;object-fit:cover;background:#e6ebda}.dog-detail-photo-fallback{display:grid;place-items:center;font-size:75px;background:#e6ebda}.dog-detail-main{padding:40px 29px 20px}.status-badge{display:inline-block;font-size:9px;color:#63815b;background:#e5edda;padding:5px 8px;border-radius:4px}.dog-detail-main h2{font-size:26px;letter-spacing:-1px;margin:12px 0}.dog-notice{font-size:9px;color:#879779}.dog-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 12px;margin:23px 0}.dog-detail-grid dt{font-size:9px;color:#9aa38d;margin-bottom:4px}.dog-detail-grid dd{font-size:12px;margin:0}.detail-section{padding:23px 29px;border-top:1px solid #e3e8d9}.detail-section h3{font-size:13px;margin:0 0 10px;font-weight:600}.detail-section p{font-size:11px;color:#829177;line-height:1.9;margin:5px 0}.detail-actions{display:flex;gap:10px;margin-top:18px}.detail-actions button{flex:1;justify-content:center;font-size:11px;padding:13px}.secondary-button{border:1px solid #d6dfcb;border-radius:7px;background:#f5f7ec;padding:12px 16px;font-size:11px;display:flex;gap:8px;align-items:center;justify-content:center}.secondary-button .icon{width:16px;height:16px}.info-dialog{width:460px;max-width:calc(100vw - 30px);max-height:calc(100dvh - 45px)}.info-dialog .dialog-heading{padding:22px 25px}.info-dialog .dialog-heading h2{font-size:19px;margin:0}#info-content{padding:15px 25px 25px}#info-content p,#info-content li{font-size:12px;line-height:1.95;color:#7c8d72}#info-content ul{padding-left:18px}#info-content strong{color:#3c6047;font-weight:500}.journey-stats{display:flex;gap:10px;margin:14px 0}.journey-stat{flex:1;background:#edf2e4;border-radius:9px;text-align:center;padding:17px 5px;font-size:10px;color:#879672}.journey-stat b{display:block;font-family:'DM Sans',sans-serif;font-size:25px;color:#426349;margin-bottom:4px}.journey-row{font-size:11px;display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e8eddf}.journey-row small{color:#98a18b}.data-error{font-size:12px;line-height:1.8;padding:20px;color:#8b6252}.photo-error{position:absolute;inset:0;display:grid;place-items:center;background:#e6e9da;font-size:11px;color:#849378}.scene-night .scene-vignette{background:linear-gradient(90deg,#f5f6ed 0%,#f5f6edf5 19%,#f5f6ed99 28%,transparent 48%),linear-gradient(0deg,#f3f4e9 0%,transparent 20%)}
@keyframes bob{50%{transform:translateY(-8px)}}
@media(min-width:1600px){.intro{top:48px;left:65px}.friend-card{left:65px;top:390px;width:310px}.friend-photo{height:148px}.friend-content{padding-bottom:14px}h1{font-size:52px}.intro-copy{font-size:14px}.scene-instructions{bottom:61px}}
@media(max-height:850px) and (min-width:901px){#main{min-height:660px}.intro{top:32px}h1{font-size:41px;margin:13px 0}.intro-copy{margin-bottom:16px;font-size:12px}.friend-card{top:329px}.friend-photo{height:140px}.friend-content{padding:10px 15px}.friend-share{padding:10px 14px}}
@media(max-width:1100px){.header{padding:0 25px;height:80px}.header nav{gap:22px;margin-left:0}.nav-link{font-size:11px}.my-care{padding:10px 12px;font-size:10px}#main{height:calc(100dvh - 80px);min-height:740px}.intro{left:30px;top:35px}h1{font-size:42px}.friend-card{left:30px;top:365px;width:260px}.friend-photo{height:150px}.location-chip{min-width:0;left:61%;transform:translateX(-20%);padding:10px 13px}.weather,.chip-divider{display:none}.scene-tools{right:18px;top:29px;flex-direction:column}.scene-instructions{left:66%}.world-label{left:67%}.scene-vignette{background:linear-gradient(90deg,#f5f6edf7 0%,#f5f6ede8 21%,transparent 55%),linear-gradient(0deg,#f3f4e9 0%,transparent 25%)}.friend-heading h2{font-size:16px}.intro-foot{font-size:8px}}
@media(max-width:760px){.header{height:68px;padding:0 18px}.brand{font-size:17px;gap:8px}.brand-mark{width:34px;height:34px;border-radius:10px}.brand-mark svg{width:23px;height:23px}.brand small{font-size:6px;letter-spacing:2.6px}.header nav{display:none}.my-care{font-size:9px;gap:6px;padding:9px 11px}.my-care b{font-size:10px}#main{height:auto;min-height:1050px;overflow:hidden;display:flex;flex-direction:column}#scene{top:130px;height:560px;bottom:auto}.scene-vignette{inset:130px 0 auto;height:580px;background:linear-gradient(0deg,#f5f6ed 0%,transparent 30%),linear-gradient(180deg,#f5f6ed 0%,transparent 25%)}.intro{position:relative;left:auto;top:auto;padding:26px 24px 0}.eyebrow{font-size:8px;letter-spacing:1.6px}h1{font-size:35px;letter-spacing:-1.6px;line-height:1.32;margin:10px 0 10px}.intro-copy{position:absolute;left:205px;top:53px;font-size:10px;line-height:1.8;margin:0;max-width:150px}.primary-button{padding:11px 13px;font-size:10px;border-radius:6px;gap:8px;display:inline-flex}.primary-button .arrow{margin-left:5px}.intro-foot{font-size:7px;margin-top:9px;gap:4px}.prototype-tag{font-size:5px;padding:2px 3px}.location-chip{top:270px;left:19px;transform:none;max-width:270px;padding:8px 10px;gap:8px;border-radius:8px}.location-chip small{font-size:8px;max-width:180px}.location-chip button{font-size:10px;max-width:185px}.location-pin{width:26px;height:26px}.scene-tools{top:275px;right:16px;gap:7px}.round-button{width:31px;height:31px}.round-button .icon{width:14px;height:14px}.world-label{top:480px;left:auto;right:45px;font-size:8px}.dock-heading{font-size:10px;padding:13px 16px 0}.scene-instructions{position:relative;bottom:auto;left:auto;transform:none;justify-content:center;font-size:7px;margin-top:13px;gap:8px}.friend-card{position:relative;top:auto;left:auto;width:calc(100% - 32px);margin:22px 16px 64px;display:grid;grid-template-columns:115px 1fr;border-radius:11px}.friend-topline{grid-column:1/-1;padding:11px 13px;font-size:9px}.friend-photo{width:105px;height:108px;margin:0 0 12px 10px}.photo-badge{font-size:6px;left:5px;top:5px;padding:3px}.photo-link{display:none}.friend-content{padding:3px 13px 12px}.friend-heading h2{font-size:17px}.friend-content p{font-size:9px;margin:8px 0 8px}.trait{font-size:7px;padding:3px 5px}.friend-share{grid-column:1/-1;font-size:9px;padding:11px 13px}.page-footer{left:18px;right:18px;bottom:18px;gap:20px;font-size:7px;line-height:1.8}.page-footer button{font-size:7px;text-align:right}.toast{bottom:80px;font-size:11px;width:max-content;max-width:90vw}.explore-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 25px);border-radius:14px}.dialog-heading{padding:20px}.dialog-heading h2{font-size:20px}.dialog-heading .eyebrow{font-size:7px}.explore-layout{display:block;max-height:none;height:calc(100dvh - 190px)}.korea-map{display:none}.shelter-browser{height:100%;padding:16px 18px 0;border:0}.filter-row{margin:10px 0 16px}.shelter-item{padding:16px 3px}.shelter-item h3{font-size:13px}.shelter-item p{font-size:10px}.shelter-item-footer{font-size:10px}.dialog-data-note{font-size:8px;padding:10px 18px}.dog-detail-top{display:block}.dog-detail-photo{height:240px}.dog-detail-photo-fallback{height:150px}.dog-detail-main{padding:23px}.dog-detail-main h2{font-size:24px}.dog-detail-grid{margin:19px 0 0;gap:15px}.detail-section{padding:20px 23px}.detail-actions{flex-direction:column}.dog-dialog{border-radius:15px}.info-dialog .dialog-heading h2{font-size:18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:760px){.intro{order:0}.scene-instructions{order:2}.friend-card{order:3}.page-footer{order:4}}
.original-photo-link{display:inline-block;font-size:10px;color:#63815a;border-bottom:1px solid #a9ba98;padding:4px 0}
/* One continuous journey: country -> shelter yard -> building -> selected friend. */
[hidden]{display:none!important}.breadcrumbs{gap:15px!important;margin-left:0!important;max-width:60%}.breadcrumbs>span{font-size:17px;color:#b4bdab}.breadcrumbs .nav-link{max-width:260px;overflow:hidden;text-overflow:ellipsis}.breadcrumbs .nav-link.active:after{display:none}.breadcrumbs .nav-link:disabled{cursor:default;color:#a6b09d}.breadcrumbs .nav-link{height:auto;color:#8b9781}.breadcrumbs .nav-link.active{color:#315b45}.header .brand{flex-shrink:0}
#world-scene{position:absolute;inset:0;background:#c9ded8;touch-action:none}#world-scene canvas{display:block;width:100%;height:100%}.world-ui{position:absolute;z-index:3;left:48px;top:46px;bottom:45px;width:328px;display:flex;flex-direction:column;pointer-events:none}.world-ui>*{pointer-events:auto}.world-ui:before{content:'';position:absolute;z-index:-1;inset:-60px -55px -60px -60px;background:linear-gradient(90deg,#f7f8ee 0%,#f7f8eef7 70%,#f7f8ee00 100%);pointer-events:none}.world-ui h1{font-size:52px;margin:17px 0 14px}.world-copy{font-size:12px;line-height:1.9;color:#7e8c76;margin:0 0 23px}.world-search{display:flex;flex-direction:column;gap:9px}.world-search .search-field{background:#fffef9ed;padding:13px;border-radius:7px}.world-search select{width:100%;border:1px solid #dce4d1;background:#fdfef6cf;border-radius:6px;color:#75866b;font-size:11px;padding:10px 12px}.world-list-heading{display:flex;justify-content:space-between;padding:20px 0 9px;font-size:10px;color:#5b7752}.world-list-heading>span:last-child{color:#9aa58d;font-size:9px}.world-list{min-height:100px;overflow-y:auto;flex:1;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c7d1bb transparent}.world-shelter{width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#fffef6d9;border:1px solid #e3e9d9;margin-bottom:7px;padding:12px 11px;border-radius:8px}.world-shelter:hover,.world-shelter:focus-visible{background:#e7efdb;border-color:#c5d4b6}.world-shelter-pin{height:30px;width:30px;display:grid;place-items:center;flex:none;background:#edf2e3;border-radius:50%;color:#8c9d77}.world-shelter-pin .icon{width:15px;height:15px}.world-shelter strong{font-size:11px;font-weight:600;display:block;max-width:225px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.world-shelter small{font-size:9px;color:#9aa68b;display:block;margin-top:5px}.world-shelter-arrow{margin-left:auto;color:#9caf85;font-size:15px}.world-data-note{font-size:8px;line-height:1.8;color:#9da68e;padding-top:10px;margin:0}.map-world-caption{position:absolute;z-index:2;left:65%;bottom:65px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;font-size:11px;color:#516f5c;background:#f5f7e5ce;padding:11px 17px;border-radius:9px;white-space:nowrap}.map-world-caption small{font-size:8px;color:#8da08d;margin-left:15px}.world-back{position:absolute;z-index:3;left:48px;top:24px;background:#f7f9efce;border:1px solid #dae3cd;border-radius:25px;padding:9px 14px;font-size:10px;color:#7e9171}.place-secondary{display:block;margin-top:15px;background:none;padding:0;color:#89987c;font-size:10px}.resident-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}.resident-option{padding:6px;background:#f0f3e7;border-radius:8px;min-width:0;text-align:left}.resident-option img{width:100%;height:90px;object-fit:cover;border-radius:5px;background:#dce6cf}.resident-option strong{display:block;font-size:10px;font-weight:500;margin:8px 2px 4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.resident-option small{font-size:8px;color:#8b9b7c;padding:0 2px}.detail-actions{flex-wrap:wrap}.detail-actions button{min-width:125px}.detail-actions #detail-share{flex-basis:100%}#main:not([data-view=map]) .intro{top:88px}#main.has-selected-dog:not([data-view=map]) .intro h1{font-size:37px}#main.has-selected-dog:not([data-view=map]) .friend-card{top:375px}#main:not([data-view=map]) .intro-foot{display:none}
#main[data-view=map] #scene,#main[data-view=map] .scene-vignette,#main[data-view=map] .intro,#main[data-view=map] .location-chip,#main[data-view=map] .friend-card,#main[data-view=map] .world-label,#main[data-view=map] .care-dock,#main[data-view=map] .scene-instructions,#main[data-view=map] .world-back{display:none!important}#main:not([data-view=map]) #world-scene,#main:not([data-view=map]) .world-ui,#main:not([data-view=map]) .map-world-caption{display:none!important}
@media(max-width:1100px){.world-ui{left:30px;top:35px;width:300px}.world-ui h1{font-size:44px}.world-copy{font-size:11px;margin-bottom:17px}.world-shelter strong{max-width:204px}.world-back{left:30px}.breadcrumbs{max-width:55%;gap:10px!important}.breadcrumbs .nav-link{max-width:195px;font-size:10px}.map-world-caption{left:67%;font-size:9px}.map-world-caption small{display:none}}
@media(max-height:850px) and (min-width:761px){#main[data-view=map]{min-height:650px}.world-ui{top:28px;bottom:38px}.world-ui h1{font-size:42px;margin:10px 0}.world-copy{font-size:11px;margin-bottom:15px}.world-list-heading{padding-top:14px}.world-shelter{padding:10px;margin-bottom:5px}#main:not([data-view=map]) .intro{top:70px}#main:not([data-view=map]) .intro h1{font-size:35px}#main.has-selected-dog:not([data-view=map]) .friend-card{top:330px}}
@media(max-width:760px){.header .breadcrumbs{display:flex;gap:8px!important;position:absolute;left:17px;right:17px;top:76px;max-width:none;z-index:5}.breadcrumbs .nav-link{font-size:9px;max-width:190px;color:#6d8466}.breadcrumbs>span{font-size:12px}.header nav{height:auto!important}.breadcrumbs>span:first-of-type{display:none}.breadcrumbs:has(#nav-volunteer:not([hidden]))>span:first-of-type{display:block}#main[data-view=map]{height:calc(100dvh - 68px);min-height:760px;display:block}#world-scene{top:30px;left:0;width:100%;height:470px;bottom:auto}.world-ui{top:0;bottom:30px;left:0;width:100%;padding:32px 20px 0;pointer-events:none;display:flex}.world-ui:before{display:none}.world-ui .eyebrow{font-size:7px}.world-ui h1{font-size:32px;line-height:1.25;margin:10px 0 0}.world-copy{position:absolute;right:22px;top:59px;font-size:9px;line-height:1.85;text-align:right;max-width:165px}.world-search{margin-top:312px;display:grid;grid-template-columns:1fr 118px;gap:7px}.world-search .search-field{padding:11px 10px;border-radius:6px}.world-search .search-field input{font-size:10px}.world-search select{font-size:9px;padding:8px}.world-list-heading{padding:14px 0 9px;font-size:9px}.world-list-heading>span:last-child{font-size:8px}.world-list{min-height:100px}.world-shelter{padding:10px;margin-bottom:6px;background:#fdfef6f2}.world-shelter strong{font-size:11px;max-width:250px}.world-data-note{display:none}.map-world-caption{left:50%;top:421px;bottom:auto;font-size:8px;padding:7px 10px;gap:5px;z-index:1}.world-back{top:39px;left:20px;padding:6px 10px;font-size:8px}#main:not([data-view=map]) .intro{position:relative;top:auto;padding-top:77px}#main:not([data-view=map]) .intro h1,#main.has-selected-dog:not([data-view=map]) .intro h1{font-size:30px}#main:not([data-view=map]) .intro-copy{top:121px;font-size:9px;left:auto;right:20px;width:145px}#main:not([data-view=map]) #scene{top:210px;height:540px}#main:not([data-view=map]) .scene-vignette{top:210px;height:540px}#main:not([data-view=map]) .location-chip{top:305px}#main:not([data-view=map]) .scene-tools{top:312px}#main.has-selected-dog:not([data-view=map]) .friend-card{top:auto}.place-secondary{font-size:9px;margin-top:10px}.resident-grid{gap:7px}.resident-option img{height:80px}.resident-option strong{font-size:8px}.resident-option small{font-size:7px}.detail-actions{display:grid;grid-template-columns:1fr 1fr}.detail-actions button{min-width:0;font-size:10px;padding:11px 8px}.detail-actions #detail-share{grid-column:1/-1}.page-footer>span{font-size:7px}}

.breadcrumbs:has(#nav-volunteer[hidden])>span{display:none!important}
.friend-guidance{display:flex;gap:0;border-top:1px solid #e7ebdf}.friend-guidance button{flex:1;background:#fffef8;font-size:9px;padding:11px 5px;color:#315c47}.friend-guidance button+button{border-left:1px solid #e7ebdf}.area-nav[hidden]{display:none}.guidance-steps{padding-left:23px;line-height:1.9;font-size:13px}.guidance-steps li{margin:12px 0;padding-left:5px}.guidance-caution{background:#eef1e5;padding:13px;border-radius:8px}.guidance-sources{font-size:11px!important}.guidance-sources a{text-decoration:underline;text-underline-offset:3px}.guidance-contact{border-top:1px solid #dce3d2;padding-top:15px;margin-top:20px}.guidance-contact .primary-button{justify-content:center;width:100%;text-align:center}.guidance-contact button:disabled{cursor:default}.friend-card:has(.friend-guidance){overflow:hidden}@media(max-width:760px){.friend-guidance{grid-column:1/-1}.friend-guidance button{font-size:10px}.guidance-steps{font-size:12px}}

/* Walkable world: keep the landscape visible and place controls around its edges. */
#main:not([data-view=map]){min-height:660px;height:calc(100dvh - 80px)}
#main:not([data-view=map]) .scene-vignette{background:linear-gradient(0deg,#183c3925,transparent 22%);inset:0;height:auto}
#main:not([data-view=map]) .intro{left:24px;top:80px;max-width:245px;padding:17px 18px;border:1px solid #ffffff60;border-radius:16px;background:#fffdf1e8;box-shadow:0 8px 25px #233f3312;backdrop-filter:blur(8px)}
#main:not([data-view=map]) .intro .eyebrow,#main:not([data-view=map]) .intro-foot{display:none}
#main:not([data-view=map]) .intro h1,#main.has-selected-dog:not([data-view=map]) .intro h1{font-size:23px;letter-spacing:-1px;margin:0 0 9px;line-height:1.35}
#main:not([data-view=map]) .intro-copy{position:static;font-size:11px;margin:0 0 13px;width:auto;color:#64715f}
#main:not([data-view=map]) .intro .primary-button{padding:11px 13px;font-size:11px;width:100%;justify-content:center;box-shadow:none}
#main:not([data-view=map]) .intro .primary-button .arrow{display:none}
#main:not([data-view=map]) .location-chip{left:50%;top:22px;transform:translateX(-50%);min-width:230px;max-width:340px}
#main:not([data-view=map]) .world-back{top:24px;left:24px}
#main:not([data-view=map]) .scene-tools{right:24px;top:26px;flex-direction:row}
#main:not([data-view=map]) .world-label{left:50%;top:auto;bottom:196px;transform:translateX(-50%);font-size:10px;white-space:nowrap}
#main:not([data-view=map]) .dock-heading{padding:12px 18px 0}
#main:not([data-view=map]) .scene-instructions{left:calc(50% + 80px);bottom:20px;color:#284c3e;background:#fffff0c9;border-radius:20px;padding:5px 10px}
#main:not([data-view=map]) .page-footer{display:none}
#main:not([data-view=map]) .friend-card{left:24px;top:auto;bottom:24px;width:235px;border-radius:15px}
#main:not([data-view=map]) .friend-photo{height:108px}
#main:not([data-view=map]) .friend-content{padding:10px 13px}
#main:not([data-view=map]) .friend-heading h2{font-size:16px}
#main:not([data-view=map]) .friend-topline{padding:9px 12px}
#main:not([data-view=map]) .friend-share{padding:9px 12px}
#main:not([data-view=map]) .friend-guidance button{padding:9px 3px}
#main:not([data-view=map]) .dog-traits{display:none}
#main:not([data-view=map]) .friend-content p{margin:4px 0 0}
@media(max-width:760px){
 #main:not([data-view=map]){height:calc(100dvh - 68px);min-height:640px;overflow:hidden;padding:0}
 #main:not([data-view=map]) #scene{inset:0;height:100%;width:100%}
 #main:not([data-view=map]) .scene-vignette{inset:0;height:100%}
 #main:not([data-view=map]) .world-back{top:12px;left:12px;font-size:8px;padding:8px}
 #main:not([data-view=map]) .location-chip{top:10px;left:auto;right:12px;transform:none;min-width:0;max-width:210px;padding:7px 10px;gap:5px}
 #main:not([data-view=map]) .location-pin{display:none}
 #main:not([data-view=map]) .location-chip small{font-size:7px}
 #main:not([data-view=map]) .location-chip button{font-size:10px;max-width:180px}
 #main:not([data-view=map]) .scene-tools{right:12px;top:59px;gap:5px}
 #main:not([data-view=map]) .scene-tools .round-button{width:30px;height:30px}
 #main:not([data-view=map]) .intro{position:absolute;top:59px;left:12px;max-width:205px;padding:0;background:transparent;border:0;box-shadow:none;backdrop-filter:none}
 #main:not([data-view=map]) .intro h1,#main:not([data-view=map]) .intro-copy{display:none}
 #main:not([data-view=map]) .intro .primary-button{font-size:9px;padding:9px 10px;width:auto}
 #main:not([data-view=map]) .place-secondary{font-size:9px;background:#fffdf0ed;padding:7px 11px;border-radius:7px;margin-top:5px}
 #main:not([data-view=map]) .dock-heading{padding:9px 12px 0;font-size:9px}
 #main:not([data-view=map]) #action-count{display:none}
 #main:not([data-view=map]) .scene-instructions{left:50%;bottom:5px;font-size:7px;gap:4px}
 #main:not([data-view=map]) .world-label{bottom:163px;font-size:8px;max-width:92%;white-space:normal;text-align:center}
 #main:not([data-view=map]) .friend-card{position:absolute;left:12px;right:auto;top:151px;bottom:auto;width:153px;display:block;margin:0;border-radius:10px}
 #main:not([data-view=map]) .friend-topline{font-size:7px;padding:7px 8px}
 #main:not([data-view=map]) .friend-topline button{font-size:7px}
 #main:not([data-view=map]) .friend-photo{width:calc(100% - 12px);margin:0 6px;height:68px}
 #main:not([data-view=map]) .friend-content{padding:7px 8px}
 #main:not([data-view=map]) .friend-heading h2{font-size:11px}
 #main:not([data-view=map]) .friend-content p{font-size:7px}
 #main:not([data-view=map]) .favorite .icon{width:14px;height:14px}
 #main:not([data-view=map]) .friend-guidance{display:block}
 #main:not([data-view=map]) .friend-guidance button{font-size:8px;padding:6px;width:100%;border-left:0}
 #main:not([data-view=map]) .friend-share{display:none}
}

@media(min-width:1101px){#main:not([data-view=map]){height:calc(100dvh - 94px)}}
.link-note{font-size:10px;color:#7c8677;line-height:1.6}

#main:not([data-view=map]) .world-label{flex-wrap:wrap;justify-content:center;gap:4px 6px}#main:not([data-view=map]) .world-label small{display:block;flex-basis:100%;font-size:8px;text-align:center;color:#7a886d}
@media(max-width:760px){.header nav.breadcrumbs{display:none}#main:not([data-view=map]) .scene-instructions{position:absolute;top:auto;bottom:5px;left:50%;right:auto;width:max-content;max-width:95%;transform:translateX(-50%);margin:0}}
/* Give the map its own stage; region markers replace the crowded national pins. */
#main[data-view=map]{height:calc(100dvh - 94px);min-height:650px;background:#d6e5dc}
#world-scene{left:370px;border-radius:32px 0 0 32px;overflow:hidden}
.world-ui{left:32px;width:305px;top:34px;bottom:28px}.world-ui:before{display:none}.world-ui h1{font-size:44px}.world-copy{margin-bottom:20px}.world-shelter{border-radius:12px;padding:14px 10px;background:#fffdf2c9}.world-list-heading{font-size:11px}.world-search select{font-size:12px;padding:12px}.world-data-note{font-size:9px}.map-world-caption{left:calc(50% + 185px);bottom:24px;background:#f9f7e6dc;border-radius:24px}.map-markers{position:absolute;inset:0;pointer-events:none;z-index:3}.map-marker{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;white-space:nowrap;display:flex;align-items:center;gap:8px;padding:9px 12px;background:#fffdf0f5;border:1px solid #fff9dc;border-radius:12px;color:#3c5948;box-shadow:0 5px 0 #607b6620,0 9px 20px #304e4920;font-size:11px;max-width:230px;min-height:38px;transition:background .2s,box-shadow .2s}.map-marker[hidden]{display:none}.map-marker span{overflow:hidden;text-overflow:ellipsis}.map-marker b{font-size:10px;font-weight:600;border-radius:8px;background:#dce9d4;padding:3px 5px;color:#5a7552}.map-marker:hover,.map-marker:focus-visible{background:#fff;border-color:#678567;box-shadow:0 5px 0 #607b6630,0 12px 25px #304e4935;z-index:8}.map-marker.is-region{font-size:13px;font-weight:700}.map-overview{position:absolute;top:20px;left:24px;z-index:5;padding:10px 14px;background:#fffdf0e8;border-radius:22px;font-size:12px;color:#4e6b57}.map-overview[hidden]{display:none}.map-context{position:absolute;top:22px;right:26px;text-align:right;pointer-events:none;color:#476756}.map-context span{display:block;font-size:10px;letter-spacing:2px;margin-bottom:6px}.map-context strong{font-size:15px;font-weight:500}.map-world-caption small{display:none}
@media(max-width:1100px) and (min-width:761px){#world-scene{left:320px}.world-ui{left:24px;width:270px}.world-ui h1{font-size:39px}.map-world-caption{left:calc(50% + 160px)}}
@media(max-width:760px){#main[data-view=map]{height:auto;min-height:980px}#world-scene{left:0;top:105px;width:100%;height:490px;border-radius:24px;bottom:auto}.world-ui{top:0;left:0;width:100%;bottom:24px;padding:23px 20px 0}.world-ui h1{font-size:28px;margin:7px 0}.world-ui .eyebrow{font-size:8px}.world-copy{top:37px;right:20px;font-size:9px}.world-search{margin-top:500px;grid-template-columns:1fr 132px}.world-search select{font-size:10px;padding:10px 6px}.world-list{max-height:240px}.world-list-heading{font-size:10px}.map-world-caption{top:558px;bottom:auto;left:50%;font-size:9px;padding:8px 11px}.map-context{right:15px;top:14px}.map-context strong{font-size:11px}.map-context span{font-size:9px;margin-bottom:4px}.map-overview{top:12px;left:12px;padding:9px 11px;font-size:10px}.map-marker{font-size:10px;padding:6px 8px;min-height:30px;max-width:180px;gap:5px;border-radius:9px}.map-marker.is-region{font-size:11px}.map-marker b{font-size:9px;padding:2px 4px}}
.map-context{top:78px}.map-cluster-panel{position:absolute;z-index:6;right:20px;top:130px;width:290px;max-height:calc(100% - 210px);overflow:auto;background:#fffdf2f5;border:1px solid #fff;border-radius:18px;box-shadow:0 16px 50px #21423625;padding:16px;scrollbar-width:thin}.map-cluster-panel[hidden]{display:none}.map-cluster-close{background:none;color:#6d826b;font-size:11px;padding:2px 0 12px}.map-cluster-panel h3{font-size:15px;margin:4px 0 12px;color:#3f5e4c}.map-cluster-item{display:block;width:100%;text-align:left;padding:12px 2px;background:none;border-top:1px solid #e0e6d8;color:#385643}.map-cluster-item strong{font-size:12px}.map-cluster-item small{display:block;font-size:10px;color:#82917b;margin-top:6px;line-height:1.5}.map-cluster-item:hover{background:#edf1df}
@media(max-width:760px){.map-context{top:14px}.map-cluster-panel{top:65px;right:12px;left:12px;width:auto;max-height:340px}.map-context strong{display:none}}
.map-anchor{position:absolute;width:5px;height:5px;margin:-2px;border-radius:50%;background:#4d7759;pointer-events:none;z-index:-1}.map-leader{position:absolute;height:1px;background:#58795a70;transform-origin:0 50%;pointer-events:none;z-index:-1}.map-anchor[hidden],.map-leader[hidden]{display:none}
.map-marker:active{transform:translate(-50%,calc(-50% + 1px))}
#main.has-selected-dog[data-view=yard] .intro{display:none}
@media(max-width:760px){.world-ui h1{font-size:26px;line-height:1.12}.map-world-caption{display:none}}
/* Flag pole feet remain exactly on the projected source coordinate at every zoom. */
.map-marker.coordinate-flag{width:22px;height:30px;min-height:30px;max-width:22px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:translate(0,-100%);display:block;overflow:visible}.map-marker.coordinate-flag:active{transform:translate(0,-100%)}.coordinate-flag:before{content:'';position:absolute;left:0;top:1px;height:29px;width:2px;background:#546c50;box-shadow:1px 1px 1px #fff8}.coordinate-flag:after{content:'';position:absolute;left:-3px;bottom:-3px;width:7px;height:7px;border-radius:50%;background:#e6ae60;border:1px solid #fff3cf}.map-marker.coordinate-flag b{position:absolute;left:2px;top:0;border-radius:2px 5px 5px 0;background:#bd7352;color:#fff9df;font-size:10px;padding:2px 4px;min-width:18px;box-shadow:0 2px 5px #25433330}.coordinate-flag .flag-name{display:none;position:absolute;bottom:34px;left:-8px;padding:8px 10px;border-radius:8px;background:#fffdf1;color:#395841;max-width:240px;font-size:12px;box-shadow:0 3px 14px #25433325}.coordinate-flag:hover,.coordinate-flag:focus-visible,.coordinate-flag.is-selected{z-index:10}.coordinate-flag:hover .flag-name,.coordinate-flag:focus-visible .flag-name,.coordinate-flag.is-selected .flag-name{display:block}.map-zoom{position:absolute;right:22px;bottom:70px;display:grid;z-index:5;gap:5px}.map-zoom button{width:40px;height:40px;border-radius:12px;background:#fffdf0;color:#42644d;font-size:25px;box-shadow:0 3px 12px #304e4920}.map-coordinate{font-size:11px;color:#73876d;line-height:1.6}.map-context strong{font-size:12px}#world-scene canvas{cursor:grab}
@media(max-width:760px){.map-zoom{right:12px;bottom:16px}.map-zoom button{width:34px;height:34px}}
/* Quiet location dots, centered on the source coordinate; larger transparent hit area. */
.map-marker.coordinate-flag{width:28px;height:28px;min-height:28px;max-width:28px;transform:translate(-50%,-50%);border-radius:50%;background:transparent;transition:none;filter:none}.map-marker.coordinate-flag:active{transform:translate(-50%,-50%)}.coordinate-flag:before,.coordinate-flag:after{display:none}.map-marker.coordinate-flag b{left:8px;top:8px;width:12px;height:12px;min-width:0;padding:0;border-radius:50%;border:2px solid #fffdf2;background:#386d59;box-shadow:0 1px 4px #25433340}.map-marker.coordinate-flag.shared-location b{left:3px;top:3px;width:22px;height:22px;display:grid;place-items:center;font-size:10px;font-weight:600;background:#527962}.coordinate-flag:hover b,.coordinate-flag:focus-visible b,.coordinate-flag.is-selected b{background:#bd8054;box-shadow:0 0 0 4px #fff8}.coordinate-flag .flag-name{bottom:32px;left:14px;transform:translateX(-50%);font-weight:600}.map-marker.coordinate-flag[hidden]{display:none!important}.map-context{padding:10px 13px;border-radius:12px;background:#f9fbf050}.map-context span{letter-spacing:1px}.map-context strong{font-size:11px;font-weight:400}.map-coordinate{font-variant-numeric:tabular-nums}
.map-distant .coordinate-flag b{width:8px;height:8px;left:10px;top:10px;border-width:1.5px;box-shadow:0 1px 2px #25433330}.map-distant .coordinate-flag.shared-location b{width:16px;height:16px;left:6px;top:6px;font-size:8px}
/* A compact elevator directory: every jurisdiction remains reachable, including empty floors. */
.floor-navigation{position:absolute;z-index:5;right:24px;top:94px;width:272px;padding:17px;border-radius:17px;background:#fffdf1f2;border:1px solid #fff;box-shadow:0 8px 30px #233f3314;color:#3b5847;backdrop-filter:blur(8px)}
.floor-navigation[hidden],.floor-navigation [hidden]{display:none!important}
.floor-heading{display:flex;align-items:center;gap:11px;margin-bottom:14px}.floor-heading>b{display:grid;place-items:center;min-width:45px;height:45px;padding:0 7px;border-radius:12px;background:#426c56;color:#fff8de;font-size:20px}.floor-heading span{font-size:12px;font-weight:700}.floor-heading small{display:block;font-size:10px;color:#71816c;margin-top:4px}
.floor-navigation label{display:block;font-size:10px;margin-bottom:6px}.floor-navigation select{width:100%;border:1px solid #cbd8c3;border-radius:9px;padding:11px 6px;background:#f9fbf0;color:#375441;font-size:11px;cursor:pointer}.floor-controls{display:flex;gap:7px;margin-top:8px}.floor-controls button{flex:1;background:#e8eedf;color:#456144;padding:9px 4px;border-radius:8px;font-size:10px}.floor-controls button:disabled{opacity:.4;cursor:default}.floor-navigation p{font-size:9px;color:#7a856f;margin:11px 0 0;line-height:1.5}.floor-empty{margin-top:12px;padding-top:11px;border-top:1px solid #dde4d4}.floor-empty strong{font-size:11px}.floor-empty span{display:block;margin-top:5px;font-size:10px;line-height:1.7;color:#6c7b63}
@media(max-width:760px){.floor-navigation{top:108px;right:12px;width:190px;padding:11px;border-radius:12px}.floor-heading{gap:7px;margin-bottom:9px}.floor-heading>b{min-width:33px;height:33px;font-size:15px;border-radius:8px}.floor-heading span{font-size:10px}.floor-heading small{font-size:8px}.floor-navigation select{padding:9px 3px;font-size:9px}.floor-controls button{padding:8px 3px;font-size:9px}.floor-navigation p{font-size:8px}.floor-empty span{font-size:9px}}
.scene-stair-button{position:absolute;z-index:3;transform:translate(-50%,-100%);padding:10px 14px;border-radius:10px;background:#fff9e8;color:#3b5e49;font-size:12px;font-weight:700;border:1px solid #d8c49b;box-shadow:0 4px 16px #34442d30;white-space:nowrap}.scene-stair-button:active{transform:translate(-50%,-100%)}.scene-stair-button[hidden]{display:none!important}.scene-stair-button:disabled{opacity:.5;pointer-events:none}
@media(max-width:760px){.scene-stair-button{padding:8px 9px;font-size:10px}}
/* Geographic province names sit above the terrain without intercepting shelter clicks. */
.map-region-labels{position:absolute;inset:0;z-index:4;pointer-events:none}.map-region-name{position:absolute;transform:translate(-50%,-50%);white-space:nowrap;font-size:13px;font-weight:750;letter-spacing:.03em;color:#375941;text-shadow:0 1px 3px #fffdf5,1px 0 3px #fffdf5,-1px 0 3px #fffdf5;background:#fffcec9c;padding:3px 7px;border-radius:8px}.map-region-name[hidden]{display:none}
@media(min-width:1101px){#world-scene{left:325px}.world-ui{left:24px;width:275px}.world-ui h1{font-size:40px}}
@media(max-width:760px){.map-region-name{font-size:9px;padding:2px 3px}}
.map-boundary-credit{position:absolute;bottom:9px;left:14px;z-index:5;font-size:9px;color:#355761;background:#eaf6f0bd;padding:4px 7px;border-radius:6px;text-decoration:none}
.visitor-profile{display:flex;align-items:center;gap:6px;background:#edf1e7;color:#315446;border-radius:24px;padding:11px 16px;max-width:180px}.visitor-profile span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header{gap:14px}.profile-dialog{width:min(620px,94vw);padding:28px;border:0;border-radius:25px;background:#fffdf3;color:#365441}.profile-dialog::backdrop{background:#203e3c66;backdrop-filter:blur(4px)}.profile-layout{display:grid;grid-template-columns:180px 1fr;gap:28px}.profile-preview-wrap{background:#e8eedf;border-radius:22px;text-align:center;padding:16px 8px;align-self:start}.profile-preview-wrap svg{width:100%;display:block}.profile-preview-wrap strong{display:block;overflow-wrap:anywhere}.profile-dialog form>label{display:block;font-size:13px;margin-bottom:8px}.profile-dialog input[type=text],#profile-nickname{width:100%;border:1px solid #cbd8c3;background:#fff;border-radius:10px;padding:12px;font:inherit;color:inherit}.profile-dialog fieldset{border:0;padding:0;margin:20px 0;display:flex;gap:8px;flex-wrap:wrap}.profile-dialog legend{font-size:13px;margin-bottom:9px}.profile-dialog fieldset label{padding:9px;border:1px solid #ccd7c3;border-radius:10px;font-size:12px;cursor:pointer}.profile-dialog fieldset label:has(input:checked){background:#e2ebd6;border-color:#668267}.profile-dialog input[type=radio]{accent-color:#315446}.profile-dialog #profile-save{width:100%;padding:13px;background:#315446;color:#fff;border-radius:12px}.profile-dialog #profile-save:disabled{opacity:.55}.profile-dialog p,.profile-dialog small{font-size:11px;line-height:1.6;display:block}.profile-dialog #profile-retry{font-size:11px;text-decoration:underline;background:none;color:#56765b;padding:8px 0}.profile-dialog a{font-size:12px;color:#315446}.profile-dialog [hidden]{display:none}.profile-dialog h2{margin-top:6px}.profile-dialog #profile-status{min-height:36px}@media(max-width:760px){.visitor-profile{font-size:11px;padding:9px;max-width:100px}.header{gap:6px}.my-care{padding:9px;font-size:10px}.profile-layout{grid-template-columns:1fr;gap:16px}.profile-preview-wrap{width:150px;margin:auto;padding:5px}.profile-preview-wrap svg{height:145px}.profile-dialog{padding:20px}.profile-dialog fieldset{margin:12px 0}}
.dog-walk-speech{position:absolute;z-index:3;transform:translate(-50%,-100%);max-width:230px;padding:11px 15px;border:1px solid #e2e8cb;border-radius:16px 16px 4px 16px;background:#fffdf0f5;color:#3f5a43;box-shadow:0 5px 20px #2f513024;font:600 12px/1.6 system-ui;text-align:center;cursor:pointer}.dog-walk-speech small{display:block;color:#8a9578;font-size:9px;font-weight:400;margin-top:4px}.dog-walk-speech[hidden]{display:none}.dog-walk-speech:hover{background:#fffef8}@media(max-width:760px){.dog-walk-speech{font-size:11px;max-width:190px;padding:8px 12px}}

.journal-filter{display:flex;align-items:center;gap:10px;margin:20px 0;font-size:13px}.journal-filter select{padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:var(--cream);color:var(--ink)}.journal-context{font-size:11px;color:var(--muted);margin-top:5px;line-height:1.6}.journey-row time{font-size:11px;color:var(--muted);white-space:nowrap}.journey-row{gap:12px}.journey-stats{flex-wrap:wrap}
@media(max-width:560px){.journey-row{align-items:flex-start;flex-direction:column}.journey-row time{font-size:10px}}
/* The bath is a dedicated indoor activity; floor browsing resumes afterwards. */
#main:has(#scene[data-mode=bathroom]) .intro,#main:has(#scene[data-mode=bathroom]) #floor-navigation{display:none!important}

/* Animal detail: notice identity and readable features card. */
.dog-detail-media{position:relative;min-height:360px;background:#e6ebda;overflow:hidden}
.dog-detail-media .dog-detail-photo{display:block;height:360px;min-height:360px}
.dog-detail-media .dog-detail-photo-fallback{height:100%;min-height:360px}
.adoption-photo-badge{position:absolute;left:18px;bottom:18px;padding:7px 13px;border-radius:999px;background:#fffef5;color:#315c48;font-size:12px;font-weight:700;box-shadow:0 2px 12px #173b2526}
.dog-detail-main h2{font-size:24px;line-height:1.4;overflow-wrap:anywhere;padding-right:14px}
.detail-section.dog-features{margin:22px 24px 0;padding:20px 22px;background:#fff;border:1px solid #e8ecdf;border-radius:18px}
.dog-features p{color:#52634e;font-size:12px}
.detail-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.detail-actions button{min-width:0}
.detail-actions #detail-share{grid-column:1/-1}
@media(max-width:760px){.dog-detail-media{min-height:240px}.dog-detail-media .dog-detail-photo,.dog-detail-media .dog-detail-photo-fallback{height:240px;min-height:240px}.dog-detail-main h2{font-size:21px}.detail-section.dog-features{margin:0 16px 18px;padding:18px}.detail-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Siheung reference scene: the place fills the screen; controls sit at the edges. */
body.reference-center{background:#d8ded0}
.reference-center .header{position:absolute;inset:0 0 auto;height:72px;background:none;border:0;padding:0 24px;justify-content:flex-end;pointer-events:none;gap:9px}
.reference-center .header .brand,.reference-center .header .breadcrumbs{display:none}
.reference-center .header button{pointer-events:auto;background:#fcfaf0ed;backdrop-filter:blur(12px);box-shadow:0 3px 14px #243a2410;border:1px solid #fff9}
.reference-center #main:not([data-view=map]){height:100dvh;min-height:560px}
.reference-center #main:not([data-view=map]) .location-chip{left:190px;top:18px;transform:none;min-width:0;max-width:310px;padding:9px 16px;background:#fcfaf0ed;border-radius:14px}
.reference-center #main:not([data-view=map]) .world-back{left:24px;top:24px;background:#fcfaf0ed;color:#425a48;border:1px solid #fff9;padding:10px 14px}
.reference-center #main[data-view=yard] .intro{display:none}
.reference-center #main:not([data-view=map]) .scene-vignette{background:linear-gradient(0deg,#25382928,transparent 28%),linear-gradient(180deg,#f3eddd38,transparent 18%)}
.reference-center #main:not([data-view=map]) .scene-tools{top:88px;right:24px}
.reference-center #main:not([data-view=map]) .world-label{display:none}
.reference-center #main:not([data-view=map]) .friend-card{width:195px;bottom:24px;top:auto;box-shadow:0 8px 25px #233b2515}
.reference-center #main:not([data-view=map]) .friend-photo{height:105px}
.reference-center #main[data-view=interior] .intro{top:88px;background:none;border:0;box-shadow:none;padding:0;backdrop-filter:none}
.reference-center #main[data-view=interior] .intro h1,.reference-center #main[data-view=interior] .intro-copy{display:none}
.reference-center #main[data-view=interior] .floor-navigation{top:140px}
@media(max-width:760px){
 .reference-center .header{height:52px;padding:0 12px}
 .reference-center .header #visitor-profile{padding:8px;font-size:9px}
 .reference-center .header #my-care{padding:7px;font-size:9px}
 .reference-center #main:not([data-view=map]){min-height:580px}
 .reference-center #main:not([data-view=map]) .world-back{left:12px;top:14px;padding:7px 10px;font-size:9px}
 .reference-center #main:not([data-view=map]) .location-chip{left:12px;right:auto;top:61px;max-width:245px;padding:8px 12px}
 .reference-center #main:not([data-view=map]) .location-chip button{font-size:12px;max-width:225px}
 .reference-center #main:not([data-view=map]) .scene-tools{right:12px;top:67px}
 .reference-center #main:not([data-view=map]) .scene-tools #about-button{display:none}
 .reference-center #main:not([data-view=map]) .friend-card{left:12px;top:auto;bottom:145px;width:140px}
 .reference-center #main:not([data-view=map]) .friend-photo{height:65px}
 .reference-center #main[data-view=interior] .intro{top:121px;left:12px}
 .reference-center #main[data-view=interior] .floor-navigation{top:175px;right:12px;width:180px}
}

.bench-reading-button{position:absolute;z-index:3;transform:translate(-50%,-100%);padding:9px 13px;border:1px solid #e6ddc8;border-radius:12px;background:#fff9e9;color:#365540;font-size:11px;box-shadow:0 3px 12px #263a2420;white-space:nowrap}.bench-reading-button[hidden]{display:none}

/* Keep floor controls secondary to the room itself. */
.reference-center #main[data-view=interior] .floor-navigation{width:240px;padding:12px;background:#fcfaf0ed;border-radius:16px}
.reference-center #main[data-view=interior] .floor-navigation .floor-heading,
.reference-center #main[data-view=interior] .floor-navigation>label,
.reference-center #main[data-view=interior] #floor-note{display:none}
.reference-center #main[data-view=interior] #floor-select{margin:0;font-size:11px}
.reference-center #main[data-view=interior] .floor-controls{margin-top:8px}

@media(max-width:760px){.reference-center #main[data-view=interior] .floor-navigation{width:190px;padding:9px;top:175px}.reference-center #main[data-view=interior] .floor-controls button{font-size:9px;padding:7px 4px}}
.consultation-enter,.consultation-exit{position:absolute;z-index:6;border:1px solid #dfdbc9;background:#fffaf0f5;color:#35594f;border-radius:12px;padding:11px 14px;font:600 12px/1.4 inherit;box-shadow:0 3px 14px #24352a12;cursor:pointer}
.consultation-enter{left:24px;top:192px}.consultation-exit{left:24px;top:100px}
.consultation-enter[hidden],.consultation-exit[hidden]{display:none}
.in-consultation #main .floor-navigation,.in-consultation #main .intro,.in-consultation #main .care-dock{display:none!important}
#scene.is-seated .reading-panel{z-index:10}
body:has(#scene.is-seated:not([data-lounge-care-seat=true][data-mode=interior][data-reading=seated])) #main .care-dock{visibility:hidden}
@media(max-width:760px){.consultation-enter{left:12px;top:278px;max-width:190px;font-size:11px}.consultation-exit{left:12px;top:121px}}
body:has(.reading-panel[data-kind=consultation]:not([hidden])) #main .friend-card{display:none!important}
body:has(#scene.is-seated) #main .scene-tools{visibility:hidden}
@media(max-width:760px){#scene.is-seated .reading-panel{max-height:46%;bottom:12px}.reading-panel .reading-source{font-size:10px}}
/* A seated reading moment has its own clear controls. */
body:has(#scene.is-seated) #main .floor-navigation,
body:has(#scene.is-seated) #main .intro,
body:has(#scene.is-seated) #main .area-nav,
#scene.is-seated .consultation-enter,
#scene.is-seated .scene-stair-button{display:none!important}
#scene.is-seated .bench-reading-button{left:24px!important;top:96px!important;transform:none;z-index:15}
@media(max-width:760px){#scene.is-seated .bench-reading-button{left:12px!important;top:121px!important}}
body:has(#scene.is-seated) #toast{display:none!important}

/* Shared controls: one size scale and fixed areas for navigation and activities. */
body:is(.reference-center,body) #main:not([data-view=map]){--control-bg:#fffdf5f5;--control-border:#dce4d6;--control-radius:12px;--control-shadow:0 4px 18px #243e3010}
body:is(.reference-center,body) #main:not([data-view=map]) .world-back,body:is(.reference-center,body) #main:not([data-view=map]) .scene-tools button{height:42px;min-height:42px;border:1px solid var(--control-border);border-radius:var(--control-radius);background:var(--control-bg);box-shadow:var(--control-shadow);font-size:12px;font-weight:600;line-height:1.4;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
body:is(.reference-center,body) #main:not([data-view=map]) .world-back{left:24px;top:20px;margin:0}
body:is(.reference-center,body) #main:not([data-view=map]) .location-chip{left:50%;right:auto;top:20px;transform:translateX(-50%);width:260px;min-width:0;max-width:32%;height:54px;padding:8px 16px;border:1px solid var(--control-border);border-radius:var(--control-radius);background:var(--control-bg);box-shadow:var(--control-shadow)}
body:is(.reference-center,body) #main:not([data-view=map]) .location-chip small{font-size:10px;line-height:1.5}
body:is(.reference-center,body) #main:not([data-view=map]) #location-name{font-size:13px;line-height:1.5;max-width:100%;text-align:left}
.space-navigation button[hidden]{display:none!important}
body:is(.reference-center,body) #main[data-view=map] .space-navigation,body:is(.reference-center,body) #main[data-view=interior] .intro{display:none!important}
body:is(.reference-center,body) #main:not([data-view=map]) .scene-tools{top:88px;right:24px;display:flex;flex-direction:row;gap:8px}
body:is(.reference-center,body) #main:not([data-view=map]) .scene-tools button{width:42px;padding:0}
body:is(.reference-center,body) #main:not([data-view=map]) .floor-navigation{top:146px;right:24px;width:240px;padding:12px;border:1px solid var(--control-border);border-radius:var(--control-radius);background:var(--control-bg);box-shadow:var(--control-shadow)}
body:is(.reference-center,body) #main .floor-navigation select{height:42px;border:1px solid var(--control-border);border-radius:8px;background:#fffdf8;padding:0 10px;font-size:12px}
body:is(.reference-center,body) #main .floor-controls{display:flex;gap:8px;margin-top:8px}
body:is(.reference-center,body) #main .floor-controls button{height:36px;flex:1;padding:0 6px;border-radius:8px;font-size:11px;background:#e9efdf}
body:is(.reference-center,body) #main .floor-controls button:disabled{opacity:.4;cursor:default}
body:is(.reference-center,body) #main .scene-stair-button{display:none!important}body:is(.reference-center,body) #main .world-back:hover,body:is(.reference-center,body) #main .scene-tools button:hover{background:#edf2e5;filter:none}
body:has(#scene.is-seated) .space-navigation{visibility:hidden}
@media(max-width:760px){
 body:is(.reference-center,body) #main:not([data-view=map]) .world-back{left:12px;top:12px;height:38px;min-height:38px;font-size:10px;padding:0 10px}
 body:is(.reference-center,body) #main:not([data-view=map]) .location-chip{left:12px;top:64px;transform:none;width:230px;max-width:calc(100% - 148px);height:54px;padding:8px 10px}
 body:is(.reference-center,body) #main:not([data-view=map]) #location-name{font-size:12px}
 body:is(.reference-center,body) #main:not([data-view=map]) .scene-tools{right:12px;top:70px;gap:6px}
 body:is(.reference-center,body) #main:not([data-view=map]) .scene-tools button{width:34px;height:38px;min-height:38px;border-radius:10px}
 body:is(.reference-center,body) #main:not([data-view=map]) .floor-navigation{right:12px;top:130px;width:174px;padding:8px}
 body:is(.reference-center,body) #main .floor-navigation select{height:38px;font-size:10px;padding:0 4px}
 body:is(.reference-center,body) #main .floor-controls{gap:4px;margin-top:6px}
 body:is(.reference-center,body) #main .floor-controls button{font-size:9px;height:32px}
}
@media(max-width:390px){body:is(.reference-center,body) #main:not([data-view=map]) .floor-navigation{width:158px}}

.header #visitor-profile,.header #my-care{height:42px;border-radius:12px;border:1px solid #dce4d6;background:#fffdf5f5;box-shadow:0 4px 18px #243e3010;font-size:12px;padding:0 14px}
@media(max-width:760px){.header #visitor-profile,.header #my-care{height:38px;font-size:10px;padding:0 10px}}
.header #my-favorites{height:42px;border-radius:12px;border:1px solid #dce4d6;background:#fffdf5f5;padding:0 14px;font-size:12px;margin-left:auto;margin-right:8px}
.journal-entry{width:100%;text-align:left;background:#fffdf7;border:1px solid #e0e6db;border-radius:12px;margin:8px 0;padding:16px;display:flex;justify-content:space-between;gap:12px}.journal-entry:hover{background:#eef3e8}.journal-context{display:block;font-size:11px;line-height:1.7;margin-top:5px}.journal-entry time{font-size:11px;white-space:nowrap}.memory-gallery{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.memory-gallery figure{margin:0}.memory-gallery img{width:100%;height:220px;object-fit:contain;background:#edf0e7;border-radius:12px}.memory-gallery figcaption{font-size:12px;margin:8px 0}.journal-note{font-size:11px;color:#7b877c}
@media(max-width:760px){.header #my-favorites{height:38px;font-size:10px;padding:0 9px;margin-right:6px}.header #my-favorites .icon{width:16px;height:16px}.memory-gallery{grid-template-columns:1fr}.memory-gallery img{height:auto;max-height:320px}}
.header #my-favorites{margin-left:0}

body:has(.reading-panel[data-kind=consultation]:not([hidden])) .header,body:has(.reading-panel[data-kind=consultation]:not([hidden])) .space-navigation,body:has(.reading-panel[data-kind=consultation]:not([hidden])) .location-chip,body:has(.reading-panel[data-kind=consultation]:not([hidden])) .scene-tools,body:has(.reading-panel[data-kind=consultation]:not([hidden])) .world-back,body:has(.reading-panel[data-kind=consultation]:not([hidden])) .bench-reading-button,body:has(.reading-panel[data-kind=consultation]:not([hidden])) .toast{visibility:hidden!important}
.skin-options,.outfit-options{display:flex;flex-wrap:wrap;gap:8px}.profile-dialog .skin-options label,.profile-dialog .outfit-options label{display:flex;gap:6px;align-items:center;padding:10px;border:1px solid #dce4d6;border-radius:10px;font-size:12px;background:#fffdf7;cursor:pointer}.profile-dialog label:has(input:checked){background:#e7efdf;border-color:#67836b}.profile-dialog .skin-options label:before{content:'';width:18px;height:18px;border-radius:50%;background:#e8b996}.profile-dialog .skin-options label:first-of-type:before{background:#f4d9c4}.profile-dialog .skin-options label:nth-of-type(3):before{background:#bc835f}.profile-dialog .skin-options label:nth-of-type(4):before{background:#80513d}
/* Account navigation and service hierarchy. */
.header .my-page-button{height:44px;padding:0 20px;border-radius:12px;background:#244f3f;color:#fffdf5;font-size:13px;font-weight:700;box-shadow:0 4px 16px #183d3526;pointer-events:auto}
@media(max-width:760px){.header .my-page-button{height:38px;padding:0 15px;font-size:12px}}
body .header #my-page{background:#244f3f;color:#fffdf5;border:1px solid #244f3f;box-shadow:0 4px 16px #183d3526;font-weight:700}

/* Volunteer memories: photograph-first album */
.journal-album-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:4px 0 22px}.journal-eyebrow{font-size:11px;color:var(--muted);letter-spacing:1px}.journal-album-heading h3{font-size:26px;letter-spacing:-1px;margin:6px 0 0}.journal-album-heading>span{font-size:12px;color:var(--muted);white-space:nowrap}.journal-album{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 16px}.journal-photo-card{display:block;min-width:0;padding:8px 8px 12px;border:1px solid #e5e6dc;border-radius:6px;background:#fffefa;text-align:left;box-shadow:0 4px 12px #2943350b;transition:transform .18s,box-shadow .18s}.journal-photo-card:hover{transform:translateY(-3px);box-shadow:0 9px 20px #29433519}.journal-photo{display:block;position:relative;aspect-ratio:1;overflow:hidden;border-radius:3px;background:#eaf0e5}.journal-photo>img{display:block;width:100%;height:100%;object-fit:cover}.journal-photo-kind{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 16px);padding:5px 8px;border-radius:6px;background:#fffff2ed;color:#315c47;font-size:10px;font-weight:700;line-height:1.4}.journal-photo-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#8c9c89;font-size:11px}.journal-photo-empty .icon{width:34px;height:34px}.journal-photo-caption{display:flex;flex-direction:column;gap:5px;padding:12px 5px 0}.journal-photo-caption strong{font-size:13px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journal-photo-caption time{font-size:10px;color:var(--muted)}.journal-album-empty{grid-column:1/-1;text-align:center;padding:52px 12px;color:var(--muted);line-height:1.9;font-size:13px}#journal-more{width:100%;margin-top:24px}.journal-album+.secondary-button[hidden]{display:none}.journal-album~.journal-note{text-align:center;margin-top:22px}@media(max-width:380px){.journal-album{gap:14px 10px}.journal-photo-card{padding:5px 5px 10px}.journal-album-heading h3{font-size:23px}}

/* A held notice: readable paper, with the shelter retained behind it. */
.dog-dialog.held-poster{width:810px;max-width:100vw;max-height:100dvh;padding:28px 72px 40px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;outline:none}
.dog-dialog.held-poster::backdrop{background:rgba(24,42,34,.42);backdrop-filter:blur(5px)}
.held-poster #dog-dialog-content{position:relative;z-index:1;max-height:calc(100dvh - 90px);overflow:auto;background:#fffbed;border:1px solid #dfd6be;border-radius:3px 5px 8px 4px;box-shadow:0 20px 65px #10241f66,inset 0 0 40px #d5c99c18;scrollbar-width:thin;animation:notice-lift .28s ease-out}
.poster-heading{text-align:center;padding:28px 48px 20px;border-bottom:1px solid #d8d4bd;margin:0 24px;color:#315949}.poster-heading span{font-size:12px;letter-spacing:.08em}.poster-heading h2{font-size:25px;margin:8px 0 0;letter-spacing:-.05em}
.held-poster .dog-detail-top{display:block;padding:22px 28px 0}.held-poster .dog-detail-media{width:100%;max-width:380px;margin:auto}.held-poster .dog-detail-photo{height:290px;object-fit:contain;background:#f0eddf;border:8px solid white;box-shadow:0 3px 10px #314d3f15}.held-poster .dog-detail-main{padding:15px 0 0}.held-poster .dog-detail-main h2{font-size:17px;letter-spacing:0}.held-poster .dog-detail-grid{grid-template-columns:repeat(3,1fr);margin:18px 0 24px}.held-poster .dog-detail-grid dt{color:#687361;font-size:11px}.held-poster .dog-detail-grid dd{font-size:14px}.held-poster .detail-section p{color:#5d6d57;font-size:13px}.held-poster .detail-actions{flex-wrap:wrap}.held-poster .detail-actions button{flex:1 1 40%;min-height:44px}
.dog-dialog.held-poster>.dialog-close{position:absolute;right:84px;top:39px;z-index:5;background:#f4f0df;border:1px solid #d9d6c2;width:38px;height:38px}
.poster-hands{position:absolute;inset:0;pointer-events:none;z-index:3}.poster-hand{position:absolute;width:115px;bottom:-30px;filter:drop-shadow(0 4px 6px #142a3030)}.poster-hand svg{display:block;width:100%}.poster-hand-left{left:6px;transform:rotate(9deg)}.poster-hand-right{right:6px;transform:scaleX(-1) rotate(9deg)}
@keyframes notice-lift{from{opacity:0;transform:translateY(30px) rotate(-1deg)}to{opacity:1;transform:none}}
@media(max-width:600px){.dog-dialog.held-poster{padding:16px 20px 32px}.held-poster #dog-dialog-content{max-height:calc(100dvh - 55px)}.poster-heading{padding:24px 26px 16px;margin:0 12px}.poster-heading h2{font-size:21px}.held-poster .dog-detail-top{padding:18px 18px 0}.held-poster .dog-detail-photo{height:235px}.held-poster .detail-section{padding:20px 18px}.held-poster .dog-detail-grid{grid-template-columns:repeat(2,1fr)}.poster-hand{width:65px;bottom:-40px}.poster-hand-left{left:-10px}.poster-hand-right{right:-10px}.dog-dialog.held-poster>.dialog-close{right:27px;top:23px;width:32px;height:32px}.held-poster .detail-actions{flex-direction:row}}
@media(prefers-reduced-motion:reduce){.held-poster #dog-dialog-content{animation:none}}
.held-poster .dog-detail-media{min-height:0;background:transparent}.held-poster .dog-detail-media .dog-detail-photo{min-height:0;height:290px}.held-poster .dog-features{background:transparent;border-radius:0;box-shadow:none}.held-poster .poster-hand{bottom:-50px}
@media(max-width:600px){.held-poster .dog-detail-media .dog-detail-photo{height:235px}.held-poster .poster-hand{bottom:-48px}}

.shared-status{position:absolute;left:50%;top:76px;transform:translateX(-50%);z-index:4;padding:5px 12px;border-radius:20px;background:#fffaf0df;color:#365e4b;font-size:12px;pointer-events:none}.shared-status:empty,.shared-status[hidden]{display:none}@media(max-width:600px){.shared-status{top:114px;font-size:11px}}

/* Capacity waiting uses the same cream and forest palette as the center UI. */
dialog[aria-label="센터 입장 대기"]{box-sizing:border-box;width:min(440px,calc(100vw - 32px));padding:28px;color:#285444;border:1px solid #dce3d4;box-shadow:0 18px 60px #203c3426;text-align:left;}
dialog[aria-label="센터 입장 대기"] h2{margin:0 0 14px;font-size:21px;line-height:1.45;word-break:keep-all;}
dialog[aria-label="센터 입장 대기"] p{margin:0 0 24px;font-size:15px;line-height:1.75;color:#647762;}
dialog[aria-label="센터 입장 대기"] button{width:100%;min-height:48px;border:0;border-radius:12px;background:#315d49;color:#fffdf4;font:inherit;font-weight:700;cursor:pointer;}

/* Keep friend selection and its existing detail view independently reachable. */
.resident-entry{min-width:0;display:flex;flex-direction:column;gap:4px}.resident-entry .resident-option{width:100%;flex:1}.resident-option>span:last-child{display:block;font-size:12px;margin:8px 2px 2px}.resident-details{min-height:44px;width:100%;border-radius:8px;background:#f0f3e7;color:#425f3f;font-size:12px}.resident-option:focus-visible,.resident-details:focus-visible{outline:2px solid #425f3f;outline-offset:2px}
.resident-grid--gallery{margin-top:0}
.resident-grid--gallery .resident-option{display:grid;place-items:center;flex:none;aspect-ratio:1;padding:0}
.resident-grid--gallery .resident-option img{display:block;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:1;object-fit:cover;border-radius:inherit}
.resident-grid--gallery .resident-option img[hidden]{display:none}
.resident-grid--gallery .resident-option>span:last-child{margin:0}
.resident-grid--gallery .resident-details{min-height:36px;padding:4px;line-height:1.25;font-weight:700}
/* A scrolled friends list must retain its close control on mobile and desktop. */
#info-dialog>.dialog-heading{position:sticky;top:0;z-index:4;background:#fffbee}#info-dialog>.dialog-heading .dialog-close{min-width:44px;min-height:44px}

/* Loading and retry controls leave map/center navigation available. */
.scene-load-panel{position:absolute;z-index:30;top:30%;left:50%;transform:translateX(-50%);width:min(360px,calc(100% - 32px));padding:18px;border-radius:16px;background:#fffbee;color:#315640;text-align:center;box-shadow:0 4px 20px #24473125}.scene-load-panel[hidden]{display:none}.scene-load-panel p{margin:0;line-height:1.6}.scene-load-panel button{margin-top:12px;min-height:44px;padding:10px 18px;border:0;border-radius:12px;background:#315e49;color:#fffdf3;font:inherit}#scene[data-scene-load-state]:not([data-scene-load-state=ready])>canvas{pointer-events:none}

.photo-feedback{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;padding:6px;font-size:11px;line-height:1.4}.photo-feedback button{font-size:11px;padding:6px 9px}
