#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;
  border-radius: 4px;
  color: var(--tk-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
#miaotou-app button.tk-cart-entry:focus-visible {
  outline: 2px solid var(--tk-warm);
  outline-offset: 2px;
}
@media (hover: hover) {
  #miaotou-app button.tk-cart-entry:hover {
    color: var(--tk-warm);
  }
}
#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-kicker {
  font-size: 12px;
  color: var(--tk-warm);
  font-weight: 700;
}
#miaotou-app .tk-board {
  --board-inset: clamp(18px, 2.4vw, 32px);
  --board-overlap: 18px;
  margin: 20px clamp(16px, 4vw, 40px) 32px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--tk-panel);
}
#miaotou-app .tk-issue {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: 'title share' 'caption share';
  align-items: start;
  gap: 4px 12px;
  padding: 25px var(--board-inset) calc(24px + var(--board-overlap));
  color: white;
  background: #100916;
}
#miaotou-app .tk-week-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('../images/tk-ranking-glass.jpg') center 60% / 100% 140% no-repeat;
}
#miaotou-app .tk-week-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 330px 100px at 112px 49%,
    #10091c99 10%,
    #10091c7a 50%,
    transparent
  );
}
#miaotou-app .tk-issue h1 {
  grid-area: title;
  color: white;
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1.2;
  font-weight: 750;
}
#miaotou-app .tk-issue-caption {
  grid-area: caption;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
}
#miaotou-app .tk-issue-slogan {
  color: #f4f1fb;
  font-size: 15px;
  line-height: 1.45;
  text-wrap: balance;
}
#miaotou-app .tk-issue .tk-kicker {
  align-self: center;
  padding-inline-start: 12px;
  border-inline-start: 1px solid #ffffff66;
  color: #e5e3f3;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
#miaotou-app .tk-issue .tk-kicker:empty {
  display: none;
}
#miaotou-app button.tk-week-share {
  grid-area: share;
  display: grid;
  place-items: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  color: white;
  background: #11091f60;
}
#miaotou-app .tk-week-share .tk-icon {
  width: 24px;
  height: 24px;
}
#miaotou-app button.tk-week-share:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
@media (hover: hover) {
  #miaotou-app button.tk-week-share:hover {
    background: #11091f9c;
  }
}
#miaotou-app .tk-board-body {
  position: relative;
  margin-top: calc(0px - var(--board-overlap));
  padding: 4px var(--board-inset) 12px;
  border-radius: var(--board-overlap) var(--board-overlap) 0 0;
  background: var(--tk-panel);
}
#miaotou-app .tk-issue-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 8px;
  color: var(--tk-muted);
  font-size: 12px;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}
#miaotou-app .tk-script-filter {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  cursor: pointer;
}
#miaotou-app .tk-script-filter input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: var(--tk-warm);
  cursor: pointer;
}
@media (pointer: coarse) {
  #miaotou-app .tk-script-filter {
    min-height: 44px;
  }
}
@media (forced-colors: active) {
  #miaotou-app .tk-week-art {
    display: none;
  }
}
#miaotou-app .tk-week-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  border-bottom: 1px solid var(--tk-rule);
}
#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: 44px;
  padding: 0 4px;
  color: var(--tk-muted);
  font-size: 13px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
#miaotou-app .tk-recent-weeks .tk-week-link {
  position: relative;
}
#miaotou-app .tk-recent-weeks .tk-week-link[aria-current='page']::after {
  content: '';
  position: absolute;
  inset: auto 4px 0;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
}
#miaotou-app .tk-week-nav .tk-week-link[aria-current='page'],
#miaotou-app .tk-week-nav .tk-week-archive-toggle {
  color: var(--tk-warm);
  font-weight: 700;
}
#miaotou-app .tk-week-nav .tk-week-archive-toggle {
  margin-inline-start: auto;
}
#miaotou-app .tk-week-nav :is(.tk-week-link, .tk-week-archive-toggle):hover {
  color: var(--tk-warm);
}
#miaotou-app .tk-week-archive .tk-week-link {
  padding: 0 9px;
  min-height: 34px;
  border-radius: 5px;
}
#miaotou-app .tk-week-archive .tk-week-link[aria-current='page'] {
  background: var(--tk-tint);
}
#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;
  white-space: nowrap;
}
#miaotou-app .tk-issue-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  margin-bottom: 4px;
  padding-inline: 10px;
  border-radius: 7px;
  background: var(--tk-tint);
  font-size: 13px;
}
#miaotou-app .tk-issue-highlight > * {
  padding-block: 8px;
}
#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;
  white-space: nowrap;
}
#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-head .tk-reference-tags {
  margin-top: 3px;
}
#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;
}
#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-poster-download,
#miaotou-app .tk-poster-unavailable {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  min-height: 32px;
  font-size: 13px;
}
#miaotou-app .tk-poster-download {
  color: var(--tk-warm);
  font-weight: 650;
  text-underline-offset: 3px;
}
#miaotou-app .tk-poster-download:is(:hover, :focus-visible) {
  text-decoration: underline;
}
#miaotou-app .tk-poster-unavailable {
  color: var(--tk-muted);
}
#miaotou-app .tk-original-image {
  display: block;
  max-width: 100%;
  max-height: 64vh;
  width: auto;
  height: auto;
  margin: 10px auto 0;
  -webkit-touch-callout: default;
}
#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='bookmark'] {
  --tk-icon: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIxLjciIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHBhdGggZD0iTTE3IDNhMiAyIDAgMCAxIDIgMnYxNWExIDEgMCAwIDEtMS40OTYuODY4bC00LjUxMi0yLjU3OGEyIDIgMCAwIDAtMS45ODQgMGwtNC41MTIgMi41NzhBMSAxIDAgMCAxIDUgMjBWNWEyIDIgMCAwIDEgMi0yeiIvPjwvc3ZnPg==');
}
#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-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 .tk-poster-download {
    min-height: 44px;
  }
  #miaotou-app button,
  #miaotou-app button.tk-cart-entry,
  #miaotou-app button.tk-avatar {
    min-height: 44px;
  }
  #miaotou-app .tk-issue-highlight button {
    min-width: 44px;
    text-align: center;
  }
  #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-board {
    --board-inset: 16px;
    margin: 0;
    border-radius: 0;
  }
  #miaotou-app .tk-issue {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    grid-template-areas: '. title share' 'caption caption caption';
    align-items: center;
    gap: 2px 0;
    padding: 12px 12px calc(14px + var(--board-overlap));
    text-align: center;
  }
  #miaotou-app .tk-issue h1 {
    font-size: clamp(24px, 7vw, 30px);
  }
  #miaotou-app .tk-issue-caption {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  #miaotou-app .tk-issue-slogan {
    font-size: 14px;
  }
  #miaotou-app .tk-issue .tk-kicker {
    padding: 0;
    border: 0;
    font-size: 12px;
  }
  #miaotou-app .tk-week-art {
    background-image: url('../images/tk-ranking-glass-mobile.jpg');
    background-size: cover;
  }
  #miaotou-app .tk-week-art::after {
    background: radial-gradient(
      ellipse 48% 72% at 50% 48%,
      #10091c52 20%,
      #10091c3d 62%,
      transparent
    );
  }
  #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 {
    padding-inline: clamp(2px, calc(10vw - 30px), 7px);
  }
  #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 .genre-flame {
  display: inline-block;
  width: 0.94em;
  height: 0.94em;
  /* Tuck the flame into the lower-left space beside the first character. */
  margin-inline: -0.2em -0.3em;
  vertical-align: -0.24em;
  fill: #ff994b;
  stroke: #b53c18;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
#miaotou-app :is(.sm-poster-labels, .tk-poster-tags) .genre-flame {
  fill: #ffb657;
  stroke: #ffdda0;
}
#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;
    text-wrap: balance;
  }
  #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;
  }
  #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;
}

#miaotou-app .tk-drama-link {
  color: inherit;
  text-decoration: none;
}
#miaotou-app .tk-drama-link:hover,
#miaotou-app .tk-drama-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#miaotou-app .tk-market-services {
  margin-top: 16px;
  color: var(--tk-muted);
  font-size: 14px;
}

.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);
}
