[v-cloak] {
  display: none;
}
.clearfix:before,
.clearfix:after {
  content: '';
  display: table;
}
.clearfix:after {
  clear: both;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
#app {
  margin: 0 auto;
}
#root {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* ===== 预约页样式（Less 源文件）===== */
:root {
  --bg: #f5f6f8;
  --card: #ffffff;
  --text: #1f2329;
  --muted: #8a8f98;
  --line: rgba(15, 20, 30, 0.08);
  --primary: #5d86ff;
  --primary-weak: rgba(93, 134, 255, 0.12);
  --danger: #ff3b30;
  --shadow: 0 0.5rem 1.2rem rgba(20, 30, 60, 0.08);
}
html,
body {
  background: var(--bg) !important;
  /* 覆盖 init.css 的白底 */
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.page {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 6rem;
  font-size: 0.68rem;
  /* 整体字体更小，移动端更舒适 */
}
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.6rem 0.8rem;
  color: #000;
}
.topbar__title {
  grid-column: 2;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.topbar__actions {
  grid-column: 3;
  justify-self: end;
}
.link-btn {
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.4rem;
  cursor: pointer;
}
.icon-btn {
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0.25rem 0.8rem rgba(0, 0, 0, 0.04);
}
.icon {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}
.hero {
  padding: 0;
}
.hero__img {
  width: 100%;
  height: 9.6rem;
  object-fit: cover;
  border-radius: 0.2rem;
  box-shadow: var(--shadow);
  display: block;
}
.card {
  margin: -0.8rem 0rem 0rem;
  background: var(--card);
  border-radius: 0.3rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card__body {
  padding: 0.9rem 0.5rem;
}
.card__title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.7rem 0 0.7rem;
}
.card__rows {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: 1.2rem 1fr auto;
  align-items: center;
  gap: 0.5rem;
  color: #4b4f57;
  font-size: 0.68rem;
}
.row .icon {
  width: 0.7rem;
  height: 0.7rem;
}
.row__link {
  color: var(--primary);
  font-size: 0.6rem;
  padding-left: 0.4rem;
}
.phone {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
}
.phone .icon {
  width: 1rem;
  height: 1rem;
}
.tabs {
  margin: 0.8rem 0 0;
  background: var(--card);
  border-radius: 0.3rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tabs__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 0 0.6rem 0;
}
.tabs__body {
  padding: 0.4rem 0.3rem 0.4rem;
}
.tab {
  height: 2.2rem;
  border-radius: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: #1f2d5a;
  background: var(--primary-weak);
}
.tab.is-active {
  background: #fff;
  border-color: rgba(93, 134, 255, 0.22);
  color: #2c2f36;
  font-weight: 700;
}
.form {
  padding: 0.2rem 0.2rem 0.6rem;
}
.form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(15, 20, 30, 0.08);
}
.form__label {
  color: #2b2f36;
  font-weight: 700;
  font-size: 0.64rem;
  white-space: nowrap;
}
.input {
  flex: 1;
  height: 2rem;
  border-radius: 0.4rem;
  border: 1px solid var(--line);
  padding: 0 0.7rem;
  background: #fff;
  font-size: 0.64rem;
  color: #2b2f36;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
}
.stepper__btn {
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(0, 0, 0, 0.03);
  font-size: 1.1rem;
  cursor: pointer;
}
.stepper__val {
  width: 2.6rem;
  text-align: center;
  font-weight: 800;
  color: #2b2f36;
}
.section {
  margin-top: 0.6rem;
}
.section__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.2rem 0.55rem;
}
.section__title-left {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #2b2f36;
}
.dot {
  width: 0.24rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0.2rem 0.6rem rgba(93, 134, 255, 0.35);
}
.month {
  color: #2b2f36;
  font-weight: 700;
  opacity: 0.75;
}
.dates {
  width: 100%;
  overflow-x: auto;
  display: flex;
  gap: 0.3rem;
  padding-bottom: 0.2rem;
  /* Hide scrollbar for Chrome, Safari and Opera */
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.dates::-webkit-scrollbar {
  display: none;
}
.date {
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  padding: 0.25rem 0.4rem;
  text-align: center;
  background: #fff;
  color: #2f333a;
  user-select: none;
  cursor: pointer;
}
.date.is-muted {
  opacity: 0.38;
  cursor: not-allowed;
}
.date__day {
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
}
.date__wk {
  margin-top: 0.2rem;
  font-size: 0.6rem;
  color: #6a6f78;
  white-space: nowrap;
}
.date.is-active {
  background: rgba(93, 134, 255, 0.15);
  border-color: rgba(93, 134, 255, 0.32);
}
.date.is-active .date__wk,
.date.is-active .date__day {
  color: #1f2d5a;
}
.slots {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.slot {
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.25rem 0.35rem 0.25rem;
  background: #fff;
  text-align: center;
  user-select: none;
  cursor: pointer;
  margin-bottom: 0.5rem;
  width: 32%;
}
.slot__time {
  font-size: 0.64rem;
  font-weight: 700;
  color: #2b2f36;
  white-space: nowrap;
}
.slot__remain {
  margin-top: 0.2rem;
  font-size: 0.6rem;
  color: #656b74;
}
.slot__remain b {
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0 0.15rem;
}
.slot.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.slot.is-active {
  background: var(--primary);
  border-color: rgba(93, 134, 255, 0.75);
  box-shadow: 0 0.45rem 1rem rgba(93, 134, 255, 0.25);
}
.slot.is-active .slot__time,
.slot.is-active .slot__remain {
  color: #fff;
}
.slot.is-active .slot__remain b {
  color: #ff3b30;
  filter: drop-shadow(0 0.2rem 0.4rem rgba(0, 0, 0, 0.12));
}
.agree {
  margin: 0.75rem 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c717a;
  font-size: 0.64rem;
}
.agree input[type="checkbox"] {
  width: 0.6rem;
  height: 0.6rem;
  margin-right: 0.4rem;
  accent-color: var(--primary);
}
.agree a {
  color: var(--primary);
  text-decoration: none;
}
.bottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 560px;
  padding: 0.4rem 0.6rem;
  background: rgba(245, 246, 248, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(15, 20, 30, 0.06);
}
.bottom__inner {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.8rem;
  align-items: center;
}
.history {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.1;
  padding-bottom: 0.25rem;
  border-bottom: 0.18rem solid var(--primary);
  width: fit-content;
  cursor: pointer;
}
.cta {
  height: 2rem;
  border: none;
  border-radius: 0.4rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0.7rem 1.3rem rgba(93, 134, 255, 0.28);
  cursor: pointer;
}
.cta:active {
  transform: translateY(1px);
  box-shadow: 0 0.45rem 1rem rgba(93, 134, 255, 0.22);
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.6rem;
  z-index: 9999;
}
.modal__panel {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 0.6rem;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.18);
  overflow: hidden;
}
.modal__title {
  padding: 0.9rem 1rem 0.6rem;
  font-weight: 900;
  font-size: 0.8rem;
}
.modal__body {
  padding: 0 0.6rem 0.9rem;
  color: #3a3f46;
  font-size: 0.68rem;
  line-height: 1.55;
  max-height: 50vh;
  overflow: auto;
}
.modal__p {
  padding: 0.35rem 0;
}
.modal__actions {
  padding: 0.7rem 1rem 1rem;
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(15, 20, 30, 0.06);
}
.modal__hint {
  margin-top: 0.4rem;
  font-size: 0.62rem;
  color: #8a8f98;
  line-height: 1.45;
}
.notice-rich {
  font-size: 0.72rem;
  line-height: 1.55;
  color: #3a3f46;
  word-break: break-word;
}
.notice-rich img {
  max-width: 100%;
  height: auto;
}
.slots-loading {
  font-size: 0.62rem;
  color: #8a8f98;
}
.btn {
  height: 1.6rem;
  padding: 0 1rem;
  border: none;
  border-radius: 0.3rem;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.btn--ghost {
  background: rgba(0, 0, 0, 0.06);
  color: #2b2f36;
}
.btn--mini {
  height: 2rem;
  padding: 0 0.65rem;
  font-size: 0.68rem;
  border-radius: 0.5rem;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.empty {
  text-align: center;
  color: #8a8f98;
  padding: 1.2rem 0;
}
.history-list {
  display: grid;
  gap: 0.7rem;
}
.history-item {
  border: 1px solid rgba(15, 20, 30, 0.08);
  border-radius: 0.4rem;
  padding: 0.3rem 0.5rem;
  background: #fff;
  border-left-width: 0.35rem;
}
.history-item.is-today {
  border-color: rgba(46, 204, 113, 0.55);
  border-left-color: #2ecc71;
}
.history-item.is-expired {
  border-color: rgba(255, 59, 48, 0.45);
  border-left-color: #ff3b30;
}
.history-item.is-upcoming {
  border-color: rgba(93, 134, 255, 0.35);
  border-left-color: #5d86ff;
}
.history-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.history-item__tag {
  padding: 0.1rem 0.2rem;
  border-radius: 0.2rem;
  background: rgba(93, 134, 255, 0.12);
  color: #1f2d5a;
  font-weight: 800;
  font-size: 0.64rem;
}
.history-item__tag.is-team {
  background: rgba(0, 0, 0, 0.06);
  color: #2b2f36;
}
.history-item__time {
  color: #8a8f98;
  font-size: 0.68rem;
}
.history-item__line {
  font-size: 0.7rem;
  font-weight: 700;
}
.history-item__line.muted {
  margin-top: 0.2rem;
  font-weight: 500;
  color: #6c717a;
  font-size: 0.72rem;
}
.history-item__actions {
  margin-top: 0.45rem;
  display: flex;
  justify-content: flex-end;
}
@media (min-width: 750px) {
  .page {
    max-width: 560px;
    margin: 0 auto;
  }
}
