#miaotou-app {
  color-scheme: light dark;
  --tk-paper: light-dark(#faf8f3, #211e1b);
  --tk-panel: light-dark(#fffdf9, #292521);
  --tk-ink: light-dark(#25231e, #f6ede2);
  --tk-muted: light-dark(#655f56, #c6b9ab);
  --tk-rule: light-dark(#e5dfd5, #494039);
  --tk-warm: light-dark(#9d391e, #ffac90);
  --tk-tint: light-dark(#f7eae1, #442e26);
  --tk-action: light-dark(#9d391e, #ffac90);
  --tk-action-text: light-dark(#fff8f1, #32180f);
  font-family: Inter, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tk-ink);
}
#miaotou-app * {
  box-sizing: border-box;
}
#miaotou-app [hidden] {
  display: none !important;
}
#miaotou-app :is(p, h1, h2, h3, h4, dl, dd) {
  margin: 0;
}
#miaotou-app .tk-column {
  min-width: 0;
}
#miaotou-app .tk-phone {
  background: var(--tk-paper);
  overflow: hidden;
  overflow-wrap: anywhere;
}
#miaotou-app .tk-stage {
  background: var(--tk-paper);
}
#miaotou-app .tk-bar {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 55px;
  background: var(--tk-panel);
  border-bottom: 1px solid var(--tk-rule);
}
#miaotou-app .tk-brand-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: none;
}
#miaotou-app button.tk-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.015em;
  white-space: nowrap;
}
#miaotou-app .tk-brand-subtitle {
  padding-inline-start: 8px;
  border-inline-start: 1px solid var(--tk-rule);
  color: var(--tk-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}
#miaotou-app .tk-brand-help {
  position: relative;
  flex: none;
}
#miaotou-app button.tk-brand-help-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  padding: 0;
  color: var(--tk-muted);
  -webkit-tap-highlight-color: transparent;
}
#miaotou-app .tk-help-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
}
#miaotou-app .tk-brand-help-button:is(:hover, :focus-visible, [aria-expanded='true']) {
  color: var(--tk-warm);
}
#miaotou-app .tk-brand-popover {
  position: absolute;
  z-index: 1;
  inset: 100% auto auto -8px;
  width: min(360px, calc(100vw - 36px));
  padding: 11px 14px;
  border: 1px solid var(--tk-rule);
  border-radius: 9px;
  box-shadow: 0 8px 22px #2119111f;
  background: var(--tk-panel);
  color: var(--tk-muted);
  font-size: 13px;
  line-height: 1.65;
  text-wrap: pretty;
}
#miaotou-app .tk-bar .tk-actions {
  gap: 2px 8px;
  flex-wrap: nowrap;
  justify-content: end;
}
#miaotou-app .tk-bar .tk-link {
  white-space: nowrap;
  font-size: 12px;
}
#miaotou-app .tk-subnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
#miaotou-app .tk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  align-items: center;
}
#miaotou-app button {
  appearance: none;
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  margin: 0;
  min-width: 0;
}
#miaotou-app .tk-link {
  color: var(--tk-warm);
  font-size: 13px;
  font-weight: 650;
  padding: 8px 0;
  text-align: left;
}
#miaotou-app .tk-bar .tk-favorites-entry {
  color: var(--tk-muted);
  font-weight: 500;
}
#miaotou-app .tk-favorites-entry .tk-icon {
  display: none;
}
#miaotou-app button.tk-cart-entry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 38px;
  padding: 4px 10px;
  border: 1px solid var(--tk-rule);
  border-radius: 8px;
  color: var(--tk-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
#miaotou-app .tk-cart-count {
  display: grid;
  place-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 9px;
  color: var(--tk-action-text);
  background: var(--tk-action);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
#miaotou-app button.tk-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 50%;
  color: var(--tk-muted);
  background: light-dark(#f1efec, #34302d);
}
#miaotou-app button.tk-login {
  width: auto;
  min-width: 44px;
  border-radius: 6px;
  color: var(--tk-warm);
  background: transparent;
  font-size: 14px;
  font-weight: 650;
}
#miaotou-app .tk-btn {
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--tk-warm);
  background: var(--tk-tint);
  font-size: 13px;
  font-weight: 650;
}
#miaotou-app .tk-primary {
  background: var(--tk-action);
  color: var(--tk-action-text);
}
#miaotou-app .tk-wrap {
  padding: 0 16px;
}
#miaotou-app .tk-issue {
  padding-block: 15px 14px;
  border-bottom: 1px solid var(--tk-rule);
}
#miaotou-app .tk-kicker {
  font-size: 12px;
  color: var(--tk-warm);
  font-weight: 700;
}
#miaotou-app .tk-script-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
#miaotou-app .tk-script-filter input {
  width: 14px;
  height: 14px;
  margin: 0;
  cursor: pointer;
}
#miaotou-app button.tk-week-share {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  padding: 0;
  border-radius: 50%;
}
#miaotou-app .tk-week-share .tk-icon {
  width: 18px;
  height: 18px;
}
#miaotou-app .tk-issue-title {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template: 'heading share' auto 'meta meta' auto / minmax(0, 1fr) auto;
  align-items: center;
  gap: 1px 8px;
  padding: 14px 24px 13px;
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 170% at 27% 142%, #017da9 4%, transparent 69%),
    radial-gradient(ellipse 48% 190% at 93% -42%, #e243c7 0%, transparent 72%),
    linear-gradient(104deg, #233fb7, #393bc9 38%, #623fdf 65%, #783bcd 83%, #5147b8);
}
#miaotou-app .tk-week-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
#miaotou-app .tk-week-art::before,
#miaotou-app .tk-week-art::after {
  content: '';
  position: absolute;
  inset: 0;
}
#miaotou-app .tk-week-art::before {
  background:
    radial-gradient(ellipse 22% 140% at 42% 98%, #53fff2 0%, #21e8f2c2 28%, transparent 88%),
    repeating-linear-gradient(110deg, #ffffff00 0, #ffffff18 1px, #182d8f0c 3px, #ffffff00 6px),
    linear-gradient(
      112deg,
      #22ccf5 20%,
      #3ae7f7 40%,
      #4e9cff 55%,
      #a3a5ff 64%,
      #7158ff 72%,
      #d06cff 84%,
      #ff64d4
    );
  clip-path: polygon(
    11% 116%,
    21% 110%,
    29% 99%,
    35% 84%,
    41% 66%,
    47% 53%,
    52% 48%,
    57% 47%,
    63% 46%,
    68% 40%,
    73% 26%,
    77% 4%,
    80% -24%,
    105% -30%,
    96% 4%,
    90% 27%,
    83% 46%,
    76% 58%,
    68% 63%,
    61% 64%,
    55% 65%,
    50% 71%,
    45% 81%,
    40% 97%,
    34% 119%
  );
}
#miaotou-app .tk-week-art::after {
  background:
    repeating-conic-gradient(
      from 5deg at 63% 73%,
      #fdf0ff00 0deg,
      #fffffd32 1.6deg,
      #6633bc26 3.2deg,
      #fff0 4.3deg
    ),
    linear-gradient(70deg, #325fea 47%, #6552ef 59%, #a179ff 69%, #fb88f1 77%, #ec54cc 86%, #a861f7);
  clip-path: polygon(
    40% 124%,
    46% 104%,
    51% 88%,
    57% 76%,
    63% 65%,
    69% 53%,
    74% 34%,
    77% 11%,
    78% -18%,
    96% -23%,
    92% 0%,
    88% 19%,
    82% 39%,
    74% 54%,
    66% 66%,
    60% 77%,
    55% 91%,
    51% 116%
  );
}
@supports (clip-path: shape(from 0% 0%, line to 100% 100%, close)) {
  #miaotou-app .tk-week-art::before {
    clip-path: shape(
      from 11% 116%,
      curve to 36% 81% with 23% 114% / 30% 102%,
      curve to 57% 47% with 46% 48% / 51% 46%,
      curve to 80% -24% with 70% 49% / 76% 17%,
      line to 105% -30%,
      curve to 63% 64% with 89% 44% / 79% 66%,
      curve to 34% 119% with 47% 60% / 45% 94%,
      close
    );
  }
  #miaotou-app .tk-week-art::after {
    clip-path: shape(
      from 40% 124%,
      curve to 63% 65% with 49% 88% / 54% 80%,
      curve to 78% -18% with 73% 48% / 78% 21%,
      line to 96% -23%,
      curve to 66% 66% with 88% 35% / 81% 43%,
      curve to 51% 116% with 55% 84% / 54% 94%,
      close
    );
  }
}
#miaotou-app .tk-issue-title::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70px 50px at calc(100% - 44px) 35px, #29246c7a, transparent),
    linear-gradient(90deg, #1729735e 0%, #1429791c 29%, transparent 49%),
    radial-gradient(ellipse 24% 112% at 100% 100%, #272268ad 9%, transparent 95%);
}
#miaotou-app .tk-issue-heading {
  grid-area: heading;
  align-items: baseline;
  gap: 4px 14px;
}
#miaotou-app .tk-issue h1 {
  color: #fff;
  font-size: 31px;
  line-height: 1.22;
  font-weight: 750;
}
#miaotou-app .tk-issue-title .tk-kicker {
  color: #f4f7ff;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
#miaotou-app .tk-issue-meta {
  grid-area: meta;
  justify-content: space-between;
  gap: 2px 12px;
}
#miaotou-app .tk-issue-count,
#miaotou-app .tk-script-filter {
  color: #fff;
  font-size: 13px;
}
#miaotou-app .tk-script-filter {
  min-height: 28px;
}
#miaotou-app .tk-issue-heading,
#miaotou-app .tk-issue-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}
#miaotou-app .tk-issue-meta {
  align-items: center;
}
#miaotou-app .tk-script-filter input {
  accent-color: #433bbc;
}
#miaotou-app button.tk-week-share {
  grid-area: share;
  justify-self: end;
  color: #fff;
}
@media (hover: hover) {
  #miaotou-app button.tk-week-share:hover {
    background: #ffffff26;
  }
}
@media (max-width: 820px) {
  #miaotou-app .tk-issue-title {
    padding: 5px 14px 8px;
    border-radius: 10px;
  }
  #miaotou-app .tk-issue h1 {
    font-size: 25px;
  }
  #miaotou-app .tk-issue-heading {
    gap: 1px 10px;
  }
  #miaotou-app .tk-issue-title .tk-kicker,
  #miaotou-app .tk-issue-count,
  #miaotou-app .tk-script-filter {
    font-size: 12px;
  }
  #miaotou-app .tk-week-art {
    left: 28%;
    right: -9%;
  }
  #miaotou-app .tk-issue-title::after {
    background:
      radial-gradient(ellipse 46px 36px at calc(100% - 38px) 27px, #32216e73, transparent),
      linear-gradient(180deg, transparent, #28267d59 36%, transparent 62%),
      linear-gradient(95deg, #1b308366 0%, #21348b36 43%, transparent 72%),
      radial-gradient(ellipse 60% 48% at 84% 83%, #202766c4 39%, transparent 100%);
  }
}
@media (max-width: 360px) {
  #miaotou-app .tk-issue-title {
    padding-inline: 10px;
  }
  #miaotou-app .tk-issue-meta {
    column-gap: 4px;
  }
  #miaotou-app .tk-issue-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (forced-colors: active) {
  #miaotou-app .tk-week-art,
  #miaotou-app .tk-issue-title::after {
    display: none;
  }
}
#miaotou-app .tk-week-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-block: 12px 8px;
}
#miaotou-app .tk-recent-weeks {
  display: contents;
}
#miaotou-app .tk-week-loading {
  padding-block: 10px;
  color: var(--tk-warm);
  font-size: 13px;
}
#miaotou-app .tk-week-nav :is(.tk-week-link, .tk-week-archive-toggle) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 34px;
  padding: 5px 9px;
  border: 1px solid var(--tk-rule);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
}
#miaotou-app .tk-week-nav .tk-week-link {
  color: var(--tk-ink);
  background: var(--tk-panel);
  font-variant-numeric: tabular-nums;
}
#miaotou-app .tk-week-nav .tk-week-archive-toggle {
  color: var(--tk-warm);
  background: var(--tk-tint);
  border-color: transparent;
}
#miaotou-app .tk-week-nav :is(.tk-week-link, .tk-week-archive-toggle):hover {
  border-color: var(--tk-warm);
}
#miaotou-app .tk-week-nav .tk-week-link[aria-current='page'] {
  border-color: var(--tk-action);
  color: var(--tk-action-text);
  background: var(--tk-action);
}
#miaotou-app .tk-week-archive-toggle::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-inline: 2px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
#miaotou-app .tk-week-archive-toggle[aria-expanded='true']::after {
  transform: translateY(2px) rotate(225deg);
}
#miaotou-app .tk-week-archive {
  flex: 1 0 100%;
  padding: 10px 12px;
  border: 1px solid var(--tk-rule);
  border-radius: 8px;
  background: var(--tk-panel);
}
#miaotou-app .tk-week-archive section + section {
  border-top: 1px solid var(--tk-rule);
  padding-top: 10px;
  margin-top: 10px;
}
#miaotou-app .tk-week-archive h2 {
  margin-bottom: 6px;
  font-size: 13px;
}
#miaotou-app .tk-week-archive ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (pointer: coarse) {
  #miaotou-app .tk-week-nav :is(.tk-week-link, .tk-week-archive-toggle) {
    min-height: 44px;
  }
}
#miaotou-app .tk-muted {
  color: var(--tk-muted);
  font-size: 12px;
}
#miaotou-app .tk-metric-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
#miaotou-app .tk-rarity-badge {
  display: inline-block;
  margin-block: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--tk-tint);
  color: var(--tk-warm);
  font-size: 12px;
  font-weight: 600;
}
#miaotou-app .tk-issue-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--tk-tint);
  font-size: 13px;
}
#miaotou-app .tk-issue-highlight strong {
  color: var(--tk-warm);
  flex-shrink: 0;
}
#miaotou-app #tk-week-highlight-text {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#miaotou-app .tk-issue-highlight[data-expanded='true'] #tk-week-highlight-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#miaotou-app .tk-issue-highlight button {
  flex-shrink: 0;
  align-self: flex-start;
}
#miaotou-app .tk-row {
  padding-block: 14px 10px;
  border-bottom: 1px solid var(--tk-rule);
}
#miaotou-app .tk-row:last-child {
  border: 0;
}
#miaotou-app .tk-head {
  display: grid;
  grid-template-columns: 61px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}
#miaotou-app .tk-thumb {
  position: relative;
  width: 61px;
}
#miaotou-app .tk-thumb img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}
#miaotou-app .tk-rank {
  position: absolute;
  inset: 4px auto auto 4px;
  padding: 0 5px;
  color: var(--tk-action-text);
  background: var(--tk-action);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 750;
}
#miaotou-app .tk-name {
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
}
#miaotou-app .tk-original {
  font-size: 12px;
  color: var(--tk-muted);
  margin-top: 2px;
}
#miaotou-app .tk-tags {
  font-size: 12px;
  margin-top: 3px;
  color: var(--tk-muted);
}
#miaotou-app .tk-date {
  margin-top: 3px;
  font-size: 12px;
  color: var(--tk-muted);
}
#miaotou-app .tk-summary {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}
#miaotou-app .tk-summary p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.55;
  max-height: 3.1em;
}
#miaotou-app .tk-summary .tk-summary-data {
  font-size: 13px;
  line-height: 1.55;
}
#miaotou-app .tk-summary-data .tk-metric-badges {
  display: inline;
}
#miaotou-app .tk-summary-data .tk-rarity-badge {
  margin-block: 1px;
  margin-inline-start: 3px;
  white-space: nowrap;
}
#miaotou-app .tk-summary strong {
  font-weight: 720;
  margin-right: 0.45em;
}
#miaotou-app .tk-summary-data strong {
  color: var(--tk-warm);
}
#miaotou-app .tk-row-footer {
  display: flex;
  align-items: center;
  gap: 0 10px;
  flex-wrap: wrap;
}
#miaotou-app .tk-row-script-count {
  color: var(--tk-muted);
  font-size: 12px;
  white-space: nowrap;
}
#miaotou-app .tk-row-footer button[aria-current='true'] {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#miaotou-app .tk-title-link {
  display: inline-block;
  margin-inline-start: 4px;
  padding: 2px 4px;
  color: var(--tk-warm);
  font-weight: 650;
  white-space: nowrap;
}
#miaotou-app .tk-detail-block {
  padding: 12px 0;
  border-top: 1px solid var(--tk-rule);
}
#miaotou-app .tk-detail-block :is(h3, h4) {
  font-size: 15px;
  font-weight: 750;
  margin-bottom: 4px;
}
#miaotou-app .tk-detail-block p {
  font-size: 13px;
}
#miaotou-app .tk-detail-block p + p {
  margin-top: 6px;
}
#miaotou-app .tk-detail-block .tk-metric-badges + .tk-performance-note {
  margin-top: 6px;
}
#miaotou-app .tk-play-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 8px 0;
}
#miaotou-app .tk-play-totals > div {
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--tk-tint);
}
#miaotou-app .tk-play-totals dt {
  font-size: 12px;
  color: var(--tk-muted);
}
#miaotou-app .tk-play-totals dd {
  font-size: 17px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
#miaotou-app .tk-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
}
#miaotou-app .tk-service + .tk-service {
  border-top: 1px solid var(--tk-rule);
}
#miaotou-app .tk-service button {
  flex: none;
}
#miaotou-app .tk-service a.tk-btn {
  text-decoration: none;
}
#miaotou-app .tk-service .tk-script-link {
  flex: 1;
  text-align: left;
  padding-block: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--tk-ink);
}
#miaotou-app .tk-script-link span:last-child {
  color: var(--tk-warm);
}
#miaotou-app .tk-price {
  display: block;
  color: var(--tk-warm);
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
#miaotou-app .tk-script-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 6px;
}
#miaotou-app .tk-script-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  border-bottom: 1px solid var(--tk-rule);
}
#miaotou-app .tk-script-tabs [aria-selected='true'] {
  box-shadow: inset 0 -2px var(--tk-warm);
}
#miaotou-app .tk-script-panel {
  padding: 12px 0 18px;
}
#miaotou-app .tk-script-panel .tk-btn {
  margin-top: 8px;
}
#miaotou-app .tk-market-hero {
  display: grid;
  gap: 16px;
  padding: 12px 0 24px;
  align-items: start;
}
#miaotou-app .tk-market-poster {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--tk-tint);
}
#miaotou-app .tk-market-poster img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
#miaotou-app .tk-poster-tools {
  position: absolute;
  inset: 14px 14px auto auto;
  display: flex;
  gap: 6px;
}
#miaotou-app .tk-icon {
  display: inline-block;
  flex: none;
  width: 16px;
  height: 16px;
  vertical-align: -0.18em;
}
#miaotou-app i.tk-icon {
  background: currentColor;
  -webkit-mask: var(--tk-icon) center / contain no-repeat;
  mask: var(--tk-icon) center / contain no-repeat;
}
/* Lucide icons from the 剧本来了 vendor bundle, ISC license. */
#miaotou-app i[data-lucide='share-2'] {
  --tk-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTgiIGN5PSI1IiByPSIzIi8+PGNpcmNsZSBjeD0iNiIgY3k9IjEyIiByPSIzIi8+PGNpcmNsZSBjeD0iMTgiIGN5PSIxOSIgcj0iMyIvPjxsaW5lIHgxPSI4LjU5IiB4Mj0iMTUuNDIiIHkxPSIxMy41MSIgeTI9IjE3LjQ5Ii8+PGxpbmUgeDE9IjE1LjQxIiB4Mj0iOC41OSIgeTE9IjYuNTEiIHkyPSIxMC40OSIvPjwvc3ZnPg==');
}
#miaotou-app i[data-lucide='bookmark'] {
  --tk-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTE3IDNhMiAyIDAgMCAxIDIgMnYxNWExIDEgMCAwIDEtMS40OTYuODY4bC00LjUxMi0yLjU3OGEyIDIgMCAwIDAtMS45ODQgMGwtNC41MTIgMi41NzhBMSAxIDAgMCAxIDUgMjBWNWEyIDIgMCAwIDEgMi0yeiIvPjwvc3ZnPg==');
}
#miaotou-app i[data-lucide='message-circle'] {
  --tk-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTIuOTkyIDE2LjM0MmEyIDIgMCAwIDEgLjA5NCAxLjE2N2wtMS4wNjUgMy4yOWExIDEgMCAwIDAgMS4yMzYgMS4xNjhsMy40MTMtLjk5OGEyIDIgMCAwIDEgMS4wOTkuMDkyIDEwIDEwIDAgMSAwLTQuNzc3LTQuNzE5Ii8+PC9zdmc+');
}
#miaotou-app i[data-lucide='link'] {
  --tk-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTEwIDEzYTUgNSAwIDAgMCA3LjU0LjU0bDMtM2E1IDUgMCAwIDAtNy4wNy03LjA3bC0xLjcyIDEuNzEiLz48cGF0aCBkPSJNMTQgMTFhNSA1IDAgMCAwLTcuNTQtLjU0bC0zIDNhNSA1IDAgMCAwIDcuMDcgNy4wN2wxLjcxLTEuNzEiLz48L3N2Zz4=');
}
#miaotou-app i[data-lucide='shopping-cart'] {
  --tk-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iOCIgY3k9IjIxIiByPSIxIi8+PGNpcmNsZSBjeD0iMTkiIGN5PSIyMSIgcj0iMSIvPjxwYXRoIGQ9Ik0yLjA1IDIuMDVoMmwyLjY2IDEyLjQyYTIgMiAwIDAgMCAyIDEuNThoOS43OGEyIDIgMCAwIDAgMS45NS0xLjU3bDEuNjUtNy40M0g1LjEyIi8+PC9zdmc+');
}
#miaotou-app i[data-lucide='user-round'] {
  --tk-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PGNpcmNsZSBjeD0iMTIiIGN5PSI4IiByPSI1Ii8+PHBhdGggZD0iTTIwIDIxYTggOCAwIDAgMC0xNiAwIi8+PC9zdmc+');
}
#miaotou-app button.tk-poster-action {
  --tk-action-inset: 0px;
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 7px;
  color: #ffffffeb;
}
#miaotou-app .tk-poster-action::before {
  content: '';
  position: absolute;
  inset: var(--tk-action-inset);
  border: 1px solid #ffffff24;
  border-radius: 7px;
  background: #17211d80;
  pointer-events: none;
}
#miaotou-app .tk-poster-action .tk-icon {
  position: relative;
}
#miaotou-app .tk-poster-action:hover::before {
  background: #17211dbf;
}
#miaotou-app button.tk-poster-action[aria-pressed='true'] {
  color: #f5d69e;
}
#miaotou-app .tk-poster-action[aria-pressed='true']::before {
  border-color: #f5d69e66;
  background: #17211da6;
}
#miaotou-app .tk-poster-action:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
#miaotou-app .tk-poster-tags {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 22px 10px 10px;
  background: linear-gradient(transparent, #121a16bf);
  font-size: 12px;
}
#miaotou-app .tk-poster-tags span {
  padding: 2px 6px;
  border: 1px solid #ffffff38;
  border-radius: 5px;
  color: #fff;
  background: #17211dbf;
}
#miaotou-app .tk-market-hero .tk-detail-block {
  border: 0;
  padding-block: 0;
  margin-top: 14px;
}
#miaotou-app .tk-share-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
#miaotou-app .tk-share-preview img {
  width: 48px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px;
}
#miaotou-app .tk-share-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
#miaotou-app .tk-dialog-body .tk-share-options .tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  margin: 0;
  padding: 8px;
  border: 1px solid transparent;
}
#miaotou-app .tk-dialog-body .tk-share-options .tk-share-wechat {
  border-color: var(--tk-rule);
  background: transparent;
  color: var(--tk-warm);
}
#miaotou-app .tk-share-field {
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--tk-muted);
}
#miaotou-app .tk-share-field input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--tk-rule);
  border-radius: 7px;
  background: var(--tk-paper);
  color: var(--tk-ink);
  font: inherit;
}
#miaotou-app .tk-wechat-panel {
  padding-top: 8px;
  text-align: center;
}
#miaotou-app .tk-wechat-panel img {
  display: block;
  width: min(170px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 5px;
  image-rendering: pixelated;
}
#miaotou-app .tk-market-title {
  font-size: 24px;
  line-height: 1.25;
}
#miaotou-app .tk-market-hero .tk-price {
  font-size: 23px;
}
#miaotou-app .tk-market-copy {
  margin-top: 16px;
}
#miaotou-app .tk-market-copy h3 {
  font-size: 13px;
  margin-bottom: 4px;
}
#miaotou-app .tk-market-copy p {
  color: var(--tk-muted);
  line-height: 1.8;
}
#miaotou-app .tk-market-reference,
#miaotou-app .tk-market-reader {
  border: 1px solid var(--tk-rule);
  border-radius: 10px;
  margin-bottom: 16px;
  background: var(--tk-panel);
}
#miaotou-app .tk-market-reference {
  padding: 14px;
}
#miaotou-app .tk-reference-title {
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.25;
}
#miaotou-app .tk-market-reference .tk-detail-block {
  border: 0;
  padding: 0;
  margin-top: 14px;
}
#miaotou-app .tk-detail-block .tk-performance-ranks {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-block: 6px;
}
#miaotou-app .tk-market-reader .tk-script-tabs,
#miaotou-app .tk-market-reader .tk-script-panel {
  padding-inline: 14px;
}
#miaotou-app .tk-market-reader .tk-script-panel {
  line-height: 1.85;
}
#miaotou-app .tk-market-reader .tk-script-panel > p {
  max-width: 900px;
  margin-inline: auto;
}
#miaotou-app .tk-market-reader .tk-script-panel p + p {
  margin-top: 8px;
}
#miaotou-app .tk-reader-paper {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px;
  background: var(--tk-paper);
  border: 1px solid var(--tk-rule);
  border-radius: 8px;
}
#miaotou-app .tk-reader-gate {
  text-align: center;
  margin-top: 14px;
}
#miaotou-app .tk-account-form {
  display: grid;
  gap: 10px;
}
#miaotou-app .tk-account-form label {
  display: grid;
  gap: 3px;
}
#miaotou-app .tk-account-form .tk-consent {
  display: flex;
  align-items: center;
  gap: 6px;
}
#miaotou-app .tk-account-form .tk-consent input {
  width: auto;
}
#miaotou-app .tk-policy {
  max-height: 440px;
  overflow: auto;
}
#miaotou-app .tk-policy h2 {
  font-size: 15px;
  margin: 12px 0 4px;
}
#miaotou-app .tk-account-form input {
  width: 100%;
  padding: 8px;
  color: var(--tk-ink);
  background: var(--tk-paper);
  border: 1px solid var(--tk-rule);
  border-radius: 6px;
  font: inherit;
}
#miaotou-app .tk-account-form [role='status'] {
  color: var(--tk-warm);
  font-size: 12px;
}
#miaotou-app .tk-qr {
  display: block;
  width: min(225px, 100%);
  height: auto;
  aspect-ratio: 1;
  margin: 8px auto;
}
#miaotou-app .tk-reader {
  white-space: pre-line;
}
#miaotou-app dialog {
  position: absolute;
  inset: auto 0;
  margin: 0 auto;
  color: var(--tk-ink);
  background: var(--tk-panel);
  border: 1px solid var(--tk-rule);
  border-radius: 14px;
  width: min(340px, calc(100% - 28px));
  padding: 16px;
}
#miaotou-app dialog::backdrop {
  background: color-mix(in srgb, var(--tk-ink) 36%, transparent);
}
#miaotou-app .tk-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
#miaotou-app .tk-dialog-head h2 {
  font-size: 17px;
}
#miaotou-app .tk-dialog-body p + p {
  margin-top: 7px;
}
#miaotou-app .tk-dialog-body .tk-btn {
  margin-top: 10px;
}
#miaotou-app .tk-wrap {
  padding-inline: clamp(16px, 4vw, 40px);
}
#miaotou-app .tk-bar {
  padding-inline: clamp(16px, 4vw, 40px);
}
#miaotou-app .tk-issue {
  padding-block: 22px 16px;
}
#miaotou-app .tk-detail-block p {
  font-size: 14px;
}
@media (min-width: 690px) {
  #miaotou-app .tk-row {
    display: grid;
    grid-template-columns: minmax(205px, 0.9fr) minmax(230px, 1.35fr) auto;
    align-items: center;
    gap: 16px;
  }
  #miaotou-app .tk-row-footer {
    flex-direction: column;
    align-items: flex-end;
  }
  #miaotou-app .tk-row-footer button {
    white-space: nowrap;
  }
  #miaotou-app .tk-summary {
    margin: 0;
  }
  #miaotou-app .tk-detail-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  #miaotou-app .tk-market-hero {
    grid-template-columns: minmax(180px, 26%) minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 34px;
  }
  #miaotou-app .tk-market-title {
    font-size: 28px;
  }
}
@media (pointer: coarse) {
  #miaotou-app button,
  #miaotou-app button.tk-cart-entry,
  #miaotou-app button.tk-avatar {
    min-height: 44px;
  }
  #miaotou-app button.tk-avatar {
    width: 44px;
  }
  #miaotou-app button.tk-brand-help-button {
    min-height: 44px;
  }
}
@media (pointer: coarse), (max-width: 600px) {
  #miaotou-app .tk-poster-tools {
    inset: 6px 6px auto auto;
  }
  #miaotou-app button.tk-poster-action {
    --tk-action-inset: 8px;
    width: 44px;
    height: 44px;
  }
}
body {
  margin: 0;
}
#miaotou-app .tk-stage {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
}
#miaotou-app .tk-phone {
  min-height: 100vh;
  min-height: calc(100dvh - 55px);
}
#miaotou-app .cursor-interaction {
  cursor: pointer;
}
#miaotou-app button:disabled {
  cursor: default;
  opacity: 0.65;
}
#miaotou-app a {
  color: var(--tk-warm);
}
#miaotou-app .tk-bar a {
  text-decoration: none;
}
#miaotou-app dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  max-height: calc(100dvh - 32px);
}
#miaotou-app .tk-reader-paper canvas {
  display: block;
  max-width: 100%;
}
#miaotou-app .tk-form-consent a {
  display: inline;
}
@media (max-width: 689px) {
  #miaotou-app .tk-issue {
    padding-block: 6px;
  }
  #miaotou-app .tk-kicker {
    color: var(--tk-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 550;
  }
  #miaotou-app .tk-week-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 4px;
    margin: 0;
  }
  #miaotou-app .tk-recent-weeks {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
  }
  #miaotou-app .tk-week-nav .tk-recent-weeks .tk-week-link,
  #miaotou-app .tk-week-nav .tk-week-archive-toggle {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  #miaotou-app .tk-recent-weeks .tk-week-link > span {
    padding: 5px clamp(2px, calc(10vw - 30px), 7px);
    border-radius: 5px;
    color: var(--tk-muted);
    font-weight: 550;
  }
  #miaotou-app .tk-recent-weeks .tk-week-link[aria-current='page'] > span {
    color: var(--tk-warm);
    background: var(--tk-tint);
    font-weight: 700;
  }
  #miaotou-app .tk-week-nav .tk-week-archive-toggle {
    min-width: 44px;
    justify-self: end;
  }
  #miaotou-app .tk-archive-suffix {
    display: none;
  }
  #miaotou-app .tk-week-archive {
    grid-column: 1 / -1;
    margin-block-end: 4px;
  }
  #miaotou-app .tk-thumb img {
    height: auto;
  }
  #miaotou-app .tk-summary-data .tk-metric-badges {
    display: inline-flex;
    max-width: 100%;
    gap: 3px 5px;
    vertical-align: middle;
  }
  #miaotou-app .tk-summary-data .tk-rarity-badge {
    margin-inline-start: 0;
  }
  #miaotou-app .tk-market-title {
    font-size: 24px;
  }
  #miaotou-app .tk-market-poster {
    width: 100%;
    max-width: 430px;
  }
}

#miaotou-app .tk-bar {
  position: relative;
  z-index: 2;
}
#miaotou-app .tk-bar [aria-current='page'] {
  color: var(--tk-warm);
  font-weight: 700;
}
#miaotou-app .tk-avatar[aria-expanded='true'] {
  color: var(--tk-warm);
  box-shadow: 0 0 0 3px var(--tk-tint);
}
#miaotou-app .tk-account-menu {
  position: absolute;
  top: calc(100% - 1px);
  inset-inline-end: clamp(10px, 4vw, 40px);
  width: min(272px, calc(100% - 20px));
  padding: 10px;
  border: 1px solid var(--tk-rule);
  border-radius: 14px;
  background: var(--tk-panel);
  box-shadow: 0 12px 40px light-dark(#26201924, #0008);
}
#miaotou-app .tk-account-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 15px;
}
#miaotou-app .tk-account-head small {
  display: block;
  color: var(--tk-muted);
  margin-top: 2px;
}
#miaotou-app .tk-account-symbol,
#miaotou-app .tk-library-empty > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tk-tint);
  color: var(--tk-warm);
  font-size: 18px;
}
#miaotou-app .tk-account-group {
  padding-block: 3px;
  border-top: 1px solid var(--tk-rule);
}
#miaotou-app .tk-account-group :is(a, button) {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  text-align: left;
  color: var(--tk-ink);
  font-size: 13px;
}
#miaotou-app .tk-account-group :is(a, button):is(:hover, :focus-visible) {
  background: var(--tk-tint);
}
#miaotou-app .tk-account-group span {
  flex: 1;
}
#miaotou-app .tk-account-group svg {
  flex: none;
}
#miaotou-app .tk-code-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
}
#miaotou-app .tk-code-field .tk-btn {
  margin: 0;
}
#miaotou-app .tk-settings-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tk-rule);
}
#miaotou-app .tk-settings-phone span {
  display: block;
  color: var(--tk-muted);
}

#miaotou-app .tk-library {
  padding-block: 22px 44px;
  min-height: calc(100vh - 55px);
}
#miaotou-app .tk-library-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 4px 0 18px;
}
#miaotou-app .tk-library-heading h1 {
  font-size: 25px;
}
#miaotou-app .tk-library-heading span {
  color: var(--tk-muted);
  font-size: 12px;
}
#miaotou-app .tk-library-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  padding: 56px 16px;
  border: 1px solid var(--tk-rule);
  border-radius: 12px;
  background: var(--tk-panel);
}
#miaotou-app .tk-library-empty > span {
  width: 54px;
  height: 54px;
}
#miaotou-app .tk-library-empty .tk-icon {
  width: 24px;
  height: 24px;
}
#miaotou-app .tk-library-empty h2 {
  font-size: 17px;
}
#miaotou-app .tk-library-empty p {
  color: var(--tk-muted);
  margin-bottom: 8px;
}
#miaotou-app .tk-favorite-section + .tk-favorite-section {
  margin-top: 24px;
}
#miaotou-app .tk-favorite-section h2 {
  font-size: 15px;
  margin-bottom: 10px;
}
#miaotou-app .tk-favorite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(144px, 1fr));
  gap: 18px;
}
#miaotou-app .tk-favorite-card {
  position: relative;
  min-width: 0;
  border: 1px solid var(--tk-rule);
  border-radius: 10px;
  overflow: hidden;
  background: var(--tk-panel);
}
#miaotou-app .tk-favorite-open {
  display: grid;
  width: 100%;
  padding: 0 0 10px;
  text-align: left;
  gap: 4px;
}
#miaotou-app .tk-favorite-open img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--tk-tint);
}
#miaotou-app .tk-favorite-open strong,
#miaotou-app .tk-favorite-open span {
  padding-inline: 10px;
}
#miaotou-app .tk-favorite-open span {
  font-size: 12px;
  color: var(--tk-muted);
}
#miaotou-app .tk-favorite-card [data-action='remove-favorite'] {
  position: absolute;
  top: 6px;
  right: 6px;
}

#miaotou-app .tk-cart-table,
#miaotou-app .tk-checkout-panel,
#miaotou-app .tk-cart-summary {
  border: 1px solid var(--tk-rule);
  border-radius: 12px;
  background: var(--tk-panel);
}
#miaotou-app .tk-cart-table {
  overflow: hidden;
}
#miaotou-app .tk-cart-columns,
#miaotou-app .tk-cart-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) minmax(90px, 14%) 54px;
  gap: 14px;
  align-items: center;
  padding: 12px 18px;
}
#miaotou-app .tk-cart-columns {
  background: var(--tk-tint);
  font-size: 12px;
  color: var(--tk-muted);
}
#miaotou-app .tk-cart-row + .tk-cart-row {
  border-top: 1px solid var(--tk-rule);
}
#miaotou-app .tk-library input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: none;
  accent-color: var(--tk-action);
  cursor: pointer;
}
#miaotou-app .tk-cart-product {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 3px 0;
}
#miaotou-app .tk-cart-product img,
#miaotou-app .tk-order-row img {
  flex: none;
  width: 48px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 5px;
}
#miaotou-app .tk-cart-price {
  white-space: nowrap;
}
#miaotou-app .tk-cart-summary {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
}
#miaotou-app .tk-cart-summary label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
#miaotou-app .tk-cart-total {
  margin-inline-start: auto;
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--tk-muted);
}
#miaotou-app .tk-cart-total strong {
  display: inline-block;
  font-size: 20px;
}
#miaotou-app .tk-cart-summary .tk-primary,
#miaotou-app .tk-order-summary .tk-primary {
  min-height: 40px;
  padding-inline: 18px;
}
#miaotou-app .tk-library-feedback {
  color: var(--tk-warm);
  font-size: 13px;
}
#miaotou-app .tk-library-feedback:not(:empty) {
  margin-top: 10px;
}
#miaotou-app .tk-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 30%);
  gap: 16px;
  align-items: start;
}
#miaotou-app .tk-checkout-panel {
  padding: 16px;
}
#miaotou-app .tk-checkout-panel + .tk-checkout-panel {
  margin-top: 14px;
}
#miaotou-app .tk-checkout-panel h2 {
  font-size: 16px;
  margin-bottom: 12px;
}
#miaotou-app .tk-order-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
}
#miaotou-app .tk-order-row + .tk-order-row {
  border-top: 1px solid var(--tk-rule);
}
#miaotou-app .tk-order-summary p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 9px;
}
#miaotou-app .tk-order-summary .tk-primary {
  width: 100%;
  margin: 5px 0 8px;
}

@media (max-width: 580px) {
  #miaotou-app .tk-library {
    padding-block-start: 14px;
  }
  #miaotou-app .tk-library-heading h1 {
    font-size: 22px;
  }
  #miaotou-app .tk-favorite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #miaotou-app .tk-cart-columns,
  #miaotou-app .tk-cart-row {
    grid-template-columns: 18px minmax(0, 1fr) auto;
    gap: 9px;
    padding-inline: 12px;
  }
  #miaotou-app .tk-cart-columns > span:nth-last-child(-n + 2) {
    display: none;
  }
  #miaotou-app .tk-cart-row > input {
    grid-row: 1 / 3;
  }
  #miaotou-app .tk-cart-product {
    grid-column: 2 / 4;
  }
  #miaotou-app .tk-cart-price {
    grid-column: 2;
    padding-inline-start: 60px;
  }
  #miaotou-app .tk-cart-summary {
    padding-inline: 12px;
    gap: 10px;
  }
  #miaotou-app .tk-cart-total {
    width: 100%;
    justify-content: space-between;
  }
  #miaotou-app .tk-cart-summary .tk-primary {
    width: 100%;
  }
  #miaotou-app .tk-checkout-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

#miaotou-app .tk-reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
#miaotou-app .tk-reference-tags li {
  padding: 2px 7px;
  border: 1px solid var(--tk-rule);
  border-radius: 5px;
  background: var(--tk-panel);
  color: var(--tk-muted);
  font-size: 12px;
}
#miaotou-app .tk-main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  margin-inline-end: auto;
  padding-inline: clamp(12px, 2.5vw, 36px);
}

#miaotou-app .tk-main-nav .tk-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
  color: var(--tk-muted);
}

#miaotou-app .tk-main-nav [aria-current='page'] {
  color: var(--tk-warm);
  box-shadow: inset 0 -2px var(--tk-warm);
}
#miaotou-app .tk-nav-week-short {
  display: none;
}
@media (max-width: 360px) {
  #miaotou-app .tk-nav-week-full {
    display: none;
  }
  #miaotou-app .tk-nav-week-short {
    display: inline;
  }
}

#miaotou-app .tk-ranking-empty {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-block: 16px;
}

#miaotou-app #jubenlaile-design .sm-app {
  --sm-bg: var(--tk-paper);
  --sm-paper: var(--tk-panel);
  --sm-ink: var(--tk-ink);
  --sm-dim: var(--tk-muted);
  --sm-line: var(--tk-rule);
  --sm-brand: var(--tk-warm);
  --sm-hint: var(--tk-tint);
  --sm-inverse: var(--tk-action-text);
  border-radius: 0;
  min-height: 0;
}

@media (max-width: 750px) {
  #miaotou-app .tk-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: 'brand actions' 'nav help';
    gap: 0 6px;
    padding-block: 3px 0;
  }
  #miaotou-app .tk-brand-group {
    display: contents;
  }
  #miaotou-app button.tk-brand {
    grid-area: brand;
    justify-self: start;
    min-height: 44px;
    font-size: 20px;
  }
  #miaotou-app .tk-brand-help {
    grid-area: help;
    justify-self: end;
    position: static;
    max-width: 100%;
  }
  #miaotou-app button.tk-brand-help-button {
    min-height: 44px;
    max-width: 100%;
    text-align: end;
  }
  #miaotou-app .tk-brand-subtitle {
    padding: 0;
    border: 0;
    font-size: 12px;
  }
  #miaotou-app .tk-brand-popover {
    inset: 100% 12px auto auto;
    width: min(360px, calc(100% - 24px));
  }
  #miaotou-app .tk-bar .tk-actions {
    grid-area: actions;
    gap: 2px;
  }
  #miaotou-app .tk-actions :is(.tk-favorites-entry, .tk-cart-entry) {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
  }
  #miaotou-app .tk-actions .tk-icon {
    display: block;
    width: 19px;
    height: 19px;
  }
  #miaotou-app .tk-actions :is(.tk-favorites-label, .tk-cart-label) {
    display: none;
  }
  #miaotou-app .tk-cart-count {
    position: absolute;
    inset: 1px 0 auto auto;
  }
  #miaotou-app .tk-actions .tk-avatar {
    min-width: 44px;
    min-height: 44px;
  }
  #miaotou-app .tk-main-nav {
    grid-area: nav;
    justify-self: start;
    gap: 16px;
    padding: 0;
  }
  #miaotou-app .tk-main-nav .tk-link {
    min-height: 44px;
    font-size: 14px;
  }
}

.public-content {
  max-width: 1440px;
  margin-inline: auto;
  padding: 24px clamp(16px, 4vw, 40px);
  overflow-wrap: anywhere;
}

.public-content img {
  max-width: 100%;
  height: auto;
}

.tk-month-medal,
.tk-reference-rank {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--tk-rule);
  border-radius: 6px;
  padding: 3px 7px;
  background: var(--tk-tint);
  color: var(--tk-warm);
  width: max-content;
  max-width: 100%;
  font-size: 11px;
  font-weight: 650;
}

.tk-month-medal {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: absolute;
  inset: 8px auto auto 8px;
  background: var(--tk-panel);
}

.tk-month-medal svg {
  width: 13px;
  height: 13px;
}

#miaotou-app dialog .tk-dialog-head {
  position: sticky;
  top: -16px;
  z-index: 1;
  background: var(--tk-panel);
}
