/* Hosting pages. These follow the app's look, not the marketing site's. */

/* Modal sheets are appended to <body>, outside .host-page, so the
   hosting colors live on :root where they resolve everywhere. */
:root {
  --h-bg: #07080c;
  --h-panel: #10141c;
  --h-fact: #12151c;
  --h-line: rgba(235, 236, 239, 0.12);
  --h-gold: #c4a35a;
  --h-text: #f5f7fb;
  --h-copy: #c5cad3;
  --h-dim: #8d96a8;
  --h-muted: #a7b0c0;
  --h-red: #c45d6e;
  --h-error: #ff3d8a;
  --h-bone: #e6e8ec;
  --h-ink: #0a0b0e;
}

body:has(.host-page) {
  background: var(--h-bg);
  color: var(--h-text);
}

.host-page {
  width: min(960px, 100%);
  margin: 0 auto;
  padding: 32px 20px 80px;
  background: var(--h-bg);
  color: var(--h-text);
  font-family: var(--font-body);
}

.host-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.host-pick-grid-modes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.host-pick-grid-presets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.host-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  align-items: start;
}

.host-form-grid > .host-stack-xs,
.host-form-grid > .host-stack-sm,
.host-form-grid > .host-field {
  min-width: 0;
}

.host-pick-selected {
  color: var(--h-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.host-review-mode {
  color: var(--h-gold);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.1;
}

.host-page p,
.host-page h1,
.host-page h2 {
  margin: 0;
}

.host-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.host-stack-sm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.host-stack-xs {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.host-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.host-center {
  text-align: center;
  align-items: center;
}

/* Type */

.host-kicker {
  color: var(--h-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.host-kicker-red {
  color: var(--h-error);
}

.host-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.5px;
}

.host-title-quiet {
  font-size: clamp(26px, 4.5vw, 34px);
}

.host-heading {
  font-size: 20px;
  font-weight: 800;
}

.host-modal-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.host-copy,
.host-body {
  color: var(--h-copy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  white-space: pre-wrap;
}

.host-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.host-dim {
  color: var(--h-dim);
  font-size: 13px;
  line-height: 1.45;
}

.host-cancel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 16px;
  background: rgba(255, 46, 136, 0.1);
  border: 1.5px solid rgba(255, 46, 136, 0.55);
  text-align: center;
}

.host-cancel-count {
  margin: 0;
  color: #ffd875;
  font-size: 72px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.host-cancel-label {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.host-count-epic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 16px 20px 12px;
  border-radius: 18px;
  background: #12141c;
  border: 1.5px solid rgba(255, 216, 117, 0.75);
  box-shadow: 0 0 22px rgba(255, 61, 138, 0.35);
  text-align: center;
}

.host-count-kicker {
  margin: 0;
  color: #ff3d8a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.4px;
}

.host-count-time {
  margin: 0;
  color: #ffd875;
  font-size: 64px;
  line-height: 1.05;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.host-cancel-copy {
  margin: 4px 0 0;
  color: #d6dbe5;
  font-size: 15px;
  line-height: 1.4;
}

.host-muted {
  color: var(--h-muted);
  font-size: 15px;
}

.host-error {
  color: var(--h-error);
  font-size: 14px;
  font-weight: 600;
}

.host-amber {
  color: var(--amber, #ffc14a);
  font-size: 13px;
}

.host-accent {
  color: var(--h-gold) !important;
}

.host-here {
  color: var(--h-text);
  font-size: 16px;
  font-weight: 800;
}

.host-giant {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 1;
}

.host-say {
  color: var(--h-copy);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.host-pre {
  white-space: pre-wrap;
}

.host-label {
  color: var(--h-muted);
  font-size: 13px;
  font-weight: 700;
}

.host-extra {
  color: var(--h-copy);
  font-size: 14px;
  line-height: 1.5;
}

/* Buttons */

.host-btn,
.host-ghost,
.host-danger-btn,
.host-play,
.host-goat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.host-btn {
  background: var(--h-bone);
  color: var(--h-ink);
}

.host-btn:hover:not(:disabled) {
  background: #fff;
}

.host-ghost {
  background: transparent;
  color: var(--h-text);
  border-color: var(--h-line);
}

.host-ghost:hover:not(:disabled) {
  border-color: rgba(235, 236, 239, 0.3);
}

.host-danger,
.host-ghost.host-danger {
  color: var(--h-red);
  border-color: rgba(196, 93, 110, 0.5);
}

.host-danger-btn {
  background: rgba(196, 93, 110, 0.15);
  color: var(--h-red);
  border-color: var(--h-red);
}

.host-play {
  min-height: 60px;
  background: var(--h-gold);
  color: var(--h-ink);
  font-size: 18px;
}

.host-goat-btn {
  background: transparent;
  color: var(--h-gold);
  border-color: var(--h-gold);
}

.host-fit {
  align-self: flex-start;
}

.host-stay {
  align-self: stretch;
}

.host-btn:disabled,
.host-ghost:disabled,
.host-danger-btn:disabled,
.host-goat-btn:disabled,
.host-link:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.host-link {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--h-gold);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.host-link:hover:not(:disabled) {
  text-decoration: underline;
}

.host-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--h-line);
  background: var(--h-fact);
  color: var(--h-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.host-chip-cyan {
  border-color: rgba(196, 163, 90, 0.5);
  background: rgba(196, 163, 90, 0.12);
  color: var(--h-gold);
  cursor: default;
}

.host-options {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--h-gold);
  background: rgba(196, 163, 90, 0.12);
  color: var(--h-gold);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

/* Panels and cards */

.host-panel,
.host-card {
  padding: 18px;
  border-radius: 20px;
  background: var(--h-panel);
  border: 1px solid var(--h-line);
}

.host-start {
  border-color: rgba(196, 163, 90, 0.45);
}

.host-sheet-card {
  padding: 28px 22px;
  border-radius: 24px;
  background: var(--h-panel);
  border: 1px solid var(--h-line);
}

.host-notice {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(196, 163, 90, 0.1);
  border: 1px solid rgba(196, 163, 90, 0.35);
}

.host-notice-title {
  font-size: 18px;
  font-weight: 800;
}

.host-notice-lead {
  color: var(--h-text);
  font-size: 15px;
  font-weight: 700;
}

.host-notice-body {
  color: var(--h-copy);
  font-size: 15px;
  line-height: 1.45;
}

.host-banner {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 61, 138, 0.1);
  border: 1px solid rgba(255, 61, 138, 0.4);
  color: var(--h-text);
}

.host-hero {
  width: 100%;
  max-height: min(68vh, 520px);
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(229, 200, 120, 0.08), rgba(7, 8, 12, 0.96));
  border: 1px solid var(--h-line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.host-hero img {
  width: 100%;
  height: auto;
  max-height: min(68vh, 520px);
  object-fit: contain;
  display: block;
}

.host-team-timer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(229, 200, 120, 0.08);
  border: 1px solid rgba(229, 200, 120, 0.34);
}

.host-host-name {
  font-size: 18px;
  font-weight: 800;
  margin-top: 4px !important;
}

/* Wizard */

.host-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.host-step-count {
  color: var(--h-dim);
  font-size: 13px;
  font-weight: 700;
}

.host-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.host-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(235, 236, 239, 0.18);
}

.host-dot.on {
  background: var(--h-gold);
}

.host-fact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
}

.host-fact > .host-say + .host-say {
  margin-top: 2px;
}

.host-fact.on {
  border-color: var(--h-gold);
}

.host-pick,
.host-mode,
.host-preset,
.host-choice,
.host-result,
.host-case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--h-line);
  background: var(--h-fact);
  color: var(--h-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  position: relative;
}

.host-pick:hover,
.host-mode:hover,
.host-preset:hover,
.host-choice:hover,
.host-result:hover,
.host-case:hover {
  border-color: rgba(196, 163, 90, 0.5);
}

.host-mode.on,
.host-preset.on,
.host-choice.on,
.host-case.on,
.host-pick.on {
  border-color: var(--h-gold);
  background: rgba(196, 163, 90, 0.12);
  box-shadow: inset 4px 0 0 var(--h-gold);
}

.host-pick-grid > .host-mode.on,
.host-pick-grid > .host-preset.on {
  grid-column: 1 / -1;
}

.host-mode.off {
  opacity: 0.45;
  cursor: not-allowed;
}

.host-mode-name {
  font-size: 18px;
  font-weight: 800;
}

.host-mode-name.on,
.host-preset-title.on {
  color: var(--h-gold);
}

.host-mode-blurb {
  color: var(--h-copy);
  font-size: 14px;
  line-height: 1.4;
}

.host-entry-who {
  color: var(--h-gold);
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.host-entry-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
  width: 100%;
}

.host-entry-line {
  color: var(--h-copy);
  font-size: 13px;
  line-height: 1.4;
}

.host-preset-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--h-line);
}

.host-preset-head.on {
  border-bottom-color: rgba(196, 163, 90, 0.45);
}

.host-preset-mark {
  flex: none;
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: #3a4150;
}

.host-preset-mark.on {
  background: var(--h-gold);
}

.host-preset-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.host-preset-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--h-dim);
  font-size: 13px;
  font-weight: 600;
}

.host-pick {
  padding: 14px;
}

.host-split {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.host-split-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.host-split-kicker {
  color: var(--h-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.host-split-title {
  color: var(--h-text);
  font-size: 15px;
  font-weight: 800;
}

.host-split-or {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.host-split-line {
  flex: 1;
  width: 1px;
  background: var(--h-line);
}

.host-split-or-text {
  color: var(--h-dim);
  font-size: 11px;
  font-weight: 800;
}

.host-split-foot {
  color: var(--h-gold) !important;
}

.host-big {
  font-size: 28px;
  font-weight: 900;
}

.host-preset-name {
  font-size: 17px;
  font-weight: 800;
}

.host-preset-detail {
  color: var(--h-dim);
  font-size: 13px;
}

.host-pill {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--h-line);
  background: var(--h-fact);
  color: var(--h-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.host-pill.on {
  background: var(--h-bone);
  color: var(--h-ink);
  border-color: var(--h-bone);
}

.host-bare {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.host-input,
.host-search {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--h-line);
  background: var(--h-fact);
  color: var(--h-text);
  font: inherit;
  font-size: 16px;
}

.host-input:focus,
.host-search:focus {
  outline: none;
  border-color: var(--h-gold);
}

.host-input::placeholder,
.host-search::placeholder {
  color: #6d7686;
}

.host-input-name {
  font-size: 20px;
  font-weight: 700;
}

.host-input-short {
  max-width: 160px;
}

.host-area {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

.host-stamp {
  color-scheme: dark;
}

.host-search-label {
  color: var(--h-muted);
  font-size: 13px;
  font-weight: 700;
}

.host-results {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.host-result-title {
  font-weight: 700;
}

.host-result-detail {
  color: var(--h-dim);
  font-size: 13px;
}

.host-vibe {
  color: var(--h-gold);
  font-size: 14px;
  font-weight: 700;
}

.host-live {
  color: var(--h-gold);
}

.host-stars {
  display: flex;
  gap: 6px;
}

.host-star {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--h-line);
  background: var(--h-fact);
  color: var(--h-dim);
  font-size: 18px;
  cursor: pointer;
}

.host-star.on {
  color: var(--h-gold);
  border-color: var(--h-gold);
}

.host-percent-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.host-percent {
  font-size: 22px;
  font-weight: 900;
}

.host-break {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: var(--h-bg);
  border: 1px solid var(--h-line);
}

.host-break-title {
  font-weight: 800;
}

.host-add {
  align-self: flex-start;
}

.host-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--h-line);
  background: var(--h-fact);
  color: var(--h-text);
  font: inherit;
  cursor: pointer;
}

.host-toggle-label {
  font-weight: 700;
  text-align: left;
}

.host-switch {
  position: relative;
  flex: none;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: rgba(235, 236, 239, 0.18);
  transition: background-color 0.15s ease;
}

.host-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--h-bone);
  transition: transform 0.15s ease;
}

.host-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.host-toggle input:checked + .host-switch {
  background: var(--h-gold);
}

.host-toggle input:checked + .host-switch::after {
  transform: translateX(20px);
}

.host-toggle input:focus-visible + .host-switch {
  outline: 2px solid var(--h-gold);
  outline-offset: 2px;
}

.host-toggle-label {
  flex: 1;
}

.host-sponsor-math {
  color: var(--h-copy);
  font-size: 14px;
}

.host-sponsor-seat {
  color: var(--h-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.host-sponsor-brand {
  color: var(--h-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  margin: 4px 0 0;
}

.host-sponsor-link {
  color: var(--h-gold);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  word-break: break-all;
}

.host-sponsor-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.host-sponsor-code-label {
  color: var(--h-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.host-sponsor-code-value {
  color: var(--h-gold);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.host-slide {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.host-thumb {
  position: relative;
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--h-line);
  background: #07080c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.host-thumb img,
.host-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.host-slide > .host-thumb-img {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  border: 1px solid var(--h-line);
  background: #07080c;
  object-fit: contain;
}

.host-preview,
.host-review-photo {
  width: 100%;
  height: auto;
  max-height: 440px;
  border-radius: 18px;
  object-fit: contain;
  display: block;
  background: #07080c;
  border: 1px solid var(--h-line);
}

.host-story-photo {
  width: auto;
  max-width: min(100%, 260px);
  max-height: 280px;
  height: auto;
  border-radius: 18px;
  object-fit: contain;
  display: block;
  background: var(--h-fact);
}

.host-review-mark {
  color: var(--h-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.host-review-name {
  font-size: 24px;
  font-weight: 800;
}

.host-phrase {
  color: var(--h-copy);
  font-size: 15px;
  font-style: italic;
}

.host-goat-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.host-goat-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 16px;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
}

.host-goat-fact-title {
  font-weight: 800;
}

.host-goat-fact-body {
  color: var(--h-copy);
  font-size: 14px;
  line-height: 1.45;
}

.host-goat-ring {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid var(--h-gold);
}

.host-goat-legal {
  color: var(--h-dim);
  font-size: 12px;
  line-height: 1.45;
}

.host-story-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border-left: 4px solid var(--h-gold);
}

.host-orb-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--h-gold);
}

.host-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.host-story-title {
  font-size: 15px;
  font-weight: 800;
}

.host-range {
  --fill: 0%;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(to right, var(--h-gold) var(--fill), rgba(235, 236, 239, 0.15) var(--fill));
  cursor: pointer;
}

.host-range::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--h-bone);
  border: 3px solid var(--h-gold);
}

.host-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--h-bone);
  border: 3px solid var(--h-gold);
}

.host-locating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  text-align: center;
}

.host-locating-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.host-locating-mark:not(.live) .host-locating-dot::after {
  animation: none;
  opacity: 0;
}

.host-locating-title {
  font-size: 17px;
  font-weight: 800;
}

.host-locating-copy {
  color: var(--h-dim);
  font-size: 14px;
}

.host-check-wait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.host-check-wait .host-check-pin {
  position: absolute;
}

.host-locating-dot,
.host-check-halo {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--h-gold);
}

.host-locating-dot::after,
.host-check-halo::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--h-gold);
  animation: host-pulse 1.4s ease-out infinite;
}

@keyframes host-pulse {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

.host-check-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--h-bone);
}

.host-place-ok {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--h-text);
  font-weight: 700;
}

.host-place-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #7fd18b;
  color: #7fd18b;
  font-size: 14px;
  font-weight: 900;
}

.host-or-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-or-line {
  flex: 1;
  height: 1px;
  background: var(--h-line);
}

.host-or {
  color: var(--h-dim);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.host-either {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 0;
}

.host-either-line {
  flex: 1;
  height: 2px;
  background: #c4a35a;
}

.host-either-or {
  color: #c4a35a;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
}

.host-either-label {
  margin: 0;
  color: #f5f7fb;
  font-size: 22px;
  font-weight: 800;
}

/* Infographics */

.host-quad {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.host-quad-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.host-quad {
  width: 100%;
}

.host-quad-img,
.host-quad-cell img {
  width: 100%;
  height: auto;
  min-width: 0;
  border-radius: 14px;
  object-fit: contain;
  display: block;
  background: #07080c;
  border: 1px solid var(--h-line);
}

.host-quad-label {
  font-size: 14px;
  font-weight: 800;
}

.host-quad-caption {
  color: var(--h-dim);
  font-size: 13px;
  line-height: 1.4;
}

.hide-row {
  display: flex;
  gap: 10px;
}

.hide-bit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
  color: var(--h-copy);
  font-size: 13px;
  text-align: center;
}

.host-quad-frame {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #07080c;
  border: 1px solid var(--h-line);
}

.host-quad-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hide-label {
  font-weight: 700;
}

.hide-bldg,
.hide-yard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 52px;
  height: 48px;
}

.hide-roof {
  width: 0;
  height: 0;
  border-left: 26px solid transparent;
  border-right: 26px solid transparent;
  border-bottom: 16px solid var(--h-gold);
}

.hide-body {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 40px;
  height: 30px;
  background: rgba(196, 163, 90, 0.25);
  border: 2px solid var(--h-gold);
  border-top: 0;
}

.hide-door {
  width: 10px;
  height: 14px;
  background: var(--h-gold);
}

.hide-yard-rail {
  width: 48px;
  height: 3px;
  margin-bottom: 8px;
  background: var(--h-gold);
}

.hide-yard-posts {
  display: flex;
  justify-content: space-between;
  width: 40px;
}

.hide-yard-post {
  width: 3px;
  height: 22px;
  background: var(--h-gold);
}

.hide-slash {
  position: absolute;
  top: 50%;
  left: -4px;
  right: -4px;
  height: 4px;
  border-radius: 2px;
  background: var(--h-error);
  transform: rotate(-35deg);
}

/* Lists */

.host-tabs {
  display: flex;
  gap: 8px;
}

.host-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--h-line);
  background: transparent;
  color: var(--h-muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.host-tab.on {
  background: var(--h-bone);
  border-color: var(--h-bone);
  color: var(--h-ink);
}

.host-game-row {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: var(--h-panel);
  border: 1px solid var(--h-line);
  color: var(--h-text);
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.host-game-row:hover {
  border-color: rgba(196, 163, 90, 0.5);
}

.host-game-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.host-game-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.host-game-meta {
  color: var(--h-gold);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-game-when {
  color: var(--h-copy);
  font-size: 14px;
}

.host-game-thumb {
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  object-fit: contain;
  background: #07080c;
}

.host-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
  color: var(--h-text);
  text-decoration: none;
}

.host-row-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.host-row-title {
  font-weight: 800;
}

.host-row-detail {
  color: var(--h-dim);
  font-size: 13px;
}

.host-invite-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.host-invite-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
}

.host-invite-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.host-invite-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--h-text);
}

.host-invite-detail {
  margin: 0;
  color: var(--h-dim);
  font-size: 13px;
  line-height: 1.35;
}

.host-invite-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.host-invite-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--h-line);
  background: transparent;
  color: var(--h-text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.host-invite-chip:disabled {
  opacity: 0.45;
  cursor: default;
}

.host-invite-chip-solid {
  border-color: var(--h-lime, #e6e8ec);
  background: var(--h-lime, #e6e8ec);
  color: #12160a;
}

.host-role-pick {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.host-role-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid var(--h-line);
  background: #0c0f16;
  color: var(--h-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.host-role-card:hover:not(:disabled) {
  border-color: rgba(196, 163, 90, 0.5);
}

.host-role-card.on {
  border-color: var(--h-gold);
  background: rgba(196, 163, 90, 0.12);
}

.host-role-card.is-closed,
.host-role-card:disabled {
  opacity: 0.45;
  cursor: default;
}

.host-role-mark {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 24px;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}

.host-role-mark.hunt {
  border-color: #ff3d8a;
  background: rgba(255, 61, 138, 0.16);
}

.host-role-mark.hide {
  border-color: var(--h-gold);
  background: rgba(196, 163, 90, 0.12);
}

.host-role-mark-core {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--h-gold);
}

.host-role-mark.hunt .host-role-mark-core {
  background: #ff3d8a;
}

.host-role-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.host-role-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.host-role-blurb,
.host-role-seats,
.host-role-empty {
  margin: 0;
  color: var(--h-dim);
  font-size: 14px;
  line-height: 1.4;
}

.host-role-seats {
  font-weight: 700;
  color: var(--h-text);
}

.host-role-picked {
  margin: 0;
  color: var(--h-gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.host-role-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.host-role-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--h-gold);
  color: #12160a;
  font-size: 13px;
  font-weight: 800;
}

.btn.is-disabled,
.btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.host-player-row,
.host-end-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--h-line);
}

.host-player-row:last-child,
.host-end-row:last-child {
  border-bottom: 0;
}

.host-player-row {
  justify-content: space-between;
}

.host-end-cents {
  font-size: 16px;
}

.host-name-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.host-new {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(196, 163, 90, 0.18);
  color: var(--h-gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.host-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
  color: var(--h-gold);
  font-weight: 800;
}

.host-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-request {
  padding: 14px;
  border-radius: 16px;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
}

.host-request-note {
  padding: 12px;
  border-radius: 12px;
  background: var(--h-bg);
}

.host-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.host-roster-team,
.host-roster-solo {
  border-radius: 16px;
  border: 1px solid rgba(229, 200, 120, 0.35);
  background: #111521;
  padding: 10px 12px;
}

.host-roster-solo {
  border-color: rgba(255, 255, 255, 0.1);
}

.host-roster-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.host-roster-team-kicker {
  display: block;
  color: #ffd875;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.host-roster-full {
  display: block;
  margin-top: 2px;
  color: #7ef09b;
  font-size: 13px;
  font-weight: 700;
}

.host-roster-partial {
  display: block;
  margin-top: 2px;
  color: var(--h-gold);
  font-size: 13px;
  font-weight: 700;
}

.host-roster-caret {
  color: var(--h-gold);
  font-size: 16px;
  font-weight: 800;
}

.host-roster-team-body {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.host-roster-member {
  display: flex;
  align-items: center;
  gap: 10px;
}

.host-roster-avatar {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.host-roster-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.host-roster-badge-on {
  color: #7ef09b;
  background: rgba(52, 199, 89, 0.16);
  border: 1px solid rgba(52, 199, 89, 0.55);
}

.host-roster-badge-off {
  color: #9aa3b0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.host-roster-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #34c759;
  color: #07080c;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.host-roster-pending {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid #6e7685;
}

/* Overview and prizes */

.host-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.host-overview-cell,
.host-overview-note {
  padding: 12px;
  border-radius: 14px;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
}

.host-overview-label {
  display: block;
  color: var(--h-dim);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.host-overview-value {
  margin-top: 4px !important;
  font-size: 15px;
  font-weight: 700;
}

.host-pot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(196, 163, 90, 0.08);
  border: 1px solid rgba(196, 163, 90, 0.35);
}

.host-pot-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.host-pot-amount {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
}

.host-pot-count {
  color: var(--h-gold);
  font-size: 13px;
  font-weight: 800;
}

.host-pot-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.host-pot-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--h-gold);
  color: var(--h-ink);
  font-weight: 900;
}

.host-pot-name {
  font-weight: 700;
}

.host-pot-money {
  font-weight: 800;
}

/* Charge sheet */

.host-sheet {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: var(--h-bg);
  border: 1px solid var(--h-gold);
}

.host-sheet-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  color: #d8dde6;
  font-size: 15px;
}

.host-sheet-row strong {
  color: var(--h-text);
}

.host-sheet-rule {
  padding-top: 10px;
  border-top: 1px solid #2a3140;
}

.host-credit {
  color: #7fd18b !important;
}

.host-bill {
  padding: 14px;
  border-radius: 14px;
  background: rgba(196, 163, 90, 0.12);
}

.host-bill-label {
  color: var(--h-gold);
  font-size: 13px;
  font-weight: 700;
}

.host-bill-amount {
  font-size: 30px;
  font-weight: 900;
}

/* Maps */

.host-map {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.host-map-canvas {
  width: 100%;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--h-fact);
  border: 1px solid var(--h-line);
}

.host-map-tall {
  height: min(70vh, 620px);
}

.host-map-note {
  color: var(--h-error);
  font-size: 13px;
}

.host-map-address {
  color: var(--h-copy);
  font-size: 14px;
}

.host-pin {
  background: none;
  border: 0;
}

.host-pin-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(196, 163, 90, 0.25);
  border: 3px solid #c4a35a;
  box-shadow: 0 0 0 6px rgba(196, 163, 90, 0.18);
}

.host-goat-dot {
  width: 14px;
  height: 14px;
  margin: 0 auto;
  border-radius: 50%;
  background: #f5f7fb;
  border: 3px solid #c4a35a;
}

.host-goat-label {
  margin-top: 2px;
  color: #f5f7fb;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 1px 3px #000;
}

.host-player-dot {
  width: 22px;
  height: 22px;
  margin: 0 auto;
  border-radius: 11px;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.host-player-label {
  margin-top: 2px;
  color: #102033;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  padding: 1px 4px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.host-qr {
  width: min(280px, 100%);
  align-self: center;
  border-radius: 16px;
  background: #fff;
  padding: 12px;
}

/* Live */

.host-live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.host-live-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.host-live-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: var(--h-panel);
  border: 1px solid var(--h-line);
}

.host-live-stat strong {
  font-size: 20px;
  font-weight: 900;
}

.host-report-bar {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--h-error);
  background: rgba(255, 61, 138, 0.12);
  color: var(--h-text);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.host-mod {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px;
}

.host-mod-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  overflow-y: auto;
}

.host-mod-map {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.host-mod-map .host-map-canvas {
  height: 260px;
}

.host-mod-clock {
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.host-amount {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--h-line);
  background: var(--h-fact);
  font-size: 30px;
  font-weight: 900;
}

.host-amount input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--h-text);
  font: inherit;
}

.host-amount input:focus {
  outline: none;
}

/* Modals */

.host-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 4, 7, 0.78);
  backdrop-filter: blur(4px);
}

.host-modal {
  --h-bg: #07080c;
  --h-panel: #10141c;
  --h-fact: #12151c;
  --h-line: rgba(235, 236, 239, 0.12);
  --h-gold: #c4a35a;
  --h-text: #f5f7fb;
  --h-copy: #c5cad3;
  --h-dim: #8d96a8;
  --h-muted: #a7b0c0;
  --h-red: #c45d6e;
  --h-error: #ff3d8a;
  --h-bone: #e6e8ec;
  --h-ink: #0a0b0e;
  width: min(520px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px;
  border-radius: 24px;
  background: var(--h-panel);
  border: 1px solid var(--h-line);
  box-shadow: var(--shadow);
  color: var(--h-text);
}

.host-modal p,
.host-modal h2 {
  margin: 0;
}

@media (max-width: 720px) {
  .host-page {
    width: min(720px, 100%);
    padding: 24px 16px 72px;
  }

  .host-pick-grid,
  .host-pick-grid-modes,
  .host-pick-grid-presets,
  .host-form-grid {
    grid-template-columns: 1fr;
  }

  .host-pick-grid > .host-mode.on,
  .host-pick-grid > .host-preset.on,
  .host-pick-grid > .host-pick.on {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .host-page {
    padding: 20px 16px 64px;
  }

  .host-live-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .host-mod {
    grid-template-columns: 1fr;
  }

  .host-game-thumb {
    width: 72px;
    height: 72px;
  }
}

dialog.host-sheet {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 0;
  border: 1px solid var(--h-line);
  border-radius: 24px;
  background: var(--h-panel);
  color: var(--h-text);
  opacity: 1;
}

dialog.host-sheet::backdrop {
  background: rgba(3, 4, 7, 0.78);
}

.host-sheet-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.host-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.host-note {
  color: var(--h-copy);
  font-size: 14px;
  line-height: 1.45;
}

.host-note-error {
  color: var(--h-error);
  font-weight: 600;
}

.host-note-ok {
  color: var(--h-gold, #c4a35a);
  font-weight: 700;
}

/* ==========================================================================
   Obsidian Vault & Gem Surfaces for Hosting, Lobby & Account Pages
   ========================================================================== */
.host-panel,
.host-card,
.host-fact {
  background: linear-gradient(180deg, rgba(18, 23, 35, 0.94) 0%, rgba(10, 13, 21, 0.98) 100%);
  border: 1px solid rgba(229, 200, 120, 0.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.host-kicker {
  color: #e5c878;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.host-input {
  background: rgba(8, 10, 17, 0.92);
  border: 1px solid rgba(229, 200, 120, 0.24);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.host-input:focus {
  outline: none;
  border-color: #e5c878;
  box-shadow: 0 0 0 3px rgba(229, 200, 120, 0.18);
}

.host-nav-btn {
  background: rgba(16, 20, 31, 0.78);
  border: 1px solid rgba(229, 200, 120, 0.28);
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.host-nav-btn:hover {
  border-color: #e5c878;
  background: rgba(229, 200, 120, 0.14);
  box-shadow: 0 0 18px rgba(229, 200, 120, 0.2);
}

dialog.host-sheet {
  background: linear-gradient(180deg, #131826 0%, #090b12 100%);
  border: 1px solid rgba(229, 200, 120, 0.34);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75), 0 0 36px rgba(229, 200, 120, 0.16);
}

dialog.host-notice-sheet {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: min(720px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  padding: 0;
}

.host-notice-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 28px 22px 8px;
}

.host-notice-accept {
  flex: none;
  padding: 12px 22px 22px;
  background: #090b12;
  border-top: 1px solid rgba(229, 200, 120, 0.28);
}

.vault-join-card {
  border: 1.5px solid rgba(229, 200, 120, 0.42);
  background: linear-gradient(160deg, rgba(24, 21, 14, 0.94) 0%, rgba(12, 15, 23, 0.98) 65%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(229, 200, 120, 0.14), inset 0 1px 0 rgba(255, 245, 210, 0.14);
}

.vault-stream-card {
  border: 1.5px solid rgba(255, 61, 138, 0.48);
  background: linear-gradient(160deg, rgba(32, 12, 26, 0.95) 0%, rgba(12, 10, 18, 0.98) 68%);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.62), 0 0 36px rgba(255, 61, 138, 0.18), inset 0 1px 0 rgba(255, 190, 218, 0.15);
}

.vault-card-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #f4f5f7;
  letter-spacing: -0.02em;
}

.vault-rating-callout {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 193, 74, 0.12);
  border: 1px solid rgba(255, 193, 74, 0.42);
  display: grid;
  gap: 4px;
}

.vault-rating-callout strong {
  color: #ffc14a;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vault-rating-callout p {
  margin: 0;
  color: #f4f5f7;
  font-size: 0.94rem;
  line-height: 1.45;
}

.vault-note-input {
  min-height: 82px;
  resize: vertical;
  width: 100%;
}

.vault-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 61, 138, 0.14);
  border: 1px solid rgba(255, 61, 138, 0.36);
  color: #ffd6e8;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.vault-live-pill.is-live {
  background: rgba(255, 61, 138, 0.25);
  border-color: #ff3d8a;
  box-shadow: 0 0 18px rgba(255, 61, 138, 0.32);
}

.vault-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3d8a;
  box-shadow: 0 0 0 0 rgba(255, 61, 138, 0.75);
  animation: hotpulse 1.8s infinite;
}

.vault-card-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 146px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  gap: 6px;
  background: #07080c;
  border: 1px solid rgba(229, 200, 120, 0.34);
}

.vault-card-banner.is-magenta {
  border-color: rgba(255, 61, 138, 0.48);
}

.vault-card-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vault-card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.18) 0%, rgba(7, 8, 12, 0.78) 100%);
}

.vault-card-banner > * {
  position: relative;
  z-index: 1;
}

/* Sculpted Obsidian-Gold Metallic Command Pills in the Top Header */
a.host-nav-btn,
.host-nav-btn,
.nav-actions-host .nav-who,
.nav-who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f4f5f7;
  background: linear-gradient(180deg, rgba(28, 34, 52, 0.94) 0%, rgba(11, 14, 23, 0.98) 100%);
  border: 1px solid rgba(229, 200, 120, 0.38);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 245, 210, 0.18);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.22s ease, color 0.2s ease, background 0.2s ease;
}

.nav-actions-host .nav-who,
.nav-who {
  color: #e5c878;
  border-color: rgba(229, 200, 120, 0.5);
}

a.host-nav-btn:hover,
a.host-nav-btn:focus,
.host-nav-btn:hover,
.nav-actions-host .nav-who:hover,
.nav-who:hover {
  transform: translateY(-1px);
  color: #fff2c8;
  border-color: #e5c878;
  background: linear-gradient(180deg, rgba(50, 42, 24, 0.96) 0%, rgba(18, 16, 12, 0.98) 100%);
  box-shadow: 0 10px 28px rgba(229, 200, 120, 0.28), inset 0 1px 0 rgba(255, 245, 210, 0.32);
}

a.host-nav-btn .host-nav-count,
.host-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff569c 0%, #e02070 100%);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(255, 61, 138, 0.5);
}

/* ==========================================================================
   Epic Clickable Cards Across Host Wizard, Games List & Drafts
   ========================================================================== */
.host-pick,
.host-mode,
.host-preset,
.host-choice,
.host-result,
.host-case,
.host-fact {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 16px 18px;
  background: linear-gradient(165deg, rgba(22, 27, 42, 0.96) 0%, rgba(9, 12, 20, 0.99) 100%);
  border: 1.5px solid rgba(229, 200, 120, 0.3);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 245, 210, 0.12);
  transition: transform 0.2s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.host-pick:hover,
.host-mode:hover,
.host-preset:hover,
.host-choice:hover,
.host-result:hover,
.host-case:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 200, 120, 0.72);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.68), 0 0 28px rgba(229, 200, 120, 0.22), inset 0 1px 0 rgba(255, 245, 210, 0.22);
}

.host-mode.on,
.host-preset.on,
.host-choice.on,
.host-case.on,
.host-pick.on {
  border-color: #e5c878;
  background:
    radial-gradient(380px 200px at 0% 0%, rgba(229, 200, 120, 0.22), transparent 65%),
    linear-gradient(165deg, rgba(32, 27, 16, 0.96) 0%, rgba(11, 13, 20, 0.99) 100%);
  box-shadow:
    inset 4px 0 0 #e5c878,
    0 22px 52px rgba(0, 0, 0, 0.72),
    0 0 34px rgba(229, 200, 120, 0.28);
}

/* Public / Private 3D Art Clickable Cards */
.host-pick-art {
  width: calc(100% + 36px);
  margin: -16px -18px 10px;
  min-height: 112px;
  position: relative;
  overflow: hidden;
  background: #07080c;
  border-bottom: 1px solid rgba(229, 200, 120, 0.24);
}

.host-pick-art img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.host-pick:hover .host-pick-art img,
.host-pick.on .host-pick-art img {
  transform: scale(1.04);
  opacity: 0.96;
}

.host-pick-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 14, 0.14) 0%, rgba(7, 8, 14, 0.72) 100%);
  pointer-events: none;
}

.host-pick-public {
  border-color: rgba(255, 61, 138, 0.42);
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(255, 61, 138, 0.18), transparent 64%),
    linear-gradient(165deg, rgba(24, 14, 24, 0.96) 0%, rgba(9, 11, 18, 0.99) 100%);
}

.host-pick-public:hover,
.host-pick-public.on {
  border-color: #ff3d8a;
  background:
    radial-gradient(400px 220px at 0% 0%, rgba(255, 61, 138, 0.28), transparent 65%),
    linear-gradient(165deg, rgba(34, 16, 30, 0.98) 0%, rgba(10, 11, 18, 0.99) 100%);
  box-shadow:
    inset 4px 0 0 #ff3d8a,
    0 24px 56px rgba(0, 0, 0, 0.74),
    0 0 36px rgba(255, 61, 138, 0.32);
}

.host-pick-private {
  border-color: rgba(229, 200, 120, 0.42);
  background:
    radial-gradient(360px 180px at 0% 0%, rgba(229, 200, 120, 0.18), transparent 64%),
    linear-gradient(165deg, rgba(24, 21, 14, 0.96) 0%, rgba(9, 11, 18, 0.99) 100%);
}

/* Clickable Game List & Draft Rows */
.host-game-row,
.host-row-card {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(22, 27, 42, 0.96) 0%, rgba(9, 12, 20, 0.99) 100%);
  border: 1.5px solid rgba(229, 200, 120, 0.32);
  border-left: 4px solid #e5c878;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 245, 210, 0.12);
  transition: transform 0.2s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.host-game-row:hover,
.host-row-card:hover {
  transform: translateY(-3px);
  border-color: #e5c878;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.72), 0 0 30px rgba(229, 200, 120, 0.24);
}

.host-game-thumb {
  border: 1.5px solid rgba(229, 200, 120, 0.38);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.52);
}

/* Drafts & Templates Row Polish */
.host-panel > .host-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.host-panel > .host-row > .host-link {
  margin-left: auto;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(229, 200, 120, 0.12);
  border: 1px solid rgba(229, 200, 120, 0.42);
  color: #e5c878;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.host-panel > .host-row > .host-link:hover:not(:disabled) {
  transform: translateY(-1px);
  color: #fff2c8;
  border-color: #e5c878;
  background: rgba(229, 200, 120, 0.22);
  box-shadow: 0 0 18px rgba(229, 200, 120, 0.25);
}

.host-row-card > button.host-row-main {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 4px 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
}

.host-row-card.host-row-main {
  width: 100%;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
}

.host-row-title {
  color: #f4f5f7;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.host-row-card:hover .host-row-title {
  color: #fff2c8;
}

.host-row-detail {
  color: #9aa3b2;
  font-size: 0.84rem;
  font-weight: 500;
}

.host-row-card .host-link {
  flex: none;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 61, 138, 0.14);
  border: 1px solid rgba(255, 61, 138, 0.52);
  color: #ffb4d2;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.host-row-card .host-link:hover:not(:disabled) {
  transform: translateY(-1px);
  color: #ffffff;
  border-color: #ff3d8a;
  background: rgba(255, 61, 138, 0.28);
  box-shadow: 0 0 18px rgba(255, 61, 138, 0.35);
}

/* Business Dashboard: Spend Rule & Print Kit Infographic */
.kit-panel {
  border-color: rgba(229, 200, 120, 0.45);
  background:
    radial-gradient(420px 200px at 0% 0%, rgba(229, 200, 120, 0.14), transparent 64%),
    radial-gradient(380px 200px at 100% 100%, rgba(255, 61, 138, 0.12), transparent 64%),
    linear-gradient(165deg, rgba(18, 22, 34, 0.96) 0%, rgba(8, 10, 16, 0.99) 100%);
  gap: 18px;
}

.kit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.kit-rule-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(229, 200, 120, 0.14);
  border: 1px solid rgba(229, 200, 120, 0.44);
  color: #fff2c8;
  font-size: 0.88rem;
  font-weight: 800;
}

.kit-rule-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e5c878;
  box-shadow: 0 0 10px #e5c878;
}

.kit-switch-btn {
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(28, 34, 52, 0.94), rgba(11, 14, 23, 0.98));
  border: 1px solid rgba(229, 200, 120, 0.42);
  color: #e5c878;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.kit-switch-btn:hover {
  transform: translateY(-1px);
  color: #fff2c8;
  border-color: #e5c878;
  box-shadow: 0 0 20px rgba(229, 200, 120, 0.28);
}

.kit-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 12px;
}

.kit-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 16px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(22, 27, 42, 0.96), rgba(9, 12, 20, 0.99));
  border: 1px solid rgba(229, 200, 120, 0.3);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 245, 210, 0.1);
}

.kit-step.is-magenta {
  border-color: rgba(255, 61, 138, 0.36);
  background:
    radial-gradient(220px 120px at 0% 0%, rgba(255, 61, 138, 0.14), transparent 70%),
    linear-gradient(165deg, rgba(24, 16, 26, 0.96), rgba(9, 12, 20, 0.99));
}

.kit-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.kit-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kit-icon-gold {
  color: #e5c878;
  background: rgba(229, 200, 120, 0.14);
  border: 1px solid rgba(229, 200, 120, 0.4);
}

.kit-icon-magenta {
  color: #ff6aa6;
  background: rgba(255, 61, 138, 0.15);
  border: 1px solid rgba(255, 61, 138, 0.45);
}

.kit-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(229, 200, 120, 0.6);
}

.kit-step-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.kit-step-sub {
  color: #9aa3b2;
  font-size: 0.84rem;
  font-weight: 600;
}

/* Pure-vibe card headers for Join & Live Broadcast */
.vault-card-banner.is-vibe {
  min-height: 92px;
  border-left: 4px solid #e5c878;
  background:
    radial-gradient(360px 160px at 0% 0%, rgba(229, 200, 120, 0.22), transparent 65%),
    linear-gradient(160deg, rgba(24, 21, 14, 0.96) 0%, rgba(9, 11, 18, 0.99) 100%);
  border-color: rgba(229, 200, 120, 0.42);
}

.vault-card-banner.is-vibe.is-magenta {
  border-left-color: #ff3d8a;
  background:
    radial-gradient(360px 160px at 0% 0%, rgba(255, 61, 138, 0.24), transparent 65%),
    linear-gradient(160deg, rgba(28, 14, 26, 0.96) 0%, rgba(9, 11, 18, 0.99) 100%);
  border-color: rgba(255, 61, 138, 0.46);
}







