/* 车管家洗车 · H5 顾客端
 * 390 主视口，兼容 375 / 430；单列、无 hover 依赖、拇指热区 ≥ 44px、safe-area。
 * 不使用 PC 侧栏缩窄方案：底部 Tabbar + 吸底操作 + 全宽分隔列表。
 */

.h5-body {
  background: var(--paper);
  overscroll-behavior-y: none;
}

.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--h5-max);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--paper);
  padding-bottom: env(safe-area-inset-bottom);
}

.app--surface {
  background: var(--surface);
}

.appbar {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 56px;
  padding: 8px var(--space-4);
  padding-top: calc(8px + env(safe-area-inset-top));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.appbar--brand {
  min-height: 64px;
  padding-top: calc(10px + env(safe-area-inset-top));
}

.appbar__title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appbar__side {
  width: var(--control-mobile);
  flex: none;
}

.appbar .icon-btn {
  border-color: transparent;
  background: transparent;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brandmark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--brand-ink);
}

.brandtext {
  min-width: 0;
  line-height: 1.3;
}

.brandtext strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
}

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

.guest-chip {
  margin-left: auto;
  flex: none;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-2);
  color: var(--muted);
  font-size: var(--text-2xs);
  font-weight: 700;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px var(--space-4);
  border-bottom: 1px solid var(--line);
  background: var(--brand-soft);
  color: var(--ink-2);
  font-size: var(--text-xs);
  line-height: 1.55;
}

.notice .i {
  margin-top: 2px;
  color: var(--brand);
}

.app-main {
  flex: 1;
  min-width: 0;
}

.page-pad {
  padding: var(--space-5) var(--space-4) var(--space-6);
}

.page-head {
  padding: var(--space-5) var(--space-4) var(--space-3);
}

.page-head h1,
.page-head h2 {
  font-size: var(--text-2xl);
  line-height: 1.2;
}

.page-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.6;
}

.page-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
}

/* ---------------- 首页 ---------------- */
.store-hero {
  padding: var(--space-5) var(--space-4) var(--space-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.store-hero__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.store-hero h1 {
  font-size: var(--text-2xl);
  line-height: 1.22;
}

.store-hero h1 span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
}

.store-hero__facts {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-xs);
}

.store-hero__facts span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.store-hero__facts b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 600;
}

.home-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-2);
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.home-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 88px;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--ink);
}

.home-link:hover {
  text-decoration: none;
  border-color: var(--brand);
}

.home-link .i {
  color: var(--brand);
}

.home-link strong {
  font-size: var(--text-sm);
}

.home-link small {
  color: var(--muted);
  font-size: var(--text-2xs);
  line-height: 1.5;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) var(--space-2);
}

.section-head h2 {
  font-size: var(--text-lg);
  font-family: var(--font-sans);
  font-weight: 700;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 36px;
  font-size: var(--text-xs);
  font-weight: 700;
}

/* ---------------- 服务列表 ---------------- */
.service-list {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-1) var(--space-3);
  min-height: 84px;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.service-row:hover {
  background: var(--surface-2);
  text-decoration: none;
}

.service-row__main {
  min-width: 0;
}

.service-row__name {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.45;
}

.service-row__desc {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.service-row__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-2xs);
}

.service-row__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.service-row__side {
  display: flex;
  align-items: center;
  gap: 4px;
  align-self: center;
}

.price {
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price small {
  margin-right: 1px;
  color: var(--muted);
  font-size: var(--text-2xs);
  font-weight: 400;
}

.chevron {
  color: var(--muted-2);
}

.list-note {
  padding: var(--space-3) var(--space-4) var(--space-5);
  color: var(--muted);
  font-size: var(--text-2xs);
  line-height: 1.7;
}

.demo-foot {
  padding: var(--space-4);
  color: var(--muted-2);
  font-size: var(--text-2xs);
  text-align: center;
  line-height: 1.6;
}

/* ---------------- 详情 ---------------- */
.detail-hero {
  padding: var(--space-5) var(--space-4) var(--space-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.detail-hero h1 {
  font-size: var(--text-2xl);
  line-height: 1.24;
}

.detail-hero__desc {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.detail-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.detail-price .price {
  font-size: var(--text-3xl);
  font-weight: 600;
}

.detail-price span {
  color: var(--muted);
  font-size: var(--text-xs);
}

.fact-list {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.fact-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 48px;
  padding: var(--space-2) var(--space-4);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}

.fact-list > div:last-child {
  border-bottom: 0;
}

.fact-list dt {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--muted);
  font-size: var(--text-xs);
}

.fact-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.block {
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.block h2 {
  margin-bottom: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 700;
}

.block p {
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.block p + p {
  margin-top: var(--space-2);
}

.block .muted {
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.75;
}

/* ---------------- 选择时间 ---------------- */
.summary-card {
  margin: var(--space-4) var(--space-4) 0;
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brand);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.summary-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.summary-card__top h2 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.45;
}

.summary-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px var(--space-3);
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-2xs);
}

.summary-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.date-strip {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4) var(--space-4);
  overflow-x: auto;
  scrollbar-width: none;
}

.date-strip::-webkit-scrollbar {
  display: none;
}

.date-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  flex: 0 0 62px;
  min-height: 68px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease-standard), background-color var(--dur-fast) var(--ease-standard);
}

.date-btn span,
.date-btn small {
  color: var(--muted);
  font-size: var(--text-2xs);
}

.date-btn strong {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
}

.date-btn[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
}

.date-btn[aria-pressed="true"] span,
.date-btn[aria-pressed="true"] small,
.date-btn[aria-pressed="true"] strong {
  color: var(--brand-ink);
}

.slot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0 var(--space-4) var(--space-2);
}

.slot-head h2 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
}

.legend {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
  font-size: var(--text-2xs);
}

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

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.dot--taken {
  background: var(--muted-2);
}

.dot--past {
  background: var(--line-strong);
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  padding: 0 var(--space-4) var(--space-4);
}

.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 52px;
  padding: 6px 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: border-color var(--dur-fast) var(--ease-standard), background-color var(--dur-fast) var(--ease-standard);
}

.slot small {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--text-2xs);
  font-weight: 400;
}

.slot:hover:not([aria-disabled="true"]) {
  border-color: var(--brand);
}

.slot[aria-pressed="true"] {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-ink);
}

.slot[aria-pressed="true"] small {
  color: var(--brand-soft);
}

.slot--disabled {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--muted-2);
  cursor: not-allowed;
}

.slot--disabled small {
  color: var(--muted-2);
}

.notice-inline {
  margin: 0 var(--space-4) var(--space-4);
  padding: var(--space-2) var(--space-3);
  border-left: 2px solid var(--brand);
  background: var(--brand-soft);
  color: var(--ink-2);
  font-size: var(--text-xs);
  line-height: 1.65;
}

.notice-inline strong {
  color: var(--brand);
}

.inline-error {
  margin: 0 var(--space-4) var(--space-4);
}

.actionbar {
  position: sticky;
  bottom: 0;
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.actionbar__info {
  min-width: 0;
  line-height: 1.3;
}

.actionbar__info strong {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 600;
  white-space: nowrap;
}

.actionbar__info small {
  display: block;
  color: var(--muted);
  font-size: var(--text-2xs);
  white-space: nowrap;
}

.actionbar .btn {
  flex: 1;
  min-width: 0;
}

/* ---------------- 登录 ---------------- */
.auth {
  padding: var(--space-6) var(--space-4) var(--space-8);
}

.auth__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--brand);
}

.auth h1 {
  font-size: var(--text-2xl);
  line-height: 1.22;
}

.auth .lede {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-5);
}

.code-row {
  display: flex;
  gap: var(--space-2);
}

.code-row .input {
  flex: 1;
  min-width: 0;
}

.code-row .btn {
  flex: none;
  min-width: 104px;
  white-space: nowrap;
}

.auth-foot {
  margin-top: var(--space-4);
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.7;
}

.auth-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  font-weight: 700;
}

.auth-cancel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}

.demo-hint {
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-3);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.7;
}

.demo-hint strong {
  color: var(--ink-2);
}

.auth-summary {
  margin: var(--space-4) 0 0;
}

/* ---------------- 结果 ---------------- */
.result-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-4) var(--space-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.result-head__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
}

.result-head h1 {
  font-size: var(--text-2xl);
}

.result-head p {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.ticket {
  margin: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: clip;
}

.ticket__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
}

.ticket__row:last-child {
  border-bottom: 0;
}

.ticket__row dt {
  flex: none;
  color: var(--muted);
  font-size: var(--text-xs);
}

.ticket__row dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  line-height: 1.55;
}

.ticket__row dd.mono {
  font-size: var(--text-xs);
}

.reminder {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 var(--space-4);
  padding: var(--space-2) var(--space-3);
  border-left: 2px solid var(--ok);
  background: var(--ok-soft);
  color: var(--ok);
  font-size: var(--text-xs);
  line-height: 1.65;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
}

.gate {
  margin: var(--space-4);
  padding: var(--space-5);
}

.gate .link-quiet {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: 700;
}

/* ---------------- 我的 ---------------- */
.profile {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.profile .avatar {
  width: 48px;
  height: 48px;
  font-size: var(--text-lg);
}

.profile__text {
  min-width: 0;
  flex: 1;
}

.profile__text strong {
  display: block;
  font-size: var(--text-md);
  font-weight: 700;
}

.profile__text span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: var(--text-2xs);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.stats > div {
  padding: var(--space-3) var(--space-4);
  border-right: 1px solid var(--line);
}

.stats > div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xl);
  font-weight: 600;
  line-height: 1.25;
}

.stats span {
  color: var(--muted);
  font-size: var(--text-2xs);
}

.booking-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4) var(--space-4);
}

.booking-card {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-left: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.booking-card[data-status="pending"] {
  border-left-color: var(--warn);
}

.booking-card[data-status="confirmed"] {
  border-left-color: var(--brand);
}

.booking-card[data-status="completed"] {
  border-left-color: var(--ok);
}

.booking-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}

.booking-card__top strong {
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.45;
}

.booking-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px var(--space-3);
  margin-top: 5px;
  color: var(--muted);
  font-size: var(--text-2xs);
}

.booking-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.booking-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
}

/* ---------------- 底部导航 ---------------- */
.tabbar {
  position: sticky;
  bottom: 0;
  z-index: var(--z-header);
  display: flex;
  align-items: stretch;
  gap: 2px;
  padding: 6px 8px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.tabbar a {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: var(--text-2xs);
  font-weight: 700;
}

.tabbar a:hover {
  background: var(--surface-2);
  color: var(--ink-2);
  text-decoration: none;
}

.tabbar a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
}

.tabbar .i {
  transition: transform var(--dur-slow) var(--ease-out);
}

.tabbar a[aria-current="page"] .i {
  transform: translateY(-1px);
  stroke-width: 2;
}

@media (prefers-reduced-motion: reduce) {
  .tabbar a[aria-current="page"] .i {
    transform: none;
  }
}

/* ---------------- 小屏 / 大屏 ---------------- */
@media (max-width: 374px) {
  .slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-1);
  }

  .actionbar__info strong {
    font-size: var(--text-md);
  }
}

@media (min-width: 640px) {
  .h5-body {
    padding: var(--space-6) 0 var(--space-8);
  }

  .app {
    min-height: calc(100vh - 56px);
    min-height: calc(100dvh - 56px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: clip;
    box-shadow: var(--shadow-2);
  }
}

@media (hover: none) {
  .service-row:hover {
    background: transparent;
  }
}

/* 页面主标题仍用页面级 h1；区块标题用 h2，样式保持一致 */
.auth h2,
.detail-hero h2,
.result-head h2 {
  font-size: var(--text-2xl);
  line-height: 1.22;
}

.auth h2 {
  margin-top: var(--space-2);
}

.detail-hero h2 {
  line-height: 1.24;
}

.result-head h2 {
  font-size: var(--text-2xl);
}

/* 吸底导航/操作条会覆盖内容底部：给主列留出对应高度，避免最后一条被挡住 */
.app:has(.tabbar) .app-main {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.app:has(.actionbar) .app-main {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

/* 触屏端不保留 hover 视觉：hover 只作为鼠标增强 */
@media (hover: none) {
  .h5-body .btn:hover {
    text-decoration: none;
  }

  .h5-body .btn--primary:hover {
    background: var(--brand);
    border-color: var(--brand);
  }

  .h5-body .btn--ghost:hover {
    background: var(--surface);
    border-color: var(--line-strong);
  }

  .h5-body .btn--quiet:hover {
    background: transparent;
  }

  .h5-body .icon-btn:hover {
    background: transparent;
    border-color: transparent;
    color: var(--ink-2);
  }

  .h5-body .tabbar a:hover {
    background: transparent;
    color: var(--muted);
  }

  .h5-body .tabbar a[aria-current="page"]:hover {
    background: var(--brand-soft);
    color: var(--brand);
  }

  .h5-body .home-link:hover {
    border-color: var(--line);
  }

  .h5-body .slot:hover {
    border-color: var(--line);
  }

  .h5-body .slot[aria-pressed="true"]:hover {
    border-color: var(--brand);
    background: var(--brand);
  }
}
