:root {
  color-scheme: dark;
  --bg: #0a1628;
  --surface: #132a45;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text: #f4f7fb;
  --muted: #9fb3c8;
  --accent: #f5b942;
  --accent-dark: #c8922a;
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.15);
  --success: #5dffb0;
  --radius: 16px;
  --touch: 48px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  overflow-x: hidden;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  gap: 0.4rem;
  padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1rem 0.65rem;
  background: linear-gradient(180deg, #0f2844 0%, rgba(10, 22, 40, 0.96) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.btn-logout-header {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

.header-user-strip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  padding-left: 0.1rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-gold { color: var(--accent); }

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.15);
  color: var(--accent);
  border: 1px solid rgba(245, 185, 66, 0.35);
}

.btn-logout {
  flex-shrink: 0;
  min-height: 2.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.btn-logout:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

main {
  padding: 0.55rem 0.65rem;
  display: grid;
  gap: 0.5rem;
  max-width: 480px;
  margin: 0 auto;
}

.daily-pot-banner {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #78350f;
  border: 1px solid #fbbf24;
}

.daily-pot-banner[hidden] { display: none !important; }

.daily-pot-banner.reminder {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border-color: #60a5fa;
  color: #1e3a8a;
}

.daily-pot-banner.closed {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #fbbf24;
  color: #78350f;
}

.daily-pot-banner.win {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-color: #34d399;
  color: #065f46;
}

.daily-pot-banner-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: inherit;
}

.surface-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.highlight-card {
  background: linear-gradient(165deg, rgba(30, 74, 122, 0.55) 0%, rgba(19, 42, 69, 0.95) 100%);
  border-color: rgba(245, 185, 66, 0.22);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.card-head h2,
.surface-card > h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.card-head h2 { margin: 0; }

.live-pill {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: rgba(93, 255, 176, 0.12);
  color: var(--success);
  border: 1px solid rgba(93, 255, 176, 0.35);
}

.dashboard-hero {
  margin-bottom: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.welcome-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.welcome-heading {
  margin: 0 0 0.55rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.player-display-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.dashboard-actions {
  display: grid;
  gap: 0.5rem;
  margin: 0.85rem 0 0.25rem;
}

.dashboard-actions .btn {
  margin-top: 0;
}

.account-details {
  margin-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.35rem;
}

.account-details > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  user-select: none;
}

.account-details > summary::-webkit-details-marker { display: none; }

.account-panel {
  padding-bottom: 0.35rem;
}

.account-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.account-subhead {
  margin-top: 1.15rem !important;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.account-hint {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
}

.profile-otp-box {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid rgba(245, 185, 66, 0.25);
}

.profile-otp-code-hint {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(11, 31, 51, 0.55);
  border: 1px dashed rgba(245, 185, 66, 0.45);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
}

.profile-otp-code-hint strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.profile-otp-code-hint .otp-hint-sub {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: normal;
  font-weight: 400;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.35rem 0;
  border: none;
  background: none;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-family: inherit;
}

.hint.ok { color: var(--success); }

.daily-pot-hub-card .daily-pot-star {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.35rem;
}

.daily-pot-hub-card .btn { margin-top: 0.65rem; }

.feed-card {
  padding: 0;
  overflow: hidden;
}

.feed-card > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  user-select: none;
}

.feed-card > summary::-webkit-details-marker { display: none; }

.summary-chevron {
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.feed-card[open] > summary .summary-chevron {
  transform: rotate(-135deg) translateY(-2px);
}

.feed-card > .feed,
.feed-card > .draw-summary,
.feed-card > .game-list {
  padding: 0 1rem 1rem;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.25rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-tab {
  min-height: 2.5rem;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.auth-tab.active {
  background: rgba(245, 185, 66, 0.18);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(245, 185, 66, 0.35);
}

.auth-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

#login-panel > h2,
#register-panel > h2 {
  margin-top: 0;
}

label .optional {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--muted);
}

.password-field {
  position: relative;
  display: block;
  margin-top: 0.35rem;
}

.password-field input {
  width: 100%;
  padding-right: 2.75rem;
  box-sizing: border-box;
}

.password-toggle {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--accent);
  background: rgba(245, 185, 66, 0.12);
}

.password-toggle.is-revealed {
  color: var(--accent);
}

.password-eye {
  width: 1.15rem;
  height: 1.15rem;
}

.register-disclaimers {
  margin: 0.5rem 0 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.register-notice {
  max-height: 11rem;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  padding-right: 0.25rem;
}

.register-disclaimers .consent-label + .consent-label {
  margin-top: 0.55rem;
}

.guidance-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.guidance-list strong {
  color: var(--text);
}

.guidance-panel .legal-links {
  margin: 0.75rem 0 0;
}

.guidance-panel .legal-links a,
.guidance-panel .legal-links a:visited {
  color: var(--accent);
  font-weight: 700;
}

.legal-page {
  padding-top: 0.5rem;
}

.legal-card {
  padding: 1.25rem;
}

.legal-card h1 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--accent);
}

.legal-meta {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.legal-card section {
  margin-bottom: 1.15rem;
}

.legal-card h2 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: var(--text);
}

.legal-card p,
.legal-card li {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.legal-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.legal-card strong {
  color: var(--text);
}

.legal-footer {
  margin: 1.25rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.legal-footer a,
.legal-footer a:visited {
  color: var(--accent);
  font-weight: 700;
}

.legal-back,
.legal-back:visited {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.legal-back:hover {
  color: #ffd978;
}

.auth-legal-footer {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.78rem;
}

.auth-legal-footer a,
.auth-legal-footer a:visited {
  color: var(--muted);
  font-weight: 600;
}

.auth-legal-footer a:hover,
.auth-legal-footer a:visited:hover {
  color: var(--accent);
}

.support-form textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.cases-badge {
  margin-left: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1200;
}

.cases-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.case-list-btn {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 0.65rem 0.75rem;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
}

.case-list-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.case-list-meta {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.case-status-pill {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.case-status-pill.status-OPEN { background: rgba(93, 255, 176, 0.15); color: var(--success); }
.case-status-pill.status-IN_PROGRESS { background: rgba(245, 185, 66, 0.18); color: var(--accent); }
.case-status-pill.status-RESOLVED { background: rgba(159, 179, 200, 0.15); color: var(--muted); }
.case-status-pill.status-CLOSED { background: rgba(220, 38, 38, 0.12); color: #fca5a5; }

.case-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.case-detail-head h3 {
  margin: 0;
  font-size: 1rem;
}

.case-meta {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
}

.case-thread {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.thread-msg {
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.thread-msg p { margin: 0.35rem 0 0; }

.thread-player {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.thread-staff {
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.25);
}

.thread-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
}

.case-reply-box textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.disclaimer-list {
  margin: 0 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.disclaimer-list strong {
  color: var(--text);
  font-weight: 700;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.45;
}

.consent-label input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.consent-label a {
  color: var(--accent);
  font-weight: 700;
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

input {
  min-height: var(--touch);
  border-radius: 10px;
  border: 1px solid #2a4563;
  background: #0b1f33;
  color: var(--text);
  padding: 0 0.75rem;
  font-size: 1rem;
}

select {
  min-height: var(--touch);
  border-radius: 10px;
  border: 1px solid #2a4563;
  background: #0b1f33;
  color: var(--text);
  padding: 0 0.75rem;
  font-size: 1rem;
}

select option {
  background-color: #132a45;
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch);
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  margin-top: 0.5rem;
}

.btn.primary { background: var(--accent); color: #1a1200; }
.btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(245, 185, 66, 0.45);
}

.hint, .muted { color: var(--muted); font-size: 0.9rem; }
.error { color: #fca5a5; font-size: 0.9rem; }

.sandbox-details {
  margin-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.5rem;
}

.sandbox-details > summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.subscribe-box { margin-top: 0.35rem; }

.subscribe-box code {
  font-size: 0.75rem;
  color: var(--muted);
}

#payment-status.ok { color: var(--success); }
#payment-status.err { color: #fca5a5; }

.player-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.15rem;
}

.badge {
  background: var(--accent);
  color: #1a1200;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0;
}

.stat-tile {
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-tile .label {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.stat-tile .value {
  font-weight: 700;
  font-size: 0.95rem;
  word-break: break-word;
}

.draw-summary {
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 600;
}

.feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.feed li {
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.feed-row-date {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.feed-row-name {
  display: block;
  font-weight: 700;
}

.feed-row-meta {
  display: block;
  margin-top: 0.15rem;
  color: var(--accent);
  font-weight: 600;
}

.game-list {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.7;
}

.game-list a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.game-list a:hover {
  color: #fde047;
}

.live { color: var(--success); font-size: 0.8rem; font-weight: 700; }

.hub-tab-panel {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hub-app {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hub-tab-panel .surface-card {
  padding: 0.7rem 0.75rem;
}

.hub-tab-panel label {
  margin-bottom: 0.5rem;
  gap: 0.25rem;
}

.hub-tab-panel .btn-block-tight,
.hub-tab-panel .btn-block {
  margin-top: 0.4rem;
}

.home-primary-card {
  padding: 0.7rem 0.75rem !important;
}

.home-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.welcome-heading-compact {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.player-display-compact {
  margin: 0.15rem 0 0;
  font-size: 0.82rem;
}

.stat-grid-compact {
  margin: 0.45rem 0;
  gap: 0.4rem;
}

.stat-tile-compact {
  padding: 0.45rem 0.55rem;
}

.stat-tile-compact .label {
  font-size: 0.68rem;
  margin-bottom: 0.1rem;
}

.stat-tile-compact .value {
  font-size: 0.88rem;
}

.home-daily-block {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-head-tight {
  margin-bottom: 0.25rem;
}

.daily-pot-star-compact {
  font-size: 1rem !important;
  margin: 0 0 0.15rem !important;
}

.home-status-line {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.35;
}

.daily-pot-banner-compact {
  padding: 0.6rem 0.75rem;
  gap: 0.2rem;
  font-size: 0.88rem;
}

.daily-pot-hub-card-compact .btn {
  margin-top: 0.4rem;
}

.feed-card-compact > summary {
  padding: 0.6rem 0.75rem;
  font-size: 0.92rem;
}

.feed-card-compact > .feed,
.feed-card-compact > .draw-summary,
.feed-card-compact > .guidance-list,
.feed-card-compact > .legal-links {
  padding: 0 0.75rem 0.65rem;
}

.feed-scroll {
  max-height: 8.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.feed-scroll li {
  font-size: 0.82rem;
  padding: 0.35rem 0;
}

.guest-hero-compact h2 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.guest-hero-hint {
  margin: 0 0 0.5rem;
  font-size: 0.84rem;
  line-height: 1.35;
}

.guest-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.guest-cta-row .btn {
  margin-top: 0;
  min-height: 2.75rem;
  font-size: 0.88rem;
}

.play-card-unified {
  padding: 0.7rem 0.75rem !important;
}

.play-card-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.game-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.game-row:last-of-type {
  border-bottom: none;
}

.game-row-text {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.game-row-text strong {
  font-size: 0.92rem;
}

.game-row-hint {
  font-size: 0.78rem;
  line-height: 1.25;
}

.btn-inline {
  width: auto;
  min-width: 4.5rem;
  min-height: 2.5rem;
  margin-top: 0;
  padding: 0 0.85rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.play-footnote {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.play-footnote .link-btn {
  width: auto;
  margin-top: 0;
  display: inline;
  padding: 0;
  font-size: inherit;
}

.account-panel-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.15rem;
}

.profile-card-head h2 {
  margin: 0;
}

.profile-display {
  margin: 0.35rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.profile-display-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.35rem;
  align-items: baseline;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-display-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-display-row dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.profile-display-row dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-word;
}

.profile-ambassador-badge {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.08);
}

.profile-ambassador-icon {
  position: relative;
  font-size: 1.25rem;
  color: #fbbf24;
  line-height: 1;
  flex-shrink: 0;
}

.profile-ambassador-count {
  position: absolute;
  top: -0.35rem;
  right: -0.7rem;
  font-size: 0.62rem;
  font-weight: 800;
  color: #fde68a;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(250, 204, 21, 0.45);
  border-radius: 999px;
  padding: 0.05rem 0.28rem;
  line-height: 1.2;
}

.profile-ambassador-badge strong {
  display: block;
  margin-bottom: 0.2rem;
}

.profile-ambassador-cycles {
  margin: 0.25rem 0 0.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.profile-ambassador-cycles li {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text, #e2e8f0);
}

.profile-ambassador-cycle-date {
  color: var(--muted);
  font-weight: 500;
}

.profile-ambassador-badge .hint {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
}

.profile-edit {
  margin-top: 0.35rem;
}

.profile-edit-actions {
  margin-top: 0.65rem;
}

.pulse-membership-scope {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
}

.pulse-daily-wallet-card {
  margin-bottom: 0.65rem;
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: rgba(96, 165, 250, 0.06);
}

.pulse-daily-wallet-lead {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
}

.pulse-daily-wallet-meta {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.pulse-daily-wallet-empty {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
}

.pulse-daily-wallet-stats {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.pulse-daily-wallet-stats div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.35rem;
  align-items: baseline;
}

.pulse-daily-wallet-stats dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.pulse-daily-wallet-stats dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
}

.pulse-daily-wallet-action {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  color: var(--accent);
  line-height: 1.4;
}

#pulse-daily-wallet-cta {
  margin-top: 0.75rem;
}

.pulse-membership-card {
  margin-bottom: 0.65rem;
  border: 1px solid rgba(245, 185, 66, 0.22);
  background: rgba(245, 185, 66, 0.06);
}

.pulse-membership-tier {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}

.pulse-membership-detail {
  margin: 0 0 0.55rem;
}

.pulse-membership-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pulse-membership-plans-lead {
  margin: 0 0 0.55rem;
}

.pulse-membership-footnote {
  margin: 0.55rem 0 0;
  font-size: 0.72rem;
}

.pulse-membership-prize-summary {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.pulse-membership-prize-summary li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
}

.pulse-membership-prize-summary strong {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.pulse-membership-guest-auth {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.pulse-membership-guest-auth-lead {
  margin: 0;
}

.pulse-membership-hub-signin {
  margin: 0.15rem auto 0;
  font-size: 0.82rem;
}

.pulse-premium-guest-cta {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.45rem;
}

.pulse-premium-guest-lead {
  margin: 0;
  text-align: center;
}

.pulse-premium-guest-links {
  margin: 0;
  text-align: center;
}

.pulse-premium-guest-links a {
  color: var(--gold, #d4af37);
  font-weight: 600;
}

.pulse-payment-status {
  margin: 0 0 0.65rem;
}

.premium-plans-grid {
  display: grid;
  gap: 0.55rem;
}

.premium-plan-card {
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.premium-plan-card.is-last-plan {
  border-color: rgba(245, 185, 66, 0.38);
  background: rgba(245, 185, 66, 0.08);
}

.premium-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}

.premium-plan-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent);
}

.premium-plan-tag {
  flex: 0 0 auto;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent);
  border: 1px solid rgba(245, 185, 66, 0.35);
  background: rgba(245, 185, 66, 0.12);
}

.premium-plan-price {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.premium-plan-price span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.premium-plan-meta,
.premium-plan-perk {
  margin: 0 0 0.15rem;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.35;
}

.premium-plan-btn {
  margin-top: 0.55rem;
  min-height: 2.35rem;
  font-size: 0.82rem;
}

@media (min-width: 390px) {
  .premium-plans-grid {
    grid-template-columns: 1fr;
  }
}

.account-panel-card .account-hint {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
}

.account-subhead {
  margin-top: 0.65rem !important;
  padding-top: 0.5rem !important;
}

.guidance-list-compact {
  font-size: 0.82rem;
  line-height: 1.45;
}

.help-panel-hint {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
}

.help-subtabs {
  margin-bottom: 0.15rem;
}

.help-subtab {
  min-height: 2.65rem;
  padding: 0.35rem;
  font-size: 0.82rem;
}

.support-form textarea {
  min-height: 4.5rem;
}

.category-fieldset {
  margin-bottom: 0.5rem;
}

.category-fieldset legend {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
}

.compact-hero .welcome-heading {
  margin-bottom: 0.35rem;
}

.btn-block {
  width: 100%;
  margin-top: 0.5rem;
}

.play-card h2,
.account-panel-card h2,
.help-intro-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.play-card .hint,
.muted-card .hint {
  margin: 0 0 0.75rem;
}

.guest-hero h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.guest-hero .btn {
  margin-top: 0.5rem;
}

.guest-hero .btn + .btn {
  margin-top: 0.45rem;
}

.guest-legal {
  margin-top: 0.25rem;
}

.inline-link {
  display: inline;
  padding: 0;
  vertical-align: baseline;
}

.help-subtabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.help-subtab {
  min-height: var(--touch);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
}

.help-subtab.active {
  background: rgba(245, 185, 66, 0.15);
  border-color: rgba(245, 185, 66, 0.4);
  color: var(--accent);
}

.category-fieldset {
  border: none;
  margin: 0 0 0.75rem;
  padding: 0;
}

.category-fieldset legend {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.category-chip {
  margin: 0;
}

.category-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-chip span {
  display: inline-block;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--surface-soft);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.category-chip input:checked + span {
  background: rgba(245, 185, 66, 0.18);
  border-color: rgba(245, 185, 66, 0.45);
  color: var(--accent);
}

.support-context-block {
  margin-bottom: 0.25rem;
}

.nav-badge {
  display: inline-block;
  min-width: 1rem;
  padding: 0 0.3rem;
  margin-left: 0.15rem;
  border-radius: 999px;
  background: var(--accent);
  color: #1a1200;
  font-size: 0.62rem;
  font-weight: 800;
  vertical-align: middle;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(10, 24, 40, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding:
    0.35rem
    max(0.35rem, env(safe-area-inset-right, 0px))
    max(0.45rem, env(safe-area-inset-bottom, 0px))
    max(0.35rem, env(safe-area-inset-left, 0px));
  backdrop-filter: blur(10px);
}

.nav-item {
  min-width: 0;
  min-height: 52px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.2rem;
  font-family: inherit;
  cursor: pointer;
}

.nav-item.active {
  color: var(--accent);
  font-weight: 700;
}

.bottom-nav-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bottom-nav-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 768px) {
  main { max-width: 560px; }
}

/* ——— Layout: v3 Pulse (default) · v2 · classic ——— */
[data-hub-layout="classic"] .hub-v2-only,
[data-hub-layout="classic"] .hub-v3-only { display: none !important; }
[data-hub-layout="v2"] .hub-classic-only,
[data-hub-layout="v2"] .hub-v3-only { display: none !important; }

/* ——— Pulse v3 boot overlay (static glass, no animation loop) ——— */
.hub-boot-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(1rem, env(safe-area-inset-top, 0px))
    max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(1rem, env(safe-area-inset-left, 0px));
  background: rgba(11, 31, 51, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body:not(.hub-booting) .hub-boot-overlay {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.hub-boot-glass {
  width: min(100%, 22rem);
  padding: 1.35rem 1.15rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(19, 42, 69, 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.hub-boot-brand {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.hub-boot-brand .brand-badge {
  margin-left: 0.35rem;
}

.hub-boot-status {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.hub-boot-links {
  padding: 0;
  margin: 0;
}

.hub-boot-links a,
.hub-boot-links a:visited {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(245, 185, 66, 0.45);
  text-underline-offset: 0.15em;
}

.hub-boot-links a:hover {
  color: #ffd978;
}

@media (prefers-reduced-motion: reduce) {
  body:not(.hub-booting) .hub-boot-overlay {
    transition: none;
  }
}

[data-hub-layout="v3"] .hub-classic-only,
[data-hub-layout="v3"] .hub-v2-only,
[data-hub-layout="v3"] .hub-legacy-only { display: none !important; }

[data-hub-layout="v3"] body {
  padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
}

[data-hub-layout="v3"] .app-header {
  padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
}

[data-hub-layout="v3"] .header-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
}

[data-hub-layout="v3"] .header-brand {
  flex-shrink: 1;
  min-width: 0;
}

[data-hub-layout="v3"] .brand-name {
  font-size: 1rem;
}

[data-hub-layout="v3"] .header-actions {
  flex-shrink: 0;
}

[data-hub-layout="v3"] .btn-header-auth {
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

[data-hub-layout="v3"] .btn-header-icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  min-height: 0;
}

[data-hub-layout="v3"] .btn-header-icon-only .signout-label {
  display: none;
}

[data-hub-layout="v3"] .header-signout-icon {
  display: block;
  color: var(--text);
}

@media (min-width: 400px) {
  [data-hub-layout="v3"] .brand-name { font-size: 1.1rem; }
}

[data-hub-layout="v3"] main.hub-app {
  padding-left: max(0.65rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.65rem, env(safe-area-inset-right, 0px));
  width: 100%;
  max-width: 100%;
}

.pulse-board-welcome {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
}

.pulse-board-status {
  margin: -0.2rem 0 0.65rem;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
}

.pulse-board-status[hidden] {
  display: none !important;
}

.pulse-spotlight {
  margin-bottom: 0.65rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(245, 185, 66, 0.35);
  background: linear-gradient(145deg, rgba(245, 185, 66, 0.14) 0%, rgba(19, 42, 69, 0.95) 55%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.pulse-spotlight-inner {
  padding: 0.9rem 0.85rem 0.85rem;
  text-align: center;
}

.pulse-spotlight-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.pulse-spotlight-amount {
  margin: 0 0 0.45rem;
  font-size: clamp(1.75rem, 8vw, 2.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.pulse-spotlight-msg {
  margin: 0 0 0.75rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text);
}

.pulse-spotlight-cta {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.pulse-hero-compact {
  padding-top: 0;
  margin-bottom: 0.5rem;
}

.pulse-hero-compact .pulse-hero-copy {
  font-size: 0.82rem;
}

[data-hub-layout="v3"] .hub-tab-panel {
  display: none !important;
}

[data-hub-layout="v3"] .hub-tab-panel.pulse-embedded-panel:not([hidden]) {
  display: block !important;
}

[data-hub-layout="v3"] .pulse-view[hidden],
[data-hub-layout="v3"] .hub-tab-panel[hidden] {
  display: none !important;
}

.pulse-ticker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(19, 42, 69, 0.65);
}

.pulse-ticker.pulse-ticker-enhanced {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pulse-ticker-item {
  display: grid;
  gap: 0.08rem;
  text-align: center;
  border: 1px solid rgba(245, 185, 66, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 12px;
  padding: 0.38rem 0.45rem;
  min-width: 0;
  cursor: pointer;
  font-family: inherit;
}

.pulse-ticker-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-ticker-hint {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-ticker-item.is-push-message {
  position: relative;
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(96, 165, 250, 0.08);
}

.pulse-ticker-item.is-referral {
  border-color: rgba(93, 255, 176, 0.35);
  background: rgba(93, 255, 176, 0.08);
}

.pulse-ticker-item.is-referral .pulse-ticker-label {
  color: var(--success);
}

.pulse-ticker-item.is-community {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.1);
  cursor: pointer;
}

.pulse-ticker-item.is-community .pulse-ticker-label {
  color: #94a3b8;
}

.pulse-ticker-item.is-alert {
  border-color: rgba(245, 185, 66, 0.45);
  background: rgba(245, 185, 66, 0.12);
}

.pulse-ticker-dots {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.15rem;
}

.pulse-ticker-dot {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.pulse-ticker-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.pulse-referral-card {
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(93, 255, 176, 0.25);
  background: rgba(93, 255, 176, 0.06);
}

.pulse-referral-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.pulse-referral-code-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.55rem 0 0.65rem;
  flex-wrap: wrap;
}

.pulse-referral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-left: auto;
}

.pulse-referral-code {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.pulse-referral-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.pulse-referral-stat {
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.pulse-referral-stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-referral-stat-value {
  font-size: 1.15rem;
  color: var(--success);
}

.pulse-share-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: end center;
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

.pulse-share-sheet[hidden] {
  display: none !important;
}

.pulse-share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 24, 0.72);
}

.pulse-share-panel {
  position: relative;
  width: min(100%, 22rem);
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(93, 255, 176, 0.28);
  background: linear-gradient(180deg, rgba(19, 42, 69, 0.98), rgba(11, 31, 51, 0.98));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.pulse-share-title {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.pulse-share-lead {
  margin: 0 0 0.65rem;
}

.pulse-share-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.55rem;
}

.pulse-share-qr {
  border-radius: 10px;
  background: #fff;
  padding: 0.35rem;
}

.pulse-share-url {
  margin: 0 0 0.65rem;
  word-break: break-all;
  text-align: center;
  font-size: 0.68rem;
}

.pulse-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.pulse-share-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid rgba(245, 185, 66, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
}

.pulse-share-channel.is-button {
  width: 100%;
}

.pulse-share-channel:active {
  transform: scale(0.98);
}

body.pulse-share-open {
  overflow: hidden;
}

#pulse-promo-carousel[hidden] {
  display: none !important;
}

.pulse-ticker[hidden] { display: none !important; }

.pulse-ticker-item:disabled {
  opacity: 0.85;
  cursor: default;
}

.pulse-back-bar {
  padding: 0.35rem 0.75rem 0;
  max-width: 480px;
  margin: 0 auto;
}

.pulse-back-bar[hidden] { display: none !important; }

.pulse-back-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  padding: 0.35rem 0;
}

.pulse-hero {
  padding: 0.35rem 0.15rem 0.65rem;
  text-align: center;
}

.pulse-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-hero-title {
  margin: 0 0 0.45rem;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.pulse-hero-copy {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.pulse-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

@media (min-width: 420px) {
  .pulse-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pulse-metric {
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.pulse-metric-label {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-metric-value {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

.pulse-game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.pulse-game-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.65rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(30, 74, 122, 0.35), rgba(19, 42, 69, 0.9));
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  min-height: 4.5rem;
}

.pulse-game-tile[data-game="more"] {
  grid-column: 1 / -1;
}

.pulse-tile-icon {
  font-size: 1.25rem;
}

.pulse-tile-body {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.pulse-tile-title {
  font-size: 0.92rem;
  font-weight: 800;
}

.pulse-tile-sub {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
}

.pulse-tile-badge {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.pulse-tile-badge.open {
  background: rgba(93, 255, 176, 0.15);
  color: var(--success);
}

.pulse-tile-badge.live,
.pulse-tile-badge.active {
  background: rgba(245, 185, 66, 0.15);
  color: var(--accent);
}

.pulse-tile-badge.promo {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
}

.pulse-tile-badge.soon {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.pulse-guest-cta {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.pulse-winners-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(245, 185, 66, 0.22);
  background: rgba(245, 185, 66, 0.06);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.pulse-chevron { color: var(--accent); }

.pulse-ai-teaser {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
}

.pulse-ai-teaser h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.pulse-game-hub {
  display: grid;
  gap: 0.55rem;
  padding: 0.2rem 0 5.75rem;
  min-width: 0;
  max-width: 100%;
}

.pulse-status-bar {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
}

.pulse-status-text {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.pulse-status-text strong {
  font-size: 0.86rem;
  line-height: 1.2;
}

.pulse-status-text span {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
}

.pulse-status-pot {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.pulse-hub-section {
  padding: 0.75rem 0.8rem;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.pulse-winners-block-stacked {
  min-width: 0;
  max-width: 100%;
}

.pulse-daily-winners-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pulse-daily-winner-row {
  cursor: pointer;
}

.pulse-daily-winner-row:last-child {
  margin-bottom: 0;
}

.pulse-hub-section-title {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pulse-hub-lead {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  line-height: 1.4;
}

.pulse-hub-sub,
.pulse-hub-meta {
  margin: 0 0 0.45rem;
  font-size: 0.74rem;
}

.pulse-week-spotlight {
  margin: 0 0 0.45rem;
  padding: 0.5rem 0.55rem;
  border-radius: 10px;
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.22);
  font-size: 0.82rem;
}

.pulse-week-spotlight-label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.pulse-hub-details {
  padding: 0.55rem 0.75rem 0.65rem;
}

.pulse-hub-details summary {
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  list-style: none;
}

.pulse-hub-details summary::-webkit-details-marker { display: none; }

.pulse-tier-list-compact {
  list-style: none;
  margin: 0.55rem 0 0.45rem;
  padding: 0;
}

.pulse-tier-list-compact li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.pulse-tier-list-compact li:last-child { border-bottom: none; }

.pulse-tier-list-compact strong {
  color: var(--accent);
  font-weight: 800;
}

.pulse-premium-pluck-note {
  margin: 0.45rem 0 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.18);
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted);
}

.pulse-premium-week-picker {
  position: relative;
  margin-bottom: 0.45rem;
}

.pulse-premium-week-picker-track {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.15rem 0.25rem 0.35rem;
  scroll-padding-inline: 0.25rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pulse-premium-week-picker.has-overflow::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2rem;
  height: 2.2rem;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--bg));
}

.pulse-premium-week-picker-track::-webkit-scrollbar { display: none; }

.pulse-week-picker-hint {
  margin: 0;
  padding: 0 0.15rem;
  font-size: 0.64rem;
  text-align: center;
}

.pulse-week-chip {
  flex: 0 0 auto;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.pulse-week-chip.active {
  border-color: rgba(245, 185, 66, 0.45);
  background: rgba(245, 185, 66, 0.12);
  color: var(--accent);
}

.pulse-premium-week-summary {
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.5rem;
  font-size: 0.76rem;
  line-height: 1.35;
}

.pulse-premium-winners-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pulse-premium-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.65rem;
  border-radius: 10px;
  margin-bottom: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-premium-winner-name {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 0;
}

.pulse-premium-winner-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.pulse-premium-winner-badge {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
}

.pulse-premium-winner-badge.is-main {
  border-color: rgba(245, 185, 66, 0.35);
  color: var(--accent);
  background: rgba(245, 185, 66, 0.1);
}

.pulse-premium-winner-amt {
  font-size: 0.78rem;
  color: var(--accent);
  white-space: nowrap;
}

.pulse-select-winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.65rem;
  border-radius: 10px;
  margin-bottom: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-select-winner-tier {
  font-size: 0.76rem;
  font-weight: 700;
  min-width: 0;
}

.pulse-select-winner-tier.is-legacy { color: #fbbf24; }
.pulse-select-winner-tier.is-fortune { color: #a78bfa; }
.pulse-select-winner-tier.is-prestige { color: #94a3b8; }

.pulse-select-winner-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.pulse-select-winner-code {
  font-size: 0.68rem;
  font-family: ui-monospace, monospace;
  color: var(--muted);
}

.pulse-select-winner-amt {
  font-size: 0.78rem;
  color: var(--accent);
  white-space: nowrap;
}

.pulse-select-winners-empty {
  padding: 0.65rem;
  text-align: center;
}

.pulse-care-winner-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.pulse-care-winner-place {
  flex-shrink: 0;
  min-width: 2.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #94a3b8);
}

.pulse-care-winner-place.is-first { color: #4ade80; }
.pulse-care-winner-place.is-second { color: #60a5fa; }
.pulse-care-winner-place.is-third { color: #fbbf24; }

.pulse-care-winner-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.pulse-care-winner-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.pulse-care-winner-detail {
  font-size: 0.8rem;
  color: var(--text-muted, #94a3b8);
}

.pulse-care-winner-amt {
  font-size: 0.95rem;
  color: var(--accent-gold, #fbbf24);
}

.pulse-care-paid-pill {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  vertical-align: middle;
}

.pulse-care-winners-empty {
  padding: 0.65rem;
  text-align: center;
}

.pulse-care-winners-standings {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md, 12px);
  background: var(--surface-elevated, rgba(255, 255, 255, 0.04));
}

.pulse-care-standings-title {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
}

.pulse-care-standings-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pulse-care-standings-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

.pulse-care-standings-row:last-child {
  border-bottom: none;
}

.pulse-care-standings-rank {
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted, #94a3b8);
}

.pulse-care-standings-rank.is-first { color: #4ade80; }
.pulse-care-standings-rank.is-second { color: #60a5fa; }
.pulse-care-standings-rank.is-third { color: #fbbf24; }

.pulse-care-standings-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-care-standings-votes {
  color: var(--text-muted, #94a3b8);
  white-space: nowrap;
  font-size: 0.78rem;
}

.pulse-premium-winners-empty {
  padding: 0.65rem;
  text-align: center;
}

.pulse-winners-notice-text {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.4;
}

.pulse-board-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.pulse-board-snapshot-col {
  padding: 0.45rem 0.5rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.pulse-board-snapshot-label {
  margin: 0 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pulse-board-snapshot-empty {
  margin: 0;
  font-size: 0.68rem;
}

.pulse-board-premium-hit {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
}

.pulse-major-winners-compact {
  gap: 0.25rem;
  margin-bottom: 0;
}

.pulse-major-winners-compact .pulse-winner-card {
  padding: 0.35rem 0.2rem;
}

.pulse-major-winners-compact .pulse-winner-tier {
  font-size: 0.72rem;
}

.pulse-major-winners-compact .pulse-winner-name {
  font-size: 0.62rem;
}

.pulse-game-page {
  padding: 0.25rem 0.15rem;
}

.pulse-game-hub-select {
  padding: 0.2rem 0 5.75rem;
}

/* Compact Select closed / invite-wait notice — mobile-first, no motion cost */
.pulse-select-info-banner {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.3);
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text, #f4f4f5);
}

.pulse-select-info-banner[hidden] {
  display: none !important;
}

.pulse-select-info-banner strong {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent, #f5b942);
}

.pulse-select-info-banner span {
  color: var(--muted, #a1a1aa);
}

.pulse-select-info-banner.is-closed {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
}

.pulse-select-info-banner.is-closed strong {
  color: #e4e4e7;
}

.pulse-select-info-banner.is-countdown {
  background: rgba(245, 185, 66, 0.12);
  border-color: rgba(245, 185, 66, 0.35);
}

.pulse-select-info-banner.is-drawing {
  background: rgba(147, 197, 253, 0.08);
  border-color: rgba(147, 197, 253, 0.22);
}

.pulse-select-info-banner.is-drawing strong {
  color: #93c5fd;
}

.pulse-select-ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.pulse-select-way {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0.55rem;
  text-align: center;
}

.pulse-select-way-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.pulse-select-way strong {
  font-size: 0.78rem;
  line-height: 1.25;
}

.pulse-select-way .muted {
  font-size: 0.65rem;
  line-height: 1.3;
}

.pulse-select-way-info {
  cursor: default;
  pointer-events: none;
  user-select: none;
}

.pulse-select-way-neutral {
  border-color: var(--surface-border);
}

.pulse-select-way-yes {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.08);
}

.pulse-select-way-no {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.07);
}

.pulse-select-way-deny {
  color: #f87171;
  font-weight: 700;
  font-size: 1.5rem;
}

.pulse-select-way-friends {
  font-size: 1.05rem;
  letter-spacing: -0.12em;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.pulse-select-way-detail.muted {
  font-size: 0.65rem;
  line-height: 1.3;
}

.pulse-game-page-daily {
  padding-bottom: 5.5rem;
}

.pulse-daily-hero {
  text-align: center;
  padding: 0.85rem 0.75rem;
  margin-bottom: 0.65rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(245, 185, 66, 0.12), rgba(19, 42, 69, 0.9));
  border: 1px solid rgba(245, 185, 66, 0.28);
}

.pulse-daily-hero-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.pulse-daily-hero-amount {
  display: block;
  font-size: clamp(1.85rem, 9vw, 2.4rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.pulse-daily-attention {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text);
}

.pulse-game-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(56px + env(safe-area-inset-bottom, 0px));
  z-index: 9;
  padding: 0.55rem max(0.65rem, env(safe-area-inset-left, 0px)) 0.45rem max(0.65rem, env(safe-area-inset-right, 0px));
  max-width: 480px;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.92) 25%, rgba(10, 22, 40, 0.98) 100%);
  backdrop-filter: blur(8px);
}

.pulse-play-btn {
  font-size: 1rem;
  font-weight: 800;
  min-height: 52px;
  letter-spacing: 0.01em;
}

.pulse-action-hint {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  text-align: center;
}

.live-pill.pulse-status-open {
  background: rgba(93, 255, 176, 0.15);
  color: var(--success);
  border-color: rgba(93, 255, 176, 0.35);
}

.live-pill.pulse-status-closed {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.15);
}

.live-pill.pulse-status-results {
  background: rgba(245, 185, 66, 0.15);
  color: var(--accent);
  border-color: rgba(245, 185, 66, 0.35);
}

.pulse-community-page .pulse-community-lead {
  margin: 0 0 0.85rem;
}

.pulse-community-content {
  display: grid;
  gap: 0.65rem;
}

.pulse-community-hero {
  text-align: center;
  padding: 1rem 0.85rem;
}

.pulse-community-hero-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse-community-hero-count {
  margin: 0;
  font-size: clamp(2rem, 10vw, 2.6rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pulse-community-hero-label {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
}

.pulse-community-hero-sub {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.pulse-community-totals {
  padding: 0.85rem;
}

.pulse-community-note {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
}

.pulse-community-games {
  display: grid;
  gap: 0.55rem;
}

.pulse-community-card {
  padding: 0.8rem 0.85rem;
}

.pulse-community-card.is-coming {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(148, 163, 184, 0.06);
}

.pulse-community-card-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.pulse-community-card-head h3 {
  margin: 0;
  font-size: 0.95rem;
}

.pulse-community-card-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.pulse-community-live,
.pulse-community-soon {
  display: inline-block;
  margin-top: 0.12rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-community-live { color: var(--success); }
.pulse-community-soon { color: var(--muted); }

.pulse-community-stats {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.pulse-community-stats div {
  display: grid;
  gap: 0.1rem;
}

.pulse-community-stats dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.pulse-community-stats dd {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.pulse-community-stats-inline {
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.pulse-community-highlight {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.pulse-community-highlight strong {
  color: var(--accent);
}

.pulse-community-card-msg {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.pulse-community-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  margin: 0.15rem 0 0;
  text-align: center;
}

.pulse-community-hero-care {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}

.pulse-community-marketing {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.pulse-community-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.55rem;
}

.pulse-community-card.is-care .pulse-community-live {
  color: #fbbf24;
}

.pulse-care-ambassador-wall {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
}

.pulse-care-wall-count {
  margin: 0.25rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.pulse-care-wall-count-label {
  margin: 0.15rem 0 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-care-wall-pools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.5rem 0;
}

.pulse-care-wall-pool-chip {
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.pulse-care-wall-newsletter {
  margin: 0.55rem 0 0;
  font-size: 0.76rem;
  line-height: 1.45;
}

.pulse-care-wall-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.pulse-care-wall-lead {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
}

.pulse-care-wall-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.pulse-care-wall-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
  font-size: 0.82rem;
}

.pulse-care-wall-row:last-child {
  border-bottom: none;
}

.pulse-care-wall-name {
  font-weight: 600;
}

.pulse-care-wall-pool {
  font-size: 0.74rem;
  white-space: nowrap;
}

.pulse-care-wall-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #4ade80;
  white-space: nowrap;
}

.pulse-game-page-head {
  margin-bottom: 0.75rem;
}

.pulse-game-page-head h2 {
  margin: 0.35rem 0 0.25rem;
}

.pulse-tier-list {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.pulse-tier-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}

.pulse-upsell {
  margin: 0.5rem 0 0;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  font-size: 0.82rem;
}

.pulse-more-grid {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.pulse-more-item {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}

.pulse-more-item strong { font-size: 0.9rem; }
.pulse-more-item span { font-size: 0.76rem; color: var(--muted); }

.pulse-more-journal {
  display: grid;
  gap: 0.45rem;
  cursor: default;
}

.pulse-more-journal-open {
  display: grid;
  gap: 0.15rem;
  text-align: left;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.pulse-more-journal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pulse-more-journal-btn {
  flex: 0 0 auto;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.72rem;
  font-family: inherit;
  cursor: pointer;
}

.pulse-more-journal-btn:active {
  background: rgba(245, 185, 66, 0.12);
  color: var(--text);
}

.pulse-biz-boost-page {
  display: grid;
  gap: 0.75rem;
}

.pulse-biz-boost-root {
  display: grid;
  gap: 0.75rem;
}

.biz-boost-hero {
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 185, 66, 0.18), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(34, 197, 94, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.biz-boost-kicker {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.biz-boost-hero h2,
.biz-boost-section h3 {
  margin: 0 0 0.35rem;
}

.biz-boost-lead {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}

.biz-boost-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.biz-boost-pill,
.biz-boost-date,
.biz-recipient-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.biz-boost-pill {
  color: #111827;
  background: linear-gradient(135deg, #f8d66d, #f5b942);
}

.biz-boost-date {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.biz-boost-section,
.biz-boost-note,
.pulse-biz-boost-loading,
.pulse-biz-boost-empty {
  padding: 0.9rem 1rem;
}

.biz-section-head {
  margin-bottom: 0.65rem;
}

.biz-section-head h3,
.biz-section-head p {
  margin-top: 0;
}

.biz-award-list {
  display: grid;
  gap: 0.45rem;
}

.biz-award-item {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.58rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.biz-awards-live {
  border-color: rgba(245, 185, 66, 0.32);
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 185, 66, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.035);
}

.biz-awards-live .biz-award-item {
  border-color: rgba(245, 185, 66, 0.28);
  background: linear-gradient(135deg, rgba(245, 185, 66, 0.15), rgba(93, 255, 176, 0.08));
}

.biz-awards-live .biz-award-item strong {
  color: #fde68a;
}

.biz-step-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text);
  line-height: 1.55;
}

.biz-step-list li + li {
  margin-top: 0.35rem;
}

.biz-finalist-grid {
  display: grid;
  gap: 0.75rem;
}

.biz-finalist-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.biz-finalist-card.is-my-vote {
  border-color: rgba(245, 185, 66, 0.45);
  box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.12);
}

.biz-finalists-voted {
  gap: 0.5rem;
}

.biz-finalist-compact {
  padding: 0;
}

.biz-finalist-compact-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.65rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.biz-finalist-compact-hero {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.biz-finalist-compact-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.08rem;
}

.biz-finalist-compact-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
}

.biz-finalist-compact-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.biz-finalist-compact-sub {
  font-size: 0.76rem;
  line-height: 1.35;
}

.biz-finalist-compact-votes {
  font-size: 0.76rem;
  color: var(--muted);
}

.biz-finalist-compact-chevron {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.biz-finalist-compact.is-expanded .biz-finalist-compact-chevron {
  transform: rotate(90deg);
}

.biz-finalist-expand {
  padding: 0 0.65rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.biz-finalist-story {
  margin: 0.35rem 0;
  line-height: 1.45;
}

.biz-rank-pill,
.biz-your-vote-pill {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.08rem 0.32rem;
  border-radius: 999px;
}

.biz-rank-pill {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.biz-rank-pill-top-boost {
  background: linear-gradient(135deg, #f8d66d, #f5b942);
  color: #111827;
  border: 1px solid rgba(245, 185, 66, 0.65);
  box-shadow: 0 0 14px rgba(245, 185, 66, 0.28);
}

.biz-your-vote-pill {
  background: rgba(245, 185, 66, 0.18);
  border: 1px solid rgba(245, 185, 66, 0.35);
  color: var(--accent);
}

.biz-avatar-rank-neutral { color: rgba(255, 255, 255, 0.95); }
.biz-avatar-rank-tied,
.biz-avatar-rank-first { color: #5dffb0; }
.biz-avatar-rank-second { color: #93c5fd; }
.biz-avatar-rank-third { color: #fbbf24; }

.biz-vote-saved,
.biz-voted-line {
  margin-top: 0.65rem;
  text-align: center;
}

.biz-finalist-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.06);
}

.biz-finalist-img-empty {
  display: grid;
  place-items: center;
  color: rgba(245, 185, 66, 0.85);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background:
    radial-gradient(circle at 50% 20%, rgba(245, 185, 66, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.biz-finalist-img-generic {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
}

.biz-finalist-img-generic::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.12), transparent 32%);
  opacity: 0.7;
}

.biz-generic-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.biz-generic-icon-wrap svg {
  width: 2.2rem;
  height: 2.2rem;
}

.biz-generic-icon-wrap-small {
  width: 2.35rem;
  height: 2.35rem;
  border-width: 1px;
}

.biz-generic-icon-wrap-small svg {
  width: 1.2rem;
  height: 1.2rem;
}

.biz-generic-label {
  position: relative;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.biz-finalist-img-slot1 { background: linear-gradient(135deg, #1d4ed8, #4f46e5); }
.biz-finalist-img-slot2 { background: linear-gradient(135deg, #0f766e, #0891b2); }
.biz-finalist-img-slot3 { background: linear-gradient(135deg, #b45309, #d97706); }

.biz-finalist-body {
  padding: 0.8rem;
}

.biz-finalist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.biz-finalist-head h4 {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}

.biz-finalist-votes {
  margin: 0;
  white-space: nowrap;
  font-size: 0.78rem;
}

.biz-owner-line,
.biz-impact {
  margin: 0.35rem 0;
  line-height: 1.45;
}

.biz-recipient-badge {
  margin: 0.5rem 0;
  color: #111827;
  background: linear-gradient(135deg, #bbf7d0, #f8d66d);
}

.biz-paid-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.biz-paid-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  color: #052e16;
  background: #86efac;
  font-weight: 800;
}

/* Closed winner-card "Paid" badge — clearly green for players. */
.biz-winner-paid-meta {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  color: #052e16;
  background: #86efac;
  font-weight: 800;
  font-size: 0.72rem;
}

.biz-form {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.biz-form label {
  display: grid;
  gap: 0.32rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.biz-form input,
.biz-form select,
.biz-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font: inherit;
  padding: 0.68rem 0.75rem;
}

.biz-checkbox {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  color: var(--text) !important;
  font-weight: 500 !important;
}

.biz-checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.biz-form-actions {
  display: grid;
  gap: 0.45rem;
}

.biz-consent {
  margin: 0.25rem 0 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(245, 185, 66, 0.35);
  border-radius: 14px;
  background: rgba(245, 185, 66, 0.06);
  display: grid;
  gap: 0.55rem;
}

.biz-consent legend {
  padding: 0 0.4rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.biz-consent .hint {
  margin: 0;
}

.biz-consent .biz-checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}

.biz-consent .biz-checkbox input {
  width: auto;
  margin-top: 0.2rem;
}

.biz-boost-closed {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
  padding: 1.6rem 1.15rem;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 45%),
    rgba(255, 255, 255, 0.02);
}

.biz-boost-closed h3 {
  margin: 0;
}

.biz-boost-closed .muted {
  margin: 0;
  max-width: 38ch;
  line-height: 1.5;
}

.biz-closed-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.biz-boost-nominated {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(245, 185, 66, 0.45);
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 185, 66, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.04);
}

.biz-boost-nominated h3 {
  margin: 0 0 0.35rem;
}

.biz-gate-question {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.45;
}

.biz-gate-proof {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.12));
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.9rem;
  line-height: 1.4;
  cursor: pointer;
}

.biz-gate-proof input {
  margin-top: 0.15rem;
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.biz-gate-actions {
  display: grid;
  gap: 0.5rem;
}

.biz-nomination-celebrate {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

.biz-nomination-celebrate-ring {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(245, 185, 66, 0.25);
  border-top-color: var(--accent);
  animation: biz-nominate-spin 0.85s linear infinite;
}

.biz-nomination-celebrate h3 {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
}

#biz-nomination-reveal {
  animation: biz-nominate-in 0.55s ease-out;
}

@keyframes biz-nominate-spin {
  to { transform: rotate(360deg); }
}

@keyframes biz-nominate-in {
  from { opacity: 0; transform: translateY(0.65rem); }
  to { opacity: 1; transform: translateY(0); }
}

.biz-boost-thanks {
  text-align: center;
  padding: 1.5rem 1.1rem;
}

.biz-boost-thanks h3 {
  margin: 0 0 0.45rem;
}

.biz-boost-thanks .muted {
  margin: 0 auto;
  max-width: 36ch;
  line-height: 1.5;
}

/* Status header — colour shifts with the campaign state */
.biz-status-header {
  padding: 1rem;
  border-left: 4px solid var(--biz-state-color, rgba(255, 255, 255, 0.2));
  background:
    radial-gradient(circle at 0% 0%, var(--biz-state-glow, rgba(255, 255, 255, 0.06)), transparent 46%),
    rgba(255, 255, 255, 0.03);
}

.biz-status-header[data-biz-state="applications"] {
  --biz-state-color: #22c55e;
  --biz-state-glow: rgba(34, 197, 94, 0.18);
}

.biz-status-header[data-biz-state="voting"] {
  --biz-state-color: #60a5fa;
  --biz-state-glow: rgba(96, 165, 250, 0.18);
}

.biz-status-header[data-biz-state="voting_closed"] {
  --biz-state-color: #f59e0b;
  --biz-state-glow: rgba(245, 158, 11, 0.18);
}

.biz-status-header[data-biz-state="results"] {
  --biz-state-color: #f5b942;
  --biz-state-glow: rgba(245, 185, 66, 0.2);
}

.biz-status-header[data-biz-state="scheduled"] {
  --biz-state-color: #fbbf24;
  --biz-state-glow: rgba(251, 191, 36, 0.16);
}

.biz-status-header[data-biz-state="between"],
.biz-status-header[data-biz-state="closed"] {
  --biz-state-color: rgba(148, 163, 184, 0.7);
  --biz-state-glow: rgba(148, 163, 184, 0.12);
}

.biz-status-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.biz-status-emblem {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  font-size: 1.25rem;
  background: var(--biz-state-glow, rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.biz-status-headings {
  flex: 1 1 auto;
  min-width: 0;
}

.biz-status-headings h2 {
  margin: 0;
}

.biz-status-flag {
  flex: none;
  align-self: flex-start;
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0b1220;
  background: var(--biz-state-color, #e5e7eb);
}

.biz-status-header[data-biz-state="between"] .biz-status-flag,
.biz-status-header[data-biz-state="closed"] .biz-status-flag {
  color: var(--text);
  background: rgba(148, 163, 184, 0.22);
}

.biz-status-amount {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.biz-explainer {
  padding: 0.95rem 1rem;
}

.biz-explainer h3 {
  margin: 0 0 0.35rem;
}

.biz-explainer p {
  margin: 0;
  line-height: 1.5;
}

/* Collapsible "dropdown" sections */
.biz-dropdown {
  padding: 0.9rem 1rem;
}

.biz-dropdown > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text);
}

.biz-dropdown > summary::-webkit-details-marker {
  display: none;
}

.biz-dropdown > summary::after {
  content: "⌄";
  font-size: 1.1rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.18s ease;
}

.biz-dropdown[open] > summary::after {
  transform: rotate(180deg);
}

.biz-dropdown > summary + * {
  margin-top: 0.7rem;
}

.biz-others {
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}

/* Winner highlight */
.biz-finalist-card.is-winner {
  position: relative;
  border-color: rgba(245, 185, 66, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.35), 0 8px 24px rgba(245, 185, 66, 0.12);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 185, 66, 0.14), transparent 40%),
    rgba(255, 255, 255, 0.04);
}

.biz-finalist-card.is-top-boost {
  animation: bizTopBoostGlow 4.5s ease-in-out infinite;
}

@keyframes bizTopBoostGlow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.28), 0 8px 22px rgba(245, 185, 66, 0.1);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.5), 0 10px 30px rgba(245, 185, 66, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .biz-finalist-card.is-top-boost {
    animation: none;
  }
}

.biz-rank-ribbon {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: #111827;
  background: linear-gradient(135deg, #f8d66d, #f5b942);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.biz-finalist-grid-single {
  grid-template-columns: minmax(0, 1fr);
  max-width: 420px;
}

.biz-finalist-card.is-top-boost .biz-finalist-body h4 {
  font-size: 1.05rem;
}

.biz-runner-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.biz-runner-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.biz-runner-rank {
  flex: none;
  min-width: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.biz-runner-meta {
  display: grid;
  gap: 0.15rem;
}

.biz-closed-summary {
  padding: 1.1rem 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 0%, rgba(148, 163, 184, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.03);
}

.biz-closed-summary .biz-boost-kicker {
  margin-bottom: 0.35rem;
}

.biz-closed-total {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.biz-closed-cycle {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
}

.biz-winners-archive {
  text-align: left;
  margin-top: 0.25rem;
}

.biz-closed-latest-winners {
  margin: 0.85rem 0 0.35rem;
  text-align: left;
}

.biz-closed-latest-winners .pulse-bizboost-winners-panel {
  border: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.biz-closed-latest-winners .biz-section-head {
  margin-bottom: 0.55rem;
}

.biz-winners-all-link {
  margin: 0.75rem 0 0;
  text-align: center;
}

.biz-archive-cycle-rich .biz-archive-winners {
  margin-top: 0.65rem;
}

.biz-archive-cycle-rich .biz-finalist-grid {
  gap: 0.55rem;
}

.biz-archive-cycle {
  margin-top: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.biz-archive-cycle > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

.biz-archive-cycle > summary::-webkit-details-marker {
  display: none;
}

.biz-archive-cycle-total {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 800;
}

.pulse-bizboost-history-hint {
  margin: 0 0 0.65rem;
}

.pulse-bizboost-history-list {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.pulse-bizboost-history-btn {
  width: 100%;
  display: grid;
  gap: 0.25rem;
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.pulse-bizboost-history-btn.active {
  border-color: rgba(245, 185, 66, 0.45);
  background: rgba(245, 185, 66, 0.08);
}

.pulse-bizboost-history-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
}

.pulse-bizboost-history-title {
  font-size: 0.92rem;
}

.pulse-bizboost-history-date {
  flex: none;
  font-size: 0.78rem;
  color: var(--muted);
}

.pulse-bizboost-history-preview {
  font-size: 0.78rem;
}

.pulse-bizboost-winners-feed {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.pulse-bizboost-winners-feed .pulse-bizboost-winners-panel {
  margin: 0;
}

.pulse-bizboost-winners-feed .biz-section-head h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.biz-boost-note p {
  margin: 0;
  line-height: 1.5;
}

@media (min-width: 720px) {
  .biz-finalist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .biz-boost-hero,
  .biz-boost-section,
  .biz-boost-note {
    padding: 1rem 1.15rem;
  }
}

.pulse-lang-picker { margin-top: 0; }

.pulse-help-hub {
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.help-live-snapshot {
  margin-bottom: 0.65rem;
  padding: 0.85rem 1rem;
}

.help-live-head {
  margin-bottom: 0.65rem;
}

.help-live-title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
}

.help-live-source {
  margin: 0;
  font-size: 0.74rem;
}

.help-live-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

@media (min-width: 520px) {
  .help-live-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.help-live-card {
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.help-live-card-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.help-live-status {
  margin: 0 0 0.35rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.help-live-status-open {
  color: #4ade80;
}

.help-live-status-closed {
  color: var(--muted);
}

.help-live-line {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text);
}

.help-quick-asks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.help-quick-ask {
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.help-quick-ask:hover,
.help-quick-ask:focus-visible {
  border-color: rgba(245, 185, 66, 0.45);
  color: var(--accent);
  background: rgba(245, 185, 66, 0.08);
}

.pulse-lang-label {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-help-ai-block {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-help-ai-title {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.pulse-help-ai-lead {
  margin: 0 0 0.35rem;
}

.pulse-help-ai-topics {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text);
}

.pulse-help-ai-topics li {
  margin: 0.1rem 0;
}

.pulse-help-ai-escalate {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
}

.pulse-lang-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pulse-lang-btn {
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.pulse-lang-btn.active {
  border-color: rgba(245, 185, 66, 0.45);
  color: var(--accent);
  background: rgba(245, 185, 66, 0.1);
}

.pulse-ai-panel {
  padding: 0.25rem 0.15rem;
}

.pulse-ai-thread {
  min-height: 8rem;
  max-height: 14rem;
  overflow-y: auto;
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  padding: 0.55rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pulse-ai-bubble {
  max-width: 92%;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  font-size: 0.84rem;
  line-height: 1.4;
}

.pulse-ai-user {
  justify-self: end;
  background: rgba(245, 185, 66, 0.15);
  border: 1px solid rgba(245, 185, 66, 0.25);
}

.pulse-ai-bot {
  justify-self: start;
  background: rgba(255, 255, 255, 0.06);
}

.pulse-ai-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
}

.pulse-ai-form input {
  min-height: var(--touch);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  padding: 0 0.65rem;
  font-family: inherit;
}

.pulse-winners-page-hero {
  margin-bottom: 0.65rem;
}

.pulse-winners-page-spotlight,
.pulse-daily-winners-hero {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 185, 66, 0.25);
  background: rgba(245, 185, 66, 0.06);
}

.pulse-winners-premium-spotlight {
  padding: 0.85rem 0.9rem;
}

.pulse-winners-pane-title {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pulse-game-info-layer {
  margin-bottom: 0.65rem;
}

.pulse-info-layer {
  padding: 0.85rem 0.9rem;
}

.pulse-info-title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.pulse-info-lead {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.pulse-info-tiers {
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.pulse-info-tiers li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
}

.pulse-info-tiers li:last-child { border-bottom: none; }

.pulse-info-tiers strong {
  color: var(--accent);
  font-weight: 800;
  text-align: right;
}

.pulse-info-notice {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid rgba(245, 185, 66, 0.18);
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--muted);
}

.pulse-info-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.btn-sm {
  padding: 0.42rem 0.7rem;
  font-size: 0.76rem;
  min-height: 0;
}

.pulse-draw-line {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.pulse-coming-soon-card {
  padding: 0.9rem;
  text-align: center;
}

.pulse-metric-link {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
}

.pulse-metric-link:active {
  background: rgba(245, 185, 66, 0.1);
}

.pulse-winners-feed {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.pulse-winners-feed li {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pulse-daily-night-feed .pulse-daily-tier-head {
  padding: 0.55rem 0.65rem 0.25rem;
  border-bottom: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse-daily-night-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.pulse-daily-night-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
}

.pulse-daily-night-amt {
  flex: 0 0 auto;
  font-size: 0.82rem;
  color: var(--accent, #f5b942);
}

.pulse-daily-smile-wrap {
  padding: 0.25rem 0.35rem 0.55rem !important;
  border-bottom: none !important;
}

.pulse-daily-smile-details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.35rem 0.55rem;
}

.pulse-daily-smile-details > summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.25rem 0;
}

.pulse-daily-smile-details > summary::-webkit-details-marker {
  display: none;
}

.pulse-daily-smile-list {
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.pulse-daily-smile-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pulse-daily-smile-list li:last-child {
  border-bottom: none;
}

.pulse-daily-winners-block {
  margin-bottom: 0.75rem;
}

.pulse-section-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pulse-winners-filter {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.pulse-filter-btn {
  flex: 1;
  padding: 0.45rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.pulse-filter-btn.active {
  color: var(--accent);
  border-color: rgba(245, 185, 66, 0.4);
  background: rgba(245, 185, 66, 0.1);
}

.pulse-footer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.75rem 0 0.25rem;
}

.pulse-footer span[aria-hidden="true"] {
  margin: 0 0.35rem;
  color: rgba(159, 179, 200, 0.55);
}

.pulse-footer a,
.pulse-footer a:visited,
.legal-links a,
.legal-links a:visited,
.legal-footer a,
.legal-footer a:visited,
.auth-legal-footer a,
.auth-legal-footer a:visited,
.guidance-page .legal-links a,
.guidance-page .legal-links a:visited,
.guidance-back,
.guidance-back:visited,
.pulse-info-link,
.pulse-info-link:visited,
.pulse-membership-footnote a,
.pulse-membership-footnote a:visited,
.pulse-membership-note a,
.pulse-membership-note a:visited {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(245, 185, 66, 0.45);
  text-underline-offset: 0.15em;
}

.pulse-footer a:hover,
.legal-links a:hover,
.legal-footer a:hover,
.auth-legal-footer a:hover,
.guidance-page .legal-links a:hover,
.guidance-back:hover,
.pulse-info-link:hover,
.pulse-membership-footnote a:hover,
.pulse-membership-note a:hover {
  color: #ffd978;
  text-decoration-color: rgba(255, 217, 120, 0.65);
}

.pulse-footer a:focus-visible,
.legal-links a:focus-visible,
.legal-footer a:focus-visible,
.auth-legal-footer a:focus-visible,
.guidance-page .legal-links a:focus-visible,
.pulse-info-link:focus-visible,
.pulse-membership-footnote a:focus-visible,
.pulse-membership-note a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.pulse-info-link {
  font-size: 0.76rem;
  text-decoration: none;
}

.pulse-info-link:hover { text-decoration: underline; }

.draw-journey {
  margin-top: 0.55rem;
  padding-top: 0.35rem;
}

.draw-journey-compact {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.draw-journey h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 0.88rem;
  color: var(--accent);
}

.draw-journey h3:first-child,
.draw-journey-compact h3 {
  margin-top: 0;
}

.draw-journey h4 {
  margin: 0.7rem 0 0.35rem;
  font-size: 0.8rem;
  color: var(--accent);
}

.draw-journey p {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.draw-journey p strong {
  color: #e8eef6;
  font-weight: 700;
}

.draw-journey-flow {
  color: var(--accent) !important;
  font-size: 0.74rem !important;
  letter-spacing: 0.01em;
}

.draw-journey-close {
  color: #e8eef6 !important;
  font-weight: 700;
  margin-bottom: 0.25rem !important;
}

.draw-journey-tag {
  margin-top: 0.55rem !important;
  color: var(--accent) !important;
  font-weight: 700;
}

.draw-journey .pulse-info-link {
  display: inline-block;
  margin-top: 0.35rem;
}

.signout-short,
.signout-full {
  display: inline;
}

.bottom-nav-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

[data-hub-layout="v3"] .help-wizard {
  display: grid !important;
}

[data-hub-layout="v3"] #support-form-wrap:not(.is-open) {
  display: none;
}

[data-hub-layout="v3"] #support-category-fieldset:not(.wizard-advanced) {
  display: none;
}

[data-hub-layout="v3"] .help-subtabs {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.45rem;
}

[data-hub-layout="v3"] .help-subtab {
  flex: 1;
  padding: 0.65rem;
  font-weight: 700;
}

[data-hub-layout="v3"] .help-wizard-tile {
  transition: transform 0.12s ease, border-color 0.12s ease;
}

[data-hub-layout="v3"] .help-wizard-tile:active {
  transform: scale(0.98);
  border-color: rgba(245, 185, 66, 0.35);
}

body:not(.hub-user-authed) .pulse-membership-note-guest {
  display: block;
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.78rem;
}

.pulse-membership-note {
  margin-top: 0.35rem;
  text-align: center;
}

.pulse-membership-note .hint {
  margin: 0;
  font-size: 0.78rem;
}

.pulse-membership-note a {
  color: var(--accent);
  font-weight: 700;
}

body:not(.hub-user-authed) .hub-user-authed-only {
  display: none !important;
}

body.hub-user-authed .hub-guest-only {
  display: none !important;
}

/* ——— Pulse v3.1: product rail · carousel · play dock · winners wall ——— */
.pulse-header-more {
  display: none;
  font-size: 1rem;
  line-height: 1;
}

.pulse-product-rail {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.15rem 0.35rem 0.55rem;
  margin: 0 auto 0.35rem;
  max-width: 100%;
  scroll-padding-inline: 0.35rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.pulse-product-rail.is-centered,
.pulse-product-rail {
  justify-content: center;
}

body:not(.hub-user-authed) #header-sign-out-btn {
  display: none !important;
}

body.hub-user-authed #header-sign-out-btn {
  display: inline-flex !important;
}

body.hub-user-authed #bottom-nav-pulse-guest {
  display: none !important;
}

body.hub-user-authed #bottom-nav-pulse-auth {
  display: grid !important;
}

body:not(.hub-user-authed) #bottom-nav-pulse-auth {
  display: none !important;
}

.pulse-product-rail::-webkit-scrollbar { display: none; }

.pulse-product-chip {
  flex: 0 0 4.85rem;
  display: grid;
  gap: 0.1rem;
  justify-items: center;
  padding: 0.55rem 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  scroll-snap-align: start;
}

.pulse-game-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  max-width: 100%;
  flex-wrap: wrap;
}

.pulse-game-icon {
  font-size: 1rem;
  line-height: 1;
}

.pulse-game-name {
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.15;
}

.pulse-product-status {
  font-size: 0.58rem;
  color: var(--muted);
  line-height: 1.2;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-activity-chip {
  display: inline-block;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.14rem 0.32rem;
  border-radius: 999px;
  max-width: 100%;
  white-space: nowrap;
}

.pulse-activity-chip-open {
  background: rgba(93, 255, 176, 0.14);
  color: var(--success);
  border: 1px solid rgba(93, 255, 176, 0.28);
}

.pulse-activity-chip-results {
  background: rgba(245, 185, 66, 0.14);
  color: var(--accent);
  border: 1px solid rgba(245, 185, 66, 0.28);
}

.pulse-activity-chip-closed {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-activity-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1.5px solid rgba(19, 42, 69, 0.95);
  box-sizing: border-box;
}

.pulse-activity-mail {
  font-size: 0.55rem;
  line-height: 1;
  padding: 0.05rem 0.12rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(74, 222, 128, 0.4);
  flex-shrink: 0;
}

.pulse-status-activity.pulse-activity-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-color: rgba(255, 255, 255, 0.12);
}

.pulse-product-more {
  flex-basis: 3.85rem;
}

.pulse-product-chip.active {
  border-color: rgba(245, 185, 66, 0.5);
  background: rgba(245, 185, 66, 0.12);
}

.pulse-product-icon { font-size: 1.2rem; }
.pulse-product-label { font-size: 0.68rem; font-weight: 800; }
.pulse-product-prize { font-size: 0.6rem; font-weight: 700; }
.pulse-product-prize.pulse-prize-live { color: #4ade80; }
.pulse-product-prize.pulse-prize-gold,
.pulse-play-row-prize.pulse-prize-gold { color: var(--accent); }
.pulse-play-row-prize.pulse-prize-live { color: #4ade80; }

.pulse-play-row-info {
  display: grid;
  gap: 0.2rem;
  padding: 0.6rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  min-width: 0;
}

.pulse-play-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-width: 0;
}

.pulse-play-row-head .pulse-game-title-row {
  justify-content: flex-start;
  flex: 1;
  min-width: 0;
}

.pulse-play-row-head .pulse-game-name {
  font-size: 0.86rem;
}

.pulse-play-row-status {
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
  padding-left: 0.62rem;
}

.pulse-product-member {
  font-size: 0.58rem;
  font-weight: 800;
  color: var(--success);
  text-transform: uppercase;
}

.pulse-product-sub {
  font-size: 0.55rem;
  color: var(--muted);
}

.pulse-product-icon-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
}

.pulse-product-icon-wrap .pulse-product-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.pulse-activity-personal {
  position: absolute;
  left: -0.2rem;
  top: -0.15rem;
  font-size: 0.52rem;
  line-height: 1;
  padding: 0.1rem 0.14rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.22);
  border: 1px solid rgba(74, 222, 128, 0.45);
}

.pulse-play-row-info .pulse-product-icon-wrap {
  flex-shrink: 0;
}

.pulse-activity-idle,
.pulse-activity-coming {
  background: #94a3b8;
}

.pulse-activity-scheduled,
.pulse-activity-voting {
  background: #60a5fa;
}

.pulse-activity-live,
.pulse-activity-nominations {
  background: #4ade80;
}

.pulse-activity-closed,
.pulse-activity-play_closed {
  background: #fbbf24;
}

.pulse-activity-drawing {
  background: #c084fc;
}

.pulse-activity-results {
  background: #f5b942;
}

.pulse-activity-maintenance {
  background: #f87171;
}

.pulse-activity-pulse {
  animation: pulse-activity-soft 2.6s ease-in-out infinite;
}

@keyframes pulse-activity-soft {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.pulse-activity-personal {
  position: absolute;
  left: -0.2rem;
  top: -0.15rem;
  font-size: 0.52rem;
  line-height: 1;
  padding: 0.1rem 0.14rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.22);
  border: 1px solid rgba(74, 222, 128, 0.45);
}

.pulse-play-row-info .pulse-product-icon-wrap {
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pulse-promo-carousel {
  margin-bottom: 0.65rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-promo-track {
  overflow: hidden;
}

.pulse-promo-track.pulse-promo-animate .pulse-promo-slide {
  animation: pulse-promo-in 0.45s ease-out;
}

@keyframes pulse-promo-in {
  from {
    opacity: 0;
    transform: translateX(12%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.pulse-promo-slide {
  padding: 1rem 0.9rem 0.85rem;
  min-height: 9.5rem;
  display: grid;
  align-content: end;
  gap: 0.35rem;
  text-align: center;
}

.pulse-promo-daily {
  background: linear-gradient(160deg, rgba(245, 185, 66, 0.22) 0%, rgba(19, 42, 69, 0.98) 70%);
}

.pulse-promo-premium {
  background: linear-gradient(160deg, rgba(96, 165, 250, 0.2) 0%, rgba(19, 42, 69, 0.98) 70%);
}

.pulse-promo-select,
.pulse-promo-care {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(19, 42, 69, 0.98) 70%);
}

.pulse-promo-winners-flash {
  background: linear-gradient(160deg, rgba(245, 185, 66, 0.35) 0%, rgba(34, 197, 94, 0.15) 45%, rgba(19, 42, 69, 0.98) 75%);
}

.pulse-promo-info-sales {
  background: linear-gradient(160deg, rgba(96, 165, 250, 0.25) 0%, rgba(19, 42, 69, 0.98) 70%);
}

.pulse-promo-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.pulse-promo-headline {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.2;
}

.pulse-promo-body {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
}

.pulse-promo-cta {
  justify-self: center;
  min-width: 10rem;
}

.pulse-promo-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0 0.55rem;
  background: rgba(0, 0, 0, 0.25);
}

.pulse-promo-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

.pulse-promo-dot.active {
  background: var(--accent);
  transform: scale(1.15);
}

.pulse-play-dock {
  margin-bottom: 0.65rem;
}

.pulse-play-dock-title {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse-play-dock-list {
  display: grid;
  gap: 0.4rem;
}

.pulse-play-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem;
  align-items: stretch;
}

.pulse-play-row.is-soon .pulse-play-row-btn {
  opacity: 0.55;
}

.pulse-play-row.is-results .pulse-play-row-btn {
  opacity: 1;
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(74, 222, 128, 0.14);
  color: #4ade80;
}

.pulse-play-row-prize {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

.pulse-play-row-btn {
  min-width: 4.5rem;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(245, 185, 66, 0.45);
  background: rgba(245, 185, 66, 0.15);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}

.pulse-winners-showcase {
  margin-bottom: 0.65rem;
  padding: 0.75rem 0.7rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.pulse-winners-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.pulse-winners-title {
  margin: 0;
  font-size: 0.95rem;
}

.pulse-winners-sub {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.pulse-major-winners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.pulse-winner-card {
  display: grid;
  gap: 0.12rem;
  padding: 0.5rem 0.4rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  min-width: 0;
}

.pulse-winner-card.is-clickable {
  cursor: pointer;
  transition: border-color 0.15s, transform 0.15s;
}

.pulse-winner-card.is-clickable:active {
  transform: scale(0.98);
}

.pulse-winner-card.is-star {
  border-color: rgba(245, 185, 66, 0.35);
  background: rgba(245, 185, 66, 0.08);
}

.pulse-winner-tier {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse-winner-name {
  font-size: 0.72rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pulse-winner-amt {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent);
}

.pulse-winner-lane { margin-bottom: 0.45rem; }
.pulse-winner-lane:last-child { margin-bottom: 0; }

.pulse-winner-lane-title {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.pulse-premium-week-select-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin: 0.35rem 0 0.5rem;
  font-size: 0.76rem;
}

.pulse-premium-week-select {
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 0.85rem;
}

.pulse-premium-page-winners {
  margin: 0.25rem 0 0.5rem;
}

.pulse-winner-scroll {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}

.pulse-winner-chip {
  flex: 0 0 auto;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.68rem;
  white-space: nowrap;
}

.pulse-winner-chip strong { color: var(--text); }

.pulse-winner-chip.is-clickable {
  cursor: pointer;
}

.pulse-metrics-slim {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.pulse-metric-slim {
  flex: 1 1 40%;
  display: grid;
  gap: 0.1rem;
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.68rem;
}

body.hub-user-authed .hub-guest-only {
  display: none !important;
}

/* iPhone SE (320×568) & narrow phones */
@media (max-width: 389px) {
  [data-hub-layout="v3"] body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  [data-hub-layout="v3"] .app-header {
    padding-left: max(0.55rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.55rem, env(safe-area-inset-right, 0px));
    padding-bottom: 0.4rem;
    gap: 0.3rem;
  }

  [data-hub-layout="v3"] main.hub-app {
    padding-left: max(0.55rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.55rem, env(safe-area-inset-right, 0px));
  }

  [data-hub-layout="v3"] .header-actions {
    gap: 0.3rem;
  }

  [data-hub-layout="v3"] .btn-header-icon-only {
    width: 2.15rem;
    height: 2.15rem;
  }

  .pulse-header-more {
    display: inline-flex !important;
  }

  .pulse-board-welcome {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
  }

  .pulse-product-rail {
    gap: 0.35rem;
    margin-bottom: 0.3rem;
  }

  .pulse-product-chip {
    flex-basis: 3.6rem;
    padding: 0.42rem 0.2rem;
    border-radius: 10px;
  }

  .pulse-product-more {
    display: none;
  }

  .pulse-product-icon { font-size: 1rem; }
  .pulse-product-label { font-size: 0.6rem; }
  .pulse-product-prize { font-size: 0.54rem; }
  .pulse-product-member { font-size: 0.5rem; }

  .pulse-ticker {
    padding: 0.32rem 0.55rem;
    gap: 0.28rem;
  }

  .pulse-ticker.pulse-ticker-enhanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pulse-ticker-item {
    padding: 0.32rem 0.35rem;
    border-radius: 10px;
  }

  .pulse-ticker-label { font-size: 0.66rem; }
  .pulse-ticker-hint { font-size: 0.54rem; }

  .pulse-promo-carousel {
    margin-bottom: 0.45rem;
  }

  .pulse-promo-slide {
    min-height: 6.5rem;
    padding: 0.7rem 0.7rem 0.65rem;
    gap: 0.22rem;
  }

  .pulse-promo-headline {
    font-size: 1rem;
    line-height: 1.15;
  }

  .pulse-promo-body {
    font-size: 0.74rem;
    margin-bottom: 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .pulse-promo-cta {
    min-width: 0;
    width: 100%;
    justify-self: stretch;
    padding: 0.5rem 0.65rem;
    font-size: 0.8rem;
  }

  .pulse-promo-dots {
    padding: 0.35rem 0 0.45rem;
  }

  .pulse-play-dock {
    margin-bottom: 0.45rem;
  }

  .pulse-play-row {
    grid-template-columns: 1fr;
    gap: 0.28rem;
  }

  .pulse-play-row-info {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    padding: 0.48rem 0.5rem;
    gap: 0.15rem 0.4rem;
  }

  .pulse-play-row-icon {
    grid-row: 1 / span 2;
    align-self: center;
  }

  .pulse-play-row-prize {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    font-size: 0.64rem;
  }

  .pulse-play-row-text {
    grid-column: 2;
    grid-row: 2;
  }

  .pulse-play-row-text strong { font-size: 0.8rem; }
  .pulse-play-row-text span { font-size: 0.64rem; }

  .pulse-play-row-btn {
    min-width: 0;
    width: 100%;
    min-height: 2.45rem;
  }

  .pulse-winners-showcase {
    padding: 0.55rem 0.5rem;
    margin-bottom: 0.45rem;
  }

  .pulse-winners-title { font-size: 0.88rem; }
  .pulse-winners-sub { font-size: 0.66rem; margin-bottom: 0.4rem; }

  .pulse-major-winners {
    gap: 0.28rem;
  }

  .pulse-winner-card {
    padding: 0.4rem 0.3rem;
  }

  .pulse-winner-name { font-size: 0.66rem; }

  .pulse-metrics-slim {
    margin-bottom: 0.35rem;
    gap: 0.28rem;
  }

  .pulse-metric-slim {
    padding: 0.32rem 0.4rem;
    font-size: 0.62rem;
  }

  .profile-display-row {
    grid-template-columns: 1fr;
    gap: 0.08rem;
    padding-bottom: 0.35rem;
  }

  .profile-display-row dt {
    font-size: 0.62rem;
  }

  .profile-display-row dd {
    font-size: 0.82rem;
  }

  .profile-card-head h2 {
    font-size: 0.92rem;
  }

  .profile-card-head .btn-sm {
    padding: 0.32rem 0.5rem;
    font-size: 0.68rem;
    min-height: 2rem;
  }

  .premium-plan-card {
    padding: 0.65rem 0.7rem;
  }

  .premium-plan-name {
    font-size: 0.88rem;
  }

  .premium-plan-price {
    font-size: 1rem;
  }

  .premium-plan-btn {
    min-height: 2.25rem;
    font-size: 0.76rem;
  }

  .pulse-membership-tier {
    font-size: 1.05rem;
  }

  .pulse-membership-footnote {
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .pulse-share-panel {
    padding: 0.85rem;
    width: 100%;
  }

  .pulse-share-channel {
    font-size: 0.72rem;
    min-height: 2.2rem;
  }

  .pulse-embedded-panel .account-panel-card,
  .pulse-embedded-panel .pulse-membership-card {
    padding: 0.75rem 0.8rem;
  }

  .pulse-game-action-bar {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 389px) and (max-height: 700px) {
  .pulse-promo-slide {
    min-height: 6rem;
  }

  .pulse-ai-teaser h2 {
    font-size: 0.92rem;
    margin: 0 0 0.2rem;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.account-session-card {
  padding: 0.9rem 1rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(245, 185, 66, 0.25);
  background: rgba(245, 185, 66, 0.06);
}

.account-session-label {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.account-session-email {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  word-break: break-word;
}

.account-signout-hint {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
}

.login-still-signed-in {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.login-still-signed-in-text {
  margin: 0 0 0.55rem;
}

.btn-header-auth {
  min-height: 2.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  border: 1px solid rgba(245, 185, 66, 0.45);
  background: rgba(245, 185, 66, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

.btn-header-signout {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.header-session-email {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  text-align: right;
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 0.35rem;
}

.guest-account-hint {
  text-align: center;
  margin: 0.5rem 0 0.35rem;
  font-size: 0.82rem;
}

.app-header.is-authed {
  border-bottom-color: rgba(245, 185, 66, 0.22);
}

[data-hub-layout="v2"] .btn-logout {
  padding: 0.4rem 0.65rem;
  font-size: 0.78rem;
}

@media (max-width: 380px) {
  [data-hub-layout="v2"] #header-user-tier {
    display: none;
  }

  [data-hub-layout="v2"] .header-user-name {
    max-width: 5.5rem;
  }

  [data-hub-layout="v2"] .btn-logout {
    padding: 0.35rem 0.5rem;
    font-size: 0.72rem;
  }
}

.header-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(245, 185, 66, 0.2);
  color: var(--accent);
  border: 1px solid rgba(245, 185, 66, 0.35);
  flex-shrink: 0;
}

.header-user-block {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.header-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-user-tier.badge {
  justify-self: start;
  font-size: 0.62rem;
  padding: 0.12rem 0.4rem;
}

.hub-layout-toggle-wrap {
  text-align: center;
  margin: 0.25rem 0 0.5rem;
}

.hub-layout-toggle {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.72rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  padding: 0.35rem;
}

.guest-v2-tagline {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.hub-alert-strip {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  background: rgba(245, 185, 66, 0.1);
  border: 1px solid rgba(245, 185, 66, 0.28);
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
}

.hub-alert-strip.win {
  background: rgba(93, 255, 176, 0.08);
  border-color: rgba(93, 255, 176, 0.28);
}

.hub-alert-strip.closed {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.hub-alert-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.hub-prize-board {
  padding: 0.85rem 0.9rem;
  margin-bottom: 0.45rem;
}

.prize-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.prize-board-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hub-prize-star {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid rgba(245, 185, 66, 0.2);
}

.hub-prize-star-label {
  font-size: 0.82rem;
  font-weight: 600;
}

.hub-prize-star-amount {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}

.hub-prize-tier-list {
  list-style: none;
  margin: 0 0 0.55rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.hub-prize-tier-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.84rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-prize-tier-row.is-highlight .hub-prize-tier-name {
  color: var(--accent);
}

.hub-prize-tier-amt {
  font-weight: 700;
  white-space: nowrap;
}

.hub-prize-play-btn.is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

.home-v2-personal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.45rem;
}

.home-v2-sub {
  font-size: 0.78rem;
}

.hub-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0;
}

.hub-quick-link {
  flex: 1 1 auto;
  min-width: 4.5rem;
  text-align: center;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
}

.hub-roadmap {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.45rem;
}

.hub-roadmap-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.hub-roadmap-label {
  font-weight: 700;
  color: var(--muted);
}

.hub-roadmap-value {
  text-align: right;
}

.help-wizard-lead {
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.help-wizard-tiles {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.help-wizard-tile {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}

.help-wizard-tile-title {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.2rem;
}

.help-wizard-tile-hint {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
}

.help-wizard-advanced {
  display: block;
  margin: 0 auto;
  text-align: center;
}

[data-hub-layout="classic"] .help-wizard,
[data-hub-layout="classic"] .support-form-back,
[data-hub-layout="classic"] .support-wizard-summary {
  display: none !important;
}

[data-hub-layout="v2"] #support-form-wrap:not(.is-open),
[data-hub-layout="v3"] #support-form-wrap:not(.is-open) {
  display: none;
}

[data-hub-layout="v2"] #support-category-fieldset:not(.wizard-advanced),
[data-hub-layout="v3"] #support-category-fieldset:not(.wizard-advanced) {
  display: none;
}

.support-wizard-summary {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .hub-prize-board {
    padding: 1rem 1.1rem;
  }

  .hub-prize-tier-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }
}

.pulse-care-body,
.pulse-care-vote-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.pulse-care-form {
  margin-top: 0.75rem;
}

.pulse-care-finalists {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pulse-care-vote-hint {
  margin: -0.25rem 0 0.65rem;
  font-size: 0.82rem;
}

.pulse-care-finalist-head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.55rem;
}

.pulse-care-finalist-avatar {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(245, 185, 66, 0.14);
  border: 1px solid rgba(245, 185, 66, 0.28);
  color: var(--accent);
}

.pulse-care-finalist-avatar svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pulse-care-finalist-meta {
  min-width: 0;
  flex: 1;
}

.pulse-care-finalist-name {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.pulse-care-finalist-category,
.pulse-care-finalist-location,
.pulse-care-finalist-votes {
  margin: 0.12rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
}

.pulse-care-finalist-label {
  margin: 0.45rem 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.pulse-care-finalist-body .pulse-care-finalist-label:first-child {
  margin-top: 0;
}

.pulse-care-finalist .pulse-care-story {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.pulse-care-story-urgency {
  color: var(--text);
  opacity: 0.92;
}

.pulse-care-finalist-compact.is-my-vote,
.pulse-care-finalist.is-my-vote {
  border-color: rgba(245, 185, 66, 0.45);
  box-shadow: 0 0 0 1px rgba(245, 185, 66, 0.12);
}

.pulse-care-avatar-rank-neutral {
  background: rgba(245, 185, 66, 0.14);
  border-color: rgba(245, 185, 66, 0.28);
  color: var(--accent);
}

.pulse-care-avatar-rank-tied,
.pulse-care-avatar-rank-first {
  background: rgba(93, 255, 176, 0.14);
  border-color: rgba(93, 255, 176, 0.35);
  color: #5dffb0;
}

.pulse-care-avatar-rank-second {
  background: rgba(96, 165, 250, 0.14);
  border-color: rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.pulse-care-avatar-rank-third {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.32);
  color: #fbbf24;
}

.pulse-care-finalist-compact-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.35rem;
}

.pulse-care-finalist-rank-pill {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.08rem 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.pulse-care-your-vote-pill {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.08rem 0.32rem;
  border-radius: 999px;
  background: rgba(245, 185, 66, 0.18);
  border: 1px solid rgba(245, 185, 66, 0.35);
  color: var(--accent);
}

.pulse-care-finalist-expand-head {
  font-size: 0.78rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.pulse-care-finalist-source {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
  line-height: 1.35;
}

.pulse-care-finalists-voted {
  gap: 0.5rem;
}

.pulse-care-finalist-compact {
  padding: 0;
  overflow: hidden;
}

.pulse-care-finalist-compact-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.pulse-care-finalist-avatar-small {
  width: 2rem;
  height: 2rem;
}

.pulse-care-finalist-avatar-small svg {
  width: 1.1rem;
  height: 1.1rem;
}

.pulse-care-finalist-compact-meta {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.05rem;
}

.pulse-care-finalist-compact-name {
  font-size: 0.88rem;
  font-weight: 700;
}

.pulse-care-finalist-compact-votes {
  font-size: 0.76rem;
  color: var(--muted);
}

.pulse-care-finalist-compact-chevron {
  font-size: 1.1rem;
  color: var(--muted);
  transition: transform 0.15s ease;
}

.pulse-care-finalist-compact.is-expanded .pulse-care-finalist-compact-chevron {
  transform: rotate(90deg);
}

.pulse-care-finalist-expand {
  padding: 0 0.65rem 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pulse-care-finalist-expand .pulse-care-finalist-body {
  margin-top: 0.45rem;
}

.pulse-care-finalist-invited {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
}

.pulse-care-voted {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
}

.pulse-care-ambassador-actions,
.pulse-care-share-panel {
  margin-top: 0.75rem;
}

.pulse-care-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.pulse-care-form-head .pulse-hub-section-title {
  margin: 0;
}

.pulse-care-field-hint,
.pulse-care-word-count {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  line-height: 1.35;
}

.pulse-care-word-count.is-over {
  color: #f87171;
}

.pulse-care-disclaimer {
  margin: 0 0 0.5rem;
  font-size: 0.76rem;
  line-height: 1.4;
}

.pulse-care-share-panel {
  text-align: center;
  padding: 1rem;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.pulse-care-share-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  width: 100%;
}

.pulse-care-share-brand .brand-name {
  font-size: 1.05rem;
}

#pulse-view-care .pulse-game-hub-care {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

#pulse-view-care .surface-card {
  max-width: 100%;
  box-sizing: border-box;
}

.pulse-care-share-lead {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 0 0.15rem;
}

.pulse-care-share-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 0.65rem;
}

.pulse-care-share-qr {
  display: block;
  border-radius: 12px;
  background: #fff;
  padding: 0.35rem;
}

.pulse-care-share-url-link {
  display: block;
  white-space: nowrap;
  overflow-x: auto;
  color: var(--accent);
  text-decoration: underline;
  margin-top: 0.35rem;
  max-width: 100%;
}

.pulse-care-share-open {
  margin: 0.75rem 0;
}

.pulse-care-share-url {
  word-break: normal;
  overflow-x: auto;
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  line-height: 1.4;
  -webkit-overflow-scrolling: touch;
}

.pulse-care-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.65rem;
  box-sizing: border-box;
}

.pulse-care-share-grid .pulse-share-channel {
  min-width: 0;
  width: 100%;
  font-size: 0.74rem;
  padding: 0.5rem 0.4rem;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .pulse-care-share-grid {
    grid-template-columns: 1fr;
  }

  .pulse-care-share-qr {
    max-width: min(200px, 72vw);
    height: auto;
  }
}

.pulse-care-phase-status {
  margin-bottom: 0.75rem;
}

/* Community Care — mobile transparency (paid out, winner hero, collapsed nomination) */
@media (max-width: 768px) {
  .pulse-community-card.is-care .pulse-community-paid-out {
    color: #4ade80;
    font-weight: 700;
  }

  .pulse-care-status-results .pulse-status-text strong {
    font-size: 0.95rem;
  }

  .pulse-care-status-results .pulse-care-paid-line {
    color: #4ade80;
    font-weight: 700;
  }

  .pulse-care-winner-hero {
    padding: 1rem 1.05rem;
    border-radius: 14px;
    border: 1px solid rgba(74, 222, 128, 0.22);
    background: linear-gradient(160deg, rgba(74, 222, 128, 0.1) 0%, rgba(15, 23, 42, 0.35) 55%);
  }

  .pulse-care-winner-hero.is-paid {
    border-color: rgba(74, 222, 128, 0.45);
    box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.08);
  }

  .pulse-care-winner-hero-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4ade80;
  }

  .pulse-care-winner-hero-name {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 800;
  }

  .pulse-care-winner-hero-meta {
    margin: 0.35rem 0 0;
    font-size: 0.86rem;
    color: var(--muted);
  }

  .pulse-care-winner-hero-amt {
    margin: 0.65rem 0 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #4ade80;
  }

  .pulse-care-winner-hero-votes {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
  }

  .pulse-care-collapsible {
    margin-top: 0.75rem;
    padding: 0;
    overflow: hidden;
  }

  .pulse-care-collapsible-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.1rem 0.5rem;
    align-items: center;
    padding: 0.75rem 0.85rem;
    cursor: pointer;
    list-style: none;
  }

  .pulse-care-collapsible-summary::-webkit-details-marker {
    display: none;
  }

  .pulse-care-collapsible-kicker {
    grid-column: 1 / -1;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .pulse-care-collapsible-title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.3;
  }

  .pulse-care-collapsible-chevron {
    font-size: 1.1rem;
    color: var(--muted);
    transition: transform 0.15s ease;
  }

  .pulse-care-collapsible[open] .pulse-care-collapsible-chevron {
    transform: rotate(90deg);
  }

  .pulse-care-collapsible-body {
    padding: 0 0.85rem 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .pulse-care-collapsible-body p {
    margin: 0.45rem 0 0;
    font-size: 0.8rem;
  }

  .pulse-care-sponsors-drop {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.78rem;
  }

  .pulse-care-sponsors-drop summary {
    cursor: pointer;
    color: var(--muted);
    font-weight: 600;
  }

  .pulse-care-sponsors-list {
    margin: 0.45rem 0 0;
    padding-left: 1.1rem;
    color: var(--muted);
  }

  .pulse-care-sponsors-list li {
    margin: 0.2rem 0;
  }

  .pulse-care-sponsors-list strong {
    color: var(--text);
  }
}

.pulse-care-countdown {
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
}

.pulse-care-countdown-label {
  margin: 0;
  font-size: 0.9rem;
}

.pulse-care-countdown-note {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
}

.pulse-care-finalists-curiosity .pulse-care-finalist-compact-meta {
  gap: 0.2rem;
}

.pulse-care-back-options {
  margin-top: 0.25rem;
}

.care-field-label {
  font-weight: 600;
}

.care-req {
  color: var(--accent);
}

/* PWA install banner — additive; does not affect game layouts */
.hub-install-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 10px 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(245, 185, 66, 0.35);
  background: var(--surface);
  color: var(--text);
}
.hub-install-banner[hidden] {
  display: none !important;
}
.hub-install-copy {
  min-width: 0;
  flex: 1;
}
.hub-install-copy strong {
  font-size: 0.95rem;
}
.hub-install-sub {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.hub-install-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.hub-install-actions .btn {
  width: auto;
  min-width: 96px;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 0.85rem;
}
.hub-install-dismiss {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(159, 179, 200, 0.35);
}
@media (max-width: 380px) {
  .hub-install-banner {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-install-actions {
    flex-direction: row;
  }
  .hub-install-actions .btn {
    flex: 1;
  }
}

.pulse-result-board {
  padding: 1rem;
}

.pulse-result-lead,
.pulse-result-note {
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0.35rem 0 0.5rem;
}

.pulse-result-date {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.pulse-result-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pulse-result-cat { font-weight: 700; font-size: 0.85rem; }
.pulse-result-code { font-size: 0.82rem; letter-spacing: 0.04em; }
.pulse-result-status { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; }
.pulse-result-row.is-won { border-color: rgba(93, 255, 176, 0.45); background: rgba(93, 255, 176, 0.08); }
.pulse-result-row.is-won .pulse-result-status { color: var(--success); }
.pulse-result-row.is-none { border-color: rgba(220, 38, 38, 0.45); background: var(--danger-soft); }
.pulse-result-row.is-none .pulse-result-status { color: #fca5a5; }
