/* Keystone shared top menu bar — Calibri with the chrome finish (Dustin 10/21/26, option E).
   Silver tabs; the open tab is chrome teal with an underline. Used on every Keystone page. */
:root{--f-script:'Great Vibes',cursive;--f-body:Calibri,Carlito,'Segoe UI',sans-serif}
/* chrome lettering */
.chrome-script{font-family:var(--f-script);font-weight:400;display:inline-block;padding:0 .18em .14em .06em;
  background:linear-gradient(180deg,#9af1fa 0%,#5fe0ef 22%,#1fb3c2 48%,#0393a6 68%,#047c8c 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  filter:drop-shadow(1px 0 0 #e4eef1) drop-shadow(0 1px 0 #a9b6bc) drop-shadow(1px 2px 2.5px rgba(0,0,0,.42))}
.chrome-sans,.silver-sans{font-family:var(--f-body);font-weight:700;display:inline-block;
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.chrome-sans{background-image:linear-gradient(180deg,#9af1fa 0%,#5fe0ef 30%,#1fb3c2 60%,#0393a6 100%);
  filter:drop-shadow(.5px 0 0 rgba(228,238,241,.7)) drop-shadow(0 1px 1px rgba(0,0,0,.55))}
.silver-sans{background-image:linear-gradient(180deg,#fff 0%,#e4e9ec 40%,#aeb8be 75%,#8e989e 100%);
  filter:drop-shadow(.5px 0 0 rgba(244,247,248,.6)) drop-shadow(0 1px 1px rgba(0,0,0,.6))}

/* top bar with chrome tabs */
.tbar{position:sticky;top:0;z-index:20;padding-top:env(safe-area-inset-top)}
.tbar-in{max-width:1240px;margin:0 auto;padding:6px max(16px,env(safe-area-inset-right)) 6px max(16px,env(safe-area-inset-left));display:flex;align-items:center;gap:8px 24px;flex-wrap:wrap}
.tb-word{display:flex;align-items:center;min-height:52px;text-decoration:none}
.tb-word img{height:36px;width:auto;display:block}
.tabs{display:flex;gap:4px;flex:1 1 420px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tabs::-webkit-scrollbar{display:none}
.tab{flex:0 0 auto;display:flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:8px;text-decoration:none;font-size:16px;letter-spacing:.02em}
.tab:hover{background:#2c3135}
.tab.on{background:#2c3135;box-shadow:inset 0 -3px 0 #1fb3c2}

.tbar .bar-btns{margin-left:auto;display:flex;gap:6px}
@media (max-width:760px){
  .tbar-in{gap:2px 12px;padding:4px 12px 2px}
  .tabs{order:3;flex:1 1 100%;margin:0 -6px}
  .tab{padding:6px 10px;font-size:15px}
}

/* kh-1.28: on laptop and desktop widths the tabs wrap to a second row instead of scrolling out of sight,
   so the last tab (Console) is never hidden past the edge. Phones keep the swipeable row. */
@media (min-width:761px){
  .tabs{flex-wrap:wrap;overflow:visible}
}

/* kh-1.29: phones sideways — tabs stay on the logo's row and the bar is shorter, so the page has room. */
@media (orientation:landscape) and (max-height:500px){
  .tbar-in{padding-top:2px;padding-bottom:2px}
  .tb-word{min-height:44px}
  .tb-word img{height:28px}
  .tbar-in{flex-wrap:nowrap}
  .tabs{flex-wrap:nowrap;overflow-x:auto;flex:1 1 auto;min-width:0}
  .tab{min-height:40px;padding:6px 10px;font-size:15px}
}
