.club-page { max-width: 1050px; }
.club-page.inner-page { padding-block-start: clamp(14px, 3vw, 24px); }
.page-back { margin-bottom: 12px; background: #262932; }
.icon-tile {
  --tile-face: #256da4;
  --tile-shadow: #123859;
  --tile-edge: #8dd7ff;
  --tile-side: #4585b6;
  --tile-glow: #499ed65a;
  position: relative;
  display: inline-block;
  flex: none;
  width: var(--icon-tile-size, 31px);
  aspect-ratio: 1;
  vertical-align: middle;
  background: radial-gradient(ellipse at 54% 44%, var(--tile-glow), transparent 72%);
}
.icon-tile[data-tone="violet"] {
  --tile-face: #6256a1;
  --tile-shadow: #35264f;
  --tile-edge: #c5b6ff;
  --tile-side: #8172ba;
  --tile-glow: #9d83e85c;
}
.icon-tile[data-tone="teal"] {
  --tile-face: #287c78;
  --tile-shadow: #153f43;
  --tile-edge: #98e3d6;
  --tile-side: #4d9d98;
  --tile-glow: #59cdb94d;
}
.icon-tile[data-tone="ruby"] {
  --tile-face: #a84066;
  --tile-shadow: #5c213a;
  --tile-edge: #ffa8bb;
  --tile-side: #d3698b;
  --tile-glow: #e76a8e55;
}
.icon-tile[data-tone="graphite"] {
  --tile-face: #50586d;
  --tile-shadow: #282c3b;
  --tile-edge: #aab3cb;
  --tile-side: #6e7793;
  --tile-glow: #9aa5cf46;
}
.icon-tile[data-tone="gold"], .main-nav button[aria-current] .icon-tile {
  --tile-face: #ac7a35;
  --tile-shadow: #614019;
  --tile-edge: #ffe3a8;
  --tile-side: #d4a360;
  --tile-glow: #f5ba5f60;
}
.icon-tile::before, .icon-tile-face {
  position: absolute;
  inset: 19% auto auto 12%;
  width: 64%;
  height: 62%;
  border-radius: 16%;
}
.icon-tile::before {
  content: "";
  transform: translate(19%, -15%) skewY(27deg);
  background: linear-gradient(143deg, var(--tile-edge) 13%, var(--tile-side) 57%, var(--tile-shadow) 95%);
  box-shadow: 0 4px 6px #080b145e;
}
.icon-tile-face {
  display: grid;
  place-items: center;
  transform: skewY(27deg);
  background: linear-gradient(152deg, var(--tile-face) 24%, var(--tile-shadow));
  box-shadow: inset 0 1px 0 #ffffff30, inset -1px 0 0 #10151e45;
  color: #fffaf3;
}
.icon-tile .icon-tile-face .icon {
  width: 73%;
  height: 73%;
  stroke-width: 1.95;
  filter: drop-shadow(0 1px 1px #0d0c19a6);
}
.icon-tile-button {
  --icon-tile-size: 33px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-color: #3e4255;
  border-radius: 13px;
  background: linear-gradient(155deg, #262b3e, #191d2c 78%);
  box-shadow: inset 0 1px 0 #ffffff0c, 0 3px 7px #0b0d1780;
}
.icon-tile-button:hover {
  border-color: #647087;
  background: linear-gradient(155deg, #30384e, #1d2234 78%);
}
.club-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 35px;
}
.club-section-heading h2, .club-block h2 { font: 700 1.57rem/1.1 "Barlow Condensed", sans-serif; }
.club-section-heading > span { color: var(--muted); font-size: .83rem; white-space: nowrap; }
.club-section-heading .button, .list-heading .button { min-height: 33px; padding: 0 10px; font-size: .8rem; }
.club-block { padding: clamp(15px, 3vw, 23px); display: grid; gap: 14px; align-content: start; }
.club-block h3 { font-size: .93rem; }
.club-block > p, .verification-panel form p { color: var(--muted); line-height: 1.5; }
.club-required { display: grid; justify-items: start; padding: 14px; }
.club-required .club-empty { padding: 0 0 13px; }
.club-empty { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 14px; font-size: .92rem; }
.club-empty .icon { color: var(--gold); }
.club-toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.club-tabs {
  display: flex;
  padding: 4px;
  gap: 4px;
  margin: 15px 0;
  border: 1px solid #3d414e;
  border-radius: 14px;
  background: #191c24;
}
.club-tabs button {
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 5px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 650;
  font-size: .85rem;
}
.club-tabs button[aria-pressed="true"] {
  background: #393126;
  color: var(--gold-light);
  box-shadow: inset 0 0 0 1px #d6a75452;
}
.club-banner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 4vw, 26px);
  min-height: clamp(120px, 20vw, 172px);
  padding: clamp(15px, 4vw, 32px);
  border: 1px solid #474350;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 11% 74%, #71523043, transparent 62%), #22232e;
}
.club-banner h2 { font: 700 clamp(1.65rem, 4vw, 2.6rem)/1 "Barlow Condensed", sans-serif; }
.club-banner p { margin-top: 8px; color: var(--muted); font-size: .89rem; line-height: 1.4; }
.ratings-banner { background: radial-gradient(ellipse at 5% 85%, #1753406e, transparent 70%), #1d252a; border-color: #42534d; }
.ratings-banner > .icon-tile { --icon-tile-size: clamp(53px, 15vw, 84px); }
.club-list { list-style: none; padding: 0; margin: 0; }
.club-ranking li {
  min-height: 55px;
  display: grid;
  align-items: center;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.club-ranking li div { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 3px; }
.club-ranking li div strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.club-ranking li small, .club-shortcut small { color: var(--muted); font-size: .78rem; }
.rank-position {
  min-height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #353440;
  color: var(--gold-light);
  font-weight: 750;
}
.club-links, .club-preferences { display: grid; gap: 8px; }
.club-shortcut {
  display: grid;
  align-items: center;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  width: 100%;
  min-height: 56px;
  padding: 8px 10px;
  gap: 10px;
  border: 1px solid #454957;
  border-radius: 12px;
  background: #2a2d38;
  text-align: left;
}
.club-shortcut:hover { background: #343746; border-color: #786a4f; }
.club-shortcut > span:nth-child(2) { min-width: 0; display: grid; gap: 3px; overflow-wrap: anywhere; }
.club-shortcut > .icon { color: var(--muted); font-size: .86rem; }
.club-shortcut > .icon-tile, .club-preference > .icon-tile { --icon-tile-size: 35px; }
.inbox-row { min-height: 66px; }
.unread-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 9px #f5c36955; }
.message-date { font-size: .78rem; }
.message-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.profile-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  padding: 20px clamp(13px, 5vw, 40px) 16px;
  margin-bottom: 14px;
  background:
    radial-gradient(ellipse at 50% 90%, #275946, transparent 64%),
    linear-gradient(145deg, #15211f, #162e25);
  border-color: #3e5e50;
  overflow: hidden;
}
.profile-cover::before {
  position: absolute;
  inset: auto -10% 2px;
  z-index: -1;
  border-top: 1px solid #b6e5bf2d;
  border-radius: 50%;
  height: 99px;
  content: "";
}
.profile-cover h2 {
  max-width: calc(100% - 116px);
  margin-block-start: 8px;
  font: 700 clamp(1.75rem, 6vw, 2.7rem)/1 "Barlow Condensed", sans-serif;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.profile-cover-actions { position: absolute; inset: 11px 11px auto auto; display: flex; gap: 4px; }
.profile-cover-actions .icon-button { min-width: 36px; min-height: 37px; }
.profile-podium {
  width: min(100%, 530px);
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(6px, 3vw, 15px);
  margin-top: 18px;
}
.profile-podium img {
  width: clamp(75px, 23vw, 108px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #8fbfa8;
  box-shadow: 0 0 0 6px #abd2b028;
}
.profile-podium div {
  display: grid;
  justify-items: center;
  gap: 5px;
  text-align: center;
  padding: 10px 3px;
  border: 1px solid #567263;
  border-radius: 13px;
  background: #152821bb;
}
.profile-podium div .icon { color: var(--gold); }
.profile-podium strong { max-width: 100%; overflow-wrap: anywhere; }
.profile-podium small { color: #c3d8cd; font-size: .78rem; }
.club-profile-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 14px; }
.club-progress div, .club-goal { display: flex; justify-content: space-between; gap: 8px; font-size: .89rem; }
.club-progress small, .club-goal span { color: var(--muted); }
.club-page progress {
  display: block;
  width: 100%;
  height: 8px;
  margin: 7px 0 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #161820;
  color: var(--gold);
  accent-color: var(--gold);
}
.club-page progress::-webkit-progress-bar { background: #161820; border-radius: 10px; }
.club-page progress::-webkit-progress-value { background: linear-gradient(90deg, #d69e41, #ffdd80); border-radius: 10px; }
.club-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.club-metrics div { display: grid; gap: 5px; align-content: start; padding: 10px; border: 1px solid #3b404e; border-radius: 10px; background: #1a1d26; }
.club-metrics dt, .club-metrics small { color: var(--muted); font-size: .75rem; }
.club-metrics dd { margin: 0; font-weight: 750; }
.club-badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.club-badge {
  display: grid;
  justify-items: center;
  gap: 5px;
  border: 1px solid #434553;
  border-radius: 11px;
  padding: 9px 4px;
  text-align: center;
  background: #262833;
}
.club-badge span { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border-radius: 12px; background: #30323e; color: #b0b5c4; font-size: 1.2rem; }
.club-badge[data-earned="true"] span { color: var(--gold-light); background: #493b2c; }
.club-badge strong { font-size: .77rem; }
.club-badge small { color: var(--muted); font-size: .7rem; }
.club-preference {
  position: relative;
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 9px;
  min-height: 62px;
  padding: 9px;
  border: 1px solid #404451;
  border-radius: 12px;
  background: #292c37;
  cursor: pointer;
}
.club-preference span:nth-child(2) { display: grid; gap: 3px; }
.club-preference small { color: var(--muted); font-weight: 400; line-height: 1.35; }
.club-preference input { position: absolute; right: 9px; width: 36px; height: 26px; opacity: 0; }
.club-switch {
  width: 35px;
  height: 21px;
  padding: 3px;
  border: 1px solid #626773;
  border-radius: 999px;
  background: #151920;
  pointer-events: none;
}
.club-switch::after { display: block; content: ""; width: 13px; aspect-ratio: 1; border-radius: 50%; background: #b6bac7; }
.club-preference input:checked + .club-switch { border-color: #70b595; background: #234b3a; }
.club-preference input:checked + .club-switch::after { transform: translateX(14px); background: #9ee9ae; }
.club-preference input:focus-visible + .club-switch { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.club-preference input:disabled + .club-switch { opacity: .55; }
.club-volume {
  display: grid;
  gap: 4px;
  padding: 10px 12px 6px;
  border: 1px solid #404451;
  border-radius: 12px;
  background: #292c37;
  font-size: .83rem;
  font-weight: 640;
}
.club-volume span { display: flex; justify-content: space-between; gap: 14px; }
.club-volume output { color: var(--gold-light); font-variant-numeric: tabular-nums; }
.club-volume input { width: 100%; min-height: 32px; margin: 0; padding: 0; accent-color: var(--gold-light); }
.verification-panel { max-width: 480px; margin: 0 auto; }
.verification-panel form { display: grid; gap: 9px; }
.verification-panel form button { margin-top: 8px; }
.verification-art {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 92px;
  aspect-ratio: 1;
  border: 5px solid #555763;
  border-radius: 50%;
  background: radial-gradient(circle, #55505a 0 36%, #1d1f29 37%);
  color: var(--gold-light);
  font-size: 2rem;
  box-shadow: inset 0 0 0 3px #acacb24d, 0 5px 24px #17182085;
}
.wallet-group { margin-top: 12px; padding: 12px; }
.wallet-group h2 { margin: 0 0 9px; font-size: 1rem; }
.wallet-balances { grid-template-columns: repeat(auto-fit, minmax(min(132px, 100%), 1fr)); }
.wallet-scope { display: flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--muted); }
.wallet-scope select { min-width: 0; max-width: 80%; color: var(--text); background: var(--panel); border: 1px solid var(--line); padding: 7px; border-radius: 6px; }
.wallet-group + .club-tabs { margin-bottom: 0; }
.club-page .wallet-ledger { margin-top: 13px; }
.club-page .list-heading { align-items: center; }
.cosmetic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(161px, 1fr)); gap: 10px; }
.cosmetic-item {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-items: start;
  gap: 7px;
  padding: 10px;
  border: 1px solid #494651;
  border-radius: 15px;
  background: linear-gradient(145deg, #31303a, #20212a 72%);
  text-align: center;
}
.cosmetic-item h3 { font-size: .96rem; overflow-wrap: anywhere; }
.cosmetic-item p { color: var(--gold-light); font-size: .83rem; }
.cosmetic-item .button { width: 100%; min-height: 42px; padding-inline: 4px; font-size: .82rem; }
.cosmetic-art {
  --finish: #484648;
  --trim: #c1a067;
  width: 100%;
  min-height: 102px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 72%, color-mix(in srgb, var(--finish), transparent 20%), #24252e 70%);
}
.cosmetic-art[data-style="scarlet"] { --finish: #a83849; --trim: #f6b0ad; }
.cosmetic-art[data-style="onyx"] { --finish: #333744; --trim: #d2b071; }
.cosmetic-art[data-style="jade"] { --finish: #2c6554; --trim: #abd6b9; }
.cosmetic-art[data-style="gilded"] { --finish: #765633; --trim: #f5d183; }
.cosmetic-art[data-style="frost"] { --finish: #465d79; --trim: #c8e0ec; }
.cosmetic-art i {
  width: 42px;
  aspect-ratio: .7;
  border: 1px solid var(--trim);
  border-radius: 6px;
  box-shadow: 0 4px 11px #0d1018ae, inset 0 0 0 3px var(--finish);
  background: repeating-linear-gradient(45deg, transparent 0 5px, #fff2 5px 6px),
    repeating-linear-gradient(-45deg, transparent 0 5px, #fff2 5px 6px), var(--finish);
  transform: rotate(-15deg) translateY(3px);
}
.cosmetic-art i:nth-child(2) { margin-left: -13px; transform: rotate(15deg) translateY(-4px); }
.cosmetic-art:is([data-slot="chips"], [data-slot="avatar_frame"]) i {
  width: 51px;
  aspect-ratio: 1;
  border: 3px solid var(--finish);
  border-radius: 50%;
  background: radial-gradient(circle, var(--finish) 0 50%, transparent 51%), repeating-conic-gradient(var(--trim) 0 29deg, var(--finish) 29deg 60deg);
}
.cosmetic-art[data-slot="avatar_frame"] i { background: #1e232d; border: 4px double var(--trim); }
.cosmetic-art:is([data-slot="avatar_frame"], [data-slot="table"]) i:nth-child(2) { display: none; }
.cosmetic-art[data-slot="table"] i { width: 90px; aspect-ratio: 1.72; border: 3px double var(--trim); border-radius: 38px; transform: rotate(-12deg); }
.cosmetic-preview-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
}
.cosmetic-preview-button:hover .cosmetic-art { filter: brightness(1.13); }
.skin-preview { display: grid; gap: 8px; margin-bottom: 14px; }
.skin-preview .cosmetic-art { min-height: 154px; }
.skin-preview .cosmetic-art i { scale: 1.18; }
.skin-preview [data-action="rotate-showcase"] { justify-self: end; }
.skin-preview [data-action="rotate-showcase"][hidden] { display: none; }
.shop-banner { justify-content: space-between; min-height: 129px; padding-block: 13px; }
.shop-banner-copy { flex: 1 1 220px; min-width: 0; }
.shop-banner-art { flex: 0 0 clamp(84px, 29vw, 171px); }
.shop-banner-art .cosmetic-art {
  min-height: clamp(95px, 21vw, 124px);
  background: radial-gradient(ellipse, #a97c3a2e, transparent 68%);
}
.showcase-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.showcase-canvas[hidden] { visibility: hidden; }
.cosmetic-art[data-renderer="3d"] i,
.wallet-art[data-renderer="3d"] > span,
.game-tile[data-renderer="3d"] img { visibility: hidden; }
.wallet-art[data-renderer="3d"] { background: none; border-color: transparent; box-shadow: none; }
.game-tile > .showcase-canvas { inset: auto 4% 3px 5%; width: 91%; height: 72%; z-index: -1; }
.lobby-heading { position: relative; min-height: 40px; justify-content: center; flex-direction: column; align-items: flex-start; padding-inline-end: 94px; }
.lobby-tools { position: absolute; right: 0; top: 0; display: flex; gap: 5px; }
.lobby-tools .icon-button { min-width: 40px; min-height: 40px; }
.featured-rooms { display: grid; gap: 7px; }
.feature-controls { display: flex; gap: 2px; }
.feature-controls .icon-button { min-width: 34px; min-height: 35px; }
.feature-card {
  min-height: 122px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid #5a5b56;
  background: #20272a;
  text-align: left;
}
.feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature-card::before { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(4deg, #121719 3%, #1d292753 92%); }
.feature-info { display: grid; gap: 4px; }
.feature-info strong { font: 700 1.65rem/1 "Barlow Condensed", sans-serif; overflow-wrap: anywhere; }
.feature-info small { color: #dae3dc; font-size: .8rem; }
.feature-arrow { border-radius: 50%; background: #1d211fbd; display: grid; place-items: center; width: 30px; height: 30px; color: var(--gold-light); }
.poker-screen[data-card-skin="scarlet"] { --card-color: #de4f52; --card-shadow: #a52e3f; }
.poker-screen[data-card-skin="onyx"] { --card-color: #3f4252; --card-shadow: #292a32; }
.poker-screen[data-card-skin="jade"] { --card-color: #386d60; --card-shadow: #214135; }
.poker-screen[data-felt-skin="jade"] { --felt-top: #197f71; --felt-bottom: #0a363d; --felt-line: #a7ede783; }
.poker-screen[data-avatar-frame="jade"] .seat.self .avatar { outline: 2px solid #7fdfbb; outline-offset: 2px; }
.poker-screen[data-chip-skin="frost"] .table-chip:not(.unpaid) {
  background: radial-gradient(circle, #4d5c77 0 54%, transparent 55%), repeating-conic-gradient(#b9e1ed 0 34deg, #576b87 34deg 72deg);
}

@media (min-width: 711px) and (max-width: 920px) {
  .main-nav button { flex-direction: column; gap: 3px; padding: 4px 8px; font-size: .75rem; }
}
@media (max-width: 710px) {
  .main-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .main-nav button { font-size: .7rem; }
  .main-nav .icon-tile, .main-nav .icon-tile-face { display: contents; }
  .main-nav .icon-tile::before { content: none; }
  .main-nav .icon-tile-face { color: inherit; }
  .main-nav .icon-tile .icon {
    width: 17px;
    height: 17px;
    stroke-width: 1.7;
    filter: none;
  }
  .club-profile-grid { grid-template-columns: 1fr; }
  .cosmetic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-tile > .showcase-canvas { height: 62%; }
  .lobby-page { padding-block-start: 19px; }
}


.lobby-heading { padding-inline-end: 140px; }
#header-language { display: flex; align-items: center; }
body:is([data-view="lobby"], [data-view="settings"]) #header-language { display: none; }
@media (min-width: 711px) {
  body:not([data-view="lobby"], [data-view="settings"]) .topbar-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(max-content, 1fr) auto;
  }
}
@media (max-width: 710px) {
  #header-language .language-compact { height: 36px; min-height: 36px; }
  body:not([data-view="lobby"], [data-view="settings"]) .balance { margin-inline-start: auto; }
}
@media (max-width: 375px), (min-width: 711px) and (max-width: 800px) {
  body:not([data-view="lobby"], [data-view="settings"]) .brand-name { display: none; }
}
@media (min-width: 921px) and (max-width: 1080px) {
  body:not([data-view="lobby"], [data-view="settings"]) .main-nav button {
    flex-direction: column; gap: 3px; padding: 4px 8px; font-size: .75rem;
  }
}
.language-compact { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; }
.language-compact .icon { width: 20px; height: 20px; }
.language-setting {
  display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 44px;
  padding: 8px 4px; color: var(--text); background: none; border: 0; text-align: start;
}
.language-setting span { margin-inline-start: auto; }
.dialog-top h2 { margin-inline-end: auto; }
.dialog-top .icon-button { flex: 0 0 40px; }
#language-menu { width: min(20rem, calc(100% - 32px)); max-height: min(80dvh, calc(100dvh - var(--content-safe-top) - var(--content-safe-bottom) - 28px)); }
.language-options { display: grid; gap: 3px; }
.language-options button {
  display: flex; align-items: center; justify-content: space-between; min-height: 44px;
  padding: 8px 14px; border: 1px solid transparent; border-radius: 8px;
  background: transparent; color: var(--text); text-align: start; font: inherit;
}
.language-options button[aria-pressed="true"] { color: var(--gold-light); border-color: #746043; background: #40382c; }
.language-options button:focus-visible, [data-language-picker]:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
