/* Match 个人中心 / VIP中心 sidebar, and enlarge card meta text. */
.pc-body {
  grid-template-columns: 244px minmax(0, 1fr) 56px !important;
}
.pc-side {
  padding: 18px 12px 16px !important;
  background: #17191d !important;
}
.pc-side-pair {
  gap: 6px !important;
  margin: 10px 0 18px !important;
}
.pc-side-pair button {
  height: 44px !important;
  font-size: 15px !important;
  border-radius: 6px !important;
}
.pc-side-pair button:first-child::before { content: "◉  "; }
.pc-side-pair button:last-child {
  background: #3a2a78 !important;
}
.pc-side-pair button:last-child::before { content: "🎉  "; }
.pc-nav {
  gap: 8px !important;
}
.pc-nav-item {
  height: auto !important;
  min-height: 48px;
  padding: 14px 16px !important;
  font-size: 15px !important;
  color: #d5d8de !important;
  background: #25272d !important;
  border-radius: 6px !important;
}
.pc-nav-item:hover {
  background: #2e3138 !important;
}
.pc-nav-item > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pc-nav-item > span:first-child::before {
  width: 1.1em;
  text-align: center;
  font-style: normal;
  flex: none;
}
.pc-nav-item[data-id="hot"] > span:first-child::before { content: "🔥"; }
.pc-nav-item[data-id="sport"] > span:first-child::before { content: "◉"; }
.pc-nav-item[data-id="live"] > span:first-child::before { content: "◆"; }
.pc-nav-item[data-id="card"] > span:first-child::before { content: "▦"; }
.pc-nav-item[data-id="fish"] > span:first-child::before { content: "▦"; }
.pc-nav-item[data-id="lotto"] > span:first-child::before { content: "◎"; }
.pc-nav-item[data-id="esport"] > span:first-child::before { content: "⚔"; }
.pc-nav-item[data-id="user"] > span:first-child::before { content: "◇"; }
.pc-nav-item[data-id="sponsor"] > span:first-child::before { content: "☼"; }
.pc-nav-item[data-id="app"] > span:first-child::before { content: "▣"; }
.pc-nav-more {
  font-size: 18px !important;
}
.pc-card-title strong {
  font-size: 16px !important;
}
.pc-card-intro {
  font-size: 14px !important;
}
.pc-card-time span {
  font-size: 16px !important;
}
@media (width <= 1100px) {
  .pc-body {
    grid-template-columns: 220px minmax(0, 1fr) 52px !important;
  }
}

.lane-switch {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
}
.lane-switch button {
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #25272d;
  color: #c6c9cf;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.lane-switch button[data-active="true"] {
  color: #1a1208;
  border-color: transparent;
  background: linear-gradient(#ffc14a, #ff8a00);
}
.pc-app[data-theme="light"] .lane-switch button {
  background: #f3f4f6;
  color: #1b1c1e;
  border-color: #e6e8ee;
}
.pc-app[data-theme="light"] .lane-switch button[data-active="true"] {
  color: #1a1208;
  border-color: transparent;
}
.cat-filter button[data-active="true"] {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}
.pc-app[data-theme="light"] .cat-filter button[data-active="true"] {
  color: #1b1c1e !important;
  background: #fff !important;
}

.task-board { margin: 0 0 16px; }
.task-head {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 4px; margin: 2px 2px 10px;
}
.task-head h2 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.task-head p { margin: 0; color: #9a9a9a; font-size: 13px; }
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.task-card {
  background: #1b1d22; border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 14px 16px 12px; min-width: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.task-top, .task-foot { display: flex; align-items: center; gap: 8px; }
.task-top { justify-content: space-between; }
.task-chips { display: flex; gap: 6px; align-items: center; min-width: 0; }
.chip {
  height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center;
  background: rgba(255,255,255,.08); color: #d5d8de;
}
.chip.day { color: #ffbf70; background: rgba(255,140,0,.16); }
.chip.job { color: #7dffa8; background: rgba(32,170,90,.16); }
.chip.week { color: #ff8d8d; background: rgba(226,61,61,.16); }
.chip.cycle { color: #7ee0d2; background: rgba(20,184,166,.16); }
.chip.site { color: #c6c9cf; }
.chip.lock { color: #ffbf70; }
.task-pri { color: #8d939c; font-size: 12px; font-weight: 700; }
.task-card { cursor: pointer; }
.task-card:hover { border-color: rgba(255, 168, 56, .45); }
.task-card h3 { margin: 0; font-size: 17px; font-weight: 750; line-height: 1.3; }
.task-more { color: #ffbf70; font-size: 13px; font-weight: 700; }
.task-back {
  height: 34px; margin: 0 0 12px; padding: 0 12px 0 0; border: 0; background: none;
  color: #ffbf70; font-size: 14px; font-weight: 700; cursor: pointer;
}
.task-back::before { content: "‹ "; }
.task-detail { display: grid; gap: 12px; max-width: 880px; }
.task-detail-head h2 { margin: 6px 0 8px; font-size: 28px; line-height: 1.2; }
.task-kicker { margin: 0; color: #ffbf70; font-size: 13px; font-weight: 700; }
.task-panel {
  background: #1b1d22; border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px; padding: 16px 18px;
}
.task-panel h3 { margin: 0 0 12px; font-size: 16px; }
.task-hint { margin: 10px 0 14px; color: #d5d8de; font-size: 14px; }
.task-tiers { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; }
.task-tiers li {
  min-height: 64px; display: grid; place-items: center; text-align: center;
  border-radius: 10px; background: rgba(255,255,255,.05); color: #d5d8de; font-size: 14px; font-weight: 700;
}
.task-tiers li.on { color: #1a1208; background: linear-gradient(#ffc14a, #ff8a00); }
.task-panel ol { margin: 0; padding-left: 18px; color: #d5d8de; font-size: 14px; line-height: 1.7; }
.pc-app[data-theme="light"] .task-panel { background: #fff; border-color: #e6e8ee; }
.pc-app[data-theme="light"] .task-detail-head h2,
.pc-app[data-theme="light"] .task-panel,
.pc-app[data-theme="light"] .task-panel ol,
.pc-app[data-theme="light"] .task-tiers li { color: #1b1c1e; }
@media (width <= 800px) { .task-tiers { grid-template-columns: 1fr 1fr; } }
.task-card .rule { margin: 0; color: #b7bcc4; font-size: 13px; line-height: 1.45; }
.task-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: #d5d8de; }
.task-meta b { font-weight: 700; }
.task-meta span { color: #9a9a9a; }
.bar { height: 8px; border-radius: 999px; background: #2a2d33; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffc14a, #ff8a00); }
.task-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.task-steps em {
  font-style: normal; font-size: 12px; color: #c6c9cf;
  background: rgba(255,255,255,.05); border-radius: 6px; padding: 4px 7px;
}
.task-steps em.on { color: #1a1208; background: linear-gradient(#ffc14a, #ff8a00); }
.task-foot { justify-content: space-between; margin-top: auto; }
.task-foot small { color: #9a9a9a; font-size: 12px; }
.task-go {
  height: 32px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer;
  color: #1a1208; font-weight: 800; font-size: 13px;
  background: linear-gradient(#ffc14a, #ff8a00);
}
.task-go:disabled { cursor: default; color: #9a9a9a; background: #2a2d33; }
.task-go.ghost { color: #ffbf70; background: transparent; border: 1px solid rgba(255,140,0,.45); }

.task-mask {
  position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55);
  display: grid; place-items: center; padding: 24px;
}
.task-sheet {
  width: min(560px, 100%); background: #1c1f26; color: #f2f3f5;
  border-radius: 16px; padding: 20px 22px 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.task-sheet h3 { margin: 8px 0 6px; font-size: 20px; }
.task-sheet .rule { color: #c6c9cf; font-size: 14px; line-height: 1.5; }
.task-sheet ol { margin: 12px 0 16px; padding-left: 18px; color: #d5d8de; font-size: 14px; line-height: 1.7; }
.task-sheet .task-foot { margin-top: 4px; }
.task-x {
  margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 8px;
  background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 16px;
}
.task-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 50; background: #2a2d33; color: #fff; border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 700;
}
.pc-app[data-theme="light"] .task-card,
.pc-app[data-theme="light"] .task-sheet { background: #fff; color: #1b1c1e; border-color: #e6e8ee; }
.pc-app[data-theme="light"] .task-card .rule,
.pc-app[data-theme="light"] .task-head p,
.pc-app[data-theme="light"] .task-meta span,
.pc-app[data-theme="light"] .task-foot small { color: #6b7280; }
.pc-app[data-theme="light"] .bar { background: #eceff3; }
@media (width <= 1100px) {
  .task-grid { grid-template-columns: 1fr; }
}
