@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* Shared PUB identity only. Page families own their layouts, semantic status
   colors and event artwork; never import the landing page's animation here. */
:root {
  --pub-bg: #10110d;
  --pub-surface: #191b13;
  --pub-surface-raised: #22251a;
  --pub-yellow: #fff12e;
  --pub-text: #f3f0dc;
  --pub-muted: #b5b7a3;
  --pub-line: #6f70434d;
  --pub-danger: #ff9b90;
  --pub-success: #abd698;
  --pub-font-display: 'Barlow Condensed', sans-serif;
  --pub-font-body: 'DM Sans', sans-serif;
  --pub-radius: 12px;
}

/* Explicit classes let independently themed event pages share PUB chrome
   without recoloring saved tournament themes, flyers, or judging indicators. */
header.pub-masthead, nav.pub-event-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  min-height: 80px;
  padding: 16px 0;
  border-bottom: 1px solid var(--pub-line);
  color: var(--pub-text);
  font-family: var(--pub-font-body);
}
a.pub-brand, .pub-masthead a.pub-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--pub-yellow);
  font: 800 31px/.95 var(--pub-font-display);
  letter-spacing: -.02em;
  text-decoration: none;
}
.pub-brand img.pub-site-logo {
  display: block;
  width: 43px;
  height: 43px;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: screen;
}
.pub-brand small {
  display: block;
  margin-top: 5px;
  color: var(--pub-muted);
  font: 500 8px/1.4 var(--pub-font-body);
  text-transform: uppercase;
  letter-spacing: .13em;
}
.pub-destinations, .pub-masthead .pub-destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  align-items: center;
  min-width: 0;
}
.pub-destinations a, .pub-event-bar a:not(.pub-brand) {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--pub-muted);
  font: 500 12px/1.4 var(--pub-font-body);
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
}
.pub-destinations a:hover, .pub-destinations a[aria-current="page"] {
  color: var(--pub-yellow);
}
.pub-masthead :focus-visible, .pub-event-bar :focus-visible {
  outline: 3px solid var(--pub-yellow);
  outline-offset: 4px;
}
.pub-masthead .head-actions { margin-left: auto; }
nav.pub-event-bar {
  position: relative;
  z-index: 15;
  padding: 12px clamp(18px, 4vw, 64px);
  background: #10110df2;
}
@media (max-width: 800px) {
  .pub-masthead .pub-destinations { order: 3; flex: 1 0 100%; gap: 3px 17px; }
  nav.pub-event-bar .pub-destinations { width: 100%; gap: 3px 16px; }
  a.pub-brand, .pub-masthead a.pub-brand { font-size: 28px; }
}
