/* Survivor palette and underlined tabs; retain live typography and tribe colors. */
body.show-hub-page[data-show-slug="survivor"] {
  background-color: #d9f3eb;
  background-image:
    linear-gradient(90deg, #087b7110 1px, transparent 1px),
    linear-gradient(0deg, #087b7110 1px, transparent 1px),
    radial-gradient(ellipse at 90% 0%, #9ee5dc80, transparent 60%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  background-position: 0 0;
}

body.show-hub-page[data-show-slug="survivor"] .site-header {
  background: transparent;
}

.show-hub-page[data-show-slug="survivor"] .show-hub-hero {
  /* Preserve the artwork's color instead of dimming the entire scene. */
  background-image: linear-gradient(90deg, #002d3538, #002d3508 65%, transparent), var(--show-hero-image);
  border-color: #fffef3;
  box-shadow: 0 10px 28px #005b5e20;
}

.show-hub-page[data-show-slug="survivor"] .show-hub-hero::after {
  background: linear-gradient(90deg, #008d8b, #65d6bb, #ffbd57);
}

.show-hub-page[data-show-slug="survivor"] :is(.show-hub-sidebar, .show-community) {
  background: #f5fff9;
  border-color: #fffef3;
  box-shadow: 0 10px 28px #005b5e18;
}

.show-hub-page[data-show-slug="survivor"] .show-identity-card {
  background: linear-gradient(115deg, #00686c, #008980);
}
.show-hub-page[data-show-slug="survivor"] .show-identity-card h2 { color: #fffef3; }
.show-hub-page[data-show-slug="survivor"] .show-identity-label { color: #ffda89; }
.show-hub-page[data-show-slug="survivor"] .show-page-moderator { background: #e2f7ee; }
.show-hub-page[data-show-slug="survivor"] .show-page-moderator > span { color: #a64b00; }
/* This one font override intentionally supersedes the saved moderator skin. */
body.show-hub-page[data-show-slug="survivor"] .show-hub-sidebar .show-page-moderator,
body.show-hub-page[data-show-slug="survivor"] .show-hub-sidebar .show-page-moderator * {
  font-family: "Barlow Semi Condensed", Arial, sans-serif !important;
}
.show-hub-page[data-show-slug="survivor"] :is(.show-cast-status, .show-daily-rankings) { background: #f1fff6; }
.show-hub-page[data-show-slug="survivor"] .show-sidebar-note { background: #fff0cb; }
.show-hub-page[data-show-slug="survivor"] .show-daily-ranking-item:nth-child(odd) { background: #e1f4e9; }

.show-hub-page[data-show-slug="survivor"] .show-community-header { background: #f5fff9; }
.show-hub-page[data-show-slug="survivor"] .show-community-eyebrow { color: #ac4b00; }
.show-hub-page[data-show-slug="survivor"] .show-section-tabs { background: #cceee3; border-color: #9dd8c8; padding: 8px 12px 0; gap: 6px; }
.show-hub-page[data-show-slug="survivor"] .show-section-tabs button {
  color: #075e60;
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 10px 16px 8px;
}
.show-hub-page[data-show-slug="survivor"] .show-section-tabs button.is-active {
  background: transparent;
  color: #00535b;
  border-bottom-color: #ffad32;
  box-shadow: none;
}
.show-hub-page[data-show-slug="survivor"] .show-section-tabs button:not(.is-active):hover { background: transparent; color: #003e45; border-bottom-color: #74bdb0; }
.show-hub-page[data-show-slug="survivor"] .show-section-tabs button:focus-visible { outline: 2px solid #bf5a00; outline-offset: -2px; }
.show-hub-page[data-show-slug="survivor"] :is(.show-panel, .show-rankings-panel) { background: #f5fff9; }
.show-hub-page[data-show-slug="survivor"] .discussion-toolbar { background: #e2f6ee; border-color: #b4dfd0; }
.show-hub-page[data-show-slug="survivor"] .show-topic { border-color: #c4e4d6; }
.show-hub-page[data-show-slug="survivor"] .show-topic.is-pinned { background: #fff2d1; box-shadow: inset 4px 0 #efa52b; }
.show-hub-page[data-show-slug="survivor"] .show-topic:hover { background: #e5f9eb; }
.show-hub-page[data-show-slug="survivor"] .discussion-search { background: #fcfff4; border-color: #6bbaa6; color: #00535b; }
.show-hub-page[data-show-slug="survivor"] .show-new-post { background: linear-gradient(#ffc85b, #ff9e28); color: #173f38; border-color: #e08923; }
.show-hub-page[data-show-slug="survivor"] .show-poll-card { background: #f5fff9; border-color: #a7dac9; }
.show-hub-page[data-show-slug="survivor"] :is(.show-rankings-header, .show-thread-heading) { background: #cfefdf; border-color: #a7dac9; }
.show-hub-page[data-show-slug="survivor"] :is(.show-rankings-footer, .show-thread-reply) { background: #e5f8ec; border-color: #a7dac9; }

/* Fit portraits to the frame's inner box without fractional transform overlap. */
.show-hub-page[data-show-slug="survivor"] .show-cast-status-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transform: none;
}
