/* Shared site navigation, scoped away from the game planner. */
.global-header { --pink:#ff0a78; --pink-dark:#cc005a; --ink:#161316; --border:#ded5d9; --nav-panel:#fffaf6; max-width:none; width:100%; margin:0; color:var(--ink); }


.global-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 120px;
  padding: 18px clamp(18px, 4vw, 52px);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 250, 246, 0.95);
  backdrop-filter: blur(10px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.global-header .brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  text-decoration: none;
}

.global-header .brand-logo {
  width: 90px;
  height: 90px;
  border: 3px solid var(--pink);
  border-radius: 50%;
  object-fit: cover;
  background: white;
}

.global-header .brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.global-header .brand-name {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.global-header .brand-tagline {
  color: var(--muted);
  font-size: 0.95rem;
}

.global-header .nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--nav-panel);
  cursor: pointer;
}

.global-header .nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
}

.global-header .site-nav {
  margin-left: auto;
}

.global-header .nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-header .nav-item {
  position: relative;
}

.global-header .nav-trigger,
.global-header .nav-link {
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.global-header .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
}

.global-header .social-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.global-header .nav-trigger:hover,
.global-header .nav-link:hover,
.global-header .social-link:hover,
.global-header .nav-item.is-open .nav-trigger,
.global-header .nav-item.is-active .nav-link {
  background: rgba(255, 10, 120, 0.08);
  color: var(--pink-dark);
}

.global-header .dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--nav-panel);
  box-shadow: 0 20px 40px rgba(44, 24, 34, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.global-header .nav-item.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.global-header .dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease;
}

.global-header .dropdown-link:hover {
  background: rgba(255, 10, 120, 0.08);
  color: var(--pink-dark);
}

.global-header .dropdown-link[aria-current="page"] {
  background: rgba(255, 10, 120, 0.12);
  color: var(--pink-dark);
  font-weight: 800;
}

.global-header .nav-link.is-disabled,
.global-header .dropdown-link.is-disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.global-header .nav-link.is-disabled:hover,
.global-header .dropdown-link.is-disabled:hover {
  background: transparent;
  color: var(--muted);
}


@media (max-width:1100px) {
 .global-header { gap:16px; padding-inline:18px; }
 .global-header .brand-logo { width:64px; height:64px; }
 .global-header .brand-name { font-size:1.4rem; }
 .global-header .brand-tagline { font-size:.8rem; }
 .global-header .nav-link { padding-inline:10px; font-size:.9rem; }
}
@media (max-width:1000px) {
 .global-header { min-height:96px; }
 .global-header .nav-toggle { display:inline-flex; margin-left:auto; padding:0; }
 .global-header .site-nav { display:none; position:absolute; top:100%; left:0; right:0; padding:16px; margin:0; background:#fffaf6; border-bottom:1px solid var(--border); box-shadow:0 16px 24px #16131612; }
 .global-header .site-nav.is-open { display:block; }
 .global-header .nav-list { flex-direction:column; align-items:stretch; gap:4px; }
 .global-header .nav-link { width:100%; padding:12px 16px; }
}
@media (max-width:420px) { .global-header .brand-tagline { display:none; } }
/* Softer game surfaces and restrained borders let the artwork lead. */
:root { --panel:#fffaf6; --panel2:#f5ede9; --line:#e1d6d5; }
body { font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.lab-header { max-width:1320px; margin:auto; padding:28px 24px 8px; }
.lab-header .brand-row { margin-bottom:16px; }
.lab-brand { font-weight:800; font-size:1.1rem; }
.lab-header h1 { font-size:clamp(1.8rem,3vw,2.6rem); margin:8px 0; }
.lab-header .intro { font-size:.95rem; }
.panel { box-shadow:0 4px 18px #16131604; }
.hero-tile { background:#f5ede9; border-color:transparent; }
.hero-tile:hover { background:#eee2df; border-color:#cc005a55; }
.hero-tile.active { background:#fff2f7; border-color:var(--orange); box-shadow:0 0 0 1px #cc005a22; }
.portrait,.hero-thumbnail { background:#e9dedc; }
.hero-tile-body { background:transparent; }
.tree-tab { background:#f5ede9; border-color:transparent; }
.tree-tab:hover { background:#eee2df; }
.tree-tab.active { background:#ede5e4; }
.game-icon { background:#252127; border:0; border-radius:5px; box-shadow:inset 0 0 0 1px #ffffff18; }
.pick-button { background:#f5ede9; border-color:var(--line); }
.pick-button:hover { background:#eee2df; }
.player-picks .pick-button { border-color:#28649b40; }
.condensed-summary { background:#f5ede9; border-color:transparent; border-top-color:#cc005a66; }
.condensed-summary.player-summary { border-top-color:#28649b66; }
.talent-choice { background:#f5ede9; border-color:transparent; }
.talent-choice:hover { background:#eee2df; }
.talent-choice.player-selected { background:#e8edf1; border-color:#28649b55; }
.talent-choice .power-info { background:transparent; border-color:#d7cacb; }
.ideal-power-info tr:nth-child(even) { background:#746c7205; }
#perfectBlueprintFit,#myBuildFit { border-left-width:2px; }
#perfectBlueprintFit { border-left-color:#cc005a55; }
#myBuildFit { border-left-color:#28649b55; }
input,select,textarea { background:#fffdfb; }
.skip-link { z-index:100; }
@media(max-width:560px) { .lab-header { padding:22px 18px 8px; } }
