:root {
  --bg: #f7f7f7;
  --panel: #ffffff;
  --line: #e8e8e8;
  --text: #1a1a1a;
  --muted: #6d6d6d;
  --soft: #a0a0a0;
  --accent: #ff7a1a;
  --accent-soft: #fff2e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app {
  width: min(390px, 100vw);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
}

.page {
  min-height: 100dvh;
  background: var(--bg);
}

.page--tabbed {
  padding-bottom: 82px;
}

.page--bottom-bar {
  padding-bottom: 88px;
}

.page--post-detail {
  padding-bottom: 86px;
}

.topbar,
.sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--panel);
}

.section {
  margin-top: 10px;
  padding: 0 16px;
}

.section--bottom-space {
  padding-bottom: 16px;
}

.location-button,
.icon-button,
.ghost-button,
.pill,
.row-button,
.primary-button,
.link-button,
.small-pill,
.share-button,
.mode-switch__btn,
.tabbar__button,
.order-category {
  border: 0;
  background: none;
}

.location-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0;
  color: var(--text);
  font-weight: 600;
}

.location-button span:last-child,
.detail-address,
.row-sub,
.store-meta,
.store-eta,
.food-desc,
.info-card__text,
.notice-bar {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  color: var(--text);
}

.icon-button--small {
  width: 30px;
  height: 30px;
  border-radius: 15px;
}

.header-title {
  flex: 1;
  padding-right: 36px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.detail-address {
  flex: 1;
  text-align: right;
  font-size: 13px;
  color: var(--muted);
}

.banner-card,
.store-card,
.food-card,
.coupon-card,
.coupon-list-card,
.review-card,
.post-card,
.info-card,
.map-card,
.detail-hero,
.pay-hero,
.member-card,
.address-card,
.order-list-card,
.cart-bar,
.checkout-bar,
.notice-bar,
.store-brief,
.order-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.banner-card,
.detail-hero {
  overflow: hidden;
}

.banner-track,
.detail-hero__track {
  display: flex;
  transition: transform 0.25s ease;
}

.banner-slide,
.detail-hero__slide {
  min-width: 100%;
}

.banner-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 140px;
  padding: 18px;
  background: #111111;
  color: #ffffff;
}

.banner-title,
.pay-hero__title,
.detail-hero__name,
.store-card__title,
.food-name,
.order-card__name,
.mine-name,
.section-title,
.panel-title,
.dialog-title,
.order-list-card__title,
.address-card__name {
  font-size: 16px;
  font-weight: 600;
}

.banner-subtitle,
.pay-hero__sub,
.food-desc,
.row-sub,
.info-card__text,
.store-meta,
.store-eta,
.detail-hero__slogans,
.notice-bar {
  font-size: 12px;
  color: var(--muted);
}

.banner-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

.placeholder {
  display: grid;
  place-items: center;
  background: #efefef;
  color: var(--soft);
}

.banner-placeholder {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 14px;
}

.banner-dots,
.pill-tabs,
.thumb-row,
.detail-hero__icons,
.detail-hero__actions,
.post-actions,
.dialog-actions,
.review-actions,
.food-row,
.section-head,
.review-head,
.post-head,
.recommend-row,
.order-list-card__head,
.order-list-card__foot,
.checkout-item,
.address-card,
.checkout-bar,
.cart-sheet-row,
.cart-sheet-foot,
.spec-footer,
.mine-profile-top,
.mine-profile,
.mine-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner-dots {
  justify-content: center;
  padding-top: 10px;
}

.banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d3d3d3;
}

.banner-dot.is-active {
  background: var(--accent);
}

.pill-tabs {
  flex-wrap: wrap;
}

.pill-tabs--compact {
  justify-content: flex-end;
}

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

.pill,
.ghost-button,
.small-pill,
.mode-switch__btn,
.status-badge,
.store-link,
.add-tag,
.action-pill {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--panel);
  color: var(--muted);
}

.pill.is-active,
.mode-switch__btn.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.business-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--panel);
  font-size: 12px;
  white-space: nowrap;
}

.business-badge.is-open {
  border-color: #daf1e1;
  background: #eefaf2;
  color: #2a8a4a;
}

.business-badge.is-closed {
  border-color: #ececec;
  background: #f6f6f6;
  color: #8b8b8b;
}

.ghost-button--small,
.small-pill,
.status-badge,
.add-tag {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.store-card,
.checkout-item,
.order-list-card__body,
.order-card,
.store-brief {
  display: flex;
  gap: 12px;
}

.store-card,
.order-card,
.order-list-card,
.info-card,
.review-card,
.post-card,
.address-card,
.coupon-list-card,
.coupon-card,
.member-card,
.store-brief {
  padding: 14px;
}

.store-card {
  width: 100%;
  text-align: left;
}

.square-placeholder {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 12px;
}

.store-card__body,
.post-user,
.review-meta,
.address-card__main,
.checkout-item__body,
.coupon-list-card__body,
.order-list-card__info,
.store-brief__body,
.order-card__body {
  flex: 1;
  min-width: 0;
}

.store-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.store-card__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 6px;
}

.accent-text,
.price,
.stars,
.coupon-amount,
.coupon-list-card__amount {
  color: var(--accent);
}

.store-eta {
  margin-top: 6px;
}

.link-button {
  padding: 0;
  color: var(--muted);
}

.recommend-grid,
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.food-card--stack {
  display: block;
  width: 100%;
  text-align: left;
}

.food-placeholder {
  width: 100%;
  height: 90px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.food-row {
  justify-content: space-between;
  margin-top: 10px;
}

.coupon-card {
  text-align: center;
}

.coupon-amount,
.coupon-list-card__amount {
  font-size: 24px;
  font-weight: 600;
}

.coupon-condition {
  margin: 6px 0 10px;
  font-size: 12px;
  color: var(--muted);
}

.review-head,
.post-head,
.section-head,
.order-list-card__head,
.order-list-card__foot,
.food-row,
.recommend-row,
.review-actions,
.post-actions,
.checkout-bar,
.cart-sheet-row,
.cart-sheet-foot,
.spec-footer,
.checkout-item,
.address-card__head {
  justify-content: space-between;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 14px;
}

.avatar--large {
  width: 56px;
  height: 56px;
  border-radius: 28px;
}

.avatar--xlarge {
  width: 120px;
  height: 120px;
  border-radius: 60px;
}

.review-text,
.post-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.thumb-row {
  margin-top: 10px;
}

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

.thumb-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

.post-main {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.share-button {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background: var(--accent);
  color: #ffffff;
}

.post-link-row,
.recommend-row,
.post-actions,
.review-actions {
  margin-top: 10px;
}

.post-actions {
  justify-content: flex-end;
}

.post-detail-panel {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.post-detail-panel__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.post-detail-panel__icon {
  font-size: 18px;
  line-height: 1;
  color: var(--muted);
}

.post-like-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.post-like-avatar {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #efefef;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.post-detail-panel__comments {
  margin-top: 14px;
}

.post-comment-list {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.post-comment-item {
  display: flex;
  gap: 10px;
}

.post-comment-item__body {
  flex: 1;
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.post-comment-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

.post-comment-item__head strong {
  font-size: 14px;
  color: var(--text);
}

.post-comment-item__text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.post-comment-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(390px, 100vw);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.post-comment-bar__input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 19px;
  outline: none;
  background: #fafafa;
}

.mine-profile-card {
  padding: 16px;
  background: var(--panel);
}

.member-card {
  display: block;
  width: 100%;
  margin-top: 16px;
  text-align: left;
}

.member-card__title {
  font-size: 16px;
  font-weight: 600;
}

.member-card__progress {
  height: 8px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #f0f0f0;
}

.member-card__bar {
  display: block;
  height: 100%;
  background: var(--accent);
}

.map-card {
  padding: 14px;
}

.map-placeholder {
  min-height: 180px;
  border-radius: 12px;
}

.detail-hero {
  position: relative;
}

.detail-hero__slide {
  min-height: 150px;
}

.detail-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.detail-hero__top,
.detail-hero__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.detail-hero__name {
  font-size: 20px;
}

.detail-hero__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.detail-hero__slogans {
  flex: 1;
}

.notice-bar {
  padding: 12px 14px;
}

.store-brief__sub,
.order-card__eta {
  margin-top: 6px;
}

.order-layout {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
}

.order-sidebar {
  display: grid;
  gap: 10px;
  align-content: start;
}

.order-category {
  min-height: 72px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--muted);
}

.order-category.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.order-content {
  display: grid;
  gap: 12px;
}

.order-photo {
  flex: 0 0 110px;
  width: 110px;
  height: 110px;
  border-radius: 16px;
}

.order-card__foot,
.spec-card,
.mode-switch,
.form-row,
.checkout-item,
.info-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-card__foot,
.form-row,
.checkout-item,
.info-card__actions {
  justify-content: space-between;
}

.cart-bar,
.checkout-bar {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(390px, 100vw);
  transform: translateX(-50%);
  padding: 12px 16px max(12px, env(safe-area-inset-bottom));
}

.cart-bar__total {
  flex: 1;
  font-size: 28px;
  color: var(--text);
}

.cart-icon {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 26px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 22px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.panel {
  width: min(390px, 100vw);
}

.panel--full {
  min-height: 100dvh;
  border-radius: 0;
}

.panel--sheet {
  align-self: end;
  padding: 16px;
  border-radius: 18px 18px 0 0;
}

.panel--modal,
.panel--dialog {
  align-self: center;
  max-width: 340px;
  padding: 16px;
}

.panel-title {
  margin-bottom: 12px;
}

.search-row,
.search-row--inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-row {
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.search-row--inner {
  padding: 0;
}

.search-input,
.line-input,
.note-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
}

.search-input,
.line-input {
  height: 38px;
  padding: 0 12px;
  background: var(--panel);
}

.note-input {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
  background: var(--panel);
}

.panel-section {
  padding: 16px;
}

.panel-section + .panel-section {
  border-top: 1px solid var(--line);
}

.row-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  text-align: left;
  color: var(--text);
}

.row-button--card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.sheet-row.is-active {
  color: var(--accent);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 15px;
  background: #444444;
  color: #ffffff;
}

.spec-card {
  margin-bottom: 16px;
}

.spec-photo {
  flex: 0 0 140px;
  width: 140px;
  height: 140px;
  border-radius: 16px;
}

.spec-card__info {
  flex: 1;
  min-width: 0;
}

.spec-footer {
  margin: 16px 0;
}

.primary-button {
  min-width: 96px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 20px;
  background: var(--accent);
  color: #ffffff;
}

.primary-button--small {
  min-width: 74px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 16px;
  font-size: 12px;
}

.primary-button--full {
  width: 100%;
}

.pay-hero {
  padding: 16px;
  background: linear-gradient(180deg, #f09b62 0%, #ed7a39 100%);
  color: #ffffff;
}

.pay-hero__tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

.pay-hero__title {
  margin-top: 14px;
  color: #ffffff;
}

.pay-hero__sub {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.pay-hero__total,
.pay-hero__take-no {
  margin-top: 14px;
  font-size: 20px;
  font-weight: 600;
}

.pay-hero__status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-card__text {
  margin-top: 8px;
}

.mode-switch {
  margin-top: 14px;
  padding: 6px;
  border-radius: 18px;
  background: var(--accent-soft);
}

.mode-switch__btn {
  flex: 1;
  min-height: 34px;
  border-radius: 16px;
}

.mode-switch__btn.is-active {
  background: var(--panel);
}

.form-list {
  margin-top: 12px;
}

.form-row {
  min-height: 42px;
  padding: 10px 0;
}

.form-row + .form-row {
  border-top: 1px solid var(--line);
}

.form-row--button {
  width: 100%;
  border: 0;
  background: none;
}

.form-row--input {
  align-items: center;
}

.form-row--input .line-input {
  flex: 1;
}

.checkout-items {
  margin-top: 12px;
}

.checkout-item + .checkout-item {
  margin-top: 12px;
}

.pay-option-list {
  margin-top: 8px;
}

.pay-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.pay-option.is-active {
  color: var(--accent);
}

.post-link-row {
  margin-top: 10px;
}

.mine-actions {
  justify-content: flex-end;
}

.logout-button {
  width: 100%;
  margin-top: 12px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  color: var(--accent);
}

.profile-info {
  display: flex;
  justify-content: center;
}

.address-card__main {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  text-align: left;
}

.address-card__text {
  margin-top: 8px;
  font-size: 14px;
}

.small-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 13px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
}

.coupon-list-card {
  align-items: center;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.step-item {
  min-height: 72px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.step-item.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.progress-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 13px;
}

.checkout-bar__actions,
.order-list-card__actions,
.cart-sheet-row__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch {
  position: relative;
  width: 50px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f2f2f2;
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 11px;
  background: #ffffff;
  transition: left 0.2s ease;
}

.switch.is-on {
  background: var(--accent);
}

.switch.is-on::after {
  left: 24px;
}

.wallet-hero {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #2d7df0 0%, #1f6be2 100%);
  color: #ffffff;
}

.wallet-hero__hint,
.row-sub--light {
  color: rgba(255, 255, 255, 0.82);
}

.wallet-hero__hint {
  font-size: 12px;
}

.wallet-hero__label {
  margin-top: 18px;
  font-size: 14px;
}

.wallet-hero__amount {
  margin-top: 10px;
  font-size: 42px;
  font-weight: 700;
}

.wallet-hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.wallet-ghost,
.wallet-primary {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 21px;
  font-size: 16px;
}

.wallet-ghost {
  background: #ffffff;
  color: #1f6be2;
}

.wallet-primary {
  background: #1f6be2;
  color: #ffffff;
}

.wallet-record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.wallet-record__main,
.wallet-record__side {
  min-width: 0;
}

.wallet-record__side {
  text-align: right;
}

.wallet-record__title {
  font-size: 15px;
  font-weight: 600;
}

.wallet-record__amount {
  font-size: 18px;
  font-weight: 700;
}

.wallet-record__amount.is-income {
  color: var(--accent);
}

.wallet-record__amount.is-outcome {
  color: #333333;
}

.wallet-page--dark {
  background: #111111;
}

.wallet-page--navy {
  background: #152861;
}

.sub-header--dark,
.sub-header--navy {
  background: transparent;
}

.header-title--light {
  color: #ffffff;
}

.icon-button--dark,
.icon-button--navy {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.wallet-dark-card,
.wallet-navy-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.wallet-dark-card {
  background: #1c1c1c;
  color: #ffffff;
}

.wallet-navy-card {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.section-title--light {
  color: #ffffff;
}

.wallet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
}

.wallet-row--button {
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.wallet-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-currency {
  font-size: 40px;
  color: #ffffff;
}

.wallet-amount-input {
  flex: 1;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-size: 32px;
}

.wallet-amount-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.wallet-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.wallet-quick-button {
  min-width: 64px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.wallet-balance-tip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.link-button--light {
  color: #7cb7ff;
}

.checkout-bar--dark {
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-chip-button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.bank-card-item {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
  color: #ffffff;
}

.bank-card-item.is-active {
  border-color: #7cb7ff;
  background: rgba(124, 183, 255, 0.14);
}

.bank-card-item__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.wallet-record {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.wallet-record__main,
.wallet-record__side {
  min-width: 0;
}

.wallet-record__side {
  text-align: right;
}

.wallet-record__title {
  font-size: 15px;
  font-weight: 600;
}

.wallet-record__amount {
  font-size: 18px;
  font-weight: 700;
}

.wallet-record__amount.is-income {
  color: var(--accent);
}

.wallet-record__amount.is-outcome {
  color: #333333;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  z-index: 40;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.82);
  color: #ffffff;
  font-size: 13px;
}

.empty-card {
  padding: 26px 16px;
  text-align: center;
  color: var(--soft);
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  width: min(390px, 100vw);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.tabbar__button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
}

.tabbar__button.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 390px) {
  .recommend-grid,
  .coupon-grid {
    grid-template-columns: 1fr;
  }
}
