@font-face{font-family:Sticker;src:url('fonts/balsamiqsans.ttf')}@font-face{font-family:Round;src:url('fonts/nunito.ttf')}
/* Original menu and all on-field interfaces retain their own styles. */
#menu{background:none;padding:0}
#menu>:not(#menu-studio){display:none}
#menu-studio{position:absolute;inset:0;overflow:hidden;pointer-events:auto;font-family:Round, sans-serif;color:#234939;isolation:isolate}
#menu-studio button{touch-action:manipulation}#menu-studio svg,#menu-tabs svg{width:30px;height:30px;flex-shrink:0}
#menu-studio .studio-logo{position:absolute;margin:0;line-height:.88;letter-spacing:-1px;font-weight:900;text-shadow:none;z-index:2}
#menu-studio .studio-logo span{display:block;color:inherit}
.studio-tools{position:absolute;z-index:5;top:max(22px,env(safe-area-inset-top));right:max(26px,env(safe-area-inset-right));display:flex;align-items:center;gap:16px}
.studio-coins{display:flex;gap:5px;align-items:center;font-size:20px;font-weight:900;padding:7px 12px;background:#fff6de;border-radius:22px;box-shadow:0 2px 0 #22463b33}.studio-coins svg{color:#b18027}
.studio-gear{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff6de;border:2px solid #305943}.studio-gear span{display:none}
.studio-shortcuts{position:absolute;z-index:4;display:flex;gap:16px}.studio-shortcuts button{display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px;font-weight:800}
.studio-version{position:absolute;bottom:13px;left:22px;font:10px Round,sans-serif;opacity:.75;z-index:4}.studio-help{position:absolute;bottom:10px;right:24px;background:none;display:flex;align-items:center;gap:3px;font-size:12px;min-height:40px;z-index:4}
.studio-hero{width:100%;height:100%;object-fit:contain;pointer-events:none}.studio-biomes{display:flex;gap:6px;justify-content:center}.studio-biomes button{padding:10px 20px;min-height:44px;background:#f9f4dc;color:#335942;border:2px solid transparent;border-radius:30px;font-size:15px;font-weight:800}.studio-biomes button[aria-pressed=true]{border-color:#31583e;background:#ddeaa2}.studio-biomes i{font-style:normal}
.studio-play{display:flex;justify-content:center;align-items:center;gap:12px;font-weight:900;font-size:32px;min-height:70px;min-width:235px}@keyframes leaf-bob{50%{transform:translateY(-5px)}}
.hero-caption{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);white-space:nowrap;background:#fff7df;color:#3e6046;padding:5px 20px;border-radius:50% 50% 10px 10px;font-size:16px;font-weight:900;box-shadow:0 3px #496a3750}
/* Sticker club: a flat tabletop of collectible die-cut art and two playable postcards. */
#menu-studio[data-theme=stickers]{background:#f3eedf;background-image:radial-gradient(#bdb4a55e .8px,transparent .8px);background-size:9px 9px;color:#303754}
#menu-studio[data-theme=stickers]:before{content:'';position:absolute;left:-5%;top:-20%;width:40%;height:145%;background:#f7bd57;rotate:-12deg;border-right:3px solid #303754;z-index:-1}
.sticker-heading{position:absolute;left:6%;top:8%;width:36%;height:21%;rotate:-6deg}
#menu-studio[data-theme=stickers] .studio-logo{font-family:Sticker,sans-serif;font-size:clamp(48px,6vw,88px);color:#303754;letter-spacing:-3px;text-transform:uppercase;line-height:.94}
#menu-studio[data-theme=stickers] .studio-logo span{color:#d95862;paint-order:stroke; -webkit-text-stroke:.102em #fff5dd;text-shadow:.057em .08em 0 #303754}
.sticker-doodle{position:absolute;right:0;bottom:0;font-size:65px;color:#418d89;rotate:12deg}
.sticker-hero{position:absolute;left:9%;top:34%;height:43%;width:28%;background:#f9f8ed;border:2px solid #303754;border-radius:49% 45% 44% 48%;box-shadow:10px 12px #303754;rotate:-7deg}
.sticker-hero .studio-hero{width:110%;height:110%;position:absolute;left:-5%;bottom:5%;filter:drop-shadow(3px 0 #fff) drop-shadow(-3px 0 #fff) drop-shadow(0 3px #fff)}
.sticker-hero>b{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);background:#f5f1e3;padding:4px 14px;border-radius:3px;white-space:nowrap;font-family:Sticker;font-size:22px}
.stamp-label{position:absolute;top:-9%;left:-6%;z-index:2;background:#69b6aa;border:2px solid #303754;rotate:8deg;padding:8px 24px;font:21px Sticker;max-width:90%;overflow:hidden;text-overflow:ellipsis}
.stamp-number{position:absolute;bottom:9%;right:-8%;z-index:2;border:2px solid #303754;background:#ffce61;padding:8px;font:18px Sticker;rotate:10deg}
.sticker-destinations{position:absolute;top:19%;right:6%;width:48%;height:57%;display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center}
.destination{position:relative;height:82%;display:flex;flex-direction:column;padding:10px;background:#fffaf0;border:2px solid #303754;box-shadow:7px 8px #303754;rotate:4deg;text-align:left;overflow:hidden}
.destination-tropics{rotate:-5deg;margin-top:32px;background:#d0eee3}.destination canvas{width:100%;height:65%;object-fit:cover;object-position:center;flex:1;min-height:0;border:1px solid #303754;background:#d9eef2}
.destination-label{font:clamp(18px,2vw,29px) Sticker;line-height:1.05;padding:12px 1px 6px}.destination>b{font:19px Sticker;padding:8px;background:#eb756c;border:1px solid #303754;align-self:flex-start}.destination-tropics>b{background:#fff2b8}
.destination-no{position:absolute;top:15px;left:15px;background:#fff5d8;border:2px solid #303754;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font:18px Sticker}
#menu-studio[data-theme=stickers] .studio-shortcuts{bottom:8%;right:6%;width:48%;gap:15px;justify-content:space-between}
#menu-studio[data-theme=stickers] .studio-shortcuts button{background:#f9f8ef;border:2px solid #303754;border-radius:4px;box-shadow:4px 4px #303754;padding:13px 18px;rotate:-2deg;font:19px Sticker}
#menu-studio[data-theme=stickers] .studio-shortcuts button:nth-child(2){background:#efafc5;rotate:3deg}#menu-studio[data-theme=stickers] .studio-shortcuts button:nth-child(3){background:#96c6da}
#menu-studio[data-theme=stickers] .studio-gear{border-radius:7px;border-color:#303754;rotate:6deg}.studio-gear svg{color:#315343}
.island-art{width:100%;height:100%;object-fit:contain;mask-image:radial-gradient(ellipse 48% 48% at center,#000 88%,transparent 100%)}
/* Shared functionality, deliberately different section layouts. */
#modal:not([open]){display:none!important}
#modal[data-menu-theme]:not([data-menu-theme=field]){--ink:#294d41;--cream:#fff9e8;max-width:none;max-height:none;display:grid;overflow:hidden;inset:0;margin:auto;font-family:Round,sans-serif;color:var(--ink);height:min(860px,94dvh);width:min(1240px,95vw);padding:24px;border:0;border-radius:28px;grid-template:76px minmax(0,1fr)/112px minmax(0,1fr);gap:12px;background:#fff8e6}
#modal[data-menu-theme]:not([data-menu-theme=field]) .modal-head{grid-column:1/-1;min-width:0;margin:0;align-items:center;gap:10px}
#modal[data-menu-theme]:not([data-menu-theme=field]) .modal-head h2{font-size:clamp(24px,3vw,38px);line-height:1.08;margin:0;color:inherit}
#modal[data-menu-theme]:not([data-menu-theme=field]) .modal-head .eyebrow:empty{display:none}
#modal[data-menu-theme]:not([data-menu-theme=field]) #modal-body{overflow:auto;overscroll-behavior:contain;min-height:0;min-width:0;padding:8px 16px 24px;scrollbar-width:thin;scrollbar-color:#9eaf8e transparent}
#menu-tabs{display:flex;flex-direction:column;gap:12px;align-self:start;padding-top:8px}#menu-tabs button{display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 5px;border-radius:18px;background:none;font:800 13px Round;color:inherit;min-height:68px}#menu-tabs button[aria-current=page]{background:#e5e9c8}#menu-tabs svg{width:28px;height:28px}
#modal[data-menu-theme]:not([data-menu-theme=field]) .primary{--pink:#dd7959;--darkpink:#9d5342;border-radius:35px;box-shadow:0 4px var(--darkpink);font-family:inherit}
#modal[data-menu-theme]:not([data-menu-theme=field]) .secondary{border:1px solid #97a884;background:#edf0d7;border-radius:15px;min-height:44px;padding:9px 16px;font:800 14px Round}
#modal[data-menu-theme]:not([data-menu-theme=field]) .account-card{display:none}
#modal[data-menu-theme]:not([data-menu-theme=field]) .biome-card small{display:none}#modal[data-menu-theme]:not([data-menu-theme=field]) .biome-card{min-width:0}
#modal[data-menu-theme]:not([data-menu-theme=field]) .profession-picker{padding:12px 0}#modal[data-menu-theme]:not([data-menu-theme=field]) .profession-picker summary{cursor:pointer;min-height:44px;padding:12px 16px;background:#edf0d7;border-radius:12px;font-weight:800}
#modal[data-menu-theme]:not([data-menu-theme=field]) .collection-note{font-size:12px;line-height:1.5;max-width:750px;color:#587261}
#modal[data-menu-theme]:not([data-menu-theme=field]) .index4-grid{gap:14px;grid-template-columns:repeat(4,minmax(0,1fr));background:none;margin:18px 0}
#modal[data-menu-theme]:not([data-menu-theme=field]) .index4-card{min-width:0;min-height:190px;padding:8px;border:1px solid #c5ceb5;border-radius:24px;background:#f4f1d9;justify-content:center;box-shadow:none}
#modal[data-menu-theme]:not([data-menu-theme=field]) .index4-card.found{background:#e6edcf;border-color:#a8bd8d}#modal[data-menu-theme]:not([data-menu-theme=field]) .index4-card b{font-size:14px}
#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-head{margin-bottom:12px}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-layout{display:grid;grid-template-columns:minmax(250px,.9fr) minmax(0,1fr);gap:22px;align-items:start}
#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-stage{position:sticky;top:0;min-width:0}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-stage>canvas{width:100%;height:auto;max-height:360px;border-radius:40%;border:0;background:#e8eed8;box-shadow:none;object-fit:contain}
#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:visible;min-width:0;max-height:none}
#modal[data-menu-theme]:not([data-menu-theme=field]) .look-card{min-width:0;min-height:145px;background:#fff9e9;border:1px solid #c1cba9;border-radius:16px;padding:8px 4px;box-shadow:none}
#modal[data-menu-theme]:not([data-menu-theme=field]) .look-card.selected{border:3px solid #cb735c;background:#f7e2ca}
#modal[data-menu-theme]:not([data-menu-theme=field]) #look-apply{grid-column:1/-1;position:sticky;bottom:0;z-index:2}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-items>p{grid-column:1/-1}
#modal[data-menu-theme]:not([data-menu-theme=field]) .nickname{display:flex;flex-wrap:wrap;gap:7px;padding:10px 4px;align-items:center;font-size:12px}.nickname input{min-width:0}
#modal[data-menu-theme]:not([data-menu-theme=field]) .nickname input{flex:1;width:90px;border:1px solid #b7bfa5;border-radius:12px;background:#fff9e9;padding:10px;color:inherit}#modal[data-menu-theme]:not([data-menu-theme=field]) .nickname button{font-size:12px}
#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;overflow:visible}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-tabs button{padding:10px 13px;border-radius:20px;background:#e4eaca;border:0;min-height:42px;font-size:12px}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-tabs button.active{background:#eabfa0;box-shadow:none}
.training-invite{display:grid;grid-template-columns:1fr 1.1fr;gap:28px;align-items:center}.training-invite canvas{width:100%;max-height:350px;object-fit:contain}.training-invite h3{font-size:32px;line-height:1.05;margin:15px 0}.training-invite p{font-size:15px;line-height:1.6}.training-invite .button-row{display:flex;flex-wrap:wrap;gap:12px}.practice-steps{display:flex;gap:10px}.practice-steps span{display:grid;justify-items:center;gap:6px;background:#ebefd6;border-radius:16px;padding:12px;font-size:13px}.practice-steps svg{width:32px;height:32px}
/* Sticker sections: screen-size stationery; catalogue below the character, collector's stamps. */
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]){--ink:#303754;background:#f3eedf;border-radius:0;width:100vw;height:100dvh;padding:22px 5vw;grid-template:65px 56px minmax(0,1fr)/1fr;gap:10px}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .modal-head h2{font-family:Sticker;font-weight:400;text-transform:uppercase;font-size:36px}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #menu-tabs{grid-row:2;flex-direction:row;padding:0;border-bottom:2px solid #303754;gap:8px;align-self:stretch}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #menu-tabs button{min-height:0;flex-direction:row;border-radius:9px 9px 0 0;padding:9px 24px;font:18px Sticker;background:#e4dac6;border:2px solid #303754;border-bottom:0}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #menu-tabs button[aria-current=page]{background:#f6bb5c;transform:translateY(-4px);padding-bottom:13px}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #modal-body{padding:14px 12px 35px}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .primary{border-radius:3px;--pink:#ed8878;--darkpink:#303754;box-shadow:4px 4px #303754;font-family:Sticker;rotate:-1deg}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .secondary{border:2px solid #303754;border-radius:3px;background:#f8f4e8;font-family:Sticker}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .biome-card{border:2px solid #303754;border-radius:0;box-shadow:6px 6px #303754;background:#fff8e7;padding-bottom:15px}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .biome-card.selected{background:#ffe2a1}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .biome-card b{font:24px Sticker}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .index4-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .index4-card{border:2px dashed #979588;border-radius:3px;background:#e3decd;min-height:205px;rotate:1deg}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .index4-card:nth-child(3n){rotate:-2deg}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .index4-card.found{border:2px solid #303754;background:#fff9e7;box-shadow:5px 5px #303754}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .index4-card b{font:19px Sticker}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .wardrobe-layout{grid-template-columns:1fr;gap:12px;position:relative}.wardrobe-layout>*{min-width:0}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .wardrobe-stage{position:relative;width:min(650px,100%);margin:auto;display:grid;grid-template-columns:1fr 180px;align-items:center}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .wardrobe-stage>canvas{height:260px;border-radius:0;background:transparent;filter:drop-shadow(4px 0 #fff) drop-shadow(-4px 0 #fff) drop-shadow(0 5px #fff)}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .nickname{transform:rotate(3deg);padding:15px;border:2px solid #303754;background:#ffde94;display:grid}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .wardrobe-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;max-width:1000px;margin:auto;width:100%}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .look-card{border:2px solid #303754;box-shadow:4px 4px #303754;border-radius:0;background:#fffdf2}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .look-card.selected{background:#ffdc86;border:2px solid #303754;transform:translateY(-5px)}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #look-apply{grid-column:1/-1;justify-self:center;width:300px;max-width:100%;margin-top:5px}
@media(max-width:1000px){.sticker-destinations{right:4%;width:51%;gap:12px}.destination{height:80%}.destination-label{font-size:21px}.destination>b{font-size:16px}#menu-studio[data-theme=stickers] .studio-shortcuts{right:4%;width:51%;gap:8px}#menu-studio[data-theme=stickers] .studio-shortcuts button{font-size:15px;padding:10px}.sticker-hero{left:7%;width:32%}#modal[data-menu-theme]:not([data-menu-theme=field]){padding:16px;grid-template-columns:82px minmax(0,1fr)}#modal[data-menu-theme]:not([data-menu-theme=field]) .index4-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-layout{grid-template-columns:minmax(200px,.8fr) minmax(0,1fr)}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .wardrobe-layout{grid-template-columns:1fr}}
@media(max-width:680px){
.studio-tools{top:max(15px,env(safe-area-inset-top));right:17px;gap:9px}.studio-coins{font-size:16px;padding:5px 10px}.studio-coins svg{width:23px!important}.studio-gear{width:44px;height:44px}.studio-version{left:15px;bottom:12px}.studio-help{right:13px;bottom:2px}.hero-caption{font-size:13px;bottom:3%;padding:3px 15px}
#menu-studio[data-theme=stickers]:before{top:-5%;left:-30%;width:80%;rotate:-15deg}.sticker-heading{left:8%;top:11%;width:77%;height:18%}#menu-studio[data-theme=stickers] .studio-logo{font-size:53px}.sticker-doodle{right:2%;bottom:0;font-size:55px}.sticker-hero{top:31%;left:12%;width:34%;height:22%;z-index:2;box-shadow:5px 6px #303754}.sticker-hero>b{font-size:14px;bottom:0}.stamp-label{font-size:15px;padding:5px 13px}.stamp-number{font-size:12px;padding:5px;right:-17%;bottom:6%}
.sticker-destinations{top:33%;right:8%;width:83%;height:48%;display:block}.destination{position:absolute;width:49%;height:54%;right:0;top:0;padding:6px;rotate:6deg;box-shadow:4px 5px #303754}.destination-tropics{left:0;top:43%;right:auto;rotate:-5deg;margin:0}.destination canvas{height:50%}.destination-label{font-size:19px;padding:6px 0 5px}.destination>b{font-size:15px;padding:6px 9px}.destination-no{width:27px;height:27px;top:9px;left:9px;font-size:13px}
#menu-studio[data-theme=stickers] .studio-shortcuts{bottom:8%;right:6%;left:6%;width:auto;gap:9px}#menu-studio[data-theme=stickers] .studio-shortcuts button{flex:1;flex-direction:column;gap:4px;font-size:14px;padding:10px 5px}#menu-studio[data-theme=stickers] .studio-shortcuts svg{width:25px;height:25px}
#modal[data-menu-theme]:not([data-menu-theme=field]){inset:0;width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:max(12px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));grid-template:65px minmax(0,1fr) 62px/1fr;gap:6px}
#modal[data-menu-theme]:not([data-menu-theme=field]) .modal-head{padding:0 6px}#modal[data-menu-theme]:not([data-menu-theme=field]) .modal-head h2{font-size:26px}#modal[data-menu-theme]:not([data-menu-theme=field]) #close-modal{width:42px;height:42px;border-radius:50%;font-size:25px}
#modal[data-menu-theme]:not([data-menu-theme=field]) #modal-body{grid-row:2;grid-column:1;padding:8px 6px 20px}
#modal[data-menu-theme]:not([data-menu-theme=field]) #menu-tabs{grid-row:3;grid-column:1;flex-direction:row;gap:3px;padding:4px;justify-content:space-around;align-self:stretch;justify-self:stretch;background:#f9f2d9;border-radius:22px;border:0;box-shadow:none}
#modal[data-menu-theme]:not([data-menu-theme=field]) #menu-tabs button{flex:1;flex-direction:column;gap:3px;padding:6px 4px;min-height:0;border:0;border-radius:16px;font:800 11px Round;transform:none;rotate:0}#modal[data-menu-theme]:not([data-menu-theme=field]) #menu-tabs svg{width:23px;height:23px}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #menu-tabs{border-radius:0!important;border-top:2px solid #303754!important}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #menu-tabs button{border-radius:0!important;font-family:Sticker!important}
#modal[data-menu-theme]:not([data-menu-theme=field]) .index4-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:15px 0}#modal[data-menu-theme]:not([data-menu-theme=field]) .index4-card{min-height:180px;padding:6px}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .index4-card{margin:4px}
#modal[data-menu-theme]:not([data-menu-theme=field]) .biome-grid{grid-template-columns:1fr;gap:16px}#modal[data-menu-theme]:not([data-menu-theme=field]) .biome-card{border-radius:20px;min-height:130px;grid-template-columns:43% 1fr;gap:6px}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .biome-card{border-radius:0}.biome-card b{font-size:16px}#modal[data-menu-theme]:not([data-menu-theme=field]) .biome-card span{font-size:10px;line-height:1.4}
#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-layout{grid-template-columns:1fr;gap:15px}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-stage{position:relative;margin:0 auto;width:100%;max-width:450px}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-stage>canvas{height:230px;width:100%;max-height:none}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#modal[data-menu-theme]:not([data-menu-theme=field]) .wardrobe-tabs{display:none}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .wardrobe-stage{grid-template-columns:1fr}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .nickname{transform:none;display:flex;padding:9px}.training-invite{grid-template-columns:1fr;gap:8px}.training-invite canvas{height:190px}.training-invite h3{font-size:27px}.practice-steps{justify-content:center}.practice-steps span{padding:10px}.training-invite p{font-size:13px}.training-invite .primary{width:100%}
}
@media(max-height:540px) and (orientation:landscape){
.studio-tools{top:12px;right:18px;gap:10px}.studio-coins{font-size:14px;padding:4px 9px}.studio-coins svg{width:23px!important}.studio-gear{width:40px;height:40px}.studio-version{bottom:6px;font-size:8px}.studio-help{bottom:0;right:15px;font-size:11px}.studio-biomes button{min-height:36px;font-size:12px;padding:6px 13px}.hero-caption{font-size:12px}
.sticker-heading{top:10%;left:5%;height:25%;width:34%}#menu-studio[data-theme=stickers] .studio-logo{font-size:45px}.sticker-doodle{font-size:40px;right:0}.sticker-hero{top:40%;height:39%;left:9%;width:27%;box-shadow:6px 7px #303754}.stamp-label{font-size:14px;padding:4px 13px}.stamp-number{font-size:13px;padding:4px}.sticker-hero>b{font-size:15px}.sticker-destinations{top:17%;height:60%;right:5%;width:48%;gap:14px}.destination{height:90%;padding:6px;box-shadow:4px 5px #303754}.destination-tropics{margin-top:5px}.destination-label{font-size:18px;padding:5px 0}.destination>b{font-size:13px;padding:5px}.destination-no{width:25px;height:25px;font-size:12px;top:10px;left:10px}#menu-studio[data-theme=stickers] .studio-shortcuts{bottom:9%;right:5%;width:48%}#menu-studio[data-theme=stickers] .studio-shortcuts button{font-size:12px;padding:8px 10px;gap:4px}#menu-studio[data-theme=stickers] .studio-shortcuts svg{width:22px;height:22px}
#modal[data-menu-theme]:not([data-menu-theme=field]){height:100dvh;width:100vw;border-radius:0;padding:10px 16px;grid-template-rows:48px minmax(0,1fr);gap:5px}#modal[data-menu-theme]:not([data-menu-theme=field]) .modal-head h2{font-size:25px}#modal[data-menu-theme]:not([data-menu-theme=field]) #menu-tabs{gap:4px}#menu-tabs button{min-height:50px;padding:8px 3px;font-size:11px}#menu-tabs svg{width:23px;height:23px}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]){grid-template-rows:45px 42px minmax(0,1fr)}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #menu-tabs button{font-size:14px;padding:6px 15px;min-height:0}#modal[data-menu-theme]:not([data-menu-theme=field]) .index4-card{min-height:155px}.training-invite{gap:15px}.training-invite h3{font-size:25px}.training-invite canvas{max-height:190px}.practice-steps span{padding:6px}.training-invite p{font-size:12px}#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) .wardrobe-stage>canvas{height:200px}
}
@media(prefers-reduced-motion:reduce){#menu-studio *{animation:none!important;transition:none!important}}

/* Final legibility and composition checks. */
.island-art{mask-image:none}@keyframes world-arrive{from{opacity:.5;transform:translateX(12px)}to{opacity:1;transform:none}}
#modal[data-menu-theme]:not([data-menu-theme=field]) .primary{font-size:17px;min-height:50px}
#modal[data-menu-theme=stickers] .primary{font-family:Sticker}
@media(max-width:680px){.sticker-hero .studio-hero{width:165%;height:165%;left:-32.5%;bottom:-7%}}


@media(max-width:680px) and (orientation:portrait){#menu-studio[data-theme=stickers] .studio-logo{font-size:clamp(39px,13vw,53px)}}
@media(max-width:680px) and (max-height:540px) and (orientation:landscape){
#menu-studio[data-theme=stickers] .studio-logo{font-size:35px}.sticker-doodle{font-size:30px}
.sticker-destinations{display:grid;grid-template-columns:1fr 1fr;top:20%;height:58%;gap:10px}.destination{position:relative;width:100%;left:auto;right:auto;top:auto;min-width:0;height:100%;rotate:3deg}.destination-tropics{top:auto;left:auto;rotate:-3deg}.destination-label{font-size:16px}.destination>b{font-size:12px}.destination canvas{height:50%;min-height:0}
#menu-studio[data-theme=stickers] .studio-shortcuts{left:auto;bottom:7%;width:48%;gap:8px}#menu-studio[data-theme=stickers] .studio-shortcuts button{flex-direction:row;padding:6px;font-size:11px;gap:3px}#menu-studio[data-theme=stickers] .studio-shortcuts svg{width:19px;height:19px}.sticker-hero{height:42%;top:39%}.sticker-hero .studio-hero{width:140%;height:140%;left:-20%;bottom:-2%}
#modal[data-menu-theme]:not([data-menu-theme=field]){grid-template:43px minmax(0,1fr) 45px/1fr;padding:6px 12px}
#modal[data-menu-theme]:not([data-menu-theme=field]) #menu-tabs{grid-row:3;padding:2px;gap:5px}#modal[data-menu-theme]:not([data-menu-theme=field]) #menu-tabs button{flex-direction:row;padding:4px 10px}
#modal[data-menu-theme]:not([data-menu-theme=field]) .modal-head h2{font-size:23px}
#modal[data-menu-theme]:not([data-menu-theme=field]) #modal-body{grid-row:2}
}

@media(max-width:680px) and (max-height:540px) and (orientation:landscape){.studio-help{min-height:20px;bottom:1px;font-size:10px}.studio-help svg{width:18px!important;height:18px!important}}

/* The whole vignette stays inside the existing hero sticker. */
.sticker-hero .studio-hero{width:100%;height:100%;left:0;bottom:0;filter:none;border-radius:49% 45% 44% 48%}.stamp-label,.stamp-number,.sticker-hero>b{z-index:1}.destination canvas{object-fit:cover;object-position:center;width:100%}

.sticker-hero .studio-hero{object-fit:cover}

@media(max-width:680px) and (orientation:portrait){.sticker-hero{left:6%;width:40%;height:19%;top:32%}.stamp-number{right:-8%;bottom:3%}}

/* Fit complete artwork; the sticker itself is the only silhouette mask. */
.sticker-hero{background:#b6d47f}.sticker-hero .studio-hero{object-fit:contain;background:#b6d47f}
.destination canvas{object-fit:contain;background:#afd077}.destination-tropics canvas{background:#78b394}
/* Fixed selection screen: professions left, worlds right, launch on its own row. */
#modal[data-menu-theme=stickers][data-screen=expeditions] #modal-body{overflow:hidden;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:22px;padding:10px 12px 12px}
#modal[data-menu-theme=stickers] .expedition-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:28px;min-height:0}
#modal[data-menu-theme=stickers] .profession-picker{padding:0;min-height:0;display:flex;flex-direction:column}
#modal[data-menu-theme=stickers] .profession-picker h3{font:22px Sticker;margin:0 0 10px}
#modal[data-menu-theme=stickers] .class-grid{display:grid;grid-template-columns:1fr;grid-template-rows:repeat(5,minmax(0,1fr));gap:8px;min-height:0;flex:1;margin:0}
#modal[data-menu-theme=stickers] .class-card{min-height:0;display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;row-gap:0;padding:5px 10px;border:2px solid #303754;border-radius:3px;text-align:left;background:#fff9e7;align-content:center;box-shadow:none}
#modal[data-menu-theme=stickers] .class-card.selected{background:#ffe2a1;border-color:#c15d4a}
#modal[data-menu-theme=stickers] .class-card .profession-art{grid-row:1/4;width:64px;height:52px;object-fit:contain;margin:0}
#modal[data-menu-theme=stickers] .class-card b{font:17px Sticker;margin:0}
#modal[data-menu-theme=stickers] .class-card small{font-size:11px;line-height:1.2;margin:0}
#modal[data-menu-theme=stickers] .class-card span{font-size:10px;margin:3px 0 0}
#modal[data-menu-theme=stickers] .expedition-worlds{min-width:0;min-height:0;display:flex;flex-direction:column;gap:16px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0;align-items:start;min-height:0}
#modal[data-menu-theme=stickers] #biome-ice{display:none}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card{display:flex;flex-direction:column;min-height:0;padding:0 0 14px;gap:8px;overflow:hidden;align-items:stretch}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-picture{display:block;width:100%;height:auto;aspect-ratio:2.25;object-fit:contain;margin:0;grid-column:auto}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card b{font-size:22px;padding:0 12px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card span{padding:0 12px;font-size:11px}
#modal[data-menu-theme=stickers] .expedition-note{margin:0;padding:12px;background:#fff8e7;border:1px solid #b9ae91;font-size:12px;line-height:1.35}
#modal[data-menu-theme=stickers] .expedition-note p{margin:6px 0}
#modal[data-menu-theme=stickers] .expedition-note .primary,#modal[data-menu-theme=stickers] .expedition-note .secondary{min-height:34px;padding:6px 12px;font-size:13px;margin:5px 8px 0 0}
#modal[data-menu-theme=stickers] .expedition-footer{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0 2px}
#modal[data-menu-theme=stickers] #begin-expedition{position:static;margin:0;rotate:0;min-height:48px;width:min(440px,100%)}
#modal[data-menu-theme=stickers] .expedition-footer p{margin:0;font-size:12px}
/* Only the goods grid scrolls; avatar, categories and action remain visible. */
#modal[data-menu-theme=stickers][data-screen=wardrobe] #modal-body{display:flex;flex-direction:column;overflow:hidden;padding:8px 12px 12px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-head{flex:none;margin:0 0 8px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:30px;align-items:stretch}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-stage{position:static;width:100%;height:100%;min-height:0;max-width:none;margin:0;display:flex;flex-direction:column;justify-content:center;gap:16px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-stage>canvas{flex:1;min-height:0;width:100%;height:0;max-height:none;object-fit:contain}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname{flex:none;transform:none;display:flex;flex-wrap:wrap;padding:10px;margin:0;gap:8px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-shop{min-height:0;min-width:0;display:flex;flex-direction:column;gap:12px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs{flex:none;gap:5px;margin:0;display:flex}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs button{padding:7px 10px;min-height:34px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-items{flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(145px,max-content);align-content:start;gap:12px;margin:0;padding:8px 8px 10px 2px;scrollbar-width:thin}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .look-card{min-height:140px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] #look-apply{flex:none;position:static;margin:0 auto 5px;width:min(340px,95%);rotate:0}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-shop>p{margin:0;font-size:12px}.wardrobe-shop>p:empty{display:none}
@media(max-width:680px) and (orientation:portrait){
#modal[data-menu-theme=stickers] .expedition-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-grid{grid-template-columns:1fr;gap:14px}
#modal[data-menu-theme=stickers] .class-card{grid-template-columns:1fr;padding:6px;gap:3px}
#modal[data-menu-theme=stickers] .class-card .profession-art{display:none}
#modal[data-menu-theme=stickers] .class-card b{font-size:16px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card b{font-size:18px;padding:0 7px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card span{font-size:10px;padding:0 7px}
#modal[data-menu-theme=stickers] .expedition-note{font-size:10px;padding:7px}
#modal[data-menu-theme=stickers] .expedition-note .primary,#modal[data-menu-theme=stickers] .expedition-note .secondary{font-size:11px;min-height:30px;padding:5px;margin:4px 0 0}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-layout{grid-template-columns:1fr;grid-template-rows:35% minmax(0,1fr);gap:12px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-stage{flex-direction:row;align-items:center;gap:10px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-stage>canvas{width:55%;height:100%;flex:none}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname{width:45%;padding:6px;display:grid;font-size:11px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname input{width:100%;padding:7px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname button{padding:5px;min-height:30px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs{display:none}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-height:540px) and (orientation:landscape){
#modal[data-menu-theme=stickers][data-screen=expeditions] #modal-body{gap:8px;padding:3px 6px 5px}
#modal[data-menu-theme=stickers] .expedition-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px}
#modal[data-menu-theme=stickers] .profession-picker h3{display:none}
#modal[data-menu-theme=stickers] .class-grid{gap:3px}
#modal[data-menu-theme=stickers] .class-card{grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:auto;padding:1px 4px;gap:4px}
#modal[data-menu-theme=stickers] .class-card .profession-art{width:30px;height:25px;grid-row:1}
#modal[data-menu-theme=stickers] .class-card b{font-size:12px}
#modal[data-menu-theme=stickers] .class-card small{display:none}
#modal[data-menu-theme=stickers] .class-card span{font-size:8px;margin:0}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-grid{gap:12px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card{gap:3px;padding-bottom:5px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card b{font-size:15px;padding:0 6px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card span{font-size:9px;padding:0 6px}
#modal[data-menu-theme=stickers] .expedition-footer{padding:3px 0;gap:4px}
#modal[data-menu-theme=stickers] #begin-expedition{min-height:34px;padding:5px 15px;font-size:14px}
#modal[data-menu-theme=stickers] .expedition-footer p{font-size:10px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note){flex-direction:row;gap:12px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-grid{width:43%;flex:none;grid-template-columns:1fr;gap:5px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-picture{display:none}
#modal[data-menu-theme=stickers] .expedition-note{padding:5px;font-size:9px}
#modal[data-menu-theme=stickers] .expedition-note .primary,#modal[data-menu-theme=stickers] .expedition-note .secondary{font-size:10px;padding:3px;min-height:24px;margin:3px 0 0}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-head{display:none}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr);gap:16px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-stage{gap:5px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname{padding:4px;gap:4px;font-size:10px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname input{padding:4px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname button{min-height:25px;padding:3px 5px;font-size:10px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs{display:none}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-shop{gap:5px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] #look-apply{min-height:30px;padding:4px;font-size:13px}
}

/* Postcards follow the map aspect ratio, without cropping or empty image bands. */
.destination{height:auto}.destination canvas{flex:none;height:auto;aspect-ratio:2.25;object-fit:contain}

/* Wardrobe tabs use the same paper tabs as the section navigation. */
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs button{border:1.5px solid #303754;border-radius:3px;background:#fff9e8;box-shadow:2px 2px #303754;padding:7px 4px;min-height:42px;font:14px Sticker;line-height:1.1;white-space:normal}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs button.active{background:#ffdc86;box-shadow:2px 2px #303754;transform:translateY(-2px)}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-stage>canvas{border-radius:0;filter:none}
.wardrobe-items .look-swatch{height:90px;overflow:visible}.wardrobe-items .look-swatch canvas{height:86px;width:120px;object-fit:contain;max-width:100%}
@media(max-width:680px) and (orientation:portrait){#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-layout{grid-template-columns:1fr;grid-template-rows:40% minmax(0,1fr)}#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs{display:none}}
@media(max-height:540px) and (orientation:landscape){#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-layout{grid-template-columns:1fr 1.2fr}#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs{display:none}}

@media(max-width:680px) and (orientation:portrait){
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-stage{flex-direction:column;gap:4px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-stage>canvas{width:100%;height:0;flex:1}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname{width:100%;display:flex;flex-wrap:nowrap;padding:4px;gap:5px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname input{width:60px;flex:1;padding:4px}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .nickname button{font-size:10px;min-height:28px;white-space:nowrap}
}

.index-divider{grid-column:1/-1;display:flex;align-items:center;gap:16px;font-size:22px;margin:12px 0 2px}.index-divider:after{content:"";height:2px;background:currentColor;opacity:.3;flex:1}#modal[data-menu-theme=stickers] .index-divider{font:26px Sticker}

.biome-tile{position:relative;min-width:0}.biome-tile>.biome-card{width:100%;height:100%;padding-bottom:64px!important}.biome-collection{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:5px 11px;border:2px solid #303754;border-radius:4px;background:#d0eee3;box-shadow:2px 2px #303754;color:#303754;font-weight:bold;font-size:13px}.biome-collection svg{width:22px;height:22px}
#modal[data-menu-theme=stickers] .biome-tile.coming{display:none}
.index-biomes{display:flex;gap:14px;flex:none;margin:0 0 12px}.index-biome{display:flex;align-items:center;gap:12px;border:2px solid #8fa783;border-radius:10px;background:#fff9e7;padding:5px 14px 5px 5px;text-align:left;color:inherit;font-weight:bold;min-width:0}.index-biome.selected{background:#ffe2a1;border-color:#303754}.index-biome .biome-picture{width:110px;height:auto;aspect-ratio:2.25;object-fit:contain;border-radius:4px}.index-biome span{font-size:16px}

/* Keep the launch footer present even for an untouched biome. */
#modal[data-menu-theme=stickers] .expedition-progress{min-height:1.4em;line-height:1.4;text-align:center}
#modal[data-menu-theme=stickers] .profession-picker{overflow:hidden}
#modal[data-menu-theme=stickers] .class-grid{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
@media(max-height:540px) and (orientation:landscape){
 #modal[data-menu-theme=stickers] .class-grid{grid-template-rows:repeat(5,minmax(64px,1fr))}
 #modal[data-menu-theme=stickers] .class-card{grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto auto;row-gap:2px;padding:4px 6px}
 #modal[data-menu-theme=stickers] .class-card .profession-art{grid-row:1/4}
 #modal[data-menu-theme=stickers] .class-card small{display:block;grid-column:2;font-size:11px;line-height:1.2}
 #modal[data-menu-theme=stickers] .class-card span{grid-column:2;font-size:9px}
 #modal[data-menu-theme=stickers] .expedition-note{display:block;overflow-y:auto;min-height:0}
 #modal[data-menu-theme=stickers] .expedition-note>b,#modal[data-menu-theme=stickers] .expedition-note p{display:block}
 #modal[data-menu-theme=stickers] .expedition-note button{display:block;width:100%;min-height:32px;margin:5px 0 0;flex:none}
}
#modal[data-menu-theme=stickers] .index-biome{border-radius:3px;box-shadow:3px 3px #303754;font-family:Sticker}
#modal[data-menu-theme=stickers][data-screen=collection] #modal-body{display:flex;flex-direction:column;overflow:hidden;padding-bottom:12px}
#modal[data-menu-theme=stickers][data-screen=collection] .collection-note{flex:none;margin:0 0 8px}
#modal[data-menu-theme=stickers][data-screen=collection] .index4-grid{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;margin:0;padding:12px 12px 16px 4px;align-content:start;scrollbar-width:thin}
#modal[data-menu-theme=stickers][data-screen=help] #modal-body,#modal[data-menu-theme=stickers][data-screen=settings] #modal-body{display:flex;flex-direction:column;overflow:hidden;gap:12px;padding-bottom:12px}
.menu-content-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:4px 8px 12px 0}
#help-done{flex:none;align-self:center;margin:0!important}
@media(max-width:680px){
.index-biomes{gap:9px;margin-bottom:8px}.index-biome{flex:1;flex-direction:column;gap:4px;padding:4px!important}.index-biome .biome-picture{width:100%;max-height:58px;object-fit:contain}.index-biome span{font-size:13px;line-height:1.1}
#modal[data-menu-theme=stickers][data-screen=collection] .collection-note{font-size:10px;line-height:1.3}
.biome-collection{right:7px;bottom:9px;font-size:11px;gap:4px;padding:4px 7px;min-height:32px}.biome-collection svg{width:18px;height:18px}.biome-tile>.biome-card{padding-bottom:55px!important}
#modal[data-menu-theme=stickers][data-screen=settings] .setting{padding:7px 0;font-size:14px}
#modal[data-menu-theme=stickers][data-screen=training-intro] #modal-body{overflow:hidden}
.training-invite{height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto;gap:4px}.training-invite canvas{height:100%;max-height:230px}.training-invite h3{margin:5px 0;font-size:23px}.training-invite p{margin:7px 0;font-size:13px}
}
@media(max-height:540px) and (orientation:landscape){
.index-biomes{gap:10px;margin-bottom:5px}.index-biome{flex-direction:row;flex:0 1 240px;gap:7px;padding:3px 8px!important}.index-biome .biome-picture{width:65px;max-height:30px}.index-biome span{font-size:12px}
#modal[data-menu-theme=stickers][data-screen=collection] .collection-note{font-size:10px;line-height:1.2;margin-bottom:3px}
.biome-tile>.biome-card{padding-bottom:35px!important}.biome-collection{min-height:25px;bottom:5px;right:6px;padding:2px 5px;font-size:10px}.biome-collection svg{width:16px;height:16px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-tile>.biome-card{padding-bottom:32px!important}
#modal[data-menu-theme=stickers][data-screen=training-intro] #modal-body{overflow:hidden;padding:4px}
.training-invite{grid-template:1fr/minmax(0,.7fr) minmax(0,1fr);gap:10px;align-items:center;height:100%}.training-invite canvas{height:100%;max-height:180px}.training-invite h3{font-size:22px;margin:3px 0}.training-invite p{font-size:11px;line-height:1.25;margin:4px 0}.practice-steps span{padding:4px;font-size:10px}.practice-steps svg{height:20px}.training-invite .primary{min-height:32px!important;padding:5px 10px;font-size:14px!important}.training-invite .secondary{min-height:30px!important;padding:4px 8px!important}
}

@media(max-height:540px) and (orientation:landscape){
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-card b{font-size:12px;line-height:1.05;padding:0 4px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-card span{font-size:8px;line-height:1.1;padding:0 4px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-tile>.biome-card{padding-top:2px;padding-bottom:28px!important;gap:2px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-grid{grid-template-rows:1fr 1fr}
}

@media(max-width:680px) and (max-height:740px) and (orientation:portrait){
#modal[data-menu-theme=stickers] .class-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px}
#modal[data-menu-theme=stickers] .class-card b{display:block;font-size:14px}
#modal[data-menu-theme=stickers] .class-card small{display:none}
#modal[data-menu-theme=stickers] .class-card span{font-size:10px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-picture{height:48px;max-height:48px;object-fit:contain}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card b{font-size:14px;line-height:1.1;padding:0 5px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card span{font-size:9px;line-height:1.1;padding:0 5px}
#modal[data-menu-theme=stickers] .expedition-worlds .biome-card{gap:4px}
#modal[data-menu-theme=stickers] .biome-tile>.biome-card{padding-bottom:39px!important}
#modal[data-menu-theme=stickers] .biome-collection{bottom:6px;min-height:27px;padding:3px 6px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-picture{display:none}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note){gap:8px}
#modal[data-menu-theme=stickers] .expedition-worlds:has(.expedition-note) .biome-grid{gap:8px}
#modal[data-menu-theme=stickers] .expedition-note{font-size:9px;padding:5px;line-height:1.15}
#modal[data-menu-theme=stickers] .expedition-note .primary,#modal[data-menu-theme=stickers] .expedition-note .secondary{font-size:10px;min-height:24px;padding:3px}
}

#modal[data-menu-theme=stickers]:not([data-menu-theme=field]){grid-template-columns:1fr}
#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #modal-body{grid-column:1;grid-row:3}
@media(max-width:680px){#modal[data-menu-theme=stickers]:not([data-menu-theme=field]) #modal-body{grid-row:2}}

/* Collection sits beside the caption, without adding a separate footer band. */
@media(min-width:1001px){
.biome-tile>.biome-card{padding-bottom:14px!important}
.biome-tile>.biome-card>b,.biome-tile>.biome-card>span{padding-right:145px!important}
.biome-collection{bottom:17px;right:14px}
}
@media(min-width:681px) and (min-height:541px){
.biome-tile>.biome-card{padding-bottom:14px!important}
.biome-tile>.biome-card>b,.biome-tile>.biome-card>span{padding-right:125px!important}
.biome-collection{bottom:15px;right:10px;font-size:12px;padding:4px 8px}
}

.currency-icon{display:inline-block;width:26px;height:26px;vertical-align:middle;flex:none}.top-actions .coin{width:30px;height:30px;background:none!important;border:0!important;box-shadow:none!important;font-size:0}.top-actions .coin .currency-icon{width:30px;height:30px}.studio-coins .currency-icon{width:30px!important;height:30px!important}.look-card small .currency-icon{width:21px;height:21px}.primary .currency-icon{width:25px;height:25px}.ticket-wallet{display:inline-flex;align-items:center;gap:5px;margin-left:16px}
.sticker-destinations{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:calc(50% - 16px);height:42%;top:20%;gap:22px;overflow-x:auto;overflow-y:hidden;padding:18px 10px 22px;align-items:center;scroll-snap-type:x mandatory;scrollbar-width:thin}
.destination{scroll-snap-align:center;min-width:0;width:100%;position:relative;top:auto;left:auto;right:auto;rotate:2deg;margin:0;box-shadow:4px 5px #303754}.destination-tropics{rotate:-2deg}.destination.chosen{outline:none}.destination>b{border:0;background:transparent!important;padding:3px 0;color:#5d6656;font:14px Round;box-shadow:none}
#menu-studio .sticker-play{position:absolute;right:7%;bottom:20%;width:46%;min-width:0;min-height:76px;border:3px solid #303754;border-radius:6px;box-shadow:6px 7px #303754;background:#ed847b;color:#303754;rotate:-3deg;font:40px Sticker;z-index:4}.sticker-play svg{width:38px!important;height:38px!important}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-head{display:block;flex:none}.wardrobe-head>b{display:flex;align-items:center;gap:5px;font-size:16px}.wardrobe-head #wardrobe-quests{margin-left:auto}
.look-card{position:relative}.look-card.rarity-common,.look-card.rarity-uncommon,.look-card.rarity-rare,.look-card.rarity-epic,.look-card.rarity-legendary{border-color:var(--rarity)!important;border-top-width:6px!important;box-shadow:3px 4px var(--rarity)!important;background:linear-gradient(160deg,color-mix(in srgb,var(--rarity) 15%,#fffdf2),#fffdf2)!important}.look-card.rarity-epic{border-style:double!important}.look-card.rarity-legendary{outline:2px solid #e6c77e;outline-offset:2px;background:linear-gradient(145deg,#fff9d6,#f6ddb0,#fff9e8)!important}.look-card.selected{outline:3px solid #303754!important;outline-offset:2px}
.rarity-seal{position:absolute;top:5px;left:5px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--rarity);color:#fff;font-weight:bold;font-size:12px;border:1px solid #ffffffaa}.clothing-type{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:26px;height:26px;background:#fff8e7;border:1px solid #647157;border-radius:5px;color:#49624d}.clothing-type svg{width:22px;height:22px}
#modal[data-menu-theme=stickers][data-screen=quests] #modal-body{display:flex;flex-direction:column;overflow:hidden;padding-bottom:10px;gap:10px}.quest-wallet{display:flex;align-items:center;gap:8px;flex:none;font-size:16px}.quest-wallet button{margin-left:auto}.quest-explanation{font-size:12px;line-height:1.4;margin:0;flex:none}.quest-list{min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start;padding:6px;scrollbar-width:thin}.quest-card{display:flex;align-items:center;gap:14px;padding:12px;border:2px solid #303754;box-shadow:3px 3px #303754;background:#fff9e7;border-radius:3px}.quest-card>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.quest-card b{font-size:14px}.quest-card span{font-size:12px}.quest-card progress{width:100%;height:8px;accent-color:#73ac90}.quest-card.ready{background:#e0efc9;border-color:#5b946b}.quest-card.claimed{opacity:.6;box-shadow:none}.quest-card button{flex:none;min-width:85px}
@media(max-width:680px) and (orientation:portrait){
.sticker-destinations{left:auto;right:5%;top:30%;width:46%;height:36%;display:grid;grid-auto-columns:100%;grid-template-columns:none;gap:16px;padding:12px 8px 18px}.destination{width:100%;height:auto;position:relative;left:auto;right:auto;top:auto}.destination-label{font-size:18px}.destination>b{font-size:11px}
#menu-studio .sticker-play{left:7%;right:7%;bottom:21%;width:auto;min-height:58px;font-size:29px;box-shadow:4px 5px #303754}.sticker-play svg{width:28px!important;height:28px!important}
.wardrobe-head>b{font-size:13px}.ticket-wallet{margin-left:8px}.wardrobe-head #wardrobe-quests{min-height:30px;padding:4px 10px;font-size:13px}.quest-list{grid-template-columns:1fr}.quest-wallet{flex-wrap:wrap;font-size:13px}.quest-wallet>span{display:none}.quest-explanation{font-size:11px}.quest-card b{font-size:12px}.quest-card{padding:8px;gap:8px}.quest-card button{min-width:70px;padding:5px!important;font-size:12px!important}
}
@media(max-height:540px) and (orientation:landscape){
.sticker-destinations{top:15%;height:48%;grid-auto-columns:calc(50% - 10px);gap:12px;padding:10px 7px 14px;right:5%;width:48%}.destination-label{font-size:14px;padding:4px 0}.destination>b{font-size:10px;padding:0}.destination-no{width:20px;height:20px;font-size:10px;top:7px;left:7px}
#menu-studio .sticker-play{bottom:24%;right:6%;width:46%;min-height:43px;font-size:24px;box-shadow:3px 4px #303754}.sticker-play svg{width:24px!important;height:24px!important}
#modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-head{margin:0 0 3px}.wardrobe-head>b{font-size:12px}.wardrobe-head .currency-icon{width:20px;height:20px}.wardrobe-head #wardrobe-quests{min-height:24px;padding:2px 10px;font-size:12px}.quest-explanation{font-size:10px}.quest-card b{font-size:12px}.quest-card{padding:7px}.quest-wallet{font-size:12px}
}

.look-card .rarity-seal{width:auto;height:19px;padding:0 5px;border-radius:5px;font-size:9px;line-height:19px;max-width:calc(100% - 38px);white-space:nowrap}

.defeat-panel{text-align:center}.defeat-panel>canvas{display:block;margin:0 auto 10px}.defeat-panel>button{margin:5px}

/* Seamless menu carousel: one translated track, no page or horizontal scrollbar. */
#menu-studio .sticker-destinations{display:block;overflow:hidden;scroll-snap-type:none;padding:18px 10px 22px}
.biome-track{display:flex;width:max-content;height:100%;will-change:transform;align-items:center}
.biome-lap{display:flex;flex:none;gap:22px;padding-right:22px;align-items:center}
#menu-studio .biome-lap .destination{flex:0 0 var(--biome-card-width);width:var(--biome-card-width);max-height:100%;height:auto}

#rank{cursor:pointer}.score-table{overflow:auto;max-height:65vh}.score-table>div{display:grid;grid-template-columns:40px 1fr 80px;gap:12px;padding:10px 14px;border-bottom:1px solid #c9d3ab}.score-table .you{background:#e7edba;border-radius:12px}.score-table strong{text-align:right}

/* Fill the stamp with the selected biome, including letterbox margins. */
#menu-studio[data-biome=tropics] .sticker-hero,#menu-studio[data-biome=tropics] .sticker-hero .studio-hero{background:#79b698}
.sticker-hero .studio-hero{object-fit:cover}
/* Landscape phone composition: independent header, cards and action rows. */
@media (pointer:coarse) and (orientation:landscape), (max-height:540px) and (orientation:landscape){
 #menu-studio .sticker-heading{left:4%;top:12%;width:34%;height:24%}
 #menu-studio[data-theme=stickers] .studio-logo{font-size:clamp(27px,8.5vh,52px);letter-spacing:-1px}
 #menu-studio .sticker-hero{left:7%;top:43%;width:28%;height:39%}
 #menu-studio .sticker-destinations{left:41%;right:3%;top:58px;bottom:155px;width:auto;height:auto;padding:12px 10px 14px}
 #menu-studio .biome-track,#menu-studio .biome-lap{height:100%;align-items:stretch}
 #menu-studio .biome-lap .destination{height:100%;max-height:100%;padding:6px;rotate:0deg;margin:0;overflow:hidden}
 #menu-studio .destination canvas{flex:1;min-height:0;width:100%;height:0;object-fit:contain;background:#c5dfb4}
 #menu-studio .destination-label{flex:none;font-size:13px;line-height:16px;padding:4px 0 2px}
 #menu-studio .destination>b{flex:none;font-size:10px;line-height:13px;padding:0}
 #menu-studio .sticker-play{left:42%;right:4%;bottom:94px;width:auto;height:44px;min-height:44px;padding:4px 12px;rotate:0deg;font-size:26px}
 #menu-studio[data-theme=stickers] .studio-shortcuts{left:42%;right:4%;bottom:38px;width:auto;gap:12px;height:40px}
 #menu-studio[data-theme=stickers] .studio-shortcuts button{flex:1;min-width:0;min-height:40px;padding:5px;rotate:0deg;font-size:12px;gap:4px}
 #menu-studio .studio-help{bottom:0;min-height:30px}
 #menu-studio .studio-tools{top:8px;right:4%}
 #menu-studio .sticker-doodle{font-size:30px}
}
/* Categories remain in-game buttons, including the phone shop. */
#modal[data-screen=wardrobe] .wardrobe-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 8px;flex-shrink:0}
#modal[data-screen=wardrobe] .wardrobe-tabs button{min-height:38px;padding:6px 10px;white-space:nowrap;font-size:12px}
@media (orientation:landscape) and (max-height:540px){
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-layout{grid-template-columns:minmax(150px,.7fr) minmax(0,1.7fr)}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 5px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs button{flex:1;min-height:32px;padding:5px;font-size:11px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-shop{min-height:0;overflow:hidden}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-items{min-height:0;max-height:none;flex:1;overflow:auto}
}
@media(orientation:landscape) and (max-height:340px){
 #menu-studio .sticker-destinations{top:48px;bottom:128px;padding-top:8px;padding-bottom:10px}
 #menu-studio .sticker-play{bottom:78px;height:36px;min-height:36px;font-size:22px}
 #menu-studio[data-theme=stickers] .studio-shortcuts{bottom:29px;height:35px;gap:10px}
 #menu-studio[data-theme=stickers] .studio-shortcuts button{min-height:35px;font-size:10px}
 #menu-studio .studio-shortcuts svg{width:18px;height:18px}
 #menu-studio .studio-help{min-height:24px;font-size:10px}
 #menu-studio .studio-gear{width:34px;height:34px}
}
@media(orientation:landscape) and (max-height:540px){
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;scrollbar-width:thin;flex:0 0 38px;padding:2px 2px 5px;gap:7px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-tabs button{flex:0 0 auto;min-width:64px;min-height:30px;white-space:nowrap}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-items{grid-auto-rows:110px;gap:8px;padding:4px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .look-card{min-height:110px;padding:5px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .look-swatch{height:55px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .look-swatch canvas{height:55px;width:80px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] #look-apply{min-height:32px;padding:3px 10px;font-size:13px}
}
@media(orientation:landscape) and (max-height:540px){
 #modal[data-menu-theme=stickers][data-screen=wardrobe]{grid-template:38px minmax(0,1fr)/62px minmax(0,1fr);gap:6px;padding:8px 12px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .modal-head{grid-column:1/-1;grid-row:1}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] #menu-tabs{grid-column:1;grid-row:2;display:flex;flex-direction:column;border:0;margin:0;padding:0;gap:6px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] #menu-tabs button{flex:1;min-height:36px;padding:4px 2px;font-size:10px;display:flex;flex-direction:column;gap:2px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] #menu-tabs svg{width:18px;height:18px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] #modal-body{grid-column:2;grid-row:2;padding:2px 4px 6px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-layout{grid-template-columns:minmax(120px,.6fr) minmax(0,1.7fr);gap:12px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .wardrobe-head{position:absolute;right:68px;top:10px}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] .modal-head h2{font-size:18px}
}
@media(orientation:landscape) and (max-height:540px){
 #modal[data-menu-theme=stickers][data-screen=wardrobe] #menu-tabs{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));min-height:0}
 #modal[data-menu-theme=stickers][data-screen=wardrobe] #menu-tabs button{height:100%;min-height:0;rotate:0deg;transform:none}
}
/* Settings use a form row, independent of the wardrobe's decorative name tag. */
#modal[data-screen=settings] .settings-name{display:grid;grid-template-columns:minmax(0,280px) max-content;align-items:center;gap:8px 12px;width:100%;max-width:520px;margin:0 0 16px;padding:4px 0 12px;color:inherit}
#modal[data-screen=settings] .settings-name label{grid-column:1/-1;font-size:14px;font-weight:700}
#modal[data-screen=settings] .settings-name input{width:100%;min-width:0;height:42px;padding:8px 12px;border:2px solid #303754;border-radius:5px;background:#fff9e9;color:inherit;font:inherit}
#modal[data-screen=settings] .settings-name button{width:auto;min-height:42px;margin:0;padding:8px 14px;font-size:13px;white-space:nowrap}
@media(max-height:540px){#modal[data-screen=settings] .settings-name{margin-bottom:8px;gap:6px 10px}#modal[data-screen=settings] .settings-name input,#modal[data-screen=settings] .settings-name button{min-height:36px;height:36px;padding:6px 10px}}
@media(max-width:420px){#modal[data-screen=settings] .settings-name{grid-template-columns:minmax(0,1fr)}#modal[data-screen=settings] .settings-name button{justify-self:start}}
/* A bright sticker frame, with the moving cards tucked inside its window. */
#menu-studio .sticker-destinations{overflow:visible;padding:0;border:3px solid #303754;border-radius:8px 22px 10px 18px;background:#ffd46d;box-shadow:6px 7px 0 #303754;isolation:isolate}
#menu-studio .biome-window{position:absolute;inset:18px 8px 12px;overflow:hidden;border-radius:5px 12px 5px 10px;background:#fff4df}
#menu-studio .biome-frame-title{position:absolute;left:54px;top:-21px;z-index:3;rotate:-3deg;padding:7px 17px;border:3px solid #303754;border-radius:5px;background:#ed91b2;box-shadow:3px 4px 0 #303754;color:#303754;font:22px Sticker,sans-serif;white-space:nowrap;pointer-events:none}
#menu-studio .sticker-destinations::after{content:'✦';position:absolute;right:15px;top:-24px;rotate:12deg;color:#ed847b;-webkit-text-stroke:2px #303754;font-size:45px;line-height:1;pointer-events:none}
#menu-studio .biome-window .biome-track{padding:12px 0}
@media(orientation:landscape) and (max-height:540px){
 #menu-studio .sticker-destinations{border-width:2px;box-shadow:4px 4px 0 #303754;border-radius:6px 14px 6px 12px}
 #menu-studio .biome-window{inset:14px 4px 6px}
 #menu-studio .biome-frame-title{left:34px;top:-14px;padding:3px 9px;border-width:2px;font-size:14px;box-shadow:2px 2px 0 #303754}
 #menu-studio .sticker-destinations::after{display:none}
 #menu-studio .biome-window .biome-track{padding:5px 0}
}

/* Opaque side stickers cover the track; cards keep their full colour as they pass behind. */
#menu-studio .biome-window::before,#menu-studio .biome-window::after{content:'';position:absolute;top:-2px;bottom:-2px;width:clamp(20px,3vw,38px);z-index:2;display:grid;place-items:center;border:3px solid #303754;color:#303754;font:24px Sticker,sans-serif;pointer-events:none}
#menu-studio .biome-window::before{content:'‹';left:-3px;border-radius:0 7px 12px 0;background:#ef9295;box-shadow:4px 0 0 #303754}
#menu-studio .biome-window::after{content:'›';right:-3px;border-radius:12px 0 0 7px;background:#bba7de;box-shadow:-4px 0 0 #303754}
@media(orientation:landscape) and (max-height:540px){#menu-studio .biome-window::before,#menu-studio .biome-window::after{width:17px;border-width:2px;font-size:14px}#menu-studio .biome-window::before{box-shadow:2px 0 0 #303754}#menu-studio .biome-window::after{box-shadow:-2px 0 0 #303754}}

/* Drag the paper cards directly; the side arrows are decorative covers. */
#menu-studio .biome-window{touch-action:pan-y;cursor:grab;user-select:none;-webkit-user-select:none}
#menu-studio .biome-window.is-dragging,#menu-studio .biome-window.is-dragging .destination{cursor:grabbing}
#menu-studio .biome-window .destination:disabled{pointer-events:none}
#menu-studio .biome-window::before,#menu-studio .biome-window::after{font-family:Arial,sans-serif;font-size:38px;font-weight:bold}
@media(orientation:landscape) and (max-height:540px){#menu-studio .biome-window::before,#menu-studio .biome-window::after{font-size:26px}}
/* Three-task sets keep their cards together; the whole panel scrolls on short screens. */
#modal[data-screen=quests] .quest-list{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;flex-shrink:0}
#modal[data-screen=quests] .quest-card{flex-direction:column;align-items:stretch}
#modal[data-screen=quests] .quest-card>div{gap:5px}
#modal[data-screen=quests] .quest-card button{margin-top:8px}
#modal[data-menu-theme=stickers][data-screen=quests] #modal-body{overflow:auto}
@media(max-height:520px) and (orientation:landscape){
 #modal[open][data-screen=quests]{display:flex!important;flex-direction:column}
 #modal[data-screen=quests] #menu-tabs{display:none}
 #modal[data-screen=quests] .modal-head{padding:8px 16px;flex:none}
 #modal[data-screen=quests] .modal-head h2{font-size:24px}
 #modal[data-screen=quests] #modal-body{flex:1;min-height:0;overflow:auto;padding:8px 16px;gap:6px}
 #modal[data-screen=quests] .quest-wallet{font-size:13px}
 #modal[data-screen=quests] .quest-wallet button{min-height:28px;padding:3px 10px;font-size:12px}
 #modal[data-screen=quests] .quest-explanation{font-size:11px}
 #modal[data-screen=quests] .quest-card{padding:8px;gap:4px}
 #modal[data-screen=quests] .quest-card b{font-size:13px}
 #modal[data-screen=quests] .quest-card small,#modal[data-screen=quests] .quest-card span{font-size:11px}
 #modal[data-screen=quests] .quest-card button{min-height:28px;padding:3px 6px;font-size:13px;margin-top:3px}
 #modal[data-screen=quests] #quest-bonus{min-height:32px;padding:5px;font-size:14px;flex:none}
 #modal[data-screen=quests] .small{font-size:11px;margin:3px 0;flex:none}
}

#menu-studio .biome-window::before,#menu-studio .biome-window::after{display:none}
#menu-studio .biome-arrow{position:absolute;top:14px;bottom:6px;width:clamp(20px,3vw,38px);z-index:4;border:3px solid #303754;color:#303754;font:bold 38px Arial,sans-serif;padding:0;pointer-events:auto;min-height:44px}
#menu-studio .biome-arrow-prev{left:0;background:#ef9295;border-radius:0 7px 12px 0;box-shadow:3px 0 #303754}
#menu-studio .biome-arrow-next{right:0;background:#bba7de;border-radius:12px 0 0 7px;box-shadow:-3px 0 #303754}
#menu-studio button.stamp-label:disabled{opacity:1;cursor:default}
@media(orientation:landscape) and (max-height:540px){#menu-studio .biome-arrow{width:22px;font-size:26px;border-width:2px}}

#modal[data-screen=settings] .setting input[type=range]{width:clamp(120px,24vw,220px);min-width:120px;height:32px;flex-shrink:0}

.destination[data-preview]{cursor:grab}.destination[data-preview]:active{transform:none}.biome-window.is-dragging .destination{cursor:grabbing}

#menu-studio[data-biome=ice] .sticker-hero,#menu-studio[data-biome=ice] .studio-hero{background:#d4edf9}

#menu-studio [data-menu-action=quests]{position:relative;overflow:visible}
#menu-studio .quest-notification{position:absolute;right:5px;top:-13px;display:grid;place-items:center;width:25px;height:25px;border:2px solid #343449;border-radius:50%;background:#f17781;color:#343449;box-shadow:2px 2px 0 #343449;font:bold 18px sans-serif;pointer-events:none}
/* Desktop profession descriptions stay readable; compact touch cards keep their sizing. */
body:not(.touch) #modal[data-screen=expeditions] .class-card small{font-size:16px;line-height:1.35}
body:not(.touch) #modal[data-menu-theme=stickers][data-screen=expeditions] .class-grid{grid-template-rows:repeat(5,minmax(min-content,1fr))}
/* A consistent desktop hierarchy for profession cards. */
body:not(.touch) #modal[data-menu-theme=stickers][data-screen=expeditions] .class-card{grid-template-columns:72px minmax(0,1fr);column-gap:14px;row-gap:2px;padding:6px 12px}
body:not(.touch) #modal[data-screen=expeditions] .class-card b{font-size:20px;line-height:1.15;color:#303754}
body:not(.touch) #modal[data-screen=expeditions] .class-card small{line-height:1.3;color:#536070;text-wrap:pretty}
body:not(.touch) #modal[data-screen=expeditions] .class-card span{display:flex;align-items:center;gap:6px;grid-column:2;font-size:12px;line-height:1.25;font-weight:700;color:#477352;margin:0}
body:not(.touch) #modal[data-screen=expeditions] .class-card span::before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
body:not(.touch) #modal[data-screen=expeditions] .class-card .profession-art{width:72px;height:60px;align-self:center}
body:not(.touch) #modal[data-screen=expeditions] .class-card:disabled{opacity:1;background:#f1efe5;border-color:#aaa99c}
body:not(.touch) #modal[data-screen=expeditions] .class-card:disabled span{color:#817456}
body:not(.touch) #modal[data-screen=expeditions] .class-card:disabled b{color:#606578}

#modal[data-menu-theme=stickers][data-screen=collection] .index4-card.found small{font-size:13px;line-height:1.3}
body.touch #modal[data-menu-theme=stickers][data-screen=collection] .index4-card.found small{font-size:11px}
#quest-clock{display:block;font-size:18px;line-height:1.35;font-weight:700}
body.touch #quest-clock{font-size:14px}
#modal[data-screen=quests] #quest-bonus{rotate:0deg;margin-top:8px;flex-shrink:0}
#menu-tabs [data-section=quests]{position:relative}
#menu-tabs .quest-tab-notification{position:absolute;right:2px;top:-7px;display:grid;place-items:center;width:16px;height:16px;box-sizing:border-box;border:1px solid #303754;border-radius:50%;background:#f17781;color:#303754;font:bold 12px/1 sans-serif;pointer-events:none}
