/* Wardrobe V70: bounded content, native sprites, touch-sized controls. */
#gameMenu.standard-menu-open:has(#outfitPage:not([hidden])) > .game-menu-window{grid-template-columns:minmax(0,1fr)!important}
#gameMenu.standard-menu-open:has(#outfitPage:not([hidden])) .legacy-menu-tabs{min-width:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
#gameMenu.standard-menu-open:has(#outfitPage:not([hidden])) .legacy-menu-tabs .menu-tile strong{max-width:100%;overflow-wrap:anywhere}
@media(max-width:700px){
  #gameMenu.standard-menu-open:has(#outfitPage:not([hidden])) .legacy-menu-tabs{justify-self:start!important;margin-inline:0!important;width:calc(100% - 48px)!important;gap:4px!important}
  #gameMenu.standard-menu-open:has(#outfitPage:not([hidden])) .legacy-menu-tabs .menu-tile{padding:2px 4px!important;font-size:clamp(9px,2.8vw,12px)!important;font-family:Arial,ui-sans-serif,system-ui,sans-serif!important;line-height:1.05!important}
  #gameMenu.standard-menu-open:has(#outfitPage:not([hidden])) .legacy-menu-tabs .menu-tile strong{font-size:inherit!important;font-family:inherit!important;white-space:nowrap;overflow-wrap:normal;letter-spacing:-.015em}
}
#gameMenu.standard-menu-open > .game-menu-window > #outfitPage:not([hidden]) {
  --outfit-gap:clamp(8px,1.1vw,18px);
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  width:100%!important;height:100%!important;min-width:0;min-height:0;
  padding:clamp(8px,1.3vw,22px)!important;gap:var(--outfit-gap);
  overflow:hidden!important;background:rgba(6,17,23,.91)!important;color:#f4eee0;
  border:2px solid transparent!important;
  border-image:url('assets/ui-v63/frame.png') 10 / 8px / 0 stretch!important;
  box-sizing:border-box;container-type:inline-size;
}
#outfitPage [hidden]{display:none!important}
#outfitPage *{box-sizing:border-box}
#outfitPage h2,#outfitPage h3,#outfitPage p,#outfitPage figure{margin:0}
#outfitPage button{touch-action:manipulation;cursor:pointer;min-height:44px;min-width:44px;font:inherit;color:inherit;
  border:2px solid transparent;border-image:url('assets/ui-v63/frame.png') 10 / 6px / 0 stretch;
  border-radius:0;background:#172b32;box-shadow:none;line-height:1.15}
#outfitPage button:is(:hover,:focus-visible,.active,.selected){border-image-source:url('assets/ui-v63/frame-gold.png');background-color:#283b3c}
#outfitPage button:focus-visible{outline:2px solid #f1d276;outline-offset:2px}
#outfitPage button:disabled{cursor:default;color:#a5adae;background-color:#132228;border-image-source:url('assets/ui-v63/frame-bronze.png')}
.outfit-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.outfit-heading>div{min-width:0}.outfit-heading h2{font-size:clamp(20px,2.4vw,36px);line-height:1.1!important;color:#fff3d0}
.outfit-heading p{font-size:clamp(12px,1.1vw,16px);color:#aabdc2;margin-top:4px!important}
.outfit-wallet{display:flex;align-items:center;gap:7px;background:#102128;border:1px solid #41525a;padding:6px 10px;flex:none}
.outfit-wallet img{width:24px;height:24px;object-fit:contain;image-rendering:pixelated}
.outfit-wallet small{font-size:10px;letter-spacing:.1em;color:#9cafb7;display:block}
.outfit-wallet strong{font-size:clamp(15px,1.6vw,23px);font-variant-numeric:tabular-nums;color:#aee8fb}
.outfit-content{overflow:hidden;min-width:0;min-height:0;overscroll-behavior:contain;padding:3px 5px 8px 3px;outline-offset:-2px}
.outfit-color-rows{display:grid;grid-template-columns:minmax(150px,210px) minmax(0,640px);align-items:center;gap:clamp(18px,3vw,42px);max-width:900px;width:100%;margin:0 auto}
.outfit-color-selectors{display:grid;gap:10px;min-width:0}
#outfitPage .outfit-channel{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:54px;min-width:0;text-align:left}
.outfit-channel strong{flex:1;min-width:0;font-size:clamp(14px,1.3vw,20px);line-height:1.15}
.outfit-current-color{flex:none;width:22px;height:22px;border:2px solid #9caaab;background:var(--current-color);box-shadow:inset 0 0 0 1px #152229}
.outfit-color-number{flex:none;display:grid;place-items:center;width:32px;height:32px;font-weight:800;color:#ebd29a;background:#263a3f;border:1px solid #536c70}
.outfit-shared-palette{min-width:0;display:grid;gap:12px;padding:clamp(10px,1.3vw,20px);background:#0e2027;border:1px solid #34484e}
.outfit-palette-caption{font-size:clamp(17px,1.5vw,23px);color:#e4d5b0;line-height:1.15}
.outfit-palette{display:grid;grid-template-columns:repeat(6,minmax(44px,1fr));gap:8px;min-width:0}
#outfitPage .outfit-swatch{padding:5px;background:var(--swatch-color);min-height:48px;height:clamp(48px,5vw,70px);position:relative;border-image:none;border:2px solid #60747a;outline-offset:2px}
#outfitPage .outfit-swatch::before{content:'';position:absolute;inset:4px;border:1px solid rgba(255,255,255,.25);pointer-events:none}
#outfitPage .outfit-swatch:is(:hover,:focus-visible,.selected){background:var(--swatch-color);border:3px solid #ffe392}
.outfit-swatch-check{display:none;position:absolute;bottom:3px;right:3px;width:19px;height:19px;line-height:19px;text-align:center;background:#07131d;color:#fff6cf;font-size:16px;font-weight:900;pointer-events:none}
.outfit-swatch[aria-pressed="true"] .outfit-swatch-check{display:block}
#outfitPage .outfit-swatch:disabled{background:var(--swatch-color);opacity:.7}
.outfit-color-note{color:#a9bcbf;font-size:13px;line-height:1.45;max-width:900px;text-align:center;margin:16px auto 0!important}
#outfitPage[data-outfit-tab="colors"] .outfit-content{overflow:hidden;display:grid;align-items:center;padding:0}
#outfitColorsPanel{min-width:0;min-height:0;width:100%}
.outfit-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,1.3vw,18px);max-width:1350px;margin:0 auto}
#outfitPage .outfit-category{display:flex;align-items:center;min-height:94px;padding:14px;gap:15px;text-align:left}
.outfit-category-copy{display:grid;gap:6px;min-width:0;flex:1}.outfit-category-copy strong{font-size:clamp(15px,1.5vw,23px)}
.outfit-category-copy small{font-size:12px;color:#acc0c2}.outfit-category-chevron{font-size:27px;color:#dcc68e}
.outfit-category-icon{width:40px;height:54px;object-fit:contain;image-rendering:pixelated;flex:none}
.outfit-category-avatar{width:44px;height:56px;flex:none;background:url('assets/player-v65/body.png') -6px 0 / 336px 224px no-repeat;image-rendering:pixelated}
.outfit-category-avatar--helmet{height:34px;align-self:center;background-position:0 0}
.outfit-category-atlas{display:grid;place-items:center;overflow:hidden}.outfit-category-crop{display:block;flex:none;background-repeat:no-repeat;image-rendering:pixelated}
.outfit-collection-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px;min-width:0}
.outfit-collection-heading h3{font-size:clamp(18px,1.8vw,28px)}
#outfitPage .outfit-back{padding:8px 15px;color:#dce5e4;font-weight:700}
.outfit-collection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;align-items:start}
#outfitPage .outfit-card{display:grid;justify-items:center;align-content:center;gap:10px;padding:18px 12px;min-height:168px}
.outfit-card small{font-size:12px;color:#b4c9c9}.outfit-card-icon{width:64px;height:72px;object-fit:contain;image-rendering:pixelated}
.outfit-empty{max-width:720px;margin:20px auto!important;border:1px solid #46534f;padding:20px;background:#17282b;line-height:1.5;color:#b2c6c5}
.outfit-empty strong{display:block;color:#e5d8b1;font-size:17px;margin-bottom:6px}
.outfit-detail{display:grid;grid-template-columns:minmax(240px,1.1fr) minmax(200px,.9fr);gap:22px;max-width:1100px;margin:0 auto;align-items:start}
.outfit-detail-figure{min-width:0;display:grid;gap:8px;justify-items:center;padding:15px;background:#122a33;border:1px solid #485e62}
.outfit-detail-figure canvas{width:100%;height:clamp(160px,28vh,280px);image-rendering:pixelated;object-fit:contain}
.outfit-detail-figure figcaption{font-size:12px;color:#b4c8cb;text-align:center}
.outfit-detail-copy{display:grid;gap:14px;min-width:0}.outfit-detail-copy h3{font-size:clamp(22px,2.1vw,34px);line-height:1.1;color:#ffedbe}
.outfit-detail-copy p{color:#bfd0d0;line-height:1.5}.outfit-detail-price{font-size:22px;color:#aee8fb;font-weight:800}.outfit-detail-status{font-size:13px;color:#d2c5a4}
.outfit-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:8px}
#outfitPage .outfit-primary{background:#29483f;color:#d6f5d4;font-weight:800;padding:12px;border-image-source:url('assets/ui-v63/frame-gold.png')}
#outfitPage .outfit-secondary{padding:12px;font-weight:700}
.outfit-footer{display:grid;grid-template-columns:minmax(130px,1fr) minmax(180px,420px) minmax(130px,1fr);align-items:center;gap:14px;border-top:1px solid #3c5054;padding-top:6px;min-width:0}
#outfitPage .outfit-bottom-tab{min-height:52px;font-size:clamp(16px,1.7vw,28px);font-weight:800;padding:10px 18px}
.outfit-preview{min-width:0;display:grid;place-items:center}.outfit-preview canvas{display:block;width:100%;height:clamp(66px,12vh,116px);object-fit:contain;image-rendering:pixelated}
.outfit-preview figcaption{font-size:11px;color:#9db6b9;text-align:center;margin-top:2px}
.outfit-feedback{grid-column:1/-1;text-align:center;color:#b9d1cb;font-size:12px;min-height:0;line-height:1.3}.outfit-feedback:empty{display:none}
@container (max-width:600px){
  .outfit-color-rows{grid-template-columns:minmax(0,1fr);gap:10px;max-width:430px}.outfit-color-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #outfitPage .outfit-channel{min-height:44px;padding:6px;gap:6px}.outfit-channel strong{font-size:14px}.outfit-color-number{width:24px;height:24px;font-size:13px}.outfit-current-color{width:18px;height:18px}
  .outfit-shared-palette{padding:8px;gap:8px}.outfit-palette-caption{font-size:16px}.outfit-color-note{display:none}
  .outfit-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #outfitPage .outfit-category{min-height:84px;gap:8px;padding:10px}.outfit-category-copy strong{font-size:14px}.outfit-category-copy small{font-size:11px}.outfit-category-chevron{display:none}
  .outfit-category-icon{width:30px;height:42px}.outfit-category-avatar{width:34px;height:44px;background-size:264px 176px}
  .outfit-detail{grid-template-columns:1fr;gap:14px}.outfit-detail-figure canvas{height:160px}
  .outfit-footer{grid-template-columns:1fr 1fr;gap:6px}.outfit-preview{grid-column:1/-1;grid-row:1}.outfit-preview canvas{height:70px;width:min(100%,340px)}
  #outfitPage .outfit-bottom-tab{min-height:44px;padding:8px 10px;font-size:17px}.outfit-feedback{font-size:11px}
}
@container (max-width:400px){.outfit-palette{grid-template-columns:repeat(4,minmax(44px,1fr));gap:6px}}
@media(max-width:700px) and (min-height:421px) and (max-height:700px){
  #gameMenu.standard-menu-open > .game-menu-window > #outfitPage:not([hidden]){padding:6px!important;gap:6px}
  .outfit-heading p,.outfit-wallet small,.outfit-preview figcaption{display:none}.outfit-heading h2{font-size:20px}.outfit-wallet{padding:3px 7px}
  .outfit-footer{grid-template-columns:minmax(60px,1fr) minmax(100px,180px) minmax(60px,1fr);padding-top:3px;gap:4px}
  .outfit-preview{grid-column:2;grid-row:1}.outfit-preview canvas{height:44px}
  .outfit-bottom-tab:first-child{grid-column:1;grid-row:1}.outfit-bottom-tab:last-of-type{grid-column:3;grid-row:1}
  #outfitPage .outfit-bottom-tab{min-height:44px;height:44px;padding:6px;font-size:15px}
  .outfit-color-rows{gap:6px}.outfit-color-selectors{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  #outfitPage .outfit-channel{height:44px;min-height:44px;padding:4px;gap:4px}.outfit-channel strong{font-size:12px}.outfit-color-number{display:none}.outfit-current-color{width:12px;height:12px}
  .outfit-shared-palette{padding:0;border:0;background:none;gap:0}.outfit-palette-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  #outfitPage .outfit-swatch{min-height:44px;height:44px}.outfit-palette{gap:4px}.outfit-color-note{display:none}
}
@media(max-height:420px){
  #gameMenu.standard-menu-open > .game-menu-window > #outfitPage:not([hidden]){padding:4px 6px!important;gap:2px}
  .outfit-heading h2{font-size:18px}.outfit-heading p,.outfit-wallet small{display:none}.outfit-wallet{padding:2px 6px}.outfit-wallet img{width:18px;height:18px}.outfit-wallet strong{font-size:15px}
  .outfit-color-rows{grid-template-columns:minmax(0,1fr);gap:4px;max-width:900px}.outfit-color-selectors{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  #outfitPage .outfit-channel{padding:4px;gap:4px;min-height:44px;height:44px}.outfit-channel strong{font-size:13px}.outfit-color-number{width:20px;height:20px;font-size:12px}.outfit-current-color{width:14px;height:14px}
  .outfit-shared-palette{padding:0;background:none;border:0;gap:0}.outfit-palette-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.outfit-color-note{display:none}
  #outfitPage .outfit-swatch{height:44px;min-height:44px}.outfit-palette{gap:4px}
  .outfit-footer{grid-template-columns:minmax(72px,1fr) minmax(100px,230px) minmax(72px,1fr)!important;gap:5px;padding-top:0}
  .outfit-preview{grid-column:2!important;grid-row:1!important}.outfit-preview canvas{height:44px!important}.outfit-preview figcaption{display:none}
  #outfitPage .outfit-bottom-tab{height:44px;min-height:44px;padding:6px;font-size:15px}.outfit-bottom-tab:first-child{grid-column:1;grid-row:1}.outfit-bottom-tab:last-of-type{grid-column:3;grid-row:1}
  .outfit-feedback{display:none}.outfit-detail{grid-template-columns:minmax(150px,1fr) minmax(150px,1fr);gap:10px}.outfit-detail-figure{padding:6px}.outfit-detail-figure canvas{height:128px}.outfit-detail-copy{gap:7px}.outfit-detail-copy h3{font-size:18px}.outfit-detail-copy p{font-size:12px}.outfit-detail-price{font-size:17px}.outfit-detail-actions{gap:6px}
}
@media(min-width:421px) and (max-height:420px){.outfit-palette{grid-template-columns:repeat(6,minmax(44px,1fr));gap:4px}}
@media(max-width:420px) and (max-height:420px){
  #outfitPage[data-outfit-tab="colors"] .outfit-content{overflow:hidden;align-items:start}
  .outfit-color-selectors{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:380px) and (max-height:420px){.outfit-detail{grid-template-columns:minmax(0,1fr)}}
@media(min-width:1800px) and (min-height:1100px){
  #gameMenu.standard-menu-open > .game-menu-window > #outfitPage:not([hidden]){padding:30px!important}
  .outfit-color-rows{max-width:1100px;grid-template-columns:260px minmax(0,780px)}.outfit-category-grid{max-width:1600px}.outfit-detail{max-width:1400px}.outfit-category-grid{gap:22px}
  #outfitPage .outfit-category{min-height:116px}.outfit-footer{grid-template-columns:minmax(180px,1fr) minmax(300px,580px) minmax(180px,1fr)}.outfit-preview canvas{height:150px}.outfit-detail-figure canvas{height:350px}
}
@media(prefers-reduced-motion:reduce){#outfitPage *{animation:none!important;transition:none!important}}
/* The old mount collection remains accessible from Shop after Outfit splits out. */
#storePage[data-store-mode="mounts"] .store-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
.store-mount-link{min-height:44px;padding:10px 16px;border:2px solid transparent;border-image:url('assets/ui-v63/frame.png') 10 / 6px / 0 stretch;background:#172b32;color:#e9dfc4;font:inherit;cursor:pointer;margin-top:10px}
.store-mount-link:focus-visible{outline:2px solid #f1d276;outline-offset:2px}

/* V71: every collection is a bounded page, including the smallest landscape. */
#outfitPage[data-outfit-tab="outfits"] .outfit-content{padding:0;overflow:hidden}
#outfitOutfitsPanel,#outfitCategoriesPanel,#outfitCollectionPanel,.outfit-species-panel{width:100%;height:100%;min-height:0;min-width:0;overflow:hidden}
#outfitCategoriesPanel{display:grid;grid-template-rows:minmax(0,1fr) 44px;gap:8px}
.outfit-category-grid{height:100%;width:100%;grid-template-rows:repeat(var(--outfit-category-rows,3),minmax(44px,1fr));align-items:stretch;gap:8px}
.outfit-category-grid[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.outfit-category-grid[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
#outfitPage .outfit-category{height:100%;min-height:44px;min-width:0;padding:clamp(5px,1vw,14px);gap:clamp(5px,1vw,15px)}
.outfit-category-copy strong{overflow-wrap:normal;font-size:clamp(12px,1.3vw,22px);line-height:1.12}
.outfit-category-copy small{font-size:clamp(10px,.9vw,12px)}
.outfit-category-icon{max-width:40px;max-height:54px;min-width:0;min-height:0}
.outfit-pagination{display:flex;justify-content:center;align-items:center;gap:16px;height:44px;min-width:0}
#outfitPage .outfit-page-arrow{width:56px;height:44px;padding:0;font-size:30px;line-height:1}
.outfit-page-label{font-size:14px;color:#d9cfb3;font-variant-numeric:tabular-nums;min-width:44px;text-align:center}
#outfitCategoriesPanel[data-outfit-wide-short="true"]{grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:minmax(0,1fr);gap:5px;position:relative}
#outfitCategoriesPanel[data-outfit-wide-short="true"] .outfit-category-grid{grid-column:2;grid-row:1;gap:4px}
#outfitCategoriesPanel[data-outfit-wide-short="true"] .outfit-pagination{display:contents}
#outfitCategoriesPanel[data-outfit-wide-short="true"] .outfit-page-arrow{width:44px;align-self:center}
#outfitCategoriesPanel[data-outfit-wide-short="true"] .outfit-page-arrow:first-child{grid-column:1;grid-row:1}
#outfitCategoriesPanel[data-outfit-wide-short="true"] .outfit-page-arrow:last-child{grid-column:3;grid-row:1}
#outfitCategoriesPanel[data-outfit-wide-short="true"] .outfit-page-label{position:absolute;bottom:0;left:0;width:44px;font-size:11px}
#outfitCollectionPanel,.outfit-species-panel{display:grid;grid-template-rows:44px minmax(0,1fr);gap:8px}
.outfit-collection-heading{height:44px;margin:0;gap:8px}
.outfit-collection-heading h3{font-size:clamp(16px,1.6vw,26px);line-height:1.05;min-width:0}
.outfit-collection-grid,.outfit-species-grid{display:grid;width:100%;height:100%;min-height:0;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;max-width:1200px;justify-self:center}
.outfit-species-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px}
#outfitPage .outfit-card{display:grid;grid-template-rows:minmax(44px,1fr) auto auto;align-content:stretch;gap:6px;padding:8px;min-height:44px;height:100%;min-width:0;overflow:hidden}
.outfit-card-preview{display:block;width:100%;height:100%;min-width:0;min-height:0;image-rendering:pixelated;object-fit:contain}
.outfit-card strong{font-size:clamp(12px,1.4vw,20px);line-height:1.12;text-align:center;max-width:100%;overflow-wrap:normal}
.outfit-card small{font-size:clamp(10px,1vw,13px);line-height:1.12;text-align:center}
#outfitDetailPanel{height:100%;min-height:0;overflow:hidden;align-items:stretch;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:14px}
.outfit-detail-figure{height:100%;min-height:0;grid-template-rows:minmax(0,1fr) auto;padding:10px}
.outfit-detail-figure canvas{height:100%;min-height:0;max-height:none}
.outfit-detail-copy{height:100%;min-height:0;align-content:center;gap:10px}
.outfit-detail-copy h3{font-size:clamp(17px,2vw,32px);line-height:1.12}
.outfit-detail-copy p{font-size:clamp(12px,1.2vw,16px);line-height:1.3}
.outfit-detail-actions{margin-top:0;gap:8px}
#outfitPage .outfit-primary,#outfitPage .outfit-secondary{padding:8px;min-height:44px;font-size:clamp(12px,1.1vw,16px)}
@container(max-width:600px){
  .outfit-category-copy small{display:none}.outfit-category-icon{width:28px;height:40px}.outfit-category-avatar{width:28px;height:40px}
  .outfit-category-copy{gap:0}.outfit-category-copy strong{font-size:12px}
  #outfitDetailPanel{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(62px,.9fr) minmax(0,1.1fr);gap:6px}
  .outfit-detail-figure{padding:4px;grid-template-rows:minmax(0,1fr)}.outfit-detail-figure figcaption{display:none}
  .outfit-detail-copy{gap:4px;align-content:start}.outfit-detail-copy h3{font-size:16px}.outfit-detail-price{font-size:17px}
  #outfitDetailDescription{display:none}.outfit-detail-status{font-size:11px!important;line-height:1.15!important}
  .outfit-detail-actions{gap:5px;margin-top:auto}.outfit-card strong{font-size:12px}.outfit-card small{font-size:10px}
}
@media(max-width:700px) and (max-height:700px){
  .outfit-feedback{display:none}#outfitPage[data-outfit-tab="outfits"] .outfit-heading p{display:none}
  #outfitCategoriesPanel{gap:4px}.outfit-category-grid{gap:4px}
  #outfitCollectionPanel,.outfit-species-panel{gap:4px}.outfit-collection-grid,.outfit-species-grid{gap:4px}
  #outfitPage .outfit-card{padding:5px;gap:4px}.outfit-detail-copy{gap:4px}
}
@media(max-height:420px){
  #outfitDetailPanel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:6px}
  .outfit-detail-copy{align-content:center;gap:4px}.outfit-detail-copy h3{font-size:16px}
  #outfitDetailDescription{display:none}.outfit-detail-figure figcaption{display:none}
  .outfit-detail-price{font-size:16px}.outfit-detail-status{font-size:11px!important;line-height:1.12!important}
  .outfit-detail-actions{gap:4px}#outfitPage .outfit-primary,#outfitPage .outfit-secondary{padding:4px;font-size:12px}
  .outfit-category-copy strong{font-size:11px}.outfit-category-copy small{display:none}.outfit-category-icon{width:24px;height:36px}
  #outfitPage .outfit-category{padding:4px;gap:4px}.outfit-category-chevron{display:none}
}

/* V91: landscape uses the remaining menu rectangle, including browser bars. */
@media(orientation:landscape) and (max-height:560px){
  #gameMenu.standard-menu-open #outfitPage:not([hidden]){padding:4px!important;gap:4px!important;grid-template-rows:auto minmax(0,1fr) 44px!important;background:transparent!important;border:0!important}
  #gameMenu #outfitPage .outfit-heading{height:24px;min-height:0;gap:6px}
  #gameMenu #outfitPage .outfit-heading h2{font-size:17px!important;line-height:1.1!important}
  #gameMenu #outfitPage .outfit-heading p,#gameMenu #outfitPage .outfit-wallet small{display:none!important}
  #gameMenu #outfitPage .outfit-wallet{padding:2px 6px!important;gap:4px;height:24px;background:rgba(2,10,10,.32)!important}
  #gameMenu #outfitPage .outfit-wallet .store-wallet-diamond{width:18px;height:18px}
  #gameMenu #outfitPage .outfit-wallet strong{font-size:14px}
  #gameMenu #outfitPage .outfit-content{height:100%;min-height:0;padding:0!important;overflow:hidden!important}
  #gameMenu #outfitPage .outfit-footer{height:44px;min-height:0;grid-template-columns:minmax(70px,1fr) minmax(100px,260px) minmax(70px,1fr)!important;gap:6px!important;padding:0!important;border:0}
  #gameMenu #outfitPage .outfit-preview{grid-column:2!important;grid-row:1!important;height:44px}
  #gameMenu #outfitPage .outfit-preview canvas{height:44px!important;max-height:100%;width:100%}
  #gameMenu #outfitPage .outfit-preview figcaption,#gameMenu #outfitPage .outfit-feedback{display:none!important}
  #gameMenu #outfitPage .outfit-bottom-tab{height:44px!important;min-height:44px!important;padding:4px 8px!important;font-size:14px!important}
  #gameMenu #outfitPage #outfitColorsPanel{height:100%;display:grid;place-items:center}
  #gameMenu #outfitPage .outfit-color-rows{grid-template-columns:minmax(140px,.6fr) minmax(0,1.4fr)!important;gap:10px!important;max-width:880px;min-height:0}
  #gameMenu #outfitPage .outfit-color-selectors{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}
  #gameMenu #outfitPage .outfit-channel{height:44px!important;min-height:44px!important;padding:4px!important;gap:4px!important}
  #gameMenu #outfitPage .outfit-channel strong{font-size:12px!important;overflow-wrap:normal}
  #gameMenu #outfitPage .outfit-color-number{display:none!important}
  #gameMenu #outfitPage .outfit-current-color{width:14px;height:14px;border-width:1px}
  #gameMenu #outfitPage .outfit-shared-palette{padding:0!important;gap:0!important;min-height:0;background:transparent!important;border:0}
  #gameMenu #outfitPage .outfit-palette{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:4px!important}
  #gameMenu #outfitPage .outfit-swatch{height:44px!important;min-height:44px!important;min-width:0;padding:3px}
  #gameMenu #outfitPage .outfit-palette-caption,#gameMenu #outfitPage .outfit-color-note{display:none!important}
  #gameMenu #outfitPage #outfitCategoriesPanel{grid-template-rows:minmax(0,1fr)!important;gap:0}
  #gameMenu #outfitPage .outfit-category-grid{gap:4px!important;grid-template-columns:repeat(var(--outfit-category-columns,5),minmax(0,1fr))!important;grid-template-rows:repeat(var(--outfit-category-rows,3),minmax(0,1fr))!important}
  #gameMenu #outfitPage .outfit-category{min-height:0!important;min-width:0;gap:4px!important;padding:4px!important;overflow:hidden}
  #gameMenu #outfitPage .outfit-category-copy{min-width:0}
  #gameMenu #outfitPage .outfit-category-copy strong{font-size:11px!important;line-height:1.15}
  #gameMenu #outfitPage .outfit-category-copy small,#gameMenu #outfitPage .outfit-category-chevron{display:none!important}
  #gameMenu #outfitPage .outfit-category-icon,#gameMenu #outfitPage .outfit-category-avatar{width:22px;max-width:22px!important;height:30px;max-height:30px!important}
  #gameMenu #outfitPage .outfit-category-avatar{background-size:288px 192px!important;background-position:-13px -12px}
  #gameMenu #outfitPage .outfit-category-avatar--helmet{height:18px!important;max-height:18px!important}
  #gameMenu #outfitPage #outfitCollectionPanel,#gameMenu #outfitPage .outfit-species-panel{grid-template-rows:40px minmax(0,1fr);gap:4px}
  #gameMenu #outfitPage .outfit-collection-heading{height:40px;gap:6px}
  #gameMenu #outfitPage .outfit-collection-heading h3{font-size:15px}
  #gameMenu #outfitPage .outfit-back{height:40px!important;min-height:40px!important;max-height:40px!important;padding:4px 10px}
  #gameMenu #outfitPage .outfit-collection-grid,#gameMenu #outfitPage .outfit-species-grid{min-height:0;gap:6px}
  #gameMenu #outfitPage .outfit-card{grid-template-rows:minmax(0,1fr) auto auto;min-height:0!important;padding:4px;gap:3px}
  #gameMenu #outfitPage .outfit-card strong{font-size:12px;line-height:1.1}
  #gameMenu #outfitPage .outfit-card small{font-size:10px;line-height:1.1}
  #gameMenu #outfitPage #outfitDetailPanel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:8px}
  #gameMenu #outfitPage .outfit-detail-figure{padding:4px;grid-template-rows:minmax(0,1fr);background:rgba(2,10,10,.32)!important}
  #gameMenu #outfitPage .outfit-detail-figure figcaption,#gameMenu #outfitPage #outfitDetailDescription{display:none!important}
  #gameMenu #outfitPage .outfit-detail-copy{grid-template-rows:auto auto minmax(0,1fr) auto;align-content:stretch;gap:4px}
  #gameMenu #outfitPage .outfit-detail-copy h3{font-size:15px;line-height:1.15}
  #gameMenu #outfitPage .outfit-detail-price{font-size:14px;line-height:1.1}
  #gameMenu #outfitPage .outfit-detail-status{font-size:11px!important;line-height:1.2!important;align-self:center}
  #gameMenu #outfitPage .outfit-detail-actions{margin:0;gap:5px}
  #gameMenu #outfitPage .outfit-detail-actions button{height:40px;min-height:40px!important;padding:4px!important;font-size:12px}
}
@media(orientation:landscape) and (max-height:300px){
  #gameMenu #outfitPage .outfit-color-rows{grid-template-columns:minmax(130px,.65fr) minmax(0,1.35fr)!important;gap:6px!important}
  #gameMenu #outfitPage .outfit-channel strong{font-size:11px!important}
  #gameMenu #outfitPage .outfit-category-icon,#gameMenu #outfitPage .outfit-category-avatar{width:18px;max-width:18px!important;height:24px;max-height:24px!important}
  #gameMenu #outfitPage .outfit-category-avatar{background-size:230.4px 153.6px!important;background-position:-11px -10px}
  #gameMenu #outfitPage .outfit-category-avatar--helmet{height:15px!important;max-height:15px!important}
  #gameMenu #outfitPage .outfit-category-copy strong{font-size:10px!important}
}
