@font-face{font-family:Pretendard;src:url('./vendor/Pretendard-Regular.subset.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Pretendard;src:url('./vendor/Pretendard-SemiBold.subset.woff2') format('woff2');font-weight:500 900;font-display:swap}
:root{--ui-font:Pretendard,'Apple SD Gothic Neo','Segoe UI','Malgun Gothic',sans-serif;--ink:#242320;--muted:#777169;--paper:#faf7f0;--green:#48443e;--edge:#ded7ca;--accent:#b7a58b;--hud-surface:rgba(25,29,28,.4);--hud-active:rgba(221,226,220,.12);--hud-hover:rgba(49,54,52,.56);--hud-text:#e7e9e4;--hud-muted:#c3c9c2;--hud-edge:rgba(230,235,228,.38);--hud-blur:blur(8px) saturate(.85) brightness(.9);--control-size:44px;--shadow:0 8px 28px #342b221a;font-family:var(--ui-font);color:var(--ink)}
body{font-family:var(--ui-font);letter-spacing:-.025em;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font-family:var(--ui-font)}
body :is(h1,h2,h3,.brand,.scene-message,#petting-status){font-family:var(--ui-font);font-weight:600;letter-spacing:-.035em}
body :is(button,.sns-links>summary,.seo-content>summary):not(:where(.account-provider)){background:var(--hud-surface)!important;color:var(--hud-text)!important;border:1px solid var(--hud-edge);box-shadow:inset 0 1px 0 #ffffff08;min-height:var(--control-size);font-weight:500;text-shadow:0 1px 2px #0003;backdrop-filter:var(--hud-blur);-webkit-backdrop-filter:var(--hud-blur);transition:background-color .16s,border-color .16s;filter:none}
body :is(button,.sns-links>summary,.seo-content>summary):not(:where(.account-provider)):hover{background:var(--hud-hover)!important;border-color:#e6ebe4a3}
body :is(button[aria-pressed=true],button[aria-expanded=true],.dock button.active,.sns-links[open]>summary){background:var(--hud-hover)!important;border-color:#e6ebe480;color:var(--hud-text)!important}
body :is(button,summary,a,input,textarea,select):focus-visible{outline:2px solid #aeb9ae;outline-offset:3px}
body button:disabled{opacity:.45;cursor:default}
body :is(.primary,.secondary,.grove-primary,.gift-row button,.locker-clear-choices button,.social-admin-send){border-radius:10px;padding:10px 15px;font-size:13px}
body :is(.panel,.grove-card,.grove-dialog,.locker-clear-dialog,.social-actions,.social-presets,.social-admin-composer,.sns-menu,.seo-copy,.pebble-actions,.pet-family){background:var(--paper);color:var(--ink);border-color:var(--edge);box-shadow:var(--shadow);font-family:var(--ui-font)}
body :is(.icon-button,.scene-caption .text-action,.scene-link,#avatar-settings,#go-baby,#pebble-zone,#tree-entry,#niche-move,#pet-chat-launcher,.social-say-toggle,#visitor-social .social-admin-toggle,.sns-links>summary,.seo-content>summary,#bag-toggle){width:var(--control-size);height:var(--control-size);min-width:var(--control-size);min-height:var(--control-size);padding:4px;border:1px solid var(--hud-edge);border-radius:14px;box-sizing:border-box;gap:1px;font-size:9px;line-height:1.1}
body :is(.icon-button,.scene-caption .text-action,.scene-link,#avatar-settings,#go-baby,#pebble-zone,#tree-entry,#niche-move,#pet-chat-launcher,.social-say-toggle,.social-admin-toggle,.sns-links>summary,.seo-content>summary,#bag-toggle) svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
body .seo-content>summary::before{display:none}
body #avatar-settings{top:112px}body #go-baby{top:164px}body #pebble-zone{top:216px}
body .topbar{height:48px;min-height:48px;top:8px;padding:2px 5px;gap:4px;background:var(--hud-surface);border:1px solid var(--hud-edge);border-radius:18px}
body .topbar .brand{font-size:18px;margin:0 3px;gap:3px}body .topbar .brand svg{width:23px}
body .topbar :is(#account-button,#help){width:44px;height:44px;min-height:44px;border:0;padding:8px}
body .topbar :is(.presence-button,.quiet-button,.music-controls button){font-size:11px;padding:4px 6px;border-radius:10px}
body .music-controls{gap:3px}body .presence-button{margin-left:0;gap:4px}
body .dock{background:var(--hud-surface);border:1px solid var(--hud-edge);padding:5px;gap:4px;border-radius:20px;box-shadow:none}
body .dock button{height:56px;min-height:56px;min-width:68px;padding:6px 8px;gap:4px;border-radius:10px;font-size:11px;background-color:transparent!important}
body .dock button.active,body .dock button[aria-expanded=true]{background-color:var(--hud-active)!important}
body .dock button svg{width:22px;height:22px;stroke-width:1.65}
body .dock-divider{height:28px;margin:0 2px}
body :is(#niche-gift,#niche-write){width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border-radius:12px}
body #niche-write[data-invite=true]{width:auto;height:auto;padding:9px 12px;font-size:12px}
body #niche-write svg,body #niche-gift svg{width:22px;height:22px}
body :is(.candle-action,.comfort-action,.walking-candle-action,#tree-rest-action,.niche-tribute){min-height:44px;padding:10px 14px;font-size:13px;border-radius:16px;border:1px solid var(--hud-edge)}
body :is(.niche-navigation,.grove-care){background:var(--hud-surface);border-color:var(--edge);color:var(--ink)}
body .niche-navigation button{min-height:44px;padding:8px 12px;font-size:12px}
body[data-scene=niche] .pet-family{height:48px;padding:2px 6px;background:var(--hud-surface)}
body .pet-family :is(.family-choices button,#add-family-pet){min-height:42px;font-size:12px;padding:6px 9px;border:0}
body .pet-family .family-caption{color:var(--muted);font-size:10px}
body .grove-card{background:#faf7f0e8;color:var(--ink)}body .grove-card :is(p,span,small,.grove-summary,.grove-card-head){color:var(--muted)}
body .grove-card .grove-picker select{background:#f3eee4;color:var(--ink);border-color:var(--edge);min-height:40px}
body .grove-card :is(.grove-refresh,.grove-picker button,.grove-walk){min-height:40px}
body .grove-card progress::-webkit-progress-value{background:#aa987d}body .grove-card progress::-webkit-progress-bar{background:#e9e2d5}
body .grove-care button{padding:10px 12px;border-radius:10px;color:var(--ink);font-size:12px}
body .grove-care :is(small,p){color:var(--muted)}body .grove-care p{background:#faf7f0e6;text-shadow:none}
body :is(.social-target,.social-target:hover){background-color:transparent!important}body .social-target span{color:var(--ink);background:var(--hud-surface);border-color:var(--edge)}
body .social-actions .social-close{background-color:transparent!important}body .social-actions .social-close svg{background:#2b302edb;border-color:var(--hud-edge)}
body :is(.social-presets,.social-admin-composer,.seo-content,.pebble-actions){font-family:var(--ui-font);color:var(--ink)}
body .social-preset-list button{min-height:44px;font-size:13px}
body .gift-art{background:#eee7d9;border-radius:10px}body .gift-art svg{stroke:var(--ink)}body .gift-art img{width:48px;height:48px;object-fit:contain}
body .gift-row{grid-template-columns:52px 1fr auto;gap:11px;padding:13px 0}body .gift-row strong{font-size:14px;font-weight:600}body .gift-row small{font-size:12px;line-height:1.45}
body .gift-bag{background:var(--hud-surface);border-color:var(--edge)}body .bag-items svg{stroke:var(--ink)}body .bag-items button{min-height:56px}
body :is(.field input,.field select,.field textarea,.placed-selector select){background:#fffdf8;border-color:var(--edge);color:var(--ink)}
body :is(.photo-picker,.owned-lockers,.locker-list-item){background:#eee7d9;border-color:var(--edge)}
body #pet-chat-dialog{background:#ebe5da}body .pet-chat-header h2{font-family:var(--ui-font);font-weight:600}
body .petting-hint{color:#797167}body #petting-status{color:#514a41}
body .pad{min-height:44px;width:44px;height:44px;padding:10px;border-radius:50%;background-color:transparent!important;color:var(--ink)}
body .pad.up{left:calc(50% - 22px);top:-4px}body .pad.down{left:calc(50% - 22px);bottom:-4px}body .pad.left{left:-4px;top:calc(50% - 22px)}body .pad.right{right:-4px;top:calc(50% - 22px)}
body .joystick{background:var(--hud-surface);border-color:var(--hud-edge)}body .stick{background:#e2e7df4d;border:1px solid #e6ebe44d}
@media(max-width:600px){body .topbar{left:8px;max-width:calc(100vw - 16px);gap:2px;padding:2px 3px}body .topbar :is(.presence-button,.music-controls button){font-size:10px;padding:4px}body .dock{gap:1px;padding:4px 2px;width:calc(100vw - 20px)}body .dock button{min-width:0;flex:1;padding:5px 3px;font-size:10px;height:54px;min-height:54px}body .dock button svg{width:21px;height:21px}body .pet-family .family-choices button{font-size:11px;padding:5px}body .pet-family #add-family-pet{width:36px;padding:5px}body .grove-care button{padding:10px 6px;font-size:11px}body .grove-picker{align-items:center}}
@media(max-width:350px){body .topbar .brand span{display:none}body .topbar .brand{margin:0 2px}}
@media(prefers-reduced-motion:reduce){body :is(button,summary){transition:none}}

body .dock button>span:last-child{position:static;width:auto;height:auto;clip:auto;clip-path:none;overflow:visible;margin:0;white-space:nowrap;line-height:1.2}
body #niche-write[data-invite=true]{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:6px;width:auto;height:44px;min-height:44px;white-space:nowrap}
@media(max-width:600px){body .niche-navigation{gap:3px;padding:4px;max-width:calc(100vw - 124px)}body .niche-navigation button{width:44px;min-width:44px;padding:10px;justify-content:center}body .niche-navigation button>span:not([data-icon]){display:none}body .niche-navigation output{font-size:11px;min-width:32px;padding:0 2px}}

/* Blur each floating surface once; controls inside it share that same glass. */
body :is(.topbar,.dock,.joystick,.niche-navigation,.pet-family,.gift-bag,.grove-card,.grove-care,.pebble-actions,.social-actions,.social-presets,.social-admin-composer,.sns-menu){background:var(--hud-surface);border:1px solid var(--hud-edge);color:var(--hud-text);backdrop-filter:var(--hud-blur);-webkit-backdrop-filter:var(--hud-blur);box-shadow:inset 0 1px 0 #ffffff08}
body :is(.topbar,.dock,.joystick,.niche-navigation,.pet-family,.gift-bag,.grove-card,.grove-care,.pebble-actions,.social-actions,.social-presets,.social-admin-composer) button{background:transparent!important;border-color:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
body :is(.topbar,.dock,.niche-navigation,.pet-family,.gift-bag,.grove-card,.grove-care,.pebble-actions,.social-actions,.social-presets,.social-admin-composer) button:is(:hover,[aria-pressed=true],[aria-expanded=true],.active){background:var(--hud-active)!important;border-color:var(--hud-edge)}
body .topbar :is(.brand,#location),body .niche-navigation output,body .social-name{color:var(--hud-text)}
body :is(.header-divider,.dock-divider){background:#e6ebe42e}
body #niche-share{border-left-color:var(--hud-edge)}
body .music-controls input{accent-color:#bdc6bc}
body .joystick-ring{border-color:#e6ebe429}
body .pet-family .family-caption,body .grove-card :is(p,span,small,.grove-summary,.grove-card-head),body .grove-care :is(small,p),body .social-admin-footer span{color:var(--hud-muted)}
body .grove-card .grove-picker select,body .gift-bag .placed-selector select,body .social-admin-input{background:#1b201e80;border-color:var(--hud-edge);color:var(--hud-text);color-scheme:dark}
body .grove-card progress::-webkit-progress-value{background:#b9c5b4}body .grove-card progress::-webkit-progress-bar{background:#e6ebe426}
body .grove-care p{background:var(--hud-surface);border:1px solid var(--hud-edge);backdrop-filter:var(--hud-blur);-webkit-backdrop-filter:var(--hud-blur)}
body .bag-items svg{stroke:var(--hud-text)}body .bag-items button[aria-pressed=true]{outline:1px solid var(--hud-edge)}
body button.social-target{border:0;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}body .social-target span{background:var(--hud-surface);color:var(--hud-text);border-color:var(--hud-edge)}
body .social-admin-input::placeholder{color:var(--hud-muted)}
body .sns-menu :is(a,p){color:var(--hud-text)}body .sns-menu :is(p span,.sns-external){color:var(--hud-muted)}body .sns-menu a:hover{background:var(--hud-active)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--hud-surface:rgba(25,29,28,.84)}}
body #family-invite{position:absolute;left:12px;top:164px;z-index:4;display:grid;justify-items:center;align-content:center;gap:1px;font-size:9px}
body .family-dialog{width:min(400px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--hud-edge);border-radius:18px;padding:26px;color:var(--hud-text);background:#232825e8;box-shadow:none}
.family-dialog::backdrop{background:#12151270;backdrop-filter:blur(4px)}.family-dialog h2{margin:0 36px 16px 0;font-size:22px}.family-dialog p{font-size:13px;line-height:1.8}.family-dialog .family-close{position:absolute;right:10px;top:10px;font-size:25px}.family-dialog :is(.family-permissions,.small-note,.field small){color:var(--hud-muted)}.family-dialog .family-status:empty{display:none}
body .family-dialog .field input{background:#151a1766;border-color:var(--hud-edge);color:var(--hud-text)}.family-dialog .family-link{font-size:12px}
body.panel-open #family-invite,body[data-petting=true] #family-invite,body[data-tribute-ceremony=true] #family-invite{display:none}
