/* V1.1: additions scoped away from the cube, game and carousel geometry. */
.categoryAnchor{position:absolute;left:0;top:0;width:148px;height:86px;pointer-events:auto}
.categories{position:absolute;inset:0;width:100%;height:86px;display:grid;place-items:center start;background:none;border:0;padding:0 8px;transition:opacity .25s ease;touch-action:manipulation}
/* Same filter as Partners. Source is the supplied black transparent PNG. Its
   full ascender/descender height is respected: no crop, stretch or re-lettering. */
.categories img{width:94px;height:auto;opacity:.86;filter:invert(1) brightness(1.7) drop-shadow(0 0 10px rgba(255,255,255,.08)) drop-shadow(4px 4px 0 rgba(244,219,49,.20)) drop-shadow(-2px 2px 0 rgba(255,74,189,.18)) drop-shadow(2px -2px 0 rgba(47,124,255,.18))}
.categoryAnchor.expanded .categories{opacity:0;pointer-events:none}
.categoryPopover{position:absolute;inset:0;width:100%;height:86px;background:transparent;border:0;padding:0}
.compactNames{height:86px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;touch-action:pan-y;-webkit-overflow-scrolling:touch;mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 78%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 78%,transparent 100%);padding:22px 3px;scroll-snap-type:y proximity}
.compactNames::-webkit-scrollbar{display:none}
.compactNames button{display:block;width:100%;min-height:36px;padding:5px 6px;text-align:left;scroll-snap-align:center;color:#f6f7fa;background:transparent;border:0;font-size:13px;letter-spacing:.04em;line-height:1.5;overflow-wrap:anywhere;touch-action:pan-y}
.compactNames button[aria-pressed=true]{color:#f1edcb;text-shadow:0 0 10px #a2e0df65}
.compactNames .categoryBack{font-size:10px;letter-spacing:.02em;color:#aeb7c0}
.categoryPopover[hidden],#languageChoices[hidden]{display:none!important}
.categoryTrail{position:absolute;top:-29px;left:50%;transform:translateX(-50%);max-width:70vw;padding:0 12px;min-height:28px;background:none;border:0;color:#aab2bb;font-size:9px;letter-spacing:.09em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:2}
.srOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#rail{transition:opacity 180ms ease}
#rail.catalogChanging{opacity:0;pointer-events:none}
/* The existing top area has free margins. These controls do not affect flow. */
.app>.takeBreak{top:calc(env(safe-area-inset-top,0px) + 52px)!important;left:calc(env(safe-area-inset-left,0px) + 10px)!important;height:44px!important;min-width:86px!important;max-width:86px!important;width:86px!important;padding:0 4px!important;z-index:19}
.app>.takeBreak img{width:78px!important;height:auto!important;opacity:.66!important}
.languageWidget{position:absolute;right:calc(env(safe-area-inset-right,0px) + 10px);top:calc(env(safe-area-inset-top,0px) + 52px);z-index:19;color:#e4e6e9}
#languageToggle{display:flex;gap:5px;align-items:center;justify-content:center;min-width:55px;min-height:44px;border:1px solid #ffffff1a;border-radius:24px;background:#11182055;color:inherit;font-size:10px;letter-spacing:.06em;padding:8px;touch-action:manipulation}
#languageChoices{position:absolute;right:0;top:47px;min-width:114px;padding:5px;background:#11151bf2;border:1px solid #ffffff24;border-radius:15px;box-shadow:0 12px 28px #0006}
#languageChoices button{display:block;width:100%;min-height:44px;text-align:left;background:none;border:0;color:inherit;font-size:12px;padding:9px}
#languageChoices button[aria-pressed=true]{color:#eee8bf}
.translationFields{margin:10px 0 18px;border-left:1px solid #ffffff25;padding-left:12px}
.translationFields summary{font-size:12px;color:#b5bac4;cursor:pointer;padding:8px 0}
.taxonomyEditor{margin-bottom:20px;border:1px solid #ffffff1c;border-radius:12px;padding:12px}
.taxonomyEditor>summary{cursor:pointer;padding:6px;font-size:13px}
.taxonomyProject{border-top:1px solid #ffffff1a;padding:10px 0}
#adminLayer .classification{padding-bottom:12px}
@media(min-width:601px){.categories img{width:102px}}
@media(max-width:600px){.categoryAnchor,.categories,.categoryPopover,.compactNames{height:84px}.compactNames button{font-size:12px}.categories{padding-left:3px}.categoryAnchor{width:138px}}
@media(prefers-reduced-motion:reduce){#rail{transition-duration:1ms}.categories{transition-duration:1ms}}
