/* Player app responsive layout: wide, tablet and phone breakpoints. */
@media (min-width: 1450px) {
  main {
    padding-left: 65px;
    padding-right: 65px;
  }
  .hero {
    min-height: 300px;
  }
  .club-image {
    height: 190px;
  }
  .hero h2 {
    font-size: 46px;
  }
}
@media (max-width: 1150px) {
  aside {
    width: 195px;
    padding: 30px 18px;
  }
  .brand {
    font-size: 20px;
  }
  main {
    margin-left: 195px;
    padding: 0 28px 35px;
  }
  .club-grid {
    gap: 12px;
  }
  .club-body {
    padding: 13px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .club-title h3 {
    font-size: 12px;
  }
  .search-cell {
    padding: 2px 8px;
  }
  .hero {
    padding: 28px;
  }
  .spots {
    display: none;
  }
}
@media (max-width: 850px) {
  aside {
    width: 80px;
    padding: 25px 14px;
  }
  .brand .brand-name,
  .nav-item span,
  .side-note,
  .profile-mini div:not(.avatar),
  .profile-mini span {
    display: none;
  }
  .brand {
    justify-content: center;
  }
  .nav-item {
    padding: 15px;
    justify-content: center;
  }
  .profile-mini {
    justify-content: center;
  }
  main {
    margin-left: 80px;
    padding: 0 24px 35px;
  }
  .club-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .club-grid .club-card:last-child {
    display: none;
  }
  .hero-copy {
    width: 65%;
  }
  .hero h2 {
    font-size: 33px;
  }
  .quick-search {
    flex-wrap: wrap;
  }
  .search-cell {
    min-width: 28%;
  }
  .quick-search > .primary {
    width: 100%;
    margin-top: 6px;
  }
  .search-cell:last-of-type {
    border: 0;
  }
}
@media (max-width: 600px) {
  aside {
    display: none;
  }
  main {
    margin: 0;
    padding: 0 20px 100px;
  }
  .topbar {
    height: 77px;
    border: 0;
    gap: 10px;
  }
  .mobile-brand {
    display: flex;
    font-size: 16px;
    gap: 7px;
  }
  .mobile-brand .brand-name {
    line-height: 1;
  }
  .mobile-brand small {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .topbar .location {
    margin-left: auto;
    font-size: 10px;
    gap: 4px;
  }
  .location small {
    font-size: 8px;
  }
  .top-actions {
    gap: 8px;
  }
  .demo-tag {
    display: none;
  }
  .top-actions > .avatar {
    display: none;
  }
  .icon-btn {
    width: 34px;
    height: 34px;
  }
  .welcome {
    margin: 15px 0 23px;
  }
  .welcome .eyebrow {
    font-size: 9px;
  }
  .welcome h1 {
    font-size: 27px;
    letter-spacing: -1px;
  }
  .welcome .sub {
    font-size: 11px;
  }
  .date-label {
    display: none;
  }
  .hero {
    min-height: 265px;
    border-radius: 16px;
    padding: 27px 23px;
  }
  .hero-copy {
    width: 77%;
  }
  .hero h2 {
    font-size: 34px;
    letter-spacing: -1.4px;
  }
  .hero p {
    max-width: 190px;
    font-size: 10px;
  }
  .hero .primary {
    font-size: 11px;
    padding: 12px 15px;
  }
  .court-art {
    width: 85%;
    right: -39%;
    top: -10%;
    height: 130%;
    opacity: 0.55;
  }
  .ball {
    right: 8%;
    top: 50%;
    width: 20px;
    height: 20px;
  }
  .hero-badge {
    font-size: 6px;
    right: 13px;
    bottom: 12px;
  }
  .quick-search {
    padding: 12px 9px;
    margin: 18px 0 28px;
    gap: 6px;
    border-radius: 12px;
  }
  .search-cell {
    padding: 3px 8px;
    gap: 7px;
    min-width: 30%;
  }
  .search-cell > svg {
    width: 15px;
  }
  .search-cell label {
    font-size: 8px;
  }
  .search-cell select {
    font-size: 10px;
  }
  .quick-search > .primary {
    padding: 12px;
  }
  .section-head h2 {
    font-size: 18px;
  }
  .section-head p {
    font-size: 10px;
  }
  .text-btn {
    font-size: 10px;
  }
  .chips {
    margin-bottom: 16px;
  }
  .chip {
    font-size: 10px;
    padding: 8px 13px;
  }
  .club-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-right: -20px;
    padding-right: 20px;
    padding-bottom: 4px;
    gap: 13px;
    scrollbar-width: none;
  }
  .club-grid .club-card:last-child {
    display: block;
  }
  .club-card {
    min-width: 265px;
    scroll-snap-align: start;
    flex: 1;
  }
  .club-image {
    height: 150px;
  }
  .club-body {
    padding: 16px;
  }
  .club-title h3 {
    font-size: 13px;
  }
  .club-bottom {
    margin-top: 13px;
  }
  .match-grid {
    grid-template-columns: 1fr;
  }
  .match {
    padding: 17px;
  }
  .spots {
    display: block;
  }
  .matches-section {
    margin-top: 28px;
  }
  .bottom-nav {
    position: fixed;
    display: flex;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    background: #fffffff5;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    padding: 10px 10px max(12px, env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .bottom-nav button {
    display: grid;
    gap: 5px;
    justify-items: center;
    color: #91998b;
    font-size: 9px;
    min-width: 58px;
  }
  .bottom-nav button.active {
    color: var(--ink);
    font-weight: 700;
  }
  .bottom-nav button.active:before {
    content: '';
    position: absolute;
    top: 0;
    width: 23px;
    height: 3px;
    background: var(--ink);
    border-radius: 0 0 3px 3px;
  }
  .footer-note {
    line-height: 1.7;
    gap: 15px;
    font-size: 8px;
  }
  .page-content {
    padding-top: 15px;
  }
  .booking-card {
    align-items: start;
    padding: 18px;
    flex-direction: column;
  }
  .profile-panel {
    padding: 23px;
  }
  .profile-header h2 {
    font-size: 20px;
  }
  #toast {
    bottom: 90px;
  }
  .page-content .welcome {
    margin-top: 12px;
  }
  .page-content > .club-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-right: 0;
    padding-right: 0;
  }
  .page-content > .club-grid .club-card {
    min-width: 0;
  }
  .page-content > .club-grid .club-image {
    height: 180px;
  }
  dialog {
    padding: 23px;
  }
  .stats b {
    font-size: 21px;
  }
}
@media (max-width: 600px) {
  .mobile-brand .brand-name {
    display: block;
    font-size: 13px;
    letter-spacing: -0.6px;
  }
  .mobile-brand small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .mobile-brand {
    gap: 4px;
  }
  .mobile-brand > svg {
    width: 24px;
  }
  .topbar .location {
    max-width: 125px;
  }
}
.search-cell input[type='date'] {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  width: 128px;
  padding: 0;
}
.slot:disabled {
  opacity: 0.45;
  cursor: default;
}
.demo-tag[data-switch-role] {
  cursor: pointer;
}
@media (max-width: 600px) {
  .search-cell input[type='date'] {
    font-size: 10px;
    width: 104px;
  }
  .quick-search .search-cell {
    padding: 3px 5px;
  }
  .quick-search .search-cell > svg {
    width: 12px;
  }
  .quick-search .search-cell {
    gap: 4px;
  }
}
#experience-summary .stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
#experience-summary .stats > div:first-child {
  grid-column: 1/-1;
}
#experience-summary .stats b {
  overflow-wrap: anywhere;
}
#experience-summary p {
  margin-block: 10px;
}
.profile-panel input[readonly] {
  background: var(--paper);
  color: var(--ink);
}
