/* The atlas is separated into single transparent WebPs. Labels, focus and hit areas belong to the real controls. */
body .topbar{background:transparent url('/assets/menu-parts/hud-strip.webp') center/100% 100% no-repeat;border:0;box-shadow:none}
.topbar .brand{background:transparent}.topbar .sun{font-size:0;background:url('/assets/menu-parts/sun.webp') center/contain no-repeat;width:34px;height:32px}
.topbar :is(#online,#account-open,#sound){background:transparent url('/assets/menu-parts/hud-pill.webp') center/100% 100% no-repeat;color:#073748;border:0;box-shadow:none;padding-inline:12px;font-weight:850}
.topbar .coin-pill,.pet-picker header span,.trade-stage header>b{background:transparent url('/assets/menu-parts/coin-pill.webp') center/100% 100% no-repeat;border:0;color:#37291b;padding:5px 14px}
.topbar .coin-pill>span,.topbar #online>.green-dot{display:inline-block;font-size:0;height:20px;width:22px;background:transparent url('/assets/island-menu/coin.webp') center/contain no-repeat}
.topbar #online>.green-dot{background-image:url('/assets/menu-parts/people.webp')}
.topbar #account-open::before{content:"";display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:3px;background:url('/assets/menu-parts/account.webp') center/contain no-repeat}
.topbar #sound{font-size:0;width:42px;min-height:35px}.topbar #sound::after{content:"";display:block;width:18px;height:18px;background:url('/assets/menu-parts/music.webp') center/contain no-repeat}
body .dock{background:transparent url('/assets/menu-parts/dock-tray.webp') center/100% 100% no-repeat;border:0;box-shadow:none;padding:6px 10px 9px}
body .dock button,body .dock button.selected{background:transparent url('/assets/menu-parts/dock-tile.webp') center/100% 100% no-repeat;border:0;box-shadow:none;padding:6px 5px 8px}.dock button.selected{background-image:url('/assets/menu-parts/dock-selected.webp')!important}
#chat,body .panel:not(.harbor-panel):not(.minigame-panel),#panel .lobby-card,.trade-content .lot-list,.typed-companions,#panel.harbor-panel{background:transparent url('/assets/menu-parts/side-panel.webp') center/100% 100% no-repeat;border:0;box-shadow:none}
#chat{background-image:url('/assets/menu-parts/chat-panel.webp');padding:14px}
#chat .chat-heading,.panel:not(.harbor-panel) #panel-title,.trade-stage header h2,.pet-picker header h2,.activity-screen header h2{background:transparent url('/assets/menu-parts/section-tab.webp') center/100% 100% no-repeat;color:white;padding:5px 18px 6px;font-weight:950;font-style:italic}
#panel :is(.shop-row,.inventory-row,.resident-row,.activity-card,.friend-card,.wishlist-row),[data-menu-page=island-counters] .line{background:transparent url('/assets/menu-parts/item-row.webp') center/100% 100% no-repeat;border:0;box-shadow:none;padding:10px 12px}
.inventory-row>b{background:url('/assets/menu-parts/number-pill.webp') center/100% 100% no-repeat;padding:4px 12px}
#panel .account-card,.account-card fieldset,.edition-content article{background:transparent url('/assets/menu-parts/account-card.webp') center/100% 100% no-repeat;border:0;padding:14px}
#panel .milestone,#panel .wishlist-row{background-image:url('/assets/menu-parts/reward-row.webp')}
#panel #close-panel{border:0;box-shadow:none;background:transparent url('/assets/menu-parts/close.webp') center/contain no-repeat;font-size:0;width:36px;height:36px}
body #panel .pet-picker{background:#08c1dc url('/assets/menu-parts/pet-field.webp') center/cover no-repeat}
.pet-picker .pet-details,.trade-stage .combine-info{background:transparent url('/assets/menu-parts/pet-card.webp') center/100% 100% no-repeat;border:none;box-shadow:none;outline:none;padding:clamp(17px,3vw,40px)}
.pet-picker .pet-details h3,.trade-stage .combine-info h3{background:transparent url('/assets/menu-parts/pet-title.webp') center/100% 100% no-repeat;padding:7px 22px;color:white;font:italic 950 clamp(18px,2vw,30px)/1.1 var(--display)}
.pet-details dt,.combine-info dt{background:transparent url('/assets/menu-parts/stat-label.webp') center/100% 100% no-repeat;color:white;padding:4px 13px}
.pet-details dd,.combine-info dd{background:transparent url('/assets/menu-parts/stat-value.webp') center/100% 100% no-repeat;color:#172631;padding:4px 13px}
.pet-picker .pet-belt,.combine-belt{background:transparent url('/assets/menu-parts/belt.webp') center/100% 100% no-repeat;border:0;padding:7px 12px}
.pet-slots button,.pet-slots button[aria-pressed=true],.pet-slots .vacant{background:transparent url('/assets/menu-parts/pet-slot.webp') center/100% 100% no-repeat;border:none;box-shadow:none;padding:4px}
.pet-slots button[aria-pressed=true]{background-image:url('/assets/menu-parts/pet-slot-selected.webp')}
.pet-slots .vacant{display:block;flex:0 0 52px;min-height:44px}
.pet-belt>button{background:transparent url('/assets/menu-parts/arrow-left.webp') center/contain no-repeat;border:0;font-size:0;flex:none}
.pet-belt>button:last-child{background-image:url('/assets/menu-parts/arrow-right.webp')}
#panel .harbor-tools button:disabled,#arrival .arcade-panel button.menu-provider:disabled{background:transparent url('/assets/menu-parts/disabled.webp') center/100% 100% no-repeat!important;filter:none;opacity:.9}
#panel .lot-preview{background:transparent url('/assets/menu-parts/lot-preview.webp') center/100% 100% no-repeat;padding:18px;border:0}
#panel .lot-row{background:transparent url('/assets/menu-parts/lot-row.webp') center/100% 100% no-repeat;border:0;box-shadow:none}
#panel .lot-row[aria-pressed=true]{background-image:url('/assets/menu-parts/lot-selected.webp')}
.trade-stage nav .market-control,.harbor-tools summary,.edition-market nav button{background:transparent url('/assets/menu-parts/filter-tab.webp') center/100% 100% no-repeat;color:#103544;border:0;padding:9px 15px}
#panel .trade-stage nav button[aria-pressed=true],.edition-market nav button[aria-pressed=true]{background:transparent url('/assets/island-menu/pink.webp') center/100% 100% no-repeat;color:white}
.trade-stage footer .market-control,.duel-practice [data-lock]{background:transparent url('/assets/island-menu/cyan.webp') center/100% 100% no-repeat;color:white;border:0;padding:9px 16px}
.trade-stage footer .market-control:last-child{background-image:url('/assets/island-menu/pink.webp')}.trade-stage footer .market-control:disabled{background-image:url('/assets/menu-parts/disabled.webp');filter:none}
#arrival:is([data-screen=title],[data-screen=login],[data-screen=recovery],[data-screen=username]){background-image:url('/assets/menu-parts/title-wide.webp');background-position:center;background-size:cover}
#arrival:is([data-screen=title],[data-screen=login],[data-screen=recovery],[data-screen=username]) .arrival-cat{visibility:hidden}
#arrival .arcade-panel:is([data-sheet=title],[data-sheet=sign-in]) .menu-backing{content:url('/assets/menu-parts/form-panel.webp')}
#arrival .arcade-panel .menu-heading{background:transparent url('/assets/menu-parts/pet-title.webp') center/100% 100% no-repeat;color:white;-webkit-text-stroke:0;font:italic 950 5.1cqw/1 system-ui;text-shadow:none}
#arrival .menu-provider{background-image:url('/assets/island-menu/charcoal.webp')!important;color:white}
#arrival .menu-provider[data-zone=email]{background-image:url('/assets/island-menu/green.webp')!important}
#arrival .menu-provider span{color:inherit;text-shadow:0 1px 2px #102d39}
#arrival .menu-back{background:transparent url('/assets/menu-parts/back.webp') center/100% 100% no-repeat;border:0}
#arrival .menu-tabs,.account-card nav{background:transparent url('/assets/menu-parts/tab-strip.webp') center/100% 100% no-repeat}
#arrival .menu-tabs button[aria-pressed=true]{background:transparent url('/assets/menu-parts/active-tab.webp') center/100% 100% no-repeat;color:white}
#arrival input:not([type=range]):not([type=checkbox]),#panel input:not([type=range]):not([type=checkbox]),.admin-workspace input:not([type=range]):not([type=checkbox]){background:transparent url('/assets/menu-parts/text-field.webp') center/100% 100% no-repeat;border:0;padding:8px 13px;color:#142c36}
#arrival input:focus-visible,#panel input:focus-visible,.admin-workspace input:focus-visible{background-image:url('/assets/menu-parts/focused-field.webp')}
#arrival[data-screen=create]{background-image:url('/assets/menu-parts/character-stage.webp');background-size:cover}
.admin-workspace :is(aside,#controls),#layout-editor,#transport-editor{background:transparent url('/assets/menu-parts/inspector.webp') center/100% 100% no-repeat;border:0}
:is(#layout-editor,#transport-editor,.admin-workspace) :is(.layout-actions,.modes,.tabs,.editor-view-control),#panel .edition-content{background:transparent url('/assets/menu-parts/tool-tray.webp') center/100% 100% no-repeat;padding:8px}
:is(#layout-editor,#transport-editor,.admin-workspace) button:not([hidden]),[data-menu-page] nav button{background:transparent url('/assets/menu-parts/tool-tile.webp') center/100% 100% no-repeat;color:#173440;border:0;box-shadow:none}
:is(#layout-editor,#transport-editor,.admin-workspace) button[aria-pressed=true],[data-menu-page] nav button[aria-pressed=true]{background-image:url('/assets/menu-parts/tool-active.webp');color:#fff}
:is(#layout-editor,#transport-editor,.admin-workspace,#panel) input[type=range]::-webkit-slider-runnable-track{background:url('/assets/menu-parts/slider-track.webp') center/100% 100% no-repeat;height:10px;border:0}
:is(#layout-editor,#transport-editor,.admin-workspace,#panel) input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:url('/assets/menu-parts/slider-knob.webp') center/contain no-repeat;width:22px;height:22px;margin-top:-6px;border:0}
#symmetry{appearance:none;width:44px;height:24px;background:url('/assets/menu-parts/toggle-off.webp') center/100% 100% no-repeat}#symmetry:checked{background-image:url('/assets/menu-parts/toggle-on.webp')}
.duel-practice .duel-field article{background:transparent url('/assets/menu-parts/battle-hp.webp') center/100% 100% no-repeat;border:0;padding-inline:14px;color:#122a36}
#panel .duel-practice .duel-controls{background:transparent url('/assets/menu-parts/battle-command.webp') center/100% 100% no-repeat;padding:13px}
.duel-actions [data-move] strong::before{display:inline-block;content:"";width:22px;height:22px;vertical-align:middle;background:var(--move-art) center/contain no-repeat}
[data-move=tap]{--move-art:url('/assets/menu-parts/tap.webp')}[data-move=burst]{--move-art:url('/assets/menu-parts/burst.webp')}[data-move=guard]{--move-art:url('/assets/menu-parts/guard.webp')}[data-move=focus]{--move-art:url('/assets/menu-parts/focus.webp')}
#panel .part-tiles button,#arrival .part-tiles button{background:transparent url('/assets/menu-parts/swatch.webp') center/100% 100% no-repeat;border:0}
#panel .part-tiles button[aria-pressed=true],#arrival .part-tiles button[aria-pressed=true]{background-image:url('/assets/menu-parts/tool-active.webp')}
@media(max-width:680px){
 #arrival:is([data-screen=title],[data-screen=login],[data-screen=recovery],[data-screen=username]){background-image:url('/assets/menu-parts/title-phone.webp');background-position:center bottom}
 body .dock{padding:4px 9px 7px}.topbar #account-open{font-size:0;width:36px}.topbar #account-open::before{margin:0}
 .pet-picker .pet-details{padding:16px 22px}.pet-slots .vacant{flex-basis:44px}
}

.shop-row:has([data-furniture="rug"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/rug.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="plant"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/planter.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="sofa"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/sofa.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="lamp"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/lamp.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="table"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/table.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="bed"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/bed.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="toy"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/yarn.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="radio"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/radio.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="ruins-lantern"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/lantern.webp") center/contain no-repeat;width:48px;height:48px;flex:none}
.shop-row:has([data-furniture="workshop-table"]) .item-icon{font-size:0;background:transparent url("/assets/menu-parts/patch-table.webp") center/contain no-repeat;width:48px;height:48px;flex:none}#panel .trade-stage[data-scene=combine]{background:#05bedb url('/assets/menu-parts/combine-field.webp') center/cover no-repeat}
.combine-overview{display:grid;grid-template-columns:.9fr 1fr;align-items:center;min-width:0}
.combine-model{height:clamp(130px,24vh,250px);display:grid;place-items:center}
.combine-model .harbor-live-pet{width:100%;height:100%;min-height:0}
.combine-model .harbor-live-pet>*{display:block;width:100%;height:100%;object-fit:contain}
.combine-info dl{display:grid;grid-template-columns:auto 1fr;gap:4px;margin:7px 0;color:#192d36;font-weight:800}.combine-info dd{margin:0}
.trade-stage[data-scene=combine] .fusion-pair{background:transparent url('/assets/menu-parts/belt.webp') center/100% 100% no-repeat;border:0;padding:7px 14px}
.fusion-pair article{background:transparent url('/assets/menu-parts/pet-slot-selected.webp') center/100% 100% no-repeat;color:#fff;padding:8px}
.fusion-pair article+article{position:relative}.fusion-pair article:nth-child(2)::before{content:"";position:absolute;left:-13px;top:40%;width:22px;height:22px;background:url('/assets/menu-parts/plus.webp') center/contain no-repeat}
.fusion-pair article:last-child{background-image:url('/assets/menu-parts/result-slot.webp');color:#15323a;outline:0}
.fusion-pair img{height:clamp(45px,6vw,85px)}
.trade-stage[data-scene=combine] .trade-content>p{background:var(--cream);color:var(--ink);padding:4px 12px;border-radius:10px;margin:0}
#panel .sanctuary-variants{display:flex;overflow-x:auto;gap:3px;background:transparent url('/assets/menu-parts/belt.webp') center/100% 100% no-repeat;padding:7px;max-width:100%}
.sanctuary-variants button{display:grid;justify-items:center;flex:0 0 64px;padding:5px 4px;color:#123243;background:transparent url('/assets/menu-parts/pet-slot.webp') center/100% 100% no-repeat;border:0;font-weight:850}
.sanctuary-variants button[aria-pressed=true]{background-image:url('/assets/menu-parts/pet-slot-selected.webp');color:white}
.sanctuary-variants img{width:38px;height:36px;object-fit:contain}
#panel[data-screen=sanctuary] .typed-companions{display:flex;flex-direction:column;gap:5px;background:transparent url('/assets/menu-parts/pet-card.webp') center/100% 100% no-repeat;padding:18px}
.typed-companions>.pet-grid{order:-1}.typed-companions>h3{order:-2}.typed-companions>p{display:none}
#arrival .arrival-slot{background:transparent url('/assets/menu-parts/account-card.webp') center/100% 100% no-repeat;border:0;padding:9px 15px;color:#163247}.arrival-slot>span img{width:100%;height:100%;object-fit:contain}
@media(max-width:680px){.combine-overview{grid-template-columns:1fr}.combine-model{height:min(20dvh,160px)}.trade-stage .combine-info{padding:14px 20px}.combine-info dl{font-size:14px}.fusion-pair img{height:45px}}

.venue-banner{display:block;width:100%;height:clamp(78px,12vh,135px);object-fit:cover;border-radius:12px;grid-column:1/-1}.activity-card:has(.venue-banner){display:grid;grid-template-columns:auto minmax(0,1fr)}

.admin-workspace :is(aside,#controls),#layout-editor,#transport-editor{background-color:#fff6e6}
#camera-mode::before,#panel button[data-open="departures"]::before,.duel-field .energy::before,#panel button[data-party-invite]::before{content:"";display:inline-block;width:24px;height:24px;vertical-align:middle;background:center/contain no-repeat;margin-right:5px}
#camera-mode::before{background-image:url("/assets/menu-parts/camera.webp")}#panel button[data-open="departures"]::before{background-image:url("/assets/menu-parts/lighthouse-ticket.webp")}.duel-field .energy::before{background-image:url("/assets/menu-parts/energy.webp")}#panel button[data-party-invite]::before{background-image:url("/assets/menu-parts/party.webp")}
#panel[data-screen=bag] [data-open]{background:transparent url("/assets/menu-parts/item-shortcut.webp") center/100% 100%;color:#143747}

#panel .pet-picker{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.pet-picker>*,.pet-belt,.pet-slots,.pet-details dl,.pet-picker .pet-podium{min-width:0}
.pet-picker .pet-podium{position:relative;background:none;isolation:isolate;overflow:hidden}
.pet-picker .pet-podium::before{content:"";position:absolute;bottom:0;left:50%;width:85%;height:23%;transform:translateX(-50%);background:url('/assets/menu-parts/podium-cut.webp') center/100% 100% no-repeat;z-index:-1}
.pet-picker .pet-podium .harbor-live-pet{width:90%;height:88%;align-self:end;margin:0 0 8%}
@media(max-width:680px){#panel .pet-picker{grid-template-columns:minmax(0,1fr)}.pet-picker .pet-details{display:flex;flex-direction:column;align-items:stretch}.pet-picker .pet-details .equip-pet{align-self:center}.pet-picker .pet-belt{width:100%;box-sizing:border-box}.pet-picker .pet-podium{width:100%}.pet-picker .pet-podium::before{width:55%}}
#chat-toggle>span:first-child::before{content:"";display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:4px;background:url("/assets/menu-parts/chat.webp") center/contain no-repeat}
#layout-undo::before,#undo::before{content:"";display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:4px;background:url("/assets/menu-parts/undo.webp") center/contain no-repeat}
#redo::before{content:"";display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:4px;background:url("/assets/menu-parts/redo.webp") center/contain no-repeat}
label:has(>#layout-rotation)::before{content:"";display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:4px;background:url("/assets/menu-parts/handle.webp") center/contain no-repeat}
label:has(>#radius)::before{content:"";display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:4px;background:url("/assets/menu-parts/brush-radius.webp") center/contain no-repeat}
[data-action*="friend.request"]::before,[data-action*="friend.accept"]::before{content:"";display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:4px;background:url("/assets/menu-parts/request.webp") center/contain no-repeat}
[data-action*="party.invite"]::before{content:"";display:inline-block;vertical-align:middle;width:20px;height:20px;margin-right:4px;background:url("/assets/menu-parts/party.webp") center/contain no-repeat}
body .quick-actions button{background:transparent url("/assets/menu-parts/round-tool.webp") center/100% 100% no-repeat;border:0}.admin-workspace .modes{background-image:url("/assets/menu-parts/palette-tray.webp")}.panel .account-card button.secondary{background-image:url("/assets/menu-parts/secondary.webp");color:#163242}.topbar #online>.green-dot{flex-shrink:0}
.pet-picker .pet-podium .harbor-live-pet{position:absolute;inset:0 0 7%;height:93%;width:100%;min-height:0;max-height:100%;margin:0}
.pet-picker .pet-podium .harbor-live-pet>canvas{display:block;width:100%;height:100%;object-fit:contain}
#arrival .menu-provider[data-zone=email]>img{content:url("/assets/menu-parts/mail.webp");object-fit:contain}
#panel .friend-status::before{content:"";width:16px;height:16px;display:inline-block;background:url("/assets/menu-parts/badge.webp") center/contain no-repeat;vertical-align:middle;margin-right:3px}
