/* Layout: the app shell. Sidebar, navigation, top bar and page header. */

.app {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 248px;
  padding: 30px 19px 0;
}

.brand {
  font-size: 26px;
}

.sidebar-bottom {
  margin-top: auto;
}

.user>.account-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1;
  color: inherit;
}

.account-link>div {
  min-width: 0;
}

.account-link:hover strong,
.account-link:focus-visible strong {
  text-decoration: underline;
}

.main {
  width: calc(100% - 248px);
  margin-left: 248px;
  display: flex;
  flex-direction: column;
}

.topbar {
  padding: 0 39px;
}

.breadcrumb {
  gap: 13px;
  font-size: var(--text-small);
}

/* A demo club's tag next to its name (demo_tag). */
.badge.demo-tag {
  margin-left: var(--space-2);
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: var(--text-small);
  letter-spacing: 0.4px;
  vertical-align: 2px;
  line-height: 1.2;
  cursor: help;
}

.content {
  padding: 35px 39px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
}

.search {
  width: 340px;
  padding: 0 var(--space-3);
}

.search input {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-offset: 3px;
  outline-color: var(--blue);
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  z-index: 20;
  /* Fixed to the viewport, so on short windows the menu scrolls on its own
     instead of cutting off settings and sign out. */
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--navy);
  border-right: 0;
  color: var(--on-navy);
  padding-top: 26px;
}

.brand {
  display: flex;
  align-items: center;
  white-space: nowrap;
  color: var(--on-navy);
}

/* The logo (board L-Marca), sized by the font size it sits in. The slashes
   and the HQ box are as tall as ONZE's capitals (.71em) and stand on its
   baseline: an inline block that hides its overflow sits on its bottom edge.
   The box keeps square corners, so it never reads as a (rounded) button. */
.logo {
  display: inline-block;
  font-family: var(--font);
  line-height: 1;
  white-space: nowrap;
  color: var(--on-navy);
}

.logo-slashes {
  width: .95em;
  height: .71em;
  margin-right: .24em;
  vertical-align: baseline;
  fill: var(--yellow);
}

.logo-word {
  font-weight: 900;
  letter-spacing: -.03em;
}

.logo-hq {
  display: inline-block;
  overflow: hidden;
  height: 1.58em;
  margin-left: .4em;
  padding: 0 .32em;
  font-size: .45em;
  font-weight: 900;
  line-height: 1.62em;
  letter-spacing: .02em;
  vertical-align: baseline;
  background: var(--yellow);
  color: var(--navy);
}

/* On white or pale grey the yellow would vanish (1.1:1): all navy. */
.logo-light,
.logo-mono {
  color: var(--navy);
}

.logo-light .logo-slashes,
.logo-mono .logo-slashes {
  fill: var(--navy);
}

.logo-light .logo-hq,
.logo-mono .logo-hq {
  background: var(--navy);
  color: var(--on-navy);
}

.logo-mono .logo-hq {
  color: var(--yellow);
}

/* The short mark: shown instead of the logo where there is no room for it. */
.logo-icon {
  display: none;
  width: 36px;
  height: 36px;
  fill: var(--navy);
}

.logo-icon rect {
  fill: var(--yellow);
}

.nav-label {
  margin: 29px 10px var(--space-3);
  color: var(--on-navy-muted);
  letter-spacing: 1.6px;
  font-size: var(--text-small);
  margin-top: 29px;
}

.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.user {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--line);
  margin-top: 17px;
  padding: 18px 0;
  border-color: var(--navy-3);
}

.user .avatar {
  background: var(--navy-3);
  color: var(--blue-soft);
}

.user strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--blue-soft);
}

.user small {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--text-small);
  color: var(--faint);
}

.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-color: var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  color: var(--faint);
}

.breadcrumb strong {
  font-weight: 500;
  color: var(--muted);
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-color: var(--line);
  border-radius: var(--radius);
  color: var(--faint);
}

.mobile-wordmark {
  display: none;
}

.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  padding: 13px var(--space-3);
  border-radius: var(--radius);
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--on-navy-muted);
  position: relative;
}

.sidebar nav a:hover {
  background: var(--navy-2);
  color: var(--on-navy);
}

.logout {
  font-size: var(--text-small);
  background: none;
  border: 0;
  color: var(--on-navy-muted);
}

.auth-brand .brand {
  color: var(--navy-2);
}

@media (min-width: 1600px) {
  .content {
    padding-top: 45px;
  }
}

@media (max-width: 1200px) {
  .sidebar {
    width: 218px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .main {
    margin-left: 218px;
    width: calc(100% - 218px);
  }

  .content {
    padding: 29px 26px;
  }

  .topbar {
    padding: 0 26px;
  }

  .content h1 {
    font-size: 29px;
  }
}

@media (max-width: 960px) {
  .sidebar {
    width: 190px;
  }

  .main {
    margin-left: 190px;
    width: calc(100% - 190px);
  }

  .brand {
    font-size: 22px;
  }
}

/* The phone drawer's close button and the dimmed page behind it: hidden
   until the drawer slides in (max-width: 700px). */
/* .icon-btn (components.css) also sets display, so match its weight. */
.drawer-close.icon-btn,
.drawer-backdrop {
  display: none;
}

@media (max-width: 700px) {
  .sidebar.open {
    transform: translateX(0);
  }

  .drawer-close.icon-btn {
    display: inline-flex;
    align-self: flex-end;
    margin: -14px -6px var(--space-1) 0;
    color: var(--on-navy);
  }

  .drawer-close:hover {
    background: #ffffff1f;
  }

  /* After .main in the markup, so it covers the sticky top bar (same
     z-index) and stays under the drawer. */
  .sidebar.open~.drawer-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 19;
    background: #0c1a3c66;
  }

  .main {
    width: 100%;
    margin: 0;
  }

  .breadcrumb {
    gap: 7px;
    font-size: var(--text-small);
  }

  .breadcrumb>span {
    display: none;
  }

  /* The bottom leaves room under the last button for the toast that slides
     up from the bottom, so it never covers what the person taps next. */
  .content {
    padding: 25px 17px 88px;
  }

  .search {
    width: auto;
    flex: 1;
    padding: 0 10px;
  }

  .sidebar {
    transform: translateX(-100%);
    width: 248px;
    transition: transform .2s;
    box-shadow: 10px 0 40px #0c1a3c44;
  }

  .topbar {
    height: 61px;
    padding: 0 17px;
    position: sticky;
    top: 0;
    z-index: 19;
    border-bottom: 2px solid var(--blue);
  }

  .breadcrumb>.mobile-wordmark {
    display: inline-block;
    font-size: 19px;
    margin-right: 5px;
  }

  .breadcrumb strong {
    font-size: var(--text-small);
  }

  .sidebar nav a {
    padding: 13px var(--space-3);
  }}

/* Overrides: these must come after the breakpoints above. */

.search input {
  border: 0;
  background: none;
  width: 100%;
  padding: var(--space-3) 0;
}

.search-popover {
  display: block;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 18px 40px rgb(17 28 58 / 16%);
}

.search-group {
  margin: var(--space-2) 10px var(--space-1);
  color: var(--muted);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: var(--space-2) 10px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: var(--text-small);
}

.search-result .avatar {
  width: 30px;
  height: 30px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: var(--text-small);
}

.search-result small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: var(--text-small);
}

.search-result:hover,
.search-result[aria-selected="true"] {
  background: var(--blue-soft);
}

.search-empty {
  margin: 0;
  padding: 14px var(--space-3);
  color: var(--muted);
  font-size: var(--text-small);
}

@media (max-width: 700px) {
  .sidebar {
    visibility: hidden;
    box-shadow: none;
  }

  .sidebar.open {
    visibility: visible;
    box-shadow: 10px 0 40px #0c1a3c44;
  }
}

/* The logo and, beside it, the button that folds the menu. */
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.nav-fold.icon-btn { color: var(--on-navy-muted); }
.nav-fold.icon-btn:hover { background: var(--navy-2); color: var(--on-navy); }

/* Folded (on a computer only): a strip of icons, names on hover. */
@media (min-width: 701px) {
  .app.nav-folded .sidebar { width: 72px; padding-left: 12px; padding-right: 12px; }
  .app.nav-folded .main { margin-left: 72px; width: calc(100% - 72px); }
  .app.nav-folded .sidebar-head { flex-direction: column; }
  .app.nav-folded :is(.logo, .nav-label) { display: none; }
  .app.nav-folded .logo-icon { display: block; }
  .app.nav-folded .sidebar nav a { justify-content: center; padding-left: 0; padding-right: 0; }
  .app.nav-folded .sidebar nav a.active:before { left: -12px; }
  .app.nav-folded .nav-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (min-width: 701px) and (prefers-reduced-motion: no-preference) {
  .sidebar { transition: width .2s; }
  .main { transition: margin-left .2s, width .2s; }
}

@media (max-width: 700px) {
  .nav-fold.icon-btn { display: none; }
}

/* The phone's menu (layouts/tabbar): a white bar fixed at the bottom with
   five places, the lit one in navy. Under it the page keeps room for the
   bar, and the toast and the roll call's buttons sit above it. */
:root { --tabbar-h: 72px; }

.tabbar {
  display: none;
}

@media (max-width: 700px) {
  .app.has-tabbar > .sidebar { display: none; }

  .tabbar {
    display: flex;
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    padding: 10px var(--space-1) env(safe-area-inset-bottom);
    box-sizing: border-box;
    align-items: flex-start;
    border-top: 1px solid var(--line);
    background: var(--surface);
  }

  .tab-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    color: var(--faint);
    font-size: 11px;
    font-weight: 600;
  }

  .tab-item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tab-item svg { stroke-width: 2; }
  .tab-item[aria-current="page"] { color: var(--navy); }
  .tab-item[aria-current="page"] svg { stroke-width: 2.2; }

  .has-tabbar .content { padding-bottom: calc(var(--tabbar-h) + 88px); }
  .has-tabbar .toast { bottom: calc(var(--tabbar-h) + 18px); }
  .has-tabbar .roll-actions { bottom: var(--tabbar-h); }

}

/* The Mais page (more/show): the club on a navy card that leads to the
   club list, the search for staff, then the rest of the menu in groups. */
.more-club {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: 14px;
  padding: 14px var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--on-navy);
}

.more-club:hover { color: var(--on-navy); background: var(--navy-2); }
.more-club-crest { display: flex; flex-shrink: 0; }
.more-club-name { flex: 1; min-width: 0; line-height: 1.3; }
.more-club-name strong { display: block; font-size: var(--text-body); }
.more-club-name small { display: block; color: var(--on-navy-muted); font-size: var(--text-small); }
.more-club-switch { color: var(--yellow); font-size: var(--text-small); font-weight: 600; }

.more-search {
  max-width: none;
  margin-top: var(--space-4);
}

/* 16px so the phone doesn't zoom in on focus. */
.more-search .search input { font-size: 16px; }

.more-heading {
  margin: 22px var(--space-2) 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Every line here opens a page, so it keeps its arrow on a phone too. */
.more-section .row-item > svg { display: block; flex-shrink: 0; color: var(--faint); }
/* A line's count (the kit to hand out) sits on its right, before the arrow. */
.more-section .row-item { flex-wrap: nowrap; }
.more-section .row-aside { order: 0; flex-basis: auto; padding-left: 0; }

.avatar.more-avatar {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--yellow);
}

.more-sign-out { margin-top: var(--space-3); }

/* The staff search box (layouts/_search): a field with the results in a
   list under it as you type. Light on the Mais page; on navy in the menu. */
.top-search {
  position: relative;
  flex: 1;
  max-width: 460px;
}

/* A <label>, so a row, not base.css's stacked form label. */
.top-search .search {
  flex-direction: row;
  gap: 9px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.top-search .search:focus-within {
  border-color: var(--blue);
  background: var(--surface);
}

.top-search .search input {
  padding: 11px 0;
  color: var(--ink);
}

/* app_menu: the club's frame on a computer (board app_menu; layouts/application).
   A navy column 232px wide: the logo and the fold button, the club (crest,
   name, season; opens the club list), the staff search, the role's places
   (18px icons, 40px rows, the lit one blue), and at the bottom, under a
   line, the club's settings and the account entry. No bar across the top. */
.club-app .sidebar {
  width: 232px;
  padding: 20px 14px;
  gap: 18px;
}

@media (min-width: 701px) {
  .club-app .main {
    width: calc(100% - 232px);
    margin-left: 232px;
  }
}

.club-app .sidebar-head { padding: 0 6px; min-height: 32px; }
.club-app .brand { font-size: 22px; }
.club-app .nav-fold.icon-btn { width: 32px; height: 32px; color: #b9c6e8; }
.club-app .nav-fold.icon-btn:hover { color: var(--on-navy); }

/* The club menu: the club (crest, short name, season) on navy; it opens
   a panel below it, the same white panel as the account menu, listing the
   account's clubs (the current one ticked), then the full clubs list. */
.club-menu { position: relative; }

.club-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: var(--navy-2);
  color: var(--on-navy);
  list-style: none;
  cursor: pointer;
}

.club-switch::-webkit-details-marker { display: none; }
.club-switch:hover,
.club-menu[open] .club-switch { background: var(--navy-3); color: var(--on-navy); }
.club-switch-crest { display: flex; flex-shrink: 0; color: var(--yellow); }
.club-switch-crest .crest-image { width: 28px; height: 28px; }
.club-switch > svg { flex-shrink: 0; color: #b9c6e8; }
.club-switch-text { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
/* A long club name takes two lines at most. */
.club-switch-text strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-weight: 700; }
.club-switch-text small { display: block; color: #b9c6e8; font-size: 13px; }
/* A demo club's tag sits beside its name, so the season keeps its own line. */
.club-switch-name { display: flex; align-items: flex-start; gap: 6px; }
.club-switch-name strong { min-width: 0; }
.club-switch .badge.demo-tag { flex-shrink: 0; margin: 1px 0 0; padding: 0 5px; font-size: 11px; line-height: 16px; }
.club-menu-panel { top: calc(100% + 6px); left: 0; right: 0; max-height: 70vh; overflow-y: auto; }
.club-menu-crest { display: flex; flex-shrink: 0; color: var(--navy); }
.club-menu-crest .crest-image { width: 20px; height: 20px; }
.club-menu-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.club-menu-club.is-current { font-weight: 700; }
.club-menu-club.is-current > svg { color: var(--blue); }
.club-menu-more { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line-soft); }

/* The search sits under the club, on navy; its results open below it,
   as wide as the menu (wider would be cut off by the scrolling menu). Folded, it becomes a search icon that opens the
   search page. */
.app-menu .top-search { flex: none; max-width: none; }
.app-menu .top-search .search { gap: 8px; padding: 0 10px; border: 1px solid var(--navy-3); background: var(--navy-2); color: #b9c6e8; }
.app-menu .top-search .search:focus-within { border-color: #b9c6e8; background: var(--navy-2); }
.app-menu .top-search .search input { padding: 9px 0; color: var(--on-navy); font-size: 14px; }
.app-menu .top-search .search input::placeholder { color: #b9c6e8; }
.app-menu-search-link { display: none; }

.club-app .sidebar nav { gap: 2px; }

.club-app .sidebar nav a {
  gap: 12px;
  height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: #b9c6e8;
  font-size: 14px;
  font-weight: 500;
}

.club-app :is(.sidebar nav a, .app-menu-search-link):hover { background: var(--navy-2); color: var(--on-navy); }
.club-app .sidebar nav a.active { background: var(--blue); color: var(--on-navy); }
.club-app .sidebar nav a.active:before { display: none; }
/* The club settings close the list, set a little apart (owner decision Q262d). */
.club-app .sidebar nav a.nav-settings { margin-top: 14px; }

.club-app .sidebar-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--navy-3);
}

/* The account entry: the yellow avatar, the name and "A minha conta"; the
   arrow shows only while its menu is open, which lifts above the entry. */
.account-menu-menu .account-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 12px;
  border-radius: 10px;
  color: #b9c6e8;
  list-style: none;
  cursor: pointer;
}

.account-toggle::-webkit-details-marker { display: none; }
.account-menu-menu.is-current .account-toggle { background: var(--blue); color: var(--on-navy); }
.account-menu-menu .account-toggle:hover,
.account-menu-menu[open] .account-toggle { background: var(--navy-2); }
.account-menu-menu .avatar { width: 28px; height: 28px; background: var(--yellow); color: var(--navy); font-size: 11px; }
.account-toggle-text { flex: 1; min-width: 0; line-height: 1.25; }
.account-toggle-text strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--on-navy); font-size: 14px; }
.account-toggle-text small { display: block; font-size: 12px; }
.account-menu-menu .account-toggle > svg { display: none; flex-shrink: 0; transform: rotate(180deg); }
.account-menu-menu[open] .account-toggle > svg { display: block; }

.account-panel {
  position: absolute;
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 6px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 28px rgb(17 28 58 / 28%);
  color: var(--ink);
}

.account-menu-menu .account-panel { left: 0; right: 0; bottom: calc(100% + 6px); }
.account-panel form { margin: 0; }
.account-who { margin-bottom: 4px; padding: 10px 12px 8px; border-bottom: 1px solid var(--line-soft); }
.account-who strong { display: block; font-size: 14px; }
.account-who small { display: block; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }

.account-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.account-item svg { flex-shrink: 0; stroke-width: 2; }
.account-item:hover { background: var(--blue-soft); color: var(--ink); }
.account-note { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.account-menu-menu .account-item { gap: 8px; }
.account-menu-menu .account-note { font-size: 11px; }

/* Not built yet: greyed out, not clickable, a small "Em breve". */
.account-item.is-disabled { color: #8290a8; cursor: default; }
.account-item.is-disabled:hover { background: none; color: #8290a8; }
.account-item.is-disabled .account-note { color: #8290a8; font-weight: 600; }

/* Sign out is set apart by a line. */
.account-panel form:has(.account-sign-out) { margin-top: 4px; border-top: 1px solid var(--line-soft); }

/* Folded: the icons, the club's crest, the search icon and the avatar;
   names on hover. The club and account menus open beside the strip. */
@media (min-width: 701px) {
  .app.club-app.nav-folded .sidebar { width: 72px; padding-left: 12px; padding-right: 12px; }
  .app.club-app.nav-folded .main { width: calc(100% - 72px); margin-left: 72px; }
  .club-app.nav-folded .sidebar-head { padding: 0; gap: var(--space-3); }
  .club-app.nav-folded .club-switch { justify-content: center; padding: 10px 0; }
  .club-app.nav-folded .club-switch > svg,
  .club-app.nav-folded .app-menu .top-search { display: none; }

  .club-app.nav-folded .app-menu-search-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 10px;
    color: #b9c6e8;
  }

  .club-app.nav-folded .sidebar nav a { justify-content: center; padding: 0; }
  .club-app.nav-folded .account-menu-menu .account-toggle { justify-content: center; padding: 0; }
  .club-app.nav-folded .account-menu-menu[open] .account-toggle > svg { display: none; }
  .club-app.nav-folded .account-menu-menu .account-panel { position: fixed; left: 80px; right: auto; bottom: 12px; width: 240px; }
  .club-app.nav-folded .club-menu-panel { position: fixed; top: 118px; left: 80px; right: auto; width: 240px; }
}

/* The phone's top: the club's crest and name, the account's avatar on the
   right (its menu opens below it). It scrolls away with the page; the bar
   at the bottom stays. Hidden on a computer. A detail page has none: its way
   back and its action are the top row (back_link). */
.phone-top { display: none; }

@media (max-width: 700px) {
  .phone-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 14px 20px 0;
  }

  .phone-top-club {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
  }

  /* A long club name is cut short, so the account stays on screen. */
  .phone-top-club > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .account-menu-phone { position: relative; flex-shrink: 0; }
  .account-menu-phone .account-toggle { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; list-style: none; cursor: pointer; }
  .account-menu-phone .avatar { width: 36px; height: 36px; background: var(--navy); color: var(--yellow); font-size: 13px; }
  .account-menu-phone .account-panel { top: calc(100% + 4px); right: 0; width: 260px; max-width: calc(100vw - 32px); }
}
