/* Retail only: compact navigation and search, readable gear, unobstructed footer. */
@media(max-width:900px) {
  html[data-wow-theme="retail"] .page-shell { display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:10px !important; padding:8px !important; }
  html[data-wow-theme="retail"] .app-sidebar { display:grid !important; grid-template-columns:minmax(0,1fr) auto !important; grid-template-rows:auto auto auto; position:static !important; width:100% !important; height:auto !important; min-height:0; max-height:none; overflow:visible; align-content:start; gap:6px; margin:0 !important; padding:8px !important; border-radius:10px; }
  html[data-wow-theme="retail"] .app-sidebar__brand { grid-column:1; grid-row:1; padding:0; border:0; }
  html[data-wow-theme="retail"] .app-sidebar__brand :is(.eyebrow,p) { display:none; }
  html[data-wow-theme="retail"] .app-sidebar__logo { margin:0; font-size:22px; }
  html[data-wow-theme="retail"] .language-switcher { grid-column:2; grid-row:1; width:130px; margin:0; padding:2px; }
  html[data-wow-theme="retail"] .language-switcher__button { min-width:0; min-height:32px; padding:4px; font-size:11px; }
  html[data-wow-theme="retail"] .wow-version-switcher { grid-column:1/-1; grid-row:2; width:100%; min-width:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px; padding:0; margin:0; }
  html[data-wow-theme="retail"] .wow-version-switcher button { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; min-width:0; min-height:76px; padding:7px 4px; font-size:11px; border-radius:6px; }
  html[data-wow-theme="retail"] .wow-version-switcher img { width:58px; max-width:100%; height:38px; object-fit:contain; }
  html[data-wow-theme="retail"] .site-presence-badge { grid-column:1/-1; grid-row:auto; justify-self:end; align-self:center; width:auto; box-sizing:border-box; gap:3px; margin:0; padding:4px; font-size:9px; }
  html[data-wow-theme="retail"] .donate-btn { display:none; }
  html[data-wow-theme="retail"] .side-nav { grid-column:1/-1; grid-row:3; display:flex !important; width:100%; min-width:0; gap:5px; padding:2px 0; margin:0; overflow-x:auto; scrollbar-width:thin; }
  html[data-wow-theme="retail"] .side-nav__section { display:flex; flex:0 0 auto; gap:5px; padding:0; margin:0; align-items:start; }
  html[data-wow-theme="retail"] .side-nav__section-title { display:none; }
  html[data-wow-theme="retail"] .side-nav__link { width:auto; flex:0 0 auto; min-height:40px; padding:8px 10px; font-size:12px; white-space:nowrap; }
  html[data-wow-theme="retail"] .app-main { min-width:0; }
  html[data-wow-theme="retail"] .armory-topbar { display:grid; grid-template-columns:minmax(0,1fr); min-height:0; gap:6px; padding:8px; border-radius:10px; }
  html[data-wow-theme="retail"] .armory-topbar .armory-brand { display:flex; align-items:center; justify-content:center; width:100%; min-height:0; padding:0; }
  html[data-wow-theme="retail"] .armory-topbar .armory-brand .eyebrow { display:none; }
  html[data-wow-theme="retail"] .armory-topbar .armory-patch-logo { width:115px; max-height:48px; height:48px; object-fit:contain; margin:0; }
  html[data-wow-theme="retail"] .armory-topbar .search-panel { width:100%; min-width:0; padding:8px; margin:0; border-radius:8px; gap:6px; }
  html[data-wow-theme="retail"] .search-panel__content { display:grid; grid-template-columns:minmax(0,1fr); gap:6px; }
  html[data-wow-theme="retail"] .search-panel__divider { display:none; }
  html[data-wow-theme="retail"] .search-panel__group { margin:0; padding:0; }
  html[data-wow-theme="retail"] .search-panel__group legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  html[data-wow-theme="retail"] .region-choices { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
  html[data-wow-theme="retail"] .armory-topbar .region-choice span,html[data-wow-theme="retail"] .armory-topbar .search-panel__tab { min-height:40px; padding:7px 5px; font-size:12px; }
  html[data-wow-theme="retail"] .search-panel__panels { min-width:0; }
  html[data-wow-theme="retail"] .search-panel__row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:7px; align-items:end; }
  html[data-wow-theme="retail"] .search-panel__row > label { min-width:0; gap:4px; font-size:11px; }
  html[data-wow-theme="retail"] .armory-topbar .search-panel input { box-sizing:border-box; width:100%; min-width:0; min-height:42px; padding:8px; font-size:16px; }
  html[data-wow-theme="retail"] .search-panel__actions { grid-column:1/-1; }
  html[data-wow-theme="retail"] .armory-topbar .search-submit { width:100%; min-height:44px; padding:8px; font-size:13px; }
  html[data-wow-theme="retail"] .topbar-recent-reviews { display:none !important; }
  html[data-wow-theme="retail"] .search-panel__favorites.is-empty { display:none; }
  html[data-wow-theme="retail"] .addon-announcement { position:static; inset:auto; width:calc(100% - 16px); max-width:700px; box-sizing:border-box; margin:18px auto; grid-template-columns:minmax(0,1fr) 36px; grid-template-areas:"copy close" "actions close"; padding:12px; border-radius:8px; box-shadow:none; animation:none; }
  html[data-wow-theme="retail"] .addon-announcement__media { display:none; }
  html[data-wow-theme="retail"] .addon-announcement__copy span { display:none; }
  html[data-wow-theme="retail"] .addon-announcement__close { min-width:36px; min-height:36px; }
  html[data-wow-theme="retail"] .addon-announcement__actions { flex-wrap:wrap; }
  html[data-wow-theme="retail"] .addon-announcement__action { min-height:36px; display:inline-flex; align-items:center; }
  html[data-wow-theme="retail"] .equipment-item .eq-name { white-space:normal; overflow:visible; text-overflow:clip; font-size:14px; line-height:1.4; }
  html[data-wow-theme="retail"] .equipment-item .eq-slot-center { min-width:0; }
  html[data-wow-theme="retail"] .equipment-item [data-bis-trigger] { min-width:40px; min-height:40px; }
  html[data-wow-theme="retail"] .site-footer { margin-top:18px; padding-top:18px; }
  html[data-wow-theme="retail"] .site-footer__section-title { font-size:12px; }
  html[data-wow-theme="retail"] .site-footer__stats { gap:10px; padding-block:14px; }
  html[data-wow-theme="retail"] .site-footer__sources { padding-block:14px; }
  html[data-wow-theme="retail"] .site-footer__bottom { gap:10px; padding-block:14px; }
  html[data-wow-theme="retail"] :is(button,a,input,select):focus-visible { outline:2px solid #c69aff; outline-offset:2px; }
}
@media(max-width:900px) and (orientation:landscape) {
  html[data-wow-theme="retail"] .armory-topbar { grid-template-columns:70px minmax(0,1fr); align-items:center; }
  html[data-wow-theme="retail"] .armory-topbar .armory-patch-logo { width:65px; height:65px; max-height:65px; }
  html[data-wow-theme="retail"] .search-panel__content { grid-template-columns:minmax(100px,1fr) minmax(0,2fr); }
  html[data-wow-theme="retail"] .search-panel__tabs-shell { grid-column:2; grid-row:1; }
  html[data-wow-theme="retail"] .search-panel__panels { grid-column:1/-1; }
  html[data-wow-theme="retail"] .search-panel__row { grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto !important; }
  html[data-wow-theme="retail"] .search-panel__actions { grid-column:3; }
}

@media(max-width:900px) {
  html[data-wow-theme="retail"] .armory-topbar .search-panel { display:block; grid-template-columns:none; }
  html[data-wow-theme="retail"] .armory-topbar .search-panel__content { width:100%; min-width:0; }
  html[data-wow-theme="retail"] .armory-topbar .search-panel__favorites:not([hidden]) { margin-top:10px; }
  html[data-wow-theme="retail"] .site-footer__main { gap:16px; padding-block:12px; }
  html[data-wow-theme="retail"] .site-footer__brand { gap:10px; padding:0 0 12px; }
  html[data-wow-theme="retail"] .site-footer__copy { margin:0; font-size:12px; line-height:1.5; }
  html[data-wow-theme="retail"] .site-footer__identity { gap:8px; }
  html[data-wow-theme="retail"] .site-footer__crest { width:30px; height:30px; }
  html[data-wow-theme="retail"] .site-footer__logo { font-size:20px; }
}

@media(max-width:900px) {
  html[data-wow-theme="retail"] .wow-version-switcher button span { max-width:100%; white-space:normal; overflow-wrap:anywhere; line-height:1.2; text-align:center; }
  html[data-wow-theme="retail"] :is(.home-section,.recent-characters,.home-wowhead-news,.home-addon-card) { min-width:0; max-width:100%; box-sizing:border-box; }
  html[data-wow-theme="retail"] .recent-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); }
  html[data-wow-theme="retail"] .home-hero { grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); }
}
