/* Club guides: leaderboards, tournaments, party and invite links (/leaderboards/, /tournaments/,
   /play-with-friends/ and the /sr/ pages). Built on the club theme of shop.css (.page-club):
   the hero, sections, glass cards, FAQ and CTA come from there; this file adds the mockups. */

.page-guide .club-hero {
  min-height: min(820px, calc(100vh - var(--header-h)));
  min-height: min(820px, calc(100svh - var(--header-h)));
}

.page-guide .club-hero h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

/* The floating suits are sized for small tiles in shop.css; the hero needs them large */
.club-hero .backdrop-suits .suit {
  font-size: calc(var(--scale) * 72px);
}

.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--club-muted);
  font-size: 0.85rem;
}

.guide-breadcrumb li + li::before {
  content: "›";
  margin-right: 0.35rem;
  opacity: 0.6;
}

.guide-breadcrumb a {
  color: rgba(233, 238, 247, 0.85);
  text-decoration: none;
}

.guide-breadcrumb a:hover,
.guide-breadcrumb a:focus-visible {
  color: var(--club-gold-soft);
  text-decoration: underline;
}

.guide-breadcrumb [aria-current="page"] {
  color: var(--club-gold-soft);
}

/* ---- Mock windows (illustrations of the game's screens) ---------------- */

.mock {
  position: relative;
  width: min(100%, 460px);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(22, 31, 58, 0.94), rgba(10, 15, 30, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  text-align: left;
  color: var(--club-text);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--club-line);
}

.mock-bar img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.mock-heading {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.mock-title {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
}

.mock-sub {
  color: var(--club-muted);
  font-size: 0.76rem;
  line-height: 1.3;
}

.mock-body {
  padding: 0.9rem 1rem 1rem;
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: rgba(245, 200, 66, 0.14);
  border: 1px solid rgba(245, 200, 66, 0.35);
  color: var(--club-gold-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mock-pill.is-live {
  background: rgba(255, 90, 95, 0.14);
  border-color: rgba(255, 90, 95, 0.4);
  color: #ffb3b5;
}

.mock-bar .mock-pill {
  margin-left: auto;
}

.mock-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 1rem;
  border-radius: 10px;
  background: var(--club-gold);
  color: #1a1405;
  font-size: 0.85rem;
  font-weight: 800;
}

.mock-button.is-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.mock-button.is-teal {
  background: #0092a4;
  color: #fff;
}

/* Initials in a coloured circle stand in for profile pictures */
.avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a, #0092a4), var(--b, #004d40));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.avatar.is-small {
  width: 28px;
  height: 28px;
  font-size: 0.72rem;
}

.title-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  max-width: 100%;
  color: var(--club-gold-soft);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.title-chip img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---- Leaderboard mock -------------------------------------------------- */

.lb-tabs {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
  padding: 0 0 0.1rem;
  overflow: hidden;
}

.lb-tab {
  flex-shrink: 0;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: var(--club-muted);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.lb-tab.is-active {
  background: rgba(245, 200, 66, 0.16);
  border-color: rgba(245, 200, 66, 0.45);
  color: var(--club-gold-soft);
}

.lb-rows {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lb-row {
  display: grid;
  grid-template-columns: 28px 34px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.6rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
}

.lb-row.is-me {
  background: rgba(0, 146, 164, 0.16);
  border-color: rgba(0, 146, 164, 0.5);
}

.lb-place {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--club-muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.lb-row:nth-child(1) .lb-place,
.lb-row:nth-child(2) .lb-place,
.lb-row:nth-child(3) .lb-place {
  color: #1a1405;
}

.lb-row:nth-child(1) .lb-place {
  background: radial-gradient(circle at 35% 30%, #fff3c4, #f5c842 55%, #b8860b);
  box-shadow: 0 0 16px rgba(245, 200, 66, 0.55);
}

.lb-row:nth-child(2) .lb-place {
  background: radial-gradient(circle at 35% 30%, #ffffff, #cfd8e3 55%, #8a96a8);
}

.lb-row:nth-child(3) .lb-place {
  background: radial-gradient(circle at 35% 30%, #ffe0c2, #d08a4e 55%, #8a4f22);
}

.lb-who {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.lb-who b {
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-pts {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.lb-pts small {
  display: block;
  color: var(--club-muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lb-prize {
  min-width: 58px;
  justify-content: flex-end;
  font-size: 0.85rem;
}

.lb-prize.is-none::before {
  display: none;
}

.lb-gap {
  padding: 0.1rem 0 0.1rem 2.6rem;
  color: var(--club-muted);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
}

.week-meter {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: rgba(245, 200, 66, 0.07);
  border: 1px dashed rgba(245, 200, 66, 0.35);
  color: rgba(233, 238, 247, 0.9);
  font-size: 0.8rem;
}

.week-meter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
}

.week-meter strong {
  color: var(--club-gold-soft);
}

.meter {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter span {
  display: block;
  width: var(--p, 60%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0092a4, #f5c842);
  transition: width 0.6s ease;
}

/* ---- Cards and grids ---------------------------------------------------- */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
}

.guide-card h3 {
  margin: 0;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.25;
}

.guide-card p,
.guide-card li {
  margin: 0;
  color: var(--club-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.guide-card p strong,
.guide-card li strong {
  color: #fff;
}

.guide-card .fine {
  font-size: 0.85rem;
}

.guide-card.is-gold {
  border-color: rgba(245, 200, 66, 0.4);
  background: linear-gradient(160deg, rgba(245, 200, 66, 0.12), rgba(255, 255, 255, 0.02) 60%);
}

.guide-card.is-teal {
  border-color: rgba(0, 146, 164, 0.45);
  background: linear-gradient(160deg, rgba(0, 146, 164, 0.16), rgba(255, 255, 255, 0.02) 60%);
}

.card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.card-top img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.period-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.period-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: rgba(233, 238, 247, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.period-pills li.is-reward {
  background: rgba(245, 200, 66, 0.12);
  border-color: rgba(245, 200, 66, 0.4);
  color: var(--club-gold-soft);
}

.period-pills li.is-reward::after {
  content: "";
  width: 1em;
  height: 1em;
  background: url(/assets/shop/peso.svg) center / contain no-repeat;
}

/* What counts and what does not */
.count-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.count-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0 0.65rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--club-line);
  color: rgba(233, 238, 247, 0.9);
  font-size: 0.93rem;
  line-height: 1.55;
}

.count-list li::before {
  content: "✓";
  grid-row: span 2;
  align-self: start;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 200, 140, 0.16);
  border: 1px solid rgba(37, 200, 140, 0.45);
  color: #7cf0c2;
  font-weight: 800;
  font-size: 0.85rem;
}

.count-list li.is-no::before {
  content: "✕";
  background: rgba(255, 90, 95, 0.12);
  border-color: rgba(255, 90, 95, 0.4);
  color: #ffb3b5;
}

.count-list li.is-note::before {
  content: "i";
  background: rgba(245, 200, 66, 0.12);
  border-color: rgba(245, 200, 66, 0.4);
  color: var(--club-gold-soft);
  font-style: italic;
  font-family: Georgia, serif;
}

.count-list small {
  grid-column: 2;
  display: block;
  color: var(--club-muted);
  font-size: 0.82rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.split.is-wide-left {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split-copy h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.split-copy h3 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.25;
}

.page-guide .club-note {
  text-align: center;
}

.page-guide .split-copy .club-note,
.page-guide .guide-card .club-note {
  text-align: left;
}

.split-copy p {
  margin: 0 0 1rem;
  color: var(--club-muted);
  line-height: 1.75;
}

.split-copy p strong {
  color: #fff;
}

.split-stage {
  display: grid;
  justify-items: center;
}

/* ---- Weekly payout ------------------------------------------------------ */

.payout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.payout .podium {
  height: 210px;
}

.payout .podium .price {
  font-size: 1.15rem;
}

.payout-rest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--club-line);
  color: rgba(233, 238, 247, 0.9);
  font-weight: 600;
}

.week-line {
  position: relative;
  display: grid;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.week-line::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 17px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 146, 164, 0.7), rgba(245, 200, 66, 0.8));
}

.week-line li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.week-dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0b1330;
  border: 2px solid #0092a4;
  font-size: 0.95rem;
}

.week-line li:last-child .week-dot {
  border-color: var(--club-gold);
  box-shadow: 0 0 18px rgba(245, 200, 66, 0.45);
}

.week-line h3 {
  margin: 0.35rem 0 0.2rem;
  color: #fff;
  font-size: 1rem;
}

.week-line p {
  margin: 0;
  color: var(--club-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.toast-mock {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: #1d2437;
  border: 1px solid rgba(245, 200, 66, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.45;
}

.toast-mock img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

/* ---- XP titles ladder (live emblems from js/rank-emblems.js) ------------- */

.rank-ladder {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-ladder li {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.1rem 0.5rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--club-line);
  text-align: center;
}

.rank-ladder img {
  width: 58px;
  height: 58px;
  margin: 0.2rem 0 0.75rem;
}

.rank-ladder.is-live img {
  visibility: hidden;
}

.rank-ladder b {
  color: #fff;
  font-size: 0.86rem;
  line-height: 1.25;
}

.rank-ladder span {
  color: var(--club-gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.rank-ladder li:last-child {
  border-color: rgba(245, 200, 66, 0.45);
  background: linear-gradient(180deg, rgba(245, 200, 66, 0.12), rgba(255, 255, 255, 0.02));
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.chip-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(233, 238, 247, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
}

.chip-row b {
  color: var(--club-gold-soft);
}

.chip-row .is-down b {
  color: #ffb3b5;
}

/* ---- Player profile mock ------------------------------------------------ */

.profile-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.profile-head .avatar {
  width: 52px;
  height: 52px;
  font-size: 1.15rem;
}

.profile-head b {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.profile-rank {
  margin-left: auto;
  color: var(--club-gold-soft);
  font-size: 1.35rem;
  font-weight: 800;
}

.xp-line {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  color: var(--club-muted);
  font-size: 0.75rem;
}

.xp-line .meter span {
  --p: 64%;
}

.stat-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.stat-tiles div {
  display: grid;
  gap: 0.1rem;
  padding: 0.6rem 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--club-line);
}

.stat-tiles dt {
  color: var(--club-muted);
  font-size: 0.68rem;
  line-height: 1.3;
}

.stat-tiles dd {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.trophy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.trophy-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: rgba(233, 238, 247, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
}

.stat-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stat-list li {
  position: relative;
  padding-left: 1.1rem;
  color: rgba(233, 238, 247, 0.9);
  font-size: 0.93rem;
  line-height: 1.5;
}

.stat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--club-gold);
}

/* ---- Tournaments ---------------------------------------------------------- */

.cup-mock .mock-bar img {
  width: 44px;
  height: 44px;
}

.cup-when {
  display: grid;
  gap: 0.15rem;
  margin: 0 0 0.85rem;
}

.cup-when strong {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.cup-when span {
  color: var(--club-muted);
  font-size: 0.82rem;
}

.cup-when [data-countdown] {
  color: var(--club-gold-soft);
  font-weight: 700;
}

.cup-format {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.cup-format li {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: rgba(233, 238, 247, 0.9);
  font-size: 0.74rem;
  font-weight: 600;
}

.cup-prizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.cup-prizes li {
  display: grid;
  justify-items: center;
  gap: 0.15rem;
  padding: 0.6rem 0.3rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--club-line);
  color: var(--club-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.cup-prizes li:first-child {
  background: rgba(245, 200, 66, 0.12);
  border-color: rgba(245, 200, 66, 0.45);
}

.cup-prizes .price {
  font-size: 1.05rem;
}

.cup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  color: var(--club-muted);
  font-size: 0.78rem;
}

.cup-card {
  padding: 1.75rem;
}

.cup-card .card-top img {
  width: 64px;
  height: 64px;
}

.cup-card .cup-when strong {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.cup-specs {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--club-line);
}

.cup-specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--club-line);
}

.cup-specs dt {
  color: var(--club-muted);
  font-size: 0.92rem;
}

.cup-specs dd {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: right;
}

/* Vertical timeline of numbered steps */
.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 25px;
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 146, 164, 0.7), rgba(245, 200, 66, 0.85));
}

.timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  counter-increment: step;
}

.timeline > li::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1d3b6b, #0b1330);
  border: 2px solid rgba(245, 200, 66, 0.6);
  color: var(--club-gold-soft);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 0 0 6px var(--club-ink);
}

.timeline-body {
  padding: 1.1rem 1.25rem;
}

.timeline-body h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.12rem;
}

.timeline-body p {
  margin: 0 0 0.5rem;
  color: var(--club-muted);
  line-height: 1.65;
}

.timeline-body p:last-child {
  margin-bottom: 0;
}

.timeline-body strong {
  color: #fff;
}

.tp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tp-chips li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: var(--club-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.tp-chips b {
  color: #fff;
  font-size: 1.15rem;
}

.tp-chips li:first-child {
  border-color: rgba(245, 200, 66, 0.45);
  background: rgba(245, 200, 66, 0.1);
}

.tp-chips li:first-child b {
  color: var(--club-gold-soft);
}

/* Standings mock */
.mock-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mock-table {
  width: 100%;
  min-width: 340px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.mock-table th {
  padding: 0.45rem 0.5rem;
  color: var(--club-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  border-bottom: 1px solid var(--club-line);
}

.mock-table td {
  padding: 0.5rem;
  color: rgba(233, 238, 247, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mock-table td:first-child {
  color: var(--club-muted);
  font-weight: 800;
}

.mock-table td b {
  color: #fff;
}

.mock-table .num {
  text-align: right;
}

.mock-table .tp {
  color: var(--club-gold-soft);
  font-weight: 800;
}

.mock-table tr.is-cut td {
  border-bottom: 2px dashed rgba(245, 200, 66, 0.55);
}

.mock-table .status {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(37, 200, 140, 0.14);
  color: #7cf0c2;
  font-size: 0.68rem;
  font-weight: 700;
}

.mock-table .status.is-out {
  background: rgba(255, 255, 255, 0.06);
  color: var(--club-muted);
}

.cut-note {
  margin: 0.6rem 0 0;
  color: var(--club-gold-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Knockout bracket: three semifinal tables feed the final table */
.bracket {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 48px minmax(0, 1fr) 48px minmax(0, 0.8fr);
  align-items: center;
  gap: 0.5rem;
}

.bracket-col {
  display: grid;
  gap: 0.75rem;
}

.bracket-label {
  color: var(--club-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.table-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--club-line);
}

.table-card h4 {
  margin: 0 0 0.15rem;
  color: var(--club-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.seat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(233, 238, 247, 0.75);
  font-size: 0.85rem;
}

.seat.is-through {
  color: #fff;
  font-weight: 700;
}

.seat.is-through::after {
  content: "→";
  margin-left: auto;
  color: var(--club-gold-soft);
}

.table-card.is-final {
  border-color: rgba(245, 200, 66, 0.5);
  background: linear-gradient(160deg, rgba(245, 200, 66, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 40px rgba(245, 200, 66, 0.12);
}

.table-card.is-final .seat:nth-of-type(1)::after {
  content: "1.";
  margin-left: auto;
  color: var(--club-gold-soft);
}

.table-card.is-final .seat:nth-of-type(2)::after {
  content: "2.";
  margin-left: auto;
  color: #cfd8e3;
}

.table-card.is-final .seat:nth-of-type(3)::after {
  content: "3.";
  margin-left: auto;
  color: #d08a4e;
}

.bracket-arrow {
  display: grid;
  place-items: center;
  color: rgba(245, 200, 66, 0.75);
  font-size: 1.6rem;
}

.champion {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  padding: 1.1rem 0.75rem;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 30%, rgba(245, 200, 66, 0.22), transparent 70%);
  text-align: center;
}

.champion img {
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 10px 22px rgba(245, 200, 66, 0.4));
}

.champion b {
  color: #fff;
}

.champion span {
  color: var(--club-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.daily-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  max-width: 640px;
  margin: 1.5rem auto 0;
}

/* ---- Party and invite links --------------------------------------------- */

.party-stage {
  position: relative;
  width: min(100%, 470px);
  padding-bottom: 2.5rem;
}

.phone-mock {
  position: relative;
  width: min(78%, 300px);
  margin: 0 0 0 auto;
  padding: 0.7rem;
  border-radius: 38px;
  background: linear-gradient(160deg, #2a3350, #0b0f1c);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.phone-screen {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  min-height: 420px;
  padding: 2.4rem 0.85rem 1rem;
  border-radius: 30px;
  background:
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(0, 146, 164, 0.18), transparent 70%),
    #0d1424;
  position: relative;
  overflow: hidden;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 50%;
  width: 80px;
  height: 20px;
  border-radius: 999px;
  background: #05070d;
  transform: translateX(-50%);
}

.chat-day {
  justify-self: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--club-muted);
  font-size: 0.65rem;
  font-weight: 700;
}

.bubble {
  max-width: 88%;
  padding: 0.55rem 0.75rem;
  border-radius: 16px 16px 16px 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.45;
}

.bubble.is-out {
  justify-self: end;
  border-radius: 16px 16px 4px 16px;
  background: linear-gradient(135deg, #0a7d8c, #075e6a);
}

.bubble .link {
  color: #b6f3ff;
  text-decoration: underline;
  word-break: break-all;
}

.link-preview {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.45rem;
  padding: 0.45rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
}

.link-preview .brand-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, #004d40, #0092a4);
  color: var(--club-gold);
  font-size: 1.3rem;
}

.link-preview b {
  display: block;
  color: #fff;
  font-size: 0.75rem;
}

.link-preview span {
  color: rgba(233, 238, 247, 0.75);
  font-size: 0.68rem;
}

.party-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(66%, 270px);
  padding: 0.85rem;
  border-radius: 18px;
  background: rgba(20, 27, 48, 0.96);
  border: 1px solid rgba(245, 200, 66, 0.35);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  text-align: left;
}

.party-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

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

.member {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

.member .state {
  margin-left: auto;
  color: #7cf0c2;
  font-size: 0.68rem;
  font-weight: 700;
}

.member .state.is-invited {
  color: var(--club-gold-soft);
}

.member .avatar {
  position: relative;
}

.member .avatar.is-online::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 2px #141b30;
}

.member.is-empty {
  color: var(--club-muted);
  font-weight: 500;
}

.member.is-empty .avatar {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  box-shadow: none;
  color: var(--club-muted);
}

/* Four steps with a small screen each */
.howto {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: howto;
}

.howto > li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  counter-increment: howto;
}

.howto-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--club-gold);
  color: #1a1405;
  font-weight: 800;
}

.howto > li h3 {
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.3;
}

.howto > li p {
  margin: 0;
  color: var(--club-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.mini-screen {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
  padding: 0.75rem;
  border-radius: 14px;
  background: rgba(7, 11, 20, 0.7);
  border: 1px solid var(--club-line);
  font-size: 0.76rem;
}

.mini-menu-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: rgba(233, 238, 247, 0.8);
}

.mini-menu-item.is-active {
  background: rgba(245, 200, 66, 0.14);
  color: #fff;
  font-weight: 700;
}

.mini-menu-item small {
  display: block;
  color: var(--club-muted);
  font-weight: 500;
  font-size: 0.68rem;
}

.link-field {
  overflow: hidden;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #b6f3ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.mini-buttons span {
  display: grid;
  place-items: center;
  min-height: 30px;
  padding: 0.2rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  text-align: center;
}

.mini-buttons span:first-child {
  background: var(--club-gold);
  color: #1a1405;
}

.mini-field {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--club-muted);
}

.mini-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.mini-sub {
  color: var(--club-muted);
}

.mini-screen .mock-button {
  min-height: 32px;
  font-size: 0.75rem;
}

.mini-link {
  color: #b6f3ff;
  text-align: center;
  text-decoration: underline;
}

.mode-choice {
  display: grid;
  gap: 0.35rem;
}

.mode-choice span {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: #fff;
  font-weight: 700;
}

.mode-choice small {
  color: var(--club-muted);
  font-weight: 500;
}

/* The invite landing as the friend sees it */
.landing-mock {
  width: min(100%, 380px);
}

.landing-mock .mock-body {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 1.4rem 1.6rem;
  text-align: center;
}

.landing-mock .seats {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.landing-mock h3 {
  margin: 0.25rem 0 0;
  color: #fff;
  font-size: 1.35rem;
}

.landing-mock p {
  margin: 0;
  color: var(--club-muted);
  font-size: 0.9rem;
}

.field-mock {
  display: grid;
  gap: 0.3rem;
  text-align: left;
}

.field-mock label,
.field-mock .label {
  color: var(--club-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.field-mock .input {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 146, 164, 0.6);
  color: #fff;
  font-size: 0.92rem;
}

.field-mock .input::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: #fff;
  animation: caret 1.1s steps(1) infinite;
}

@keyframes caret {
  50% { opacity: 0; }
}

.landing-mock .mock-button {
  width: 100%;
  min-height: 44px;
  font-size: 0.95rem;
}

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

.path-list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
}

.path-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.3);
  font-size: 1.3rem;
}

.path-list h3 {
  margin: 0 0 0.25rem;
  color: #fff;
  font-size: 1.02rem;
}

.path-list p {
  margin: 0;
  color: var(--club-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Mode cards (public, mini, private) */
.mode-card .mode-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.mode-card .mode-target {
  color: var(--club-gold-soft);
  font-size: 0.85rem;
  font-weight: 800;
  white-space: nowrap;
}

.mode-card ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mode-card li {
  position: relative;
  padding-left: 1.5rem;
}

.mode-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7cf0c2;
  font-weight: 800;
}

.mode-card li.is-no::before {
  content: "✕";
  color: #ffb3b5;
}

/* Chat mock */
.chat-mock .mock-body {
  display: grid;
  gap: 0.55rem;
}

.chat-line {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.55rem;
  align-items: end;
}

.chat-line .bubble {
  max-width: 100%;
  justify-self: start;
}

.chat-line .bubble b {
  display: block;
  color: var(--club-gold-soft);
  font-size: 0.68rem;
}

.chat-line.is-me {
  grid-template-columns: minmax(0, 1fr);
}

.chat-line.is-me .bubble {
  justify-self: end;
}

.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.35rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--club-line);
  color: var(--club-muted);
  font-size: 0.8rem;
}

.chat-input span:last-child {
  color: var(--club-gold-soft);
  font-weight: 800;
}

.unread {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #ff5a5f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
}

/* Two kinds of links, side by side */
.compare-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px;
  border: 1px solid var(--club-line);
  background: var(--club-glass);
}

.compare {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--club-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.compare thead th {
  color: #fff;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.compare thead th small {
  display: block;
  color: var(--club-gold-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.compare tbody th {
  width: 24%;
  color: var(--club-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.compare td {
  color: rgba(233, 238, 247, 0.92);
  font-size: 0.93rem;
}

.compare td strong {
  color: var(--club-gold-soft);
}

.compare tr:last-child th,
.compare tr:last-child td {
  border-bottom: 0;
}

/* ---- Related guides ------------------------------------------------------ */

.related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.related a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border-radius: 18px;
  background: var(--club-glass);
  border: 1px solid var(--club-line);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related a:hover,
.related a:focus-visible {
  border-color: rgba(245, 200, 66, 0.5);
  transform: translateY(-2px);
}

.related img {
  width: 48px;
  height: 48px;
}

.related b {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.related span {
  color: var(--club-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.page-club .related a {
  color: #fff;
}

.section-more {
  margin: 1.75rem 0 0;
  text-align: center;
}

.section-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}

/* ---- Breakpoints ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .field-mock .input::after {
    animation: none;
  }

  .related a,
  .meter span {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .howto {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rank-ladder {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .guide-grid.is-3,
  .related {
    grid-template-columns: minmax(0, 1fr);
  }

  .split,
  .split.is-wide-left,
  .payout {
    grid-template-columns: minmax(0, 1fr);
  }

  .split-stage {
    order: -1;
  }

  .split-stage.is-after {
    order: 0;
  }

  .page-guide .club-hero-stage {
    order: 0;
  }

  .guide-breadcrumb {
    justify-content: center;
  }

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

  .bracket {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    margin: 0 auto;
  }

  .bracket-arrow {
    transform: rotate(90deg);
  }

  .daily-final {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
  }

  .party-stage {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .guide-grid,
  .howto {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-card,
  .cup-card {
    padding: 1.2rem;
  }

  .stat-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .timeline::before {
    left: 19px;
  }

  .timeline > li {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .timeline > li::before {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }

  .timeline-body {
    padding: 0.95rem 1rem;
  }

  .party-card {
    width: min(72%, 260px);
  }

  .phone-screen {
    min-height: 380px;
  }
}

/* Phones: the link comparison becomes one card per question instead of a sideways table */
@media (max-width: 600px) {
  .compare {
    min-width: 0;
  }

  .compare thead {
    display: none;
  }

  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: auto;
  }

  .compare tr {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--club-line);
  }

  .compare tr:last-child {
    border-bottom: 0;
  }

  .compare tbody th {
    width: auto;
    padding: 0 1rem 0.35rem;
    border: 0;
    color: #fff;
    font-size: 0.95rem;
  }

  .compare td {
    padding: 0.3rem 1rem;
    border: 0;
  }

  .compare td::before {
    content: attr(data-label);
    display: block;
    color: var(--club-gold);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

@media (max-width: 480px) {
  .mock-bar {
    padding: 0.75rem 0.85rem;
  }

  .mock-body {
    padding: 0.75rem 0.7rem 0.85rem;
  }

  .lb-row {
    grid-template-columns: 26px 30px minmax(0, 1fr) auto;
    gap: 0.45rem;
    padding: 0.45rem 0.5rem;
  }

  .lb-row .avatar {
    width: 30px;
    height: 30px;
  }

  .lb-prize {
    display: none;
  }

  .lb-gap {
    padding-left: 2.2rem;
  }

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

  .rank-ladder {
    gap: 0.5rem;
  }

  .rank-ladder li {
    padding: 0.85rem 0.3rem 0.7rem;
  }

  .rank-ladder img {
    width: 46px;
    height: 46px;
  }

  .rank-ladder b {
    font-size: 0.74rem;
  }

  .phone-mock {
    width: min(84%, 280px);
  }

  .party-card {
    width: min(78%, 250px);
  }

  .compare th,
  .compare td {
    padding: 0.8rem 0.85rem;
  }

  /* The standings fit a phone without the status column */
  .mock-table {
    min-width: 0;
  }

  .mock-table th:last-child,
  .mock-table td:last-child {
    display: none;
  }
}
