@font-face {
  font-family: "OriginalIconfont";
  src: url("./assets/original/iconfont.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

:root {
  color-scheme: light;
  --app-height: 100dvh;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --page-green: #53b164;
  --page-green-deep: #4aa85c;
  --page-orange: #fe931f;
  --original-green: #00a755;
  --page-bg: #f5f6f8;
  --surface: #ffffff;
  --surface-shadow: 0 12px 28px rgba(33, 60, 41, 0.08);
  --text-main: #1f1f1f;
  --text-soft: #8c8c8c;
  --gold-1: #ffd884;
  --gold-2: #f6c663;
  --gold-text: #9c6218;
  --tabbar-safe-gap: max(var(--safe-bottom), 0px);
  --tabbar-row-height: 48px;
  --tabbar-height: calc(var(--tabbar-row-height) + var(--tabbar-safe-gap));
  --tabbar-space: var(--tabbar-height);
  font-family: "PingFang SC", "SF Pro Display", "Helvetica Neue", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
  margin: 0;
}

html {
  min-height: -webkit-fill-available;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: #fff;
}

body {
  min-height: -webkit-fill-available;
  min-height: 100svh;
  background:
    radial-gradient(circle at top, rgba(76, 191, 122, 0.22), transparent 34%),
    linear-gradient(180deg, #e4efe8 0%, #f3f6f4 60%, #eff3ef 100%);
  color: var(--text-main);
  overflow: hidden;
  overscroll-behavior: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
}

button:active,
[data-page-target]:active,
[data-nav-back]:active,
[data-mp-close]:active,
.wechat-chatitem:active {
  box-shadow: none;
  filter: none;
}

img {
  display: block;
  max-width: 100%;
}

.app-icons {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.iconfont {
  display: inline-block;
  font-family: "OriginalIconfont" !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-yueqiujilu::before { content: "\e8c8"; }
.icon-canyinjilu1::before { content: "\e8c7"; }
.icon-xiaofeijilu1::before { content: "\e8bc"; }
.icon-menpiaojilu::before { content: "\e8bd"; }
.icon-ruchangjilu::before { content: "\e8be"; }
.icon-chongcijilu1::before { content: "\e8bf"; }
.icon-yudingjilu::before { content: "\e8c1"; }
.icon-jicijilu::before { content: "\e8c2"; }
.icon-shangchengdingdan1::before { content: "\e8c3"; }
.icon-chongzhijilu1::before { content: "\e8c5"; }
.icon-goukajilu::before { content: "\e8c6"; }
.icon-dingdan::before { content: "\e64b"; }
.icon-tipeidingdan1::before { content: "\e8bb"; }
.icon-chuanxiandingdan::before { content: "\e8ba"; }
.icon-yanqijilu::before { content: "\e86a"; }
.icon-huodongjilu::before { content: "\e793"; }
.icon-hexiaojuan::before { content: "\e83c"; }
.icon-wodexueyuan::before { content: "\e803"; }
.icon-renshu::before { content: "\e7ef"; }
.icon-renlian::before { content: "\e7f4"; }
.icon-renlianluru::before { content: "\e78d"; }
.icon-kecheng::before { content: "\e898"; }
.icon-shuzirenminbiApp::before { content: "\e7fd"; }
.icon-chongzhi::before { content: "\e751"; }
.icon-changdi1::before { content: "\e785"; }
.icon-dianhua1::before { content: "\e869"; }
.icon-ditu::before { content: "\e86e"; }
.icon-shouye::before { content: "\e77e"; }
.icon-shouye-fill::before { content: "\e77c"; }
.icon-yuyue::before { content: "\e779"; }
.icon-a-yuyue-fill::before { content: "\e77b"; }
.icon-wode::before { content: "\e77a"; }
.icon-a-wode-fill::before { content: "\e77d"; }
.icon-shangcheng::before { content: "\e7c8"; }
.icon-shangcheng-fill::before { content: "\e7c9"; }
.icon-huiyuanma::before { content: "\e781"; }

.app-shell {
  min-height: -webkit-fill-available;
  min-height: 100svh;
  height: var(--app-height);
  padding: 0;
  overflow: hidden;
}

.phone-shell {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: -webkit-fill-available;
  min-height: 100svh;
  height: var(--app-height);
  background: var(--page-bg);
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 18px 50px rgba(30, 56, 39, 0.16);
  isolation: isolate;
}

.page {
  position: absolute;
  inset: 0;
  background: var(--page-bg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.page.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.page--sub {
  background: #f5f7fb;
}

.page-scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-scroll::-webkit-scrollbar {
  display: none;
}

.page-scroll--with-tabbar {
  padding-bottom: calc(var(--tabbar-space) + 2px);
}

.page-content {
  padding: 10px;
}

.page-content--member,
.page-content--records {
  padding: 10px 12px 0;
  max-width: none;
  margin: 0 auto;
}

.page-content--member-list {
  padding: 10px 6px 0;
  max-width: none;
  margin: 0 auto;
}

.page-content--member-detail,
.page-content--member-pay,
.page-content--member-code {
  padding: 10px 12px 24px;
  max-width: none;
  margin: 0 auto;
}

.page-content--record-detail {
  padding: 0 0 16px;
  margin: 0 auto;
}

.page-content--students,
.page-content--students-editor {
  padding: 12px;
}

.page-content--venue {
  padding: 0 0 18px;
}

.top-strip {
  min-height: calc(58px + var(--safe-top));
  padding: calc(6px + var(--safe-top)) 14px 8px;
  background: var(--page-green);
}

.capsule {
  margin-left: auto;
  width: 100px;
  height: 38px;
  border-radius: 999px;
  background: rgba(19, 145, 77, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 15px;
  color: #ffffff;
}

.capsule--light {
  background: rgba(255, 255, 255, 0.85);
  color: #111111;
  box-shadow: 0 10px 24px rgba(60, 110, 82, 0.08);
}

.capsule__dots {
  width: 26px;
  height: 8px;
  background:
    radial-gradient(circle at 3px 4px, currentColor 0 2.5px, transparent 3px),
    radial-gradient(circle at 13px 4px, currentColor 0 4.5px, transparent 5px),
    radial-gradient(circle at 23px 4px, currentColor 0 2.5px, transparent 3px);
}

.capsule__dots::before,
.capsule__ring::before {
  content: "";
  display: block;
  border-radius: 50%;
  background: currentColor;
}

.capsule__ring {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.capsule__ring::before {
  position: absolute;
  inset: 3px;
}

.surface-card {
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--surface-shadow);
}

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(60, 90, 72, 0.05);
  overflow: hidden;
}

.notice__icon {
  width: 26px;
  height: 26px;
  color: #2fbb68;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.notice__icon--colored {
  width: 30px;
  height: 30px;
  color: initial;
  fill: initial;
  stroke: initial;
}

.notice__icon--image {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.notice__ticker {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.notice__track {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: notice-marquee 12s linear infinite;
}

.notice__text {
  display: inline-block;
  margin: 0;
  padding-right: 34px;
  font-size: 15px;
  line-height: 1;
}

.notice--home .notice__text {
  color: #8e3970;
}

.notice--shop .notice__text {
  color: #7c3436;
}

.banner-card {
  position: relative;
  overflow: hidden;
}

.banner-card__viewport {
  width: 100%;
  aspect-ratio: 593 / 358;
  overflow: hidden;
}

.banner-card__track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.5s ease;
}

.banner-card__image {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-card > .banner-card__image {
  height: auto;
  aspect-ratio: 2.17;
}

.banner-card__dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.banner-card__dots--embedded {
  display: none;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.dot--active {
  width: 28px;
  border-radius: 999px;
  background: #36d975;
}

.dual-actions {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(32, 80, 45, 0.08);
}

.home-nav-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.action-tile {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
}

.action-tile__label-img {
  display: block;
  width: 87px;
  height: 36px;
  object-fit: contain;
  pointer-events: none;
}

.action-tile__label-text {
  display: block;
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.04em;
  transform: skewX(-8deg);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.primary-cta {
  position: relative;
  width: 100%;
  height: 80px;
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(26, 120, 69, 0.08);
}

.primary-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.primary-cta span {
  position: relative;
  z-index: 1;
  font-size: 31px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.05em;
  transform: skewX(-11deg);
}

.section-card,
.venue-card,
.profile-card {
  padding: 14px;
}

.profile-card--wallet {
  width: 100%;
  margin: 0;
  padding: 12px 18px 14px;
}

.vip-banner + .profile-card,
.profile-card + .profile-card {
  margin-top: 12px;
}

.section-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.section-card__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b5b5b5;
  font-size: 15px;
  cursor: pointer;
}

.venue-card {
  margin-top: 12px;
}

.venue-card__media {
  position: relative;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 4px;
}

.venue-card__media img {
  width: 100%;
  aspect-ratio: 3.89;
  object-fit: cover;
}

.venue-card__tags {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 10px;
  display: flex;
  gap: 8px;
}

.venue-card__tags span {
  padding: 6px 10px;
  background: rgba(102, 196, 118, 0.88);
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.venue-card__body h3 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.venue-card__address {
  margin: 0;
  color: #929292;
  font-size: 14px;
}

.venue-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
  color: #7a7a7a;
  font-size: 14px;
}

.venue-card__meta-item em {
  color: #61b45e;
  font-style: normal;
}

.venue-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #61b45e;
  cursor: pointer;
}

.venue-card__link-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
}

.page-footnote {
  padding: 12px 0 2px;
  text-align: center;
  color: #7b7b7b;
  font-size: 13px;
}

.page-footnote p {
  margin: 6px 0 0;
}

.page-footnote__line {
  display: block;
  width: 80px;
  height: 3px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: #e9e9e9;
}

.booking-card {
  overflow: hidden;
  margin-bottom: 12px;
}

.booking-card__image {
  width: 100%;
  aspect-ratio: 2.19;
  object-fit: cover;
}

.booking-card__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  padding: 14px;
}

.booking-card__info h2 {
  margin: 0;
  font-size: 18px;
}

.booking-card__info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  color: #7c7c7c;
  font-size: 15px;
}

.booking-card__info svg {
  width: 22px;
  height: 22px;
  color: #9e9e9e;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill-button {
  min-width: 100px;
  height: 44px;
  border-radius: 999px;
  background: #2fca73;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}

.venue-booking {
  padding-bottom: 114px;
}

.venue-sports {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  margin-bottom: 8px;
  overflow-x: auto;
  background: #ffffff;
  border-bottom: 1px solid #ededed;
  scrollbar-width: none;
}

.venue-sports::-webkit-scrollbar,
.venue-dates::-webkit-scrollbar,
.venue-board__scroller::-webkit-scrollbar {
  display: none;
}

.venue-sport {
  position: relative;
  height: 48px;
  padding: 0;
  color: #282828;
  font-size: 15px;
  background: none;
  white-space: nowrap;
}

.venue-sport.is-active {
  color: #34c072;
}

.venue-sport.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: #34c072;
}

.venue-dates {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80px;
  gap: 6px;
  padding: 0 10px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.venue-date,
.record-filter {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  min-height: 58px;
  border-radius: 5px;
  border: 1px solid #ececec;
  background: #ffffff;
  color: #2d2d2d;
}

.venue-date.is-active {
  border-color: #56c89c;
  color: #34c072;
  box-shadow: inset 0 0 0 1px #56c89c;
}

.venue-date__day {
  font-size: 15px;
  line-height: 1;
}

.venue-date__week {
  font-size: 11px;
  line-height: 1.2;
}

.venue-date-input,
.record-date-input {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.venue-date-input.is-picking,
.record-date-input.is-picking {
  left: 0;
  top: 0;
}

/* WeChat App UI Styles */
.page[data-page="wechat-chatlist"] {
  background: #ededed;
  display: flex;
  flex-direction: column;
}
.wechat-header {
  background: #ededed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: calc(8px + var(--safe-top)) 16px 8px;
  height: calc(44px + var(--safe-top));
  position: relative;
  z-index: 10;
}
.wechat-header__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 17px;
  font-weight: 600;
  color: #000;
}
.wechat-header__right {
  margin-left: auto;
  display: flex;
  color: #000;
}
.wechat-search-container {
  background: #ededed;
  padding: 8px 10px 10px;
}
.wechat-search-bar {
  background: #ffffff;
  border-radius: 6px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #b2b2b2;
  font-size: 15px;
}
.page-scroll--wechat {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #ededed;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.wechat-mp-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #222222 0%, #151515 100%);
  z-index: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.wechat-mp-header {
  text-align: center;
  padding: calc(12px + var(--safe-top)) 16px 12px;
  font-size: 15px;
  font-weight: 500;
  color: #e5e5e5;
}

.wechat-mp-search {
  margin: 0 24px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  gap: 6px;
}

.wechat-mp-content {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  overflow-y: auto;
  flex: 1;
}

.wechat-mp-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wechat-mp-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wechat-mp-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.wechat-mp-more {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.wechat-mp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 0;
}

.wechat-mp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.wechat-mp-item img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  padding: 0;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wechat-mp-item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
}

.wechat-mp-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(76px + var(--safe-bottom));
  background: rgba(246, 246, 246, 0.96);
  backdrop-filter: blur(14px);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: calc(20px + var(--safe-bottom));
  color: rgba(20, 20, 20, 0.9);
  font-size: 15px;
}

.wechat-mp-footer-plus {
  position: absolute;
  right: 20px;
  bottom: calc(18px + var(--safe-bottom));
  transform: none;
  color: rgba(20, 20, 20, 0.86);
}

.wechat-main-view {
  background: #ededed;
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.wechat-main-view.is-dark-header .wechat-header {
  background: linear-gradient(to top, rgba(30, 30, 30, 0.95), rgba(30, 30, 30, 0.8));
  color: rgba(255, 255, 255, 0.6);
}

.wechat-main-view.is-dark-header .wechat-search-container {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.wechat-main-view.is-dark-header .wechat-header__title {
  color: rgba(255, 255, 255, 0.6);
}

.wechat-main-view.is-dark-header .wechat-header__right {
  color: rgba(255, 255, 255, 0.6);
}

.wechat-chatlist {
  background: #fff;
}
.wechat-chatitem {
  display: flex;
  padding: 12px 16px 12px 16px;
  cursor: pointer;
  position: relative;
}
.wechat-chatitem::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 76px;
  border-bottom: 1px solid #e5e5e5;
}
.wechat-chatitem:last-child::after {
  display: none;
}
.wechat-chatitem:active {
  background: transparent;
}
.wechat-chatitem__avatar-wrapper {
  position: relative;
  width: 48px;
  height: 48px;
  margin-right: 12px;
}
.wechat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  background-color: #ff3b30;
  border-radius: 50%;
  z-index: 2;
}
.wechat-badge:empty {
  display: block; /* The HTML leaves it empty to show a simple red dot */
}
.wechat-chatitem__avatar {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: #f0f0f0;
  overflow: hidden;
}
.wechat-chatitem__avatar--image {
  object-fit: cover;
}
.wechat-group-avatar {
  width: 100%;
  height: 100%;
  background: #dddddd;
  border-radius: 6px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  box-sizing: border-box;
  overflow: hidden;
}
.wechat-group-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.wechat-chatitem__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
  min-width: 0;
}
.wechat-chatitem__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wechat-chatitem__name {
  font-size: 16px;
  font-weight: 400;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wechat-chatitem__time {
  font-size: 12px;
  color: #b2b2b2;
  white-space: nowrap;
  margin-left: 8px;
}
.wechat-chatitem__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wechat-chatitem__msg {
  font-size: 14px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.wechat-chatitem__muted {
  margin-left: 8px;
  flex-shrink: 0;
}
.wechat-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  height: calc(62px + var(--safe-bottom));
  padding: 7px 0 var(--safe-bottom);
  background: rgba(247, 247, 247, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  user-select: none;
}
.wechat-tabbar__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1f1f1f;
  font-size: 11px;
  line-height: 1;
  gap: 3px;
}
.wechat-tabbar__item.is-active {
  color: #07c160;
}

.wechat-tabbar__icon-wrap {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.wechat-tabbar__icon {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
}

.wechat-tabbar__badge {
  position: absolute;
  top: 2px;
  right: 1px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff4f4f;
  border: 2px solid #f7f7f7;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.venue-board {
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.venue-board__scroller {
  overflow-x: auto;
  padding: 8px 10px;
}

.venue-board__grid {
  display: grid;
  grid-template-columns: 52px repeat(4, 84px);
  gap: 6px;
  min-width: max-content;
}

.venue-board__corner {
  height: 38px;
}

.venue-board__court {
  display: grid;
  place-items: center;
  height: 38px;
  border: 1px solid #efefef;
  background: #ffffff;
  color: #2c2c2c;
  font-size: 13px;
}

.venue-board__time {
  display: grid;
  align-items: center;
  justify-items: start;
  color: #5b5b5b;
  font-size: 10px;
  padding-left: 2px;
}

.venue-slot {
  min-height: 62px;
  border-radius: 5px;
  border: 1px solid #f0f0f0;
  font-size: 13px;
  font-weight: 500;
}

.venue-slot--available {
  background: #effcf7;
  color: #3cc089;
}

.venue-slot--selected {
  background: #30c26e;
  border-color: #30c26e;
  color: #ffffff;
}

.venue-slot--booked {
  background: #2879ef;
  border-color: #2879ef;
  color: #ffffff;
}

.venue-slot--disabled {
  background: #f4f5f7;
  color: #b7b7b7;
}

.venue-legend {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 10px 0;
  color: #515151;
  font-size: 12px;
}

.venue-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.venue-legend__swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 2px;
}

.venue-legend__swatch--available {
  background: #effcf7;
}

.venue-legend__swatch--disabled {
  background: #f1f2f4;
}

.venue-footer {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 10px calc(12px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #ececec;
}

.venue-footer p {
  margin: 0;
  color: #373737;
  font-size: 16px;
}

.venue-footer strong {
  color: #df5969;
  font-weight: 500;
}

.venue-footer button {
  min-width: 148px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d8d8d8;
  background: #ffffff;
  color: #b7b7b7;
  font-size: 15px;
}

.venue-footer button:not(:disabled) {
  border-color: #32c36d;
  background: #32c36d;
  color: #ffffff;
}

.empty-state {
  position: relative;
  min-height: 180px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  color: #b8c2cb;
}

.empty-state::before {
  content: "";
  width: 118px;
  height: 88px;
  background: url("./assets/original/miniImg/empty.png") center / contain no-repeat;
}

.empty-state svg {
  display: none;
}

.empty-state p {
  margin: 0;
  font-size: 16px;
}

.empty-state--coach {
  min-height: 188px;
}

.shortcut-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 8px;
  margin: 12px 0;
}

.shortcut-card__item {
  display: grid;
  justify-items: center;
  gap: 12px;
  cursor: pointer;
}

.shortcut-card__item span:last-child {
  font-size: 14px;
}

.shortcut-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 12px 22px rgba(44, 72, 61, 0.12);
}

.shortcut-card__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shortcut-card__icon--orange {
  background: linear-gradient(135deg, #ff6c44 0%, #ffb04a 100%);
}

.shortcut-card__icon--cyan {
  background: linear-gradient(135deg, #19b0ff 0%, #4ad7b7 100%);
}

.shortcut-card__icon--blue {
  background: linear-gradient(135deg, #5367ff 0%, #6c8fff 100%);
}

.shortcut-card__icon--yellow {
  background: linear-gradient(135deg, #ffc64a 0%, #ffe275 100%);
}

.page-heading {
  margin: 14px 2px 10px;
  font-size: 26px;
  font-weight: 500;
}

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

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
}

.product-card__body {
  padding: 10px 10px 14px;
}

.product-card__body h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  margin: 0;
  color: #df6173;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.product-card__price span {
  font-size: 16px;
}

.product-card__price strong {
  font-size: 24px;
  font-weight: 400;
}

.product-card__add {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #33cf72;
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.product-card__add svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.2;
  stroke-linecap: round;
}

.shop-fabs {
  position: absolute;
  right: 14px;
  bottom: calc(var(--tabbar-height) + 10px);
  display: grid;
  gap: 12px;
  z-index: 4;
}

.shop-fabs__button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #34ca70;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 28px rgba(42, 164, 90, 0.24);
  cursor: pointer;
}

.shop-fabs__button svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-hero {
  position: relative;
  overflow: hidden;
  min-height: 152px;
  padding: calc(6px + var(--safe-top)) 14px 12px;
  background:
    linear-gradient(180deg, #d2eee2 0%, #dcefe7 58%, #ebf4ef 100%);
}

.profile-hero::after {
  content: "";
  position: absolute;
  right: -186px;
  bottom: -116px;
  width: 360px;
  height: 185px;
  background: url("./assets/original/miniImg/acBg.png") center / contain no-repeat;
  opacity: 0.26;
  pointer-events: none;
}

.profile-hero .capsule {
  position: absolute;
  z-index: 2;
  top: calc(6px + var(--safe-top));
  right: 14px;
}

.profile-summary {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 42px;
}

.profile-summary__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-summary__text p {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
}

.profile-summary__text p + p {
  margin-top: 6px;
}

.wallet-stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  margin-top: 6px;
}

.wallet-stats__divider {
  width: 1px;
  height: 48px;
  background: url("./assets/original/miniImg/line.png") center / 1px 100% no-repeat;
  justify-self: center;
}

.wallet-stat {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 6px 6px;
}

.wallet-stat--button {
  cursor: pointer;
}

.wallet-stat strong {
  font-size: 22px;
  font-weight: 400;
}

.wallet-stat span {
  color: #535353;
  font-size: 14px;
}

.vip-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 10px 0 12px;
  padding: 0 16px;
  min-height: 78px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 50%, rgba(255, 255, 255, 0.08), transparent 30%),
    linear-gradient(90deg, #2c2f4b 0%, #222640 56%, #1f233c 100%);
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.vip-banner::after {
  content: "";
  position: absolute;
  right: -142px;
  top: -44px;
  width: 340px;
  height: 170px;
  background: url("./assets/original/miniImg/acBg.png") center / contain no-repeat;
  opacity: 0.36;
  pointer-events: none;
}

.vip-banner__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.vip-banner__vip {
  display: inline-block;
  font-size: 38px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0;
  background: linear-gradient(201deg, #ffeabb 0%, #ffc96f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  transform: skewX(-8deg);
}

.vip-banner__text {
  max-width: none;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.vip-banner__button {
  position: relative;
  z-index: 1;
  min-width: 96px;
  height: 36px;
  border-radius: 999px;
  background: #1ebd73;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  font-weight: 600;
}

.icon-grid {
  display: grid;
  justify-items: center;
  row-gap: 18px;
}

.icon-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 20px;
}

.icon-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 16px;
}

.icon-grid__item {
  display: grid;
  justify-items: center;
  gap: 10px;
  cursor: pointer;
}

.icon-grid__item svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
}

.icon-grid__item .icon-grid__glyph {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #242424;
  font-size: 34px;
}

.icon-grid__item .icon-grid__glyph--exchange svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-grid__item span {
  font-size: 13px;
}

.page-titlebar {
  position: sticky;
  top: 0;
  z-index: 6;
  min-height: calc(66px + var(--safe-top));
  padding: calc(6px + var(--safe-top)) 12px 8px;
  background: var(--page-green);
}

.page-titlebar .capsule {
  position: absolute;
  top: calc(6px + var(--safe-top));
  right: 12px;
}

.page-titlebar__title {
  position: absolute;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 184px);
  top: calc(50% + (var(--safe-top) / 2));
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.page-titlebar--member .page-titlebar__title,
.page-titlebar--booking .page-titlebar__title,
.page-titlebar--booking-records .page-titlebar__title {
  font-size: 17px;
}

.back-button {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  margin-top: calc(var(--safe-top) / 3);
  cursor: pointer;
}

.back-button span {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 10px;
  height: 10px;
  border-left: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

.vip-entry {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 78px;
  margin: 0 auto;
  border-radius: 8px;
  background: #242840 url("./assets/homeBg1.png") right center / auto 100% no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 16px;
  box-shadow: 0 12px 24px rgba(35, 40, 68, 0.14);
  cursor: pointer;
}

.vip-entry::after {
  content: none;
}

.vip-entry__vip-mark,
.vip-entry__title {
  position: relative;
  z-index: 1;
}

.vip-entry__vip-mark {
  display: block;
  width: 58px;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

.vip-entry__title {
  font-size: 16px;
  font-weight: 700;
}

.membership-card {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  border-radius: 15px;
  background: #f7cf78 url("./assets/card_czk.png") center / cover no-repeat;
  box-shadow: none;
  color: #af5e01;
}

.membership-card::before {
  display: none;
}

.membership-card::after {
  display: none;
}

.membership-card__mark {
  display: none;
}

.membership-card__head,
.membership-card__venue,
.membership-card__number,
.membership-card__stats,
.membership-card__list-meta,
.membership-card__code,
.membership-card__footer {
  position: relative;
  z-index: 1;
}

.membership-card--owned {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  min-height: 202px;
  padding: 16px 18px 0;
}

.membership-card--list {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  min-height: 140px;
  padding: 16px 18px;
}

.membership-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-pill {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  height: 24px;
  padding: 0 10px;
  border-radius: 5px;
  background: #af5e01;
  color: rgba(255, 232, 188, 0.98);
  font-size: 12px;
  font-weight: 400;
}

.membership-card__head h2 {
  margin: 0;
  color: #af5e01;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.membership-card--owned .membership-card__head h2 {
  font-size: 19px;
}

.membership-card__venue {
  margin: 12px 0 0;
  color: rgba(120, 78, 24, 0.9);
  font-size: 14px;
}

.membership-card__number {
  margin: 7px 0 0;
  color: #af5e01;
  font-size: 12px;
  font-weight: 500;
}

.membership-card__code {
  position: absolute;
  right: 18px;
  bottom: 66px;
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: rgba(255, 244, 222, 0.76);
  color: #af5e01;
  font-size: 23px;
}

.membership-card__stats {
  display: grid;
  grid-template-columns: 104px 104px;
  column-gap: clamp(42px, 13vw, 58px);
  max-width: none;
  width: max-content;
  margin-top: 30px;
  margin-bottom: 14px;
}

.membership-card__stats span,
.membership-card__amount span {
  display: block;
  color: rgba(88, 58, 24, 0.88);
  font-size: 14px;
}

.membership-card__stats strong,
.membership-card__amount strong {
  display: block;
  margin-top: 6px;
  color: #af5e01;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.membership-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 -18px;
  min-height: 52px;
  padding: 10px 18px;
  background: rgba(178, 128, 45, 0.6);
  color: #ffffff;
  font-size: 13px;
}

.membership-card__footer button {
  min-width: 84px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff;
  color: #95611a;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.membership-card[role="button"] {
  cursor: pointer;
}

.membership-card__code canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.membership-card--detail {
  min-height: 220px;
  padding: 18px 18px 0;
}

.membership-card__code--detail {
  width: 42px;
  height: 42px;
}

.membership-card__stats--detail {
  margin-top: 34px;
}

.member-detail-panel,
.member-pay-summary,
.member-pay-panel {
  margin-top: 10px;
  border-radius: 8px;
  padding: 14px;
  box-shadow: none;
}

.member-detail-panel h2,
.member-pay-panel h2 {
  margin: 0 0 12px;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
}

.member-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  border-bottom: 1px solid #f1f1f1;
  color: #8a8a8a;
  font-size: 14px;
}

.member-info-row:last-child {
  border-bottom: 0;
}

.member-info-row strong {
  min-width: 0;
  color: #303030;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.member-record-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}

.member-record-row:last-child {
  border-bottom: 0;
}

.member-record-row strong {
  display: block;
  color: #333333;
  font-size: 14px;
}

.member-record-row span {
  display: block;
  margin-top: 3px;
  color: #999999;
  font-size: 12px;
}

.member-record-row em {
  flex: 0 0 auto;
  color: #4aa85c;
  font-style: normal;
  font-weight: 700;
}

.member-record-row em.is-muted {
  color: #999999;
}

.member-code-card {
  display: grid;
  justify-items: center;
  margin: 18px auto 0;
  padding: 20px 18px 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--page-green) 0 118px, #ffffff 118px 100%);
  text-align: center;
}

.member-code-card h2 {
  width: 100%;
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-code-card__box {
  display: grid;
  place-items: center;
  width: 260px;
  height: 260px;
  margin-top: 22px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(33, 60, 41, 0.08);
}

.member-code-card canvas {
  display: block;
  image-rendering: pixelated;
}

.member-code-card p {
  margin: 15px 0 0;
  color: #5a5a5a;
  font-size: 14px;
}

.member-code-card button {
  margin-top: 18px;
  color: #303030;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.member-code-card span {
  margin-top: 14px;
  color: #777777;
  font-size: 13px;
}

.member-pay-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.member-pay-summary span,
.member-pay-panel .member-info-row span {
  display: block;
  color: #909090;
  font-size: 13px;
}

.member-pay-summary strong {
  display: block;
  margin-top: 4px;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
}

.member-pay-summary div:last-child {
  text-align: right;
}

.member-pay-package {
  display: grid;
  justify-items: center;
  width: 100%;
  min-height: 74px;
  padding: 12px;
  border: 1px solid #d7aa5b;
  border-radius: 8px;
  background: #fff8ea;
  color: #af5e01;
  cursor: pointer;
}

.member-pay-package strong {
  font-size: 17px;
}

.member-pay-package span {
  margin-top: 3px;
  font-size: 12px;
}

.member-pay-price {
  color: #e94a3d !important;
}

.member-pay-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  margin-top: 8px;
  color: #333333;
  font-size: 14px;
  font-weight: 600;
}

.member-pay-method i {
  position: relative;
  width: 20px;
  height: 20px;
  border: 1px solid #af5e01;
  border-radius: 50%;
}

.member-pay-method i::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #af5e01;
}

.member-pay-submit {
  position: sticky;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px calc(10px + var(--safe-bottom));
  border-top: 1px solid #eeeeee;
  background: #ffffff;
}

.member-pay-submit div {
  flex: 1;
  min-width: 0;
}

.member-pay-submit span {
  color: #909090;
  font-size: 12px;
}

.member-pay-submit strong {
  display: block;
  color: #af5e01;
  font-size: 21px;
  line-height: 1.1;
}

.member-pay-submit button {
  width: 136px;
  height: 44px;
  border-radius: 999px;
  background: #af5e01;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.record-toolbar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.record-toolbar__label {
  color: #333333;
  font-size: 16px;
}

.record-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.record-filter {
  min-height: 48px;
  font-size: 16px;
}

.record-filter.is-active {
  border-color: #35c36d;
  background: #35c36d;
  color: #ffffff;
  box-shadow: none;
}

#bookingRecordsList {
  display: grid;
  gap: 10px;
}

.booking-record-card {
  display: block;
  border: 0;
  background: #ffffff;
  text-align: left;
  padding: 20px 20px 0;
  border-radius: 6px;
  width: 100%;
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
}

.booking-record-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.booking-record-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.booking-record-card__brand-icon {
  width: 18px;
  height: 18px;
  color: #2ec46e;
  font-size: 18px;
}

.booking-record-card__status {
  color: #999999;
  font-size: 14px;
  white-space: nowrap;
}

.booking-record-card__status--paid {
  color: #0fce96;
  font-weight: 700;
}

.booking-record-card__status--pending {
  color: #ff9c1a;
  font-weight: 700;
}

.booking-record-card__status--danger {
  color: #ff3b30;
}

.booking-record-card__status--muted {
  color: #999999;
}

.booking-record-card__rows {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #efefef;
  display: grid;
  gap: 10px;
}

.booking-record-card__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  color: #8b8b8b;
  font-size: 13px;
  line-height: 24px;
}

.booking-record-card__value {
  color: #333333;
  justify-self: end;
  text-align: right;
}

.booking-record-card__value--booking {
  line-height: 1.4;
}

.booking-record-card__footer {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 12px -20px 0;
  padding: 12px 20px;
  border-top: 1px solid #efefef;
  color: #2d2d2d;
  font-size: 14px;
  font-weight: 700;
}

.record-detail-groups {
  display: grid;
  gap: 12px;
}

.record-detail-group {
  background: #ffffff;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}

.record-detail-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 106px;
  padding: 0 18px;
  border-bottom: 1px solid #f1f2f4;
}

.record-detail-row:last-child {
  border-bottom: 0;
}

.record-detail-row__label {
  color: #404040;
  font-size: 17px;
  line-height: 1.9;
}

.record-detail-row__value {
  color: #6b7179;
  font-size: 17px;
  line-height: 1.5;
  text-align: right;
  word-break: break-word;
}

.records-tail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  color: #b7b7b7;
}

.records-tail span {
  width: 52px;
  height: 1px;
  background: #e5e5e5;
}

.records-tail p {
  margin: 0;
  font-size: 17px;
}

.records-admin-intro {
  padding: 16px;
  border-radius: 18px;
}

.records-admin-intro__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.records-admin-intro__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.records-admin-intro__header button {
  min-width: 92px;
  height: 36px;
  border-radius: 999px;
  background: #31c76e;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.records-admin-intro p {
  margin: 10px 0 0;
  color: #9098a2;
  font-size: 13px;
  line-height: 1.5;
}

.records-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.records-admin-card {
  padding: 16px;
  border-radius: 18px;
}

.records-admin-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.records-admin-card__top h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.records-admin-card__top p {
  margin: 4px 0 0;
  color: #89939e;
  font-size: 13px;
}

.records-admin-card__edit {
  min-width: 70px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #d7dde4;
  background: #ffffff;
  color: #53606d;
  font-size: 13px;
  cursor: pointer;
}

.records-admin-card__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef1f4;
}

.records-admin-card__grid div {
  min-width: 0;
}

.records-admin-card__grid span {
  display: block;
  color: #9aa3ad;
  font-size: 12px;
}

.records-admin-card__grid strong {
  display: block;
  margin-top: 4px;
  color: #27323e;
  font-size: 14px;
  font-weight: 500;
  word-break: break-word;
}

.records-admin-form {
  display: grid;
  gap: 12px;
}

.records-admin-section {
  padding: 16px;
  border-radius: 18px;
}

.records-admin-section__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.records-admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.records-admin-field {
  display: grid;
  gap: 6px;
}

.records-admin-field--full {
  grid-column: 1 / -1;
}

.records-admin-field label {
  color: #7f8994;
  font-size: 12px;
}

.records-admin-field input,
.records-admin-field select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dfe5eb;
  border-radius: 12px;
  background: #ffffff;
  color: #1f2933;
  font-size: 14px;
}

.records-admin-field input:focus,
.records-admin-field select:focus {
  outline: none;
  border-color: #34c46e;
  box-shadow: 0 0 0 3px rgba(52, 196, 110, 0.12);
}

.records-admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.records-admin-actions button {
  height: 44px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.records-admin-actions__secondary {
  border: 1px solid #d9e0e6;
  background: #ffffff;
  color: #586474;
}

.records-admin-actions__primary {
  background: #31c76e;
  color: #ffffff;
}

.records-admin-delete {
  width: 100%;
  height: 42px;
  border-radius: 14px;
  background: #fff1f1;
  color: #d05757;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 360px) {
  .records-admin-fields,
  .records-admin-actions {
    grid-template-columns: 1fr;
  }

  .records-admin-field--full {
    grid-column: auto;
  }
}

.records-empty {
  padding: 28px 16px;
  border-radius: 18px;
  text-align: center;
  color: #b7b7b7;
  font-size: 16px;
}

.membership-card__list-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: end;
}

.membership-card__expiry {
  margin: 0;
  align-self: end;
  color: #3f3529;
  font-size: 15px;
  font-weight: 700;
}

.membership-card--list .membership-card__expiry {
  position: relative;
  z-index: 1;
}

.tabbar {
  position: fixed;
  left: 50%;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  bottom: 0;
  z-index: 7;
  height: var(--tabbar-height);
  padding: 0 0 var(--tabbar-safe-gap);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #ececec;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.tabbar.is-hidden {
  display: none;
}

.tabbar__item {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: #232323;
  cursor: pointer;
}

.tabbar__item svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tabbar__item .tabbar__glyph {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  line-height: 1;
}

.tabbar__item[data-tab="profile"] .tabbar__glyph::before {
  content: "\e77a";
}

.tabbar__item.is-active[data-tab="profile"] .tabbar__glyph::before {
  content: "\e77d";
}

.tabbar__glyph--svg {
  font-size: 0;
}

.tabbar__item .tabbar__glyph--svg::before {
  content: none;
}

.tabbar__glyph--svg svg {
  width: 25px;
  height: 25px;
  display: block;
  overflow: visible;
}

.tabbar-home__body {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.tabbar-home__line {
  fill: none;
  stroke: #34cb71;
  stroke-linecap: round;
  stroke-width: 4;
}

.tabbar__item.is-active .tabbar-home__body {
  fill: #34cb71;
  stroke: #34cb71;
}

.tabbar__item.is-active .tabbar-home__line {
  stroke: #ffffff;
}

.tabbar-booking__pin,
.tabbar-booking__clock,
.tabbar-booking__hand,
.tabbar-course__cap,
.tabbar-course__base,
.tabbar-course__tassel,
.tabbar-shop__bag,
.tabbar-shop__handle,
.tabbar-shop__smile {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.tabbar-booking__hand,
.tabbar-course__tassel,
.tabbar-shop__smile {
  stroke: #34cb71;
}

.tabbar__item.is-active .tabbar-booking__pin,
.tabbar__item.is-active .tabbar-course__cap,
.tabbar__item.is-active .tabbar-shop__bag {
  fill: #34cb71;
  stroke: #34cb71;
}

.tabbar__item.is-active .tabbar-booking__clock,
.tabbar__item.is-active .tabbar-booking__hand,
.tabbar__item.is-active .tabbar-course__tassel,
.tabbar__item.is-active .tabbar-shop__smile {
  stroke: #ffffff;
}

.tabbar__item.is-active .tabbar-course__base,
.tabbar__item.is-active .tabbar-shop__handle {
  stroke: #34cb71;
}

.tabbar__item span {
  font-size: 14px;
}

.tabbar__item.is-active {
  color: #34cb71;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-height) + 10px);
  transform: translateX(-50%) translateY(14px);
  max-width: 280px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(25, 25, 25, 0.88);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
  z-index: 10;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.page-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 246, 248, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 120ms ease,
    visibility 120ms ease;
  z-index: 9;
}

.page-loader.is-visible {
  opacity: 1;
  visibility: visible;
}

.page-loader__spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(83, 177, 100, 0.18);
  border-top-color: var(--page-green);
  animation: page-loader-spin 680ms linear infinite;
}

.icon-grid__item:focus-visible,
.tabbar__item:focus-visible,
.pill-button:focus-visible,
.primary-cta:focus-visible,
.vip-banner:focus-visible,
.vip-entry:focus-visible,
.action-tile:focus-visible,
.product-card__add:focus-visible,
.shop-fabs__button:focus-visible,
.section-card__more:focus-visible,
.wallet-stat--button:focus-visible,
.venue-card__link:focus-visible,
.membership-card__footer button:focus-visible,
.back-button:focus-visible {
  outline: 2px solid rgba(34, 176, 87, 0.95);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .phone-shell {
    width: 100vw;
    max-width: none;
    min-height: 100svh;
    height: var(--app-height);
    border-radius: 0;
    box-shadow: none;
  }

  .page-heading {
    font-size: 24px;
  }
}

html.is-standalone,
html.is-standalone body,
html.is-standalone .app-shell,
html.is-standalone .phone-shell {
  min-height: 100vh;
  height: var(--app-height);
}

html.is-standalone body {
  position: fixed;
  inset: 0;
  width: 100%;
  background: var(--page-bg);
}

html.is-standalone .phone-shell {
  width: 100vw;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

html.is-standalone .tabbar {
  width: 100vw;
  max-width: none;
}

@supports (height: 100svh) {
  html.is-standalone,
  html.is-standalone body,
  html.is-standalone .app-shell,
  html.is-standalone .phone-shell {
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page,
  .toast,
  .page-loader,
  .page-loader__spinner,
  .notice__track {
    transition: none;
    animation: none;
  }
}

@keyframes page-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes notice-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* 2026-05 visual refinement pass */
@media (max-width: 480px) {
  .phone-shell {
    width: min(100vw, 430px);
    max-width: 430px;
  }
}

.tabbar__item svg {
  width: 25px;
  height: 25px;
  stroke-width: 2.35;
}

.tabbar__item span {
  font-size: 14px;
  line-height: 1;
}

.tabbar__item:not(.is-active) .icon-home-fill,
.tabbar__item:not(.is-active) .icon-profile-dot {
  opacity: 0;
}

.icon-grid {
  row-gap: 19px;
}

.icon-grid--four {
  row-gap: 22px;
}

.icon-grid__item {
  gap: 9px;
  min-width: 0;
}

.icon-grid__item svg {
  width: 29px;
  height: 29px;
  stroke-width: 2.35;
}

.icon-grid__item span {
  color: #232323;
  font-size: 14px;
  line-height: 1.15;
}

.page--profile .page-content {
  padding-left: 12px;
  padding-right: 12px;
}

.profile-card,
.profile-card--wallet,
.vip-banner {
  width: 100%;
  border-radius: 14px;
}

.profile-card--wallet {
  min-height: 116px;
  padding: 14px 18px 16px;
}

.wallet-stats {
  margin-top: 8px;
}

.wallet-stats__divider {
  height: 52px;
}

.wallet-stat {
  gap: 6px;
}

.wallet-stat strong {
  font-size: 24px;
  line-height: 1;
}

.wallet-stat span {
  font-size: 14px;
}

.vip-banner {
  min-height: 76px;
  margin: 10px 0 12px;
  padding: 0 16px;
  border-radius: 8px;
}

.vip-banner__vip {
  font-size: 38px;
}

.vip-banner__text {
  font-size: 12px;
}

.vip-banner__button {
  min-width: 96px;
  height: 36px;
  font-size: 14px;
}

.page-content--member,
.page-content--member-list {
  padding: 12px 14px 26px;
}

.vip-entry {
  width: 100%;
  height: 78px;
  border-radius: 8px;
  padding: 0 18px;
}

.vip-entry__vip-mark {
  width: 62px;
}

.vip-entry__title {
  font-size: 17px;
}

.membership-card {
  border-radius: 15px;
  background: #f7cf78 url("./assets/card_czk.png") center / cover no-repeat;
  box-shadow: none;
}

.membership-card__mark {
  display: none;
}

.membership-card--owned {
  width: 100%;
  min-height: 202px;
  margin-top: 14px;
  padding: 16px 18px 0;
}

.membership-card--list {
  width: 100%;
  min-height: 140px;
  margin-top: 11px;
  padding: 16px 18px;
}

.membership-card__head {
  gap: 10px;
}

.card-pill {
  min-width: 52px;
  height: 24px;
  border-radius: 5px;
  font-size: 12px;
}

.membership-card__head h2 {
  font-size: 18px;
  line-height: 1.1;
}

.membership-card--owned .membership-card__head h2 {
  font-size: 19px;
}

.membership-card__venue {
  margin-top: 12px;
  font-size: 14px;
}

.membership-card__number {
  margin-top: 7px;
  font-size: 12px;
}

.membership-card__code {
  right: 18px;
  bottom: 66px;
  width: 35px;
  height: 35px;
  font-size: 23px;
}

.membership-card__stats {
  grid-template-columns: 104px 104px;
  column-gap: clamp(42px, 13vw, 58px);
  max-width: none;
  width: max-content;
  margin-top: 30px;
  margin-bottom: 14px;
}

.membership-card__stats span,
.membership-card__amount span {
  font-size: 14px;
}

.membership-card__stats strong,
.membership-card__amount strong {
  margin-top: 7px;
  font-size: 24px;
}

.membership-card__footer {
  margin: 0 -18px;
  min-height: 52px;
  padding: 10px 18px;
  font-size: 13px;
}

.membership-card__footer button {
  min-width: 82px;
  height: 34px;
  font-size: 14px;
}

.membership-card__list-meta {
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.membership-card__expiry {
  justify-self: end;
  font-size: 14px;
  line-height: 1.2;
  text-align: right;
}

.page-content--records {
  padding: 10px 12px 26px;
}

.record-toolbar {
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.record-toolbar__label {
  font-size: 15px;
}

.record-filters {
  gap: 8px;
}

.record-filter {
  min-height: 42px;
  border-radius: 8px;
  font-size: 15px;
}

#bookingRecordsList {
  gap: 10px;
}

.booking-record-card {
  padding: 18px 18px 0;
  border-radius: 6px;
  box-shadow: none;
}

.booking-record-card__brand {
  gap: 8px;
  font-size: 15px;
}

.booking-record-card__brand-icon {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.booking-record-card__status {
  font-size: 13px;
}

.booking-record-card__rows {
  margin-top: 13px;
  padding-top: 13px;
  gap: 10px;
}

.booking-record-card__row {
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  font-size: 13px;
}

.booking-record-card__value--booking {
  max-width: 220px;
}

.booking-record-card__value {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.booking-record-card__footer {
  margin: 12px -18px 0;
  padding: 12px 18px;
  font-size: 14px;
}

.records-tail {
  margin-top: 18px;
}

.records-tail p {
  font-size: 16px;
}

.page-content--venue {
  padding: 0;
}

.venue-booking {
  padding-bottom: 176px;
}

.venue-sports {
  gap: 28px;
  height: 44px;
  margin-bottom: 0;
  padding: 0 14px;
}

.venue-sport {
  height: 44px;
  font-size: 16px;
}

.venue-sport.is-active::after {
  height: 2px;
}

.venue-dates {
  grid-auto-columns: 72px;
  gap: 6px;
  padding: 8px 10px 10px;
  background: #f6f7f8;
}

.venue-date {
  min-height: 48px;
}

.venue-date__day {
  font-size: 15px;
}

.venue-date__week {
  font-size: 12px;
}

.venue-board__scroller {
  padding: 8px 10px 6px;
}

.venue-board__grid {
  grid-template-columns: 54px repeat(4, 100px);
  gap: 4px;
}

.venue-board__corner {
  height: 36px;
}

.venue-board__court {
  height: 36px;
  font-size: 15px;
}

.venue-board__time {
  min-height: 48px;
  padding: 0 4px 0 0;
  align-items: start;
  justify-items: end;
  color: #5f646a;
  font-size: 13px;
  line-height: 1;
}

.venue-board__time span {
  display: block;
}

.venue-board__time span:first-child {
  align-self: start;
  transform: translateY(1px);
}

.venue-board__time span:last-child {
  display: none;
}

.venue-board__time i {
  display: none;
}

.venue-slot {
  position: relative;
  min-height: 48px;
  overflow: hidden;
  border-radius: 4px;
  font-size: 15px;
}

.venue-slot--available,
.venue-slot--selected {
  background: #effcf7;
  color: #31bd82;
}

.venue-slot--selected {
  border-color: #e3f4ee;
}

.venue-slot--selected::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 24px solid #32c778;
  border-left: 24px solid transparent;
}

.venue-slot--selected::before {
  content: "✓";
  position: absolute;
  top: 0;
  right: 3px;
  z-index: 1;
  color: #ffffff;
  font-size: 13px;
  line-height: 16px;
}

.venue-slot--booked {
  background: #257df1;
  border-color: #257df1;
}

.venue-legend {
  padding: 9px 10px 0;
  font-size: 13px;
}

.venue-footer {
  display: grid;
  gap: 12px;
  padding: 12px 10px calc(12px + var(--safe-bottom));
}

.venue-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.venue-footer p {
  font-size: 16px;
}

.venue-footer #venueConfirmButton {
  min-width: 136px;
  height: 44px;
  font-size: 16px;
}

.venue-selected-panel[hidden] {
  display: none !important;
}

.venue-selected-panel {
  display: grid;
  gap: 10px;
}

.venue-selected-panel__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7b7b7b;
  font-size: 14px;
}

.venue-selected-panel__top strong {
  color: #777777;
}

.venue-selected-panel__clear,
.venue-selected-panel__clear:not(:disabled) {
  min-width: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 14px;
}

.venue-selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.venue-selected-card {
  position: relative;
  min-width: 108px;
  overflow: visible;
  border: 1px solid #32c778;
  border-radius: 3px;
  background: #ffffff;
  color: #32bd83;
  text-align: center;
}

.venue-selected-card strong,
.venue-selected-card span {
  display: block;
  padding: 6px 10px;
}

.venue-selected-card strong {
  background: #32c778;
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
}

.venue-selected-card span {
  font-size: 14px;
  line-height: 1;
}

.venue-selected-card__remove,
.venue-selected-card__remove:not(:disabled) {
  position: absolute;
  right: -8px;
  top: -8px;
  z-index: 2;
  min-width: 0;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #ef3548;
  color: #ffffff;
  font-size: 17px;
  line-height: 18px;
  font-weight: 700;
}

html.is-standalone .phone-shell {
  width: 100vw;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
}

html.is-standalone .tabbar {
  width: 100vw;
  max-width: none;
}
