.show-hub-page[data-show-slug="survivor"] {
  --show-accent: #49938e;
  --show-tint-rgb: 218, 238, 236;
  --show-surface-rgb: 246, 251, 250;
  --show-surface: #f6fbfa;
  --show-note-rgb: 73, 147, 142;
  --show-accent-dark: #285c58;
  --show-accent-soft: #e7f2f1;
  --show-hero-image: url("/assets/carryover/Assets-By-Page/Survivor/background.png");
}
/* Shared show navigation and Survivor status badges. */
.show-subtabs { display:flex; gap:8px; padding:12px 0; flex-wrap:wrap; }
.show-subtabs a { padding:10px 20px; border-radius:999px; background:#fff; color:#433b3b; font-weight:800; text-decoration:none; border:1px solid #ded9d5; }
.show-subtabs a:hover, .show-subtabs a.is-active { background:var(--show-accent, #ee2857); color:white; border-color:transparent; }
.show-subtabs a:focus-visible { outline:3px solid #315fbf; outline-offset:3px; }
.shows-directory { padding:24px; border-radius:22px; background:white; }
.shows-directory-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:20px; margin-top:24px; }
.shows-directory-grid a { padding:24px; border:1px solid #e2ded9; border-radius:18px; color:inherit; text-decoration:none; background:#fff8f2; }
.shows-directory-grid img { width:72px; height:72px; object-fit:contain; }
.show-cast-status-card.is-immune .show-cast-status-photo { border-color:#53b3cb; }
.show-cast-status-card.is-idol .show-cast-status-photo { border-color:#f1cc2b; }
.show-cast-status-badge.is-immune, .show-cast-status-key dt.is-immune { background:#53b3cb; }
.show-cast-status-badge.is-idol, .show-cast-status-key dt.is-idol { background:#f1cc2b; }

.show-hub-page[data-show-slug="survivor"] .show-cast-status-card > strong { white-space:normal; overflow:visible; line-height:1.15; }

.show-cast-status-row.has-7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.show-hub-page[data-show-slug="survivor"] .show-cast-status-card > strong {
  font-size: 0.54rem;
  overflow-wrap: anywhere;
}

/* Keep the tall Survivor palm inside the identity header. */
.show-hub-page[data-show-slug="survivor"] .show-identity-card {
  overflow: hidden;
}
.show-hub-page[data-show-slug="survivor"] .show-identity-icon {
  width: 64px;
  height: 64px;
  overflow: hidden;
}
.show-hub-page[data-show-slug="survivor"] .show-identity-icon img {
  width: 64px;
  height: 64px;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.show-hub-page[data-show-slug="survivor"] .show-hub-hero::after {
  background: linear-gradient(90deg, #49938e, #a6d7d2, #e7f2f1);
}
.show-hub-page[data-show-slug="survivor"] .topic-badge.is-strategy,
.show-hub-page[data-show-slug="survivor"] .topic-avatar-orange {
  background: #49938e;
}

/* Tribe labels stay separate from immunity, idol, and elimination badges. */
.show-cast-tribe {
  display: block;
  padding: 3px 1px;
  border-radius: 2px;
  text-align: center;
  font: 800 0.53rem/1.1 "Barlow Semi Condensed", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.show-cast-tribe.is-toka { background: #f2cd22; color: #292300; }
.show-cast-tribe.is-savu { background: #720e9e; color: #fff; }

.show-cast-placement.is-prejury { background: #656b73; color: #fff; }
.show-cast-placement.is-jury { background: #896340; color: #fff; }

.show-rankings-account { margin: 0; padding: 16px 20px; background: var(--show-accent-soft); }
.show-rankings-account a { color: var(--show-accent-dark); font-weight: 800; text-decoration: underline; }
.show-ranking-share {
  box-sizing: border-box; position: fixed; width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px); overflow: auto; padding: 28px;
  border: 3px solid white; border-radius: 20px; background: #f6fbfa; color: var(--ink);
  box-shadow: 0 24px 70px #07133f40;
}
.show-ranking-share::backdrop { background: #07133f80; backdrop-filter: blur(4px); }
.show-ranking-share h2 { margin: 10px 0; font-size: 2rem; }
.show-ranking-share p { line-height: 1.5; }
.show-ranking-share-success { color: #285c58; font-weight: 800; }
.show-ranking-share-close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.show-ranking-share blockquote { margin: 18px 0; padding: 14px; border-left: 3px solid #49938e; background: #e7f2f1; line-height: 1.5; }
.show-ranking-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.show-ranking-share-actions :is(a, button) { padding: 10px 14px; border: 1px solid #49938e; border-radius: 9px; background: #e7f2f1; color: #163e3a; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.show-ranking-share-actions a { background: #285c58; color: white; }
.show-ranking-share-link { display: grid; gap: 6px; margin-top: 20px; font-size: 0.85rem; }
.show-ranking-share-link input { width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #b8d2cf; border-radius: 6px; background: white; color: var(--ink); }
.show-ranking-share-status { margin-bottom: 0; min-height: 1.5em; font-size: 0.85rem; }
.show-ranking-share :is(button, a, input):focus-visible { outline: 3px solid #49938e; outline-offset: 3px; }

.show-poll-option-content, .show-poll-question-entities { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.show-poll-option-content { min-width: 0; padding-top: 5px; padding-bottom: 5px; }
.show-poll-option-content > span:last-child { overflow-wrap: anywhere; }
.show-poll-contestant { display: block; width: 32px; height: 32px; flex: 0 0 32px; object-fit: cover; border-radius: 5px; border: 1px solid rgba(7,19,63,0.15); }
.show-poll-tribe { display: inline-block; padding: 4px 7px; border-radius: 4px; font-size: 0.72rem; font-weight: 900; line-height: 1.2; }
.show-poll-question-entities { margin: -4px 0 16px; }
.show-poll-vote-letter, .show-poll-result-letter { color: var(--poll-letter-color, #fff); }

.show-hub-page[data-show-slug="survivor"] .show-sidebar-note {
  margin: 0 12px 12px;
  border: 1px solid rgba(7, 19, 63, 0.08);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(var(--show-note-rgb, 255, 216, 61), 0.19), rgba(255, 255, 255, 0.6));
  padding: 15px;
}

.show-hub-page[data-show-slug="survivor"] .show-cast-status {
  position: relative;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(var(--show-tint-rgb, 255, 228, 235), 0.66)),
    #fff;
  padding-bottom: 12px;
}

.show-hub-page[data-show-slug="survivor"] .show-rankings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(7, 19, 63, 0.12);
  background: linear-gradient(90deg, rgba(var(--show-tint-rgb, 255, 228, 235), 0.72), rgba(255, 255, 255, 0.74));
  padding: 18px 20px;
}

.show-hub-page[data-show-slug="survivor"] .show-rankings-grid thead th:first-child,
.show-hub-page[data-show-slug="survivor"] .show-rankings-grid tbody th {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 50px;
  min-width: 50px;
  background: var(--show-surface, #fff8fd);
  color: var(--ink);
  font: 900 0.78rem/1 "Barlow Semi Condensed", Arial, sans-serif;
}

.show-hub-page[data-show-slug="survivor"] .show-rankings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 18px;
  border-top: 1px solid rgba(7, 19, 63, 0.1);
  background: rgba(var(--show-surface-rgb, 255, 248, 253), 0.76);
  padding: 14px 18px;
}

.show-hub-page[data-show-slug="survivor"] .show-rankings-results-grid thead th:first-child,
.show-hub-page[data-show-slug="survivor"] .show-rankings-results-grid tbody th {
  position: sticky;
  left: 0;
  z-index: 3;
  width: 50px;
  min-width: 50px;
  background: var(--show-surface, #fff8fd);
  color: var(--ink);
  font: 900 0.75rem/1 "Barlow Semi Condensed", Arial, sans-serif;
}

.show-hub-page[data-show-slug="survivor"] .show-thread-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(7, 19, 63, 0.12);
  background: linear-gradient(90deg, rgba(var(--show-tint-rgb, 255, 228, 235), 0.76), rgba(255, 255, 255, 0.82));
  padding: 20px 22px;
}

.show-hub-page[data-show-slug="survivor"] .show-thread-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(7, 19, 63, 0.13);
  background: rgba(var(--show-surface-rgb, 255, 248, 253), 0.82);
  padding: 22px 16px;
  text-align: center;
}

.show-hub-page[data-show-slug="survivor"] .show-thread-reply {
  border-top: 5px solid rgba(217, 227, 255, 0.72);
  background: rgba(var(--show-surface-rgb, 255, 248, 253), 0.9);
  padding: 20px 22px 24px;
}

.show-hub-page[data-show-slug="survivor"] .show-full-reply-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(940px, calc(100vw - 28px));
  max-height: min(880px, calc(100dvh - 36px));
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 0;
  background: var(--show-surface, #fff8fd);
  box-shadow: 0 28px 80px rgba(7, 19, 63, 0.34);
  outline: 0;
}

/* Compact share card, matching the site's raised pill controls. */
.show-ranking-share-compact {
  width: min(360px, calc(100vw - 28px));
  padding: 22px;
  border: 2px solid rgba(7,19,63,.18);
  border-radius: 19px;
  background: linear-gradient(145deg, #fff, #edf6f5 65%, #e6eaff);
  box-shadow: inset 0 1px 0 #fff, 0 4px 0 rgba(7,19,63,.18), 0 16px 44px rgba(7,19,63,.22);
  font-family: "Barlow Semi Condensed", Arial, sans-serif;
}
.show-ranking-share-compact::backdrop { background: rgba(7,19,63,.3); backdrop-filter: none; }
.ranking-share-top { display: flex; align-items: center; gap: 12px; padding-right: 16px; }
.ranking-share-portraits { display: flex; flex: 0 0 auto; }
.ranking-share-portraits[hidden] { display: none; }
.ranking-share-portraits img { width: 54px; height: 64px; object-fit: cover; border: 2px solid white; border-radius: 9px; box-shadow: 0 2px 0 #102d3040; }
.ranking-share-portraits img + img { margin-left: -26px; transform: rotate(5deg); }
.show-ranking-share-compact .show-ranking-share-success { display: block; font-size: .72rem; font-weight: 800; color: #285c58; }
.show-ranking-share-compact h2 { margin: 4px 0 0; font-size: 1.65rem; font-weight: 900; line-height: 1.05; }
.show-ranking-share-compact .ranking-share-copy { margin: 17px 0; font-size: .97rem; font-weight: 600; line-height: 1.35; }
.show-ranking-share-compact .show-ranking-share-actions { gap: 7px; }
.show-ranking-share-compact .show-ranking-share-actions :is(a,button) {
  min-height: 34px; padding: 7px 14px; border: 2px solid rgba(7,19,63,.16); border-radius: 999px;
  background: linear-gradient(180deg,#fff8fd,#d9e3ff); color: #07133f;
  font: 900 .88rem/1 "Barlow Semi Condensed",Arial,sans-serif;
  text-shadow: 0 1px 0 #ffffffc7;
  box-shadow: inset 0 1px 0 #fff, 0 2px 0 #07133f29, 0 5px 10px #07133f12;
}
.show-ranking-share-compact .show-ranking-share-actions a { background: linear-gradient(180deg,#e5f5f3,#a8d2cd); }
.show-ranking-share-compact .show-ranking-share-close { top: 8px; right: 9px; width: 27px; height: 27px; padding: 0; font-size: 1.2rem; }
.show-ranking-share-compact .show-ranking-share-status:empty { display: none; }
.show-ranking-share-compact .show-ranking-share-status { margin: 12px 0 0; min-height: 0; font-size: .8rem; }
.show-ranking-share-link[hidden] { display: none; }

.show-poll-result-bar.is-unlettered { grid-template-columns: minmax(0, 1fr); }
.show-poll-result-bar.is-unlettered .show-poll-result-label { padding-left: 12px; }

/* Plain heart action: outlined until selected, with no pill surface. */
.show-thread-post-body > footer button[data-post-like] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}
.show-post-like-heart { flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.show-thread-post-body > footer button[data-post-like][aria-pressed="true"] { color: var(--show-accent-dark); }
[data-post-like][aria-pressed="true"] .show-post-like-heart { fill: currentColor; }
.show-thread-post-body > footer button[data-post-like]:focus-visible { outline: 2px solid var(--show-accent); outline-offset: 3px; }
.show-thread-post-body > footer button[data-post-like]:disabled { opacity: .6; cursor: wait; }
.show-post-like-count { font-variant-numeric: tabular-nums; }

.show-hub-page[data-show-slug="survivor"] .show-topic.is-pinned {
  background: linear-gradient(90deg, #e7f2f1, rgba(255, 255, 255, 0.42));
  box-shadow: inset 4px 0 0 #49938e;
}

.show-topic.has-topic-marker { grid-template-columns: 34px minmax(0, 1fr) auto; }
.topic-marker { position: relative; display: inline-flex; width: 28px; height: 28px; color: #8998a4; flex: none; }
.topic-marker svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.topic-marker.is-unread { color: var(--show-accent, #49938e); }
.topic-marker.is-unread svg { fill: currentColor; }
.topic-marker.is-unread .topic-marker-lines { stroke: white; }
.topic-marker i { position: absolute; width: 7px; height: 7px; background: var(--show-accent-dark, #285c58); border: 2px solid white; border-radius: 50%; right: -3px; top: -3px; }
.topic-marker-legend { display: flex; flex-wrap: wrap; gap: 14px 24px; padding: 18px; color: var(--muted); font-size: .85rem; border-top: 1px solid #e0e5ec; }
.topic-marker-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.topic-marker-legend .topic-marker { width: 22px; height: 22px; }
@media (max-width: 600px) { .show-topic.has-topic-marker { grid-template-columns: 28px minmax(0, 1fr); } .has-topic-marker .topic-stats { grid-column: 2; } }

.show-post-actions { position: relative; display: inline-block; }
.show-post-actions summary { cursor: pointer; list-style: none; color: var(--muted); padding: 6px 10px; }
.show-post-actions summary::-webkit-details-marker { display: none; }
.show-post-actions > div { position: absolute; right: 0; top: 100%; z-index: 5; min-width: 150px; padding: 6px; background: white; border: 1px solid #dbe3e5; border-radius: 8px; box-shadow: 0 5px 18px #07133f20; }
.show-thread-post-body header .show-post-actions button { display: block; width: 100%; text-align: left; padding: 10px; color: var(--ink); background: transparent; border: 0; cursor: pointer; }
.show-thread-post-body header .show-post-actions button:hover { background: var(--show-accent-soft); }
.show-deleted-post { font-style: italic; opacity: .7; }

.discussion-toolbar { flex-wrap: wrap; }
.discussion-toolbar .topic-marker-legend { padding: 0; margin: 0; border: 0; gap: 8px 14px; font: 500 12px/18px Arial, sans-serif; flex: 0 1 auto; align-items: center; }
.discussion-toolbar .topic-marker-legend > span { gap: 5px; white-space: nowrap; }
.discussion-toolbar .topic-marker-legend .topic-marker { width: 16px; height: 16px; }
.discussion-toolbar .topic-marker-legend .topic-marker i { width: 4px; height: 4px; border-width: 1px; right: -1px; top: -1px; }
.discussion-toolbar .discussion-search-control { flex: 0 0 auto; }
@media (max-width: 600px) {
  .discussion-toolbar .topic-marker-legend { flex-basis: 100%; }
  .discussion-toolbar .discussion-search-control { max-width: 100%; }
}

/* Keep the discussion board sized to its content and align each row. */
.show-hub-page[data-show-slug="survivor"] .show-community:has([data-show-panel="discussion"]:not([hidden])) { align-self: start; }
.show-hub-page[data-show-slug="survivor"] [data-show-panel="discussion"] { min-height: 0; }
.show-hub-page[data-show-slug="survivor"] .discussion-toolbar { padding: 8px 14px; gap: 8px 16px; }
.show-hub-page[data-show-slug="survivor"] .show-topic.has-topic-marker { padding: 16px 18px; column-gap: 14px; }
.show-hub-page[data-show-slug="survivor"] .has-topic-marker > .topic-marker { justify-self: center; }
.show-hub-page[data-show-slug="survivor"] .topic-flags { margin-bottom: 7px; }
.show-hub-page[data-show-slug="survivor"] .show-topic article > p { margin-top: 7px; }
.show-hub-page[data-show-slug="survivor"] .topic-byline { margin-top: 9px; }
.show-hub-page[data-show-slug="survivor"] .topic-stats { margin-left: 12px; }
@media (max-width: 600px) {
  .show-hub-page[data-show-slug="survivor"] .discussion-toolbar { padding: 12px; }
  .show-hub-page[data-show-slug="survivor"] .show-topic.has-topic-marker { padding: 14px 12px; column-gap: 10px; }
}

.show-poll-share { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; padding-top: 14px; margin-top: 14px; border-top: 1px solid #dce5e6; font-size: .85rem; }
.show-poll-share :is(a, button) { color: var(--show-accent-dark); font: inherit; font-weight: 700; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.show-poll-share :is(a, button):hover { text-decoration: underline; }
