/* 预览站外壳。手机边框以内的样式全部来自 miniprogram 的 WXSS，这里只负责
   边框本身、导航栏、tabBar，以及基础库自带的那点元素默认样式。 */

* { box-sizing: border-box; }

body {
  margin: 0;
  display: flex;
  min-height: 100vh;
  background: #eceae6;
  color: #2a251f;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
}

.preview {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin: auto;
  padding: 32px 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.preview__panel {
  width: 280px;
  padding: 24px;
  background: #fff;
  border: 1px solid #ded9d1;
  border-radius: 20px;
}

.preview__brand { font-size: 20px; font-weight: 700; }
.preview__brand span {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1eee9;
  color: #6e675e;
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
}
.preview__copy, .preview__note { color: #6e675e; font-size: 13px; line-height: 1.7; }
.preview__note { margin-bottom: 0; }
.preview code { padding: 1px 4px; background: #f1eee9; border-radius: 4px; font-size: 12px; }
.preview__field { margin: 20px 0 12px; }
.preview__field-label { display: block; margin-bottom: 6px; font-size: 13px; color: #6e675e; }

/* 自定义身份选择器。原生 <select> 的弹出层由操作系统绘制，和这一页的调子对不上，
   而且没法在选项里带上头像色点和身份说明。 */
.picker { position: relative; }

.picker__trigger,
.picker__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ded9d1;
  border-radius: 10px;
  background: #fff;
  color: #2a251f;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.picker__trigger:hover { border-color: #cbc5bb; }
.picker__trigger:focus-visible,
.picker__option:focus-visible { outline: 2px solid #3a342d; outline-offset: 1px; }

.picker__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbc5bb;
}

.picker__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.picker__caret {
  flex: none;
  width: 0;
  height: 0;
  border-top: 5px solid #8c857c;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.15s;
}

.picker__trigger[aria-expanded="true"] .picker__caret { transform: rotate(180deg); }

/* 必须显式写这一条：下面的 display:flex 会盖掉 [hidden] 自带的 display:none，
   于是 menu.hidden = true 只改了属性，菜单照样看得见——表现就是"下拉框关不掉"。 */
.picker__menu[hidden] { display: none; }

.picker__menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  background: #fff;
  border: 1px solid #ded9d1;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(42, 37, 31, 0.16);
}

.picker__option {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
}

.picker__option:hover { background: #f7f5f1; }
.picker__option[aria-selected="true"] { background: #f1eee9; font-weight: 600; }
.picker__option-name { flex: none; }
.picker__option-note { flex: 1; color: #a8a199; font-size: 12px; text-align: right; }
.preview__button {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbc5bb;
  border-radius: 10px;
  background: #f7f5f1;
  font-size: 14px;
  cursor: pointer;
}

/* ---------------- 手机边框 ---------------- */

/* 屏幕内容区必须正好 375px：构建时 rpx 是按 750rpx = 375px 换算死的，
   而小程序里很多布局（比如每轮明细的 162 + 588rpx）就是照着铺满一屏算的。
   机身宽度要把两侧边框加进去，否则屏幕只剩 355px，撑满的布局会被裁掉 20px。 */
.device {
  position: relative;
  display: flex;
  flex-direction: column;
  width: calc(375px + 20px);
  height: 760px;
  overflow: hidden;
  background: #f7f5f1;
  border: 10px solid #1c1a17;
  border-radius: 44px;
  /* 页面里的 position:fixed 底栏要贴在机身上，而不是浏览器窗口上。
     给机身一个 transform，它就成了固定定位的包含块。 */
  transform: translate(0);
  box-shadow: 0 30px 60px rgba(42, 37, 31, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  height: 52px;
  padding: 0 8px;
  background: #f7f5f1;
  border-bottom: 1px solid #e9e5df;
}
.nav__title { flex: 1; text-align: center; font-size: 15px; font-weight: 600; }
.nav__button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #3a342d;
  font-size: 18px;
  cursor: pointer;
}
.nav__button:hover { background: #efece7; }
.nav__button--hidden { visibility: hidden; }

.wx-screen {
  position: relative;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

/* 小程序页面不显示滚动条，预览站也不该显示——它既碍眼，在会占位的平台上
   还会挤掉 15px 内容宽度，让本来正好铺满的布局出现莫名其妙的裁切。 */
.wx-screen,
.wx-scroll-view {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wx-screen::-webkit-scrollbar,
.wx-scroll-view::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.wx-page { min-height: 100%; }
.wx-page--hidden { display: none; }

.tabbar {
  display: flex;
  flex: none;
  height: 52px;
  background: #fff;
  border-top: 1px solid #e9e5df;
}
.tabbar--hidden { display: none; }
.tabbar__item {
  flex: 1;
  border: 0;
  background: transparent;
  color: #8c857c;
  font-size: 12px;
  cursor: pointer;
}
.tabbar__item--active { color: #3a342d; font-weight: 600; }

/* 窄屏（手机上看预览站）时把说明折到上面，机身撑满一行，避免横向滚动。 */
@media (max-width: 460px) {
  .preview {
    gap: 16px;
    padding: 12px 8px;
  }

  .preview__panel {
    width: 100%;
    padding: 16px;
  }

  .device {
    width: 100%;
    max-width: calc(375px + 12px);
    height: 640px;
    border-width: 6px;
    border-radius: 28px;
  }
}

/* ---------------- 基础库自带的元素默认样式 ---------------- */

.wx-view { display: block; }
.wx-text { display: inline; }
.wx-image { display: inline-block; width: 100%; }
.wx-scroll-view { display: block; }
.wx-form { display: block; }

.wx-button {
  position: relative;
  display: block;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
  overflow: hidden;
  color: #000;
  background-color: #f8f8f8;
  border: 0;
  border-radius: 5px;
  font-size: 18px;
  line-height: 2.55555556;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.wx-button[disabled] { opacity: 0.5; pointer-events: none; }

.wx-input {
  display: block;
  width: 100%;
  min-height: 1.4em;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: inherit;
  font: inherit;
}
.wx-input::placeholder { color: #a8a199; }

.wx-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 32px;
  background: #e9e5df;
  border-radius: 999px;
  transition: background 0.15s;
  cursor: pointer;
}
.wx-switch--on { background: #3a342d; }
.wx-switch__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.15s;
}
.wx-switch--on .wx-switch__knob { transform: translateX(20px); }

.wx-picker { display: block; }

/* ---------------- TDesign 组件替身 ---------------- */

.t-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
}
.t-button[disabled] { opacity: 0.5; pointer-events: none; }
.t-button--loading { opacity: 0.7; pointer-events: none; }
.t-button--block { display: flex; width: 100%; }

.t-button--size-small { min-height: 28px; padding: 0 10px; font-size: 13px; }
.t-button--size-medium { min-height: 36px; padding: 0 14px; font-size: 14px; }
.t-button--size-large { min-height: 48px; padding: 0 18px; font-size: 16px; }

/* base：实心。页面往往只在 t-class 里改背景色，字色得由主题给出，
   否则就会出现深底深字。 */
.t-button--primary { color: #fff; background: #3a342d; border-color: #3a342d; }
.t-button--default { color: #2a251f; background: #f1eee9; border-color: #ded9d1; }

.t-button--outline { background: transparent; }
.t-button--primary.t-button--outline { color: #3a342d; border-color: #3a342d; }
.t-button--default.t-button--outline { color: #6e675e; border-color: #ded9d1; }

.t-button--text { background: transparent; border-color: transparent; }
.t-button--primary.t-button--text { color: #3a342d; }
.t-button--default.t-button--text { color: #6e675e; }

.t-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #f1eee9, #ded9d1);
  color: #6e675e;
  font-size: 15px;
  vertical-align: middle;
}
.t-avatar--bordered { border: 1px solid #ded9d1; }
.t-avatar__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-avatar__text { position: relative; }

.t-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8c857c;
  font-size: 13px;
}
.t-loading--vertical { flex-direction: column; }
.t-loading__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #ded9d1;
  border-top-color: #6e675e;
  border-radius: 50%;
  animation: t-spin 0.8s linear infinite;
}
@keyframes t-spin { to { transform: rotate(360deg); } }

.t-image { display: inline-block; object-fit: contain; }

.t-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 999px;
  background: #f1eee9;
  color: #6e675e;
  font-size: 12px;
}

/* ---------------- 组件替身与全局层 ---------------- */

.stub-hidden { display: none; }

.stub-editor { display: none; }
.stub-editor--visible { display: block; }
.stub-editor__mask { position: absolute; inset: 0; z-index: 30; background: rgba(28, 26, 23, 0.45); }
.stub-editor__card {
  position: absolute;
  z-index: 31;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
}
.stub-editor__title { font-size: 16px; font-weight: 600; }
.stub-editor__note { margin: 6px 0 14px; color: #8c857c; font-size: 12px; line-height: 1.6; }
.stub-editor__input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ded9d1;
  border-radius: 10px;
  font-size: 15px;
}
.stub-editor__actions { display: flex; gap: 10px; margin-top: 16px; }
.stub-editor__button {
  flex: 1;
  padding: 10px;
  border: 1px solid #ded9d1;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}
.stub-editor__button--primary { background: #3a342d; border-color: #3a342d; color: #fff; }

.toast {
  position: absolute;
  z-index: 60;
  top: 50%;
  left: 50%;
  max-width: 260px;
  padding: 12px 18px;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  background: rgba(28, 26, 23, 0.86);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  white-space: pre-line;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.toast--visible { opacity: 1; }

.modal {
  position: absolute;
  z-index: 70;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 26, 23, 0.45);
}
.modal--visible { display: flex; }
.modal__card { width: 100%; padding: 22px 20px 12px; background: #fff; border-radius: 14px; }
.modal__title { font-size: 16px; font-weight: 600; text-align: center; }
.modal__content { margin-top: 10px; color: #6e675e; font-size: 14px; line-height: 1.6; text-align: center; }
.modal__input {
  width: 100%;
  margin-top: 14px;
  padding: 8px 10px;
  border: 1px solid #ded9d1;
  border-radius: 8px;
  font-size: 15px;
}
.modal__actions { display: flex; margin-top: 18px; border-top: 1px solid #ececec; }
.modal__button {
  flex: 1;
  padding: 12px;
  border: 0;
  background: transparent;
  color: #6e675e;
  font-size: 15px;
  cursor: pointer;
}
.modal__button + .modal__button { border-left: 1px solid #ececec; }
.modal__button--primary { color: #3a342d; font-weight: 600; }

.lightbox {
  position: absolute;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.9);
}
.lightbox--visible { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; }



:root, .wx-screen{
  /* Warm ivory surfaces with a warm ink brand. Every page stylesheet draws from
     this one ramp, so the whole app can be retinted from here. */
  --color-page: #f7f5f1;
  --color-surface: #ffffff;
  --color-surface-subtle: #fcfbf9;
  --color-surface-sunken: #f1eee9;
  --color-border-soft: #e9e5df;
  --color-border: #ded9d1;
  --color-border-strong: #cbc5bb;

  --color-text: #2a251f;
  --color-text-secondary: #6e675e;
  --color-text-muted: #8c857c;
  --color-text-faint: #a8a199;

  --color-brand: #3a342d;
  --color-on-brand: #ffffff;

  --color-win: #d0523f;
  --color-win-light: #e06a56;
  --color-win-strong: #b23f30;
  --color-win-soft: #fff6f4;
  --color-win-border: #f2cfc7;
  --color-loss: #12796a;
  --color-loss-strong: #0c5d51;
  --color-loss-soft: #f2faf7;
  --color-accent: #a87c33;
  --color-accent-strong: #7a5a22;
  --color-accent-line: #c9a25c;
  --color-accent-on-dark: #ebd9b4;
  --color-accent-soft: #fbf6ec;
  --color-accent-muted: #f4ead6;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-pill: 499.5px;

  --shadow-card: 0 6px 16px rgba(42, 37, 31, 0.05);
  --shadow-raised: 0 8px 20px rgba(42, 37, 31, 0.08);

  /* TDesign reads these tokens for its own components. */
  --td-brand-color-1: #fbf6ec;
  --td-brand-color-2: #f1eee9;
  --td-brand-color-3: #ded9d1;
  --td-brand-color-4: #a8a199;
  --td-brand-color-5: #6e675e;
  --td-brand-color-6: #4a443c;
  --td-brand-color-7: #3a342d;
  --td-brand-color-8: #2a251f;
  --td-brand-color-9: #211d18;
  --td-brand-color-10: #171410;
  --td-brand-color: #3a342d;
  --td-text-color-primary: #2a251f;
  --td-text-color-secondary: #6e675e;
  --td-border-level-1-color: #e9e5df;
  --td-border-level-2-color: #ded9d1;
  --td-bg-color-page: #f7f5f1;
  --td-bg-color-container: #ffffff;
  --td-radius-default: 10px;

  min-height: 100%;
  color: var(--color-text);
  background: var(--color-page);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 15px;
}
button{
  font: inherit;
}
button::after{
  border: 0;
}
.page-shell{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 14px 16px calc(68px + env(safe-area-inset-bottom));
}
.page-title{
  margin: 4px 0 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.muted{
  color: var(--color-text-muted);
}
/* Shared connectivity banner. Weak signal is the normal case for this app, so
   the状态 lives inline on the page instead of behind a blocking toast. */
.net-banner{
  display: flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px 11px;
  border: 0.5px solid #ebd9b4;
  border-radius: var(--radius-md);
  color: #7a5a22;
  background: var(--color-accent-soft);
  font-size: 12px;
  line-height: 17px;
}
.net-banner--offline{
  border-color: #f2cfc7;
  color: var(--color-win-strong);
  background: var(--color-win-soft);
}
.net-banner__dot{
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: net-banner-pulse 1.4s ease-in-out infinite;
}
.net-banner__text{
  flex: 1;
}

@keyframes net-banner-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}



.wx-page[data-route="pages/home/index"] .home-page{
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 56px - env(safe-area-inset-bottom));
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/home/index"] .home-header{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 1px 14px;
  border-bottom: 0.5px solid var(--color-border-soft);
}
.wx-page[data-route="pages/home/index"] .home-header__mark{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-accent-line);
  border-radius: var(--radius-md);
  color: var(--color-accent-on-dark);
  background: var(--color-brand);
  font-family: "DIN Alternate", "SF Pro Display", sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -1px;
}
.wx-page[data-route="pages/home/index"] .home-header__copy{
  display: flex;
  flex-direction: column;
}
.wx-page[data-route="pages/home/index"] .home-header__name{
  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 21px;
}
.wx-page[data-route="pages/home/index"] .home-header__eyebrow{
  margin-top: 1px;
  color: var(--color-text-muted);
  font-size: 10.5px;
  letter-spacing: 1px;
}
.wx-page[data-route="pages/home/index"] .profile-entry{
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
  margin-top: 29px;
  padding: 0 0 8px;
  color: inherit;
  background: transparent;
  line-height: 1.35;
}
.wx-page[data-route="pages/home/index"] .profile-entry--pressed{
  opacity: 0.78;
}
.wx-page[data-route="pages/home/index"] .profile-entry__avatar-wrap{
  position: relative;
  width: 74px;
  height: 74px;
  padding: 5px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: 50%;
  background: var(--color-surface);
  box-shadow: var(--shadow-raised);
}
.wx-page[data-route="pages/home/index"] .profile-entry__edit{
  position: absolute;
  right: -1px;
  bottom: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--color-surface-subtle);
  border-radius: 50%;
  background: var(--color-brand);
}
.wx-page[data-route="pages/home/index"] .profile-entry__edit text{
  color: var(--color-on-brand);
  font-size: 9.5px;
  font-weight: 700;
}
.wx-page[data-route="pages/home/index"] .profile-entry__name-row{
  display: flex;
  align-items: center;
  max-width: 100%;
  margin-top: 12px;
}
.wx-page[data-route="pages/home/index"] .profile-entry__name{
  overflow: hidden;
  color: var(--color-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 25px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/home/index"] .profile-entry__chevron{
  margin-left: 4px;
  color: var(--color-text-faint);
  font-size: 19px;
  font-weight: 300;
  line-height: 1;
}
.wx-page[data-route="pages/home/index"] .profile-entry__hint{
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 12px;
}
.wx-page[data-route="pages/home/index"] .start-panel{
  box-sizing: border-box;
  width: 100%;
  margin-top: 24px;
  padding: 15px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/home/index"] .start-panel__heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wx-page[data-route="pages/home/index"] .start-panel__eyebrow, .wx-page[data-route="pages/home/index"] .start-panel__title{
  display: block;
}
.wx-page[data-route="pages/home/index"] .start-panel__eyebrow{
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}
.wx-page[data-route="pages/home/index"] .start-panel__title{
  margin-top: 3px;
  color: var(--color-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 26px;
}
.wx-page[data-route="pages/home/index"] .start-panel__tile{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 38px;
  height: 46px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-sm);
  color: var(--color-brand);
  background: var(--color-surface-subtle);
  font-size: 17px;
  font-weight: 700;
}
.wx-page[data-route="pages/home/index"] .start-panel__button{
  height: 48px;
  margin-top: 14px;
  border-radius: var(--radius-md);
  background: var(--color-brand);
  box-shadow: var(--shadow-raised);
  font-size: 15.5px;
  font-weight: 650;
}
.wx-page[data-route="pages/home/index"] .start-panel__button-content{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.wx-page[data-route="pages/home/index"] .start-panel__button-plus{
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.wx-page[data-route="pages/home/index"] .backend-retry{
  width: 100%;
  min-height: 32px;
  margin-top: 9px;
  padding: 4px 10px;
  border: 0;
  color: var(--color-win-strong);
  background: transparent;
  font-size: 12.5px;
  line-height: 24px;
}
.wx-page[data-route="pages/home/index"] .backend-retry::after{
  border: 0;
}
.wx-page[data-route="pages/home/index"] .backend-retry--pressed{
  opacity: 0.62;
}
.wx-page[data-route="pages/home/index"] .home-footnote{
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  margin-top: 14px;
  color: var(--color-text-faint);
  font-size: 10.5px;
  letter-spacing: 0.5px;
}
.wx-page[data-route="pages/home/index"] .home-footnote__line{
  width: 27px;
  height: 0.5px;
  background: var(--color-border);
}


.wx-page[data-route="pages/history/index"] .history-page{
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/history/index"] .range-panel{
  overflow: hidden;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/history/index"] .range-panel__topline{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px 10px;
}
.wx-page[data-route="pages/history/index"] .month-trigger{
  display: flex;
  align-items: center;
  gap: 9px;
}
.wx-page[data-route="pages/history/index"] .month-mark{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 35px;
  height: 35px;
  padding-top: 4px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-md);
  color: var(--color-brand);
  font-size: 11.5px;
  font-weight: 750;
}
.wx-page[data-route="pages/history/index"] .month-mark__line{
  position: absolute;
  top: 7.5px;
  right: 6px;
  left: 6px;
  height: 1px;
  background: var(--color-brand);
  opacity: 0.45;
}
.wx-page[data-route="pages/history/index"] .month-trigger__label{
  display: block;
  color: var(--color-text-muted);
  font-size: 10.5px;
  line-height: 1.2;
}
.wx-page[data-route="pages/history/index"] .month-trigger__value-row{
  display: flex;
  align-items: center;
  margin-top: 2px;
}
.wx-page[data-route="pages/history/index"] .month-trigger__value{
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
}
.wx-page[data-route="pages/history/index"] .month-trigger__chevron{
  margin-left: 4px;
  color: var(--color-text-faint);
  font-size: 19px;
  line-height: 16px;
}
.wx-page[data-route="pages/history/index"] .range-summary{
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: var(--color-text-muted);
  font-size: 11px;
}
.wx-page[data-route="pages/history/index"] .range-summary__score{
  margin-top: 1.5px;
  font-size: 15.5px;
  font-weight: 750;
}
.wx-page[data-route="pages/history/index"] .range-tabs{
  box-sizing: border-box;
  width: 100%;
  border-top: 0.5px solid var(--color-page);
  white-space: nowrap;
}
.wx-page[data-route="pages/history/index"] .range-tabs__inner{
  display: inline-flex;
  box-sizing: border-box;
  min-width: 100%;
  gap: 5px;
  padding: 7.5px 10px 8.5px;
}
.wx-page[data-route="pages/history/index"] .range-tab{
  flex: 1;
  min-width: 64px;
  height: 29px;
  padding: 0 10px;
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  background: transparent;
  font-size: 12px;
  font-weight: 550;
  line-height: 29px;
}
.wx-page[data-route="pages/history/index"] .range-tab--active{
  color: var(--color-on-brand);
  background: var(--color-brand);
}
.wx-page[data-route="pages/history/index"] .range-tab--pressed, .wx-page[data-route="pages/history/index"] .match-card--pressed{
  opacity: 0.76;
}
.wx-page[data-route="pages/history/index"] .match-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.wx-page[data-route="pages/history/index"] .match-card{
  box-sizing: border-box;
  width: 100%;
  padding: 13px 13px 12px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: var(--color-surface);
  text-align: left;
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/history/index"] .match-card__header, .wx-page[data-route="pages/history/index"] .match-card__body, .wx-page[data-route="pages/history/index"] .match-card__facts{
  display: flex;
  align-items: center;
}
.wx-page[data-route="pages/history/index"] .match-card__header{
  justify-content: space-between;
}
.wx-page[data-route="pages/history/index"] .match-card__identity{
  min-width: 0;
}
.wx-page[data-route="pages/history/index"] .match-card__title-row{
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
}
.wx-page[data-route="pages/history/index"] .match-card__title, .wx-page[data-route="pages/history/index"] .match-card__time{
  display: block;
}
.wx-page[data-route="pages/history/index"] .match-card__title{
  max-width: 215px;
  overflow: hidden;
  font-size: 15.5px;
  font-weight: 720;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/history/index"] .match-card__test-tag{
  flex-shrink: 0;
  padding: 1.5px 5px;
  border: 0.5px solid rgba(122, 90, 34, 0.36);
  border-radius: var(--radius-pill);
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  font-size: 9.5px;
  font-weight: 650;
  line-height: 1.4;
}
.wx-page[data-route="pages/history/index"] .match-card__time{
  margin-top: 3.5px;
  color: var(--color-text-muted);
  font-size: 11.5px;
  line-height: 1.25;
}
.wx-page[data-route="pages/history/index"] .match-card__status{
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 4.5px;
  margin-left: 9px;
  font-size: 11.5px;
  font-weight: 650;
}
.wx-page[data-route="pages/history/index"] .status-dot{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.wx-page[data-route="pages/history/index"] .status--active{
  color: var(--color-brand);
}
.wx-page[data-route="pages/history/index"] .status--waiting{
  color: var(--color-accent-strong);
}
.wx-page[data-route="pages/history/index"] .status--ended{
  color: var(--color-text-faint);
}
.wx-page[data-route="pages/history/index"] .match-card__body{
  min-height: 36px;
  margin-top: 11.5px;
  padding-top: 10.5px;
  border-top: 0.5px solid var(--color-page);
}
.wx-page[data-route="pages/history/index"] .avatar-stack{
  display: flex;
  flex-shrink: 0;
  padding-left: 5px;
}
.wx-page[data-route="pages/history/index"] .avatar-stack__item{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 27px;
  height: 27px;
  margin-left: -5px;
  overflow: hidden;
  border: 1.5px solid var(--color-surface);
  border-radius: 50%;
  color: var(--color-brand);
  background: var(--color-surface-sunken);
  font-size: 10.5px;
  font-weight: 700;
}
.wx-page[data-route="pages/history/index"] .avatar-stack__image{
  width: 100%;
  height: 100%;
}
.wx-page[data-route="pages/history/index"] .match-card__facts{
  gap: 5px;
  margin-left: 9px;
  color: var(--color-text-muted);
  font-size: 11px;
}
.wx-page[data-route="pages/history/index"] .fact-dot{
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: var(--color-text-faint);
}
.wx-page[data-route="pages/history/index"] .match-card__score{
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  margin-left: auto;
}
.wx-page[data-route="pages/history/index"] .match-card__score-label{
  color: var(--color-text-faint);
  font-size: 10px;
}
.wx-page[data-route="pages/history/index"] .match-card__score-value{
  margin-top: 0.5px;
  font-size: 18.5px;
  font-weight: 760;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.wx-page[data-route="pages/history/index"] .score--positive{
  color: var(--color-win);
}
.wx-page[data-route="pages/history/index"] .score--negative{
  color: var(--color-loss);
}
.wx-page[data-route="pages/history/index"] .score--zero{
  color: var(--color-text-secondary);
}
.wx-page[data-route="pages/history/index"] .loading-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}
.wx-page[data-route="pages/history/index"] .skeleton-card{
  box-sizing: border-box;
  height: 103px;
  padding: 15px;
  border: 0.5px solid var(--color-surface-sunken);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.wx-page[data-route="pages/history/index"] .skeleton-line{
  height: 12px;
  margin-top: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-page) 20%, var(--color-surface-subtle) 50%, var(--color-page) 80%);
}
.wx-page[data-route="pages/history/index"] .skeleton-line--title{
  width: 42%;
  height: 15px;
  margin-top: 0;
}
.wx-page[data-route="pages/history/index"] .skeleton-line--body{
  width: 100%;
}
.wx-page[data-route="pages/history/index"] .skeleton-line--short{
  width: 62%;
}
.wx-page[data-route="pages/history/index"] .state-card{
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 15px;
  padding: 60px 19px 45px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-align: center;
}
.wx-page[data-route="pages/history/index"] .state-card__seal{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-md);
  color: var(--color-brand);
  font-size: 19px;
  font-weight: 750;
}
.wx-page[data-route="pages/history/index"] .empty-ledger{
  position: relative;
  box-sizing: border-box;
  width: 48px;
  height: 54px;
  padding: 15.5px 8.5px 0 13.5px;
  border: 1.5px solid var(--color-text-faint);
  border-radius: var(--radius-sm);
}
.wx-page[data-route="pages/history/index"] .empty-ledger__ring{
  position: absolute;
  top: 6.5px;
  left: -4px;
  width: 9px;
  height: 3.5px;
  border-top: 1.5px solid var(--color-text-faint);
  border-bottom: 1.5px solid var(--color-text-faint);
}
.wx-page[data-route="pages/history/index"] .empty-ledger__line{
  height: 1.5px;
  margin-bottom: 7px;
  background: var(--color-text-faint);
}
.wx-page[data-route="pages/history/index"] .empty-ledger__line--short{
  width: 65%;
}
.wx-page[data-route="pages/history/index"] .state-card__title{
  margin-top: 14.5px;
  color: var(--color-brand);
  font-size: 15.5px;
  font-weight: 700;
}
.wx-page[data-route="pages/history/index"] .state-card__description{
  max-width: 250px;
  margin: 6px 0 15px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.65;
}
.wx-page[data-route="pages/history/index"] /* 台费口径切换与台费合计：琥珀色，和红绿的输赢区分开。 */
.fee-summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 0.5px solid var(--color-border-soft);
}
.wx-page[data-route="pages/history/index"] .fee-summary__total{
  color: var(--color-accent-strong);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.wx-page[data-route="pages/history/index"] .fee-view-toggle{
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 26px;
  margin: 0;
  padding: 0 9px;
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  border: 0.5px solid var(--color-accent-line);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.wx-page[data-route="pages/history/index"] .fee-view-toggle::after{
  border: 0;
}
.wx-page[data-route="pages/history/index"] .fee-view-toggle--pressed{
  background: var(--color-accent-muted);
}
.wx-page[data-route="pages/history/index"] .fee-view-toggle__icon{
  margin-left: 4px;
  font-size: 11px;
}
.wx-page[data-route="pages/history/index"] .fact-fee{
  color: var(--color-accent-strong);
}
.wx-page[data-route="pages/history/index"] .avatar-stack__initial{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  font-size: 11px;
  font-weight: 600;
}


.wx-page[data-route="pages/analysis/index"] .analysis-page{
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/analysis/index"] .period-tabs{
  width: 100%;
  white-space: nowrap;
}
.wx-page[data-route="pages/analysis/index"] .period-tabs__inner{
  display: inline-flex;
  box-sizing: border-box;
  min-width: 100%;
  gap: 5px;
  padding: 0 0.5px 5px;
}
.wx-page[data-route="pages/analysis/index"] .period-tab{
  min-width: 58px;
  height: 31px;
  padding: 0 12px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: var(--color-surface);
  font-size: 12px;
  font-weight: 550;
  line-height: 30px;
}
.wx-page[data-route="pages/analysis/index"] .period-tab--active{
  border-color: var(--color-brand);
  color: var(--color-on-brand);
  background: var(--color-brand);
}
.wx-page[data-route="pages/analysis/index"] .period-tab--pressed, .wx-page[data-route="pages/analysis/index"] .chart-column--pressed{
  opacity: 0.72;
}
.wx-page[data-route="pages/analysis/index"] .scoreboard{
  position: relative;
  display: flex;
  margin-top: 9px;
  overflow: hidden;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/analysis/index"] .scoreboard::before{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--color-brand);
  content: '';
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__column{
  display: flex;
  flex: 1;
  align-items: center;
  flex-direction: column;
  padding: 15px 11px 13.5px;
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__divider{
  width: 0.5px;
  margin: 17px 0 13px;
  background: var(--color-surface-sunken);
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__eyebrow{
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__primary{
  display: flex;
  align-items: baseline;
  margin-top: 4px;
  color: var(--color-text);
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__number{
  font-size: 31px;
  font-weight: 760;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__unit{
  margin-left: 3.5px;
  color: var(--color-text-secondary);
  font-size: 11.5px;
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__rule{
  width: 28px;
  height: 1px;
  margin: 10.5px 0 9px;
  background: var(--color-border);
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__rate{
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--color-brand);
  font-size: 17.5px;
  font-weight: 720;
}
.wx-page[data-route="pages/analysis/index"] .scoreboard__label{
  margin-top: 3.5px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
}
.wx-page[data-route="pages/analysis/index"] .chart-section, .wx-page[data-route="pages/analysis/index"] .lucky-section{
  margin-top: 12px;
  padding: 14px 13px 12px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/analysis/index"] .section-heading{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.wx-page[data-route="pages/analysis/index"] .section-heading__title, .wx-page[data-route="pages/analysis/index"] .section-heading__caption{
  display: block;
}
.wx-page[data-route="pages/analysis/index"] .section-heading__title{
  color: var(--color-text);
  font-size: 16px;
  font-weight: 730;
}
.wx-page[data-route="pages/analysis/index"] .section-heading__caption{
  margin-top: 3.5px;
  color: var(--color-text-muted);
  font-size: 10.5px;
}
.wx-page[data-route="pages/analysis/index"] .section-total{
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  color: var(--color-text-faint);
  font-size: 10px;
}
.wx-page[data-route="pages/analysis/index"] .section-total__value{
  margin-top: 2.5px;
  font-size: 15px;
  font-weight: 730;
  font-variant-numeric: tabular-nums;
}
.wx-page[data-route="pages/analysis/index"] .score--positive{
  color: var(--color-win);
}
.wx-page[data-route="pages/analysis/index"] .score--negative{
  color: var(--color-loss);
}
.wx-page[data-route="pages/analysis/index"] .score--zero{
  color: var(--color-text-secondary);
}
.wx-page[data-route="pages/analysis/index"] .chart{
  position: relative;
  height: 184px;
  margin-top: 11px;
}
.wx-page[data-route="pages/analysis/index"] .chart__zero-line{
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  top: 82px;
  height: 1px;
  background: var(--color-border-strong);
}
.wx-page[data-route="pages/analysis/index"] .chart__columns{
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  height: 100%;
}
.wx-page[data-route="pages/analysis/index"] .chart-column{
  position: relative;
  display: flex;
  flex: 1;
  align-items: stretch;
  flex-direction: column;
  min-width: 0;
  padding: 0 1.5px;
  color: var(--color-text-muted);
  background: transparent;
}
.wx-page[data-route="pages/analysis/index"] .chart-column__positive, .wx-page[data-route="pages/analysis/index"] .chart-column__negative{
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  box-sizing: border-box;
  height: 82px;
}
.wx-page[data-route="pages/analysis/index"] .chart-column__positive{
  justify-content: flex-end;
}
.wx-page[data-route="pages/analysis/index"] .chart-column__negative{
  justify-content: flex-start;
}
.wx-page[data-route="pages/analysis/index"] .bar-wrap{
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 100%;
}
.wx-page[data-route="pages/analysis/index"] .bar-wrap--positive{
  justify-content: flex-end;
}
.wx-page[data-route="pages/analysis/index"] .bar-wrap--negative{
  justify-content: flex-start;
}
.wx-page[data-route="pages/analysis/index"] .bar{
  width: 62%;
  min-width: 6px;
  height: 100%;
  border-radius: 3px 3px 0 0;
}
.wx-page[data-route="pages/analysis/index"] .bar--positive{
  background: linear-gradient(180deg, var(--color-win-light) 0%, var(--color-win) 100%);
}
.wx-page[data-route="pages/analysis/index"] .bar--negative{
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, var(--color-loss) 0%, var(--color-loss-strong) 100%);
}
.wx-page[data-route="pages/analysis/index"] .bar-label{
  position: absolute;
  top: -14.5px;
  left: 50%;
  max-width: 42px;
  overflow: hidden;
  font-size: 8.5px;
  font-weight: 650;
  line-height: 12px;
  text-align: center;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
}
.wx-page[data-route="pages/analysis/index"] .bar-label--negative{
  top: auto;
  bottom: -14.5px;
}
.wx-page[data-route="pages/analysis/index"] .zero-dot{
  width: 3.5px;
  height: 3.5px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: var(--color-border-strong);
}
.wx-page[data-route="pages/analysis/index"] .chart-column__month{
  display: block;
  margin-top: 8.5px;
  color: var(--color-text-faint);
  min-height: 14px;
  font-size: 10.5px;
  line-height: 12.5px;
  text-align: center;
}
.wx-page[data-route="pages/analysis/index"] .chart-empty{
  position: absolute;
  z-index: 3;
  top: 46px;
  right: 10px;
  left: 10px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  text-align: center;
}
.wx-page[data-route="pages/analysis/index"] .section-heading--lucky{
  align-items: center;
}
.wx-page[data-route="pages/analysis/index"] .fortune-mark{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1px solid var(--color-win);
  border-radius: var(--radius-md);
  color: var(--color-win);
  font-family: "STKaiti", "KaiTi", serif;
  font-size: 15.5px;
  transform: rotate(3deg);
}
.wx-page[data-route="pages/analysis/index"] .lucky-list{
  margin-top: 12px;
  border-top: 0.5px solid var(--color-surface-sunken);
}
.wx-page[data-route="pages/analysis/index"] .lucky-row{
  display: flex;
  align-items: center;
  min-height: 51px;
  border-bottom: 0.5px solid var(--color-page);
}
.wx-page[data-route="pages/analysis/index"] .lucky-avatar{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 31px;
  height: 31px;
  overflow: hidden;
  border-radius: 50%;
  color: var(--color-brand);
  background: var(--color-surface-sunken);
  font-size: 11.5px;
  font-weight: 700;
}
.wx-page[data-route="pages/analysis/index"] .lucky-avatar image{
  width: 100%;
  height: 100%;
}
.wx-page[data-route="pages/analysis/index"] .lucky-row__identity{
  min-width: 0;
  margin-left: 8px;
}
.wx-page[data-route="pages/analysis/index"] .lucky-row__name{
  color: var(--color-brand);
  font-size: 13.5px;
  font-weight: 680;
}
.wx-page[data-route="pages/analysis/index"] .lucky-row__meta{
  display: flex;
  gap: 7.5px;
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 10px;
}
.wx-page[data-route="pages/analysis/index"] .lucky-row__score{
  margin-left: auto;
  color: var(--color-win);
  font-size: 12.5px;
  font-weight: 680;
}
.wx-page[data-route="pages/analysis/index"] .lucky-note{
  display: block;
  margin-top: 8.5px;
  color: var(--color-text-faint);
  font-size: 9.5px;
  line-height: 1.55;
  text-align: center;
}
.wx-page[data-route="pages/analysis/index"] .lucky-section--empty{
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-top: 17px;
  padding-bottom: 17px;
  text-align: center;
}
.wx-page[data-route="pages/analysis/index"] .lucky-empty__title{
  margin-top: 9px;
  color: var(--color-brand);
  font-size: 13.5px;
  font-weight: 680;
}
.wx-page[data-route="pages/analysis/index"] .lucky-empty__copy{
  max-width: 250px;
  margin-top: 4.5px;
  color: var(--color-text-muted);
  font-size: 10px;
  line-height: 1.55;
}
.wx-page[data-route="pages/analysis/index"] .analysis-skeleton{
  margin-top: 9px;
}
.wx-page[data-route="pages/analysis/index"] .analysis-skeleton__metrics, .wx-page[data-route="pages/analysis/index"] .analysis-skeleton__chart{
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--color-page) 20%, var(--color-surface-subtle) 50%, var(--color-page) 80%);
}
.wx-page[data-route="pages/analysis/index"] .analysis-skeleton__metrics{
  height: 161px;
}
.wx-page[data-route="pages/analysis/index"] .analysis-skeleton__chart{
  height: 235px;
  margin-top: 12px;
}
.wx-page[data-route="pages/analysis/index"] .state-card{
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 12px;
  padding: 65px 20px 50px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  text-align: center;
}
.wx-page[data-route="pages/analysis/index"] .state-card__seal{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-md);
  color: var(--color-brand);
  font-size: 19px;
  font-weight: 750;
}
.wx-page[data-route="pages/analysis/index"] .state-card__title{
  margin-top: 14px;
  color: var(--color-brand);
  font-size: 15.5px;
  font-weight: 700;
}
.wx-page[data-route="pages/analysis/index"] .state-card__description{
  max-width: 250px;
  margin: 6px 0 15px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.65;
}
.wx-page[data-route="pages/analysis/index"] /* 台费口径切换与台费合计：琥珀色，和红绿的输赢区分开。 */
.fee-summary{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding: 8px 11px;
  background: var(--color-accent-soft);
  border: 0.5px solid var(--color-accent-line);
  border-radius: var(--radius-md);
}
.wx-page[data-route="pages/analysis/index"] .fee-summary__total{
  color: var(--color-accent-strong);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.wx-page[data-route="pages/analysis/index"] .fee-view-toggle{
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 26px;
  margin: 0;
  padding: 0 9px;
  color: var(--color-accent-strong);
  background: var(--color-surface);
  border: 0.5px solid var(--color-accent-line);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.wx-page[data-route="pages/analysis/index"] .fee-view-toggle::after{
  border: 0;
}
.wx-page[data-route="pages/analysis/index"] .fee-view-toggle--pressed{
  background: var(--color-accent-muted);
}
.wx-page[data-route="pages/analysis/index"] .fee-view-toggle__icon{
  margin-left: 4px;
  font-size: 11px;
}


.wx-page[data-route="pages/profile/index"] .identity-card{
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  padding: 15px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  color: inherit;
  background: var(--color-surface);
  text-align: left;
}
.wx-page[data-route="pages/profile/index"] .identity-card--pressed, .wx-page[data-route="pages/profile/index"] .service-item--pressed{
  opacity: 0.76;
}
.wx-page[data-route="pages/profile/index"] .identity-card__avatar{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  font-size: 19px;
  font-weight: 600;
}
.wx-page[data-route="pages/profile/index"] .identity-card__content{
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  margin-left: 12px;
}
.wx-page[data-route="pages/profile/index"] .identity-card__name{
  overflow: hidden;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/profile/index"] .identity-card__hint{
  margin-top: 4px;
  color: var(--color-text-faint);
  font-size: 11.5px;
}
.wx-page[data-route="pages/profile/index"] .identity-card__chevron{
  flex: none;
  margin-left: 6px;
  color: var(--color-text-faint);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}
.wx-page[data-route="pages/profile/index"] .service-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 21px;
  overflow: hidden;
  padding: 14px 5px 15px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.wx-page[data-route="pages/profile/index"] .service-item{
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  color: var(--color-text-secondary);
  background: transparent;
  font-size: 11px;
  line-height: 1.2;
}
.wx-page[data-route="pages/profile/index"] .service-item__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  color: var(--color-brand);
  background: var(--color-page);
  font-size: 14px;
  font-weight: 650;
}
.wx-page[data-route="pages/profile/index"] .service-glyph{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 23px;
  height: 23px;
  color: currentColor;
}
.wx-page[data-route="pages/profile/index"] .service-glyph--service::before, .wx-page[data-route="pages/profile/index"] .service-glyph--service::after, .wx-page[data-route="pages/profile/index"] .service-glyph--business::before, .wx-page[data-route="pages/profile/index"] .service-glyph--business::after, .wx-page[data-route="pages/profile/index"] .service-glyph--idea::before, .wx-page[data-route="pages/profile/index"] .service-glyph--idea::after, .wx-page[data-route="pages/profile/index"] .service-glyph--clean::before, .wx-page[data-route="pages/profile/index"] .service-glyph--clean::after{
  position: absolute;
  box-sizing: border-box;
  content: '';
}
.wx-page[data-route="pages/profile/index"] .service-glyph--service::before{
  top: 1.5px;
  left: 3px;
  width: 17px;
  height: 17px;
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50% 50% 7px 7px;
}
.wx-page[data-route="pages/profile/index"] .service-glyph--service::after{
  top: 11px;
  left: 1.5px;
  width: 4px;
  height: 8px;
  border-radius: 2.5px;
  background: currentColor;
  box-shadow: 16px 0 0 currentColor;
}
.wx-page[data-route="pages/profile/index"] .service-glyph--business::before{
  right: 1px;
  bottom: 2px;
  left: 1px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 3px;
}
.wx-page[data-route="pages/profile/index"] .service-glyph--business::after{
  top: 1.5px;
  left: 7.5px;
  width: 8.5px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 2.5px 2.5px 0 0;
}
.wx-page[data-route="pages/profile/index"] .service-glyph--idea::before{
  top: 1px;
  left: 3.5px;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.wx-page[data-route="pages/profile/index"] .service-glyph--idea::after{
  bottom: 1px;
  left: 7.5px;
  width: 8px;
  height: 5.5px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.wx-page[data-route="pages/profile/index"] .service-glyph--clean::before{
  bottom: 2px;
  left: 5.5px;
  width: 12px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 1.5px 1.5px 3.5px 3.5px;
}
.wx-page[data-route="pages/profile/index"] .service-glyph--clean::after{
  top: 3px;
  left: 3px;
  width: 17px;
  border-top: 2px solid currentColor;
  box-shadow: 0 -2.5px 0 -1px currentColor;
}
.wx-page[data-route="pages/profile/index"] .service-item__copy{
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2.5px;
}
.wx-page[data-route="pages/profile/index"] .profile-note{
  margin-top: 18px;
  padding: 13px 14px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/profile/index"] .profile-note__title{
  display: block;
  color: var(--color-text-secondary);
  font-size: 12.5px;
  font-weight: 600;
}
.wx-page[data-route="pages/profile/index"] .profile-note__copy{
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 11.5px;
  line-height: 17px;
}
.wx-page[data-route="pages/profile/index"] .admin-entry{
  margin-top: 14px;
  overflow: hidden;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
}
.wx-page[data-route="pages/profile/index"] .admin-entry__header{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 13px 5px;
}
.wx-page[data-route="pages/profile/index"] .admin-entry__title{
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 650;
}
.wx-page[data-route="pages/profile/index"] .admin-entry__hint{
  color: var(--color-text-faint);
  font-size: 10.5px;
}
.wx-page[data-route="pages/profile/index"] .admin-entry__item{
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 10px 28px 10px 13px;
  text-align: left;
  color: var(--color-text);
  background: transparent;
  border: 0;
  border-top: 0.5px solid var(--color-page);
  border-radius: 0;
  font-size: 14px;
  line-height: 1.4;
}
.wx-page[data-route="pages/profile/index"] .admin-entry__item--pressed{
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/profile/index"] .admin-entry__label{
  display: block;
  color: var(--color-brand);
  font-size: 14px;
  font-weight: 600;
}
.wx-page[data-route="pages/profile/index"] .admin-entry__copy{
  display: block;
  margin-top: 2px;
  color: var(--color-text-muted);
  font-size: 11px;
}
.wx-page[data-route="pages/profile/index"] .admin-entry__chevron{
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: var(--color-text-faint);
  font-size: 15px;
}


.wx-page[data-route="pages/lobby/index"] .lobby-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 8px 16px calc(103px + env(safe-area-inset-bottom));
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/lobby/index"] .page-state{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 62vh;
  padding: 24px 18px;
  text-align: center;
}
.wx-page[data-route="pages/lobby/index"] .page-state--error{
  min-height: 0;
  margin-top: 48px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/lobby/index"] .page-state__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-page);
  color: var(--color-brand);
  font-size: 24px;
  font-weight: 750;
}
.wx-page[data-route="pages/lobby/index"] .page-state__title{
  margin-top: 14px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
}
.wx-page[data-route="pages/lobby/index"] .page-state__message{
  max-width: 260px;
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 12.5px;
  line-height: 20px;
}
.wx-page[data-route="pages/lobby/index"] .page-state__button{
  height: 46px;
  margin-top: 17px;
  border-radius: var(--radius-md);
  background: var(--color-brand);
}
.wx-page[data-route="pages/lobby/index"] .match-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 1px;
}
.wx-page[data-route="pages/lobby/index"] .match-heading__eyebrow, .wx-page[data-route="pages/lobby/index"] .invite-card__eyebrow, .wx-page[data-route="pages/lobby/index"] .member-section__eyebrow{
  color: var(--color-text-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
}
.wx-page[data-route="pages/lobby/index"] .match-heading__title{
  min-width: 0;
  overflow: hidden;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 25px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/lobby/index"] .invite-card{
  box-sizing: border-box;
  margin-top: 8px;
  padding: 10px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/lobby/index"] .invite-card__body, .wx-page[data-route="pages/lobby/index"] .invite-card__side-heading, .wx-page[data-route="pages/lobby/index"] .member-section__header{
  display: flex;
  align-items: center;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__body{
  gap: 11px;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__side{
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__side-heading{
  gap: 7px;
}
.wx-page[data-route="pages/lobby/index"] .member-section__header{
  justify-content: space-between;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__eyebrow, .wx-page[data-route="pages/lobby/index"] .invite-card__title, .wx-page[data-route="pages/lobby/index"] .member-section__eyebrow, .wx-page[data-route="pages/lobby/index"] .member-section__title{
  display: block;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__title{
  margin-top: 2px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__seal{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: none;
  width: 27px;
  height: 30px;
  border: 1px solid var(--color-accent-line);
  border-radius: var(--radius-sm);
  color: var(--color-accent-on-dark);
  background: var(--color-brand);
  font-family: "DIN Alternate", "SF Pro Display", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.wx-page[data-route="pages/lobby/index"] .qr-tile{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 142px;
  height: 142px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--color-brand);
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  box-shadow:
    inset 0 0 0 3px var(--color-surface),
    0 6px 15px rgba(58, 52, 45, 0.08);
}
.wx-page[data-route="pages/lobby/index"] .qr-tile::after{
  position: absolute;
  inset: 3.5px;
  border: 0.5px solid rgba(201, 162, 92, 0.72);
  border-radius: var(--radius-md);
  content: "";
  pointer-events: none;
}
.wx-page[data-route="pages/lobby/index"] .qr-tile--pressed{
  opacity: 0.82;
}
.wx-page[data-route="pages/lobby/index"] .qr-tile--zoomable{
  cursor: pointer;
}
.wx-page[data-route="pages/lobby/index"] .qr-tile__zoom-hint{
  position: absolute;
  right: 5px;
  bottom: 5px;
  z-index: 1;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  background: rgba(58, 52, 45, 0.68);
  color: var(--color-surface);
  font-size: 10px;
  line-height: 1.6;
  pointer-events: none;
}
.wx-page[data-route="pages/lobby/index"] .qr-tile__image{
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.wx-page[data-route="pages/lobby/index"] .qr-tile__state{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 7px;
  text-align: center;
}
.wx-page[data-route="pages/lobby/index"] .qr-tile__state-title{
  margin-top: 5px;
  color: var(--color-brand);
  font-size: 11.5px;
  font-weight: 650;
}
.wx-page[data-route="pages/lobby/index"] .qr-tile__state-copy{
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 10.5px;
  line-height: 17px;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__hint{
  display: block;
  margin-top: 11px;
  color: var(--color-text-secondary);
  font-size: 11.5px;
  line-height: 18px;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__hint--zoom{
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.72;
}
.wx-page[data-route="pages/lobby/index"] .invite-card__share{
  height: 40px;
  margin-top: 11px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 650;
}
.wx-page[data-route="pages/lobby/index"] .member-section{
  box-sizing: border-box;
  margin-top: 8px;
  padding: 10px 10px 9px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.wx-page[data-route="pages/lobby/index"] .member-section__title{
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
}
.wx-page[data-route="pages/lobby/index"] .member-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 4px;
  row-gap: 8px;
  margin-top: 9px;
}
.wx-page[data-route="pages/lobby/index"] .member-item{
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 0;
}
.wx-page[data-route="pages/lobby/index"] .member-item--add{
  width: auto;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
  line-height: normal;
}
.wx-page[data-route="pages/lobby/index"] .member-item--add::after{
  border: 0;
}
.wx-page[data-route="pages/lobby/index"] .member-item--add[disabled]{
  opacity: 0.72;
}
.wx-page[data-route="pages/lobby/index"] .member-item__add-seat{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border: 1px dashed var(--color-border-strong);
  border-radius: 50%;
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/lobby/index"] .member-item__test-mark{
  color: var(--color-brand);
  font-size: 16px;
  font-weight: 750;
}
.wx-page[data-route="pages/lobby/index"] .member-item__add-name{
  color: var(--color-text-secondary);
  font-size: 11px;
}
.wx-page[data-route="pages/lobby/index"] .member-item__avatar-wrap{
  position: relative;
  width: 40px;
  height: 40px;
}
.wx-page[data-route="pages/lobby/index"] .member-item__self{
  position: absolute;
  right: -4px;
  bottom: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid var(--color-surface);
  border-radius: var(--radius-md);
  color: var(--color-on-brand);
  background: var(--color-brand);
  font-size: 9px;
  font-weight: 700;
}
.wx-page[data-route="pages/lobby/index"] .member-item__name{
  max-width: 65px;
  margin-top: 4px;
  overflow: hidden;
  color: var(--color-brand);
  font-size: 11.5px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/lobby/index"] .member-item--empty{
  opacity: 0.7;
}
.wx-page[data-route="pages/lobby/index"] .member-item__empty-seat{
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  border: 1px dashed var(--color-border);
  border-radius: 50%;
  background: transparent;
}
.wx-page[data-route="pages/lobby/index"] .member-item__empty-name{
  color: var(--color-text-faint);
}
.wx-page[data-route="pages/lobby/index"] .seat-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 10px;
  background: var(--color-surface-subtle);
  border: 0.5px solid var(--color-border-soft);
  border-radius: 8px;
}
.wx-page[data-route="pages/lobby/index"] .seat-bar__info{
  flex: 1 1 auto;
  min-width: 0;
}
.wx-page[data-route="pages/lobby/index"] .seat-bar__title{
  display: block;
  color: var(--color-brand);
  font-size: 12.5px;
  font-weight: 600;
}
.wx-page[data-route="pages/lobby/index"] .seat-bar__copy{
  display: block;
  margin-top: 2px;
  color: var(--color-text-faint);
  font-size: 10.5px;
  line-height: 1.4;
}
.wx-page[data-route="pages/lobby/index"] .seat-bar__action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 28px;
  margin: 0;
  padding: 0 12px;
  color: var(--color-brand);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-strong);
  border-radius: 499.5px;
  font-size: 12px;
  line-height: 1;
}
.wx-page[data-route="pages/lobby/index"] .seat-bar__action::after{
  border: 0;
}
.wx-page[data-route="pages/lobby/index"] .seat-bar__action--muted{
  color: var(--color-text-faint);
  border-color: var(--color-border-soft);
}
.wx-page[data-route="pages/lobby/index"] .member-section__more{
  display: block;
  margin-top: 7px;
  color: var(--color-text-muted);
  font-size: 11px;
  text-align: center;
}
.wx-page[data-route="pages/lobby/index"] .action-error{
  margin-top: 10px;
  padding: 9px 11px;
  border: 0.5px solid var(--color-win-border);
  border-radius: var(--radius-sm);
  color: var(--color-win-strong);
  background: var(--color-win-soft);
  font-size: 11.5px;
  line-height: 18px;
  text-align: center;
}
.wx-page[data-route="pages/lobby/index"] .lobby-action{
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
  border-top: 0.5px solid var(--color-border-soft);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -5px 16px rgba(42, 37, 31, 0.055);
}
.wx-page[data-route="pages/lobby/index"] .lobby-action__button{
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-brand);
  box-shadow: var(--shadow-raised);
  font-size: 15.5px;
  font-weight: 650;
}
.wx-page[data-route="pages/lobby/index"] .lobby-action__room{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 26px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 0;
  color: var(--color-text-muted);
  background: transparent;
  font-size: 12px;
  line-height: 26px;
}

@media (max-height: 600px) {
.wx-page[data-route="pages/lobby/index"] .lobby-page{
    padding-top: 5px;
  }
.wx-page[data-route="pages/lobby/index"] .match-heading__eyebrow, .wx-page[data-route="pages/lobby/index"] .invite-card__hint, .wx-page[data-route="pages/lobby/index"] .qr-tile__state-copy{
    display: none;
  }
.wx-page[data-route="pages/lobby/index"] .invite-card, .wx-page[data-route="pages/lobby/index"] .member-section{
    margin-top: 5px;
  }
.wx-page[data-route="pages/lobby/index"] .member-grid{
    margin-top: 6px;
    row-gap: 5px;
  }
}
.wx-page[data-route="pages/lobby/index"] .lobby-action__room::after{
  border: 0;
}
.wx-page[data-route="pages/lobby/index"] .lobby-action__room--danger{
  color: var(--color-win-strong);
}
.wx-page[data-route="pages/lobby/index"] .lobby-action__room[disabled]{
  color: var(--color-text-faint);
  background: transparent;
}


.wx-page[data-route="pages/join/index"] .join-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 14px 16px calc(98px + env(safe-area-inset-bottom));
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/join/index"] .page-state{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-sizing: border-box;
  min-height: 62vh;
  padding: 24px 18px;
  text-align: center;
}
.wx-page[data-route="pages/join/index"] .page-state--error{
  min-height: 0;
  margin-top: 48px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/join/index"] .page-state__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-page);
  color: var(--color-brand);
  font-size: 24px;
  font-weight: 750;
}
.wx-page[data-route="pages/join/index"] .page-state__title{
  margin-top: 14px;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 700;
}
.wx-page[data-route="pages/join/index"] .page-state__message{
  max-width: 260px;
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 12.5px;
  line-height: 20px;
}
.wx-page[data-route="pages/join/index"] .page-state__button{
  height: 46px;
  margin-top: 17px;
  border-radius: var(--radius-md);
  background: var(--color-brand);
}
.wx-page[data-route="pages/join/index"] .invite-intro{
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 1px 2px;
}
.wx-page[data-route="pages/join/index"] .invite-intro__mark{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 37px;
  height: 43px;
  border: 1px solid var(--color-accent-line);
  border-radius: var(--radius-sm);
  color: var(--color-accent-on-dark);
  background: var(--color-brand);
  font-family: "DIN Alternate", "SF Pro Display", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -1px;
}
.wx-page[data-route="pages/join/index"] .invite-intro__copy{
  display: flex;
  min-width: 0;
  flex-direction: column;
}
.wx-page[data-route="pages/join/index"] .invite-intro__eyebrow{
  color: var(--color-text-muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
}
.wx-page[data-route="pages/join/index"] .invite-intro__title{
  margin-top: 2px;
  overflow: hidden;
  color: var(--color-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/join/index"] .invite-intro__meta{
  margin-top: 1px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/join/index"] .preview-card{
  box-sizing: border-box;
  margin-top: 15px;
  padding: 15px 13px 13px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/join/index"] .preview-card__status{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wx-page[data-route="pages/join/index"] .preview-card__count{
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 600;
}
.wx-page[data-route="pages/join/index"] .preview-card__hint{
  display: block;
  margin-top: 10px;
  padding: 9px 10px;
  border-left: 2px solid var(--color-accent-line);
  border-radius: 0 6px 6px 0;
  color: var(--color-text-secondary);
  background: var(--color-accent-soft);
  font-size: 11.5px;
  line-height: 19px;
}
.wx-page[data-route="pages/join/index"] .member-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 5px;
  row-gap: 13px;
  margin-top: 15px;
}
.wx-page[data-route="pages/join/index"] .member-item{
  display: flex;
  align-items: center;
  min-width: 0;
  flex-direction: column;
}
.wx-page[data-route="pages/join/index"] .member-item__avatar-wrap{
  position: relative;
  width: 46px;
  height: 46px;
}
.wx-page[data-route="pages/join/index"] .member-item__self{
  position: absolute;
  right: -4px;
  bottom: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid var(--color-surface);
  border-radius: var(--radius-md);
  color: var(--color-on-brand);
  background: var(--color-brand);
  font-size: 9px;
  font-weight: 700;
}
.wx-page[data-route="pages/join/index"] .member-item__name{
  max-width: 63px;
  margin-top: 6px;
  overflow: hidden;
  color: var(--color-brand);
  font-size: 11.5px;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/join/index"] .preview-card__more{
  display: block;
  margin-top: 10px;
  color: var(--color-text-muted);
  font-size: 11px;
  text-align: center;
}
.wx-page[data-route="pages/join/index"] .identity-card{
  display: flex;
  align-items: center;
  box-sizing: border-box;
  gap: 9px;
  width: 100%;
  margin-top: 15px;
  padding: 10px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  color: inherit;
  background: var(--color-surface-subtle);
  line-height: 1.35;
  text-align: left;
}
.wx-page[data-route="pages/join/index"] .identity-card--pressed{
  opacity: 0.76;
}
.wx-page[data-route="pages/join/index"] .identity-card[disabled]{
  opacity: 0.62;
}
.wx-page[data-route="pages/join/index"] .identity-card__copy{
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.wx-page[data-route="pages/join/index"] .identity-card__label{
  color: var(--color-text-muted);
  font-size: 10.5px;
}
.wx-page[data-route="pages/join/index"] .identity-card__name{
  margin-top: 1px;
  overflow: hidden;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/join/index"] .identity-card__chevron{
  flex: none;
  margin-left: 5px;
  color: var(--color-text-muted);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}
.wx-page[data-route="pages/join/index"] .join-error{
  margin-top: 11px;
  padding: 9px 11px;
  border: 0.5px solid var(--color-win-border);
  border-radius: var(--radius-sm);
  color: var(--color-win-strong);
  background: var(--color-win-soft);
  font-size: 11.5px;
  line-height: 18px;
  text-align: center;
}
.wx-page[data-route="pages/join/index"] .join-action{
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 8px 16px calc(7px + env(safe-area-inset-bottom));
  border-top: 0.5px solid var(--color-border-soft);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -5px 16px rgba(42, 37, 31, 0.055);
  text-align: center;
}
.wx-page[data-route="pages/join/index"] .join-action__button{
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-brand);
  box-shadow: var(--shadow-raised);
  font-size: 15.5px;
  font-weight: 650;
}
.wx-page[data-route="pages/join/index"] .join-action__consent{
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 10px;
}


.wx-page[data-route="pages/match/index"]{
  min-height: 100%;
  background: var(--color-page);
}
.wx-page[data-route="pages/match/index"] .match-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding-bottom: calc(71px + env(safe-area-inset-bottom));
  color: var(--color-text);
}
.wx-page[data-route="pages/match/index"] .match-heading{
  padding: 15px 16px 12px;
  background: var(--color-surface);
  border-bottom: 0.5px solid var(--color-border-soft);
}
.wx-page[data-route="pages/match/index"] .heading-main{
  min-width: 0;
}
.wx-page[data-route="pages/match/index"] .title-line{
  display: flex;
  align-items: center;
  min-width: 0;
}
.wx-page[data-route="pages/match/index"] .match-title{
  overflow: hidden;
  min-width: 0;
  max-width: 250px;
  color: var(--color-text);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/match/index"] .status-tag{
  flex: none;
  margin-left: 8px;
  padding: 2.5px 6.5px;
  color: var(--color-text-secondary);
  background: var(--color-page);
  border-radius: var(--radius-pill);
  font-size: 11px;
  line-height: 1.3;
}
.wx-page[data-route="pages/match/index"] .status-tag--active{
  color: var(--color-brand);
  background: var(--color-page);
}
.wx-page[data-route="pages/match/index"] .status-tag--waiting{
  color: var(--color-accent-strong);
  background: var(--color-accent-muted);
}
.wx-page[data-route="pages/match/index"] .status-tag--ended{
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
}
.wx-page[data-route="pages/match/index"] .match-meta{
  display: block;
  margin-top: 5px;
  color: var(--color-text-muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.wx-page[data-route="pages/match/index"] .match-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 11px;
}
.wx-page[data-route="pages/match/index"] .match-action{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 38px;
  margin: 0;
  padding: 0 9px;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  background: var(--color-surface-subtle);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1;
}
.wx-page[data-route="pages/match/index"] .match-action::after, .wx-page[data-route="pages/match/index"] .round-delete::after, .wx-page[data-route="pages/match/index"] .ended-footer::after{
  border: 0;
}
.wx-page[data-route="pages/match/index"] .match-action--settlement{
  border-color: var(--color-border-strong);
  color: var(--color-brand);
  background: var(--color-page);
}
.wx-page[data-route="pages/match/index"] .match-action--danger{
  border-color: var(--color-win-border);
  color: var(--color-win-strong);
  background: var(--color-win-soft);
}
.wx-page[data-route="pages/match/index"] .match-action:only-child{
  grid-column: 1 / -1;
}
.wx-page[data-route="pages/match/index"] .match-action[disabled]{
  opacity: 0.52;
}
.wx-page[data-route="pages/match/index"] .match-action--pressed, .wx-page[data-route="pages/match/index"] .ended-footer--pressed{
  opacity: 0.7;
}
.wx-page[data-route="pages/match/index"] .summary-panel{
  padding: 13px 16px 11px;
  background: var(--color-page);
  border-bottom: 0.5px solid var(--color-border-soft);
}
.wx-page[data-route="pages/match/index"] .section-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 24px;
}
.wx-page[data-route="pages/match/index"] /* The heading's text side absorbs the spare width so a long title truncates
   instead of pushing the control off the edge of the card. */
.section-heading > view:first-child, .wx-page[data-route="pages/match/index"] .section-heading__main, .wx-page[data-route="pages/match/index"] .section-title{
  flex: 1 1 auto;
  min-width: 0;
}
.wx-page[data-route="pages/match/index"] .section-title{
  overflow: hidden;
  color: var(--color-brand);
  font-size: 15.5px;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Compact chips. A bare <button> is block-level and stretches, which is what
   made these read as oversized boxes running past the card;
.wx-page[data-route="pages/match/index"] pin them to their
   own content instead. */
.sort-control, .wx-page[data-route="pages/match/index"] .member-filter, .wx-page[data-route="pages/match/index"] .inline-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: auto;
  max-width: 160px;
  min-height: 28px;
  margin: 0;
  padding: 0 10px;
  overflow: hidden;
  color: var(--color-text-secondary);
  background: var(--color-surface-subtle);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}
.wx-page[data-route="pages/match/index"] .sort-control--pressed, .wx-page[data-route="pages/match/index"] .member-filter--pressed, .wx-page[data-route="pages/match/index"] .inline-action--pressed{
  background: var(--color-surface-sunken);
}
.wx-page[data-route="pages/match/index"] .member-filter--active{
  color: var(--color-brand);
  border-color: var(--color-border-strong);
  background: var(--color-page);
}
.wx-page[data-route="pages/match/index"] .sort-control::after, .wx-page[data-route="pages/match/index"] .member-filter::after, .wx-page[data-route="pages/match/index"] .inline-action::after{
  border: 0;
}
.wx-page[data-route="pages/match/index"] .sort-icon{
  margin-left: 4px;
  color: var(--color-text-faint);
  font-size: 12px;
}
.wx-page[data-route="pages/match/index"] .summary-scroll{
  width: 100%;
  margin-top: 12px;
  white-space: nowrap;
}
.wx-page[data-route="pages/match/index"] .summary-scroll::-webkit-scrollbar, .wx-page[data-route="pages/match/index"] .score-grid::-webkit-scrollbar{
  display: none;
}
.wx-page[data-route="pages/match/index"] .summary-track{
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.wx-page[data-route="pages/match/index"] .summary-member{
  box-sizing: border-box;
  flex: none;
  padding: 0 4px;
  text-align: center;
}
.wx-page[data-route="pages/match/index"] .summary-invite{
  min-height: auto;
  margin: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: inherit;
  line-height: normal;
}
.wx-page[data-route="pages/match/index"] .summary-invite::after{
  border: 0;
}
.wx-page[data-route="pages/match/index"] .summary-invite-mark{
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  font-size: 25px;
  font-weight: 300;
  line-height: 1;
}
.wx-page[data-route="pages/match/index"] .summary-avatar-wrap{
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 auto;
}
.wx-page[data-route="pages/match/index"] .summary-avatar{
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 15px;
}
.wx-page[data-route="pages/match/index"] .summary-avatar--fallback{
  background: linear-gradient(145deg, var(--color-surface-sunken), var(--color-border));
}
.wx-page[data-route="pages/match/index"] .self-mark{
  position: absolute;
  right: -3.5px;
  bottom: -3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  color: var(--color-on-brand);
  background: var(--color-brand);
  border: 2px solid var(--color-page);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 600;
}
.wx-page[data-route="pages/match/index"] /* 打过牌但已经回观战席的人：分数还在，头像压暗一档，一眼看得出他现在不上桌。 */
.summary-avatar--watching{
  opacity: 0.55;
}
.wx-page[data-route="pages/match/index"] .watch-mark{
  position: absolute;
  right: -3.5px;
  bottom: -3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  border: 2px solid var(--color-page);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 600;
}
.wx-page[data-route="pages/match/index"] .seat-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  padding: 8px 10px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: 8px;
}
.wx-page[data-route="pages/match/index"] .seat-bar__info{
  flex: 1 1 auto;
  min-width: 0;
}
.wx-page[data-route="pages/match/index"] .seat-bar__title{
  display: block;
  color: var(--color-brand);
  font-size: 12.5px;
  font-weight: 600;
}
.wx-page[data-route="pages/match/index"] .seat-bar__copy{
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: var(--color-text-faint);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/match/index"] .seat-bar__action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 28px;
  margin: 0;
  padding: 0 12px;
  color: var(--color-brand);
  background: var(--color-page);
  border: 0.5px solid var(--color-border-strong);
  border-radius: 499.5px;
  font-size: 12px;
  line-height: 1;
}
.wx-page[data-route="pages/match/index"] .seat-bar__action::after{
  border: 0;
}
.wx-page[data-route="pages/match/index"] .seat-bar__action--muted{
  color: var(--color-text-faint);
  border-color: var(--color-border-soft);
}
.wx-page[data-route="pages/match/index"] .seat-bar__action--pressed{
  background: var(--color-surface-sunken);
}
.wx-page[data-route="pages/match/index"] .summary-name{
  display: block;
  overflow: hidden;
  margin-top: 5px;
  color: var(--color-brand);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/match/index"] .summary-score-line{
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-height: 23px;
  margin-top: 1px;
}
.wx-page[data-route="pages/match/index"] .score{
  font-family: "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.wx-page[data-route="pages/match/index"] .summary-score-line .score{
  font-size: 17px;
  line-height: 1.3;
}
.wx-page[data-route="pages/match/index"] .score--positive{
  color: var(--color-win);
}
.wx-page[data-route="pages/match/index"] .score--negative{
  color: var(--color-loss);
}
.wx-page[data-route="pages/match/index"] .score--neutral{
  color: var(--color-text-secondary);
}
.wx-page[data-route="pages/match/index"] .member-multiplier{
  margin-left: 2.5px;
  color: var(--color-accent);
  font-size: 9.5px;
}
.wx-page[data-route="pages/match/index"] .rounds-panel{
  margin-top: 9px;
  background: var(--color-surface);
  border-top: 0.5px solid var(--color-border-soft);
  border-bottom: 0.5px solid var(--color-border-soft);
}
.wx-page[data-route="pages/match/index"] .section-heading--rounds{
  padding: 12px 16px 10px;
}
.wx-page[data-route="pages/match/index"] .section-note{
  display: block;
  margin-top: 1.5px;
  color: var(--color-text-faint);
  font-size: 10.5px;
}
.wx-page[data-route="pages/match/index"] .score-table{
  display: flex;
  width: 100%;
  border-top: 0.5px solid var(--color-surface-sunken);
}
.wx-page[data-route="pages/match/index"] .round-axis{
  position: relative;
  z-index: 2;
  flex: none;
  width: 81px;
  background: var(--color-surface);
  box-shadow: 4px 0 7px rgba(42, 37, 31, 0.045);
}
.wx-page[data-route="pages/match/index"] .round-axis-head, .wx-page[data-route="pages/match/index"] .score-grid-head{
  height: 48px;
  border-bottom: 0.5px solid var(--color-border-soft);
}
.wx-page[data-route="pages/match/index"] .round-axis-head{
  display: flex;
  box-sizing: border-box;
  align-items: center;
  padding-left: 16px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/match/index"] .round-axis-row, .wx-page[data-route="pages/match/index"] .score-grid-row{
  box-sizing: border-box;
  height: 61px;
  border-bottom: 0.5px solid var(--color-page);
}
.wx-page[data-route="pages/match/index"] .round-axis-row{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7px 6px 7px 16px;
}
.wx-page[data-route="pages/match/index"] .table-row--alternate{
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/match/index"] .round-number{
  color: var(--color-brand);
  font-size: 13.5px;
  font-weight: 600;
}
.wx-page[data-route="pages/match/index"] .round-time{
  margin-top: 2.5px;
  color: var(--color-text-faint);
  font-family: "DIN Alternate", Arial, sans-serif;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}
.wx-page[data-route="pages/match/index"] /* 只在编辑态出现，接替时间那一行的位置：既不额外占高度，也压不到轮次文字。 */
.round-delete{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 20px;
  margin: 3px 0 0;
  padding: 0 9px;
  border: 0.5px solid rgba(208, 82, 63, 0.28);
  border-radius: 499.5px;
  color: var(--color-win);
  background: rgba(255, 246, 244, 0.9);
  font-size: 10px;
  line-height: 1;
}
.wx-page[data-route="pages/match/index"] .score-grid{
  flex: 1;
  width: 294px;
  white-space: nowrap;
}
.wx-page[data-route="pages/match/index"] .score-grid-inner{
  min-width: 100%;
}
.wx-page[data-route="pages/match/index"] .score-grid-head, .wx-page[data-route="pages/match/index"] .score-grid-row{
  display: flex;
}
.wx-page[data-route="pages/match/index"] .round-member-head, .wx-page[data-route="pages/match/index"] .round-score-cell{
  box-sizing: border-box;
  flex: none;
  border-right: 0.5px solid var(--color-page);
}
.wx-page[data-route="pages/match/index"] .round-member-head{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.wx-page[data-route="pages/match/index"] .round-avatar{
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  overflow: hidden;
  color: var(--color-text-muted);
  background: var(--color-surface-sunken);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 10.5px;
}
.wx-page[data-route="pages/match/index"] .round-avatar--fallback{
  background: var(--color-surface-sunken);
}
.wx-page[data-route="pages/match/index"] .round-score-cell{
  display: flex;
  align-items: center;
  justify-content: center;
}
.wx-page[data-route="pages/match/index"] .round-score-cell .score{
  font-size: 16.5px;
}
.wx-page[data-route="pages/match/index"] .table-empty{
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 21px 16px;
  color: var(--color-text-faint);
  font-size: 12.5px;
  text-align: center;
}
.wx-page[data-route="pages/match/index"] .table-empty-title{
  color: var(--color-text-secondary);
  font-size: 14.5px;
  font-weight: 600;
}
.wx-page[data-route="pages/match/index"] .table-empty-copy{
  margin-top: 5px;
}
.wx-page[data-route="pages/match/index"] .inline-action{
  margin-top: 7px;
  color: var(--color-text-secondary);
}
.wx-page[data-route="pages/match/index"] .ended-footer{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  width: 100%;
  margin-top: 9px;
  padding: 0 16px;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border-top: 0.5px solid var(--color-border-soft);
  border-bottom: 0.5px solid var(--color-border-soft);
  font-size: 13px;
  line-height: 1.4;
}
.wx-page[data-route="pages/match/index"] .ended-rule{
  width: 20px;
  height: 0.5px;
  margin-right: 8px;
  background: var(--color-border-strong);
}
.wx-page[data-route="pages/match/index"] .ended-arrow{
  margin-left: 5px;
  font-size: 18px;
  line-height: 1;
}
.wx-page[data-route="pages/match/index"] .bottom-actions{
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  box-sizing: border-box;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 0.5px solid var(--color-border-soft);
  box-shadow: 0 -5px 14px rgba(42, 37, 31, 0.06);
}
.wx-page[data-route="pages/match/index"] .bottom-button{
  height: 42px;
  margin: 0;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 42px;
}
.wx-page[data-route="pages/match/index"] .bottom-button--secondary{
  flex: 0 0 34%;
  color: var(--color-brand);
  background: var(--color-surface);
  border: 0.5px solid var(--color-text-faint);
}
.wx-page[data-route="pages/match/index"] .bottom-button--primary{
  flex: 1;
  color: var(--color-on-brand);
  background: var(--color-brand);
  box-shadow: var(--shadow-raised);
}
.wx-page[data-route="pages/match/index"] .bottom-button--disabled{
  color: var(--color-text-faint);
  background: var(--color-page);
  border-color: var(--color-border);
  box-shadow: none;
}
.wx-page[data-route="pages/match/index"] .state-panel{
  display: flex;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72vh;
  padding: 32px;
  text-align: center;
}
.wx-page[data-route="pages/match/index"] .state-panel--loading{
  min-height: 58vh;
}
.wx-page[data-route="pages/match/index"] .loading-mark{
  width: 17px;
  height: 17px;
  margin-bottom: 12px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-brand);
  border-radius: 50%;
  animation: loading-rotate 0.8s linear infinite;
}
.wx-page[data-route="pages/match/index"] .state-title{
  color: var(--color-text-secondary);
  font-size: 15px;
  font-weight: 600;
}
.wx-page[data-route="pages/match/index"] .state-copy{
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.6;
}
.wx-page[data-route="pages/match/index"] .retry-button{
  height: 36px;
  margin-top: 15px;
  padding: 0 17px;
  color: var(--color-brand);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  line-height: 36px;
}

@keyframes loading-rotate {
  to {
    transform: rotate(360deg);
  }
}
.wx-page[data-route="pages/match/index"] /* 台费行：既不是一轮牌，也不参与零和，用琥珀色和红绿的输赢彻底区分开。 */
.round-axis-row--fee, .wx-page[data-route="pages/match/index"] .score-grid-row--fee{
  background: var(--color-accent-soft);
  border-bottom: 0.5px solid var(--color-accent-line);
}
.wx-page[data-route="pages/match/index"] .round-axis-row--fee .round-number{
  color: var(--color-accent-strong);
  font-weight: 700;
}
.wx-page[data-route="pages/match/index"] .round-axis-row--fee .round-time{
  color: var(--color-accent);
}
.wx-page[data-route="pages/match/index"] .score--fee{
  color: var(--color-accent-strong);
  font-weight: 650;
}


.wx-page[data-route="pages/record/index"] .record-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 14px 12px calc(74px + env(safe-area-inset-bottom));
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/record/index"] .page-state{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 62vh;
  text-align: center;
}
.wx-page[data-route="pages/record/index"] .page-state--error{
  min-height: 0;
  margin: 55px 5px 0;
  padding: 24px 18px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.wx-page[data-route="pages/record/index"] .page-state__title{
  margin-top: 11px;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
}
.wx-page[data-route="pages/record/index"] .page-state__error-mark{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border: 1.5px solid var(--color-brand);
  border-radius: 50%;
  color: var(--color-brand);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}
.wx-page[data-route="pages/record/index"] .page-state__copy{
  margin-top: 6px;
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 19px;
}
.wx-page[data-route="pages/record/index"] .page-state__button{
  height: 45px;
  margin-top: 15px;
  border-radius: var(--radius-md);
  background: var(--color-brand);
}
.wx-page[data-route="pages/record/index"] .round-heading{
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 6px 12px 15px;
  text-align: center;
}
.wx-page[data-route="pages/record/index"] .round-heading__eyebrow{
  color: var(--color-text-muted);
  font-size: 11px;
  letter-spacing: 0.5px;
}
.wx-page[data-route="pages/record/index"] .round-heading__title{
  margin-top: 4px;
  color: var(--color-text);
  font-size: 21px;
  font-weight: 750;
}
.wx-page[data-route="pages/record/index"] .round-heading__hint{
  margin-top: 5px;
  color: var(--color-text-muted);
  font-size: 11px;
}
.wx-page[data-route="pages/record/index"] .round-heading__spectators{
  margin-top: 4px;
  color: var(--color-text-faint);
  font-size: 11px;
}
.wx-page[data-route="pages/record/index"] .seat-notice{
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: 8px;
  color: var(--color-text-secondary);
  background: var(--color-surface-subtle);
  font-size: 12px;
  line-height: 1.5;
}
.wx-page[data-route="pages/record/index"] .pending-notice{
  display: flex;
  flex-direction: column;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 0.5px solid var(--color-accent-on-dark);
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
}
.wx-page[data-route="pages/record/index"] .pending-notice__title{
  color: var(--color-accent-strong);
  font-size: 12.5px;
  font-weight: 700;
}
.wx-page[data-route="pages/record/index"] .pending-notice__copy{
  margin-top: 3px;
  color: var(--color-accent);
  font-size: 11px;
  line-height: 17px;
}
.wx-page[data-route="pages/record/index"] .score-sheet{
  overflow: hidden;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/record/index"] .score-sheet__header, .wx-page[data-route="pages/record/index"] .score-row{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 84px 89px;
  align-items: center;
  column-gap: 7px;
}
.wx-page[data-route="pages/record/index"] .score-sheet__header{
  min-height: 38px;
  padding: 0 11px;
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  font-size: 11px;
}
.wx-page[data-route="pages/record/index"] .score-sheet__header text:nth-child(2), .wx-page[data-route="pages/record/index"] .score-sheet__header text:nth-child(3){
  text-align: center;
}
.wx-page[data-route="pages/record/index"] .score-row{
  min-height: 58px;
  padding: 0 11px;
  border-top: 0.5px solid var(--color-surface-sunken);
}
.wx-page[data-route="pages/record/index"] .score-row__member{
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
}
.wx-page[data-route="pages/record/index"] .score-row__name{
  overflow: hidden;
  color: var(--color-brand);
  font-size: 13.5px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/record/index"] .direction{
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/record/index"] .direction__button{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 32px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--color-text-muted);
  background: transparent;
  font-size: 12px;
  line-height: 32px;
}
.wx-page[data-route="pages/record/index"] .direction__button + .direction__button{
  border-left: 0.5px solid var(--color-border);
}
.wx-page[data-route="pages/record/index"] .direction__button--win{
  color: var(--color-on-brand);
  background: var(--color-win);
  font-weight: 700;
}
.wx-page[data-route="pages/record/index"] .direction__button--loss{
  color: var(--color-on-brand);
  background: var(--color-loss);
  font-weight: 700;
}
.wx-page[data-route="pages/record/index"] .direction__button[disabled]{
  opacity: 0.62;
}
.wx-page[data-route="pages/record/index"] .score-row__input{
  box-sizing: border-box;
  height: 35px;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/record/index"] .score-row__input input{
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  padding: 0 8px;
  color: var(--color-text-secondary);
  font-family: "DIN Alternate", "SF Pro Display", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 34px;
  text-align: center;
}
.wx-page[data-route="pages/record/index"] .score-row__input--win{
  border-color: rgba(208, 82, 63, 0.35);
  background: var(--color-win-soft);
}
.wx-page[data-route="pages/record/index"] .score-row__input--win input{
  color: var(--color-win);
}
.wx-page[data-route="pages/record/index"] .score-row__input--loss{
  border-color: rgba(18, 121, 106, 0.35);
  background: var(--color-loss-soft);
}
.wx-page[data-route="pages/record/index"] .score-row__input--loss input{
  color: var(--color-loss);
}
.wx-page[data-route="pages/record/index"] .record-action{
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  border-top: 0.5px solid var(--color-border-soft);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -5px 16px rgba(42, 37, 31, 0.055);
}
.wx-page[data-route="pages/record/index"] .record-action__button{
  height: 47px;
  border-radius: var(--radius-md);
  background: var(--color-brand);
  box-shadow: var(--shadow-raised);
  font-size: 15px;
  font-weight: 700;
}
.wx-page[data-route="pages/record/index"] /* 可以一键补全的那一行：给输入框一个看得见的提示，
   否则这个功能只有知道的人才会用。 */
.score-row__input--autofill{
  border-color: var(--color-accent-line);
  border-style: dashed;
  background: var(--color-accent-soft);
}
.wx-page[data-route="pages/record/index"] .score-row__placeholder::placeholder{
  color: var(--color-text-faint);
  font-weight: 400;
}
.wx-page[data-route="pages/record/index"] .score-row__placeholder--autofill{
  color: var(--color-accent-strong);
  font-size: 11px;
  font-weight: 600;
}
.wx-page[data-route="pages/record/index"] /* 实时平衡条：边填边能看到还差多少，不用等提交才知道对不齐。 */
.balance-bar{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  min-height: 36px;
  margin-top: 10px;
  padding: 7px 12px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  font-size: 12px;
  line-height: 17px;
  text-align: center;
}
.wx-page[data-route="pages/record/index"] .balance-bar--unbalanced, .wx-page[data-route="pages/record/index"] .balance-bar--one-sided, .wx-page[data-route="pages/record/index"] .balance-bar--too-many{
  border-color: var(--color-win-border);
  color: var(--color-win-strong);
  background: var(--color-win-soft);
  font-weight: 600;
}
.wx-page[data-route="pages/record/index"] .balance-bar--balanced{
  border-color: var(--color-loss);
  color: var(--color-loss);
  background: var(--color-loss-soft);
  font-weight: 600;
}
.wx-page[data-route="pages/record/index"] .balance-bar__text{
  min-width: 0;
}
.wx-page[data-route="pages/record/index"] .balance-bar__mark{
  font-size: 13px;
  font-weight: 700;
}
.wx-page[data-route="pages/record/index"] /* 窄屏优先保证输入框和胜负可点，姓名让位。 */
@media screen and (max-width: 340px){
  .score-sheet__header,
  .score-row {
    grid-template-columns: minmax(28px, 1fr) 75px 80px;
    column-gap: 4px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .score-row__name {
    display: none;
  }
}


.wx-page[data-route="pages/settlement/index"] .settlement-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 15px 12px calc(134px + env(safe-area-inset-bottom));
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/settlement/index"] .page-state{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 62vh;
  text-align: center;
}
.wx-page[data-route="pages/settlement/index"] .page-state--error{
  min-height: 0;
  margin: 55px 5px 0;
  padding: 24px 18px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}
.wx-page[data-route="pages/settlement/index"] .page-state__mark{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--color-brand);
  background: var(--color-page);
  font-size: 23px;
  font-weight: 750;
}
.wx-page[data-route="pages/settlement/index"] .page-state__title{ margin-top: 11px; color: var(--color-text); font-size: 17px; font-weight: 700; }
.wx-page[data-route="pages/settlement/index"] .page-state__copy{ margin-top: 6px; color: var(--color-text-muted); font-size: 12px; line-height: 19px; }
.wx-page[data-route="pages/settlement/index"] .page-state__button{ height: 45px; margin-top: 15px; border-radius: 9px; background: var(--color-brand); }
.wx-page[data-route="pages/settlement/index"] .settlement-heading{
  padding: 4px 4px 14px;
}
.wx-page[data-route="pages/settlement/index"] .settlement-heading__eyebrow, .wx-page[data-route="pages/settlement/index"] .settlement-heading__title, .wx-page[data-route="pages/settlement/index"] .settlement-heading__copy{ display: block; }
.wx-page[data-route="pages/settlement/index"] .settlement-heading__eyebrow{ color: var(--color-text-muted); font-size: 11px; }
.wx-page[data-route="pages/settlement/index"] .settlement-heading__title{ margin-top: 3px; color: var(--color-text); font-size: 21px; font-weight: 750; }
.wx-page[data-route="pages/settlement/index"] .settlement-heading__copy{ margin-top: 5px; color: var(--color-text-muted); font-size: 11px; line-height: 18px; }
.wx-page[data-route="pages/settlement/index"] .global-card{
  display: flex;
  margin-top: 8px;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  min-height: 67px;
  padding: 12px 14px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-align: left;
  box-shadow: var(--shadow-card);
}
.wx-page[data-route="pages/settlement/index"] .global-card__label, .wx-page[data-route="pages/settlement/index"] .global-card__hint{ display: block; }
.wx-page[data-route="pages/settlement/index"] .global-card__label{ color: var(--color-brand); font-size: 14.5px; font-weight: 700; }
.wx-page[data-route="pages/settlement/index"] .global-card__hint{ margin-top: 3px; color: var(--color-text-muted); font-size: 10.5px; }
.wx-page[data-route="pages/settlement/index"] .global-card__value{ flex: none; margin-left: 10px; color: var(--color-brand); font-size: 17px; font-weight: 750; }
.wx-page[data-route="pages/settlement/index"] .global-card__value text{ margin-left: 6px; color: var(--color-text-faint); font-size: 19px; font-weight: 400; }
.wx-page[data-route="pages/settlement/index"] .global-card--readonly{
  border-color: var(--color-border-soft);
  background: var(--color-surface-subtle);
  box-shadow: none;
}
.wx-page[data-route="pages/settlement/index"] .global-card--readonly .global-card__label, .wx-page[data-route="pages/settlement/index"] .global-card--readonly .global-card__value{
  color: var(--color-text-muted);
}
.wx-page[data-route="pages/settlement/index"] .global-card--readonly .global-card__hint{
  color: var(--color-text-faint);
}
.wx-page[data-route="pages/settlement/index"] .settlement-sheet{
  overflow: hidden;
  margin-top: 11px;
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.wx-page[data-route="pages/settlement/index"] .settlement-sheet__header, .wx-page[data-route="pages/settlement/index"] .settlement-row{
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 60px 51px 66px;
  align-items: center;
  column-gap: 4px;
}
.wx-page[data-route="pages/settlement/index"] .settlement-sheet--with-fee .settlement-sheet__header, .wx-page[data-route="pages/settlement/index"] .settlement-sheet--with-fee .settlement-row{
  grid-template-columns: minmax(0, 1fr) 52px 46px 46px 63px;
  column-gap: 3px;
}
.wx-page[data-route="pages/settlement/index"] .settlement-sheet__header{
  min-height: 36px;
  padding: 0 10px;
  color: var(--color-text-secondary);
  background: var(--color-surface-subtle);
  font-size: 11px;
  text-align: right;
}
.wx-page[data-route="pages/settlement/index"] .settlement-sheet__header text:first-child{ text-align: left; }
.wx-page[data-route="pages/settlement/index"] .settlement-sheet__header .settlement-sheet__header-multiplier{ text-align: center; }
.wx-page[data-route="pages/settlement/index"] .settlement-row{
  min-height: 54px;
  padding: 0 10px;
  border-top: 0.5px solid var(--color-surface-sunken);
}
.wx-page[data-route="pages/settlement/index"] .settlement-row__member{
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
}
.wx-page[data-route="pages/settlement/index"] .settlement-row__member text{ overflow: hidden; color: var(--color-brand); font-size: 12.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.wx-page[data-route="pages/settlement/index"] .number{
  font-family: "DIN Alternate", "SF Pro Display", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}
.wx-page[data-route="pages/settlement/index"] .number--positive{ color: var(--color-win); }
.wx-page[data-route="pages/settlement/index"] .number--negative{ color: var(--color-loss); }
.wx-page[data-route="pages/settlement/index"] .number--neutral{ color: var(--color-text-muted); }
.wx-page[data-route="pages/settlement/index"] .number--result{ font-size: 15.5px; }
.wx-page[data-route="pages/settlement/index"] .multiplier-chip{
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 32px;
  margin: 0;
  padding: 0 5px;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  background: var(--color-surface-subtle);
  font-size: 12px;
  line-height: normal;
}
.wx-page[data-route="pages/settlement/index"] .multiplier-chip::after{ border: 0; }
.wx-page[data-route="pages/settlement/index"] .multiplier-chip--custom{ border-color: var(--color-border-strong); color: var(--color-brand); background: var(--color-page); font-weight: 650; }
.wx-page[data-route="pages/settlement/index"] .multiplier-chip--readonly, .wx-page[data-route="pages/settlement/index"] .multiplier-chip--readonly.multiplier-chip--custom{
  border-color: var(--color-border-soft);
  color: var(--color-text-muted);
  background: var(--color-page);
  font-weight: 500;
}
.wx-page[data-route="pages/settlement/index"] .settlement-note{ display: block; margin-top: 9px; color: var(--color-text-muted); font-size: 10.5px; text-align: center; }
.wx-page[data-route="pages/settlement/index"] .settlement-action{
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom));
  border-top: 0.5px solid var(--color-border-soft);
  background: rgba(255, 255, 255, .98);
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__row{
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__row:first-child{
  margin-top: 0;
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__secondary, .wx-page[data-route="pages/settlement/index"] .settlement-action__primary{
  height: 47px;
  margin: 0;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 46px;
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__secondary::after, .wx-page[data-route="pages/settlement/index"] .settlement-action__primary::after{
  border: 0;
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__secondary{
  flex: 0 0 34%;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-strong);
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__primary{
  flex: 1;
  color: var(--color-on-brand);
  background: var(--color-brand);
  border: 0.5px solid var(--color-brand);
  box-shadow: var(--shadow-raised);
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__secondary--pressed, .wx-page[data-route="pages/settlement/index"] .settlement-action__primary--pressed{
  opacity: 0.7;
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__secondary[disabled], .wx-page[data-route="pages/settlement/index"] .settlement-action__primary[disabled]{
  opacity: 0.52;
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__note{
  display: block;
  margin-top: 8px;
  color: var(--color-text-muted);
  font-size: 11px;
  text-align: center;
}
.wx-page[data-route="pages/settlement/index"] .settlement-action__button{ height: 47px; border-radius: 9px; background: var(--color-brand); font-size: 15px; font-weight: 700; }
.wx-page[data-route="pages/settlement/index"] .multiplier-overlay{
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  background: rgba(30, 26, 22, 0.42);
}
.wx-page[data-route="pages/settlement/index"] .multiplier-sheet{
  box-sizing: border-box;
  width: 100%;
  padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
  border-radius: 17px 17px 0 0;
  background: var(--color-surface);
  box-shadow: 0 -9px 24px rgba(30, 26, 22, 0.12);
}
.wx-page[data-route="pages/settlement/index"] .multiplier-sheet__handle{
  width: 32px;
  height: 3.5px;
  margin: 0 auto 14px;
  border-radius: var(--radius-pill);
  background: var(--color-border);
}
.wx-page[data-route="pages/settlement/index"] .multiplier-sheet__title{
  display: block;
  color: var(--color-brand);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.wx-page[data-route="pages/settlement/index"] .preset-grid{
  display: flex;
  gap: 3px;
  margin-top: 14px;
  padding: 3px;
  background: var(--color-page);
  border-radius: var(--radius-md);
}
.wx-page[data-route="pages/settlement/index"] .preset-button{
  flex: 1;
  height: 38px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--color-text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  line-height: 38px;
}
.wx-page[data-route="pages/settlement/index"] .preset-button::after{
  border: 0;
}
.wx-page[data-route="pages/settlement/index"] .preset-button--selected{
  color: var(--color-on-brand);
  background: var(--color-brand);
  box-shadow: 0 3px 7px rgba(58, 52, 45, 0.18);
  font-weight: 700;
}
.wx-page[data-route="pages/settlement/index"] .custom-section{
  margin-top: 13px;
  padding-top: 12px;
  border-top: 0.5px solid var(--color-surface-sunken);
}
.wx-page[data-route="pages/settlement/index"] .custom-label{
  display: block;
  margin-bottom: 6px;
  color: var(--color-text-secondary);
  font-size: 12px;
  font-weight: 600;
}
.wx-page[data-route="pages/settlement/index"] .custom-controls{
  display: flex;
  gap: 6px;
}
.wx-page[data-route="pages/settlement/index"] .custom-input{
  display: flex;
  box-sizing: border-box;
  flex: 1;
  align-items: center;
  gap: 5px;
  height: 39px;
  min-width: 0;
  padding: 0 10px;
  background: var(--color-surface-subtle);
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.wx-page[data-route="pages/settlement/index"] .custom-input text{
  color: var(--color-text-muted);
  font-size: 13.5px;
}
.wx-page[data-route="pages/settlement/index"] .custom-input input{
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 39px;
  color: var(--color-brand);
  font-size: 15px;
  font-weight: 700;
}
.wx-page[data-route="pages/settlement/index"] .custom-confirm{
  flex: none;
  width: 64px;
  height: 39px;
  margin: 0;
  padding: 0;
  color: var(--color-on-brand);
  background: var(--color-brand);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 39px;
  box-shadow: 0 3.5px 8px rgba(58, 52, 45, 0.16);
}
.wx-page[data-route="pages/settlement/index"] .custom-confirm::after{
  border: 0;
}
.wx-page[data-route="pages/settlement/index"] .follow-button{
  height: 39px;
  margin: 9px 0 0;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  line-height: 38px;
}
.wx-page[data-route="pages/settlement/index"] .follow-button::after{
  border: 0;
}

@media screen and (max-width: 340px) {
.wx-page[data-route="pages/settlement/index"] .settlement-page{
    padding-right: 9px;
    padding-left: 9px;
  }
.wx-page[data-route="pages/settlement/index"] .settlement-sheet__header, .wx-page[data-route="pages/settlement/index"] .settlement-row{
    grid-template-columns: minmax(34px, 1fr) 56px 49px 62px;
    column-gap: 2px;
    padding-right: 6px;
    padding-left: 6px;
  }
.wx-page[data-route="pages/settlement/index"] .settlement-sheet--with-fee .settlement-sheet__header, .wx-page[data-route="pages/settlement/index"] .settlement-sheet--with-fee .settlement-row{
    grid-template-columns: minmax(28px, 1fr) 48px 42px 42px 58px;
    column-gap: 2px;
  }
.wx-page[data-route="pages/settlement/index"] .settlement-row__member text{
    display: none;
  }
.wx-page[data-route="pages/settlement/index"] .number{
    font-size: 13px;
  }
.wx-page[data-route="pages/settlement/index"] .number--result{
    font-size: 14px;
  }
}
.wx-page[data-route="pages/settlement/index"] .number--fee{
  color: var(--color-accent-strong);
  font-size: 11.5px;
}
.wx-page[data-route="pages/settlement/index"] .fee-switch{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--color-surface-sunken);
}
.wx-page[data-route="pages/settlement/index"] .fee-switch__label{
  display: block;
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: 650;
}
.wx-page[data-route="pages/settlement/index"] .fee-switch__hint{
  display: block;
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 10.5px;
  line-height: 15px;
}
.wx-page[data-route="pages/settlement/index"] .custom-label--spaced{
  margin-top: 13px;
}
.wx-page[data-route="pages/settlement/index"] .custom-input__unit{
  flex: none;
  margin-left: 4px;
  color: var(--color-text-muted);
  font-size: 12px;
}
.wx-page[data-route="pages/settlement/index"] .fee-mode-grid{
  display: flex;
  gap: 3px;
  padding: 3px;
  background: var(--color-page);
  border-radius: var(--radius-md);
}
.wx-page[data-route="pages/settlement/index"] .fee-sheet-end{
  height: calc(4px + env(safe-area-inset-bottom));
}
.wx-page[data-route="pages/settlement/index"] .fee-preview{
  display: block;
  margin-top: 10px;
  padding: 8px 10px;
  color: var(--color-text-secondary);
  background: var(--color-surface-subtle);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 11px;
  line-height: 17px;
}
.wx-page[data-route="pages/settlement/index"] /* 台费口径切换，以及台费自己的那一行——刻意用琥珀色，和红绿的输赢分开。 */
.fee-view-toggle{
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 26px;
  margin: 8px 0 0;
  padding: 0 9px;
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  border: 0.5px solid var(--color-accent-line);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.wx-page[data-route="pages/settlement/index"] .fee-view-toggle::after{
  border: 0;
}
.wx-page[data-route="pages/settlement/index"] .fee-view-toggle--pressed{
  background: var(--color-accent-muted);
}
.wx-page[data-route="pages/settlement/index"] .fee-view-toggle__icon{
  margin-left: 4px;
  font-size: 11px;
}
.wx-page[data-route="pages/settlement/index"] .fee-total-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 10px 12px;
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
  border: 0.5px solid var(--color-accent-line);
  border-radius: var(--radius-md);
}
.wx-page[data-route="pages/settlement/index"] .fee-total-row__label{
  font-size: 12.5px;
  font-weight: 650;
}
.wx-page[data-route="pages/settlement/index"] .fee-total-row__value{
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}


.wx-page[data-route="pages/admin-users/index"] /* 管理侧四个页面共用的一层皮。只读界面，克制到只剩信息本身。 */
.admin-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 12px 14px calc(24px + env(safe-area-inset-bottom));
  background: var(--color-page);
}
.wx-page[data-route="pages/admin-users/index"] .admin-search{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
}
.wx-page[data-route="pages/admin-users/index"] .admin-search__input{
  flex: 1;
  min-width: 0;
  height: 28px;
  color: var(--color-text);
  font-size: 13px;
}
.wx-page[data-route="pages/admin-users/index"] .admin-search__placeholder::placeholder{
  color: var(--color-text-faint);
}
.wx-page[data-route="pages/admin-users/index"] .admin-search__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 28px;
  margin: 0;
  padding: 0 13px;
  color: var(--color-on-brand);
  background: var(--color-brand);
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  line-height: 1;
}
.wx-page[data-route="pages/admin-users/index"] .admin-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.wx-page[data-route="pages/admin-users/index"] .admin-filter{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0;
  padding: 0 11px;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
  font-size: 12px;
  line-height: 1;
}
.wx-page[data-route="pages/admin-users/index"] .admin-filter--active{
  color: var(--color-on-brand);
  background: var(--color-brand);
  border-color: var(--color-brand);
}
.wx-page[data-route="pages/admin-users/index"] .admin-meta{
  margin: 11px 1px 6px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/admin-users/index"] .admin-card{
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px;
  padding: 11px 12px;
  text-align: left;
  color: var(--color-text);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.4;
}
.wx-page[data-route="pages/admin-users/index"] .admin-card--pressed{
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/admin-users/index"] .admin-card__top{
  display: flex;
  align-items: center;
  gap: 8px;
}
.wx-page[data-route="pages/admin-users/index"] .admin-card__title{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--color-brand);
  font-size: 14.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/admin-users/index"] .admin-card__line{
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/admin-users/index"] .admin-tag{
  flex: none;
  padding: 2px 7px;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  border-radius: var(--radius-pill);
  font-size: 10.5px;
}
.wx-page[data-route="pages/admin-users/index"] .admin-tag--active{
  color: var(--color-loss-strong);
  background: var(--color-loss-soft);
}
.wx-page[data-route="pages/admin-users/index"] .admin-tag--waiting{
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
}
.wx-page[data-route="pages/admin-users/index"] .admin-tag--test{
  color: var(--color-win-strong);
  background: var(--color-win-soft);
}
.wx-page[data-route="pages/admin-users/index"] .admin-avatar{
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  overflow: hidden;
  color: var(--color-text-secondary);
  background: linear-gradient(145deg, var(--color-surface-sunken), var(--color-border));
  border-radius: 50%;
  font-size: 14px;
}
.wx-page[data-route="pages/admin-users/index"] .admin-state{
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}
.wx-page[data-route="pages/admin-users/index"] .admin-more{
  display: block;
  width: 100%;
  margin: 4px 0 0;
  padding: 10px 0;
  color: var(--color-text-secondary);
  background: transparent;
  border: 0;
  font-size: 12.5px;
}
.wx-page[data-route="pages/admin-users/index"] .admin-note{
  margin-top: 13px;
  padding: 9px 11px;
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 11px;
  line-height: 1.6;
}
.wx-page[data-route="pages/admin-users/index"] .score--positive{ color: var(--color-win); }
.wx-page[data-route="pages/admin-users/index"] .score--negative{ color: var(--color-loss); }
.wx-page[data-route="pages/admin-users/index"] .score--neutral{ color: var(--color-text-muted); }



.wx-page[data-route="pages/admin-user/index"] /* 管理侧四个页面共用的一层皮。只读界面，克制到只剩信息本身。 */
.admin-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 12px 14px calc(24px + env(safe-area-inset-bottom));
  background: var(--color-page);
}
.wx-page[data-route="pages/admin-user/index"] .admin-search{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
}
.wx-page[data-route="pages/admin-user/index"] .admin-search__input{
  flex: 1;
  min-width: 0;
  height: 28px;
  color: var(--color-text);
  font-size: 13px;
}
.wx-page[data-route="pages/admin-user/index"] .admin-search__placeholder::placeholder{
  color: var(--color-text-faint);
}
.wx-page[data-route="pages/admin-user/index"] .admin-search__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 28px;
  margin: 0;
  padding: 0 13px;
  color: var(--color-on-brand);
  background: var(--color-brand);
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  line-height: 1;
}
.wx-page[data-route="pages/admin-user/index"] .admin-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.wx-page[data-route="pages/admin-user/index"] .admin-filter{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0;
  padding: 0 11px;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
  font-size: 12px;
  line-height: 1;
}
.wx-page[data-route="pages/admin-user/index"] .admin-filter--active{
  color: var(--color-on-brand);
  background: var(--color-brand);
  border-color: var(--color-brand);
}
.wx-page[data-route="pages/admin-user/index"] .admin-meta{
  margin: 11px 1px 6px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/admin-user/index"] .admin-card{
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px;
  padding: 11px 12px;
  text-align: left;
  color: var(--color-text);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.4;
}
.wx-page[data-route="pages/admin-user/index"] .admin-card--pressed{
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/admin-user/index"] .admin-card__top{
  display: flex;
  align-items: center;
  gap: 8px;
}
.wx-page[data-route="pages/admin-user/index"] .admin-card__title{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--color-brand);
  font-size: 14.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/admin-user/index"] .admin-card__line{
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/admin-user/index"] .admin-tag{
  flex: none;
  padding: 2px 7px;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  border-radius: var(--radius-pill);
  font-size: 10.5px;
}
.wx-page[data-route="pages/admin-user/index"] .admin-tag--active{
  color: var(--color-loss-strong);
  background: var(--color-loss-soft);
}
.wx-page[data-route="pages/admin-user/index"] .admin-tag--waiting{
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
}
.wx-page[data-route="pages/admin-user/index"] .admin-tag--test{
  color: var(--color-win-strong);
  background: var(--color-win-soft);
}
.wx-page[data-route="pages/admin-user/index"] .admin-avatar{
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  overflow: hidden;
  color: var(--color-text-secondary);
  background: linear-gradient(145deg, var(--color-surface-sunken), var(--color-border));
  border-radius: 50%;
  font-size: 14px;
}
.wx-page[data-route="pages/admin-user/index"] .admin-state{
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}
.wx-page[data-route="pages/admin-user/index"] .admin-more{
  display: block;
  width: 100%;
  margin: 4px 0 0;
  padding: 10px 0;
  color: var(--color-text-secondary);
  background: transparent;
  border: 0;
  font-size: 12.5px;
}
.wx-page[data-route="pages/admin-user/index"] .admin-note{
  margin-top: 13px;
  padding: 9px 11px;
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 11px;
  line-height: 1.6;
}
.wx-page[data-route="pages/admin-user/index"] .score--positive{ color: var(--color-win); }
.wx-page[data-route="pages/admin-user/index"] .score--negative{ color: var(--color-loss); }
.wx-page[data-route="pages/admin-user/index"] .score--neutral{ color: var(--color-text-muted); }
.wx-page[data-route="pages/admin-user/index"] .admin-card--live{
  border-color: var(--color-border-strong);
}
.wx-page[data-route="pages/admin-user/index"] .stat-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 10px;
}
.wx-page[data-route="pages/admin-user/index"] .stat-cell{
  flex: 1 1 calc(50% - 4px);
  box-sizing: border-box;
  padding: 10px 11px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
}
.wx-page[data-route="pages/admin-user/index"] .stat-value{
  display: block;
  color: var(--color-brand);
  font-size: 16px;
  font-weight: 650;
}
.wx-page[data-route="pages/admin-user/index"] .stat-label{
  display: block;
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 11px;
}


.wx-page[data-route="pages/admin-matches/index"] /* 管理侧四个页面共用的一层皮。只读界面，克制到只剩信息本身。 */
.admin-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 12px 14px calc(24px + env(safe-area-inset-bottom));
  background: var(--color-page);
}
.wx-page[data-route="pages/admin-matches/index"] .admin-search{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
}
.wx-page[data-route="pages/admin-matches/index"] .admin-search__input{
  flex: 1;
  min-width: 0;
  height: 28px;
  color: var(--color-text);
  font-size: 13px;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-search__placeholder::placeholder{
  color: var(--color-text-faint);
}
.wx-page[data-route="pages/admin-matches/index"] .admin-search__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 28px;
  margin: 0;
  padding: 0 13px;
  color: var(--color-on-brand);
  background: var(--color-brand);
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  line-height: 1;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-filter{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0;
  padding: 0 11px;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
  font-size: 12px;
  line-height: 1;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-filter--active{
  color: var(--color-on-brand);
  background: var(--color-brand);
  border-color: var(--color-brand);
}
.wx-page[data-route="pages/admin-matches/index"] .admin-meta{
  margin: 11px 1px 6px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-card{
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px;
  padding: 11px 12px;
  text-align: left;
  color: var(--color-text);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.4;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-card--pressed{
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/admin-matches/index"] .admin-card__top{
  display: flex;
  align-items: center;
  gap: 8px;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-card__title{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--color-brand);
  font-size: 14.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-card__line{
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-tag{
  flex: none;
  padding: 2px 7px;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  border-radius: var(--radius-pill);
  font-size: 10.5px;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-tag--active{
  color: var(--color-loss-strong);
  background: var(--color-loss-soft);
}
.wx-page[data-route="pages/admin-matches/index"] .admin-tag--waiting{
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
}
.wx-page[data-route="pages/admin-matches/index"] .admin-tag--test{
  color: var(--color-win-strong);
  background: var(--color-win-soft);
}
.wx-page[data-route="pages/admin-matches/index"] .admin-avatar{
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  overflow: hidden;
  color: var(--color-text-secondary);
  background: linear-gradient(145deg, var(--color-surface-sunken), var(--color-border));
  border-radius: 50%;
  font-size: 14px;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-state{
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-more{
  display: block;
  width: 100%;
  margin: 4px 0 0;
  padding: 10px 0;
  color: var(--color-text-secondary);
  background: transparent;
  border: 0;
  font-size: 12.5px;
}
.wx-page[data-route="pages/admin-matches/index"] .admin-note{
  margin-top: 13px;
  padding: 9px 11px;
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 11px;
  line-height: 1.6;
}
.wx-page[data-route="pages/admin-matches/index"] .score--positive{ color: var(--color-win); }
.wx-page[data-route="pages/admin-matches/index"] .score--negative{ color: var(--color-loss); }
.wx-page[data-route="pages/admin-matches/index"] .score--neutral{ color: var(--color-text-muted); }



.wx-page[data-route="pages/admin-match/index"] /* 管理侧四个页面共用的一层皮。只读界面，克制到只剩信息本身。 */
.admin-page{
  box-sizing: border-box;
  min-height: 100vh;
  padding: 12px 14px calc(24px + env(safe-area-inset-bottom));
  background: var(--color-page);
}
.wx-page[data-route="pages/admin-match/index"] .admin-search{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
}
.wx-page[data-route="pages/admin-match/index"] .admin-search__input{
  flex: 1;
  min-width: 0;
  height: 28px;
  color: var(--color-text);
  font-size: 13px;
}
.wx-page[data-route="pages/admin-match/index"] .admin-search__placeholder::placeholder{
  color: var(--color-text-faint);
}
.wx-page[data-route="pages/admin-match/index"] .admin-search__button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: 28px;
  margin: 0;
  padding: 0 13px;
  color: var(--color-on-brand);
  background: var(--color-brand);
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  line-height: 1;
}
.wx-page[data-route="pages/admin-match/index"] .admin-filters{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.wx-page[data-route="pages/admin-match/index"] .admin-filter{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  margin: 0;
  padding: 0 11px;
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-pill);
  font-size: 12px;
  line-height: 1;
}
.wx-page[data-route="pages/admin-match/index"] .admin-filter--active{
  color: var(--color-on-brand);
  background: var(--color-brand);
  border-color: var(--color-brand);
}
.wx-page[data-route="pages/admin-match/index"] .admin-meta{
  margin: 11px 1px 6px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/admin-match/index"] .admin-card{
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px;
  padding: 11px 12px;
  text-align: left;
  color: var(--color-text);
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.4;
}
.wx-page[data-route="pages/admin-match/index"] .admin-card--pressed{
  background: var(--color-surface-subtle);
}
.wx-page[data-route="pages/admin-match/index"] .admin-card__top{
  display: flex;
  align-items: center;
  gap: 8px;
}
.wx-page[data-route="pages/admin-match/index"] .admin-card__title{
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--color-brand);
  font-size: 14.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/admin-match/index"] .admin-card__line{
  display: block;
  margin-top: 4px;
  color: var(--color-text-muted);
  font-size: 11.5px;
}
.wx-page[data-route="pages/admin-match/index"] .admin-tag{
  flex: none;
  padding: 2px 7px;
  color: var(--color-text-secondary);
  background: var(--color-surface-sunken);
  border-radius: var(--radius-pill);
  font-size: 10.5px;
}
.wx-page[data-route="pages/admin-match/index"] .admin-tag--active{
  color: var(--color-loss-strong);
  background: var(--color-loss-soft);
}
.wx-page[data-route="pages/admin-match/index"] .admin-tag--waiting{
  color: var(--color-accent-strong);
  background: var(--color-accent-soft);
}
.wx-page[data-route="pages/admin-match/index"] .admin-tag--test{
  color: var(--color-win-strong);
  background: var(--color-win-soft);
}
.wx-page[data-route="pages/admin-match/index"] .admin-avatar{
  display: flex;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  overflow: hidden;
  color: var(--color-text-secondary);
  background: linear-gradient(145deg, var(--color-surface-sunken), var(--color-border));
  border-radius: 50%;
  font-size: 14px;
}
.wx-page[data-route="pages/admin-match/index"] .admin-state{
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 13px;
  text-align: center;
}
.wx-page[data-route="pages/admin-match/index"] .admin-more{
  display: block;
  width: 100%;
  margin: 4px 0 0;
  padding: 10px 0;
  color: var(--color-text-secondary);
  background: transparent;
  border: 0;
  font-size: 12.5px;
}
.wx-page[data-route="pages/admin-match/index"] .admin-note{
  margin-top: 13px;
  padding: 9px 11px;
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  font-size: 11px;
  line-height: 1.6;
}
.wx-page[data-route="pages/admin-match/index"] .score--positive{ color: var(--color-win); }
.wx-page[data-route="pages/admin-match/index"] .score--negative{ color: var(--color-loss); }
.wx-page[data-route="pages/admin-match/index"] .score--neutral{ color: var(--color-text-muted); }
.wx-page[data-route="pages/admin-match/index"] .board-table{
  overflow: hidden;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
}
.wx-page[data-route="pages/admin-match/index"] .board-row{
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 0.5px solid var(--color-page);
}
.wx-page[data-route="pages/admin-match/index"] .board-row:last-child{
  border-bottom: 0;
}
.wx-page[data-route="pages/admin-match/index"] .board-row--head{
  color: var(--color-text-muted);
  background: var(--color-surface-subtle);
  font-size: 10.5px;
}
.wx-page[data-route="pages/admin-match/index"] .board-cell{
  flex: 1;
  min-width: 0;
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.wx-page[data-route="pages/admin-match/index"] .board-cell--name{
  flex: 1.6;
  text-align: left;
}
.wx-page[data-route="pages/admin-match/index"] .board-cell--fee{
  color: var(--color-accent-strong);
}
.wx-page[data-route="pages/admin-match/index"] .board-name{
  display: block;
  overflow: hidden;
  color: var(--color-brand);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wx-page[data-route="pages/admin-match/index"] .board-seat{
  display: block;
  margin-top: 1px;
  color: var(--color-text-faint);
  font-size: 10px;
}
.wx-page[data-route="pages/admin-match/index"] .round-card{
  margin-bottom: 7px;
  padding: 9px 11px;
  background: var(--color-surface);
  border: 0.5px solid var(--color-border-soft);
  border-radius: var(--radius-md);
}
.wx-page[data-route="pages/admin-match/index"] .round-card__head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.wx-page[data-route="pages/admin-match/index"] .round-card__no{
  color: var(--color-brand);
  font-size: 12.5px;
  font-weight: 600;
}
.wx-page[data-route="pages/admin-match/index"] .round-card__time{
  color: var(--color-text-faint);
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}
.wx-page[data-route="pages/admin-match/index"] .round-card__entries{
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  margin-top: 5px;
}
.wx-page[data-route="pages/admin-match/index"] .round-entry{
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
