/* The Good Luck Cats' game bar: fonts and colours (r27i). Loaded only by the cats pages. Fonts: SIL Open Font Licence. */
@font-face{font-family:'DM Sans';font-weight:100 1000;font-style:normal;font-display:swap;src:url(glc-fonts/dm-sans-latin.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Mono';font-weight:500;font-style:normal;font-display:swap;src:url(glc-fonts/ibm-plex-mono-500-latin.woff2) format('woff2')}
/* r27i (23 Nov 2026), approved by Mounir (font and colour only): the site team's mock C for the game bar.
   Colours, fonts, the buttons and the active tab change; the layout, sizes and the five tabs do not. */
.mg-top{background:rgba(6,13,34,.92)!important;border-bottom:1px solid rgba(43,74,150,.33)!important;font-family:'DM Sans',system-ui,sans-serif!important}
.mg-tabs button{font-family:'DM Sans',system-ui,sans-serif!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:#ece6d6!important}
.mg-tabs button:hover{background:rgba(255,255,255,.07)!important}
.mg-tabs button.is-on{color:#f3cd72!important;border-color:#d9a845!important}
@media (min-width:701px){.mg-tabs button.is-on{background:transparent!important;box-shadow:inset 0 -2px 0 #d9a845!important}}
.mg-tool{background:transparent!important;border-color:rgba(255,255,255,.13)!important;color:#ece6d6!important;font-family:'DM Sans',system-ui,sans-serif!important}
.mg-tool:hover{background:rgba(255,255,255,.07)!important}
.mg-name, .mg-you b, .mg-rk b{font-family:'DM Sans',system-ui,sans-serif!important;color:#ece6d6!important}
.mg-bar{background:#0a1532!important;border-bottom:1px solid rgba(43,74,150,.33)!important}
.mg-bar small{font-family:'IBM Plex Mono',ui-monospace,monospace!important;letter-spacing:.02em!important;font-size:.82em!important;color:#b4bdd6!important}
.mg-bar b, .mg-bar .mg-count{font-family:'DM Sans',system-ui,sans-serif!important;font-weight:600!important;color:#ead8ad!important}
.mg-subtabs{background:rgba(19,38,92,.35)!important;border-color:rgba(43,74,150,.33)!important}
.mg-subtabs button{font-family:'DM Sans',system-ui,sans-serif!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:#ece6d6!important;background:transparent!important;border:1.5px solid rgba(43,74,150,.55)!important;border-radius:999px!important}
.mg-subtabs button.is-on{background:linear-gradient(180deg,#f3cd72,#d9a845)!important;color:#1b1406!important;border-color:transparent!important;box-shadow:0 6px 22px rgba(217,168,69,.25)!important}

/* r27j (23 Nov 2026): option B, approved by Mounir ("ok b. done"): the site team's mock B layout, on the cats pages that show the hunt strip */
.mg-app.mg-hashunt .mg-bar,.mg-app.mg-hashunt .mg-hunt{padding-inline:16px!important}
.mg-app.mg-hashunt .mg-bar{min-height:38px!important;gap:18px!important;align-items:center!important}
.mg-app.mg-hashunt .mg-hunt{background:#0f1d47!important;border-bottom:1px solid rgba(43,74,150,.33)!important;border-top:0!important;color:#ece6d6!important;min-height:40px!important;gap:10px!important;align-items:center!important}
.mg-app.mg-hashunt .mg-hunt-k{font-family:'IBM Plex Mono',ui-monospace,monospace!important;font-weight:500!important;letter-spacing:.08em!important;font-size:.78rem!important;color:#d9a845!important;flex:none!important}
.mg-app.mg-hashunt .mg-hunt-t{font-family:'DM Sans',system-ui,sans-serif!important;color:#b4bdd6!important;font-size:.86rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;min-width:0!important;flex:1 1 auto!important}
.mg-app.mg-hashunt .mg-hunt-n{font-family:'IBM Plex Mono',ui-monospace,monospace!important;font-size:.74rem!important;letter-spacing:.04em!important;color:#b4bdd6!important;background:transparent!important;border:1px solid rgba(43,74,150,.7)!important;border-radius:999px!important;flex:none!important}
.mg-app.mg-hashunt .mg-hunt-n b{font-family:'DM Sans',system-ui,sans-serif!important;font-weight:600!important;color:#ead8ad!important}
.mg-app.mg-hashunt .mg-subtabs{min-height:52px!important;align-items:center!important}
.mg-app.mg-hashunt{grid-template-columns:max-content minmax(0,1fr) max-content!important;grid-template-rows:auto auto minmax(0,1fr)!important;
  grid-template-areas:"top top top" "sub hunt bar" "pane pane pane"!important;column-gap:12px!important}
.mg-app.mg-hashunt .mg-top{grid-area:top!important}
.mg-app.mg-hashunt .mg-subtabs{grid-area:sub!important;width:max-content!important;gap:8px!important;border:0!important;background:transparent!important;min-height:56px!important;padding-inline:16px 8px!important;justify-content:flex-start!important}
.mg-app.mg-hashunt .mg-hunt{grid-area:hunt!important;gap:8px!important;background:transparent!important;border:0!important;justify-content:flex-end!important;min-height:56px!important;padding-inline:8px!important;min-width:0!important}
.mg-app.mg-hashunt .mg-hunt-t{display:none!important}
.mg-app.mg-hashunt .mg-bar{grid-area:bar!important;background:transparent!important;border:0!important;min-height:56px!important;padding-inline:8px 16px!important}
.mg-app.mg-hashunt>.mg-pane,.mg-app.mg-hashunt>.mg-sheet{grid-area:pane!important;top:0!important;border-top:1px solid rgba(43,74,150,.33)!important}
@media (max-width:700px){
.mg-app.mg-hashunt{grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto auto minmax(0,1fr)!important;
    grid-template-areas:"top top" "bar bar" "hunt sub" "pane pane"!important}
.mg-app.mg-hashunt .mg-bar{background:#0a1532!important;border-bottom:1px solid rgba(43,74,150,.33)!important;min-height:40px!important;padding-inline:16px!important;flex-wrap:nowrap!important;overflow-x:auto!important}
.mg-app.mg-hashunt .mg-hunt{justify-content:flex-start!important;min-height:52px!important;padding-inline:16px 4px!important}
.mg-app.mg-hashunt .mg-hunt-n{display:none!important}
.mg-app.mg-hashunt .mg-hunt-k{border:1px solid rgba(43,74,150,.7)!important;border-radius:999px!important;padding:.45em .8em!important;white-space:nowrap!important}
.mg-app.mg-hashunt .mg-hunt-k::after{content:" ›"}
.mg-app.mg-hashunt .mg-subtabs{min-height:52px!important;padding-inline:4px 16px!important;overflow-x:auto!important;flex-wrap:nowrap!important}
.mg-app.mg-hashunt .mg-subtabs button{flex:none!important}
}
.mg-app.mg-hashunt .mg-bar small,.mg-app.mg-hashunt .mg-bar b,.mg-app.mg-hashunt .mg-count{white-space:nowrap!important}
@media (min-width:701px){
.mg-app.mg-hashunt .mg-hunt{flex-wrap:nowrap!important}
}
@media (max-width:700px){
.mg-app.mg-hashunt .mg-bar{gap:10px!important;padding-inline:12px!important}
.mg-app.mg-hashunt .mg-bar small{letter-spacing:0!important}
}
@media (min-width:701px){
.mg-app.mg-hashunt .mg-subtabs{padding-inline-end:36px!important}
.mg-app.mg-hashunt .mg-hunt{padding-inline-start:0!important}
}
.mg-app.mg-hashunt>.mg-hunt,.mg-app.mg-hashunt>.mg-bar,.mg-app.mg-hashunt>.mg-subtabs{background:transparent!important;border:0!important}
@media (min-width:701px){
.mg-app.mg-hashunt>.mg-hunt{margin-inline-start:56px!important}
}
@media (max-width:700px){
.mg-app.mg-hashunt>.mg-bar{background:#0a1532!important;border-bottom:1px solid rgba(43,74,150,.33)!important}
}
@media (min-width:701px){
.mg-app.mg-hashunt>.mg-hunt{gap:6px!important;margin-inline-start:24px!important;overflow:hidden!important}
.mg-app.mg-hashunt>.mg-hunt .mg-hunt-n{font-size:.68rem!important;letter-spacing:0!important;padding:.3em .6em!important}
.mg-app.mg-hashunt>.mg-bar{gap:12px!important;margin-inline-start:12px!important}
}

/* r27j fixes (Atlas, 23 Nov 2026) */
.mg-app.mg-hashunt .mg-hunt-more{display:contents}
.mg-app.mg-hashunt .mg-hunt-main,.mg-app.mg-hashunt .mg-hunt-souls{display:none}
.mg-app.mg-hashunt .mg-hunt-k{cursor:help;text-decoration:underline dotted rgba(217,168,69,.6);text-underline-offset:4px}
@media (min-width:701px){
  .mg-app.mg-hashunt>.mg-hunt{position:relative;overflow:visible!important}
  .mg-app.mg-hashunt .mg-hunt-t{display:none!important;position:absolute;top:calc(100% - 6px);inset-inline-start:0;z-index:60;width:max-content;max-width:min(560px,80vw);white-space:normal!important;overflow:visible!important;
    background:#0f1d47;border:1px solid rgba(43,74,150,.7);border-radius:8px;padding:8px 12px;box-shadow:0 14px 30px rgba(0,0,0,.45);font-size:.88rem!important;color:#ece6d6!important}
  .mg-app.mg-hashunt .mg-hunt-k:hover~.mg-hunt-more .mg-hunt-t,.mg-app.mg-hashunt .mg-hunt-k:hover~.mg-hunt-t,.mg-app.mg-hashunt .mg-hunt-k:focus-visible~.mg-hunt-more .mg-hunt-t{display:block!important}
}
@media (max-width:700px){
  .mg-app.mg-hashunt .mg-hunt-main{display:inline}
  .mg-app.mg-hashunt>.mg-hunt{position:relative}
  .mg-app.mg-hashunt>.mg-hunt>.mg-hunt-more{display:none;position:absolute;top:calc(100% - 4px);inset-inline-start:12px;z-index:60;width:calc(100vw - 24px);flex-wrap:wrap;gap:8px;
    background:#0f1d47;border:1px solid rgba(43,74,150,.7);border-radius:10px;padding:12px;box-shadow:0 16px 34px rgba(0,0,0,.5)}
  .mg-app.mg-hashunt>.mg-hunt.is-open>.mg-hunt-more{display:flex}
  .mg-app.mg-hashunt>.mg-hunt.is-open .mg-hunt-n{display:inline-flex!important}
  .mg-app.mg-hashunt>.mg-hunt.is-open .mg-hunt-t{display:block!important;flex-basis:100%;white-space:normal!important;overflow:visible!important;color:#ece6d6!important}
  .mg-app.mg-hashunt>.mg-hunt.is-open .mg-hunt-souls{display:inline-block;flex-basis:100%;color:#f3cd72;font-weight:600}
  .mg-app.mg-hashunt .mg-subtabs{position:relative;width:auto!important;min-width:0!important;max-width:100%}   /* fits its cell and scrolls: no tab past the screen's edge */
  .mg-app.mg-hashunt .mg-subtabs.is-more::after{content:"\203A";position:sticky;inset-inline-end:0;flex:none;align-self:stretch;display:flex;align-items:center;padding-inline:14px 6px;
    margin-inline-start:-34px;color:#f3cd72;font:700 1.3rem/1 'DM Sans',system-ui,sans-serif;background:linear-gradient(to right,rgba(6,13,34,0),#060d22 55%)}
  [dir=rtl] .mg-app.mg-hashunt .mg-subtabs.is-more::after{content:"\2039";background:linear-gradient(to left,rgba(6,13,34,0),#060d22 55%)}
}

/* r27l (23 Nov 2026): the hunt strip is information. No pointer, no hover; only the label is a control */
.mg-app.mg-hashunt>.mg-hunt{cursor:default}
.mg-app.mg-hashunt>.mg-hunt .mg-hunt-n,.mg-app.mg-hashunt>.mg-hunt .mg-hunt-pack,.mg-app.mg-hashunt>.mg-hunt .mg-hunt-t{cursor:default;user-select:text}
.mg-app.mg-hashunt .mg-hunt-k{background:none;border:0;padding:0;color:inherit;font:inherit;line-height:inherit}
.mg-app.mg-hashunt .mg-hunt-souls{cursor:pointer}
@media (max-width:700px){.mg-app.mg-hashunt .mg-hunt-k{cursor:pointer}}
/* r27q (23 Nov 2026): a wide panel stays centred (the rule above pins side panels to the top) */
.mg-app.mg-hashunt.mg-wide-on>.mg-sheet:not([hidden]){top:50%!important}
/* r27s (23 Nov 2026): the top bar's popovers above an open wide panel (103) and a light box (104) */
.mg-app.mg-hashunt .mg-sndbox,.mg-app.mg-hashunt .mg-youmenu{z-index:106}
