/* AK Poker · 大厅「比赛 / MTT」标签页（液态玻璃）
 * 配合 lg-mtt.js：.mtt-pane = 比赛标签面板，.mtt-list = ._room_list_3，.mtt-card = 新卡片。
 * 只用 liquid-glass.css 的 --lg-* 变量，亮/暗由 html[data-lg-theme] 切换。
 */

/* 与 lg-mtt.js 的 CSS_VER 握手，改结构时两边同时加一 */
:root {
  --mtt-css: "12";
  --mtt-gold: #b7791f;
  --mtt-red: #e5372b;
  --mtt-green: #1f9d55;
  --mtt-blue: #2f7bf6;
  --mtt-orange: #e0761a;
  --mtt-pink: #d9468f;
}
:root[data-lg-theme="dark"] {
  --mtt-gold: #f2c14e;
  --mtt-red: #ff5a4f;
  --mtt-green: #34d17a;
  --mtt-blue: #5ea1ff;
  --mtt-orange: #ff9f45;
  --mtt-pink: #ff6fb1;
}

/* ---------- 二级筛选：横向滚动胶囊，选中实心 ---------- */
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__nav {
  gap: 8px;
  padding: 0 12px !important;
  background: transparent !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__wrap {
  height: 48px !important;
  background: transparent !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__wrap::after { display: none !important; }
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab {
  flex: none !important;
  min-height: 44px;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab .rv-tab__text {
  height: 32px !important;
  line-height: 32px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--lg-text-2) !important;
  background: var(--lg-fill) !important;
  box-shadow: none !important;
  white-space: nowrap;
  transition: background-color .2s, color .2s;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab--active .rv-tab__text {
  color: #fff !important;
  font-weight: 600 !important;
  background: var(--lg-accent) !important;
  box-shadow: none !important;
}

/* ---------- 列表容器 ---------- */
.mtt-list {
  background: transparent !important;
  padding-top: 4px;
  /* 悬浮底栏的高度由外层 .page 的 padding-bottom 留出（liquid-glass.css），这里只补一点呼吸空间 */
  padding-bottom: 8px !important;
  box-sizing: border-box;
}
.mtt-list > .mtt-cell,
html ._listBg_ealz5_1.mtt-list > ._listMatchCell_ealz5_22.mtt-cell {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.mtt-list > .mtt-cell > :not(.mtt-card) { display: none !important; }
.mtt-list.mtt-mocking > :not(.mtt-mock) { display: none !important; }

/* ---------- 卡片 ---------- */
.mtt-card {
  position: relative;
  display: block;
  box-sizing: border-box;
  min-width: 0;
  width: auto !important;
  margin: 0 12px 12px !important;
  padding: 6px 14px 14px 16px;
  border-radius: var(--lg-r-card, 18px);
  background: var(--lg-surface-strong);
  border: 0.5px solid var(--lg-glass-border);
  box-shadow: inset 0 1px 0 var(--lg-glass-hi, rgba(255,255,255,.6)), 0 6px 20px var(--lg-glass-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  font-family: var(--lg-font);
  color: var(--lg-text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease;
  outline: none;
}
.mtt-card:active { transform: scale(0.985); }
.mtt-card:focus-visible { box-shadow: 0 0 0 2px var(--lg-accent), 0 6px 20px var(--lg-glass-shadow); }

.mtt-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
}
.mtt-title {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mtt-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--lg-text);
}
.mtt-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
  color: var(--lg-text-2);
  background: var(--lg-fill);
}
.mtt-tag.is-empty { display: none; }
/* 与大厅牌桌卡片的 .lg-badge 一致：灰底小胶囊，类型只体现在文字颜色上 */
.mtt-tag--regular   { color: var(--lg-text-2); }
.mtt-tag--satellite { color: var(--mtt-blue); }
.mtt-tag--bounty    { color: var(--mtt-orange); }
.mtt-tag--lucky     { color: var(--mtt-pink); }
.mtt-tag--spinup    { color: var(--lg-accent); }
/* 详情页标题行：标签在标题前 */
.mtt-tag--title { margin-right: 6px; vertical-align: 2px; }

/* 按钮：视觉 34px，点击区 ≥44px */
.mtt-btn {
  position: relative;
  flex: none;
  min-width: 68px;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--lg-r-btn, 14px);
  font: 600 15px/34px var(--lg-font);
  white-space: nowrap;
  color: #fff;
  background: var(--lg-accent);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, opacity .12s;
}
.mtt-btn::before { content: ""; position: absolute; inset: -6px -4px; }
.mtt-btn:active { transform: scale(0.95); opacity: .85; }
.mtt-btn--latereg { background: var(--mtt-orange); }
.mtt-btn--enter   { background: var(--mtt-green); }
.mtt-btn--registed,
.mtt-btn--observe,
.mtt-btn--finished {
  color: var(--lg-accent);
  background: var(--lg-accent-soft);
  box-shadow: none;
}
.mtt-btn--finished { color: var(--lg-text-3); background: var(--lg-fill); }

/* 三栏数据 */
.mtt-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 0.5px solid var(--lg-line);
}
.mtt-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 0;
  padding: 0 4px;
}
.mtt-stat + .mtt-stat { border-left: 0.5px solid var(--lg-line); }
.mtt-label {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 18px;
  color: var(--lg-text-2);
}
.mtt-value {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--lg-text);
  font-variant-numeric: tabular-nums;
}
.mtt-gold  { color: var(--mtt-gold); font-weight: 700; }
.mtt-free  { color: var(--mtt-green); }
.mtt-red   { color: var(--mtt-red); }
.mtt-green { color: var(--mtt-green); }
.mtt-orange { color: var(--mtt-orange); }

/* ---------- 示例数据 ---------- */
.mtt-mock[hidden] { display: none; }
.mtt-demo {
  margin: 2px 12px 10px;
  font-size: 13px;
  line-height: 18px;
  color: var(--lg-text-3);
  text-align: center;
}

/* 轻提示 */
.mtt-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h, 60px) + max(10px, var(--bottom-inset, 0px)) + 24px);
  z-index: 100000;
  width: max-content;
  max-width: calc(100vw - 48px);
  box-sizing: border-box;
  text-align: center;
  padding: 10px 18px;
  border-radius: 999px;
  font: 500 15px/20px var(--lg-font);
  color: var(--lg-text);
  background: var(--lg-surface-strong);
  border: 0.5px solid var(--lg-glass-border);
  box-shadow: 0 8px 28px var(--lg-glass-shadow);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.mtt-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .mtt-card, .mtt-btn, .mtt-toast { transition: none; }
}

/* =====================================================================
 * 比赛详情页（._matchContainer_1swwq_1 弹层 → 详情页 ._detailContainer_1hp19_1）
 * 原版大量 position:absolute + rem 尺寸，这里统一改成流式布局。
 * ===================================================================== */

/* ---------- 详情 / 参赛 / 奖品：整行分段控件 ---------- */
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 {
  height: auto !important;
  padding: 8px 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box;
}
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar {
  position: relative !important;
  inset: auto !important;
  left: auto !important; right: auto !important; bottom: auto !important; top: auto !important;
  transform: none !important;
  width: 100% !important;
  height: 40px !important;
  padding: 3px !important;
  margin: 0 !important;
  display: flex !important;
  gap: 2px;
  border-radius: 12px !important;
  background: var(--lg-fill) !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  box-sizing: border-box;
}
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: 34px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 9px !important;
  color: var(--lg-text-2) !important;
  transition: background-color .2s, color .2s;
}
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item__icon { display: none !important; }
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item__text {
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: inherit !important;
  margin: 0 !important;
  text-align: center !important;
}
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item--active {
  color: var(--lg-text) !important;
  background: var(--lg-surface-strong) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 3px 10px var(--lg-glass-shadow) !important;
}
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item--active .rv-tabbar-item__text { font-weight: 600 !important; }
html ._matchContainer_1swwq_1 ._lineParent_1swwq_43 { display: none !important; }

/* ---------- 卡片外壳 ---------- */
html ._detailContainer_1hp19_1 ._top_1hp19_25,
html ._detailContainer_1hp19_1 ._time_1hp19_166,
html ._detailContainer_1hp19_1 ._status_1hp19_344,
html ._detailContainer_1hp19_1 ._blind_1hp19_302 {
  width: calc(100% - 24px) !important;
  height: auto !important;
  margin: 12px 12px 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  border-radius: var(--lg-r-card, 18px) !important;
  background: var(--lg-surface-strong) !important;
  border: 0.5px solid var(--lg-glass-border) !important;
  box-shadow: inset 0 1px 0 var(--lg-glass-hi, rgba(255,255,255,.6)), 0 6px 20px var(--lg-glass-shadow) !important;
  font-family: var(--lg-font) !important;
  text-align: left !important;
}
html ._detailContainer_1hp19_1 ._top_1hp19_25 { margin-top: 4px !important; padding: 16px 0 !important; }
/* 所有绝对定位的子元素回到文档流 */
/* :where() 让这条重置的优先级保持很低（0,1,1），后面的具体规则都能覆盖它 */
html ._detailContainer_1hp19_1 :where(._top_1hp19_25, ._time_1hp19_166, ._status_1hp19_344, ._blind_1hp19_302) :where(div, span) {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
}

/* 通用：标签 = 说明色 13，数值 = 正文色 */
html ._detailContainer_1hp19_1 .mtt-d-label,
html ._detailContainer_1hp19_1 ._reEntries_1hp19_159,
html ._detailContainer_1hp19_1 ._buyInGroup_1hp19_97 ._div1_1hp19_67,
html ._detailContainer_1hp19_1 ._frameParent_1hp19_330 :is(._statTime2_1hp19_272, ._statTime4_1hp19_292, ._statTime6_1hp19_316),
html ._detailContainer_1hp19_1 ._status_1hp19_344 :is(._statTime_1hp19_194, ._statTime2_1hp19_272, ._statTime4_1hp19_292, ._statusTipsTitle_1hp19_792) {
  font-size: 13px !important;
  line-height: 18px !important;
  font-weight: 400 !important;
  color: var(--lg-text-2) !important;
  white-space: nowrap;
}

/* ---------- 第一张卡：买入 / 奖品 / 参赛 ---------- */
html ._detailContainer_1hp19_1 ._buyInParent_1hp19_39 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100% !important;
}
html ._detailContainer_1hp19_1 :is(._buyIn_1hp19_39, ._prizes_1hp19_136, ._buyInNum_1hp19_116) {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-width: 0;
  padding: 0 6px;
}
html ._detailContainer_1hp19_1 :is(._prizes_1hp19_136, ._buyInNum_1hp19_116) { border-left: 0.5px solid var(--lg-line); }
html ._detailContainer_1hp19_1 :is(._icoUstdParent_1hp19_80, ._parent_1hp19_129, ._icoPeopleParent_1hp19_152) {
  display: flex !important;
  align-items: center !important;
  gap: 4px;
  font-size: 17px !important;
  line-height: 22px !important;
  font-weight: 600 !important;
  color: var(--lg-text) !important;
  font-variant-numeric: tabular-nums;
}
html ._detailContainer_1hp19_1 ._top_1hp19_25 :is(._icoUstdParent_1hp19_80, ._parent_1hp19_129, ._icoPeopleParent_1hp19_152) * {
  font-size: inherit !important;
  font-weight: inherit !important;
}
/* 买入：免费（无类名的 div）用绿色，付费金额用正文色 */
html ._detailContainer_1hp19_1 ._icoUstdParent_1hp19_80 > div:not([class]) { color: var(--mtt-green) !important; }
html ._detailContainer_1hp19_1 ._prizes_1hp19_136 ._parent_1hp19_129 > div { color: var(--mtt-gold) !important; }
html ._detailContainer_1hp19_1 ._top_1hp19_25 svg { display: none !important; }

/* ---------- 开赛倒计时卡 ---------- */
html ._detailContainer_1hp19_1 ._time_1hp19_166 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
html ._detailContainer_1hp19_1 ._time_1hp19_166 ._leftIcon_1hp19_181 { display: none !important; }
html ._detailContainer_1hp19_1 ._time_1hp19_166 > ._statTime1_1hp19_215 {
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--lg-text-2) !important;
}
html ._detailContainer_1hp19_1 ._time1_1hp19_228 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  margin-top: 10px !important;
}
html ._detailContainer_1hp19_1 ._time1_1hp19_228 > :is(._div_1hp19_67, ._div3_1hp19_257, ._div4_1hp19_263) {
  min-width: 60px !important;
  height: 56px !important;
  padding: 0 6px;
  box-sizing: border-box;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--lg-fill) !important;
  border: 0.5px solid var(--lg-glass-border);
  box-shadow: inset 0 1px 0 var(--lg-glass-hi, rgba(255,255,255,.5));
  font: 600 30px/1 var(--lg-font) !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
  color: var(--lg-text) !important;
  background-clip: padding-box;
  -webkit-text-fill-color: currentColor;
}
html ._detailContainer_1hp19_1 ._time1_1hp19_228 > :is(._div1_1hp19_67, ._div2_1hp19_250) {
  font: 600 24px/1 var(--lg-font) !important;
  color: var(--lg-text-3) !important;
  padding-bottom: 3px;
}
html ._detailContainer_1hp19_1 ._ellipseParent_1hp19_201 {
  display: flex !important;
  justify-content: center;
  margin-top: 10px !important;
}
html ._detailContainer_1hp19_1 ._ellipseParent_1hp19_201 ._frameChild_1hp19_221 { display: none !important; }
html ._detailContainer_1hp19_1 ._ellipseParent_1hp19_201 ._statTime_1hp19_194,
html ._detailContainer_1hp19_1 ._ellipseParent_1hp19_201 ._statTime_1hp19_194 span {
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--lg-text-2) !important;
  font-variant-numeric: tabular-nums;
}
/* 当前级别 / 涨盲时间 / 级别 */
html ._detailContainer_1hp19_1 ._frameParent_1hp19_330 {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100% !important;
  align-self: stretch;
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 0.5px solid var(--lg-line);
}
html ._detailContainer_1hp19_1 ._frameParent_1hp19_330 ._statTimeParent_1hp19_286 {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px;
  min-width: 0;
  padding: 0 4px;
}
html ._detailContainer_1hp19_1 ._frameParent_1hp19_330 ._statTimeParent_1hp19_286 + ._statTimeParent_1hp19_286 { border-left: 0.5px solid var(--lg-line); }
html ._detailContainer_1hp19_1 ._frameParent_1hp19_330 ._statTime4_1hp19_292 { display: flex !important; align-items: center; gap: 4px; }
html ._detailContainer_1hp19_1 :is(._blindHelp_1hp19_302, ._addonTips_1hp19_774) {
  position: static !important;
  width: 14px !important;
  height: 14px !important;
  opacity: .6;
  vertical-align: -2px;
}

/* 数值（两张信息卡共用）：15 半粗 */
html ._detailContainer_1hp19_1 ._frameParent_1hp19_330 :is(._statTime3_1hp19_278, ._statTime5_1hp19_308, ._statTime7_1hp19_322),
html ._detailContainer_1hp19_1 ._status_1hp19_344 :is(._statTime1_1hp19_215, ._statTime3_1hp19_278, ._statTime5_1hp19_308, ._statusTipsValue_1hp19_788) {
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  color: var(--lg-text) !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ---------- 筹码 / 休息 / 重购 / Addon / 人数：3 列信息网格 ---------- */
html ._detailContainer_1hp19_1 ._status_1hp19_344 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 16px;
  column-gap: 12px;
}
html ._detailContainer_1hp19_1 ._status_1hp19_344 :is(._parent_1hp19_129, ._div1_1hp19_67, ._statusTips_1hp19_780, ._statusTipsLeft_1hp19_798, ._statusTipsRight_1hp19_799) {
  display: contents !important;
}
html ._detailContainer_1hp19_1 ._status_1hp19_344 :is(._item_1hp19_377, ._divisionPoint_1hp19_816) { display: none !important; }
html ._detailContainer_1hp19_1 ._status_1hp19_344 :is(._statTimeParent_1hp19_286, ._statTimeGroup_1hp19_399, ._div2_1hp19_250, ._gap8_1hp19_824) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  min-width: 0;
  text-align: left !important;
}
html ._detailContainer_1hp19_1 ._status_1hp19_344 ._group_1hp19_460 {
  display: flex !important;
  align-items: center;
  gap: 4px;
}
html ._detailContainer_1hp19_1 ._status_1hp19_344 ._group_1hp19_460 svg { width: 14px !important; height: 14px !important; opacity: .7; }
html ._detailContainer_1hp19_1 ._status_1hp19_344 ._statusTipsTitle_1hp19_792 { display: inline-flex !important; align-items: center; gap: 4px; height: 18px !important; }
html ._detailContainer_1hp19_1 ._status_1hp19_344 ._statusTipsCenter_1hp19_813 > div:first-child {
  display: flex !important; align-items: center; gap: 4px; height: 18px !important;
  font-size: 13px !important; line-height: 18px !important; color: var(--lg-text-2) !important;
}
/* 长数值（如「Allowed till level 8」）允许换行，不截断 */
html ._detailContainer_1hp19_1 ._status_1hp19_344 ._statusTipsValue_1hp19_788 {
  white-space: normal !important;
  overflow: visible !important;
}

/* ---------- 盲注结构入口行 ---------- */
html ._detailContainer_1hp19_1 ._blind_1hp19_302 {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  min-height: 52px;
  padding: 0 14px 0 16px !important;
  cursor: pointer;
}
html ._detailContainer_1hp19_1 ._blind_1hp19_302 ._icoBlindIcon_1hp19_535 {
  order: 0;
  position: static !important;
  width: 24px !important;
  height: 24px !important;
  flex: none;
}
html ._detailContainer_1hp19_1 ._blind_1hp19_302 > ._statTime_1hp19_194 {
  order: 1;
  flex: 1;
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: var(--lg-text) !important;
}
html ._detailContainer_1hp19_1 ._blind_1hp19_302 > ._icon_1hp19_124 {
  order: 2;
  position: static !important;
  width: 14px !important;
  height: 14px !important;
  flex: none;
  opacity: .45;
}
html ._detailContainer_1hp19_1 ._gapBottom_1hp19_20 { height: 24px !important; flex: none; }

/* ---------- 底部报名栏：磨砂底 + 主按钮 ---------- */
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 {
  height: auto !important;
  padding: 10px 16px calc(10px + var(--bottom-inset, env(safe-area-inset-bottom, 0px))) !important;
  background: var(--lg-surface) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
  border-top: 0.5px solid var(--lg-line) !important;
  box-sizing: border-box !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 :is(._button_1swwq_80, ._shineEffect_1swwq_84) {
  width: 100% !important;
  height: 50px !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._shineEffect_1swwq_84 { display: none !important; }
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._button_1swwq_80 {
  border: 0 !important;
  border-radius: var(--lg-r-btn, 14px) !important;
  background: var(--lg-accent) !important;
  box-shadow: none !important;
}
/* 按钮文字水平、垂直居中 */
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._button_1swwq_80 :is(.rv-button__content, .rv-button__text) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100%;
  width: 100%;
  text-align: center !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._button_1swwq_80 :is(.rv-button__text, .title, .title *) {
  font: 600 17px/22px var(--lg-font) !important;
  color: #fff !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._statusStyleBtnLateReg_1swwq_98 { background: var(--mtt-orange) !important; box-shadow: none !important; }
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._statusStyleBtnEnter_1swwq_101 { background: var(--mtt-green) !important; box-shadow: none !important; }
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 :is(._statusStyleBtnRegisted_1swwq_95, ._statusStyleBtnObserve_1swwq_104) { background: var(--lg-accent-soft) !important; box-shadow: none !important; }
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 :is(._statusStyleBtnRegisted_1swwq_95, ._statusStyleBtnObserve_1swwq_104) :is(.rv-button__text, .title, .title *) { color: var(--lg-accent) !important; }
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._statusStyleBtnFinished_1swwq_107 { background: var(--lg-fill) !important; box-shadow: none !important; }
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._statusStyleBtnFinished_1swwq_107 :is(.rv-button__text, .title, .title *) { color: var(--lg-text-3) !important; }


/* =====================================================================
 * 比赛详情 · 参赛（._entryContainer_1gi8r_*）/ 奖品（._prizeContainer_4gms8_*）
 * ===================================================================== */

/* 顶部汇总卡：剩余玩家 / 奖池 / 奖励圈人数 */
html :is(._entryContainer_1gi8r_1 ._top_1gi8r_36, ._prizeContainer_4gms8_1 ._top_4gms8_25) {
  width: calc(100% - 24px) !important;
  height: auto !important;
  margin: 4px 12px 0 !important;
  padding: 14px 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  border-radius: var(--lg-r-card, 18px) !important;
  background: var(--lg-surface-strong) !important;
  border: 0.5px solid var(--lg-glass-border) !important;
  box-shadow: inset 0 1px 0 var(--lg-glass-hi, rgba(255,255,255,.6)), 0 6px 20px var(--lg-glass-shadow) !important;
  font-family: var(--lg-font) !important;
}
html :is(._top_1gi8r_36 ._line_1gi8r_48, ._top_4gms8_25 ._line_4gms8_37) { display: none !important; }
html :is(._top_1gi8r_36 ._playParent_1gi8r_120, ._top_4gms8_25 ._playParent_4gms8_109) {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100% !important;
  height: auto !important;
  gap: 0 !important;
}
html :is(._top_1gi8r_36, ._top_4gms8_25) :is(._play_1gi8r_76, ._prizes_1gi8r_96, ._play_4gms8_65, ._prizes_4gms8_85) {
  width: auto !important;
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 6px;
}
html :is(._top_1gi8r_36, ._top_4gms8_25) :is(._play_1gi8r_76, ._prizes_1gi8r_96, ._play_4gms8_65, ._prizes_4gms8_85) + * {
  border-left: 0.5px solid var(--lg-line);
}
html :is(._top_1gi8r_36, ._top_4gms8_25) svg { display: none !important; }
html :is(._top_1gi8r_36 ._k_1gi8r_84, ._top_4gms8_25 ._k_4gms8_73) {
  font: 600 17px/22px var(--lg-font) !important;
  color: var(--lg-text) !important;
  font-variant-numeric: tabular-nums;
}
html :is(._top_1gi8r_36 ._k_1gi8r_84, ._top_4gms8_25 ._k_4gms8_73):empty::before { content: "—"; color: var(--lg-text-3); }
html :is(._prizes_1gi8r_96 ._k_1gi8r_84, ._prizes_4gms8_85 ._k_4gms8_73) { color: var(--mtt-gold) !important; }
html :is(._top_1gi8r_36 ._parent_1gi8r_112, ._top_4gms8_25 ._parent_4gms8_101) { width: auto !important; }
html :is(._top_1gi8r_36 ._remainingPlayers_1gi8r_69, ._top_4gms8_25 ._remainingPlayers_4gms8_58) {
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--lg-text-2) !important;
  text-transform: none !important;
  white-space: nowrap;
}

/* 列表表头（用户名 / 排名 / 奖品…）：说明色 13 */
html :is(._titleEntry_1gi8r_256, ._titleRank_1gi8r_134, ._titleRankKO_1gi8r_186, ._titlePrize_4gms8_123) {
  height: 20px !important;
  margin: 16px 0 8px !important;
  font-size: 13px !important;
  line-height: 20px !important;
  color: var(--lg-text-2) !important;
}
html ._titlePrize_4gms8_123 {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 28px !important;
  box-sizing: border-box;
}
html ._titlePrize_4gms8_123 > * { position: static !important; }
html ._titleEntry_1gi8r_256 {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 0 28px !important;
  box-sizing: border-box;
}
html ._titleEntry_1gi8r_256 > * { position: static !important; transform: none !important; }

/* 奖品行：名次图标在左，奖品在右 */
html ._prizeItem_4gms8_154 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px;
  width: calc(100% - 24px) !important;
  height: auto !important;
  min-height: 52px;
  margin: 0 12px 8px !important;
  padding: 8px 16px !important;
  box-sizing: border-box !important;
  border-radius: 14px !important;
  background: var(--lg-surface-strong) !important;
  border: 0.5px solid var(--lg-glass-border) !important;
  box-shadow: 0 2px 10px var(--lg-glass-shadow) !important;
}
html ._prizeItem_4gms8_154 > div:empty { display: none !important; }
html ._prizeItem_4gms8_154 :is(._icoSecondIcon_4gms8_163, ._rankText_4gms8_170) {
  position: static !important;
  transform: none !important;
  flex: none;
}
html ._prizeItem_4gms8_154 ._icoSecondIcon_4gms8_163 { width: 26px !important; height: 26px !important; }
html ._prizeItem_4gms8_154 ._rankText_4gms8_170 {
  min-width: 26px;
  text-align: center !important;
  font: 600 15px/20px var(--lg-font) !important;
  color: var(--lg-text-2) !important;
}
html ._prizeItem_4gms8_154 ._prizeItemContent_4gms8_181 {
  position: static !important;
  width: auto !important;
  height: auto !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}
html ._prizeItem_4gms8_154 ._prizeItemTicket_4gms8_193 {
  flex-direction: row !important;
  gap: 8px !important;
}
html ._prizeItem_4gms8_154 ._prizeItemTicketIcon_4gms8_200 { width: 36px !important; height: 18px !important; }
html ._prizeItem_4gms8_154 :is(._prizeItemTicketName_4gms8_205, ._cashValue_4gms8_225, ._prizeItemTicketPlus_4gms8_209) {
  font: 600 15px/20px var(--lg-font) !important;
  color: var(--lg-text) !important;
  font-variant-numeric: tabular-nums;
}
html ._prizeItem_4gms8_154 ._icoUstdIcon_4gms8_220 { width: 18px !important; height: 18px !important; }
html ._prizeTicketTips_4gms8_229 {
  width: calc(100% - 24px) !important;
  height: auto !important;
  margin: 4px 12px 12px !important;
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--lg-text-2) !important;
}

/* 底部「奖品以最终奖池为准」提示：去掉绿色渐变条，改成说明文字 */
html ._tips_b8hjr_1 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  height: auto !important;
  padding: 8px 16px !important;
  box-sizing: border-box;
  background: transparent !important;
  color: var(--lg-text-2) !important;
}
html ._tips_b8hjr_1 ._icoNoticeIcon_b8hjr_17 { width: 14px !important; height: 14px !important; margin: 0 !important; opacity: .6; }
html ._tips_b8hjr_1 ._prizesAreBased_b8hjr_24 {
  position: static !important;
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--lg-text-2) !important;
}

/* 参赛名单行：只换外观，内部列位置沿用原版（宽度同为 3.55rem） */
html :is(._rankItem_1gi8r_286, ._rankItemKO_1gi8r_425) {
  margin-bottom: 8px !important;
  border-radius: 14px !important;
  background: var(--lg-surface-strong) !important;
  border: 0.5px solid var(--lg-glass-border) !important;
  box-shadow: 0 2px 10px var(--lg-glass-shadow) !important;
  font-size: 15px !important;
  color: var(--lg-text) !important;
}
html :is(._rankItem_1gi8r_286, ._rankItemKO_1gi8r_425) ._rankText_1gi8r_357 { color: var(--lg-text-2) !important; }
html :is(._entryContainer_1gi8r_1, ._prizeContainer_4gms8_1) .emptyContainer .tip {
  font-size: 15px !important;
  color: var(--lg-text-2) !important;
}
/* 奖品行外层是无类名的 div（flex 子项会收缩到内容宽度），撑满整行 */
html ._prizeContainer_4gms8_1 ._content_4gms8_10 > div:not([class]),
html ._entryContainer_1gi8r_1 ._content_1gi8r_10 ._rankList_1gi8r_29 {
  width: 100% !important;
  align-self: stretch;
}

/* ---------- 详情页 · 买入栏：主值 + 服务费，三栏等宽不溢出 ---------- */
html ._detailContainer_1hp19_1 :is(._icoUstdParent_1hp19_80, ._parent_1hp19_129, ._icoPeopleParent_1hp19_152) {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  justify-content: center;
}
html ._detailContainer_1hp19_1 :is(._icoUstdParent_1hp19_80, ._parent_1hp19_129, ._icoPeopleParent_1hp19_152) > :is(div, span) {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
html ._detailContainer_1hp19_1 ._icoUstdParent_1hp19_80 svg { display: none !important; }
html ._detailContainer_1hp19_1 ._icoUstdParent_1hp19_80.mtt-d-split > :not(.mtt-d-main) { display: none !important; }
html ._detailContainer_1hp19_1 .mtt-d-main { color: var(--lg-text) !important; }
html ._detailContainer_1hp19_1 .mtt-d-fee {
  max-width: 100%;
  margin-top: -2px !important;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px !important;
  line-height: 16px !important;
  color: var(--lg-text-3) !important;
  font-variant-numeric: tabular-nums;
}

/* ---------- 详情页 · 比赛介绍 ---------- */
html ._detailContainer_1hp19_1 .mtt-d-intro {
  flex: none;
  width: calc(100% - 24px);
  margin: 12px 12px 0;
  padding: 16px;
  box-sizing: border-box;
  border-radius: var(--lg-r-card, 18px);
  background: var(--lg-surface-strong);
  border: 0.5px solid var(--lg-glass-border);
  box-shadow: inset 0 1px 0 var(--lg-glass-hi, rgba(255,255,255,.6)), 0 6px 20px var(--lg-glass-shadow);
  font-family: var(--lg-font);
  text-align: left;
}
html ._detailContainer_1hp19_1 .mtt-d-intro-title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
  color: var(--lg-text);
}
html ._detailContainer_1hp19_1 .mtt-d-intro-body {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--lg-text-2);
}
html ._detailContainer_1hp19_1 .mtt-d-intro-tip {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 0.5px solid var(--lg-line);
  font-size: 13px;
  line-height: 18px;
  color: var(--lg-text-3);
}
html ._detailContainer_1hp19_1 .mtt-d-intro-tip:empty { display: none; }

/* =====================================================================
 * 收敛（清单第 56 项「太 AI」）：参照 iOS 系统应用 / Telegram
 * - 表面中性、无装饰阴影和发光；圆角收小（卡片 12、按钮 8）
 * - 不用胶囊标签：类型用小号次要文字放在名字前
 * - 彩色插画图标去掉或改成单色；层级靠字重 / 字号 / 留白
 * - 强调色只给可点击元素和关键数字（临近开赛的倒计时用红色提示）
 * 本段放在文件末尾，覆盖前面的同名规则。
 * ===================================================================== */
:root { --mtt-r: 12px; --mtt-r-btn: 8px; }

/* ---------- 列表卡片 ---------- */
.mtt-card {
  border-radius: var(--mtt-r) !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background: var(--lg-surface-strong) !important;
  padding: 4px 16px 14px !important;
  margin-bottom: 10px !important;
}
.mtt-card:active { transform: none; background: var(--lg-fill) !important; }
.mtt-head { min-height: 46px; }
.mtt-title { gap: 8px; }

/* 类型：不再是胶囊，改成名字前的次要文字 */
.mtt-tag,
.mtt-tag--regular, .mtt-tag--satellite, .mtt-tag--bounty, .mtt-tag--lucky, .mtt-tag--spinup {
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: var(--lg-text-2) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 22px !important;
}
.mtt-tag--title { margin-right: 6px !important; vertical-align: 0 !important; font-size: 15px !important; font-weight: 400 !important; }

/* 按钮：实色、小圆角、无阴影 */
.mtt-btn {
  height: 32px !important;
  min-width: 64px !important;
  padding: 0 14px !important;
  border-radius: var(--mtt-r-btn) !important;
  box-shadow: none !important;
  font-size: 15px !important;
  line-height: 32px !important;
}
.mtt-btn--registed, .mtt-btn--observe { background: var(--lg-fill) !important; color: var(--lg-accent) !important; }

/* 数值：中性色；只有 10 分钟内的倒计时用红色 */
.mtt-gold, .mtt-free, .mtt-green, .mtt-orange { color: var(--lg-text) !important; }
.mtt-gold { font-weight: 600 !important; }
.mtt-stats { margin-top: 2px; padding-top: 10px; }

/* 二级筛选：文字分段，选中用中性底，不用实心彩色胶囊 */
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab .rv-tab__text {
  height: 30px !important;
  line-height: 30px !important;
  padding: 0 12px !important;
  border-radius: var(--mtt-r-btn) !important;
  background: transparent !important;
  color: var(--lg-text-2) !important;
  font-size: 15px !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab--active .rv-tab__text {
  background: var(--lg-fill) !important;
  color: var(--lg-text) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__nav { gap: 2px !important; }

.mtt-toast {
  border-radius: var(--mtt-r) !important;
  border: 0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .12) !important;
}

/* ---------- 详情 / 参赛 / 奖品：卡片 ---------- */
html ._detailContainer_1hp19_1 :is(._top_1hp19_25, ._time_1hp19_166, ._status_1hp19_344, ._blind_1hp19_302),
html ._detailContainer_1hp19_1 .mtt-d-intro,
html :is(._entryContainer_1gi8r_1 ._top_1gi8r_36, ._prizeContainer_4gms8_1 ._top_4gms8_25),
html ._prizeItem_4gms8_154,
html :is(._rankItem_1gi8r_286, ._rankItemKO_1gi8r_425) {
  border-radius: var(--mtt-r) !important;
  border: 0 !important;
  box-shadow: none !important;
  background: var(--lg-surface-strong) !important;
}
html ._prizeItem_4gms8_154, html :is(._rankItem_1gi8r_286, ._rankItemKO_1gi8r_425) { border-radius: 10px !important; }

/* 分段控件：iOS 风格，选中项白底细阴影即可 */
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar { border-radius: 9px !important; height: 36px !important; padding: 2px !important; }
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item { height: 32px !important; border-radius: 7px !important; }
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item--active { box-shadow: 0 1px 3px rgba(0, 0, 0, .1) !important; }
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item__text { font-size: 13px !important; }

/* 倒计时：去掉玻璃方块，大号等宽数字 + 弱化冒号 */
html ._detailContainer_1hp19_1 ._time1_1hp19_228 { gap: 2px !important; }
html ._detailContainer_1hp19_1 ._time1_1hp19_228 > :is(._div_1hp19_67, ._div3_1hp19_257, ._div4_1hp19_263) {
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font: 300 44px/1.1 var(--lg-font) !important;
  letter-spacing: 0 !important;
  font-variant-numeric: tabular-nums;
}
html ._detailContainer_1hp19_1 ._time1_1hp19_228 > :is(._div1_1hp19_67, ._div2_1hp19_250) {
  font: 300 36px/1.1 var(--lg-font) !important;
  padding-bottom: 4px !important;
}

/* 数值颜色：中性；金额不再用金 / 绿 */
html ._detailContainer_1hp19_1 :is(._icoUstdParent_1hp19_80 > div, ._icoUstdParent_1hp19_80 > div[class], ._prizes_1hp19_136 ._parent_1hp19_129 > div),
html :is(._prizes_1gi8r_96 ._k_1gi8r_84, ._prizes_4gms8_85 ._k_4gms8_73) {
  color: var(--lg-text) !important;
}

/* 图标：去掉彩色插画（休息时钟、盲注结构、奖牌、门票、USDT），说明小图标改单色 */
html ._detailContainer_1hp19_1 ._status_1hp19_344 ._group_1hp19_460 svg,
html ._detailContainer_1hp19_1 ._blind_1hp19_302 ._icoBlindIcon_1hp19_535,
html ._prizeItem_4gms8_154 :is(._icoSecondIcon_4gms8_163, ._prizeItemTicketIcon_4gms8_200, ._icoUstdIcon_4gms8_220),
html :is(._rankItem_1gi8r_286, ._rankItemKO_1gi8r_425) :is(._icoFirstIcon_1gi8r_350, ._icoUstdIcon_1gi8r_319) {
  display: none !important;
}
html :is(._blindHelp_1hp19_302, ._addonTips_1hp19_774, ._icoNoticeIcon_b8hjr_17),
html ._blind_1hp19_302 > ._icon_1hp19_124 {
  filter: grayscale(1) !important;
  opacity: .45 !important;
}
html ._detailContainer_1hp19_1 ._blind_1hp19_302 { padding-left: 16px !important; }
html ._detailContainer_1hp19_1 ._blind_1hp19_302 > ._statTime_1hp19_194 { font-weight: 400 !important; font-size: 17px !important; }

/* 奖品名次：用数字代替彩色奖牌 */
html ._prizeContainer_4gms8_1 ._content_4gms8_10 > div:not([class]) { counter-reset: lgrank; }
html ._prizeItem_4gms8_154 { counter-increment: lgrank; }
html ._prizeItem_4gms8_154::before {
  content: counter(lgrank);
  min-width: 26px;
  font: 600 17px/22px var(--lg-font);
  color: var(--lg-text);
  font-variant-numeric: tabular-nums;
}
html ._prizeItem_4gms8_154 > ._rankText_4gms8_170 { display: none !important; }
html ._prizeItem_4gms8_154 :is(._prizeItemTicketName_4gms8_205, ._cashValue_4gms8_225, ._prizeItemTicketPlus_4gms8_209) { font-weight: 500 !important; }

/* 底部报名栏：实色按钮，圆角 12，无发光；栏用中性底 + 细线 */
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._button_1swwq_80 {
  border-radius: 12px !important;
  box-shadow: none !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 {
  background: var(--lg-surface-strong) !important;
}

/* 比赛介绍：标题与正文用字号 / 字重区分 */
html ._detailContainer_1hp19_1 .mtt-d-intro-title { font-size: 17px !important; }


/* =====================================================================
 * 适度色彩（清单第 58、60 项）：在收敛基础上加回有含义的颜色
 * - 类型标签：浅色底 + 同色文字（常规蓝、猎人橙、卫星紫、推推乐粉、SPINUP 青）
 * - 关键金额（奖池）金色；免费 / 进行中绿色；即将开始橙色；10 分钟内红色
 * - 报名按钮：品牌紫实色
 * ===================================================================== */
:root {
  --mtt-t-regular: #2f6fdc;   --mtt-t-regular-bg: rgba(47, 111, 220, .12);
  --mtt-t-bounty: #c9620c;    --mtt-t-bounty-bg: rgba(230, 120, 20, .14);
  --mtt-t-satellite: #7a4fe0; --mtt-t-satellite-bg: rgba(122, 79, 224, .12);
  --mtt-t-lucky: #cc3a80;     --mtt-t-lucky-bg: rgba(210, 63, 134, .12);
  --mtt-t-spinup: #0d8799;    --mtt-t-spinup-bg: rgba(15, 143, 163, .13);
}
:root[data-lg-theme="dark"] {
  --mtt-t-regular: #78acff;   --mtt-t-regular-bg: rgba(106, 166, 255, .16);
  --mtt-t-bounty: #ffa257;    --mtt-t-bounty-bg: rgba(255, 160, 77, .16);
  --mtt-t-satellite: #b69dff; --mtt-t-satellite-bg: rgba(180, 155, 255, .17);
  --mtt-t-lucky: #ff7fbb;     --mtt-t-lucky-bg: rgba(255, 122, 184, .16);
  --mtt-t-spinup: #5ad6e6;    --mtt-t-spinup-bg: rgba(79, 211, 227, .15);
}
.mtt-tag {
  height: 20px !important;
  padding: 0 6px !important;
  border-radius: 5px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
}
.mtt-tag--regular   { color: var(--mtt-t-regular) !important;   background: var(--mtt-t-regular-bg) !important; }
.mtt-tag--bounty    { color: var(--mtt-t-bounty) !important;    background: var(--mtt-t-bounty-bg) !important; }
.mtt-tag--satellite { color: var(--mtt-t-satellite) !important; background: var(--mtt-t-satellite-bg) !important; }
.mtt-tag--lucky     { color: var(--mtt-t-lucky) !important;     background: var(--mtt-t-lucky-bg) !important; }
.mtt-tag--spinup    { color: var(--mtt-t-spinup) !important;    background: var(--mtt-t-spinup-bg) !important; }
.mtt-tag--title { font-size: 12px !important; vertical-align: 2px !important; }

/* 状态色 */
.mtt-gold   { color: var(--mtt-gold) !important; font-weight: 700 !important; }
.mtt-free   { color: var(--mtt-green) !important; }
.mtt-green  { color: var(--mtt-green) !important; }
.mtt-orange { color: var(--mtt-orange) !important; }
.mtt-red    { color: var(--mtt-red) !important; }

/* 报名按钮：品牌紫实色 */
.mtt-btn--register { background: var(--lg-accent) !important; color: #fff !important; }

/* 详情页：奖池金色、免费绿色、付费金额正文色 */
html ._detailContainer_1hp19_1 ._prizes_1hp19_136 ._parent_1hp19_129 > div,
html :is(._prizes_1gi8r_96 ._k_1gi8r_84, ._prizes_4gms8_85 ._k_4gms8_73) { color: var(--mtt-gold) !important; }
/* 免费：原版此时没有 USDT 图标 */
html ._detailContainer_1hp19_1 ._icoUstdParent_1hp19_80:not(:has(svg)) > div { color: var(--mtt-green) !important; }

/* 详情页汇总卡右上角：分享（单色线性图标，点击区 36×36） */
html ._detailContainer_1hp19_1 ._top_1hp19_25 { position: relative !important; }
html ._detailContainer_1hp19_1 ._top_1hp19_25 > .mtt-d-share {
  position: absolute !important;
  top: 2px;
  right: 2px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--lg-text-2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
html ._detailContainer_1hp19_1 ._top_1hp19_25 > .mtt-d-share:active { background: var(--lg-fill); }
html ._detailContainer_1hp19_1 ._top_1hp19_25 > .mtt-d-share svg { display: block !important; width: 18px !important; height: 18px !important; }

/* 详情页标题标签：文字来自 data-label（不进入标题 textContent） */
.mtt-tag--title::before { content: attr(data-label); }


/* =====================================================================
 * 苹果味（清单第 61 项，iOS 26 / HIG）：该用胶囊的地方用胶囊
 * - 主操作「报名」：品牌紫实色胶囊；次要操作（已报名 / 观战 / 进入 / 查看全部）：tinted 胶囊
 * - 筛选栏：胶囊，未选中浅灰填充，选中品牌紫
 * - 类型标签：5 圆角小矩形（见第 60 项）；卡片：16 圆角实色表面，无阴影描边
 * - 分段控件：外框 9、内项 7
 * ===================================================================== */
:root { --mtt-r: 16px; --mtt-tint: color-mix(in srgb, var(--lg-accent) 15%, transparent); }

/* 卡片 */
.mtt-card { border-radius: 16px !important; }
html ._detailContainer_1hp19_1 :is(._top_1hp19_25, ._time_1hp19_166, ._status_1hp19_344, ._blind_1hp19_302),
html ._detailContainer_1hp19_1 .mtt-d-intro,
html :is(._entryContainer_1gi8r_1 ._top_1gi8r_36, ._prizeContainer_4gms8_1 ._top_4gms8_25) {
  border-radius: 16px !important;
}
html ._prizeItem_4gms8_154, html :is(._rankItem_1gi8r_286, ._rankItemKO_1gi8r_425) { border-radius: 12px !important; }

/* 列表按钮：胶囊 */
.mtt-btn { border-radius: 999px !important; padding: 0 16px !important; }
.mtt-btn--register, .mtt-btn--latereg { background: var(--lg-accent) !important; color: #fff !important; }
.mtt-btn--registed, .mtt-btn--observe, .mtt-btn--enter {
  background: var(--lg-accent-soft) !important;
  background: var(--mtt-tint) !important;
  color: var(--lg-accent) !important;
}
.mtt-btn--finished { background: var(--lg-fill) !important; color: var(--lg-text-3) !important; }

/* 筛选栏：胶囊 */
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__nav { gap: 8px !important; }
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab .rv-tab__text {
  height: 32px !important;
  line-height: 32px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: var(--lg-fill) !important;
  color: var(--lg-text) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab--active .rv-tab__text {
  background: var(--lg-accent) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* 详情页分段控件：iOS 比例 */
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar { border-radius: 9px !important; }
html ._matchContainer_1swwq_1 ._tabbarLayer_1swwq_24 .rv-tabbar-item { border-radius: 7px !important; }

/* 详情页底部按钮：胶囊；主操作实色，次要操作 tinted */
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 ._button_1swwq_80 { border-radius: 999px !important; }
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 :is(._statusStyleBtnRegister_1swwq_92, ._statusStyleBtnLateReg_1swwq_98) {
  background: var(--lg-accent) !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 :is(._statusStyleBtnRegisted_1swwq_95, ._statusStyleBtnObserve_1swwq_104, ._statusStyleBtnEnter_1swwq_101) {
  background: var(--lg-accent-soft) !important;
  background: var(--mtt-tint) !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 :is(._statusStyleBtnRegisted_1swwq_95, ._statusStyleBtnObserve_1swwq_104, ._statusStyleBtnEnter_1swwq_101) :is(.rv-button__text, .title, .title *) {
  color: var(--lg-accent) !important;
}

/* 详情页分享图标：tinted 圆形 */
html ._detailContainer_1hp19_1 ._top_1hp19_25 > .mtt-d-share { border-radius: 999px; color: var(--lg-accent); }

html ._detailContainer_1hp19_1 ._top_1hp19_25 > .mtt-d-share[hidden] { display: none !important; }


/* =====================================================================
 * 层级修正（第 61 项比赛部分）：二级不能比一级显眼
 * 一级分段控件（比赛 / 德州扑克 / 娱乐城）实测 15px / 500
 * - 赛事分类：胶囊 高 32、左右 14、14px / 500；未选中浅灰底 + 次要文字，选中品牌紫 + 白字
 * - 间距 8、左边距 16、横向滚动；右侧筛选图标 = 同高 32 的圆形胶囊
 * - 卡片标题 16 / 600；列表按钮 高 30、14px（「查看全部」为 tinted 小胶囊）
 * ===================================================================== */
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__wrap {
  height: 48px !important;
  overflow: visible !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__nav {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 8px 0 16px !important;
  overflow-x: auto !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__nav::-webkit-scrollbar { display: none; }
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab .rv-tab__text,
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab--active .rv-tab__text {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: 32px !important;
  line-height: 32px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab:not(.rv-tab--active) .rv-tab__text {
  background: var(--lg-fill) !important;
  color: var(--lg-text-2) !important;
}
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab--active .rv-tab__text {
  background: var(--lg-accent) !important;
  color: #fff !important;
}
/* 隐藏占位 tab（原版用来撑宽度的空 tab） */
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab:has(> .rv-tab__text:empty) { display: none !important; }

/* 右侧筛选图标：圆形胶囊 */
html .mtt-pane ._tabFilter_ealz5_75 {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 16px 0 4px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: var(--lg-fill) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  box-shadow: none !important;
}
html .mtt-pane ._tabFilter_ealz5_75 svg {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  color: var(--lg-text-2) !important;
}
html .mtt-pane ._mttTabsContainer_ealz5_71 {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  align-items: center !important;
  background: transparent !important;
}
html .mtt-pane ._mttTabsContainer_ealz5_71 > ._twoLevelTabs_ealz5_34 { flex: 1 1 auto; min-width: 0; }

/* 卡片标题 16 / 600 */
.mtt-name { font-size: 16px !important; line-height: 21px !important; font-weight: 600 !important; }

/* 列表按钮：高 30、14px（主操作实色胶囊；查看全部等次要操作 tinted 小胶囊） */
.mtt-btn {
  height: 30px !important;
  line-height: 30px !important;
  min-width: 60px !important;
  padding: 0 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}
.mtt-btn::before { inset: -7px -4px; }


/* =====================================================================
 * 详情页分享移到底部栏（报名按钮右侧）
 * - 底部栏：报名按钮占剩余宽度，右侧 52×52 圆形 tinted 分享按钮，间距 10，左右 16
 * - 原版标题栏的分享图标隐藏（留在 DOM 供转发）；shell 收起标题时不再留 44px 操作栏
 * - 分段控件距顶部 12；内容区用 flex 填满，滚到底时介绍卡不被底部栏遮挡
 * 只在底部栏里已有 .mtt-d-share 时生效，脚本没跑起来时保持原版
 * ===================================================================== */
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66:has(> .mtt-d-share) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66:has(> .mtt-d-share) > ._button_1swwq_80 {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: 52px !important;
  margin: 0 !important;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 > .mtt-d-share {
  flex: none;
  width: 52px;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mtt-tint, color-mix(in srgb, var(--lg-accent) 15%, transparent));
  color: var(--lg-accent);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .15s;
}
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 > .mtt-d-share:active { opacity: .6; }
html ._matchContainer_1swwq_1 ._btnLayer_1swwq_66 > .mtt-d-share svg { display: block; width: 22px; height: 22px; }

/* 原版分享图标隐藏 */
html ._matchContainer_1swwq_1:has(._btnLayer_1swwq_66 > .mtt-d-share) > .page-header .rv-nav-bar__right {
  visibility: hidden !important;
  pointer-events: none !important;
}
/* shell 把标题放到顶部行时：页内标题栏整条收起（不留 44px 操作栏） */
html.lg-is-subhead .popup-wrapper ._matchContainer_1swwq_1:has(._btnLayer_1swwq_66 > .mtt-d-share) > .page-header,
html.lg-is-subhead .popup-wrapper ._matchContainer_1swwq_1:has(._btnLayer_1swwq_66 > .mtt-d-share) > .page-header:has(.rv-nav-bar__right > *),
html.lg-is-subhead .popup-wrapper ._matchContainer_1swwq_1:has(._btnLayer_1swwq_66 > .mtt-d-share) > .page-header :is(.rv-nav-bar, .rv-nav-bar__content) {
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
/* 分段控件距上方 12 */
html ._matchContainer_1swwq_1:has(._btnLayer_1swwq_66 > .mtt-d-share) ._tabbarLayer_1swwq_24 {
  padding-top: 12px !important;
}
/* 内容区填满容器剩余高度，底部栏永远在滚动区下方 */
html ._matchContainer_1swwq_1:has(._btnLayer_1swwq_66 > .mtt-d-share) {
  display: flex !important;
  flex-direction: column !important;
}
html ._matchContainer_1swwq_1:has(._btnLayer_1swwq_66 > .mtt-d-share) > ._content_1swwq_14 {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  height: auto !important;
}
html ._matchContainer_1swwq_1:has(._btnLayer_1swwq_66 > .mtt-d-share) ._contentLayer_1swwq_60 {
  flex: 1 1 0 !important;
  min-height: 0 !important;
}
html ._detailContainer_1hp19_1 ._gapBottom_1hp19_20 { height: 28px !important; }


/* =====================================================================
 * 幸运ALLIN赛列表页（清单第 69 项）：.mtt-la = ._recentContainer_*
 * - 横幅：从绝对定位改为流式，左右 16、圆角 16 的卡片，高 128；规则移到下方「玩法说明」卡
 * - 比赛卡：复用 .mtt-card，底部加说明行（第一名奖励 / 最少参赛）
 * - 无比赛时显示 .mtt-empty
 * ===================================================================== */
html .mtt-la [class*="_content_"]:has(> [class*="_list_"]) {
  display: flex !important;
  flex-direction: column !important;
  background: var(--lg-bg, transparent);
}
/* 横幅卡 */
html .mtt-la [class*="_top_zackl_"],
html .mtt-la [class^="_top_"]:has(> [class*="_topInforea_"]) {
  order: 0;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  flex: none;
  height: 128px !important;
  margin: 12px 16px 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
html .mtt-la [class*="_topBg_"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
html .mtt-la [class*="_topInforea_"] {
  position: absolute !important;
  inset: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 22px 16px 0 !important;
  box-sizing: border-box !important;
}
html .mtt-la [class*="_topInfoH1_"] {
  position: static !important;
  font: 700 20px/26px var(--lg-font) !important;
  margin: 0 !important;
}
html .mtt-la [class*="_topInfoH2_"] {
  position: static !important;
  font: 400 13px/18px var(--lg-font) !important;
  margin: 4px 0 0 !important;
  opacity: .85;
}
html .mtt-la [class*="_topInfoH3Area_"] { display: none !important; }
html .mtt-la [class*="_topTitle_"] {
  position: absolute !important;
  top: auto !important;
  bottom: 14px !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  text-align: center !important;
  font: 500 14px/24px var(--lg-font) !important;
  color: #fff !important;
}

/* 玩法说明卡（iOS 分组列表） */
.mtt-la .mtt-la-rules {
  order: 1;
  flex: none;
  margin: 12px 16px 0;
  padding: 14px 0 4px;
  border-radius: 16px;
  background: var(--lg-surface-strong);
  font-family: var(--lg-font);
  color: var(--lg-text);
}
.mtt-la .mtt-la-rules-title {
  padding: 0 16px 6px;
  font: 600 17px/22px var(--lg-font);
}
.mtt-la .mtt-la-rules-list { list-style: none; margin: 0; padding: 0; }
.mtt-la .mtt-la-rules-list > li {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  padding: 10px 16px;
}
.mtt-la .mtt-la-rules-list > li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  right: 0;
  border-top: 0.5px solid var(--lg-line);
}
.mtt-la .mtt-la-num {
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--mtt-tint);
  color: var(--lg-accent);
  font: 600 13px/22px var(--lg-font);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.mtt-la .mtt-la-term { font: 600 15px/22px var(--lg-font); }
.mtt-la .mtt-la-term:empty { display: none; }
.mtt-la .mtt-la-desc { font: 400 14px/20px var(--lg-font); color: var(--lg-text-2); }

/* 比赛列表 */
html .mtt-la [class*="_list_"]:has(> .mtt-list) {
  order: 2;
  flex: none;
  margin-top: 12px !important;
  height: auto !important;
}
html .mtt-la .mtt-list {
  padding-top: 0 !important;
  padding-bottom: calc(24px + var(--tg-safe-bottom, env(safe-area-inset-bottom, 0px))) !important;
  height: auto !important;
}
html .mtt-la .mtt-card { margin: 0 16px 12px !important; }
html .mtt-la .mtt-list > .emptyContainer,
html .mtt-la .mtt-list:has(> .mtt-empty) > :not(.mtt-empty) { display: none !important; }

/* 卡片底部说明行 */
.mtt-card > .mtt-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 0.5px solid var(--lg-line);
  font: 400 13px/18px var(--lg-font);
  color: var(--lg-text-2);
  font-variant-numeric: tabular-nums;
}
.mtt-card > .mtt-foot > span:empty { display: none; }

/* 空状态 */
.mtt-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 32px 24px;
  text-align: center;
  font-family: var(--lg-font);
}
.mtt-empty-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lg-fill);
  color: var(--lg-text-3);
  margin-bottom: 14px;
}
.mtt-empty-title { font: 600 17px/22px var(--lg-font); color: var(--lg-text); }
.mtt-empty-sub { margin-top: 4px; font: 400 14px/20px var(--lg-font); color: var(--lg-text-2); }
/* 横幅：原版固定宽 390 + left:50%/translateX(-50%) 居中，改为随卡片宽度 */
html .mtt-la [class*="_top_zackl_"],
html .mtt-la [class^="_top_"]:has(> [class*="_topInforea_"]) { width: auto !important; }
html .mtt-la [class*="_topInforea_"] { width: auto !important; }
html .mtt-la :is([class*="_topInfoH1_"], [class*="_topInfoH2_"], [class*="_topTitle_"]) {
  transform: none !important;
  left: auto;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
html .mtt-la [class*="_topTitle_"] { left: 0 !important; right: 0 !important; }


/* =====================================================================
 * 清晰、直接（比赛页反馈）：每张卡一眼看到 开赛时间 / 奖池 / 报名费 / 状态
 * - 第一行：类型标签 + 至多一个特性标签（保底）+ 比赛名 16/600
 * - 第二行：开赛时间或状态 15/600 带状态色；右侧人数 13/400
 * - 第三行：奖池 22/700 金色；右侧唯一主按钮（报名 $5 / 免费报名 / 已报名 / 进入 / 观战 / 已截止）
 * - 按状态和时间分组（.mtt-group），已报名用紫色左边条
 * - 次要文字统一 --lg-text-2，一种灰
 * ===================================================================== */
.mtt-grouped { display: flex !important; flex-direction: column !important; }
.mtt-group {
  padding: 14px 20px 8px;
  font: 600 13px/18px var(--lg-font);
  color: var(--lg-text-2);
  letter-spacing: .2px;
}
.mtt-list.mtt-grouped { padding-top: 0 !important; }

html .mtt-card {
  padding: 14px 16px !important;
  margin: 0 12px 10px !important;
}
html .mtt-card .mtt-head {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 0 !important;
}
html .mtt-card .mtt-name {
  flex: 1 1 auto;
  min-width: 0;
  font: 600 16px/22px var(--lg-font) !important;
  color: var(--lg-text) !important;
}
html .mtt-card .mtt-tag--feat {
  color: var(--mtt-gold) !important;
  background: color-mix(in srgb, var(--mtt-gold) 15%, transparent) !important;
}
html .mtt-card .mtt-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
html .mtt-card .mtt-when {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 600 15px/20px var(--lg-font);
  color: var(--lg-text);
  font-variant-numeric: tabular-nums;
}
html .mtt-card .mtt-when.mtt-muted { color: var(--lg-text-2) !important; }
html .mtt-card .mtt-players {
  flex: none;
  font: 400 13px/18px var(--lg-font);
  color: var(--lg-text-2);
  font-variant-numeric: tabular-nums;
}
html .mtt-card .mtt-players:empty { display: none; }
html .mtt-card .mtt-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
html .mtt-card .mtt-prize { display: flex; flex-direction: column; min-width: 0; }
html .mtt-card .mtt-prize .mtt-label {
  margin: 0 !important;
  font: 400 13px/18px var(--lg-font) !important;
  color: var(--lg-text-2) !important;
  text-align: left !important;
}
html .mtt-card .mtt-prize .mtt-label:empty { display: none; }
html .mtt-card .mtt-prize .mtt-value {
  margin: 0 !important;
  font: 700 22px/28px var(--lg-font) !important;
  letter-spacing: -0.3px;
  text-align: left !important;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html .mtt-card .mtt-prize .mtt-value.mtt-gold { color: var(--mtt-gold) !important; }
html .mtt-card .mtt-prize .mtt-value--plain {
  font: 600 17px/24px var(--lg-font) !important;
  color: var(--lg-text) !important;
}
html .mtt-card .mtt-btn {
  height: 36px !important;
  line-height: 36px !important;
  min-width: 88px !important;
  max-width: 60%;
  padding: 0 18px !important;
  border-radius: 999px !important;
  font: 600 15px/36px var(--lg-font) !important;
  overflow: hidden;
  text-overflow: ellipsis;
}
html .mtt-card .mtt-btn::before { inset: -4px -4px; }
html .mtt-card .mtt-btn--primary { background: var(--lg-accent) !important; color: #fff !important; }
html .mtt-card .mtt-btn--tint { background: var(--mtt-tint) !important; color: var(--lg-accent) !important; }
html .mtt-card .mtt-btn--off {
  background: var(--lg-fill) !important;
  color: var(--lg-text-2) !important;
  cursor: default;
}
html .mtt-card .mtt-btn--off:active { transform: none; opacity: 1; }
/* 已报名：紫色左边条 */
html .mtt-card.is-registered { box-shadow: inset 3px 0 0 var(--lg-accent) !important; }

/* 示例数据说明：同一种次要灰 */
.mtt-demo { color: var(--lg-text-2) !important; }

/* 顶部类型胶囊压紧：行高 44、胶囊 30、间距 6 */
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__wrap { height: 44px !important; }
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tabs__nav { gap: 6px !important; padding-left: 12px !important; }
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab { min-height: 44px !important; }
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab .rv-tab__text,
html .mtt-pane ._twoLevelTabs_ealz5_34 .rv-tab--active .rv-tab__text {
  height: 30px !important;
  line-height: 30px !important;
  padding: 0 12px !important;
}
html .mtt-pane ._tabFilter_ealz5_75 { width: 30px !important; height: 30px !important; margin-right: 12px !important; }

/* =====================================================================
 * 票据式卡片（比赛卡片视觉重做）：.mtt-card.mtt-tk
 * - 左：时间块 56 宽、圆角 12、浅底（亮：品牌紫 8%，暗：白 6%）；大字 17/700 等宽，小字 11/500
 * - 中：类型标签 + 比赛名 16/600；「保底」11/500 + 奖池 20/700 琥珀金；13/400「报名 $10 · 18/500 人」+ 2px 进度条
 * - 右：按钮高 32、左右 14、15/600，垂直居中；已报名 = 浅紫底 + 对勾（不再用左边竖条）
 * - 卡片：圆角 16，内边距 12 14，间距 8，无阴影；亮白底，暗 #1A1825
 * - 幸运ALLIN赛入口（.mtt-tk--entry）：高 64 横幅，左奖杯块，右「查看 ›」
 * ===================================================================== */
:root {
  --mtt-tk-gold: #b7791f;
  --mtt-tk-card: #fff;
  --mtt-tk-block: color-mix(in srgb, var(--lg-accent) 8%, transparent);
  --mtt-tk-track: rgba(60, 60, 67, 0.10);
}
:root[data-lg-theme="dark"] {
  --mtt-tk-gold: #e9b949;
  --mtt-tk-card: #1a1825;
  --mtt-tk-block: rgba(255, 255, 255, 0.06);
  --mtt-tk-track: rgba(255, 255, 255, 0.10);
}

.mtt-group { padding: 14px 20px 8px !important; }
html .mtt-card.mtt-tk {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 88px;
  margin: 0 12px 8px !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  background: var(--mtt-tk-card) !important;
  box-shadow: none !important;
  border: 0 !important;
}
html .mtt-card.mtt-tk.is-registered { box-shadow: none !important; }
html .mtt-card.mtt-tk:active { background: var(--mtt-tk-card) !important; opacity: .7; }
html .mtt-card.mtt-tk:focus-visible { box-shadow: 0 0 0 2px var(--lg-accent) !important; }

/* 时间块 */
.mtt-tk-time {
  flex: none;
  width: 56px;
  align-self: stretch;
  min-height: 56px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-radius: 12px;
  background: var(--mtt-tk-block);
  color: var(--lg-text);
  text-align: center;
  overflow: hidden;
}
.mtt-tk-big {
  display: flex;
  align-items: center;
  gap: 3px;
  font: 700 17px/20px var(--lg-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.mtt-tk-sub {
  font: 500 11px/13px var(--lg-font);
  color: var(--lg-text-2);
  white-space: nowrap;
  max-width: 56px;
  letter-spacing: -0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mtt-tk-sub:empty { display: none; }
.mtt-tk--orange .mtt-tk-big { color: var(--mtt-orange); }
.mtt-tk--red .mtt-tk-big { color: var(--mtt-red); }
.mtt-tk--muted .mtt-tk-big { color: var(--lg-text-2); }
.mtt-tk--green .mtt-tk-big { color: var(--mtt-green); font-size: 13px; line-height: 16px; letter-spacing: 0; }
.mtt-tk-time.has-dot .mtt-tk-big::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.mtt-tk--lucky { color: var(--mtt-pink); background: color-mix(in srgb, var(--mtt-pink) 12%, transparent); }

/* 内容区 */
.mtt-tk-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.mtt-tk-l1 { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.mtt-tk-row { display: flex; align-items: center; gap: 10px; margin-top: 2px; min-width: 0; }
.mtt-tk-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
html .mtt-card.mtt-tk .mtt-tag { flex: none; margin: 0 !important; }
.mtt-tk-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
  font: 600 16px/20px var(--lg-font);
  color: var(--lg-text);
}
.mtt-tk-l2 { display: flex; align-items: baseline; gap: 4px; min-width: 0; }
.mtt-tk-plabel { flex: none; font: 500 11px/13px var(--lg-font); color: var(--lg-text-2); }
.mtt-tk-plabel:empty { display: none; }
.mtt-tk-prize {
  font: 700 20px/22px var(--lg-font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
  color: var(--mtt-tk-gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mtt-tk-prize:empty { display: none; }
.mtt-tk-l3 {
  margin-top: 1px;
  font: 400 13px/16px var(--lg-font);
  color: var(--lg-text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mtt-tk-l3:empty { display: none; }
.mtt-tk-bar {
  width: min(140px, 100%);
  height: 2px;
  margin-top: 4px;
  border-radius: 1px;
  background: color-mix(in srgb, var(--lg-text) 8%, transparent);
  overflow: hidden;
}
.mtt-tk-bar[hidden] { display: none; }
.mtt-tk-bar > i { display: block; height: 100%; min-width: 2px; border-radius: 1px; background: var(--lg-accent); }
.mtt-tk--muted ~ .mtt-tk-body .mtt-tk-bar > i { background: var(--lg-text-3); }

/* 按钮 */
html .mtt-card.mtt-tk .mtt-btn {
  flex: none;
  align-self: center;
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 32px !important;
  min-width: 0 !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  font: 600 15px/32px var(--lg-font) !important;
  white-space: nowrap;
  box-shadow: none !important;
}
html .mtt-card.mtt-tk .mtt-btn--primary { background: var(--lg-accent) !important; color: #fff !important; }
html .mtt-card.mtt-tk .mtt-btn--tint { background: var(--mtt-tint) !important; color: var(--lg-accent) !important; }
html .mtt-card.mtt-tk .mtt-btn--off { background: var(--lg-fill) !important; color: var(--lg-text-2) !important; }
html .mtt-card.mtt-tk .mtt-btn--check::before {
  content: "";
  position: static;
  inset: auto;
  width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3.5' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* 文字按钮（入口卡「查看 ›」） */
html .mtt-card.mtt-tk .mtt-btn--link {
  background: transparent !important;
  color: var(--lg-accent) !important;
  padding: 0 2px !important;
}

/* 幸运ALLIN赛入口：高 64 横幅 */
html .mtt-card.mtt-tk.mtt-tk--entry { min-height: 64px; padding-top: 12px !important; padding-bottom: 12px !important; }
.mtt-tk--entry .mtt-tk-time { min-height: 40px; height: 40px; align-self: center; }
.mtt-tk--entry .mtt-tk-big { line-height: 0; }
.mtt-tk--entry .mtt-tk-plabel { font: 400 13px/18px var(--lg-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1 1 auto; min-width: 0; }
.mtt-tk--entry .mtt-tk-l2 { margin-top: 2px; }

/* 幸运ALLIN赛列表页：说明行放在内容区最后 */
html .mtt-la .mtt-card.mtt-tk { margin: 0 16px 8px !important; }
.mtt-tk-body > .mtt-foot {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font: 400 12px/16px var(--lg-font);
  color: var(--lg-text-2);
  font-variant-numeric: tabular-nums;
}
.mtt-tk-body > .mtt-foot > span:empty { display: none; }
/* 入口卡：「查看 ›」相对整张卡垂直居中，不占内容区高度 */
html .mtt-card.mtt-tk.mtt-tk--entry .mtt-btn {
  position: absolute !important;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}
.mtt-tk--entry .mtt-tk-body { padding-right: 64px; }
.mtt-tk--entry .mtt-tk-row { margin-top: 2px; }

/* 2026-11-13：幸运ALLIN赛入口横条从比赛列表去掉；可报名按钮带报名费（报名 $10） */
html .mtt-hide { display: none !important; }
html .mtt-card.mtt-tk .mtt-btn { font-variant-numeric: tabular-nums; }
