.sidebar { border-color: var(--line); }
.sidebar nav { overflow-y: auto; margin-right: -7px; padding-right: 7px; scrollbar-width: thin; }
.brand { font-size: 1.12rem; gap: 9px; font-weight: 760; }
.brand-symbol {
  width: 34px; border-radius: 8px; color: var(--gold);
  border: 1px solid #9f8150; background: #181b27;
  box-shadow: inset 0 0 12px #e3c47715;
}
.brand-system { color: var(--gold); }
img.brand-symbol { object-fit: contain; height: 34px; }
.avatar { color: #dce8ff; background: #293e68; }
.top-about { color: var(--gold); font-weight: 650; }

.poster-artwork { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.artwork-field { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.artwork-preview { display: block; max-width: 100%; max-height: 96px; margin-bottom: 6px; border-radius: 6px; }
.game-artwork { width: 100%; max-height: 190px; object-fit: cover; border-radius: 8px; }
.poster-venue { color: #bcc8e0; font-size: .86rem; }
.poster-data { display: flex; flex-wrap: wrap; gap: 5px; margin: 2px 0; }
.poster-data > span { background: #0b1125ad; border: 1px solid #ffffff16; color: #e0e6f4; border-radius: 7px; padding: 3px 7px; font-size: .78rem; }
.poster-promo { color: #8eabec; font-size: .82rem; font-weight: 680; }
.mini-clock p,.mini-clock span,.desk-clock-face span,.desk-clock-face p { color: #bdc9e3; }
.rank-row,.summary-stats > div { border-color: var(--line); }
.connection[data-online="true"] { background: #1d352e; }
.description { color: var(--muted); }

.club-panel p, .club-panel .inline-form { margin-bottom: 10px; }
.club-panel p:last-child, .club-panel .inline-form:last-child { margin-bottom: 0; }
.club-form { display: grid; gap: 9px; }
.club-form > .button { justify-self: start; }
.club-quick { display: inline-block; }
.club-panel .table-wrap { margin-top: 9px; }
.club-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: 10px; align-items: start; }
.club-number { display: block; margin-bottom: 10px; font-size: 1.6rem; color: var(--gold); }
.club-game-picker { min-width: min(100%, 220px); }
.club-copy { white-space: pre-wrap; color: #c5cce0; }
.club-extra-fields { margin: 12px 0; }
.seat-ticket { padding: 11px 12px; border: 1px solid #436198; border-radius: 9px; background: #233758; }
.qr-sheet { text-align: center; }
.club-qr { width: min(100%, 260px); aspect-ratio: 1; justify-self: center; background: #fff; border-radius: 12px; }
.qr-sheet .inline-form { justify-content: center; }
.qr-sheet .field { text-align: start; }
.member-avatar { width: 90px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid #526b9e; }
.about-photo { height: clamp(160px, 30vw, 300px); margin-bottom: 15px; border-radius: 13px; background: #0f172e url("/assets/club-night.png") right 50% / cover; }
.about-photo img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.profile-metrics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.wheel-graphic {
  width: 100px; aspect-ratio: 1; display: grid; place-items: center; color: #fff0b2; font-size: 2.6rem;
  border: 2px solid var(--gold); border-radius: 50%; margin: 6px 0 12px;
  background: conic-gradient(#6b4764 0deg 60deg,#2e4b80 60deg 120deg,#645731 120deg 180deg,#6b4764 180deg 240deg,#2e4b80 240deg 300deg,#645731 300deg);
}

@media (max-width: 790px) {
  .topbar .connection { display: none; }
  .profile-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
