/* V15.26: one illustrated department and its direct-access sections at a time. */
body.ulf26-department-page #root > .ceo106-subnav{display:none!important}
#ulf21-screen .ulf26-tabs{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;
}
#ulf21-screen .ulf26-tabs button{
 display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;
 min-height:92px;padding:10px 7px;border:1px solid #d5ad67;border-radius:8px;
 background:#f8e8c6;color:#102a51;font:850 14px/1.3 system-ui;
 text-align:center;cursor:pointer;overflow-wrap:anywhere;
}
#ulf21-screen .ulf26-tabs button>span:first-child{font-size:26px;line-height:1}
#ulf21-screen .ulf26-tabs button[aria-pressed="true"]{
 background:#edca7d;border-color:#8e672d;box-shadow:inset 0 0 0 2px #a87931
}
#ulf21-screen .ulf26-tabs button:focus-visible{
 outline:3px solid #fae394;outline-offset:3px
}
#ulf21-screen .ulf26-manager-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
#root main [data-ulf26-panel][hidden]{display:none!important}
@media(max-width:720px){
 #ulf21-screen .ulf26-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px}
 /* Compact illustrated section buttons: all sections remain visible,
    with touch targets above 44px and fewer rows above gameplay content. */
 #ulf21-screen .ulf26-tabs button{
  min-height:60px;flex-direction:row;justify-content:flex-start;
  text-align:left;gap:8px;padding:9px 8px;font-size:12px;
 }
 #ulf21-screen .ulf26-tabs button>span:first-child{font-size:19px;flex:0 0 22px;text-align:center}
 #ulf21-screen .ulf26-tabs .ulf26-tab-label{min-width:0;overflow-wrap:anywhere}
 #ulf21-screen .ulf26-manager-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){#ulf21-screen .ulf26-tabs *{animation:none!important;transition:none!important}}

/* Art spaces are visual-only: no placeholder words, no interaction, no game data.
   Desktop composition 3:1; mobile compositions 2:1, matching prepared WebPs. */
#ulf21-screen .ulf21-banner.ulf26-art-reserved{
 aspect-ratio:3 / 1!important;height:auto!important;min-height:0!important;
 max-height:none!important;display:block;position:relative;
 border-top:2px solid #c5a264;border-bottom:3px solid #c5a264;
 background:#0e2340;overflow:hidden
}
#ulf21-screen .ulf26-art-placeholder{
 position:absolute;inset:0;pointer-events:none;
 background:
  radial-gradient(ellipse at 82% 16%,rgba(192,154,93,.085),transparent 45%),
  linear-gradient(135deg,#112744 0%,#13243a 53%,#09192e 100%)
}
@media(max-width:720px){
 #ulf21-screen .ulf21-banner.ulf26-art-reserved{aspect-ratio:2 / 1!important}
}

/* Hold the complete illustration area even before the WebP finishes loading.
   This prevents late art loading collapsing the tabs or shifting mobile content. */
#ulf21-screen .ulf21-banner.ulf1523-native-banner{
 aspect-ratio:3 / 1!important;width:100%;min-height:0!important;
}
#ulf21-screen .ulf21-banner.ulf1523-native-banner picture{
 display:block;width:100%;height:100%;
}
#ulf21-screen .ulf21-banner.ulf1523-native-banner img{
 display:block;width:100%;height:100%!important;object-fit:cover;
}
@media(max-width:720px){
 #ulf21-screen .ulf21-banner.ulf1523-native-banner{aspect-ratio:2 / 1!important}
}

/* Next patch: original vector subtab icons and more meaningful colour hierarchy. */
#ulf21-screen .ulf26-tabs .ulf26-tab-glyph{display:inline-flex;align-items:center;justify-content:center;
 flex:0 0 28px;width:28px;height:28px;border-radius:6px;background:#dbe6eb;color:#244665}
#ulf21-screen .ulf26-tabs .ulf26-svg{display:block;width:21px;height:21px}
#ulf21-screen .ulf26-tabs button[data-ulf26-tone="action"]{background:#fff0d2;border-color:#b38230;color:#163254}
#ulf21-screen .ulf26-tabs button[data-ulf26-tone="action"] .ulf26-tab-glyph{background:#f5d79e;color:#805210}
#ulf21-screen .ulf26-tabs button[data-ulf26-tone="development"]{background:#e6f2eb;border-color:#648f71;color:#174338}
#ulf21-screen .ulf26-tabs button[data-ulf26-tone="development"] .ulf26-tab-glyph{background:#c2dfcc;color:#255943}
#ulf21-screen .ulf26-tabs button[data-ulf26-tone][aria-pressed="true"]{
 background:#112f56;border-color:#ffe4a2;color:#ffedbf;box-shadow:inset 0 0 0 2px #cda45c}
#ulf21-screen .ulf26-tabs button[aria-pressed="true"] .ulf26-tab-glyph{background:#f0d08f;color:#112d4b}
@media(max-width:720px){#ulf21-screen .ulf26-tabs .ulf26-tab-glyph{flex:0 0 24px;width:24px;height:24px}#ulf21-screen .ulf26-tabs .ulf26-svg{width:19px;height:19px}}
