/* ==========================================================
   sirgijoe.com bar on top of every arcade + game page.
   Same brand as the main site (olive, brass, Cinzel wordmark, chevron shield)
   so the arcade feels like a room in the same house.
   ========================================================== */
.sgj-bar {
  position: relative; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 0 max(16px, env(safe-area-inset-left));
  min-height: 52px;
  background: #1C2416;
  background-image:
    linear-gradient(180deg, rgba(227, 199, 122, .06), transparent),
    repeating-linear-gradient(45deg, rgba(227, 199, 122, .035) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(227, 199, 122, .035) 0 1px, transparent 1px 14px);
  border-bottom: 1px solid rgba(227, 199, 122, .28);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.sgj-bar a { text-decoration: none; }
.sgj-brand { display: inline-flex; align-items: center; gap: 9px; color: #E3C77A; flex: none; }
.sgj-brand svg { display: block; }
.sgj-brand span { font: 700 19px/1 "Cinzel Decorative", Cinzel, Georgia, serif; letter-spacing: .02em; color: #F6F4EC; }
.sgj-links {
  display: flex; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sgj-links::-webkit-scrollbar { display: none; }
.sgj-links a {
  display: block; white-space: nowrap; padding: 7px 11px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: #d9d4bf; transition: color .15s, background .15s;
}
.sgj-links a:hover, .sgj-links a:focus-visible { color: #F6F4EC; background: rgba(227, 199, 122, .12); }
.sgj-links a[aria-current] { color: #1C2416; background: #E3C77A; font-weight: 600; }
@media (max-width: 640px) {
  .sgj-bar { gap: 10px; min-height: 46px; }
  .sgj-brand span { font-size: 16px; }
  .sgj-brand svg { width: 22px; height: 26px; }
  .sgj-links a { padding: 6px 8px; font-size: 13px; }
  .sgj-links .sgj-hide-sm { display: none; }
}

/* Arcade footer, shared by the hub and every game */
.arcade-foot {
  border-top: 1px solid rgba(227, 199, 122, .22);
  background: #1C2416;
  color: #cfc9b2;
  font: 14px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding: 22px 16px 26px;
}
.arcade-foot .inner { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.arcade-foot .tag { color: #E3C77A; font-weight: 600; }
.arcade-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.arcade-foot a { color: #F6F4EC; text-decoration: none; }
.arcade-foot a:hover { color: #E3C77A; text-decoration: underline; }
@media (max-width: 640px) {
  .arcade-foot .inner { justify-content: center; text-align: center; }
  .arcade-foot nav { justify-content: center; }
}
