  :root {
  --red: #ff3b30;
  --red-dark: #e6352b;
  --text: #1a1a1a;
  --text-secondary: #8a8a8a;
  --text-muted: #b0b0b0;
  --bg: #f5f5f5;
  --card: #ffffff;
  --line: #efefef;
  --header-bg: #ffffff;
  --inner-box: #f7f7f7;
  --article-lock-text: #666666;
  --article-lock-label-text: #666666;
  --article-lock-match-text: #666666;
  --article-lock-bg: #f7f7f7;
  --author-update-badge-text: #ffffff;
  --author-update-badge-bg: #111111;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family, -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.page {
  max-width: 428px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
}

body[data-page="home"] .page {
  background: #fff;
}

body[data-page="home"] {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body[data-page="home"] .page {
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

body[data-page="home"] .profile-hero {
  flex-shrink: 0;
  z-index: 1;
}

body[data-page="home"] .content-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: visible;
  background: #fff;
  position: relative;
  z-index: 2;
}

body[data-page="home"] .article-list,
body[data-page="home"] .album-list:not(.hidden) {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-bottom: 0;
}

body[data-page="home"] .article-list {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body[data-page="home"] .article-list .article-card {
  display: block;
  flex: 0 0 auto;
  overflow: visible;
}

body[data-page="home"] .article-list .article-card__body {
  margin-top: 0;
  margin-bottom: 0;
  overflow: visible;
}

body[data-page="home"] #listEnd.hidden {
  display: none;
}

.page--white {
  background: #fff;
}

.watermark {
  position: relative;
}

.watermark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 80px,
      #999 80px,
      #999 81px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 120px,
      #999 120px,
      #999 121px
    );
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #f0f0f0;
}

.topbar__title {
  text-align: center;
  flex: 1;
}

.topbar__title h1 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.topbar__title p {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.topbar__icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 18px;
}

.profile-hero {
  background: var(--header-bg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 16px 16px 46px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.profile-hero--image {
  background-color: var(--header-bg);
}

.profile-hero--image::before,
.profile-hero--image::after,
.profile-hero:not(.profile-hero--image)::before,
.profile-hero:not(.profile-hero--image)::after {
  display: none;
}

.profile-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  background: #eee;
  position: relative;
  z-index: 1;
}

.avatar-link {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  border-radius: 50%;
}

body[data-page="article"] .avatar-link {
  cursor: pointer;
}

body[data-page="article"] .avatar-link:active {
  opacity: 0.85;
}

.profile-meta {
  flex: 1;
  min-width: 0;
}

.profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

.profile-head__main {
  flex: 1;
  min-width: 0;
}

.profile-name {
  font-size: var(--name-font-size, 17px);
  font-family: var(--name-font-family, "PingFang SC", "Heiti SC", "STHeiti", sans-serif);
  font-weight: var(--name-font-weight, 700);
  color: var(--name-color, var(--text));
  line-height: 1.3;
  -webkit-text-stroke: var(--name-text-stroke, 0) currentColor;
}

.profile-tags {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 3px 4px;
  margin-top: 6px;
  width: fit-content;
  max-width: 100%;
}

.profile-tag {
  display: block;
  padding: 2px 4px;
  border-radius: 3px;
  border: 1px solid var(--tag-border, var(--red));
  background: var(--tag-bg, transparent);
  color: var(--tag-text, var(--red));
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 10.5em;
}

.follow-btn {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--followed-btn-border, #e0e0e0);
  background: #fff;
  color: var(--followed-btn-text, #888);
  font-size: 12px;
  white-space: nowrap;
  transition: 0.2s;
}

.follow-btn.followed {
  border-color: var(--followed-btn-border, #ddd);
  background: #fff;
  color: var(--followed-btn-text, #666);
}

.follow-btn:not(.followed) {
  border-color: var(--follow-btn-bg, var(--red));
  background: var(--follow-btn-bg, var(--red));
  color: var(--follow-btn-text, #fff);
}

.profile-bio {
  margin-top: 10px;
  padding: 0 2px;
  font-size: var(--bio-font-size, 12px);
  font-weight: var(--bio-font-weight, 400);
  line-height: 1.6;
  color: var(--bio-color, var(--text-secondary));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.action-card {
  display: flex;
  align-items: stretch;
  margin: -31px 16px 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 5;
}

.action-card__divider {
  width: 1px;
  align-self: center;
  height: 24px;
  background: #eee;
  flex-shrink: 0;
}

.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 62px;
  padding: 0 12px;
  border-radius: 12px;
  background: transparent;
  border: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--action-text, #222);
  overflow: visible;
}

.action-btn__icon {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  overflow: visible;
}

.content-panel {
  background: #fff;
  flex: 1;
}

.tabs {
  display: flex;
  justify-content: space-evenly;
  background: #fff;
  padding-top: 12px;
}

.tab {
  position: relative;
  padding: 12px 4px 14px;
  font-size: 20px;
  color: var(--tab-inactive, #999);
  background: none;
}

.tab.active {
  color: var(--tab-active, #222);
  font-weight: 600;
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 12px;
  background: #fff;
}

.list-toolbar__count {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #aaa;
}

.list-toolbar__icon {
  color: #ccc;
  flex-shrink: 0;
}

.toggle {
  display: inline-flex;
  background: #f0f0f0;
  border-radius: 20px;
  padding: 2px;
}

.toggle__btn {
  min-width: 48px;
  padding: 5px 14px;
  border-radius: 18px;
  font-size: 12px;
  color: var(--toggle-inactive, #999);
  background: transparent;
}

.toggle__btn.active {
  background: var(--toggle-active, var(--red));
  color: #fff;
}

.article-list {
  padding: 0;
  padding-bottom: calc(8px + var(--safe-bottom));
  background: #fff;
}

.article-card {
  display: block;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #f2f2f2;
  padding: 9px 0 8px;
  overflow: visible;
}

.article-card__meta {
  padding: 0 16px 6px;
  font-size: 11px;
  color: var(--article-meta, #bbb);
}

.article-card__body {
  position: relative;
  margin: 0 16px;
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--inner-box);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-stamp {
  position: absolute;
  right: 30px;
  top: 50%;
  bottom: auto;
  margin-top: -24px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid #e0392b;
  border-radius: 50%;
  color: #e0392b;
  font-weight: 800;
  line-height: 1;
  transform: rotate(-18deg);
  opacity: 0.92;
  box-shadow: inset 0 0 0 2px rgba(224, 57, 43, 0.22);
  pointer-events: none;
  white-space: nowrap;
}

.article-stamp--1 {
  font-size: 24px;
}

.article-stamp--2 {
  font-size: 14px;
}

.article-stamp--3 {
  font-size: 11px;
}

.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 16px 0;
}

.article-card__text {
  flex: 1;
  min-width: 0;
}

.article-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-title__cabin {
  color: var(--price-text, var(--red));
}

.article-title__text {
  color: var(--article-list-title, var(--text, #1a1a1a));
}

.article-card__foot {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  min-width: 0;
}

.article-card__date {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--article-meta, #bbb);
  white-space: nowrap;
}

.article-card__match {
  margin-top: 4px;
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-font-smoothing: antialiased;
}

.article-card__match-label {
  color: var(--article-match-label, var(--article-match, #999));
}

.article-card__match-value {
  color: var(--article-match-value, var(--article-match, #999));
}

.article-card__footer .price {
  font-size: 15px;
  font-weight: 700;
}

.article-card__footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.article-card__footer-tag {
  font-size: 13px;
  line-height: 1.3;
  color: #666;
  padding: 2px 8px;
  border: 1px solid #d8d8d8;
  border-radius: 4px;
  white-space: nowrap;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-card__strike-price {
  font-size: 13px;
  line-height: 1.3;
  color: #b0b0b0;
  text-decoration: line-through;
  white-space: nowrap;
}

.article-card__arrow {
  color: #d0d0d0;
  font-size: 14px;
  flex-shrink: 0;
  line-height: 1;
}

.article-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.tag-pin {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 3px;
  background: #ff6b3d;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

.tag-pin__icon {
  display: block;
  flex-shrink: 0;
}

.price {
  color: var(--price-text, var(--red));
  font-size: 13px;
  font-weight: 700;
}

.list-end {
  text-align: center;
  padding: 20px 0 32px;
  font-size: 13px;
  color: var(--list-end-color, #ccc);
  background: #fff;
}

.list-end.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

.album-list {
  padding: 0;
  padding-bottom: calc(8px + var(--safe-bottom));
  background: #fff;
}

.album-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f2f2f2;
  background: #fff;
}

.album-card:last-child {
  border-bottom: none;
}

.album-card__cover {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.album-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.album-card__body {
  flex: 1;
  min-width: 0;
}

.album-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
}

.album-card__desc {
  margin-top: 4px;
  font-size: 13px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-card__meta {
  margin-top: 6px;
  font-size: 12px;
  color: #bbb;
}

.album-card__arrow {
  color: #d0d0d0;
  font-size: 16px;
  flex-shrink: 0;
}

.warn-page {
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.warn-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
  text-align: center;
}

.warn-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #2f7cf6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}

.warn-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.warn-url {
  font-size: 14px;
  color: #333;
  word-break: break-all;
  line-height: 1.5;
  margin-bottom: 12px;
}

.warn-tip {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

.warn-actions {
  width: 100%;
  padding: 0 24px 40px;
}

.warn-btn {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  background: #f2f2f2;
  color: #333;
  font-size: 16px;
}

.warn-link {
  display: block;
  margin-top: 28px;
  text-align: center;
  color: #576b95;
  font-size: 15px;
}

.article-page {
  padding-bottom: calc(120px + var(--safe-bottom));
}

body[data-page="article"] .profile-hero {
  padding-bottom: 16px;
}

body[data-page="article"] .article-head {
  border-top: 8px solid var(--bg);
}

.article-updated {
  padding: 10px 16px 6px;
  font-size: 12px;
  color: #999;
  background: var(--bg);
}

.article-frame {
  position: relative;
  margin: 14px 12px 24px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fff;
  overflow: visible;
}

.article-frame__badge {
  position: absolute;
  top: 0;
  left: 14px;
  transform: translateY(-50%);
  padding: 4px 10px;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.3;
  z-index: 2;
  white-space: nowrap;
}

.article-frame .article-head {
  padding-top: 14px;
  background: transparent;
  border-top: none;
}

body[data-page="article"] .article-frame .article-head {
  border-top: none;
}

.article-frame .section-head {
  border-top: none;
  background: transparent;
}

.article-frame .article-content {
  background: transparent;
}

.article-head {
  position: relative;
  padding: 16px;
  background: #fff;
}

.article-head .article-stamp {
  right: 16px;
  top: 8px;
  bottom: auto;
  width: 52px;
  height: 52px;
}

.article-head .article-stamp--1 {
  font-size: 28px;
}

.article-head h2 {
  font-size: 20px;
  line-height: 1.45;
  font-weight: 700;
}

.article-head time {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #aaa;
}

.lock-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--article-lock-bg, #f7f7f7);
  font-size: 14px;
  font-weight: 700;
}

.lock-box__label {
  color: var(--article-lock-label-text, var(--article-lock-text, #666));
}

.lock-box__match {
  color: var(--article-lock-match-text, var(--article-lock-text, #666));
}

.article-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 16px 12px 16px;
}

.article-section-box {
  position: relative;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  overflow: visible;
}

.article-section-box--updated {
  padding-top: 24px;
}

.article-section-box__badge {
  position: absolute;
  top: 0;
  left: 12px;
  transform: translateY(-50%);
  padding: 6px 14px;
  background: var(--author-update-badge-bg, #111);
  color: var(--author-update-badge-text, #fff);
  font-size: 14px;
  font-weight: 700;
  border-radius: 7px;
  line-height: 1.3;
  z-index: 2;
  white-space: nowrap;
}

.article-section-box .rich-body {
  padding: 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  background: #fff;
  border-top: 8px solid var(--bg);
}

.section-head--report-only {
  justify-content: flex-end;
}

.section-head h3 {
  font-size: 15px;
  font-weight: 700;
}

.section-head a,
.section-head .report-link {
  font-size: 13px;
  color: #576b95;
  font-weight: 700;
}

.article-content {
  background: #fff;
  padding: 0 16px 16px;
}

.promo-banner,
.tickets-collage {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 14px;
}

.highlight-box {
  padding: 12px;
  border-radius: 8px;
  background: #fff9c4;
  color: #d32f2f;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 600;
  margin-bottom: 14px;
}

.article-text {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 12px;
}

.match-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0;
}

.match-card__head {
  padding: 10px 12px;
  background: #fafafa;
  font-size: 12px;
  color: #888;
  text-align: center;
}

.match-card__teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 18px 12px 10px;
}

.team {
  text-align: center;
  min-width: 72px;
}

.team__flag {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f0f0f0;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.team__name {
  font-size: 15px;
  font-weight: 700;
}

.match-card__vs {
  font-size: 14px;
  color: #999;
  font-weight: 700;
}

.match-card__info {
  padding: 0 12px 14px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
}

.odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  margin: 10px 0 16px;
}

.odds-table th,
.odds-table td {
  border: 1px solid #eee;
  padding: 8px 4px;
  text-align: center;
}

.odds-table th {
  background: #fafafa;
  color: #888;
  font-weight: 500;
}

.chart-box {
  height: 120px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 16px;
  background: #fff;
}

.chart-box svg {
  width: 100%;
  height: 100%;
}

.float-contact {
  position: fixed;
  right: 12px;
  bottom: calc(130px + var(--safe-bottom));
  z-index: 30;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 14px rgba(255, 59, 48, 0.35);
}

.favorite-entry {
  position: fixed;
  right: 12px;
  top: calc(12px + env(safe-area-inset-top, 0px));
  z-index: 46;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: #ff3b30;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.18);
}

.favorite-entry__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  line-height: 1;
}

.favorite-entry__icon img {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: cover;
}

.wechat-fav-icon-inline {
  display: inline-block;
  height: 1em;
  width: auto;
  vertical-align: -0.12em;
  margin-left: 0.15em;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  object-fit: contain;
}

.favorite-guide {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.favorite-guide__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.favorite-guide__panel {
  position: absolute;
  top: calc(8px + env(safe-area-inset-top, 0px));
  right: 10px;
  width: min(280px, calc(100vw - 24px));
}

.favorite-guide__arrow {
  text-align: right;
  padding-right: 8px;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  animation: favorite-bounce 1.2s ease-in-out infinite;
}

.favorite-guide__card {
  margin-top: 6px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.favorite-guide__badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 11px;
  background: #fff1f0;
  color: #ff3b30;
  font-size: 11px;
  font-weight: 700;
}

.favorite-guide__title {
  margin: 10px 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.favorite-guide__steps {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.favorite-guide__steps p {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.favorite-guide__steps b {
  color: #ff3b30;
}

.favorite-guide__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.favorite-guide__btn {
  height: 40px;
  border-radius: 10px;
  background: #ff3b30;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.favorite-guide__btn--ghost {
  background: #f5f5f5;
  color: #666;
}

@keyframes favorite-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.tip-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(68px + var(--safe-bottom));
  z-index: 25;
  width: calc(100% - 24px);
  max-width: 404px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff8e1;
  color: #8a6d3b;
  font-size: 11px;
  line-height: 1.4;
}

.tip-bar.hidden {
  display: none;
}

.tip-bar__close {
  margin-left: auto;
  color: #999;
  font-size: 16px;
}

.pay-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 40;
  width: 100%;
  max-width: 428px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + var(--safe-bottom));
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.pay-footer--no-btn {
  justify-content: flex-start;
}

.pay-footer__price {
  color: var(--red);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.pay-footer__sub {
  margin-top: 4px;
  font-size: 11px;
  color: #aaa;
}

.pay-footer__btn {
  min-width: 140px;
  height: 44px;
  border-radius: 22px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.pay-footer__btn--plain {
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal__box {
  width: 100%;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.modal__box h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.modal__title-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.35;
}

.modal__title-stack--red {
  color: var(--red, #ff3b30);
  font-weight: 700;
}

.modal__box p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.modal__qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 12px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  background: #fff;
}

.modal__qr-live {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 8px;
}

.modal__qr--live {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.modal__qr--live.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal__live-name {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
  transition: opacity 0.25s ease;
}

.modal__tip {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  text-align: center;
}

.modal__tip--stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.modal__text b {
  font-weight: 700;
}

.modal__link {
  display: block;
  margin-top: 12px;
  color: #576b95;
  font-size: 14px;
  text-align: center;
}

.modal__btn {
  margin-top: 16px;
  width: 100%;
  height: 42px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
}

.article-card__text {
  flex: 1;
  min-width: 0;
}

.empty-state {
  padding: 40px 16px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
}

.card-rich,
.rich-content,
.rich-body {
  line-height: 1.8;
  font-size: 15px;
  color: #333;
  word-break: break-word;
}

.card-rich {
  margin: 0 12px 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.report-page {
  min-height: 100vh;
  background: var(--bg);
  padding-bottom: calc(16px + var(--safe-bottom));
}

.report-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  padding-top: calc(12px + env(safe-area-inset-top, 0px));
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.report-head h1 {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  margin-right: 32px;
  color: var(--text);
}

.report-head__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: #f5f5f5;
  font-size: 24px;
  line-height: 1;
  color: #333;
  flex-shrink: 0;
}

.report-body {
  padding: 12px;
}

.report-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.report-card h2,
.report-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.report-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.report-card--article .report-card__label {
  font-size: 12px;
  color: #999;
  margin-bottom: 6px;
}

.report-card--article .report-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--article-title, #ff3b30);
  line-height: 1.5;
}

.report-card--article .report-card__meta {
  margin-top: 6px;
  font-size: 13px;
  color: #888;
}

.report-form {
  display: block;
}

.report-reasons {
  display: grid;
  gap: 10px;
}

.report-reason {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #eee;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text);
  background: #fafafa;
  transition: border-color 0.2s, background 0.2s;
}

.report-reason:has(input:checked) {
  border-color: var(--red);
  background: #fff5f4;
}

.report-reason input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  flex-shrink: 0;
}

.report-form textarea,
.report-form input[type="text"] {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  background: #fafafa;
  color: var(--text);
  outline: none;
}

.report-form textarea:focus,
.report-form input[type="text"]:focus {
  border-color: var(--red);
  background: #fff;
}

.report-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.report-submit {
  display: block;
  width: 100%;
  height: 46px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin: 4px 0 8px;
  border: none;
}

.report-submit:disabled {
  opacity: 0.7;
}

.reports-wrap {
  display: grid;
  gap: 12px;
}

.report-item {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 14px;
  background: #fafafa;
}

.report-item__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.report-item__head strong {
  color: #d32f2f;
}

.report-item__head span,
.report-item__meta,
.report-item__contact {
  font-size: 12px;
  color: #888;
}

.report-item__content {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  white-space: pre-wrap;
}

.card-rich.hidden {
  display: none;
}

.rich-content img,
.card-rich img,
.rich-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0;
}

.rich-content video,
.card-rich video,
.rich-body video {
  max-width: 100%;
  border-radius: 8px;
  margin: 10px 0;
  background: #000;
}

.img-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin: 10px 0;
}

.img-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin: 0;
  border-radius: 2px;
  display: block;
}

.img-grid img:only-child {
  aspect-ratio: 16 / 9;
  grid-column: 1 / -1;
}

.video-wrap {
  margin: 10px 0;
}

.video-wrap video {
  width: 100%;
  margin: 0;
}

.rich-body .ql-font-system,
.rich-content .ql-font-system {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}
.rich-body .ql-font-pingfang,
.rich-content .ql-font-pingfang {
  font-family: "PingFang SC", "Helvetica Neue", sans-serif;
}
.rich-body .ql-font-yahei,
.rich-content .ql-font-yahei {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
.rich-body .ql-font-noto,
.rich-content .ql-font-noto {
  font-family: "Noto Sans SC", "PingFang SC", sans-serif;
}
.rich-body .ql-font-notoSerif,
.rich-content .ql-font-notoSerif {
  font-family: "Noto Serif SC", "Songti SC", serif;
}
.rich-body .ql-font-songti,
.rich-content .ql-font-songti {
  font-family: "Songti SC", SimSun, serif;
}
.rich-body .ql-font-kaiti,
.rich-content .ql-font-kaiti {
  font-family: "Kaiti SC", KaiTi, serif;
}
.rich-body .ql-font-heiti,
.rich-content .ql-font-heiti {
  font-family: "Heiti SC", "STHeiti", sans-serif;
}
.rich-body .ql-font-fangsong,
.rich-content .ql-font-fangsong {
  font-family: "FangSong", "STFangsong", serif;
}

.rich-content .highlight-box,
.rich-body .highlight-box {
  padding: 12px;
  border-radius: 8px;
  background: #fff9c4;
  color: #d32f2f;
  font-weight: 600;
  margin: 10px 0;
}

.rich-content h1,
.rich-body h1 {
  font-size: 22px;
  margin: 12px 0 8px;
}

.rich-content h2,
.rich-body h2 {
  font-size: 19px;
  margin: 12px 0 8px;
}

.rich-content h3,
.rich-body h3 {
  font-size: 17px;
  margin: 10px 0 6px;
}

.rich-content blockquote,
.rich-body blockquote {
  border-left: 3px solid #ff3b30;
  padding-left: 12px;
  color: #666;
  margin: 10px 0;
}
