/* Spilled's tea-party palette, restricted to its own game header. */
body.is-spilled-game-view .site-header {
  --ink: #3f5448;
  --menu-surface: linear-gradient(160deg, #fffdf5, #f1eedf);
  --menu-border: #b5a779;
  --menu-ink: #3f5448;
  --menu-muted: #657264;
  --menu-hover: #e2e7d7;
  --menu-active: #d6dfcb;
  --menu-focus: #4c6754;
  --menu-shadow: inset 0 1px 0 #fffdf7, 0 3px 0 rgba(90, 94, 66, 0.12), 0 12px 24px rgba(54, 72, 58, 0.16);
}

body.is-spilled-game-view .site-header :is(.main-tab, .account-link) {
  border-color: #b5a779;
  background: linear-gradient(180deg, #fffdf4, #eeecdc);
  color: #3f5448;
  text-shadow: none;
  box-shadow: inset 0 1px 0 #fffef8, 0 2px 0 rgba(122, 112, 78, 0.22), 0 6px 14px rgba(67, 83, 65, 0.12);
}

body.is-spilled-game-view .site-header :is(.main-tab, .account-link):hover {
  border-color: #90956f;
  background: linear-gradient(180deg, #f3f4e8, #dce4d1);
  color: #354d3d;
}

body.is-spilled-game-view .site-header :is(.main-tab.is-active, .main-menu.is-open > .main-tab, .shows-menu[open] > .main-tab, .account-menu[open] > .account-link) {
  border-color: #a69a69;
  background: linear-gradient(180deg, #617760, #435b49);
  color: #fff9e7;
  box-shadow: inset 0 1px 0 rgba(242, 239, 203, 0.4), 0 2px 0 rgba(53, 72, 57, 0.3), 0 6px 14px rgba(54, 72, 58, 0.16);
}

/* Override the shared dropdown palette even when shows-menu.css loads later. */
body.is-spilled-game-view .site-header .main-tabs .shows-menu {
  --menu-surface: inherit;
  --menu-border: inherit;
  --menu-ink: inherit;
  --menu-muted: inherit;
  --menu-hover: inherit;
  --menu-active: inherit;
  --menu-focus: inherit;
  --menu-shadow: inherit;
}

body.is-spilled-game-view .site-header :is(.account-dropdown, .shows-menu-panel, .show-menu-panel) {
  border-color: var(--menu-border);
  background: var(--menu-surface);
  color: var(--menu-ink);
  box-shadow: var(--menu-shadow);
}

body.is-spilled-game-view .site-header :is(.account-dropdown, .shows-menu-panel, .show-menu-panel) :is(a, button) {
  color: var(--menu-ink);
  text-shadow: none;
}

body.is-spilled-game-view .site-header :is(.account-dropdown, .shows-menu-panel, .show-menu-panel) :is(a, button):is(:hover, :focus-visible) {
  background: var(--menu-hover);
}

body.is-spilled-game-view .site-header :is(.main-tab, .account-link, .message-link, .account-dropdown a, .account-dropdown button, .shows-menu-panel a):focus-visible {
  outline: 2px solid var(--menu-focus);
  outline-offset: 3px;
}

body.is-spilled-game-view .site-header :is(.profile-avatar-thumb, .profile-initials) {
  border-color: #b5a779;
  background: #f7f2df;
  color: #3f5448;
}
