:root {
  --page: #ffffff;
  --surface: #ffffff;
  --surface-warm: #fffdf6;
  --ink: #171916;
  --muted: #6e726b;
  --soft: #9a9d95;
  --line: #eee9dd;
  --line-strong: #ded6c7;
  --brand: #25543b;
  --leaf: #35a267;
  --sun: #ffd85a;
  --sun-deep: #c78300;
  --blue: #315f8d;
  --rose: #a65361;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(36, 38, 31, 0.07);
  --shadow-hover: 0 24px 64px rgba(36, 38, 31, 0.11);
  --max: 1320px;
}

/* Paddle verification pages: public pricing, terms, privacy, and refund policy. */
body.policy-page {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(248, 251, 246, 0.96), rgba(255, 255, 255, 0.98) 34%),
    var(--page);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.policy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.policy-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.policy-brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.policy-brand span {
  display: grid;
  gap: 2px;
}

.policy-brand strong {
  font-size: 19px;
  line-height: 1.1;
}

.policy-brand small {
  color: var(--muted);
  font-size: 13px;
}

.policy-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.policy-header nav a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #3d5546;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.policy-header nav a:hover,
.policy-header nav a[aria-current="page"] {
  border-color: rgba(37, 84, 59, 0.18);
  background: rgba(37, 84, 59, 0.08);
}

.policy-main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 60px;
}

.policy-hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid var(--line);
}

.policy-kicker {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #172019;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: 0;
}

.policy-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4d554d;
  font-size: 18px;
  line-height: 1.75;
}

.policy-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0 0 12px;
  color: #1d2a22;
  font-size: 24px;
  line-height: 1.24;
}

.policy-section p,
.policy-section li {
  color: #4e574f;
  font-size: 16px;
  line-height: 1.75;
}

.policy-section p {
  max-width: 780px;
  margin: 0 0 12px;
}

.policy-section a,
.policy-footer a {
  color: var(--brand);
  font-weight: 800;
}

.policy-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px 0 12px;
}

.policy-price-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(37, 84, 59, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(31, 43, 34, 0.08);
}

.policy-price-card.is-featured {
  border-color: rgba(37, 84, 59, 0.34);
  background: linear-gradient(180deg, #fbfff8, #fff);
}

.policy-price-card p,
.policy-price-card h2,
.policy-price-card span {
  margin: 0;
}

.policy-price-card p {
  color: var(--brand);
  font-size: 15px;
  font-weight: 850;
}

.policy-price-card h2 {
  color: #18231c;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
}

.policy-price-card span {
  color: var(--muted);
  font-weight: 750;
}

.policy-price-card ul {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding-left: 20px;
}

.policy-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .policy-header {
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 28px, 430px);
  }

  .policy-header nav {
    justify-content: flex-start;
  }

  .policy-main,
  .policy-footer {
    width: min(100% - 28px, 430px);
  }

  .policy-hero {
    padding-top: 36px;
  }

  .policy-hero h1 {
    font-size: 38px;
  }

  .policy-hero p {
    font-size: 16px;
  }

  .policy-pricing-grid {
    grid-template-columns: 1fr;
  }

  .policy-price-card {
    padding: 22px;
  }
}

/* Simple comment actions: keep the controls quiet and compact. */
.comment-actions {
  justify-content: flex-start !important;
  gap: 18px !important;
  margin-top: 10px !important;
}

.comment-action {
  min-height: 26px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #8c908a !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.comment-action:hover {
  color: #4f5d51 !important;
}

.comment-action-icon {
  display: none !important;
}

.comment-like::before {
  content: "赞";
}

.comment-reply::before {
  content: "回复";
}

.comment-share::before {
  content: "";
}

.comment-action em {
  margin-left: 4px !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
}

/* Tenth-pass mobile video controls from annotated overlay feedback. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar {
    top: 10px !important;
    right: 14px !important;
    left: 14px !important;
    grid-template-columns: 44px minmax(0, max-content) 44px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-back,
  .detail-hero-video-first .media-card.is-video-mode .mobile-share,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch,
  .mobile-video-center-toggle,
  .mobile-video-fullscreen {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(38, 42, 40, 0.32) !important;
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.14) inset !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    backdrop-filter: blur(14px) saturate(1.25);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-back,
  .detail-hero-video-first .media-card.is-video-mode .mobile-share {
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    font-size: 25px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch {
    min-height: 44px !important;
    max-width: min(184px, 50vw) !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: 15px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch span {
    margin-right: 7px;
  }

  .mobile-video-center-toggle,
  .mobile-video-bottom-bar {
    display: none;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-center-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 7;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-center-toggle .detail-play-symbol {
    margin-left: 4px;
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
    border-left-color: #fff;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-center-toggle.is-playing .detail-play-symbol {
    width: 18px;
    height: 22px;
    margin-left: 0;
    border: 0;
    border-right: 6px solid #fff;
    border-left: 6px solid #fff;
  }

  .detail-hero-video-first .media-card.is-video-mode.is-media-playing:not(.mobile-video-overlay-visible) .mobile-video-center-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.94);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    position: absolute;
    right: 10px;
    bottom: 9px;
    left: 10px;
    z-index: 7;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 38px;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 7px 8px 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(14, 17, 16, 0.28);
    opacity: 0.92;
    -webkit-backdrop-filter: blur(13px) saturate(1.2);
    backdrop-filter: blur(13px) saturate(1.2);
  }

  .mobile-video-time {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    line-height: 1;
    font-weight: 760;
    white-space: nowrap;
  }

  .mobile-video-progress {
    --progress: 0%;
    width: 100%;
    height: 24px;
    min-width: 0;
    appearance: none;
    border: 0;
    border-radius: 999px;
    background:
      linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.32) var(--progress) 100%);
    cursor: pointer;
  }

  .mobile-video-progress::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: transparent;
  }

  .mobile-video-progress::-webkit-slider-thumb {
    width: 13px;
    height: 13px;
    margin-top: -4.5px;
    appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: #ffd84d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  }

  .mobile-video-progress::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: transparent;
  }

  .mobile-video-progress::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: #ffd84d;
  }

  .mobile-video-fullscreen {
    width: 38px;
    height: 32px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 10px !important;
  }

  .mobile-video-fullscreen span,
  .mobile-video-fullscreen span::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
  }

  .mobile-video-fullscreen span {
    top: 8px;
    right: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.92);
    border-right: 2px solid rgba(255, 255, 255, 0.92);
  }

  .mobile-video-fullscreen span::before {
    right: 9px;
    bottom: 9px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.92);
    border-left: 2px solid rgba(255, 255, 255, 0.92);
  }
}

/* Mobile priority: weekly listening overview, recent listening cards, and playing indicator. */
@media (max-width: 720px) {
  .mobile-home {
    gap: 12px !important;
  }

  .mobile-weekly-listening {
    display: grid;
    gap: 13px;
    padding: 14px;
    border: 1px solid #e4e9df;
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 216, 77, 0.16), transparent 40%),
      #f3f7f0;
    box-shadow: 0 10px 28px rgba(29, 48, 35, 0.07);
  }

  .mobile-weekly-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-weekly-head span {
    color: #566156;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
  }

  .mobile-weekly-head strong {
    color: #1f2d23;
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
    white-space: nowrap;
  }

  .mobile-weekly-bars {
    height: 118px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
  }

  .mobile-weekly-day {
    min-width: 0;
    height: 100%;
    display: grid;
    grid-template-rows: 18px minmax(48px, 1fr) 18px;
    justify-items: center;
    align-items: end;
    gap: 4px;
  }

  .mobile-weekly-day small,
  .mobile-weekly-day em {
    max-width: 100%;
    overflow: hidden;
    color: #7e877c;
    font-size: 10px;
    line-height: 1;
    font-style: normal;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-weekly-day span {
    width: min(18px, 100%);
    min-height: 16px;
    display: block;
    border-radius: 999px;
    background: linear-gradient(180deg, #64aa7e, #25543b);
    box-shadow: 0 6px 12px rgba(37, 84, 59, 0.14);
  }

  .mobile-weekly-day.is-best span {
    background: linear-gradient(180deg, #ffd84d, #d79b14);
    box-shadow: 0 6px 14px rgba(216, 162, 20, 0.2);
  }

  .mobile-recent-listening {
    display: grid !important;
    gap: 10px !important;
    padding: 0 !important;
  }

  .mobile-recent-head span {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef3ed;
    color: #5d665c;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
  }

  .mobile-recent-rail {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  .mobile-recent-card {
    width: 100% !important;
    min-height: 86px !important;
    grid-template-columns: 58px minmax(0, 1fr) 40px !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border: 1px solid #ebeee7 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(25, 31, 24, 0.045) !important;
  }

  .mobile-recent-card:first-child {
    border-color: rgba(255, 216, 77, 0.48) !important;
    background: linear-gradient(135deg, #fffaf0, #fff) !important;
  }

  .mobile-recent-card img {
    width: 58px !important;
    border-radius: 7px !important;
  }

  .mobile-recent-copy {
    min-width: 0;
    display: grid;
    gap: 5px;
  }

  .mobile-recent-card strong {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .mobile-recent-card small {
    margin-top: 0 !important;
    overflow: hidden;
    color: #858c82 !important;
    font-size: 12px !important;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-recent-progress {
    height: 5px;
    display: block;
    overflow: hidden;
    border-radius: 999px;
    background: #e6e9e2;
  }

  .mobile-recent-progress span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffd84d, #25543b);
  }

  .mobile-recent-card em {
    width: 40px !important;
    height: 40px !important;
    background: #25543b !important;
    color: #fff !important;
  }

  .mobile-playlist-item {
    grid-template-columns: minmax(0, 1fr) 30px 34px 30px !important;
  }

  .mobile-playlist-now {
    width: 28px !important;
    height: 28px !important;
    position: relative !important;
    display: inline-block !important;
    border-radius: 999px !important;
    background: #fff3bd !important;
    color: #9a7914 !important;
    opacity: 0 !important;
  }

  .mobile-playlist-now > span {
    position: absolute;
    display: block;
    color: currentColor;
  }

  .mobile-playlist-now > span:nth-child(1) {
    left: 7px;
    top: 11px;
    width: 5px;
    height: 8px;
    border-radius: 2px;
    background: currentColor;
  }

  .mobile-playlist-now > span:nth-child(2) {
    left: 11px;
    top: 8px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid currentColor;
  }

  .mobile-playlist-now > span:nth-child(3) {
    left: 18px;
    top: 8px;
    width: 6px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-radius: 0 999px 999px 0;
    background: transparent;
  }

  .mobile-playlist-now > span:nth-child(3)::after {
    content: "";
    position: absolute;
    left: 4px;
    top: -4px;
    width: 8px;
    height: 20px;
    border-right: 2px solid currentColor;
    border-radius: 0 999px 999px 0;
    opacity: 0.5;
  }

  .mobile-playlist-item.active .mobile-playlist-now {
    opacity: 1 !important;
  }

  .mobile-playlist-item.active .mobile-playlist-now > span:nth-child(3),
  .mobile-playlist-now.is-playing > span:nth-child(3) {
    animation: mobileSoundWave 1050ms ease-in-out infinite;
  }

  .mobile-playlist-item.active strong {
    color: #9a7914 !important;
  }
}

@keyframes mobileSoundWave {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-1px) scaleX(0.84);
  }

  50% {
    opacity: 1;
    transform: translateX(0) scaleX(1);
  }
}

/* Mobile18 true final override: keep the video controls compact. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(var(--mobile-video-hide-y, 0));
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar {
    --mobile-video-hide-y: -6px;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    --mobile-video-hide-y: 7px;
  }

  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-listen-topbar,
  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-video-bottom-bar {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    right: 16px !important;
    bottom: 10px !important;
    left: 16px !important;
    grid-template-columns: auto minmax(0, 1fr) 32px !important;
    gap: 7px !important;
    min-height: 34px !important;
    padding: 5px 6px 5px 10px !important;
    border-radius: 18px !important;
    background: rgba(16, 18, 17, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.12) inset !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.18);
    backdrop-filter: blur(16px) saturate(1.18);
  }

  .mobile-video-time {
    gap: 2px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    opacity: 0.92;
  }

  .mobile-video-progress {
    height: 18px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .mobile-video-progress::-webkit-slider-runnable-track {
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.24) var(--progress) 100%) !important;
  }

  .mobile-video-progress::-webkit-slider-thumb {
    width: 18px !important;
    height: 18px !important;
    margin-top: -7.5px !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    background: var(--video-thumb-cover) center / cover no-repeat #ffd84d !important;
    box-shadow:
      0 2px 9px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(0, 0, 0, 0.14) !important;
  }

  .mobile-video-progress::-moz-range-track {
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.24) var(--progress) 100%) !important;
  }

  .mobile-video-progress::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    background: var(--video-thumb-cover) center / cover no-repeat #ffd84d !important;
    box-shadow:
      0 2px 9px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(0, 0, 0, 0.14) !important;
  }

  .mobile-video-fullscreen {
    width: 32px !important;
    height: 28px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.11) !important;
  }

  .mobile-video-fullscreen span,
  .mobile-video-fullscreen span::before {
    width: 10px !important;
    height: 10px !important;
  }

  .mobile-video-fullscreen span {
    top: 7px !important;
    right: 7px !important;
  }

  .mobile-video-fullscreen span::before {
    right: 8px !important;
    bottom: 8px !important;
  }
}

/* Mobile health library section. */
@media (max-width: 720px) {
  .mobile-health-books {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 15px 12px 14px;
    overflow: hidden;
    border: 1px solid rgba(210, 218, 207, 0.92);
    border-radius: 8px;
    background:
      linear-gradient(145deg, rgba(255, 216, 77, 0.18), transparent 34%),
      linear-gradient(180deg, #f9fbf6 0%, #eef4ee 100%);
    box-shadow: 0 14px 34px rgba(28, 50, 36, 0.09);
  }

  .mobile-health-books::before {
    content: "";
    position: absolute;
    top: 15px;
    right: -44px;
    width: 118px;
    height: 118px;
    border: 1px solid rgba(37, 84, 59, 0.16);
    border-radius: 999px;
  }

  .mobile-health-head,
  .mobile-health-hero,
  .mobile-health-grid {
    position: relative;
    z-index: 1;
  }

  .mobile-health-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-health-head span {
    display: block;
    margin-bottom: 5px;
    color: #7b875f;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.08em;
  }

  .mobile-health-head h2 {
    margin: 0;
    color: #1b2b20;
    font-size: 24px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
  }

  .mobile-health-head strong {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid rgba(37, 84, 59, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #506450;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
  }

  .mobile-health-hero {
    min-height: 150px;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) 40px;
    gap: 13px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(37, 84, 59, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 12px 24px rgba(30, 48, 34, 0.07);
  }

  .mobile-health-cover-stack {
    position: relative;
    width: 108px;
    height: 130px;
  }

  .mobile-health-cover-stack img {
    position: absolute;
    display: block;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 12px 22px rgba(25, 38, 28, 0.15);
  }

  .mobile-health-cover-stack img:nth-child(1) {
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 76px;
  }

  .mobile-health-cover-stack img:nth-child(2) {
    right: 10px;
    top: 6px;
    z-index: 2;
    width: 58px;
    opacity: 0.88;
    transform: rotate(4deg);
  }

  .mobile-health-cover-stack img:nth-child(3) {
    right: 0;
    bottom: 12px;
    z-index: 1;
    width: 50px;
    opacity: 0.72;
    transform: rotate(8deg);
  }

  .mobile-health-copy {
    min-width: 0;
  }

  .mobile-health-copy > span {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #25543b;
    color: #fff;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 850;
  }

  .mobile-health-copy h3 {
    margin: 0;
    overflow: hidden;
    color: #17231b;
    font-size: 19px;
    line-height: 1.18;
    font-weight: 950;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-health-copy p {
    display: -webkit-box;
    margin: 7px 0 9px;
    overflow: hidden;
    color: #5f6e62;
    font-size: 13px;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mobile-health-copy div {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .mobile-health-copy em {
    min-width: 0;
    padding: 4px 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf1e9;
    color: #697468;
    font-size: 11px;
    line-height: 1;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-health-hero > button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #ffd84d;
    color: #17231b;
    box-shadow: 0 10px 20px rgba(216, 162, 20, 0.22);
  }

  .mobile-health-hero > button .play-icon {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
  }

  .mobile-health-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mobile-health-tile {
    min-width: 0;
    min-height: 78px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(221, 226, 217, 0.94);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    color: #1f2a20;
    text-align: left;
  }

  .mobile-health-tile img {
    width: 44px;
    aspect-ratio: 3 / 4;
    display: block;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 7px 14px rgba(25, 38, 28, 0.11);
  }

  .mobile-health-tile span {
    min-width: 0;
  }

  .mobile-health-tile strong {
    display: block;
    overflow: hidden;
    color: #1f2a20;
    font-size: 14px;
    line-height: 1.18;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-health-tile small {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #778374;
    font-size: 11px;
    line-height: 1;
    font-weight: 760;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

/* Mobile18: compact video chrome and cleaner comments. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(var(--mobile-video-hide-y, 0));
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar {
    --mobile-video-hide-y: -6px;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    --mobile-video-hide-y: 7px;
  }

  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-listen-topbar,
  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-video-bottom-bar {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    right: 16px !important;
    bottom: 10px !important;
    left: 16px !important;
    grid-template-columns: auto minmax(0, 1fr) 32px !important;
    gap: 7px !important;
    min-height: 34px !important;
    padding: 5px 6px 5px 10px !important;
    border-radius: 18px !important;
    background: rgba(16, 18, 17, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.12) inset !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.18);
    backdrop-filter: blur(16px) saturate(1.18);
  }

  .mobile-video-time {
    gap: 2px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    opacity: 0.92;
  }

  .mobile-video-progress {
    height: 18px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .mobile-video-progress::-webkit-slider-runnable-track {
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.24) var(--progress) 100%) !important;
  }

  .mobile-video-progress::-webkit-slider-thumb {
    width: 18px !important;
    height: 18px !important;
    margin-top: -7.5px !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    background: var(--video-thumb-cover) center / cover no-repeat #ffd84d !important;
    box-shadow:
      0 2px 9px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(0, 0, 0, 0.14) !important;
  }

  .mobile-video-progress::-moz-range-track {
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.24) var(--progress) 100%) !important;
  }

  .mobile-video-progress::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    background: var(--video-thumb-cover) center / cover no-repeat #ffd84d !important;
    box-shadow:
      0 2px 9px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(0, 0, 0, 0.14) !important;
  }

  .mobile-video-fullscreen {
    width: 32px !important;
    height: 28px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.11) !important;
  }

  .mobile-video-fullscreen span,
  .mobile-video-fullscreen span::before {
    width: 10px !important;
    height: 10px !important;
  }

  .mobile-video-fullscreen span {
    top: 7px !important;
    right: 7px !important;
    border-top-width: 2px !important;
    border-right-width: 2px !important;
  }

  .mobile-video-fullscreen span::before {
    right: 8px !important;
    bottom: 8px !important;
    border-bottom-width: 2px !important;
    border-left-width: 2px !important;
  }

  .comment-featured {
    display: none !important;
  }

  .comment-actions {
    justify-content: flex-start !important;
    gap: 34px !important;
  }

  .comment-actions button,
  .comment-action {
    min-width: 0 !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    color: #9b9f9a !important;
  }

  .comment-action em {
    font-style: normal;
    font-size: 14px;
    line-height: 1;
    font-weight: 850;
  }

  .comment-action-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-block;
    flex: 0 0 24px;
    color: currentColor;
  }

  .comment-action-icon.like::before,
  .comment-action-icon.like::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 11px;
    height: 17px;
    border: 2px solid currentColor;
    border-radius: 999px 999px 0 0;
    border-bottom: 0;
    transform-origin: bottom center;
  }

  .comment-action-icon.like::before {
    left: 5px;
    transform: rotate(-45deg);
  }

  .comment-action-icon.like::after {
    right: 5px;
    transform: rotate(45deg);
  }

  .comment-action-icon.reply::before {
    content: "";
    position: absolute;
    inset: 4px 3px 6px 3px;
    border: 2px solid currentColor;
    border-radius: 7px;
  }

  .comment-action-icon.reply::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(35deg);
  }

  .comment-action-icon.share::before {
    content: "";
    position: absolute;
    right: 3px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }

  .comment-action-icon.share::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 13px;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(-42deg);
    transform-origin: right center;
  }

  .mobile-comment-list .book-comment {
    user-select: none;
    -webkit-user-select: none;
    transition: background 140ms ease;
  }

  .mobile-comment-list .book-comment.is-pressing {
    background: rgba(245, 246, 243, 0.9) !important;
  }
}


/* Ninth-pass mobile refinements from annotated video/comments/catalog feedback. */
@media (max-width: 720px) {
  #catalog .section-head {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  #catalog .section-head > div {
    width: 100% !important;
  }

  #catalog .section-title {
    margin-left: 0 !important;
    text-align: left !important;
  }

  .detail-hero-video-first .media-card.is-video-mode {
    position: relative;
    overflow: hidden;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-player {
    position: absolute;
    inset: 0;
    z-index: 8;
    display: block !important;
    pointer-events: none;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar {
    position: absolute;
    top: 8px;
    right: 8px;
    left: 8px;
    z-index: 9;
    display: grid !important;
    grid-template-columns: 38px minmax(0, max-content) 38px !important;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    background: rgba(18, 22, 20, 0.42);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
  }

  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-listen-topbar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar > * {
    pointer-events: auto;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-back,
  .detail-hero-video-first .media-card.is-video-mode .mobile-share {
    width: 38px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    font-size: 24px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-share {
    font-size: 20px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch {
    max-width: min(178px, 52vw) !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
    white-space: nowrap;
  }

  .detail-hero-video-first .media-card.is-video-mode .media-stage {
    overflow: hidden;
    border: 0 !important;
    border-radius: 14px !important;
    cursor: pointer;
    touch-action: manipulation;
  }

  .detail-hero-video-first .media-card.is-video-mode .media-video {
    border-radius: 14px !important;
    user-select: none;
    -webkit-user-select: none;
  }

  .mobile-comments-section {
    margin: 22px -12px 0 !important;
    padding: 0 12px calc(76px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(246, 247, 243, 0.2)) !important;
    box-shadow: none !important;
  }

  .mobile-comments-head {
    display: none !important;
  }

  .mobile-comment-list {
    gap: 0 !important;
    padding: 12px 20px 18px !important;
    border: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    background: #fff !important;
    box-shadow: 0 -10px 34px rgba(24, 28, 23, 0.06) !important;
  }

  .mobile-comment-list .book-comment {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .mobile-comment-list .book-comment + .book-comment {
    border-top: 1px solid #eeeeee !important;
  }

  .comment-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--comment-accent);
    color: #5f531a;
    font-size: 18px;
    font-weight: 900;
  }

  .comment-content {
    min-width: 0;
  }

  .mobile-comment-list .comment-meta {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px;
  }

  .comment-author {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .mobile-comment-list .comment-author strong {
    color: #7b7d7a !important;
    font-size: 16px !important;
    line-height: 1.2;
    font-weight: 850;
  }

  .comment-author span {
    color: #a5a7a3;
    font-size: 14px;
    line-height: 1.2;
  }

  .comment-featured {
    flex: 0 0 auto;
    color: #d2aa63;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 900;
  }

  .mobile-comment-list .book-comment p {
    margin: 14px 0 16px !important;
    color: #303235 !important;
    font-size: 18px !important;
    line-height: 1.72 !important;
    font-weight: 850 !important;
    word-break: break-word;
  }

  .comment-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .comment-actions button {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: #a0a2a0;
    font-size: 14px;
    font-weight: 750;
  }

  .comment-actions span {
    font-size: 19px;
    line-height: 1;
  }

  .mobile-detail-dock {
    grid-template-columns: minmax(0, 1fr) 50px 50px !important;
    gap: 8px !important;
    min-height: calc(62px + env(safe-area-inset-bottom));
    padding: 8px 14px max(8px, env(safe-area-inset-bottom)) !important;
  }

  .mobile-note-form {
    position: relative;
    height: 42px !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 0 14px !important;
    background: #f0f1ef !important;
  }

  .mobile-note-form::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #b6b8b5;
    border-radius: 4px;
    transform: rotate(-18deg);
  }

  .mobile-note-send {
    display: none !important;
  }

  .mobile-note-form:focus-within {
    grid-template-columns: 18px minmax(0, 1fr) auto !important;
  }

  .mobile-note-form:focus-within .mobile-note-send {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font-family:
    "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei",
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1100px) {
  body {
    zoom: 0.8;
  }
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(232, 226, 216, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--max), calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  position: relative;
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 8px;
  background: transparent url("assets/brand/xilanhua-icon.png") center / contain no-repeat;
  box-shadow: none;
}

.logo-mark [data-site-logo] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-mark[data-site-logo-active] .logo-page,
.logo-mark[data-site-logo-active] .logo-leaf {
  display: none;
}

.logo-page,
.logo-leaf {
  display: none;
}

.logo-page {
  position: absolute;
  bottom: 9px;
  width: 14px;
  height: 18px;
  border-radius: 3px 3px 2px 2px;
  background: #fff8dd;
}

.logo-page.left {
  left: 8px;
  transform: skewY(7deg);
}

.logo-page.right {
  right: 8px;
  transform: skewY(-7deg);
}

.logo-leaf {
  position: absolute;
  top: 7px;
  left: 17px;
  width: 12px;
  height: 18px;
  border-radius: 12px 12px 2px 12px;
  background: var(--leaf);
  transform: rotate(36deg);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand-copy small {
  color: var(--soft);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: #34362f;
  font-size: 15px;
  font-weight: 650;
}

.site-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-color: var(--sun);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
}

.text-link:hover {
  color: var(--brand);
}

.user-avatar {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f4f1ea;
  box-shadow: 0 14px 30px rgba(31, 35, 29, 0.12);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.user-avatar:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(31, 35, 29, 0.16);
}

.avatar-face {
  position: relative;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 56%, #ffd8b0 0 34%, transparent 35%),
    radial-gradient(circle at 50% 34%, #20201d 0 31%, transparent 32%),
    #ffe2bd;
}

.avatar-face::before,
.avatar-face::after {
  content: "";
  position: absolute;
  top: 24px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #22221f;
}

.avatar-face::before {
  left: 16px;
}

.avatar-face::after {
  right: 16px;
}

.avatar-badge {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--sun);
}

.avatar-badge::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.join-button,
.primary-button,
.play-button,
.tab-button,
.caption-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 6px;
  border: 1px solid transparent;
}

.join-button,
.primary-button {
  min-height: 42px;
  padding: 0 22px;
  border-radius: 10px;
  background: var(--sun);
  color: #181713;
  font-size: 18px;
  font-weight: 800;
}

.join-button:hover,
.primary-button:hover {
  background: #ffca30;
}

.site-main {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0 86px;
}

.section-block {
  margin-top: 112px;
}

.section-block:first-child {
  margin-top: 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.shelf-head {
  margin-bottom: 18px;
}

.section-title {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: 0;
  color: #33363a;
  font-weight: 900;
}

.section-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.latest-layout {
  display: grid;
  grid-template-columns: minmax(520px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
}

.latest-feature,
.book-card,
.rank-card,
.catalog-card,
.notes-panel,
.player-panel {
  border: 1px solid rgba(238, 233, 221, 0.82);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.latest-feature {
  min-height: 255px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
  gap: 26px;
  padding: 18px 24px;
}

.feature-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  color: var(--sun-deep);
  font-size: 13px;
  font-weight: 800;
}

.feature-title {
  margin: 12px 0 8px;
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: 0;
}

.feature-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f0eee7;
  color: #555850;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.pill.green {
  background: #e8f5ec;
  color: var(--brand);
}

.play-button {
  min-width: 94px;
  padding: 0 14px;
  background: var(--sun);
  color: #1d1b15;
  font-weight: 750;
  box-shadow: 0 8px 18px rgba(216, 139, 0, 0.16);
}

.play-button:hover {
  background: #ffca30;
}

.latest-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  padding: 18px 22px;
  border: 1px solid rgba(238, 233, 221, 0.78);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.book-card {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 13px;
  min-height: 148px;
  padding: 12px;
  text-align: left;
}

.latest-mini {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.latest-mini:hover {
  transform: none;
}

.latest-mini .book-info {
  align-content: start;
  justify-items: center;
  gap: 5px;
  text-align: center;
}

.latest-mini .book-title {
  width: 100%;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.latest-mini .book-meta {
  font-size: 12px;
}

.mini-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(222, 214, 199, 0.72);
  border-radius: 6px;
  background: #fffaf0;
  color: #26231d;
  font-size: 13px;
  font-weight: 750;
}

.book-card:hover,
.catalog-card:hover {
  border-color: rgba(222, 214, 199, 0.9);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.book-info {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 7px;
}

.book-title {
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.book-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.book-meta {
  color: var(--soft);
  font-size: 12px;
}

.book-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 42%),
    linear-gradient(160deg, var(--cover-a), var(--cover-b));
  color: #fff;
  box-shadow: inset 0 -40px 80px rgba(0, 0, 0, 0.22);
}

.cover-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.book-cover.has-image {
  background: #f1eee6;
  box-shadow:
    0 18px 34px rgba(24, 27, 22, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

.book-cover.has-image::before,
.book-cover.has-image::after,
.book-cover.has-image .cover-category,
.book-cover.has-image .cover-title,
.book-cover.has-image .cover-host {
  display: none;
}

.book-cover::before {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 6px;
}

.book-cover::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: 22px;
  width: 90px;
  height: 18px;
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(-38deg);
}

.book-cover.large {
  width: 172px;
}

.book-cover.shelf {
  width: min(100%, 132px);
  margin: 0 auto;
}

.cover-category {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 750;
}

.cover-title {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 52px;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 850;
}

.cover-host {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-style: normal;
}

.tab-row {
  width: min(100%, 760px);
  max-width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 34px;
  overflow-x: auto;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  min-width: max-content;
  min-height: 34px;
  padding: 0 0 8px;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 750;
  border-bottom: 4px solid transparent;
}

.tab-button.active {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--sun);
}

.hot-shelf {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
  margin-top: 28px;
  overflow-x: auto;
  padding: 0 2px 8px;
}

.rank-card {
  position: relative;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.rank-number {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(24, 24, 24, 0.54);
  color: #fff;
  font-weight: 850;
}

.rank-card .book-cover {
  margin: 0 auto 12px;
}

.rank-card .book-title {
  width: 100%;
  min-height: 22px;
  font-size: 16px;
  white-space: nowrap;
}

.rank-card .book-meta {
  margin-top: 6px;
  font-size: 14px;
}

.book-cover.rank {
  width: min(100%, 142px);
}

.rank-card .mini-play {
  margin-top: 10px;
}

.shelf-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 28px;
  color: #2f302d;
  font-size: 18px;
}

.round-nav {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--soft);
  font-size: 32px;
  line-height: 1;
}

.round-nav.active {
  border-color: #46443d;
  color: #46443d;
}

.listening-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}

.player-panel {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  padding: 22px;
}

.player-main {
  min-width: 0;
}

.player-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.audio-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.audio-file {
  color: var(--muted);
  font-size: 13px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.real-audio {
  display: none;
}

.player-title {
  margin: 7px 0 7px;
  font-size: 26px;
  line-height: 1.22;
}

.player-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.audio-control {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-warm);
}

.control-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.round-play {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--sun);
  color: #1d1b15;
  font-size: 18px;
  font-weight: 850;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ddd7ca;
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f2bd20, var(--sun));
}

.time-readout {
  min-width: 86px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.transcript-paper {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(238, 233, 221, 0.86);
  border-radius: 8px;
  background: #fff;
}

.transcript-source {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(238, 233, 221, 0.9);
  border-radius: 8px;
  background: #fffdf6;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.transcript-source strong {
  color: #3b3d36;
}

.live-caption {
  display: grid;
  grid-template-columns: 8px 48px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--leaf);
  box-shadow: 0 0 0 5px rgba(53, 162, 103, 0.1);
}

.live-caption-time {
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
}

.live-caption-text {
  color: #242822;
  font-size: 17px;
  line-height: 1.65;
}

.transcript-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 6px;
}

.toolbar-label {
  color: var(--muted);
  font-size: 13px;
}

.toolbar-label b {
  color: var(--brand);
}

.transcript-flow {
  margin: 8px 0 0;
  color: #30332e;
  font-size: 16px;
  line-height: 2.02;
  user-select: text;
}

.transcript-scroll {
  max-height: 430px;
  overflow: auto;
  padding: 4px 10px 6px 2px;
  scrollbar-width: thin;
  scrollbar-color: #d9d0bd transparent;
}

.floating-note-toolbar {
  position: sticky;
  top: 10px;
  z-index: 4;
  display: grid;
  gap: 8px;
  width: min(100%, 520px);
  margin: 0 0 12px auto;
  padding: 12px;
  border: 1px solid rgba(238, 233, 221, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(31, 35, 29, 0.13);
  backdrop-filter: blur(12px);
  animation: toolbarIn 180ms ease both;
}

.toolbar-preview {
  max-height: 44px;
  overflow: hidden;
  color: #3b3d36;
  font-size: 13px;
  line-height: 1.55;
}

@keyframes toolbarIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.transcript-segment {
  display: inline;
  padding: 2px 0;
  border-radius: 4px;
  cursor: pointer;
  transition:
    background 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.transcript-segment:hover,
.transcript-segment.selected {
  background: #fff3c6;
  box-shadow:
    5px 0 0 #fff3c6,
    -5px 0 0 #fff3c6;
}

.transcript-segment.active {
  color: #2f2a19;
  background: #fff0b3;
  box-shadow:
    5px 0 0 #fff0b3,
    -5px 0 0 #fff0b3;
}

.transcript-segment.highlighted {
  background: linear-gradient(transparent 58%, rgba(255, 214, 90, 0.7) 58%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.inline-time {
  display: inline-flex;
  width: 0;
  margin-right: 0;
  overflow: hidden;
  color: var(--soft);
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  vertical-align: baseline;
  transition:
    opacity 160ms ease,
    width 160ms ease,
    margin 160ms ease;
}

.transcript-segment:hover .inline-time,
.transcript-segment.selected .inline-time,
.transcript-segment.active .inline-time {
  width: auto;
  margin-right: 5px;
  opacity: 1;
}

.caption-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.caption-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  background: #fff;
  border-color: var(--line);
  color: #4c5048;
  font-size: 12px;
  font-weight: 700;
}

.caption-button:hover,
.ghost-button:hover {
  background: #fff4c7;
  border-color: rgba(216, 139, 0, 0.26);
}

.comment-box {
  display: none;
  gap: 8px;
  margin-top: 12px;
}

.comment-box.open {
  display: grid;
}

.transcript-comment {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

textarea {
  width: 100%;
  min-height: 76px;
  resize: vertical;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  line-height: 1.55;
}

.notes-panel {
  width: 100%;
  padding: 18px;
}

.notes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.notes-head h3 {
  margin: 0;
  font-size: 18px;
}

.note-count {
  color: var(--muted);
  font-size: 13px;
}

.book-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.book-stats div {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(238, 233, 221, 0.86);
  border-radius: 8px;
  background: #fffdf6;
}

.book-stats strong {
  display: block;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}

.book-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.book-comment-form {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.book-comment-form textarea {
  min-height: 92px;
}

.side-section {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.side-section + .side-section {
  margin-top: 16px;
}

.side-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.side-section-head h4 {
  margin: 0;
  font-size: 15px;
}

.side-section-head span,
.side-section-head a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.side-section-head a:hover {
  color: var(--brand);
}

.comment-list {
  display: grid;
  gap: 10px;
}

.book-comment {
  padding: 11px;
  border: 1px solid rgba(238, 233, 221, 0.84);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(36, 38, 31, 0.045);
}

.comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.comment-meta strong {
  color: var(--brand);
}

.book-comment p {
  margin: 0;
  color: #454940;
  font-size: 13px;
  line-height: 1.6;
}

.note-list {
  display: grid;
  gap: 10px;
}

.note-item {
  padding: 11px;
  border: 1px solid rgba(238, 233, 221, 0.86);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: 0 10px 24px rgba(36, 38, 31, 0.045);
}

.note-item:hover {
  border-color: var(--line-strong);
}

.note-source {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.note-body {
  margin-top: 5px;
  color: #454940;
  font-size: 13px;
  line-height: 1.55;
}

.empty-note {
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.empty-note.compact {
  padding: 12px;
  font-size: 13px;
}

.compact-list .note-item {
  padding: 10px;
}

.notes-home .note-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-main {
  padding-top: 34px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.detail-book,
.media-card,
.detail-section,
.detail-side-panel {
  border: 1px solid rgba(238, 233, 221, 0.82);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-book {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  min-height: 420px;
  padding: 28px;
}

.detail-cover-wrap {
  display: grid;
  align-content: start;
  justify-items: center;
}

.detail-cover-wrap img {
  width: min(100%, 210px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow:
    0 24px 46px rgba(35, 38, 32, 0.18),
    0 2px 0 rgba(255, 255, 255, 0.72) inset;
}

.detail-copy {
  min-width: 0;
  align-self: center;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.crumb a:hover {
  color: var(--brand);
}

.detail-copy h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.1;
}

.detail-subtitle {
  margin: 16px 0 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.detail-meta,
.score-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.detail-meta {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.detail-meta span,
.score-row span {
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.detail-meta span:last-child,
.score-row span:last-child {
  border-right: 0;
}

.score-row {
  margin-top: 18px;
}

.score-row strong {
  color: var(--sun-deep);
  font-size: 32px;
  line-height: 1;
}

.score-row span {
  color: var(--muted);
  font-size: 14px;
}

.hero-actions {
  margin-top: 28px;
}

.media-card {
  position: sticky;
  top: 96px;
  padding: 18px;
}

.media-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.media-card-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
}

.mode-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffaf0;
}

.mode-switch button {
  min-width: 54px;
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.mode-switch button.active {
  background: var(--sun);
  color: #1d1b15;
  box-shadow: 0 6px 14px rgba(216, 139, 0, 0.14);
}

.media-stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #151814;
  aspect-ratio: 16 / 9;
}

.audio-float {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #1f211d;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translate3d(10px, -8px, 0) scale(0.96);
  animation: audioFloatIn 680ms cubic-bezier(0.2, 0.82, 0.18, 1) 520ms forwards;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    background 220ms ease;
}

.audio-float:hover {
  background: #fff6d7;
  transform: translate3d(0, 0, 0) scale(1.02);
}

.show-audio .audio-float {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(10px, -8px, 0) scale(0.96);
}

.audio-float em {
  font-style: normal;
  font-size: 13px;
  font-weight: 850;
}

.headset-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 2px solid #26231d;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.headset-icon::before,
.headset-icon::after {
  content: "";
  position: absolute;
  bottom: -5px;
  width: 5px;
  height: 8px;
  border-radius: 5px;
  background: #26231d;
}

.headset-icon::before {
  left: -3px;
}

.headset-icon::after {
  right: -3px;
}

.headset-icon span {
  position: absolute;
  right: -5px;
  bottom: -8px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #26231d;
  transform: rotate(-8deg);
}

@keyframes audioFloatIn {
  0% {
    opacity: 0;
    transform: translate3d(10px, -8px, 0) scale(0.96);
  }

  62% {
    opacity: 1;
    transform: translate3d(-1px, 1px, 0) scale(1.01);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.media-video,
.audio-art {
  width: 100%;
  height: 100%;
}

.media-video {
  object-fit: contain;
  background: #151814;
}

.stream-video-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  background: #151814;
}

.stream-video-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-video-state {
  padding: 14px 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-align: center;
}

.audio-art {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 24px;
  background: linear-gradient(135deg, #244f3c, #f0b337);
  color: #fff;
  text-align: center;
}

.audio-art img {
  width: min(42%, 148px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.audio-art strong {
  font-size: 22px;
}

.audio-art span {
  opacity: 0.78;
  font-size: 13px;
}

.show-video .audio-art,
.show-audio .media-video {
  display: none;
}

.detail-player {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(238, 233, 221, 0.88);
  border-radius: 8px;
  background: var(--surface-warm);
}

.detail-progress {
  display: grid;
}

.detail-progress input {
  --progress: 0%;
  width: 100%;
  height: 8px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2bd20 0 var(--progress), #e8e1d2 var(--progress) 100%);
  outline: 0;
}

.detail-progress input::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 0 2px 8px rgba(31, 35, 29, 0.2);
}

.detail-progress input::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 0 2px 8px rgba(31, 35, 29, 0.2);
}

.detail-controls {
  display: grid;
  grid-template-columns: 58px 48px 58px minmax(86px, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.skip-button,
.detail-play-button {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #3f392a;
  font-size: 13px;
  font-weight: 850;
}

.detail-play-button {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--sun);
  color: #171713;
  box-shadow: 0 9px 20px rgba(216, 139, 0, 0.18);
  font-size: 18px;
}

.detail-time {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.detail-content {
  display: grid;
  gap: 18px;
}

.detail-section {
  padding: 24px;
}

.detail-section-head {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.detail-section-head span {
  color: var(--sun-deep);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-section-head h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.recommend-text {
  margin: 0;
  color: #3d4139;
  font-size: 17px;
  line-height: 1.9;
}

.acquire-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.acquire-grid div {
  min-height: 116px;
  padding: 16px;
  border-radius: 8px;
  background: #f7f4ec;
}

.acquire-grid em {
  display: block;
  color: var(--leaf);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.acquire-grid strong {
  display: block;
  margin-top: 18px;
  color: #30332e;
  line-height: 1.45;
}

.extract-list {
  display: grid;
  gap: 12px;
}

.extract-list blockquote {
  margin: 0;
  padding: 14px 16px;
  border-left: 4px solid var(--leaf);
  border-radius: 0 8px 8px 0;
  background: #fbfaf6;
  color: #41453e;
  line-height: 1.8;
}

.detail-transcript {
  padding: 0;
  border: 0;
  background: transparent;
}

.detail-side-panel {
  position: sticky;
  top: 96px;
}

.book-interaction-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.related-panel {
  padding: 18px;
}

.related-panel .side-section-head {
  margin-bottom: 14px;
}

.related-panel h3 {
  margin: 5px 0 0;
  font-size: 19px;
}

.side-recommend-list {
  display: grid;
  gap: 12px;
}

.side-rec-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(238, 233, 221, 0.72);
  border-radius: 8px;
  background: #fff;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.side-rec-card:hover {
  border-color: rgba(222, 214, 199, 0.95);
  box-shadow: 0 14px 34px rgba(36, 38, 31, 0.08);
  transform: translateY(-1px);
}

.side-rec-card img {
  width: 72px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(24, 27, 22, 0.13);
}

.side-rec-card strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.side-rec-card p {
  margin: 6px 0 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.side-rec-card span {
  color: var(--soft);
  font-size: 12px;
}

.compact-recommend {
  margin-top: 40px;
}

.detail-recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-rec-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-rec-card img {
  width: 84px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}

.detail-rec-card strong {
  display: block;
  margin-top: 3px;
}

.detail-rec-card p {
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.detail-rec-card span {
  color: var(--soft);
  font-size: 12px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.catalog-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  min-height: 150px;
  padding: 14px;
  text-align: left;
}

.catalog-card .book-info {
  align-content: start;
}

.catalog-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.site-footer {
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(37, 84, 59, 0.14);
  border-radius: 999px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.1;
  text-decoration: none;
}

.site-footer-links a:hover {
  border-color: rgba(37, 84, 59, 0.28);
  background: rgba(37, 84, 59, 0.06);
}

.profile-main {
  display: grid;
  gap: 24px;
}

.profile-hero,
.profile-panel,
.profile-stat-card {
  border: 1px solid rgba(238, 233, 221, 0.82);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.profile-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.profile-hero h1 {
  margin: 8px 0 10px;
  font-size: 42px;
  line-height: 1.12;
}

.profile-hero p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profile-stat-card {
  padding: 18px;
}

.profile-stat-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.profile-stat-card strong {
  display: block;
  margin-top: 12px;
  color: #22231f;
  font-size: 28px;
  line-height: 1.1;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.profile-panel {
  padding: 24px;
}

.history-list,
.profile-note-grid {
  display: grid;
  gap: 12px;
}

.history-item,
.profile-note {
  border: 1px solid rgba(238, 233, 221, 0.84);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(36, 38, 31, 0.045);
}

.history-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.history-item img {
  width: 72px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(24, 27, 22, 0.13);
}

.history-item strong,
.profile-note span {
  color: var(--ink);
  font-weight: 850;
}

.history-item p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.history-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee7d6;
}

.history-progress span {
  display: block;
  width: var(--progress);
  height: 100%;
  border-radius: inherit;
  background: var(--sun);
}

.history-item small {
  display: block;
  margin-top: 8px;
  color: var(--soft);
  font-size: 12px;
}

.daily-bars {
  height: 178px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.daily-bar {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.bar-track {
  width: 100%;
  max-width: 36px;
  height: 96px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 999px;
  background: #f2eddf;
}

.bar-track span {
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffe485, var(--sun));
}

.daily-bar strong {
  color: #3c3b35;
  font-size: 11px;
  white-space: nowrap;
}

.daily-bar small {
  color: var(--soft);
  font-size: 12px;
}

.profile-tip {
  margin: 18px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #fffdf6;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.profile-note {
  display: block;
  padding: 13px 14px;
}

.profile-note span {
  color: var(--sun-deep);
  font-size: 12px;
}

.profile-note p {
  margin: 7px 0 0;
  color: #454940;
  font-size: 14px;
  line-height: 1.65;
}

.play-icon,
.detail-play-symbol {
  width: 0;
  height: 0;
  display: inline-block;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
  transform: translateX(1px);
}

.play-button,
.mini-play,
.play-label {
  gap: 8px;
}

.play-button {
  min-height: 42px;
  min-width: 118px;
  border-radius: 8px;
  background: var(--sun);
  color: #151511;
  font-size: 18px;
  box-shadow: none;
}

.mini-play,
.play-label {
  min-height: 36px;
  padding: 0 14px;
  border-color: rgba(222, 214, 199, 0.8);
  border-radius: 8px;
  background: #fff;
  color: #26231d;
  font-size: 17px;
  font-weight: 650;
  box-shadow: 0 8px 20px rgba(31, 35, 29, 0.055);
}

.mini-play .play-icon,
.play-label .play-icon {
  color: #f5c400;
}

.latest-layout {
  grid-template-columns: minmax(560px, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
}

.latest-feature {
  min-height: 276px;
  gap: 34px;
  padding: 24px 28px;
  background: #f8f8f6;
  border-color: transparent;
  box-shadow: none;
}

.feature-title {
  margin-top: 14px;
  font-size: 34px;
  font-weight: 900;
  color: #33363a;
}

.feature-desc {
  font-size: 18px;
}

.latest-feature .book-cover.large {
  width: 182px;
}

.latest-list {
  min-height: 276px;
  align-items: center;
  gap: 34px;
  padding: 26px 28px;
  background: #f8f8f6;
  border-color: transparent;
  box-shadow: none;
}

.latest-mini {
  gap: 14px;
}

.latest-mini .book-title,
.rank-card .book-title,
.catalog-card .book-title {
  color: #10110f;
  font-weight: 900;
}

.latest-mini .book-title {
  font-size: 17px;
}

.latest-mini .book-meta {
  color: #8b8e87;
  font-size: 15px;
}

.book-cover.shelf {
  width: min(100%, 148px);
}

.hot-shelf {
  gap: 26px;
  padding: 28px 28px 30px;
  border-radius: 8px;
  background: #f7f7f5;
}

.rank-card {
  min-width: 0;
}

.rank-cover-shell {
  position: relative;
  width: min(100%, 154px);
  margin: 0 auto 14px;
}

.rank-cover-shell .book-cover.rank {
  width: 100%;
  margin: 0;
}

.rank-cover-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 4px;
  padding: 42px 8px 8px;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.rank-cover-caption::after {
  content: "";
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.rank-cover-caption strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-cover-caption span {
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.rank-number {
  top: 8px;
  left: 8px;
  background: rgba(255, 216, 90, 0.96);
  color: #222;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.rank-card .mini-play {
  margin-top: 0;
}

#catalog .section-head {
  align-items: end;
  border-bottom: 1px solid var(--line);
}

#catalog .tab-row {
  justify-content: flex-end;
}

.catalog-grid {
  gap: 18px;
  margin-top: 30px;
}

.catalog-card {
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  min-height: 168px;
  padding: 22px;
  border-color: rgba(238, 233, 221, 0.72);
  background: #fff;
  box-shadow: 0 14px 40px rgba(31, 35, 29, 0.055);
}

.catalog-card .book-cover {
  width: 126px;
}

.catalog-card .book-info {
  gap: 12px;
  align-content: center;
}

.catalog-card .book-title {
  font-size: 22px;
  line-height: 1.2;
}

.catalog-card .book-subtitle {
  font-size: 16px;
  line-height: 1.55;
}

.catalog-actions {
  gap: 12px;
  margin-top: 8px;
}

.detail-hero {
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: stretch;
}

.detail-hero .media-card {
  position: static;
  top: auto;
  padding: 24px;
}

.detail-hero .media-stage {
  aspect-ratio: 16 / 9;
}

.detail-book {
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  min-height: auto;
  padding: 24px;
  align-content: start;
}

.detail-cover-wrap img {
  width: 112px;
}

.detail-copy {
  align-self: start;
}

.detail-copy h1 {
  font-size: 38px;
  font-weight: 950;
  color: #11120f;
}

.detail-subtitle {
  font-size: 16px;
}

.detail-meta,
.score-row {
  gap: 8px;
}

.hero-actions {
  margin-top: 20px;
}

.detail-player {
  padding: 18px;
}

.detail-controls {
  grid-template-columns: 64px 56px 64px minmax(86px, 1fr);
}

.detail-play-button {
  width: 56px;
  height: 56px;
}

.detail-play-button.is-playing .detail-play-symbol,
.round-play.is-playing .detail-play-symbol {
  width: 14px;
  height: 18px;
  border: 0;
  border-left: 5px solid currentColor;
  border-right: 5px solid currentColor;
  transform: none;
}

.round-play {
  color: #171713;
}

#latest {
  --latest-panel: #f6f6f6;
  --latest-ink: #252525;
}

.site-main {
  padding-top: 58px;
}

#latest .section-head {
  margin-bottom: 30px;
}

#latest .section-title {
  color: #222;
  font-size: 46px;
  font-weight: 950;
}

.latest-layout {
  grid-template-columns: minmax(520px, 0.9fr) minmax(560px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.latest-feature,
.latest-list {
  min-height: 288px;
  border: 0;
  border-radius: 8px;
  background: var(--latest-panel);
  box-shadow: none;
}

.latest-feature {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
  padding: 24px 28px;
}

.latest-feature .book-cover.large {
  width: 190px;
  align-self: center;
  box-shadow:
    0 22px 34px rgba(30, 32, 28, 0.16),
    0 2px 0 rgba(255, 255, 255, 0.9) inset;
}

.feature-copy {
  justify-content: center;
  padding: 4px 0;
}

.latest-date-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  width: max-content;
  color: #f2b900;
  line-height: 1;
}

.latest-date-badge strong {
  font-size: 38px;
  font-weight: 950;
}

.latest-date-badge em {
  font-size: 17px;
  font-style: normal;
  font-weight: 850;
}

.latest-date-badge small {
  margin-left: 4px;
  color: #9b9b9b;
  font-size: 13px;
  font-weight: 750;
}

.feature-title {
  margin: 16px 0 10px;
  color: var(--latest-ink);
  font-size: 36px;
  font-weight: 950;
  line-height: 1.15;
}

.feature-desc {
  max-width: 360px;
  color: #565656;
  font-size: 18px;
  line-height: 1.55;
}

.feature-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.feature-bottom .meta-row {
  margin-top: 0;
  gap: 12px;
  color: #8a8a8a;
  font-size: 14px;
}

.feature-bottom .play-button {
  flex: 0 0 auto;
}

.play-button {
  min-width: 104px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(238, 188, 0, 0.78);
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-size: 17px;
  font-weight: 850;
  box-shadow: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.play-button .play-icon {
  color: #f2b900;
}

.play-button:hover {
  border-color: #f2b900;
  background: #ffd84d;
  transform: translateY(-1px);
}

.play-button:hover .play-icon {
  color: #222;
}

.latest-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  align-items: center;
  padding: 25px 30px 22px;
}

.latest-mini {
  gap: 13px;
}

.latest-mini .book-cover.shelf {
  width: min(100%, 144px);
  box-shadow:
    0 18px 28px rgba(30, 32, 28, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.latest-mini .book-info {
  display: grid;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.latest-mini .book-title {
  max-width: 150px;
  color: #1f1f1f;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-compact-date {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  color: #f0b600;
  line-height: 1;
}

.latest-compact-date strong {
  font-size: 22px;
  font-weight: 950;
}

.latest-compact-date span {
  font-size: 14px;
  font-weight: 800;
}

.latest-mini .mini-play {
  min-width: 86px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(226, 226, 226, 0.95);
  border-radius: 6px;
  background: #fff;
  color: #252525;
  font-size: 15px;
  font-weight: 800;
  box-shadow: none;
}

.latest-mini .mini-play .play-icon {
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 10px;
  color: #f2b900;
}

.latest-mini:hover .mini-play {
  border-color: #f2b900;
  background: #ffd84d;
}

.latest-mini:hover .mini-play .play-icon {
  color: #222;
}

#hot .hot-shelf {
  grid-template-columns: repeat(7, minmax(132px, 1fr));
  gap: 32px;
  overflow: visible;
  padding: 26px 0 34px;
  border-radius: 0;
  background: transparent;
}

#hot .rank-card {
  isolation: isolate;
}

#hot .rank-cover-shell {
  width: min(100%, 150px);
  margin-bottom: 30px;
  border-radius: 9px;
  perspective: 900px;
  transform-style: preserve-3d;
}

#hot .rank-cover-shell::before,
#hot .rank-cover-shell::after {
  display: none;
}

.book-table-shadow,
.book-edge,
.book-cover-gloss {
  position: absolute;
  pointer-events: none;
}

.book-table-shadow {
  left: 3%;
  right: -10%;
  bottom: -30px;
  z-index: 0;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(24, 24, 20, 0.3) 0%,
    rgba(24, 24, 20, 0.17) 38%,
    rgba(24, 24, 20, 0) 76%
  );
  filter: blur(13px);
  transform: perspective(180px) rotateX(62deg) rotate(-2deg);
  transform-origin: center;
}

.book-edge-right {
  top: 6px;
  right: -6px;
  bottom: -9px;
  z-index: 1;
  width: 9px;
  border-radius: 0 7px 8px 0;
  background:
    linear-gradient(90deg, rgba(74, 55, 29, 0.42), rgba(250, 241, 214, 0.96) 28%, rgba(188, 153, 89, 0.66)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.88) 0 3px, rgba(183, 166, 130, 0.6) 3px 4px);
  box-shadow:
    4px 7px 14px rgba(28, 25, 19, 0.16),
    -3px 0 5px rgba(0, 0, 0, 0.12) inset;
  opacity: 0.88;
  transform: skewY(8deg);
  transform-origin: left top;
}

.book-edge-bottom {
  left: 7px;
  right: -5px;
  bottom: -10px;
  z-index: 2;
  height: 13px;
  border-radius: 0 0 8px 9px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 2px, rgba(209, 190, 152, 0.68) 2px 3px, rgba(248, 240, 218, 0.96) 3px 6px),
    linear-gradient(90deg, rgba(81, 59, 31, 0.5), rgba(255, 250, 230, 0.96) 15%, rgba(201, 166, 95, 0.74) 84%, rgba(58, 40, 22, 0.56));
  box-shadow:
    0 5px 9px rgba(31, 28, 21, 0.15),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transform: perspective(150px) rotateX(-18deg) skewX(8deg);
  transform-origin: left top;
}

#hot .rank-cover-shell .book-cover.rank {
  position: relative;
  z-index: 3;
  border-radius: 9px 8px 7px 8px;
  box-shadow:
    0 17px 28px rgba(24, 26, 22, 0.18),
    0 7px 14px rgba(24, 26, 22, 0.1),
    -7px 0 10px rgba(255, 255, 255, 0.22) inset,
    8px 0 12px rgba(0, 0, 0, 0.16) inset,
    0 -7px 9px rgba(0, 0, 0, 0.12) inset;
  filter: saturate(1.02) contrast(1.02);
  transform: translateY(-2px) rotateY(-1.2deg);
  transform-origin: left center;
}

.book-cover-gloss {
  inset: 0;
  z-index: 4;
  border-radius: 9px 8px 7px 8px;
  background:
    linear-gradient(108deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 23%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 18%, rgba(0, 0, 0, 0.06) 86%, rgba(0, 0, 0, 0.15));
  opacity: 0.62;
  mix-blend-mode: soft-light;
  transform: translateY(-2px) rotateY(-1.2deg);
  transform-origin: left center;
}

#hot .rank-cover-caption {
  z-index: 5;
  bottom: 0;
  border-radius: 0 0 7px 7px;
  overflow: hidden;
  padding-bottom: 9px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.74));
  transform: translateY(-2px) rotateY(-1.2deg);
  transform-origin: left center;
}

#hot .rank-cover-caption::after {
  margin: 1px 2px 0;
  height: 4px;
  border-radius: 999px;
}

#hot .rank-number {
  z-index: 6;
  border-radius: 6px;
  box-shadow: 0 9px 18px rgba(38, 32, 18, 0.2);
}

#hot .rank-card .mini-play {
  margin-top: 0;
  box-shadow: 0 12px 24px rgba(29, 30, 26, 0.08);
}

.clickable {
  cursor: pointer;
}

.clickable:focus-visible,
button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--leaf);
  outline-offset: 2px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: min(340px, calc(100vw - 44px));
  padding: 12px 14px;
  border-radius: 8px;
  background: #171916;
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .latest-layout,
  .listening-grid,
  .player-panel,
  .detail-hero,
  .detail-grid,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .media-card,
  .detail-side-panel {
    position: static;
  }

  .detail-book {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .player-panel .book-cover.large {
    width: min(240px, 100%);
  }

  .hot-shelf {
    grid-template-columns: repeat(7, 136px);
    gap: 28px;
  }

  #hot .hot-shelf {
    grid-template-columns: repeat(7, 136px);
    overflow-x: auto;
    overflow-y: visible;
    padding: 26px 4px 34px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .header-inner,
  .site-main {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small,
  .text-link {
    display: none;
  }

  .site-nav {
    gap: 22px;
    font-size: 14px;
  }

  .tab-row {
    width: 100%;
  }

  .section-title {
    font-size: 26px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .latest-feature {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 28px;
  }

  #latest .section-title {
    font-size: 48px;
  }

  .latest-feature .book-cover.large {
    width: min(190px, 68vw);
  }

  .feature-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .feature-bottom .play-button {
    align-self: flex-start;
  }

  .latest-list {
    gap: 28px;
    padding: 28px;
  }

  .detail-main {
    padding-top: 22px;
  }

  .detail-book {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px;
  }

  .detail-cover-wrap {
    justify-items: start;
  }

  .detail-cover-wrap img {
    width: min(190px, 62vw);
  }

  .detail-copy h1 {
    font-size: 34px;
  }

  .detail-subtitle {
    font-size: 16px;
  }

  .media-card,
  .detail-section {
    padding: 16px;
  }

  .media-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .audio-float {
    top: 10px;
    right: 10px;
    min-height: 34px;
    padding: 0 10px;
  }

  .detail-controls {
    grid-template-columns: 54px 46px 54px;
  }

  .detail-time {
    grid-column: 1 / 4;
    text-align: center;
  }

  .acquire-grid,
  .detail-recommend-grid,
  .profile-stat-grid {
    grid-template-columns: 1fr;
  }

  .detail-rec-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .book-cover.large {
    width: min(220px, 100%);
  }

  .latest-list,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .hot-shelf {
    grid-template-columns: repeat(7, 128px);
    gap: 24px;
  }

  #hot .hot-shelf {
    width: calc(100vw - 28px);
    max-width: 100%;
    grid-template-columns: repeat(7, 128px);
    gap: 24px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 24px 2px 34px;
  }

  #hot .rank-cover-shell {
    width: 124px;
  }

  .book-edge-right {
    right: -5px;
    width: 7px;
  }

  .book-edge-bottom {
    right: -4px;
    height: 11px;
  }

  .book-cover.rank {
    width: 128px;
  }

  .shelf-controls {
    justify-content: center;
  }

  .book-card,
  .catalog-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .player-panel {
    padding: 16px;
  }

  .player-title,
  .feature-title {
    font-size: 23px;
  }

  .control-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .time-readout {
    grid-column: 2;
    text-align: left;
  }

  .transcript-paper {
    padding: 14px;
  }

  .transcript-scroll {
    max-height: 360px;
  }

  .floating-note-toolbar {
    position: sticky;
    width: 100%;
    margin-left: 0;
  }

  .live-caption {
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 8px;
  }

  .live-caption-time {
    grid-column: 2;
  }

  .live-caption-text {
    grid-column: 2;
    font-size: 16px;
  }

  .transcript-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .transcript-flow {
    font-size: 15px;
    line-height: 1.9;
  }

  .site-footer {
    flex-direction: column;
  }

  .profile-hero {
    align-items: start;
    flex-direction: column;
    padding: 20px;
  }

  .profile-hero h1 {
    font-size: 32px;
  }

  .profile-panel {
    padding: 18px;
  }

  .daily-bars {
    overflow-x: auto;
    grid-template-columns: repeat(7, 54px);
  }
}

.profile-page {
  background: #efefef;
  overflow-x: hidden;
}

.profile-page .site-main {
  box-sizing: border-box;
}

.profile-page .site-header {
  background: rgba(255, 255, 255, 0.9);
}

.profile-main {
  width: min(720px, calc(100% - 36px));
  min-width: 0;
  gap: 24px;
  overflow-x: hidden;
  padding-top: 34px;
}

.profile-tabs {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 18px 4px;
}

.profile-tabs button {
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: #6a6b68;
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.profile-tabs button.active {
  border-bottom-color: var(--sun);
  color: #20211f;
}

.profile-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(29, 31, 28, 0.055);
}

.profile-stats-card {
  padding: 26px 28px 30px;
}

.profile-join-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #a2a2a2;
  font-size: 20px;
  font-weight: 850;
}

.profile-join-row a,
.profile-card-head a,
.notes-summary-card a,
.note-book-head a {
  color: #333532;
  font-weight: 900;
}

.profile-stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 26px;
  text-align: center;
}

.profile-stat-row span {
  display: block;
  color: #a0a0a0;
  font-size: 18px;
  font-weight: 850;
}

.profile-stat-row strong {
  display: block;
  margin-top: 12px;
  color: #171817;
  font-size: 25px;
  font-weight: 950;
}

.profile-category-card {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 26px;
}

.category-title {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #252623;
  font-size: 20px;
}

.spark-icon {
  position: relative;
  width: 26px;
  height: 26px;
  display: inline-block;
}

.spark-icon::before,
.spark-icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 3px solid #252623;
  border-radius: 8px;
  transform: rotate(45deg);
}

.spark-icon::after {
  inset: 10px -1px -1px 10px;
  border-width: 2px;
}

.category-pills {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.category-pills span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: #fbecd2;
  color: #8a6432;
  font-size: 17px;
  font-weight: 900;
}

.profile-insight-card,
.profile-history-card,
.note-book-card,
.notes-summary-card {
  padding: 24px 28px;
}

.profile-card-head,
.history-head,
.note-book-head,
.notes-summary-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.profile-card-head h2 {
  margin: 0;
  color: #242623;
  font-size: 28px;
  font-weight: 950;
}

.profile-card-head span,
.profile-card-head small,
.notes-summary-card span,
.note-book-head span,
.note-book-head p,
.note-preview span {
  color: #9a9c98;
  font-weight: 800;
}

.insight-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.insight-list p {
  margin: 0;
  padding: 13px 14px;
  border-radius: 12px;
  background: #f8f8f6;
  color: #434640;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.history-head > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sound-wave {
  width: 62px;
  height: 18px;
  background:
    linear-gradient(90deg, transparent 0 7px, #80837d 7px 9px, transparent 9px 14px) 0 50% / 14px 100% repeat-x;
  opacity: 0.7;
}

.history-shelf {
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 145px;
  gap: 18px;
  margin-top: 26px;
  overflow-x: auto;
  padding: 2px 2px 8px;
}

.history-book {
  min-width: 0;
  text-align: center;
}

.history-cover-link {
  position: relative;
  display: block;
}

.history-cover-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(27, 29, 25, 0.13);
}

.history-cover-link span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 8px 9px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.68));
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.history-book h3 {
  margin: 12px 0 4px;
  overflow: hidden;
  color: #242623;
  font-size: 18px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-book > strong {
  display: block;
  color: #d79f00;
  font-size: 17px;
}

.profile-play {
  margin-top: 10px;
  font-size: 15px;
}

.notes-summary-card strong {
  display: block;
  margin-top: 8px;
  color: #22231f;
  font-size: 22px;
}

.note-book-list {
  display: grid;
  gap: 16px;
}

.note-book-head {
  align-items: flex-start;
}

.note-book-head img {
  width: 78px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 26px rgba(27, 29, 25, 0.13);
}

.note-book-head div {
  min-width: 0;
  flex: 1;
}

.note-book-head h2 {
  margin: 6px 0;
  color: #20211f;
  font-size: 24px;
  font-weight: 950;
}

.note-preview-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.note-preview {
  display: block;
  min-width: 0;
  max-width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8f8f6;
}

.note-preview p {
  margin: 7px 0 0;
  color: #444741;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 720px) {
  .profile-page .site-main.profile-main {
    width: 100%;
    max-width: 100%;
    padding-right: 14px;
    padding-left: 14px;
    padding-top: 26px;
  }

  .profile-page .profile-card,
  .profile-page .profile-card * {
    min-width: 0;
  }

  .profile-card,
  .profile-stats-card,
  .profile-insight-card,
  .profile-history-card,
  .note-book-card,
  .notes-summary-card {
    padding-inline: 18px;
  }

  .profile-join-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    font-size: 19px;
  }

  .profile-tabs {
    gap: 24px;
    padding-inline: 4px;
  }

  .profile-tabs button {
    font-size: 22px;
  }

  .profile-stat-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    text-align: left;
  }

  .profile-stat-row span {
    font-size: 17px;
  }

  .profile-stat-row strong {
    font-size: 24px;
  }

  .profile-category-card,
  .profile-card-head,
  .notes-summary-card,
  .note-book-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-pills {
    justify-content: flex-start;
  }

  .history-shelf {
    grid-auto-columns: 132px;
  }

  .insight-list p,
  .note-preview p {
    font-size: 15px;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .insight-list p,
  .note-preview {
    padding-inline: 12px;
  }

  .note-preview p {
    padding-right: 4px;
  }
}

/* Final visual pass for the annotated MVP screens. */
body {
  background: #fff;
  color: #1f211d;
  font-family:
    "Noto Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-main {
  padding-top: 78px;
}

.section-block {
  margin-top: 126px;
}

#latest {
  margin-top: 24px;
}

#latest + #hot {
  margin-top: 142px;
}

#latest .section-head,
#hot .section-head {
  margin-bottom: 38px;
}

#latest .section-title,
#hot .section-title,
#catalog .section-title {
  font-weight: 900;
  letter-spacing: 0;
}

.latest-layout {
  grid-template-columns: minmax(620px, 1.06fr) minmax(500px, 0.94fr);
  gap: 34px;
  align-items: stretch;
}

.latest-feature,
.latest-poster,
.daily-duration-card {
  border: 0;
  border-radius: 8px;
  background: #f6f6f6;
  box-shadow: none;
}

.latest-feature {
  min-height: 318px;
  padding: 30px 34px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.latest-feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(29, 31, 26, 0.08);
}

.latest-feature-poster {
  position: relative;
  grid-template-columns: minmax(250px, 0.9fr) minmax(190px, 0.72fr);
  gap: 28px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 22% 24%, color-mix(in srgb, var(--poster-b) 32%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--poster-a) 20%, #f6f6f6), #f6f6f6 58%);
}

.feature-poster-copy {
  position: relative;
  z-index: 2;
  align-self: center;
}

.poster-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #c99000;
  font-size: 13px;
  font-weight: 850;
}

.feature-poster-visual {
  position: relative;
  z-index: 1;
  min-height: 250px;
  display: grid;
  place-items: center;
}

.feature-poster-visual .book-cover.large {
  width: min(230px, 84%);
  margin: 0;
  transform: perspective(900px) rotateY(-4deg) rotateZ(-1deg);
  box-shadow:
    22px 30px 42px rgba(26, 28, 24, 0.18),
    8px 14px 18px rgba(26, 28, 24, 0.08),
    -5px 0 8px rgba(255, 255, 255, 0.28) inset,
    8px 0 12px rgba(0, 0, 0, 0.13) inset;
}

.poster-line {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.54);
  filter: blur(0.2px);
}

.poster-line-one {
  right: 4%;
  bottom: 22%;
  width: 74%;
  height: 10px;
  transform: rotate(-6deg);
}

.poster-line-two {
  right: 11%;
  top: 22%;
  width: 46%;
  height: 6px;
  background: rgba(35, 162, 103, 0.22);
  transform: rotate(9deg);
}

.latest-feature .book-cover.large,
.latest-mini .book-cover.shelf,
.poster-cover-item img,
.history-cover-link img {
  border-radius: 7px 8px 10px 7px;
  box-shadow:
    12px 24px 34px rgba(26, 28, 24, 0.16),
    4px 8px 12px rgba(26, 28, 24, 0.08),
    -5px 0 8px rgba(255, 255, 255, 0.28) inset,
    7px 0 10px rgba(0, 0, 0, 0.12) inset;
  transform: perspective(900px) rotateY(-2deg);
}

.latest-side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 20px;
  min-width: 0;
}

.latest-poster {
  position: relative;
  min-height: 164px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 32px;
  background:
    linear-gradient(135deg, rgba(255, 216, 77, 0.1), rgba(255, 255, 255, 0) 38%),
    #f6f6f6;
}

.poster-cover-rail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 132px;
  width: 100%;
  overflow: visible;
  mask-image: none;
  padding-right: 0;
}

.poster-cover-item {
  position: relative;
  width: 102px;
  aspect-ratio: 3 / 4;
  flex: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  opacity: 0.78;
  transform: translateY(0);
  transition:
    transform 220ms ease,
    filter 220ms ease,
    opacity 220ms ease;
}

.poster-cover-item.active {
  z-index: 4;
  opacity: 1;
  transform: translateY(-7px);
}

.poster-cover-item:hover {
  z-index: 5;
  filter: saturate(1.04);
  transform: translateY(-7px);
}

.poster-cover-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Three book-poster treatments inspired by the user's reference images. */
.latest-feature-poster {
  min-height: 360px;
  padding: 0;
  border-radius: 9px;
  isolation: isolate;
}

.latest-feature-poster::before,
.latest-feature-poster::after,
.poster-texture {
  content: "";
  position: absolute;
  pointer-events: none;
}

.latest-feature-poster::before {
  inset: 18px;
  z-index: 0;
  border-radius: 26px;
  opacity: 0.7;
}

.latest-feature-poster::after {
  right: 7%;
  bottom: 22px;
  z-index: 0;
  width: 44%;
  height: 24px;
  border-radius: 999px;
  background: rgba(31, 33, 29, 0.12);
  filter: blur(18px);
}

.poster-texture {
  inset: 0;
  z-index: 0;
  opacity: 0.33;
  mix-blend-mode: multiply;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 255, 255, 0.7) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 72%, rgba(255, 255, 255, 0.56) 0 1px, transparent 2px);
  background-size: 26px 26px, 34px 34px;
}

.feature-poster-copy {
  padding: 36px 0 34px 44px;
}

.poster-headline {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #2a241b;
  font-size: clamp(34px, 3.35vw, 54px);
  font-weight: 950;
  line-height: 1.04;
  letter-spacing: 0;
}

.poster-headline span {
  display: block;
}

.poster-headline .is-highlight {
  color: #d04b45;
}

.poster-subline {
  margin: 18px 0 0;
  color: #8d4f24;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.poster-desc {
  max-width: 420px;
  margin: 12px 0 0;
  color: rgba(45, 42, 34, 0.72);
  font-size: 16px;
  line-height: 1.75;
}

.poster-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.poster-chip-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(45, 42, 34, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(45, 42, 34, 0.68);
  font-size: 13px;
  font-weight: 750;
}

.poster-actions {
  margin-top: 22px;
}

.poster-actions .meta-row {
  display: grid;
  gap: 6px;
  color: rgba(45, 42, 34, 0.58);
}

.poster-actions .latest-date-badge {
  margin-bottom: 0;
}

.feature-poster-visual {
  min-height: 360px;
  overflow: visible;
}

.poster-book-wrap {
  position: relative;
  z-index: 4;
  width: min(258px, 86%);
  transform-style: preserve-3d;
  transform: translateX(-6px) perspective(980px) rotateY(-10deg) rotateZ(-1.5deg);
}

.poster-book-wrap .book-cover.large {
  position: relative;
  z-index: 3;
  width: 100%;
  border-radius: 8px 10px 12px 7px;
  overflow: hidden;
  box-shadow:
    20px 30px 42px rgba(22, 24, 20, 0.22),
    8px 12px 18px rgba(22, 24, 20, 0.12),
    -6px 0 8px rgba(255, 255, 255, 0.32) inset,
    8px 0 12px rgba(0, 0, 0, 0.16) inset;
  transform: none;
}

.poster-book-wrap .book-cover.large::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06) 28%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(255, 255, 255, 0.02) 14%, rgba(0, 0, 0, 0.16) 96%);
  mix-blend-mode: soft-light;
  display: block;
}

.poster-book-top,
.poster-book-side {
  position: absolute;
  z-index: 1;
  display: block;
  background:
    repeating-linear-gradient(90deg, #f5f2ea 0 3px, #d9d6cf 3px 5px);
  box-shadow: 0 12px 26px rgba(22, 24, 20, 0.12);
}

.poster-book-top {
  left: 8px;
  right: -18px;
  top: -12px;
  height: 16px;
  transform: skewX(42deg);
  border-radius: 8px 10px 0 0;
}

.poster-book-side {
  top: 2px;
  right: -22px;
  bottom: 8px;
  width: 24px;
  transform: skewY(10deg);
  border-radius: 0 8px 9px 0;
}

.poster-book-shadow {
  position: absolute;
  right: 7%;
  bottom: 42px;
  z-index: 1;
  width: 62%;
  height: 30px;
  border-radius: 999px;
  background: rgba(25, 27, 24, 0.18);
  filter: blur(20px);
  transform: rotate(-5deg);
}

.poster-back-word {
  position: absolute;
  right: -5%;
  bottom: 82px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.44);
  font-size: 55px;
  font-weight: 950;
  letter-spacing: 0.05em;
  transform: rotate(-7deg);
}

.poster-doodle {
  position: absolute;
  z-index: 2;
  display: block;
}

.poster-doodle-one {
  width: 76px;
  height: 76px;
  right: 58%;
  bottom: 82px;
  border: 8px solid rgba(255, 216, 77, 0.76);
  border-top-color: transparent;
  border-radius: 50%;
  transform: rotate(-28deg);
}

.poster-doodle-two {
  width: 62px;
  height: 62px;
  right: 9%;
  top: 54px;
  border-radius: 18px;
  background: rgba(255, 216, 77, 0.34);
  transform: rotate(18deg);
}

.feature-poster-story {
  background:
    radial-gradient(circle at 89% 38%, rgba(255, 255, 255, 0.86), transparent 22%),
    linear-gradient(135deg, #fff1e0 0%, #fff8ed 54%, #ffd36f 100%);
}

.feature-poster-story::before {
  border: 1px solid rgba(168, 88, 42, 0.09);
  background: rgba(255, 252, 245, 0.2);
}

.feature-poster-story .poster-headline .is-highlight {
  color: #d9484c;
}

.feature-poster-story .poster-line-one {
  right: -2%;
  bottom: 76px;
  width: 78%;
  height: 18px;
  background: rgba(255, 194, 67, 0.45);
}

.feature-poster-story .poster-line-two {
  right: 15%;
  top: 84px;
  width: 38%;
  background: rgba(190, 108, 54, 0.16);
}

.feature-poster-paper {
  background:
    linear-gradient(90deg, rgba(41, 143, 75, 0.15), transparent 12%, transparent 88%, rgba(41, 143, 75, 0.12)),
    linear-gradient(135deg, #edf7d8, #fff9df 54%, #f8f0c5);
}

.feature-poster-paper::before {
  inset: 18px 20px;
  border-radius: 24px;
  background:
    linear-gradient(#fffbe8, #fff5cf),
    repeating-linear-gradient(0deg, rgba(54, 127, 77, 0.13) 0 1px, transparent 1px 9px);
  box-shadow:
    0 0 0 16px rgba(239, 223, 135, 0.34),
    0 20px 44px rgba(70, 94, 50, 0.08);
}

.feature-poster-paper .poster-kicker,
.feature-poster-paper .poster-subline {
  color: #36784d;
}

.feature-poster-paper .poster-headline {
  color: #386b48;
}

.feature-poster-paper .poster-headline .is-highlight {
  color: #19a42f;
  text-decoration: underline;
  text-decoration-thickness: 5px;
  text-underline-offset: 7px;
}

.feature-poster-paper .poster-line-one {
  right: 7%;
  bottom: 62px;
  width: 68%;
  height: 22px;
  background: rgba(44, 154, 74, 0.18);
}

.feature-poster-paper .poster-line-two {
  right: 22%;
  top: 70px;
  background: rgba(255, 216, 77, 0.44);
}

.feature-poster-night {
  background:
    radial-gradient(circle at 22% 35%, rgba(89, 142, 132, 0.36), transparent 28%),
    linear-gradient(145deg, #12383b 0%, #102c34 47%, #0f252e 100%);
}

.feature-poster-night::before {
  background:
    linear-gradient(180deg, rgba(41, 106, 61, 0.62), rgba(24, 82, 48, 0.5)),
    repeating-linear-gradient(115deg, rgba(207, 238, 194, 0.16) 0 2px, transparent 2px 16px);
  clip-path: polygon(0 38%, 18% 32%, 34% 39%, 52% 31%, 70% 38%, 100% 30%, 100% 100%, 0 100%);
}

.feature-poster-night .poster-kicker,
.feature-poster-night .poster-subline,
.feature-poster-night .poster-desc {
  color: rgba(255, 255, 255, 0.86);
}

.feature-poster-night .poster-headline {
  color: #ffffff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.feature-poster-night .poster-headline .is-highlight {
  color: #cdeafa;
}

.feature-poster-night .poster-chip-row span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.feature-poster-night .poster-actions .meta-row {
  color: rgba(255, 255, 255, 0.74);
}

.feature-poster-night .play-button {
  border-color: rgba(255, 216, 77, 0.8);
  background: #ffd84d;
}

.feature-poster-night .poster-doodle-one {
  border-color: rgba(255, 255, 255, 0.88);
  border-top-color: transparent;
}

.feature-poster-night .poster-doodle-two {
  background: rgba(255, 255, 255, 0.16);
}

.latest-side-bottom {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(320px, 1fr);
  gap: 20px;
}

.current-listening-card {
  min-height: 164px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 8px;
  background: #f6f6f6;
}

.current-listening-card {
  order: 2;
}

.daily-duration-card {
  order: 1;
}

.current-listening-cover img {
  width: 92px;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  border-radius: 7px 8px 10px 7px;
  box-shadow:
    12px 20px 30px rgba(26, 28, 24, 0.14),
    -4px 0 7px rgba(255, 255, 255, 0.26) inset,
    6px 0 10px rgba(0, 0, 0, 0.12) inset;
}

.current-listening-main {
  min-width: 0;
  display: grid;
  gap: 13px;
}

.current-listening-head {
  min-width: 0;
}

.current-listening-head span {
  color: #c99000;
  font-size: 13px;
  font-weight: 850;
}

.current-listening-head strong {
  display: block;
  margin-top: 5px;
  color: #222;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.current-listening-head p {
  margin: 7px 0 0;
  color: #62645f;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-player-progress {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5e5df;
}

.mini-player-progress .progress-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #ffd84d;
}

.mini-player-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mini-player-controls .skip-button {
  min-width: 50px;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.mini-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.mini-player-time {
  margin-left: auto;
  color: #777973;
  font-size: 13px;
  white-space: nowrap;
}

@keyframes posterRailMove {
  0% {
    translate: 0 0;
  }

  100% {
    translate: -102px 0;
  }
}

.latest-side .latest-list {
  min-height: 164px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 22px 24px;
  border: 0;
  border-radius: 8px;
  background: #f6f6f6;
  box-shadow: none;
}

.latest-side .latest-mini {
  gap: 12px;
}

.latest-side .latest-mini .book-cover.shelf {
  width: min(112px, 100%);
}

.daily-duration-card {
  min-height: 164px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  gap: 16px;
}

.duration-head {
  display: grid;
  gap: 7px;
}

.duration-head span {
  color: #777;
  font-size: 13px;
  font-weight: 750;
}

.duration-head strong {
  color: #222;
  font-size: 29px;
  font-weight: 950;
  line-height: 1.05;
}

.duration-bars {
  height: 92px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 8px;
  align-items: end;
}

.duration-bar-item {
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  justify-items: center;
  align-items: end;
}

.duration-bar {
  width: 100%;
  max-width: 18px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe07a, #f0b600);
  box-shadow: 0 10px 18px rgba(240, 182, 0, 0.2);
}

.duration-bar-item em {
  color: #878782;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.duration-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #787972;
  font-size: 13px;
  font-weight: 700;
}

.duration-tabs {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
}

.duration-tabs button {
  width: 38px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #666;
  font-size: 13px;
  font-weight: 850;
}

.duration-tabs button.active {
  background: #ffd84d;
  color: #222;
}

#hot .section-note {
  margin-top: 8px;
  color: #898989;
}

#hot .tab-row {
  margin-bottom: 30px;
}

#hot .hot-shelf {
  min-height: 258px;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 42px;
}

#hot .rank-cover-shell {
  width: min(100%, 154px);
}

#hot .rank-cover-caption {
  min-height: 42px;
  display: flex;
  align-items: flex-end;
  padding: 30px 10px 9px;
}

#hot .rank-cover-caption::after,
#hot .rank-cover-caption span {
  display: none;
}

#hot .rank-cover-caption strong {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.shelf-controls {
  gap: 14px;
  margin-top: 8px;
}

.round-nav {
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    background-color 160ms ease;
}

.round-nav:disabled {
  cursor: default;
  opacity: 0.28;
}

.round-nav.active:hover {
  background: #ffd84d;
  transform: translateY(-1px);
}

.detail-main {
  max-width: 1320px;
}

.detail-hero-video-first {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.82fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 46px;
}

.detail-hero-video-first .media-card,
.detail-info-panel,
.detail-tabs-section .detail-section {
  border: 1px solid rgba(228, 228, 224, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(29, 31, 26, 0.07);
}

.detail-hero-video-first .media-card {
  padding: 22px;
}

.detail-hero-video-first .media-stage {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #ececea;
}

.video-cover-preview {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(0, 0, 0, 0.08)),
    #ededeb;
}

.video-cover-preview img {
  width: min(27%, 190px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 7px 8px 10px 7px;
  box-shadow:
    0 24px 44px rgba(0, 0, 0, 0.34),
    -5px 0 8px rgba(255, 255, 255, 0.2) inset,
    7px 0 10px rgba(0, 0, 0, 0.16) inset;
  transform: perspective(900px) rotateY(-3deg);
}

.media-video {
  position: relative;
  z-index: 1;
  background: transparent;
}

.show-audio .video-cover-preview {
  opacity: 0;
}

.detail-info-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  min-height: auto;
  padding: 26px;
}

.detail-info-panel .detail-copy {
  padding: 0;
}

.detail-info-panel h1 {
  margin-top: 14px;
  font-size: 42px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-info-panel .detail-subtitle {
  margin-top: 14px;
  color: #555;
  font-size: 17px;
  line-height: 1.7;
}

.detail-info-panel .score-row {
  border-color: rgba(230, 230, 226, 0.95);
  background: #f7f7f6;
}

.inline-related-panel {
  padding-top: 4px;
}

.inline-related-panel .side-section-head {
  margin-bottom: 12px;
}

.inline-related-panel h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.inline-related-panel .side-recommend-list {
  gap: 10px;
}

.inline-related-panel .side-rec-card {
  padding: 10px;
  border-radius: 8px;
  border-color: rgba(232, 232, 228, 0.9);
  background: #f8f8f7;
}

.inline-related-panel .side-rec-card img {
  width: 48px;
  border-radius: 6px;
  box-shadow: 0 10px 18px rgba(27, 29, 25, 0.12);
}

.book-detail-tabs {
  display: flex;
  gap: 38px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e7e7e4;
}

.book-detail-tabs button {
  position: relative;
  padding: 0 2px 16px;
  border: 0;
  background: transparent;
  color: #777;
  font-size: 21px;
  font-weight: 850;
}

.book-detail-tabs button.active {
  color: #1f211d;
}

.book-detail-tabs button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #ffd84d;
}

.detail-tab-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.detail-tabs-section .detail-section {
  padding: 30px 34px;
}

.detail-section-head {
  margin-bottom: 20px;
}

.detail-section-head h2 {
  font-size: 28px;
  font-weight: 950;
  letter-spacing: 0;
}

.recommend-text {
  color: #30322d;
  font-size: 20px;
  line-height: 1.85;
}

.acquire-grid {
  gap: 16px;
}

.acquire-grid div {
  min-height: 122px;
  background: #f7f7f6;
}

.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #4b4e47;
  font-size: 16px;
  line-height: 1.75;
}

.author-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffd84d;
  color: #2a281d;
  font-size: 22px;
  font-weight: 950;
}

.intro-comment-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
  gap: 14px;
}

.mindmap-board {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(#f4f4f2 1px, transparent 1px),
    linear-gradient(90deg, #f4f4f2 1px, transparent 1px),
    #fff;
  background-size: 42px 42px;
}

.mindmap-node {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid #e3e3df;
  border-radius: 8px;
  background: #fff;
  color: #30322d;
  font-weight: 850;
  text-align: center;
  box-shadow: 0 16px 34px rgba(29, 31, 26, 0.06);
}

.mindmap-node.root {
  grid-column: 2;
  min-height: 96px;
  background: #ffd84d;
  color: #222;
  font-size: 22px;
  font-weight: 950;
}

.transcript-tab-panel {
  gap: 22px;
}

.transcript-article-section .detail-transcript {
  background: #fff;
}

.transcript-source {
  border-color: #e7e7e4;
  background: #f8f8f7;
}

.transcript-scroll {
  max-height: 560px;
  padding: 8px 12px 8px 2px;
}

.transcript-flow {
  font-size: 17px;
  line-height: 2.12;
}

.profile-insight-card .profile-card-head {
  margin-bottom: 18px;
}

.single-insight p {
  margin: 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff7d7;
  color: #2c2d28;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.7;
}

.history-head small,
.history-head .sound-wave {
  display: none !important;
}

@media (max-width: 1180px) {
  .latest-layout,
  .detail-hero-video-first {
    grid-template-columns: 1fr;
  }

  .latest-side-bottom {
    grid-template-columns: 1fr;
  }

  .intro-comment-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-main {
    padding-top: 42px;
  }

  .section-block,
  #latest + #hot {
    margin-top: 82px;
  }

  .latest-feature,
  .latest-poster {
    grid-template-columns: 1fr;
  }

  .latest-poster {
    min-height: auto;
  }

  .poster-cover-rail {
    justify-content: center;
    gap: 14px;
    padding-right: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }

  .poster-cover-rail::-webkit-scrollbar {
    display: none;
  }

  .poster-cover-item {
    width: 92px;
  }

  .latest-side .latest-list {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
  }

  .detail-info-panel h1 {
    font-size: 34px;
  }

  .book-detail-tabs {
    gap: 22px;
    overflow-x: auto;
  }

  .book-detail-tabs button {
    flex: 0 0 auto;
    font-size: 19px;
  }

  .detail-tabs-section .detail-section {
    padding: 22px 18px;
  }

  .mindmap-board {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .mindmap-node.root {
    grid-column: auto;
  }

  .video-cover-preview img {
    width: min(42%, 150px);
  }
}

/* Final fixes from annotated poster/player screenshots. */
:root {
  --max: 1560px;
}

.header-inner,
.site-main {
  width: min(var(--max), calc(100% - 72px));
}

.latest-layout {
  grid-template-columns: minmax(660px, 1.02fr) minmax(620px, 0.98fr);
  gap: 40px;
}

.latest-feature-poster {
  min-height: 340px;
  grid-template-columns: minmax(350px, 1fr) minmax(230px, 0.62fr);
  gap: 18px;
  touch-action: pan-y;
}

.feature-poster-copy {
  padding: 34px 0 30px 42px;
}

.poster-headline {
  max-width: 360px;
  font-size: clamp(34px, 2.75vw, 48px);
  line-height: 1.08;
}

.poster-subline {
  margin-top: 16px;
  font-size: 19px;
}

.poster-desc {
  max-width: 380px;
  font-size: 15px;
}

.poster-chip-row {
  margin-top: 14px;
}

.poster-actions {
  align-items: end;
  margin-top: 20px;
}

.feature-poster-visual {
  min-height: 340px;
}

.poster-book-wrap {
  width: min(218px, 76%);
  transform: translateX(-10px) perspective(980px) rotateY(-10deg) rotateZ(-1.3deg);
}

.poster-book-shadow {
  right: 11%;
  bottom: 52px;
  width: 52%;
}

.poster-back-word {
  right: -4%;
  bottom: 50px;
  font-size: 46px;
}

.poster-nav {
  position: absolute;
  top: 50%;
  z-index: 8;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #222;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  box-shadow: 0 12px 26px rgba(24, 25, 20, 0.14);
  transform: translateY(-50%) scale(0.94);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.latest-feature-poster:hover .poster-nav,
.poster-nav:focus-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.poster-nav:hover {
  background: #ffd84d;
}

.poster-nav-prev {
  left: 16px;
}

.poster-nav-next {
  right: 16px;
}

.poster-illustration {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.poster-illustration i,
.poster-illustration b {
  position: absolute;
  display: block;
}

.poster-illustration-relationship i:first-child {
  right: 55%;
  top: 78px;
  width: 92px;
  height: 48px;
  border: 4px solid rgba(216, 72, 76, 0.24);
  border-right: 0;
  border-radius: 999px 0 0 999px;
}

.poster-illustration-relationship i:nth-child(2) {
  right: 24%;
  top: 82px;
  width: 92px;
  height: 48px;
  border: 4px solid rgba(216, 72, 76, 0.2);
  border-left: 0;
  border-radius: 0 999px 999px 0;
}

.poster-illustration-relationship b:first-of-type,
.poster-illustration-relationship b:nth-of-type(2) {
  bottom: 86px;
  width: 66px;
  height: 66px;
  border-radius: 50% 50% 48% 52%;
  background: rgba(255, 216, 77, 0.42);
}

.poster-illustration-relationship b:first-of-type {
  right: 50%;
}

.poster-illustration-relationship b:nth-of-type(2) {
  right: 20%;
  background: rgba(53, 162, 103, 0.22);
}

.poster-illustration-longevity i:first-child {
  right: 42%;
  bottom: 80px;
  width: 170px;
  height: 14px;
  border-radius: 999px;
  background: rgba(53, 162, 103, 0.22);
  transform: rotate(-4deg);
}

.poster-illustration-longevity i:nth-child(2) {
  right: 27%;
  top: 88px;
  width: 112px;
  height: 112px;
  border: 10px solid rgba(255, 216, 77, 0.22);
  border-left-color: transparent;
  border-radius: 50%;
}

.poster-illustration-longevity b:first-of-type {
  right: 49%;
  top: 96px;
  width: 26px;
  height: 80px;
  border-radius: 999px;
  background: rgba(53, 162, 103, 0.18);
  transform: rotate(35deg);
}

.poster-illustration-longevity b:nth-of-type(2) {
  right: 43%;
  top: 112px;
  width: 64px;
  height: 32px;
  border-radius: 64px 64px 0 0;
  background: rgba(53, 162, 103, 0.18);
}

.poster-illustration-sleep i:first-child {
  right: 50%;
  top: 78px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  box-shadow: -18px 12px 0 rgba(205, 234, 250, 0.24);
}

.poster-illustration-sleep i:nth-child(2) {
  right: 23%;
  top: 76px;
  width: 88px;
  height: 44px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 25% 50%, rgba(255, 255, 255, 0.38) 0 9px, transparent 10px),
    radial-gradient(circle at 55% 50%, rgba(255, 255, 255, 0.28) 0 13px, transparent 14px);
}

.poster-illustration-sleep b:first-of-type,
.poster-illustration-sleep b:nth-of-type(2) {
  right: 54%;
  bottom: 72px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 28px -42px 0 rgba(255, 255, 255, 0.42), 76px -18px 0 rgba(255, 255, 255, 0.38);
}

.poster-illustration-emotion i:first-child {
  right: 44%;
  top: 74px;
  width: 128px;
  height: 128px;
  border: 2px solid rgba(166, 83, 97, 0.2);
  border-radius: 42% 58% 48% 52%;
}

.poster-illustration-emotion i:nth-child(2) {
  right: 20%;
  bottom: 76px;
  width: 160px;
  height: 36px;
  border-radius: 999px;
  background: rgba(166, 83, 97, 0.15);
}

.poster-illustration-movement i:first-child {
  right: 46%;
  top: 88px;
  width: 94px;
  height: 94px;
  border: 9px solid rgba(255, 216, 77, 0.35);
  border-bottom-color: transparent;
  border-radius: 50%;
}

.poster-illustration-movement i:nth-child(2) {
  right: 18%;
  bottom: 72px;
  width: 180px;
  height: 16px;
  border-radius: 999px;
  background: rgba(53, 162, 103, 0.26);
  transform: rotate(-7deg);
}

.poster-illustration-growth i:first-child {
  right: 46%;
  bottom: 74px;
  width: 168px;
  height: 86px;
  background:
    linear-gradient(to top, rgba(53, 162, 103, 0.22) 0 22px, transparent 22px),
    linear-gradient(to top, rgba(53, 162, 103, 0.3) 0 44px, transparent 44px),
    linear-gradient(to top, rgba(255, 216, 77, 0.42) 0 68px, transparent 68px);
  background-size: 46px 100%, 46px 100%, 46px 100%;
  background-position: 0 100%, 58px 100%, 116px 100%;
  background-repeat: no-repeat;
}

.poster-illustration-growth i:nth-child(2) {
  right: 32%;
  top: 92px;
  width: 110px;
  height: 2px;
  background: rgba(53, 162, 103, 0.36);
  transform: rotate(-28deg);
}

.feature-poster-calm {
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 238, 217, 0.72), transparent 24%),
    linear-gradient(135deg, #fff4ef 0%, #f7f0f4 55%, #e9f4ed 100%);
}

.feature-poster-calm .poster-kicker,
.feature-poster-calm .poster-subline {
  color: #a65361;
}

.feature-poster-calm .poster-headline {
  color: #50323d;
}

.feature-poster-calm .poster-headline .is-highlight {
  color: #a65361;
}

.feature-poster-vital {
  background:
    radial-gradient(circle at 82% 34%, rgba(255, 216, 77, 0.3), transparent 24%),
    linear-gradient(135deg, #f0f8dc 0%, #fff8d8 58%, #e3f3d9 100%);
}

.feature-poster-vital .poster-kicker,
.feature-poster-vital .poster-subline,
.feature-poster-vital .poster-headline {
  color: #2f7047;
}

.feature-poster-vital .poster-headline .is-highlight {
  color: #1aa23d;
  text-decoration: underline;
  text-decoration-thickness: 5px;
  text-underline-offset: 7px;
}

.feature-poster-steps {
  background:
    radial-gradient(circle at 84% 34%, rgba(255, 216, 77, 0.36), transparent 24%),
    linear-gradient(135deg, #fff5e5 0%, #f2f7ec 60%, #e9f4ff 100%);
}

.feature-poster-steps .poster-kicker,
.feature-poster-steps .poster-subline {
  color: #2d6c48;
}

.feature-poster-steps .poster-headline {
  color: #2a3c32;
}

.feature-poster-steps .poster-headline .is-highlight {
  color: #2d8f57;
}

.poster-cover-rail {
  align-self: stretch;
}

/* Latest shelf refinements: cover-forward cards with independent play actions. */
.latest-poster {
  min-height: 234px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px 24px;
  background: #f6f6f6;
}

.poster-cover-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  justify-items: center;
  gap: 20px;
  width: 100%;
  min-height: 184px;
  padding: 0;
}

.poster-cover-item {
  width: min(100%, 124px);
  aspect-ratio: auto;
  display: grid;
  justify-items: center;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 1;
  transform: none;
  transition: none;
}

.poster-cover-pick {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  display: block;
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  box-shadow:
    0 18px 30px rgba(20, 24, 18, 0.12),
    0 4px 10px rgba(20, 24, 18, 0.08);
  transition:
    transform 180ms ease,
    filter 180ms ease,
    box-shadow 180ms ease;
}

.poster-cover-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.poster-cover-caption {
  position: absolute;
  inset: auto 8px 8px;
  z-index: 1;
  display: grid;
  gap: 5px;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.48);
  pointer-events: none;
}

.poster-cover-pick::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(18, 22, 20, 0) 0%, rgba(18, 22, 20, 0.64) 58%, rgba(18, 22, 20, 0.84) 100%);
  pointer-events: none;
}

.poster-cover-caption strong {
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  display: -webkit-box;
  font-size: 15px;
  line-height: 1.12;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.poster-caption-rule {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.poster-cover-caption em {
  color: inherit;
  font-size: 20px;
  line-height: 1;
  font-style: normal;
  font-weight: 850;
}

.poster-cover-item.active {
  transform: none;
}

.poster-cover-item.active .poster-cover-pick,
.poster-cover-item:hover .poster-cover-pick {
  transform: translateY(-7px);
  filter: saturate(1.04);
  box-shadow:
    0 24px 38px rgba(20, 24, 18, 0.16),
    0 8px 16px rgba(20, 24, 18, 0.1);
}

.latest-poster-actions {
  display: flex;
  justify-content: center;
}

.latest-poster-play {
  min-width: 92px;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(222, 214, 199, 0.95);
  border-radius: 9px;
  background: #fff;
  color: #24221d;
  font-size: 18px;
  font-weight: 700;
  box-shadow:
    0 10px 22px rgba(31, 35, 29, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.75) inset;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.latest-poster-play .play-icon {
  border-top-width: 7px;
  border-bottom-width: 7px;
  border-left-width: 11px;
  color: #f2b900;
  transform: translateX(1px);
}

.latest-poster-play:hover {
  border-color: rgba(242, 185, 0, 0.78);
  background: #fffdf3;
  transform: translateY(-2px);
  box-shadow:
    0 14px 26px rgba(31, 35, 29, 0.09),
    0 1px 0 rgba(255, 255, 255, 0.72) inset;
}

.latest-poster-play:focus-visible,
.poster-cover-pick:focus-visible {
  outline: 2px solid rgba(241, 184, 0, 0.82);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .latest-poster {
    min-height: auto;
    gap: 14px;
    padding: 20px 18px 20px;
  }

  .poster-cover-rail {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }

  .poster-cover-rail::-webkit-scrollbar {
    display: none;
  }

  .poster-cover-item {
    width: clamp(68px, 18vw, 74px);
    flex: 0 0 clamp(68px, 18vw, 74px);
    gap: 8px;
  }

  .latest-poster-play {
    min-width: 64px;
    height: 34px;
    padding: 0 9px;
    gap: 6px;
    border-radius: 8px;
    font-size: 15px;
  }

  .latest-poster-play .play-icon {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 9px;
  }

  .poster-cover-caption {
    inset: auto 6px 6px;
    gap: 4px;
  }

  .poster-cover-caption strong {
    font-size: 11px;
  }

  .poster-cover-caption em {
    font-size: 16px;
  }

  .latest-poster-actions {
    justify-content: flex-start;
  }
}

@keyframes posterCopyFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.latest-side-bottom {
  grid-template-columns: minmax(250px, 0.7fr) minmax(390px, 1fr);
}

.current-listening-card {
  min-width: 0;
  grid-template-columns: 92px minmax(0, 1fr);
  overflow: hidden;
}

.current-listening-card:hover {
  box-shadow: 0 18px 38px rgba(29, 31, 26, 0.07);
}

.mini-player-progress {
  position: relative;
  height: 12px;
  display: block;
  overflow: visible;
  background: transparent;
}

.mini-player-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 12px;
  margin: 0;
  appearance: none;
  background:
    linear-gradient(90deg, #ffd84d 0 var(--progress), #e5e5df var(--progress) 100%);
  border-radius: 999px;
  cursor: pointer;
}

.mini-player-range::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  appearance: none;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f0b600;
  box-shadow: 0 4px 10px rgba(45, 41, 20, 0.2);
}

.mini-player-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #f0b600;
  box-shadow: 0 4px 10px rgba(45, 41, 20, 0.2);
}

.mini-player-controls {
  flex-wrap: wrap;
  row-gap: 8px;
}

.mini-player-time {
  width: 100%;
  margin-left: 0;
  overflow: hidden;
  color: #6f716b;
  font-size: 12px;
  text-align: right;
  text-overflow: ellipsis;
}

.duration-bars {
  height: 104px;
}

.duration-bar-item {
  grid-template-rows: 1fr auto auto;
  gap: 5px;
}

.duration-bar-item small {
  color: #b1a574;
  font-size: 10px;
  font-weight: 750;
  line-height: 1;
}

@media (max-width: 1380px) {
  .header-inner,
  .site-main {
    width: min(var(--max), calc(100% - 48px));
  }

  .latest-layout {
    grid-template-columns: minmax(610px, 1fr) minmax(520px, 0.9fr);
    gap: 28px;
  }

  .latest-side-bottom {
    grid-template-columns: minmax(230px, 0.68fr) minmax(330px, 1fr);
  }
}

@media (max-width: 1180px) {
  .latest-layout {
    grid-template-columns: 1fr;
  }

  .latest-side-bottom {
    grid-template-columns: minmax(240px, 0.66fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner,
  .site-main {
    width: min(calc(100% - 28px), var(--max));
  }

  .latest-feature-poster {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .feature-poster-copy {
    padding: 30px 26px 8px;
  }

  .poster-headline {
    max-width: none;
    font-size: clamp(34px, 11vw, 46px);
  }

  .feature-poster-visual {
    min-height: 230px;
  }

  .poster-book-wrap {
    width: min(156px, 44vw);
  }

  .poster-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: start;
  }

  .poster-actions .meta-row {
    justify-items: start;
  }

  .poster-nav {
    opacity: 0.86;
    transform: translateY(-50%) scale(0.92);
  }

  .latest-side-bottom {
    grid-template-columns: 1fr;
  }

  .current-listening-card {
    grid-template-columns: 82px minmax(0, 1fr);
    padding: 18px;
  }

  .current-listening-cover img {
    width: 82px;
  }
}

/* Themed cartoon scenes for the poster artwork. */
.poster-illustration .scene-person,
.poster-illustration .scene-prop,
.poster-illustration .scene-ground {
  position: absolute;
  display: block;
  pointer-events: none;
}

.poster-illustration .scene-person {
  z-index: 3;
  width: 30px;
  height: 52px;
  border-radius: 18px 18px 10px 10px;
  background: #2f7047;
  box-shadow:
    0 -18px 0 -5px #ffd0a3,
    0 12px 0 -9px rgba(31, 33, 29, 0.2);
}

.poster-illustration .scene-person::before,
.poster-illustration .scene-person::after {
  content: "";
  position: absolute;
  display: block;
}

.poster-illustration .scene-person::before {
  left: 6px;
  top: -24px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffd0a3;
  box-shadow: inset 0 5px 0 rgba(38, 35, 29, 0.2);
}

.poster-illustration .scene-person::after {
  left: -9px;
  top: 14px;
  width: 48px;
  height: 28px;
  border: 5px solid currentColor;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  opacity: 0.7;
}

.poster-illustration .scene-ground {
  z-index: 1;
  height: 12px;
  border-radius: 999px;
  background: rgba(53, 162, 103, 0.2);
  filter: blur(0.2px);
}

.poster-illustration-relationship .scene-person {
  right: 58%;
  bottom: 94px;
  color: #d9484c;
  background: #d9484c;
  transform: rotate(-4deg);
}

.poster-illustration-relationship .scene-person-alt {
  right: 29%;
  bottom: 94px;
  color: #2f7047;
  background: #2f7047;
  transform: rotate(4deg) scale(0.96);
}

.poster-illustration-relationship .scene-prop {
  right: 41%;
  bottom: 136px;
  z-index: 2;
  width: 92px;
  height: 42px;
  border: 3px solid rgba(216, 72, 76, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 36% 50%, rgba(216, 72, 76, 0.36) 0 5px, transparent 6px),
    radial-gradient(circle at 50% 50%, rgba(216, 72, 76, 0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 64% 50%, rgba(216, 72, 76, 0.24) 0 5px, transparent 6px),
    rgba(255, 255, 255, 0.34);
}

.poster-illustration-relationship .scene-prop-alt {
  right: 35%;
  bottom: 88px;
  z-index: 1;
  width: 134px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.45);
}

.poster-illustration-relationship .scene-ground {
  right: 25%;
  bottom: 74px;
  width: 230px;
}

.poster-illustration-longevity .scene-person {
  right: 49%;
  bottom: 94px;
  color: #2f7047;
  background: #2f7047;
  transform: rotate(-8deg);
}

.poster-illustration-longevity .scene-person::after {
  left: -4px;
  top: 22px;
  width: 42px;
  height: 32px;
  border-color: currentColor;
  border-radius: 0 0 28px 8px;
  transform: rotate(-18deg);
}

.poster-illustration-longevity .scene-prop {
  right: 31%;
  bottom: 96px;
  z-index: 2;
  width: 104px;
  height: 104px;
  border: 9px solid rgba(53, 162, 103, 0.2);
  border-left-color: rgba(255, 216, 77, 0.42);
  border-radius: 50%;
}

.poster-illustration-longevity .scene-prop-alt {
  right: 36%;
  bottom: 124px;
  z-index: 3;
  width: 58px;
  height: 42px;
  border-radius: 50% 50% 16px 16px;
  background: rgba(53, 162, 103, 0.2);
}

.poster-illustration-longevity .scene-ground {
  right: 24%;
  bottom: 76px;
  width: 240px;
  background: rgba(53, 162, 103, 0.2);
  transform: rotate(-4deg);
}

.poster-illustration-sleep .scene-person {
  right: 44%;
  bottom: 94px;
  width: 62px;
  height: 22px;
  border-radius: 999px;
  color: #cdeafa;
  background: rgba(205, 234, 250, 0.76);
  box-shadow: 22px -8px 0 -5px #ffd0a3;
  transform: rotate(-4deg);
}

.poster-illustration-sleep .scene-person::before {
  left: 48px;
  top: -12px;
}

.poster-illustration-sleep .scene-person::after {
  left: 4px;
  top: 12px;
  width: 88px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.poster-illustration-sleep .scene-prop {
  right: 33%;
  bottom: 104px;
  z-index: 2;
  width: 116px;
  height: 44px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, 0.08);
}

.poster-illustration-sleep .scene-prop-alt {
  right: 53%;
  top: 76px;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  box-shadow: -16px 9px 0 rgba(255, 255, 255, 0.26);
}

.poster-illustration-sleep .scene-ground {
  right: 29%;
  bottom: 82px;
  width: 218px;
  background: rgba(255, 255, 255, 0.12);
}

.poster-illustration-emotion .scene-person {
  right: 47%;
  bottom: 94px;
  color: #a65361;
  background: #a65361;
  transform: rotate(2deg);
}

.poster-illustration-emotion .scene-person-alt {
  right: 31%;
  bottom: 96px;
  width: 24px;
  height: 44px;
  color: #2f7047;
  background: #2f7047;
  transform: scale(0.82);
  opacity: 0.72;
}

.poster-illustration-emotion .scene-prop {
  right: 38%;
  top: 86px;
  z-index: 2;
  width: 104px;
  height: 74px;
  border-radius: 56% 44% 50% 50%;
  background: rgba(166, 83, 97, 0.15);
}

.poster-illustration-emotion .scene-prop::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 22px;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(255, 216, 77, 0.52);
  transform: rotate(-45deg);
}

.poster-illustration-emotion .scene-prop-alt {
  right: 23%;
  bottom: 92px;
  z-index: 1;
  width: 150px;
  height: 26px;
  border-radius: 999px;
  background: rgba(166, 83, 97, 0.14);
}

.poster-illustration-emotion .scene-ground {
  right: 24%;
  bottom: 75px;
  width: 230px;
  background: rgba(166, 83, 97, 0.16);
}

.poster-illustration-movement .scene-person {
  right: 47%;
  bottom: 98px;
  color: #1aa23d;
  background: #1aa23d;
  transform: rotate(-16deg);
}

.poster-illustration-movement .scene-person::after {
  left: -18px;
  top: 17px;
  width: 66px;
  height: 36px;
  border-color: currentColor;
  border-radius: 0 0 999px 999px;
  transform: rotate(-22deg);
}

.poster-illustration-movement .scene-prop {
  right: 32%;
  bottom: 104px;
  z-index: 2;
  width: 128px;
  height: 82px;
  border: 8px solid rgba(255, 216, 77, 0.38);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-12deg);
}

.poster-illustration-movement .scene-prop-alt {
  right: 29%;
  bottom: 84px;
  width: 180px;
  height: 16px;
  border-radius: 999px;
  background: rgba(53, 162, 103, 0.25);
  transform: rotate(-7deg);
}

.poster-illustration-movement .scene-ground {
  right: 22%;
  bottom: 72px;
  width: 260px;
  background: rgba(255, 216, 77, 0.24);
}

.poster-illustration-growth .scene-person {
  right: 47%;
  bottom: 96px;
  color: #2d8f57;
  background: #2d8f57;
}

.poster-illustration-growth .scene-prop {
  right: 23%;
  bottom: 80px;
  z-index: 1;
  width: 186px;
  height: 92px;
  background:
    linear-gradient(to top, rgba(53, 162, 103, 0.22) 0 28px, transparent 28px),
    linear-gradient(to top, rgba(53, 162, 103, 0.28) 0 54px, transparent 54px),
    linear-gradient(to top, rgba(255, 216, 77, 0.48) 0 82px, transparent 82px);
  background-size: 54px 100%, 54px 100%, 54px 100%;
  background-position: 0 100%, 66px 100%, 132px 100%;
  background-repeat: no-repeat;
}

.poster-illustration-growth .scene-prop-alt {
  right: 35%;
  top: 88px;
  z-index: 2;
  width: 102px;
  height: 56px;
  border: 3px solid rgba(45, 108, 72, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 216, 77, 0.52) 0 36%, transparent 36%),
    rgba(255, 255, 255, 0.22);
}

.poster-illustration-growth .scene-ground {
  right: 22%;
  bottom: 68px;
  width: 250px;
  background: rgba(53, 162, 103, 0.18);
}

@media (max-width: 720px) {
  .poster-illustration .scene-person,
  .poster-illustration .scene-prop,
  .poster-illustration .scene-ground {
    transform: scale(0.78);
    transform-origin: center bottom;
  }

  .poster-illustration .scene-ground {
    max-width: 170px;
  }

  .poster-illustration .scene-person {
    bottom: 68px;
  }
}

/* Poster scene final pass: keep the book dimensional while making the themed scene visible. */
.latest-feature-poster {
  cursor: pointer;
}

.latest-feature-poster .poster-actions {
  display: block;
  margin-top: 22px;
}

.latest-feature-poster .poster-actions .meta-row {
  justify-items: start;
}

.latest-feature-poster .feature-poster-visual {
  align-items: center;
  justify-content: center;
  padding-right: 0;
}

.latest-feature-poster .poster-book-wrap {
  z-index: 5;
  width: min(216px, 76%);
  transform: translateX(-8px) perspective(980px) rotateY(-10deg) rotateZ(-1.2deg);
}

.latest-feature-poster .poster-book-shadow {
  right: 7%;
  bottom: 42px;
  width: 54%;
}

.latest-feature-poster .poster-illustration {
  z-index: 3;
}

.latest-feature-poster .poster-illustration i,
.latest-feature-poster .poster-illustration b,
.latest-feature-poster .poster-illustration .scene-person,
.latest-feature-poster .poster-illustration .scene-prop,
.latest-feature-poster .poster-illustration .scene-ground {
  opacity: 1;
  filter: drop-shadow(0 8px 12px rgba(31, 33, 29, 0.12));
}

.latest-feature-poster .poster-illustration .scene-person {
  z-index: 4;
  width: 34px;
  height: 56px;
}

.latest-feature-poster .poster-illustration .scene-person::before {
  left: 7px;
  width: 20px;
  height: 20px;
}

.latest-feature-poster .poster-illustration .scene-person::after {
  border-width: 4px;
}

.latest-feature-poster .poster-illustration .scene-prop {
  z-index: 2;
}

.latest-feature-poster .poster-illustration .scene-ground {
  z-index: 1;
  height: 16px;
  filter: blur(0.2px);
}

.poster-illustration-relationship .scene-person {
  left: 24px;
  right: auto;
  bottom: 96px;
  background: #d9484c;
  color: #d9484c;
  transform: rotate(-5deg);
}

.poster-illustration-relationship .scene-person-alt {
  left: 82px;
  right: auto;
  bottom: 98px;
  background: #2f7047;
  color: #2f7047;
  transform: rotate(5deg) scale(0.94);
}

.poster-illustration-relationship .scene-prop {
  left: 20px;
  right: auto;
  top: 68px;
  width: 118px;
  height: 52px;
  border-color: rgba(216, 72, 76, 0.34);
  background:
    radial-gradient(circle at 34% 52%, rgba(216, 72, 76, 0.62) 0 6px, transparent 7px),
    radial-gradient(circle at 50% 52%, rgba(255, 216, 77, 0.78) 0 6px, transparent 7px),
    radial-gradient(circle at 66% 52%, rgba(47, 112, 71, 0.52) 0 6px, transparent 7px),
    rgba(255, 255, 255, 0.68);
}

.poster-illustration-relationship .scene-prop-alt {
  left: 14px;
  right: auto;
  bottom: 82px;
  width: 170px;
  height: 22px;
}

.poster-illustration-relationship .scene-ground {
  left: 8px;
  right: auto;
  bottom: 72px;
  width: 215px;
}

.poster-illustration-longevity .scene-person {
  left: 52px;
  right: auto;
  bottom: 98px;
  transform: rotate(-8deg);
}

.poster-illustration-longevity .scene-prop {
  left: 10px;
  right: auto;
  bottom: 86px;
  width: 142px;
  height: 142px;
  border-width: 11px;
  border-color: rgba(53, 162, 103, 0.26);
  border-left-color: rgba(255, 216, 77, 0.68);
  transform: rotate(-10deg);
}

.poster-illustration-longevity .scene-prop-alt {
  left: 112px;
  right: auto;
  bottom: 142px;
  width: 68px;
  height: 46px;
  background: rgba(53, 162, 103, 0.28);
}

.poster-illustration-longevity .scene-ground {
  left: 6px;
  right: auto;
  bottom: 72px;
  width: 230px;
}

.poster-illustration-sleep .scene-person {
  left: 22px;
  right: auto;
  bottom: 96px;
  width: 132px;
  height: 34px;
  background: rgba(205, 234, 250, 0.88);
  box-shadow:
    76px -12px 0 -8px #ffd0a3,
    0 12px 0 -8px rgba(255, 255, 255, 0.42);
  transform: rotate(-3deg);
}

.poster-illustration-sleep .scene-person::before {
  left: 104px;
  top: -16px;
}

.poster-illustration-sleep .scene-person::after {
  left: 0;
  top: 18px;
  width: 148px;
  height: 38px;
  background: rgba(255, 255, 255, 0.22);
}

.poster-illustration-sleep .scene-prop {
  left: 12px;
  right: auto;
  bottom: 86px;
  width: 166px;
  height: 60px;
  background: rgba(255, 255, 255, 0.18);
}

.poster-illustration-sleep .scene-prop-alt {
  left: 36px;
  right: auto;
  top: 52px;
  width: 78px;
  height: 78px;
  box-shadow: -18px 10px 0 rgba(255, 255, 255, 0.4);
}

.poster-illustration-sleep .scene-ground {
  left: 12px;
  right: auto;
  bottom: 76px;
  width: 210px;
}

.poster-illustration-emotion .scene-person {
  left: 54px;
  right: auto;
  bottom: 98px;
  transform: rotate(2deg);
}

.poster-illustration-emotion .scene-person-alt {
  left: 118px;
  right: auto;
  bottom: 101px;
  opacity: 0.88;
  transform: scale(0.86);
}

.poster-illustration-emotion .scene-prop {
  left: 16px;
  right: auto;
  top: 64px;
  width: 132px;
  height: 94px;
  background: rgba(166, 83, 97, 0.2);
}

.poster-illustration-emotion .scene-prop::before {
  left: 45px;
  top: 28px;
  width: 38px;
  height: 38px;
}

.poster-illustration-emotion .scene-prop-alt {
  left: 14px;
  right: auto;
  bottom: 84px;
  width: 190px;
  height: 28px;
}

.poster-illustration-emotion .scene-ground {
  left: 8px;
  right: auto;
  bottom: 72px;
  width: 230px;
}

.poster-illustration-movement .scene-person {
  left: 54px;
  right: auto;
  bottom: 104px;
  width: 36px;
  height: 58px;
  transform: rotate(-17deg);
}

.poster-illustration-movement .scene-person::after {
  left: -18px;
  width: 74px;
}

.poster-illustration-movement .scene-prop {
  left: 18px;
  right: auto;
  top: 68px;
  width: 142px;
  height: 94px;
  border-color: rgba(255, 216, 77, 0.62);
  border-right-color: transparent;
}

.poster-illustration-movement .scene-prop-alt {
  left: 2px;
  right: auto;
  bottom: 82px;
  width: 232px;
  height: 20px;
  background: rgba(53, 162, 103, 0.32);
}

.poster-illustration-movement .scene-ground {
  left: 4px;
  right: auto;
  bottom: 70px;
  width: 238px;
}

.poster-illustration-growth .scene-person {
  left: 96px;
  right: auto;
  bottom: 136px;
  transform: rotate(-2deg) scale(0.9);
}

.poster-illustration-growth .scene-prop {
  left: 4px;
  right: auto;
  bottom: 74px;
  width: 214px;
  height: 110px;
  background:
    linear-gradient(to top, rgba(53, 162, 103, 0.28) 0 34px, transparent 34px),
    linear-gradient(to top, rgba(53, 162, 103, 0.34) 0 66px, transparent 66px),
    linear-gradient(to top, rgba(255, 216, 77, 0.72) 0 100px, transparent 100px);
  background-size: 62px 100%, 62px 100%, 62px 100%;
  background-position: 0 100%, 76px 100%, 152px 100%;
  background-repeat: no-repeat;
}

.poster-illustration-growth .scene-prop-alt {
  left: 22px;
  right: auto;
  top: 64px;
  width: 132px;
  height: 66px;
  border-color: rgba(45, 108, 72, 0.28);
  background:
    linear-gradient(90deg, rgba(255, 216, 77, 0.72) 0 36%, transparent 36%),
    rgba(255, 255, 255, 0.34);
}

.poster-illustration-growth .scene-ground {
  left: 4px;
  right: auto;
  bottom: 66px;
  width: 236px;
}

@media (max-width: 720px) {
  .latest-feature-poster .feature-poster-visual {
    justify-content: center;
    padding-right: 0;
    overflow: hidden;
  }

  .latest-feature-poster .poster-book-wrap {
    width: min(150px, 42vw);
    transform: translateX(34px) perspective(900px) rotateY(-9deg) rotateZ(-1.2deg);
  }

  .latest-feature-poster .poster-illustration .scene-person,
  .latest-feature-poster .poster-illustration .scene-prop,
  .latest-feature-poster .poster-illustration .scene-ground {
    transform-origin: left bottom;
  }

  .poster-illustration-relationship .scene-person,
  .poster-illustration-longevity .scene-person,
  .poster-illustration-emotion .scene-person,
  .poster-illustration-movement .scene-person {
    left: 22px;
    bottom: 74px;
    transform: scale(0.78);
  }

  .poster-illustration-relationship .scene-person-alt,
  .poster-illustration-emotion .scene-person-alt {
    left: 66px;
    bottom: 76px;
    transform: scale(0.7);
  }

  .poster-illustration-sleep .scene-person {
    left: 16px;
    bottom: 74px;
    width: 112px;
    transform: scale(0.82) rotate(-3deg);
  }

  .poster-illustration-growth .scene-person {
    left: 68px;
    bottom: 112px;
    transform: scale(0.66);
  }

  .poster-illustration-movement .scene-prop,
  .poster-illustration-relationship .scene-prop,
  .poster-illustration-longevity .scene-prop,
  .poster-illustration-emotion .scene-prop,
  .poster-illustration-growth .scene-prop {
    left: 10px;
    transform: scale(0.78);
  }

  .poster-illustration .scene-ground,
  .poster-illustration .scene-prop-alt {
    max-width: 176px;
  }
}

/* Image-based hero posters for the latest section. */
.latest-feature-poster-image {
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f4ea;
  box-shadow: 0 24px 52px rgba(29, 31, 26, 0.08);
}

.latest-feature-poster-image::before,
.latest-feature-poster-image::after {
  content: none;
}

.latest-feature-poster-image .feature-poster-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1480 / 920;
  object-fit: cover;
}

.latest-feature-poster-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 56px rgba(29, 31, 26, 0.1);
}

.latest-feature-poster-image .poster-nav {
  z-index: 4;
}

@media (max-width: 720px) {
  .latest-feature-poster-image {
    border-radius: 9px;
  }

  .latest-feature-poster-image .feature-poster-image {
    aspect-ratio: 1480 / 920;
  }
}

/* Latest section final layout balance. */
@media (min-width: 1181px) {
  .latest-layout {
    align-items: stretch;
    gap: 32px;
  }

  .latest-feature-poster-image {
    height: 100%;
  }

  .latest-feature-poster-image .feature-poster-image {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: left top;
  }
}

/* Mobile gets its own home layout instead of a squeezed desktop view. */
@media (max-width: 720px) {
  body {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .site-main {
    padding-top: 56px;
  }

  .section-block#latest {
    gap: 18px;
  }

  .latest-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .latest-feature-poster-image {
    aspect-ratio: 16 / 10.5;
    max-height: 236px;
    box-shadow: 0 16px 32px rgba(29, 31, 26, 0.08);
  }

  .latest-feature-poster-image .feature-poster-image {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
  }

  .latest-side {
    display: grid;
    gap: 14px;
  }

  .latest-poster {
    padding: 16px 14px 18px;
    border-radius: 8px;
    background: #f7f7f5;
  }

  .poster-cover-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 2px 8px;
  }

  .poster-cover-rail::-webkit-scrollbar {
    display: none;
  }

  .poster-cover-item {
    width: 94px;
    flex: 0 0 94px;
    gap: 9px;
  }

  .poster-cover-pick {
    border-radius: 8px;
  }

  .poster-cover-caption {
    inset: auto 7px 7px;
    gap: 4px;
  }

  .poster-cover-caption strong {
    font-size: 12px;
  }

  .latest-poster-play {
    min-width: 72px;
    height: 34px;
    padding: 0 11px;
    font-size: 15px;
  }

  .latest-side-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .daily-duration-card {
    display: none;
  }

  .current-listening-card {
    position: fixed;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 12px;
    z-index: 80;
    min-height: 78px;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(230, 224, 211, 0.9);
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
      0 18px 42px rgba(24, 25, 20, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.86) inset;
    backdrop-filter: blur(16px);
  }

  .current-listening-cover img {
    width: 52px;
    border-radius: 7px;
  }

  .current-listening-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    grid-template-rows: auto 12px;
    column-gap: 10px;
    align-items: center;
    min-width: 0;
  }

  .current-listening-head span {
    font-size: 12px;
  }

  .current-listening-head strong {
    overflow: hidden;
    font-size: 18px;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .current-listening-head p {
    display: none;
  }

  .mini-player-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 8px;
    margin-top: 6px;
  }

  .mini-player-controls {
    grid-column: 2;
    grid-row: 1;
    justify-content: end;
    gap: 0;
  }

  .mini-player-controls .skip-button,
  .mini-player-time {
    display: none;
  }

  .mini-toggle {
    width: 44px;
    height: 44px;
    box-shadow: 0 10px 22px rgba(255, 216, 77, 0.36);
  }
}

.mobile-home {
  display: none;
}

.mobile-bottom-nav {
  display: none;
}

/* Final mobile app-style home page. */
@media (max-width: 720px) {
  .section-block#latest > .section-head {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-main {
    padding-top: 24px;
  }

  .mobile-home {
    display: grid;
    gap: 14px;
  }

  .section-block#latest .latest-layout {
    display: block;
    min-height: 0;
  }

  .section-block#latest .latest-layout > .latest-feature,
  .section-block#latest .latest-side > .latest-poster,
  .section-block#latest .daily-duration-card {
    display: none;
  }

  #hot {
    display: none;
  }

  .mobile-activity-banner {
    width: 100%;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #dbeef2;
    box-shadow: 0 14px 30px rgba(29, 31, 26, 0.08);
  }

  .mobile-activity-banner img {
    width: 100%;
    height: 178px;
    display: block;
    object-fit: cover;
    object-position: left top;
  }

  .mobile-search {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-radius: 14px;
    background: #f5f5f3;
    color: #969993;
    box-shadow: inset 0 0 0 1px rgba(224, 220, 211, 0.66);
  }

  .mobile-search span {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
  }

  .mobile-search span::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
  }

  .mobile-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    background: transparent;
    color: #232622;
    font-size: 16px;
    outline: 0;
  }

  .mobile-new-books {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 10px;
    background: #f7f8f7;
  }

  .mobile-new-books h2 {
    margin: 0;
    color: #20231f;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 900;
  }

  .mobile-feature-book {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 42px;
    gap: 14px;
    align-items: center;
  }

  .mobile-feature-book > img {
    width: 104px;
    aspect-ratio: 3 / 4;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(29, 31, 26, 0.12);
  }

  .mobile-badge {
    display: inline-flex;
    margin-bottom: 5px;
    padding: 2px 6px;
    border-radius: 5px;
    background: #ffd84d;
    color: #5d4a00;
    font-size: 12px;
    font-weight: 800;
  }

  .mobile-feature-book h3 {
    margin: 0;
    color: #22251f;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 850;
  }

  .mobile-feature-book p {
    margin: 8px 0 0;
    color: #858982;
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mobile-feature-book small {
    display: block;
    margin-top: 8px;
    color: #9a9d96;
    font-size: 12px;
    line-height: 1.25;
  }

  .mobile-feature-book button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #e8e9e6;
    color: #5e625a;
  }

  .mobile-feature-book button .play-icon {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
  }

  .mobile-book-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }

  .mobile-book-rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-book-tile {
    width: 116px;
    flex: 0 0 116px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
  }

  .mobile-book-tile img {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(29, 31, 26, 0.1);
  }

  .mobile-book-tile strong {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: #363a34;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 650;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-all-books {
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eceeeb;
    color: #62665e;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
  }
}

/* Mobile-only app redesign: home, bottom player/nav, and listening detail. */
@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    padding-bottom: calc(166px + env(safe-area-inset-bottom));
    background: #f5f6f2;
  }

  .site-header {
    display: none;
  }

  .header-inner,
  .site-main {
    width: 100%;
    max-width: 100%;
  }

  .site-main {
    padding: 0 0 calc(18px + env(safe-area-inset-bottom)) !important;
  }

  .section-block,
  #latest + #hot {
    margin-top: 0;
  }

  .section-block#latest {
    gap: 0;
    margin-top: 0;
    padding: 8px 12px 0;
  }

  .section-block#latest > .section-head,
  .section-block#latest .latest-layout > .latest-feature,
  .section-block#latest .latest-side > .latest-poster,
  .section-block#latest .daily-duration-card,
  #hot,
  #catalog .tab-row,
  .mobile-search {
    display: none !important;
  }

  .section-block#latest .latest-layout {
    display: block;
    min-height: 0;
  }

  .section-block#latest .latest-side,
  .section-block#latest .latest-side-bottom {
    display: contents;
  }

  .mobile-home {
    display: grid;
    gap: 14px;
  }

  .mobile-activity-banner {
    position: relative;
    width: 100%;
    height: min(72vw, 310px);
    min-height: 252px;
    display: block;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #dfece9;
    box-shadow: 0 16px 34px rgba(25, 31, 24, 0.1);
    touch-action: pan-y;
  }

  .mobile-activity-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: left top;
  }

  .mobile-banner-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 34px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(20, 24, 20, 0.22);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
  }

  .mobile-banner-prev {
    left: 8px;
  }

  .mobile-banner-next {
    right: 8px;
  }

  .mobile-banner-dots {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 4;
    display: inline-flex;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(17, 20, 17, 0.22);
    backdrop-filter: blur(10px);
  }

  .mobile-banner-dots span {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
  }

  .mobile-banner-dots span.active {
    width: 15px;
    background: #fff;
  }

  .mobile-new-books {
    display: grid;
    gap: 12px;
    padding: 15px 12px 14px;
    border: 1px solid rgba(228, 229, 223, 0.9);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(25, 31, 24, 0.06);
  }

  .mobile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .mobile-section-head h2,
  .mobile-new-books h2 {
    margin: 0;
    color: #1f231e;
    font-size: 22px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: 0;
  }

  .mobile-section-head a {
    flex: 0 0 auto;
    color: #747970;
    font-size: 14px;
    font-weight: 750;
  }

  .mobile-feature-book {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 38px;
    gap: 10px;
    align-items: center;
    min-height: 108px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(232, 232, 226, 0.94);
    border-radius: 8px;
    background: #f7f8f5;
  }

  .mobile-feature-book > img {
    width: 76px;
    aspect-ratio: 3 / 4;
    display: block;
    border-radius: 7px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(25, 31, 24, 0.12);
  }

  .mobile-badge {
    display: inline-flex;
    margin-bottom: 4px;
    padding: 2px 6px;
    border-radius: 5px;
    background: #ffd84d;
    color: #5b4700;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
  }

  .mobile-feature-book h3 {
    margin: 0;
    overflow: hidden;
    color: #20241f;
    font-size: 17px;
    line-height: 1.24;
    font-weight: 850;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-feature-book p {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    color: #747970;
    font-size: 13px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  .mobile-feature-book small {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #979c91;
    font-size: 11px;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-feature-book button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #e7e9e4;
    color: #3f463d;
  }

  .mobile-feature-book button .play-icon {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
  }

  .mobile-book-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 1px 2px 4px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-book-rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-book-tile {
    width: 82px;
    flex: 0 0 82px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
  }

  .mobile-book-tile img {
    width: 82px;
    aspect-ratio: 3 / 4;
    display: block;
    border-radius: 7px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(25, 31, 24, 0.1);
  }

  .mobile-book-tile strong {
    display: -webkit-box;
    margin-top: 6px;
    min-height: 34px;
    overflow: hidden;
    color: #30352e;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 750;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mobile-all-books {
    min-height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eceee8;
    color: #555c52;
    font-size: 15px;
    font-weight: 800;
  }

  .current-listening-card {
    position: fixed;
    right: 12px;
    bottom: calc(64px + max(10px, env(safe-area-inset-bottom)));
    left: 12px;
    z-index: 88;
    min-height: 76px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 11px;
    padding: 9px 11px;
    border: 1px solid rgba(229, 226, 219, 0.9);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 16px 36px rgba(22, 25, 21, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.88) inset;
    backdrop-filter: blur(18px);
  }

  .current-listening-cover img {
    width: 50px;
    border-radius: 7px;
  }

  .current-listening-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    grid-template-rows: auto 9px;
    column-gap: 9px;
    align-items: center;
    min-width: 0;
  }

  .current-listening-head span {
    color: #9a9d96;
    font-size: 11px;
  }

  .current-listening-head strong {
    overflow: hidden;
    color: #20241f;
    font-size: 16px;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .current-listening-head p,
  .mini-player-controls .skip-button,
  .mini-player-time {
    display: none;
  }

  .mini-player-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 6px;
    margin-top: 5px;
  }

  .mini-player-controls {
    grid-column: 2;
    grid-row: 1;
    justify-content: end;
    gap: 0;
  }

  .mini-toggle {
    width: 40px;
    height: 40px;
    box-shadow: 0 9px 20px rgba(255, 216, 77, 0.32);
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    height: calc(62px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 6px 28px max(6px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(223, 224, 218, 0.92);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 -10px 30px rgba(20, 24, 20, 0.08);
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    min-width: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    color: #7b8077;
    font-size: 12px;
    font-weight: 750;
  }

  .mobile-bottom-nav a.active {
    color: #1f241f;
  }

  .mobile-bottom-nav span {
    position: relative;
    width: 21px;
    height: 21px;
    display: block;
  }

  .mobile-nav-home::before {
    content: "";
    position: absolute;
    inset: 5px 3px 3px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 4px 4px 5px 5px;
  }

  .mobile-nav-home::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 3px;
    width: 13px;
    height: 13px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .mobile-nav-user::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 7px;
    width: 7px;
    height: 7px;
    border: 2px solid currentColor;
    border-radius: 999px;
  }

  .mobile-nav-user::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 2px;
    left: 3px;
    height: 9px;
    border: 2px solid currentColor;
    border-radius: 12px 12px 4px 4px;
  }

  #catalog {
    padding: 0 12px;
  }

  #catalog .section-head {
    margin-top: 18px;
    padding-bottom: 10px;
  }

  #catalog .catalog-grid {
    gap: 10px;
    margin-top: 12px;
  }

  #catalog .catalog-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
    min-height: auto;
    padding: 10px;
    border-radius: 8px;
  }

  #catalog .catalog-card .book-cover {
    width: 72px;
  }

  #catalog .catalog-card .book-title {
    font-size: 16px;
  }

  #catalog .catalog-card .book-subtitle {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .detail-main {
    padding: 12px 12px calc(24px + env(safe-area-inset-bottom)) !important;
  }

  .detail-hero-video-first {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
  }

  .detail-info-panel {
    order: 1;
    gap: 0;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(24, 28, 23, 0.06);
  }

  .detail-info-panel .inline-related-panel,
  .detail-info-panel .crumb,
  .detail-info-panel .hero-actions {
    display: none;
  }

  .detail-info-panel h1 {
    margin: 0;
    color: #171b16;
    font-size: 25px;
    line-height: 1.16;
    font-weight: 950;
    letter-spacing: 0;
  }

  .detail-info-panel .detail-subtitle {
    display: -webkit-box;
    margin-top: 9px;
    overflow: hidden;
    color: #666b62;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .detail-info-panel .detail-meta {
    gap: 7px;
    margin-top: 12px;
    color: #858a80;
    font-size: 12px;
  }

  .detail-info-panel .detail-meta span,
  .detail-info-panel .score-row span {
    padding-right: 8px;
  }

  .detail-info-panel .score-row {
    gap: 6px;
    margin-top: 12px;
    padding: 9px 10px;
    border: 0;
    border-radius: 8px;
    background: #f5f7f2;
  }

  .detail-info-panel .score-row strong {
    color: #c68200;
    font-size: 24px;
  }

  .detail-info-panel .score-row span {
    color: #7b8077;
    font-size: 12px;
  }

  .detail-hero-video-first .media-card {
    order: 2;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 14px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(236, 239, 232, 0.68)),
      rgba(255, 255, 255, 0.66);
    box-shadow:
      0 18px 42px rgba(22, 26, 22, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(18px);
  }

  .media-card-head {
    display: none;
  }

  .detail-hero-video-first .media-stage {
    aspect-ratio: auto;
    min-height: 206px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background:
      radial-gradient(circle at 28% 18%, rgba(255, 216, 77, 0.36), transparent 34%),
      radial-gradient(circle at 78% 12%, rgba(53, 162, 103, 0.22), transparent 30%),
      linear-gradient(145deg, #eef3ec, #f8f7f1);
  }

  .detail-hero-video-first .media-stage::before {
    content: "";
    position: absolute;
    inset: 18px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(18px);
  }

  .show-audio .video-cover-preview,
  .detail-hero-video-first .audio-float {
    display: none;
  }

  .audio-art {
    position: relative;
    z-index: 1;
    width: min(260px, 86%);
    height: auto;
    min-height: 178px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.54);
    color: #22261f;
    text-align: center;
    box-shadow:
      0 16px 34px rgba(22, 26, 22, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.9) inset;
    backdrop-filter: blur(16px);
  }

  .audio-art img {
    width: 82px;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(22, 26, 22, 0.2);
  }

  .audio-art strong {
    max-width: 100%;
    overflow: hidden;
    color: #20241f;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 850;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .audio-art span {
    color: #777d72;
    font-size: 12px;
  }

  .detail-player {
    margin-top: 12px;
    padding: 14px 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 10px 24px rgba(23, 27, 23, 0.08);
    backdrop-filter: blur(16px);
  }

  .detail-progress input {
    height: 6px;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(31, 36, 31, 0.12) var(--progress) 100%);
  }

  .detail-progress input::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    background: #ffd84d;
  }

  .detail-progress input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #ffd84d;
  }

  .detail-controls {
    grid-template-columns: 54px 58px 54px;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
  }

  .detail-controls .skip-button {
    min-height: 36px;
    border: 0;
    background: rgba(31, 36, 31, 0.08);
    color: #52584e;
    font-size: 12px;
  }

  .detail-play-button {
    width: 58px;
    height: 58px;
    border: 0;
    background: #ffd84d;
    color: #181b16;
    box-shadow: 0 12px 24px rgba(214, 164, 28, 0.26);
  }

  .current-listening-card .detail-play-button.mini-toggle {
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
  }

  .detail-time {
    grid-column: 1 / -1;
    color: #7c8278;
    font-size: 12px;
    text-align: center;
  }

  .detail-tabs-section {
    margin-top: 0;
  }

  .book-detail-tabs {
    gap: 0;
    justify-content: space-around;
    margin-bottom: 12px;
    overflow-x: visible;
    border-bottom-color: rgba(220, 222, 215, 0.9);
  }

  .book-detail-tabs button {
    flex: 1 1 0;
    padding-bottom: 11px;
    font-size: 15px;
    text-align: center;
  }

  .detail-tabs-section .detail-section {
    padding: 16px 14px;
    border-radius: 10px;
  }
}

.mobile-recent-listening,
.mobile-playlist-layer,
.mobile-listen-player,
.mobile-book-summary,
.mobile-book-stats,
.mobile-detail-actions,
.mobile-detail-tabs,
.mobile-detail-dock,
.mobile-mini-list,
.mobile-only-section {
  display: none;
}

/* Second-pass mobile app refinements from annotated references. */
@media (max-width: 720px) {
  body:has(.detail-main) {
    padding-bottom: 0;
    background: #f2f2f1;
  }

  .section-block#latest {
    padding: 8px 12px 0;
  }

  .mobile-activity-banner {
    height: min(56vw, 226px);
    min-height: 196px;
    border-radius: 12px;
    box-shadow:
      0 10px 22px rgba(25, 31, 24, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  }

  .mobile-activity-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow:
      0 -20px 46px rgba(255, 255, 255, 0.22) inset,
      0 22px 52px rgba(255, 216, 77, 0.16) inset;
  }

  .mobile-banner-nav {
    width: 31px;
    height: 42px;
    font-size: 28px;
    background: rgba(38, 42, 36, 0.22);
  }

  .mobile-banner-dots {
    right: 12px;
    bottom: 10px;
  }

  .mobile-recent-listening {
    display: grid;
    gap: 10px;
    padding: 5px 0 0;
  }

  .mobile-recent-listening h2 {
    margin: 0 2px;
    color: #343831;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 900;
  }

  .mobile-recent-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 7px;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-recent-rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-recent-card {
    width: 292px;
    min-height: 76px;
    flex: 0 0 292px;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 38px;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #31362f;
    text-align: left;
    box-shadow: 0 8px 22px rgba(25, 31, 24, 0.06);
  }

  .mobile-recent-card img {
    width: 58px;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    object-fit: cover;
  }

  .mobile-recent-card strong {
    display: block;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 850;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-recent-card small {
    display: block;
    margin-top: 4px;
    color: #8e9389;
    font-size: 13px;
  }

  .mobile-recent-card em {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eef0eb;
    color: #555b50;
    font-style: normal;
  }

  .mobile-recent-card .play-icon {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
  }

  .mobile-new-books {
    margin-top: 4px;
    padding: 14px 12px 12px;
  }

  .mobile-section-head h2,
  .mobile-new-books h2 {
    font-size: 24px;
  }

  .current-listening-card {
    right: 0;
    bottom: calc(66px + env(safe-area-inset-bottom));
    left: 0;
    min-height: 86px;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 18px 8px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -12px 34px rgba(20, 24, 20, 0.1);
  }

  .current-listening-main {
    grid-template-columns: minmax(0, 1fr) 88px;
    grid-template-rows: auto 8px;
    column-gap: 10px;
  }

  .current-listening-head strong {
    font-size: 16px;
  }

  .mini-player-progress {
    height: 5px;
    margin-top: 6px;
    border-radius: 999px;
    background: #e7e8e2;
  }

  .mini-player-range::-webkit-slider-thumb {
    width: 14px;
    height: 14px;
  }

  .mini-player-controls {
    display: grid;
    grid-template-columns: 40px 40px;
    justify-content: end;
    align-items: center;
    gap: 8px;
  }

  .current-listening-card .detail-play-button.mini-toggle,
  .mobile-mini-list {
    width: 40px;
    height: 40px;
    min-height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
  }

  .mobile-mini-list {
    background: #f2f3ef;
    color: #2f352f;
  }

  .mobile-mini-list span,
  .mobile-mini-list span::before,
  .mobile-mini-list span::after {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
  }

  .mobile-mini-list span {
    position: relative;
  }

  .mobile-mini-list span::before,
  .mobile-mini-list span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .mobile-mini-list span::before {
    top: -7px;
  }

  .mobile-mini-list span::after {
    top: 7px;
  }

  .mobile-bottom-nav {
    height: calc(66px + env(safe-area-inset-bottom));
    padding: 6px 28px max(6px, env(safe-area-inset-bottom));
    border-top: 1px solid rgba(235, 235, 231, 0.9);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: none;
  }

  .mobile-playlist-layer {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: block;
  }

  .mobile-playlist-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.36);
  }

  .mobile-playlist-sheet {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 74vh;
    min-height: 420px;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    padding: 10px 0 calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    background: #fff;
    box-shadow: 0 -20px 60px rgba(12, 14, 12, 0.24);
  }

  .mobile-sheet-handle {
    width: 52px;
    height: 5px;
    margin: 0 auto 15px;
    border-radius: 999px;
    background: #dddeda;
  }

  .mobile-playlist-tabs {
    display: flex;
    gap: 26px;
    padding: 0 24px 14px;
    border-bottom: 1px solid #eeeeea;
  }

  .mobile-playlist-tabs button {
    position: relative;
    padding: 0 0 8px;
    border: 0;
    background: transparent;
    color: #9b9d99;
    font-size: 20px;
    font-weight: 900;
  }

  .mobile-playlist-tabs button.active {
    color: #2d312b;
  }

  .mobile-playlist-tabs button.active::after {
    content: "";
    position: absolute;
    right: 22%;
    bottom: -14px;
    left: 22%;
    height: 3px;
    border-radius: 999px;
    background: #ffd84d;
  }

  .mobile-playlist-tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 38px 38px 38px;
    gap: 8px;
    align-items: center;
    padding: 14px 22px 8px;
    color: #777b72;
    font-size: 14px;
  }

  .mobile-playlist-tools span {
    width: fit-content;
    padding: 7px 12px;
    border: 1px solid #ecede8;
    border-radius: 999px;
    color: #575d53;
  }

  .mobile-playlist-tools button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #70746d;
    font-size: 22px;
  }

  .mobile-playlist-list {
    overflow-y: auto;
    padding: 8px 22px 10px;
  }

  .mobile-playlist-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px 34px 30px;
    gap: 8px;
    align-items: center;
    padding: 10px 0;
  }

  .mobile-playlist-item > button:first-child {
    min-width: 0;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
  }

  .mobile-playlist-item img {
    width: 58px;
    aspect-ratio: 3 / 4;
    border-radius: 6px;
    object-fit: cover;
  }

  .mobile-playlist-item strong {
    display: block;
    overflow: hidden;
    color: #343832;
    font-size: 17px;
    line-height: 1.25;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-playlist-item small {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #969994;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-playlist-item.active strong {
    color: #b8a450;
  }

  .mobile-playlist-now {
    width: 18px;
    height: 18px;
    display: block;
    background:
      linear-gradient(90deg, #c7b45e 0 3px, transparent 3px 6px, #c7b45e 6px 9px, transparent 9px 12px, #c7b45e 12px 15px);
    opacity: 0;
  }

  .mobile-playlist-item.active .mobile-playlist-now {
    opacity: 1;
  }

  .mobile-playlist-remove,
  .mobile-playlist-drag {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #a6a9a2;
    font-size: 22px;
  }

  .mobile-playlist-drag {
    font-size: 18px;
  }

  .mobile-playlist-empty {
    padding: 34px 0;
    color: #969994;
    text-align: center;
  }

  .detail-main {
    width: 100%;
    padding: 0 0 calc(86px + env(safe-area-inset-bottom)) !important;
    background: #f2f2f1;
  }

  .detail-hero-video-first {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }

  .detail-hero-video-first .media-card {
    order: 1;
    padding: 24px 22px 25px;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 80% 18%, rgba(255, 216, 77, 0.16), transparent 30%),
      linear-gradient(135deg, rgba(20, 23, 22, 0.92), rgba(53, 59, 62, 0.92)),
      #33383a;
    color: #fff;
    box-shadow: none;
  }

  .detail-hero-video-first .media-stage,
  .detail-hero-video-first .detail-player {
    display: none;
  }

  .mobile-listen-player {
    display: grid;
    gap: 22px;
  }

  .mobile-listen-topbar {
    display: grid;
    grid-template-columns: 36px minmax(118px, auto) minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
  }

  .mobile-back,
  .mobile-share {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 34px;
    text-decoration: none;
  }

  .mobile-share {
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 8px;
    font-size: 22px;
  }

  .mobile-video-switch {
    min-height: 36px;
    padding: 0 13px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 16px;
    font-weight: 850;
  }

  .mobile-listen-topbar > span {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    text-align: right;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-listen-progress {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    row-gap: 4px;
    column-gap: 10px;
    align-items: center;
  }

  .mobile-listen-progress button {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
    font-weight: 850;
  }

  .mobile-listen-progress input {
    --progress: 0%;
    width: 100%;
    height: 5px;
    appearance: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #fff 0 var(--progress), rgba(255, 255, 255, 0.42) var(--progress) 100%);
    outline: 0;
  }

  .mobile-listen-progress input::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
    appearance: none;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }

  .mobile-listen-progress span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
  }

  .mobile-listen-progress span:first-of-type {
    grid-column: 2;
    justify-self: start;
  }

  .mobile-listen-progress span:last-of-type {
    grid-column: 2;
    justify-self: end;
    margin-top: -18px;
  }

  .mobile-listen-controls {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    align-items: center;
  }

  .mobile-listen-controls button {
    min-width: 0;
    display: grid;
    place-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.68);
  }

  .mobile-listen-controls span {
    font-size: 28px;
    line-height: 1;
  }

  .mobile-listen-controls em {
    font-style: normal;
    font-size: 12px;
    white-space: nowrap;
  }

  .mobile-listen-controls .mobile-main-play {
    width: 72px;
    height: 72px;
    justify-self: center;
    border-radius: 999px;
    background: #fff;
    color: #333942;
  }

  .mobile-main-play .detail-play-symbol {
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
  }

  .detail-info-panel {
    order: 2;
    margin: 0 16px;
    padding: 14px;
    transform: translateY(16px);
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(24, 28, 23, 0.07);
  }

  .detail-info-panel .detail-copy,
  .detail-info-panel .inline-related-panel {
    display: none;
  }

  .mobile-book-summary {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
  }

  .mobile-book-summary img {
    width: 104px;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(24, 28, 23, 0.14);
  }

  .mobile-book-summary h1 {
    margin: 0;
    color: #2f342f;
    font-size: 23px;
    line-height: 1.18;
    font-weight: 950;
  }

  .mobile-book-summary p {
    margin: 10px 0 0;
    color: #8c9088;
    font-size: 15px;
  }

  .mobile-book-summary small {
    display: block;
    margin-top: 8px;
    color: #9a9d98;
    font-size: 13px;
    line-height: 1.35;
  }

  .mobile-book-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #eeeeea;
    color: #9a8a54;
    font-size: 13px;
    text-align: center;
  }

  .mobile-book-stats span {
    min-width: 0;
    padding: 0 8px;
    border-right: 1px solid #eeeeea;
  }

  .mobile-book-stats span:last-child {
    border-right: 0;
  }

  .mobile-book-stats b {
    display: block;
    margin-top: 3px;
    color: #c18b24;
    font-size: 15px;
  }

  .mobile-detail-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
  }

  .mobile-detail-actions button {
    min-height: 44px;
    border: 1px solid #e7e8e3;
    border-radius: 8px;
    background: #fff;
    color: #696e66;
    font-size: 16px;
    font-weight: 750;
  }

  .detail-tabs-section {
    margin-top: 32px;
  }

  .desktop-detail-tabs {
    display: none;
  }

  .mobile-detail-tabs {
    display: flex;
    gap: 28px;
    padding: 0 16px;
    margin: 0 0 12px;
    border-bottom: 1px solid #e5e5e1;
  }

  .mobile-detail-tabs button {
    flex: 0 0 auto;
    padding: 0 0 12px;
    color: #9a9d99;
    font-size: 22px;
    font-weight: 850;
  }

  .mobile-detail-tabs button.active {
    color: #343832;
  }

  .detail-tabs-section .detail-section {
    margin: 0 16px 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .detail-section-head {
    display: block;
    margin-bottom: 10px;
  }

  .detail-section-head span {
    display: none;
  }

  .detail-section-head h2 {
    margin: 0;
    color: #30342f;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 900;
  }

  .recommend-text,
  .author-card,
  .acquire-grid {
    padding: 18px 20px;
    border-radius: 10px;
    background: #fff;
    color: #686d66;
    font-size: 18px;
    line-height: 1.8;
  }

  .acquire-grid {
    display: block;
  }

  .acquire-grid div {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .acquire-grid div + div {
    margin-top: 8px;
  }

  .acquire-grid em {
    display: none;
  }

  .acquire-grid strong {
    color: #6d726b;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 500;
  }

  .acquire-grid strong::before {
    content: "· ";
  }

  .author-card {
    display: block;
  }

  .author-avatar {
    display: none;
  }

  .extract-section {
    display: none;
  }

  .mobile-only-section,
  .mobile-related-books,
  .mobile-comments-section {
    display: block;
  }

  .mobile-related-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 8px 12px;
    border-radius: 10px;
    background: #fff;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mobile-related-rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-related-book {
    width: 116px;
    flex: 0 0 116px;
    padding: 14px 0 4px;
    text-align: center;
    text-decoration: none;
  }

  .mobile-related-book img {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(24, 28, 23, 0.1);
  }

  .mobile-related-book strong {
    display: block;
    margin-top: 8px;
    overflow: hidden;
    color: #696e66;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-comments-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
  }

  .mobile-comments-head span {
    display: block;
    color: #9a9d99;
    font-size: 15px;
  }

  .mobile-comment-list {
    display: grid;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 10px;
    background: #fff;
  }

  .mobile-comment-list .book-comment {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-comment-list .comment-meta strong {
    font-size: 17px;
  }

  .mobile-comment-list .book-comment p {
    font-size: 17px;
    line-height: 1.75;
  }

  .mobile-detail-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 96;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 62px 64px;
    gap: 8px;
    align-items: center;
    padding: 10px 16px max(10px, env(safe-area-inset-bottom));
    border-top: 1px solid #ecece8;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
  }

  .mobile-note-input {
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #f0f1ee;
    color: #9a9d99;
    font-size: 16px;
    text-align: left;
  }

  .mobile-dock-comment,
  .mobile-dock-favorite {
    min-height: 48px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    border: 0;
    background: transparent;
    color: #343832;
  }

  .mobile-dock-comment span {
    width: 24px;
    height: 22px;
    border: 2px solid currentColor;
    border-radius: 5px;
  }

  .mobile-dock-comment strong {
    position: absolute;
    margin: -25px 0 0 24px;
    color: #747872;
    font-size: 12px;
    font-weight: 500;
  }

  .mobile-dock-comment em,
  .mobile-dock-favorite em {
    font-style: normal;
    font-size: 12px;
  }

  .mobile-dock-favorite span {
    position: relative;
    width: 25px;
    height: 23px;
    display: block;
  }

  .mobile-dock-favorite span::before {
    content: "";
    position: absolute;
    inset: -7px 0 0;
    color: currentColor;
    content: "♡";
    font-size: 31px;
    line-height: 1;
    text-align: center;
  }

  .mobile-dock-favorite.active {
    color: #ff3b30;
  }

  .mobile-dock-favorite.active span::before {
    content: "♥";
  }
}

/* Third-pass compact mobile listening detail polish. */
@media (max-width: 720px) {
  .detail-main {
    padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }

  .detail-hero-video-first .media-card {
    width: min(430px, calc(100% - 28px));
    margin: 10px auto 0;
    padding: 10px 12px 12px;
    border-radius: 16px;
    background:
      radial-gradient(circle at 82% 24%, rgba(255, 216, 77, 0.12), transparent 32%),
      linear-gradient(135deg, #333838, #252a2d);
    box-shadow: 0 12px 28px rgba(20, 24, 20, 0.16);
  }

  .mobile-listen-player {
    gap: 10px;
  }

  .mobile-listen-topbar {
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 6px;
  }

  .mobile-back,
  .mobile-share {
    width: 30px;
    height: 30px;
    font-size: 24px;
  }

  .mobile-share {
    border-width: 1.5px;
    border-radius: 7px;
    font-size: 17px;
  }

  .mobile-video-switch {
    min-height: 30px;
    justify-self: center;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.28);
    font-size: 13px;
    line-height: 1;
  }

  .mobile-video-switch span {
    margin-right: 5px;
    font-size: 13px;
  }

  .mobile-listen-progress {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    column-gap: 8px;
    row-gap: 2px;
  }

  .mobile-listen-progress button {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-color: rgba(255, 255, 255, 0.32);
    color: rgba(255, 255, 255, 0.78);
    font-size: 10px;
    font-weight: 800;
  }

  .mobile-listen-progress button span {
    font-size: 13px;
    line-height: 1;
  }

  .mobile-listen-progress button em {
    font-style: normal;
    line-height: 1;
  }

  .mobile-listen-progress input {
    height: 4px;
  }

  .mobile-listen-progress input::-webkit-slider-thumb {
    width: 15px;
    height: 15px;
  }

  .mobile-listen-progress input::-moz-range-thumb {
    width: 15px;
    height: 15px;
  }

  .mobile-listen-progress span {
    font-size: 11px;
  }

  .mobile-listen-progress span:last-of-type {
    margin-top: -16px;
  }

  .mobile-listen-controls {
    gap: 2px;
  }

  .mobile-listen-controls button {
    gap: 4px;
  }

  .mobile-listen-controls .mobile-control-icon,
  .mobile-listen-controls span {
    font-size: 21px;
  }

  .mobile-listen-controls em {
    max-width: 68px;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-listen-controls .mobile-main-play {
    width: 56px;
    height: 56px;
  }

  .mobile-main-play .detail-play-symbol {
    border-top-width: 9px;
    border-bottom-width: 9px;
    border-left-width: 14px;
  }

  .mobile-main-play.is-playing .detail-play-symbol {
    width: 16px;
    height: 19px;
    border: 0;
    border-left: 5px solid currentColor;
    border-right: 5px solid currentColor;
    transform: none;
  }

  .detail-info-panel {
    width: min(430px, calc(100% - 28px));
    margin: 10px auto 0;
    padding: 12px;
    transform: none;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(24, 28, 23, 0.07);
  }

  .mobile-book-summary {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 12px;
  }

  .mobile-book-summary img {
    width: 86px;
    border-radius: 9px;
    box-shadow: 0 10px 18px rgba(24, 28, 23, 0.12);
  }

  .mobile-book-badge {
    width: fit-content;
    display: inline-flex;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff5cc;
    color: #a87900;
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-book-summary h1 {
    font-size: 22px;
    line-height: 1.16;
  }

  .mobile-book-summary p {
    margin-top: 7px;
    font-size: 14px;
  }

  .mobile-book-summary small {
    margin-top: 6px;
    font-size: 12px;
  }

  .mobile-book-stats {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top-color: #f0f0eb;
    text-align: left;
  }

  .mobile-book-stats span {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 9px;
    border: 0;
    border-radius: 9px;
    background: #fbfaf4;
  }

  .mobile-book-stats b {
    display: block;
    margin: 0;
    overflow: hidden;
    color: #b88218;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-book-stats em {
    display: block;
    margin-top: 3px;
    color: #aaa69a;
    font-style: normal;
    font-size: 11px;
  }

  .mobile-detail-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .mobile-detail-actions button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-color: #e9e9e4;
    border-radius: 10px;
    background: #fff;
    color: #5d635b;
    font-size: 15px;
  }

  .mobile-detail-actions button span {
    color: #b58a20;
    font-size: 16px;
  }

  .detail-tabs-section {
    width: min(430px, 100%);
    margin: 18px auto 0;
  }

  .mobile-detail-tabs {
    justify-content: flex-start;
    gap: 34px;
    padding: 0 18px;
    margin-bottom: 14px;
  }

  .mobile-detail-tabs button {
    padding-bottom: 10px;
    font-size: 18px;
    font-weight: 750;
  }

  .mobile-detail-tabs button.active::after {
    right: 0;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: #ffd84d;
  }

  .detail-tabs-section .detail-section {
    width: min(430px, calc(100% - 28px));
    margin: 0 auto 16px;
  }

  .detail-section-head {
    margin-bottom: 8px;
  }

  .detail-section-head h2 {
    font-size: 22px;
    line-height: 1.18;
  }

  .recommend-text,
  .author-card,
  .acquire-grid {
    width: 100%;
    padding: 15px 16px;
    overflow: visible;
    border-radius: 12px;
    color: #626861;
    font-size: 16px;
    line-height: 1.72;
    overflow-wrap: anywhere;
  }

  .acquire-grid div {
    min-height: 0 !important;
  }

  .acquire-grid div + div {
    margin-top: 6px;
  }

  .acquire-grid strong {
    display: block;
    font-size: 16px;
    line-height: 1.65;
  }

  .mobile-related-rail {
    gap: 12px;
    padding: 12px;
    overflow-x: auto;
  }

  .mobile-related-book {
    width: 88px;
    flex-basis: 88px;
    padding: 0;
  }

  .mobile-related-book img {
    border-radius: 9px;
  }

  .mobile-related-book strong {
    margin-top: 7px;
    font-size: 13px;
  }

  .mobile-comment-list {
    gap: 12px;
    padding: 12px;
  }

  .mobile-comment-list .book-comment {
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(24, 28, 23, 0.04);
  }

  .mobile-comment-list .book-comment + .book-comment {
    margin-top: 0;
  }

  .mobile-comment-list .comment-meta strong {
    font-size: 15px;
  }

  .mobile-comment-list .book-comment p {
    margin-top: 7px;
    font-size: 15px;
    line-height: 1.65;
  }

  .mobile-detail-dock {
    grid-template-columns: minmax(0, 1fr) 56px 58px;
    padding: 8px 14px max(8px, env(safe-area-inset-bottom));
  }

  .mobile-note-input {
    min-height: 40px;
    font-size: 14px;
  }

  .mobile-dock-comment,
  .mobile-dock-favorite {
    min-height: 44px;
  }
}

/* Fourth-pass mobile detail sizing and overflow repair. */
@media (max-width: 720px) {
  body:has(.detail-main),
  .detail-main {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .detail-hero-video-first,
  .detail-tabs-section,
  .detail-tabs-section .detail-content,
  .detail-tabs-section .detail-tab-panel,
  .detail-tabs-section .mobile-only-section {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .detail-hero-video-first .media-card,
  .detail-info-panel,
  .detail-tabs-section {
    width: min(350px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
  }

  .detail-hero-video-first .media-card {
    padding: 9px 10px 11px !important;
  }

  .mobile-listen-player {
    gap: 8px !important;
  }

  .mobile-listen-topbar {
    grid-template-columns: 28px minmax(0, 1fr) 28px !important;
  }

  .mobile-back,
  .mobile-share {
    width: 28px !important;
    height: 28px !important;
  }

  .mobile-video-switch {
    max-width: 170px;
    min-height: 28px !important;
    padding: 0 12px !important;
    overflow: hidden;
    justify-self: center !important;
    font-size: 12px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-listen-progress {
    grid-template-columns: 27px minmax(0, 1fr) 27px !important;
    column-gap: 7px !important;
  }

  .mobile-listen-progress button {
    width: 27px !important;
    height: 27px !important;
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-listen-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 54px minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 1px !important;
  }

  .mobile-listen-controls .mobile-control-icon,
  .mobile-listen-controls span {
    font-size: 19px !important;
  }

  .mobile-listen-controls em {
    max-width: 52px !important;
    font-size: 10px !important;
  }

  .mobile-listen-controls .mobile-main-play {
    width: 52px !important;
    height: 52px !important;
  }

  .mobile-main-play.is-playing .detail-play-symbol {
    width: 15px !important;
    height: 18px !important;
    border-left-width: 5px !important;
    border-right-width: 5px !important;
  }

  .detail-info-panel {
    margin-top: 9px !important;
    padding: 11px !important;
    border: 1px solid rgba(236, 236, 230, 0.96) !important;
    border-radius: 13px !important;
    box-shadow: 0 8px 18px rgba(24, 28, 23, 0.055) !important;
  }

  .mobile-book-summary {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: start !important;
  }

  .mobile-book-summary img {
    width: 78px !important;
    border-radius: 8px !important;
  }

  .mobile-book-badge {
    margin-bottom: 5px !important;
    padding: 2px 7px !important;
    font-size: 10px !important;
  }

  .mobile-book-summary h1 {
    font-size: 21px !important;
    line-height: 1.14 !important;
  }

  .mobile-book-summary p {
    margin-top: 6px !important;
    font-size: 13px !important;
  }

  .mobile-book-summary small {
    margin-top: 5px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
  }

  .mobile-book-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin-top: 11px !important;
    padding-top: 10px !important;
    border-top: 1px solid #eeeeea !important;
    text-align: center !important;
  }

  .mobile-book-stats span {
    padding: 0 7px !important;
    border-radius: 0 !important;
    border-right: 1px solid #eeeeea !important;
    background: transparent !important;
  }

  .mobile-book-stats span:last-child {
    border-right: 0 !important;
  }

  .mobile-book-stats b {
    color: #b88218 !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  .mobile-book-stats em {
    margin-top: 4px !important;
    font-size: 10px !important;
  }

  .mobile-detail-actions {
    margin-top: 11px !important;
  }

  .mobile-detail-actions button {
    min-height: 38px !important;
    border-radius: 9px !important;
    font-size: 14px !important;
  }

  .detail-tabs-section {
    margin-top: 16px !important;
    overflow: visible !important;
  }

  .mobile-detail-tabs {
    gap: 24px !important;
    padding: 0 !important;
    margin-bottom: 12px !important;
  }

  .mobile-detail-tabs button {
    padding-bottom: 9px !important;
    font-size: 16px !important;
  }

  .detail-tabs-section .detail-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .detail-section-head {
    margin-bottom: 7px !important;
  }

  .detail-section-head h2 {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  .recommend-text,
  .author-card,
  .acquire-grid,
  .mobile-related-rail,
  .mobile-comment-list {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  .recommend-text,
  .author-card {
    padding: 13px 14px !important;
    overflow: visible !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .acquire-grid {
    padding: 13px 14px !important;
    overflow: visible !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .acquire-grid div {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .acquire-grid div + div {
    margin-top: 7px !important;
  }

  .acquire-grid strong {
    display: flex !important;
    align-items: baseline;
    gap: 8px;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }

  .acquire-grid strong::before {
    content: "" !important;
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 999px;
    background: #d7a52a;
    transform: translateY(-2px);
  }

  .mobile-related-rail {
    gap: 10px !important;
    padding: 10px !important;
  }

  .mobile-related-book {
    width: 78px !important;
    flex: 0 0 78px !important;
  }

  .mobile-related-book strong {
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  .mobile-comment-list {
    gap: 10px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .mobile-comment-list .book-comment {
    padding: 11px 12px !important;
    border: 1px solid #eeeeea !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(24, 28, 23, 0.04) !important;
  }

  .mobile-comment-list .comment-meta strong,
  .mobile-comment-list .book-comment p {
    font-size: 14px !important;
  }
}

/* Fifth-pass mobile player controls from annotated feedback. */
@media (max-width: 720px) {
  .detail-hero-video-first {
    overflow: visible !important;
  }

  .detail-hero-video-first .media-card {
    position: relative;
    z-index: 8;
    overflow: visible !important;
  }

  .mobile-listen-player {
    position: relative;
    overflow: visible;
  }

  .mobile-video-switch {
    max-width: 188px !important;
    min-height: 32px !important;
    padding: 0 16px !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
    font-size: 13px !important;
  }

  .mobile-video-switch:active,
  .mobile-listen-progress .mobile-skip:active,
  .mobile-listen-controls button:active {
    transform: scale(0.96);
  }

  .mobile-listen-progress {
    grid-template-columns: 36px minmax(0, 1fr) 36px !important;
    column-gap: 8px !important;
  }

  .mobile-listen-progress .mobile-skip {
    width: 36px !important;
    height: 36px !important;
    position: relative;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.34) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.16s ease, background 0.16s ease;
  }

  .mobile-listen-progress .mobile-skip span {
    display: none !important;
  }

  .mobile-listen-progress .mobile-skip em {
    color: inherit;
    font-size: 13px !important;
    font-weight: 900;
    line-height: 1;
  }

  .mobile-listen-progress .mobile-skip em::after {
    content: "s";
    margin-left: 1px;
    font-size: 8px;
    font-weight: 850;
    opacity: 0.82;
  }

  .mobile-listen-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 58px minmax(0, 1fr) !important;
    gap: 4px !important;
    align-items: center;
  }

  .mobile-control-cell {
    min-width: 0;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
  }

  .mobile-control-cell.is-open {
    z-index: 40;
  }

  .mobile-control-cell > button,
  .mobile-listen-controls > button {
    min-width: 0;
    width: 100%;
    min-height: 46px;
    border-radius: 10px;
    transition: transform 0.16s ease, background 0.16s ease;
  }

  .mobile-listen-controls .mobile-main-play {
    width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
  }

  .mobile-listen-controls .mobile-control-icon,
  .mobile-listen-controls span {
    font-size: 20px !important;
  }

  .mobile-listen-controls em {
    max-width: 64px !important;
    font-size: 11px !important;
  }

  .mobile-control-menu {
    width: 136px;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 50;
    display: grid;
    gap: 5px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(25, 28, 24, 0.18);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -7px) scale(0.96);
    transform-origin: top center;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    backdrop-filter: blur(18px) saturate(1.35);
  }

  .mobile-control-menu::before {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    top: -5px;
    left: calc(50% - 6px);
    border-top: 1px solid rgba(255, 255, 255, 0.68);
    border-left: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.82);
    transform: rotate(45deg);
    -webkit-backdrop-filter: blur(18px) saturate(1.35);
    backdrop-filter: blur(18px) saturate(1.35);
  }

  .mobile-control-cell.is-open .mobile-control-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
  }

  .mobile-control-cell:first-child .mobile-control-menu {
    left: 0;
    transform: translate(0, -7px) scale(0.96);
  }

  .mobile-control-cell:first-child.is-open .mobile-control-menu {
    transform: translate(0, 0) scale(1);
  }

  .mobile-control-cell:first-child .mobile-control-menu::before {
    left: 28px;
  }

  .mobile-control-menu button {
    min-height: 34px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: rgba(245, 246, 241, 0.82) !important;
    color: #343a34 !important;
    font-size: 13px !important;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-control-menu button.active {
    background: #2f3534 !important;
    color: #fff !important;
  }

  .detail-info-panel {
    margin-top: 8px !important;
    padding: 9px 10px 10px !important;
  }

  .mobile-book-summary {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .mobile-book-summary img {
    width: 72px !important;
  }

  .mobile-book-badge {
    margin-bottom: 4px !important;
    padding: 2px 7px !important;
  }

  .mobile-book-summary h1 {
    font-size: 20px !important;
    line-height: 1.12 !important;
  }

  .mobile-book-summary p {
    margin-top: 5px !important;
    font-size: 12px !important;
  }

  .mobile-book-summary small {
    margin-top: 4px !important;
    font-size: 10px !important;
  }

  .mobile-book-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 240px;
    margin: 9px auto 0 !important;
    padding-top: 8px !important;
  }

  .mobile-book-stats span:nth-child(2) {
    border-right: 0 !important;
  }

  .mobile-book-stats b {
    font-size: 13px !important;
  }

  .mobile-book-stats em {
    font-size: 10px !important;
  }

  .mobile-detail-actions {
    margin-top: 9px !important;
  }

  .mobile-detail-actions button {
    min-height: 35px !important;
    font-size: 13px !important;
  }
}

/* Sixth-pass mobile corrections from annotated player/detail feedback. */
@media (max-width: 720px) {
  .mobile-listen-progress {
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    column-gap: 8px !important;
  }

  .mobile-listen-progress .mobile-skip {
    width: 44px !important;
    height: 42px !important;
    display: grid !important;
    grid-template-rows: auto auto;
    gap: 1px;
    place-items: center !important;
    padding: 0 !important;
  }

  .mobile-listen-progress .mobile-skip strong {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
  }

  .mobile-listen-progress .mobile-skip em {
    display: block;
    font-size: 12px !important;
    line-height: 1;
  }

  .mobile-listen-progress .mobile-skip em::after {
    content: "" !important;
  }

  .mobile-listen-controls {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 60px minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 3px !important;
  }

  .mobile-listen-controls .mobile-main-play {
    width: 60px !important;
    height: 60px !important;
    min-height: 60px !important;
  }

  .mobile-listen-controls .mobile-control-icon,
  .mobile-listen-controls span {
    font-size: 19px !important;
  }

  .mobile-listen-controls em {
    max-width: 58px !important;
    font-size: 10px !important;
  }

  .mobile-watch-later.active {
    color: #fff !important;
  }

  .mobile-watch-later.active .mobile-control-icon {
    color: #ffd84d;
  }

  .detail-hero-video-first .media-stage {
    width: 100%;
    height: 0 !important;
    min-height: 0 !important;
    max-height: none;
    display: block !important;
    margin-top: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #111413;
    aspect-ratio: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transition: height 0.32s ease, margin-top 0.24s ease, opacity 0.24s ease, transform 0.32s ease;
  }

  .detail-hero-video-first .media-card.is-video-mode .media-stage {
    height: min(190px, 47vw) !important;
    min-height: 0 !important;
    margin-top: 11px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .detail-hero-video-first .media-card.is-video-mode .media-video {
    width: 100%;
    height: 100%;
    display: block !important;
    object-fit: contain;
    border-radius: 12px;
    background: #101211;
  }

  .detail-hero-video-first .media-card.is-video-mode .audio-art {
    display: none !important;
  }

  .detail-hero-video-first .media-card.is-audio-mode .media-video,
  .detail-hero-video-first .media-card.is-audio-mode .video-cover-preview {
    display: none !important;
  }

  .detail-info-panel {
    padding: 9px 10px !important;
  }

  .mobile-book-summary {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .mobile-book-summary img {
    width: 70px !important;
  }

  .mobile-detail-actions {
    margin-top: 8px !important;
  }

  .detail-tabs-section {
    margin-top: 12px !important;
  }

  .detail-tabs-section .detail-tab-panel {
    gap: 9px !important;
  }

  .detail-tabs-section .detail-section {
    margin-bottom: 9px !important;
  }

  .detail-section-head {
    margin-bottom: 5px !important;
  }

  .detail-section-head h2 {
    font-size: 19px !important;
  }

  .recommend-text,
  .author-card,
  .acquire-grid {
    padding: 11px 13px !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .author-card p {
    margin: 0;
  }

  .acquire-grid div + div {
    margin-top: 4px !important;
  }

  .acquire-grid strong {
    gap: 7px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
}

/* Seventh-pass mobile comments and scroll-spy refinements. */
@media (max-width: 720px) {
  .mobile-detail-tabs {
    gap: 18px !important;
  }

  .mobile-detail-tabs button {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 3px;
    padding-right: 5px !important;
  }

  .mobile-detail-tabs button span {
    font: inherit;
  }

  .mobile-detail-tabs button em {
    min-width: 15px;
    height: 15px;
    display: inline-grid;
    place-items: center;
    margin: -5px 0 0 -1px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ffd84d;
    color: #2f342f;
    font-size: 10px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
  }

  .mobile-detail-dock {
    grid-template-columns: minmax(0, 1fr) 48px 50px !important;
    gap: 7px !important;
    padding: 7px 12px max(7px, env(safe-area-inset-bottom)) !important;
  }

  .mobile-note-form {
    min-width: 0;
    height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    padding: 4px 5px 4px 14px;
    border-radius: 999px;
    background: #f0f1ee;
  }

  .mobile-note-input {
    min-height: 0 !important;
    height: 100%;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #343832 !important;
    font-size: 14px !important;
    outline: 0;
  }

  .mobile-note-input::placeholder {
    color: #9a9d99;
  }

  .mobile-note-send {
    min-width: 46px;
    height: 32px;
    padding: 0 11px;
    border: 0;
    border-radius: 999px;
    background: #2f3534;
    color: #fff;
    font-size: 13px;
    font-weight: 850;
  }

  .mobile-note-send:active {
    transform: scale(0.96);
  }

  .mobile-dock-comment,
  .mobile-dock-favorite {
    position: relative;
    min-height: 42px !important;
    gap: 2px !important;
  }

  .mobile-dock-comment span {
    width: 24px !important;
    height: 21px !important;
    position: relative;
    display: block;
    border: 2px solid currentColor !important;
    border-radius: 7px !important;
  }

  .mobile-dock-comment span::before {
    content: "";
    position: absolute;
    right: 3px;
    bottom: -5px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    background: #fff;
    transform: rotate(36deg);
  }

  .mobile-dock-comment span::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 5px;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 5px 0 currentColor;
    opacity: 0.82;
  }

  .mobile-dock-comment strong {
    min-width: 16px;
    height: 16px;
    position: absolute !important;
    top: 1px;
    right: 3px;
    display: inline-grid;
    place-items: center;
    margin: 0 !important;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ffd84d;
    color: #2f342f !important;
    font-size: 10px !important;
    line-height: 1;
    font-weight: 900 !important;
  }

  .mobile-dock-comment em,
  .mobile-dock-favorite em {
    font-size: 11px !important;
  }
}

/* Eighth-pass mobile polish from annotated detail/home feedback. */
@media (max-width: 720px) {
  #catalog .section-note {
    display: none !important;
  }

  .toast {
    right: 14px !important;
    bottom: calc(72px + max(12px, env(safe-area-inset-bottom))) !important;
    left: 14px !important;
    z-index: 150 !important;
    width: auto !important;
    text-align: center;
  }

  .detail-hero-video-first .media-card.is-video-mode {
    padding: 10px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-player {
    gap: 0 !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-progress,
  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-controls {
    display: none !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar {
    margin-bottom: 10px;
  }

  .detail-hero-video-first .media-card.is-video-mode .media-stage {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    margin-top: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: #101211;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .detail-hero-video-first .media-card.is-video-mode .media-video {
    border-radius: 13px;
    object-fit: contain;
  }

  .detail-hero-video-first .media-card.is-video-mode .video-cover-preview {
    display: none !important;
  }

  .mobile-listen-progress {
    grid-template-rows: auto auto !important;
    row-gap: 5px !important;
  }

  .mobile-listen-progress span:first-of-type,
  .mobile-listen-progress span:last-of-type {
    grid-row: 2 !important;
    grid-column: 2 !important;
    margin-top: 0 !important;
    align-self: start;
    line-height: 1.1;
  }

  .mobile-listen-progress input::-webkit-slider-thumb,
  .mini-player-range::-webkit-slider-thumb {
    cursor: grab;
  }

  .mobile-listen-progress input:active::-webkit-slider-thumb,
  .mini-player-range:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.08);
  }

  .detail-info-panel {
    background: rgba(255, 255, 255, 0.78) !important;
    border: 1px solid rgba(255, 255, 255, 0.74) !important;
    box-shadow:
      0 18px 42px rgba(24, 28, 23, 0.1),
      0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    backdrop-filter: blur(22px) saturate(1.35);
  }

  .current-listening-card {
    right: 0 !important;
    bottom: calc(58px + env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    min-height: 78px !important;
    padding: 10px 18px 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-bottom: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    background: rgba(255, 255, 255, 0.68) !important;
    box-shadow:
      0 -18px 48px rgba(24, 28, 23, 0.13),
      0 1px 0 rgba(255, 255, 255, 0.86) inset !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.45);
    backdrop-filter: blur(26px) saturate(1.45);
  }

  .current-listening-card::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -1px;
    left: 18px;
    height: 1px;
    background: rgba(255, 255, 255, 0.62);
  }

  .current-listening-head span,
  .current-listening-head p {
    display: none !important;
  }

  .current-listening-head strong {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }

  .current-listening-main {
    grid-template-columns: minmax(0, 1fr) 88px !important;
    grid-template-rows: auto 8px !important;
  }

  .mini-player-progress {
    margin-top: 7px !important;
    background: rgba(218, 221, 211, 0.7) !important;
  }

  .mini-player-range {
    background:
      linear-gradient(90deg, #ffcd24 0 var(--progress), rgba(215, 218, 207, 0.72) var(--progress) 100%) !important;
  }

  .current-listening-card .detail-play-button.mini-toggle {
    background: #ffd84d !important;
    box-shadow: 0 10px 24px rgba(255, 216, 77, 0.34) !important;
  }

  .mobile-mini-list {
    background: rgba(245, 247, 242, 0.72) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .mobile-bottom-nav {
    height: calc(58px + env(safe-area-inset-bottom)) !important;
    padding: 5px 34px max(5px, env(safe-area-inset-bottom)) !important;
    border-top: 0 !important;
    background: rgba(255, 255, 255, 0.68) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: blur(26px) saturate(1.45);
    backdrop-filter: blur(26px) saturate(1.45);
  }

  .mobile-bottom-nav a {
    gap: 1px !important;
  }

  .mobile-detail-dock {
    background: rgba(255, 255, 255, 0.72) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 -16px 38px rgba(20, 24, 20, 0.09);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
  }
}

/* Final mobile priority overrides for video overlay, comments, and catalog alignment. */
@media (max-width: 720px) {
  #catalog .section-head {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  #catalog .section-head > div {
    width: 100% !important;
  }

  #catalog .section-title {
    margin-left: 0 !important;
    text-align: left !important;
  }

  .detail-hero-video-first .media-card.is-video-mode {
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-player {
    position: absolute !important;
    inset: 0 !important;
    z-index: 8 !important;
    display: block !important;
    pointer-events: none !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-progress,
  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-controls {
    display: none !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: 8px !important;
    z-index: 9 !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, max-content) 38px !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 22px !important;
    background: rgba(18, 22, 20, 0.42) !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18) !important;
    opacity: 0;
    pointer-events: none !important;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    backdrop-filter: blur(18px) saturate(1.2);
  }

  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-listen-topbar {
    opacity: 1;
    pointer-events: auto !important;
    transform: translateY(0);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar > * {
    pointer-events: auto !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-back,
  .detail-hero-video-first .media-card.is-video-mode .mobile-share {
    width: 38px !important;
    height: 38px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #fff !important;
    font-size: 24px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-share {
    font-size: 20px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch {
    max-width: min(178px, 52vw) !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.16) !important;
    box-shadow: none !important;
    white-space: nowrap !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .media-stage {
    overflow: hidden !important;
    margin-top: 0 !important;
    border: 0 !important;
    border-radius: 14px !important;
    cursor: pointer;
    touch-action: manipulation;
  }

  .detail-hero-video-first .media-card.is-video-mode .media-video {
    border-radius: 14px !important;
    user-select: none;
    -webkit-user-select: none;
  }

  .mobile-comments-section {
    margin: 22px -12px 0 !important;
    padding: 0 12px calc(76px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(246, 247, 243, 0.2)) !important;
    box-shadow: none !important;
  }

  .mobile-comments-head {
    display: none !important;
  }

  .mobile-comment-list {
    gap: 0 !important;
    padding: 12px 20px 18px !important;
    border: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    background: #fff !important;
    box-shadow: 0 -10px 34px rgba(24, 28, 23, 0.06) !important;
  }

  .mobile-comment-list .book-comment {
    display: grid !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 18px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .mobile-comment-list .book-comment + .book-comment {
    border-top: 1px solid #eeeeee !important;
  }

  .comment-avatar {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: var(--comment-accent) !important;
    color: #5f531a !important;
    font-size: 18px !important;
    font-weight: 900 !important;
  }

  .comment-content {
    min-width: 0 !important;
  }

  .mobile-comment-list .comment-meta {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
  }

  .comment-author {
    display: grid !important;
    gap: 3px !important;
    min-width: 0 !important;
  }

  .mobile-comment-list .comment-author strong {
    color: #7b7d7a !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
  }

  .comment-author span {
    color: #a5a7a3 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .comment-featured {
    flex: 0 0 auto !important;
    color: #d2aa63 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
  }

  .mobile-comment-list .book-comment p {
    margin: 14px 0 16px !important;
    color: #303235 !important;
    font-size: 18px !important;
    line-height: 1.72 !important;
    font-weight: 850 !important;
    word-break: break-word !important;
  }

  .comment-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .comment-actions button {
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    border: 0 !important;
    background: transparent !important;
    color: #a0a2a0 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
  }

  .comment-actions span {
    font-size: 19px !important;
    line-height: 1 !important;
  }

  .mobile-detail-dock {
    grid-template-columns: minmax(0, 1fr) 50px 50px !important;
    gap: 8px !important;
    min-height: calc(62px + env(safe-area-inset-bottom)) !important;
    padding: 8px 14px max(8px, env(safe-area-inset-bottom)) !important;
  }

  .mobile-note-form {
    position: relative !important;
    height: 42px !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 0 14px !important;
    background: #f0f1ef !important;
  }

  .mobile-note-form::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid #b6b8b5;
    border-radius: 4px;
    transform: rotate(-18deg);
  }

  .mobile-note-send {
    display: none !important;
  }

  .mobile-note-form:focus-within {
    grid-template-columns: 18px minmax(0, 1fr) auto !important;
  }

  .mobile-note-form:focus-within .mobile-note-send {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Final priority for the compact mobile video chrome. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar {
    top: 10px !important;
    right: 14px !important;
    left: 14px !important;
    grid-template-columns: 44px minmax(0, max-content) 44px !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-back,
  .detail-hero-video-first .media-card.is-video-mode .mobile-share,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch,
  .mobile-video-center-toggle,
  .mobile-video-fullscreen {
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(38, 42, 40, 0.32) !important;
    box-shadow:
      0 12px 28px rgba(0, 0, 0, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.14) inset !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    backdrop-filter: blur(14px) saturate(1.25);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-back,
  .detail-hero-video-first .media-card.is-video-mode .mobile-share {
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    font-size: 25px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch {
    min-height: 44px !important;
    max-width: min(184px, 50vw) !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: 15px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch span {
    margin-right: 7px !important;
  }

  .mobile-video-center-toggle,
  .mobile-video-bottom-bar {
    display: none;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-center-toggle {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    z-index: 7 !important;
    width: 58px !important;
    height: 58px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    color: #fff !important;
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-center-toggle .detail-play-symbol {
    margin-left: 4px;
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
    border-left-color: #fff;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-center-toggle.is-playing .detail-play-symbol {
    width: 18px;
    height: 22px;
    margin-left: 0;
    border: 0;
    border-right: 6px solid #fff;
    border-left: 6px solid #fff;
  }

  .detail-hero-video-first .media-card.is-video-mode.is-media-playing:not(.mobile-video-overlay-visible) .mobile-video-center-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.94);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    position: absolute !important;
    right: 10px !important;
    bottom: 9px !important;
    left: 10px !important;
    z-index: 7 !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) 38px !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 40px !important;
    padding: 7px 8px 7px 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 14px !important;
    background: rgba(14, 17, 16, 0.28) !important;
    opacity: 0.92;
    -webkit-backdrop-filter: blur(13px) saturate(1.2);
    backdrop-filter: blur(13px) saturate(1.2);
  }

  .mobile-video-time {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 760 !important;
    white-space: nowrap !important;
  }

  .mobile-video-progress {
    --progress: 0%;
    width: 100% !important;
    height: 24px !important;
    min-width: 0 !important;
    appearance: none !important;
    border: 0 !important;
    border-radius: 999px !important;
    background:
      linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.32) var(--progress) 100%) !important;
    cursor: pointer;
  }

  .mobile-video-progress::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: transparent;
  }

  .mobile-video-progress::-webkit-slider-thumb {
    width: 13px;
    height: 13px;
    margin-top: -4.5px;
    appearance: none;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: #ffd84d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
  }

  .mobile-video-progress::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: transparent;
  }

  .mobile-video-progress::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    background: #ffd84d;
  }

  .mobile-video-fullscreen {
    width: 38px !important;
    height: 32px !important;
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 10px !important;
  }

  .mobile-video-fullscreen span,
  .mobile-video-fullscreen span::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
  }

  .mobile-video-fullscreen span {
    top: 8px;
    right: 8px;
    border-top: 2px solid rgba(255, 255, 255, 0.92);
    border-right: 2px solid rgba(255, 255, 255, 0.92);
  }

  .mobile-video-fullscreen span::before {
    right: 9px;
    bottom: 9px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.92);
    border-left: 2px solid rgba(255, 255, 255, 0.92);
  }
}

/* Mobile18 true final override: keep the video controls compact. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(var(--mobile-video-hide-y, 0));
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar {
    --mobile-video-hide-y: -6px;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    --mobile-video-hide-y: 7px;
  }

  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-listen-topbar,
  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-video-bottom-bar {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    right: 16px !important;
    bottom: 10px !important;
    left: 16px !important;
    grid-template-columns: auto minmax(0, 1fr) 32px !important;
    gap: 7px !important;
    min-height: 34px !important;
    padding: 5px 6px 5px 10px !important;
    border-radius: 18px !important;
    background: rgba(16, 18, 17, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.13) !important;
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.12) inset !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.18);
    backdrop-filter: blur(16px) saturate(1.18);
  }

  .mobile-video-time {
    gap: 2px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    opacity: 0.92;
  }

  .mobile-video-progress {
    height: 18px !important;
    padding: 0 !important;
    background: transparent !important;
  }

  .mobile-video-progress::-webkit-slider-runnable-track {
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.24) var(--progress) 100%) !important;
  }

  .mobile-video-progress::-webkit-slider-thumb {
    width: 18px !important;
    height: 18px !important;
    margin-top: -7.5px !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    background: var(--video-thumb-cover) center / cover no-repeat #ffd84d !important;
    box-shadow:
      0 2px 9px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(0, 0, 0, 0.14) !important;
  }

  .mobile-video-progress::-moz-range-track {
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.24) var(--progress) 100%) !important;
  }

  .mobile-video-progress::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.95) !important;
    background: var(--video-thumb-cover) center / cover no-repeat #ffd84d !important;
    box-shadow:
      0 2px 9px rgba(0, 0, 0, 0.32),
      0 0 0 1px rgba(0, 0, 0, 0.14) !important;
  }

  .mobile-video-fullscreen {
    width: 32px !important;
    height: 28px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.11) !important;
  }

  .mobile-video-fullscreen span,
  .mobile-video-fullscreen span::before {
    width: 10px !important;
    height: 10px !important;
  }

  .mobile-video-fullscreen span {
    top: 7px !important;
    right: 7px !important;
  }

  .mobile-video-fullscreen span::before {
    right: 8px !important;
    bottom: 8px !important;
  }
}

/* Mobile19: direct seeking polish, glass mini player, and desktop detail repairs. */
@media (max-width: 720px) {
  .current-listening-card {
    right: 12px !important;
    bottom: calc(62px + max(10px, env(safe-area-inset-bottom))) !important;
    left: 12px !important;
    min-height: 82px !important;
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 10px 12px 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    box-shadow:
      0 18px 46px rgba(24, 28, 23, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.45);
    backdrop-filter: blur(28px) saturate(1.45);
  }

  .current-listening-card::after {
    display: none !important;
  }

  .current-listening-cover img {
    width: 54px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 22px rgba(27, 30, 24, 0.14) !important;
  }

  .current-listening-main {
    grid-template-columns: minmax(0, 1fr) 42px 42px !important;
    grid-template-rows: auto 12px !important;
    column-gap: 8px !important;
    align-items: center !important;
  }

  .current-listening-head {
    min-width: 0 !important;
  }

  .current-listening-head strong {
    max-width: 100% !important;
    overflow: hidden !important;
    font-size: 17px !important;
    line-height: 1.18 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  .current-listening-card .detail-play-button.mini-toggle,
  .mobile-mini-list {
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 999px !important;
  }

  .current-listening-card .detail-play-button.mini-toggle {
    background: #ffd84d !important;
    color: #20231f !important;
    box-shadow:
      0 12px 26px rgba(255, 216, 77, 0.38),
      0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
  }

  .mobile-mini-list {
    background: rgba(241, 243, 237, 0.72) !important;
    color: #2d332d !important;
    box-shadow: 0 8px 18px rgba(30, 34, 29, 0.08) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
    backdrop-filter: blur(14px) saturate(1.25);
  }

  .mini-player-progress {
    grid-column: 1 / -1 !important;
    height: 5px !important;
    margin-top: 6px !important;
    border-radius: 999px !important;
    background: rgba(218, 221, 211, 0.72) !important;
  }

  .mini-player-range {
    height: 18px !important;
    margin-top: -6px !important;
    cursor: pointer;
    touch-action: none;
  }

  .mini-player-range::-webkit-slider-thumb {
    width: 17px !important;
    height: 17px !important;
    border: 3px solid rgba(255, 255, 255, 0.95) !important;
    background: #ffca1d !important;
  }

  .mini-player-range::-moz-range-thumb {
    width: 17px !important;
    height: 17px !important;
    border: 3px solid rgba(255, 255, 255, 0.95) !important;
    background: #ffca1d !important;
  }

  .mobile-bottom-nav {
    right: 14px !important;
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    left: 14px !important;
    width: auto !important;
    height: 58px !important;
    padding: 5px 34px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.62) !important;
    box-shadow:
      0 16px 42px rgba(24, 28, 23, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.86) inset !important;
    -webkit-backdrop-filter: blur(28px) saturate(1.45);
    backdrop-filter: blur(28px) saturate(1.45);
  }

  .mobile-video-progress,
  .mobile-listen-progress input,
  .mini-player-range {
    touch-action: none;
  }
}

@media (min-width: 721px) {
  .detail-info-panel {
    align-content: start;
    gap: 20px;
  }

  .detail-info-panel .inline-related-panel {
    display: block;
    margin-top: 4px;
    padding: 18px;
    border: 1px solid rgba(232, 232, 228, 0.92);
    border-radius: 8px;
    background: linear-gradient(180deg, #fbfbfa, #f6f6f3);
  }

  .inline-related-panel .side-section-head {
    display: grid;
    justify-content: start;
    gap: 4px;
    margin-bottom: 12px;
  }

  .inline-related-panel .side-section-head span {
    color: #c58e00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .inline-related-panel .side-section-head h4 {
    margin: 0;
    color: #22251f;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 950;
  }

  .inline-related-panel .side-recommend-list {
    gap: 9px;
  }

  .inline-related-panel .side-rec-card {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 11px;
    min-height: 82px;
    padding: 9px;
    border-color: rgba(226, 226, 222, 0.92);
    background: rgba(255, 255, 255, 0.82);
  }

  .inline-related-panel .side-rec-card img {
    width: 54px;
    border-radius: 7px;
  }

  .inline-related-panel .side-rec-card strong {
    font-size: 15px;
    line-height: 1.25;
  }

  .inline-related-panel .side-rec-card p {
    display: -webkit-box;
    margin: 4px 0 5px;
    overflow: hidden;
    color: #777b73;
    font-size: 12px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .inline-related-panel .side-rec-card em {
    display: block;
    color: #a0a39c;
    font-size: 12px;
    font-style: normal;
    font-weight: 750;
  }

  .detail-progress input,
  .mobile-video-progress {
    cursor: pointer;
    touch-action: none;
  }

  .detail-tabs-section .acquire-section {
    padding: 26px 30px;
  }

  .detail-tabs-section .acquire-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .detail-tabs-section .acquire-grid div {
    position: relative;
    min-height: 96px;
    display: grid;
    align-content: center;
    padding: 18px 18px 18px 50px;
    border: 1px solid rgba(228, 228, 224, 0.9);
    border-radius: 8px;
    background:
      radial-gradient(circle at 18% 18%, rgba(255, 216, 77, 0.18), transparent 30%),
      linear-gradient(180deg, #fbfbfa, #f4f4f1);
    box-shadow: 0 10px 24px rgba(31, 34, 29, 0.05);
  }

  .detail-tabs-section .acquire-grid div::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 5px solid #ffd84d;
    border-radius: 999px;
    box-shadow: 0 0 0 5px rgba(255, 216, 77, 0.18);
    transform: translateY(-50%);
  }

  .detail-tabs-section .acquire-grid strong {
    margin: 0;
    color: #2c302b;
    font-size: 17px;
    line-height: 1.42;
    font-weight: 900;
  }
}

/* Mobile20: tap-to-hide video chrome and glass progress knob. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-progress::-webkit-slider-thumb {
    width: 18px !important;
    height: 18px !important;
    margin-top: -7.5px !important;
    border: 2px solid rgba(255, 255, 255, 0.96) !important;
    background:
      radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.28) 34%, rgba(255, 216, 77, 0.9) 36%, rgba(255, 216, 77, 0.72) 100%) !important;
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.28),
      0 0 0 5px rgba(255, 255, 255, 0.13),
      0 1px 0 rgba(255, 255, 255, 0.8) inset !important;
    -webkit-backdrop-filter: blur(10px) saturate(1.35);
    backdrop-filter: blur(10px) saturate(1.35);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-progress::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.96) !important;
    background:
      radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.28) 34%, rgba(255, 216, 77, 0.9) 36%, rgba(255, 216, 77, 0.72) 100%) !important;
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.28),
      0 0 0 5px rgba(255, 255, 255, 0.13),
      0 1px 0 rgba(255, 255, 255, 0.8) inset !important;
    backdrop-filter: blur(10px) saturate(1.35);
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen {
    width: 32px !important;
    height: 28px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.16) !important;
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.18) inset !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.35);
    backdrop-filter: blur(14px) saturate(1.35);
  }
}

/* Mobile21: true video seeking controls and corrected fullscreen affordance. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar {
    right: 12px !important;
    bottom: 10px !important;
    left: 12px !important;
    grid-template-columns: auto minmax(0, 1fr) 34px !important;
    gap: 9px !important;
    min-height: 42px !important;
    padding: 6px 7px 6px 11px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(12, 14, 13, 0.54) !important;
    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.22),
      0 1px 0 rgba(255, 255, 255, 0.12) inset !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.18) !important;
    backdrop-filter: blur(18px) saturate(1.18) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-time {
    min-width: 70px !important;
    justify-content: flex-start !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    letter-spacing: 0 !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-progress {
    width: 100% !important;
    height: 26px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    cursor: pointer !important;
    touch-action: none !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-progress::-webkit-slider-runnable-track {
    height: 4px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.28) var(--progress) 100%) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-progress::-webkit-slider-thumb {
    width: 18px !important;
    height: 18px !important;
    margin-top: -7px !important;
    border: 3px solid rgba(255, 255, 255, 0.94) !important;
    border-radius: 999px !important;
    background: #ffd84d !important;
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 0 4px rgba(255, 216, 77, 0.18) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-progress::-moz-range-track {
    height: 4px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #ffd84d 0 var(--progress), rgba(255, 255, 255, 0.28) var(--progress) 100%) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-progress::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 3px solid rgba(255, 255, 255, 0.94) !important;
    border-radius: 999px !important;
    background: #ffd84d !important;
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.3),
      0 0 0 4px rgba(255, 216, 77, 0.18) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen {
    position: relative !important;
    width: 34px !important;
    height: 34px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 7px 16px rgba(0, 0, 0, 0.18) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.24) !important;
    backdrop-filter: blur(14px) saturate(1.24) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::before,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::after,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::before,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::after {
    content: "" !important;
    position: absolute !important;
    width: 7px !important;
    height: 7px !important;
    border-color: currentColor !important;
    opacity: 0.96 !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::before {
    top: 9px !important;
    left: 9px !important;
    border-top: 2px solid currentColor !important;
    border-left: 2px solid currentColor !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::after {
    top: 9px !important;
    right: 9px !important;
    border-top: 2px solid currentColor !important;
    border-right: 2px solid currentColor !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::before {
    bottom: 9px !important;
    left: 9px !important;
    border-bottom: 2px solid currentColor !important;
    border-left: 2px solid currentColor !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::after {
    right: 9px !important;
    bottom: 9px !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
  }
}

/* Mobile21/Desktop21: compact detail info repairs from annotated feedback. */
@media (min-width: 721px) {
  .detail-hero-video-first {
    grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.72fr) !important;
    gap: 26px !important;
    align-items: start !important;
    margin-bottom: 34px !important;
  }

  .detail-info-panel {
    gap: 14px !important;
    padding: 6px 0 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .detail-info-panel .crumb,
  .detail-info-panel .score-row {
    display: none !important;
  }

  .detail-info-panel h1 {
    margin-top: 0 !important;
    font-size: clamp(34px, 3.1vw, 42px) !important;
    line-height: 1.08 !important;
  }

  .detail-info-panel .detail-subtitle {
    margin-top: 10px !important;
    max-width: 460px !important;
    font-size: 16px !important;
    line-height: 1.58 !important;
  }

  .detail-info-panel .detail-meta {
    margin-top: 12px !important;
    gap: 8px !important;
    color: #777b73 !important;
    font-size: 14px !important;
  }

  .detail-info-panel .detail-meta span {
    padding-right: 10px !important;
  }

  .detail-info-panel .inline-related-panel {
    margin-top: 10px !important;
    padding: 14px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.76) !important;
    box-shadow: 0 12px 30px rgba(28, 32, 26, 0.055) !important;
  }

  .detail-tabs-section {
    margin-top: 0 !important;
  }

  .detail-tabs-section .acquire-section {
    padding: 22px 26px !important;
  }
}

@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode:not(.mobile-video-overlay-visible) .mobile-video-center-toggle {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translate(-50%, -50%) scale(0.94) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-video-center-toggle {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translate(-50%, -50%) !important;
  }

  .detail-info-panel {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .mobile-book-summary {
    padding: 10px 10px 0 !important;
  }

  .mobile-book-stats {
    display: none !important;
  }

  .mobile-detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    padding: 10px !important;
  }

  .mobile-detail-actions button {
    min-height: 46px !important;
    padding: 0 12px !important;
    border-radius: 12px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 243, 0.98)) !important;
    box-shadow: 0 8px 18px rgba(24, 28, 23, 0.055) !important;
    font-size: 17px !important;
  }

  .mobile-detail-actions button span {
    width: 24px !important;
    height: 24px !important;
    display: inline-grid !important;
    place-items: center !important;
    margin-right: 7px !important;
    border-radius: 999px !important;
    background: #fff3bd !important;
    color: #9a7914 !important;
    font-size: 14px !important;
  }
}

/* Mobile22: make the fullscreen icon read as four separated expand corners. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen {
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::before,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::after,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::before,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::after {
    width: 5px !important;
    height: 5px !important;
    border-color: rgba(255, 255, 255, 0.96) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::before {
    top: 9px !important;
    left: 9px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::after {
    top: 9px !important;
    right: 9px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::before {
    bottom: 9px !important;
    left: 9px !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::after {
    right: 9px !important;
    bottom: 9px !important;
  }
}

/* Mobile23: use a clear expand arrow for the fullscreen control. */
@media (max-width: 720px) {
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen {
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.16) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::before,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen::after,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::before,
  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::after {
    content: none !important;
    border: 0 !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span {
    position: relative !important;
    inset: auto !important;
    width: 15px !important;
    height: 15px !important;
    display: block !important;
    border-top: 2.5px solid rgba(255, 255, 255, 0.96) !important;
    border-right: 2.5px solid rgba(255, 255, 255, 0.96) !important;
    transform: translate(-1px, 1px) rotate(0deg) !important;
  }

  .detail-hero-video-first .media-card.is-video-mode .mobile-video-fullscreen span::before {
    content: "" !important;
    position: absolute !important;
    top: 5px !important;
    right: -2px !important;
    width: 18px !important;
    height: 2.5px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    transform: rotate(-45deg) !important;
    transform-origin: right center !important;
  }
}

/* Mobile24: compact weekly listening and remove duplicated recent-listening block. */
@media (max-width: 720px) {
  .mobile-home {
    gap: 10px !important;
  }

  .mobile-weekly-listening {
    min-height: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas:
      "head total"
      "bars bars" !important;
    row-gap: 9px !important;
    column-gap: 12px !important;
    padding: 12px 13px 11px !important;
    border: 1px solid rgba(225, 229, 219, 0.92) !important;
    border-radius: 8px !important;
    background:
      linear-gradient(120deg, rgba(255, 216, 77, 0.12), transparent 44%),
      rgba(250, 251, 247, 0.88) !important;
    box-shadow:
      0 8px 20px rgba(24, 31, 23, 0.055),
      0 1px 0 rgba(255, 255, 255, 0.86) inset !important;
  }

  .mobile-weekly-head {
    display: contents !important;
  }

  .mobile-weekly-head span {
    grid-area: head !important;
    align-self: center !important;
    color: #455247 !important;
    font-size: 15px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
  }

  .mobile-weekly-head strong {
    grid-area: total !important;
    align-self: center !important;
    color: #14221a !important;
    font-size: 19px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    white-space: nowrap !important;
  }

  .mobile-weekly-bars {
    grid-area: bars !important;
    height: 46px !important;
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    align-items: end !important;
    gap: 9px !important;
    padding: 0 !important;
  }

  .mobile-weekly-day {
    height: 46px !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-rows: minmax(18px, 1fr) 12px !important;
    justify-items: center !important;
    align-items: end !important;
    gap: 4px !important;
  }

  .mobile-weekly-day small {
    display: none !important;
  }

  .mobile-weekly-day span {
    width: 16px !important;
    min-height: 6px !important;
    display: block !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #64a67b, #25543b) !important;
    box-shadow: 0 5px 11px rgba(37, 84, 59, 0.13) !important;
  }

  .mobile-weekly-day.is-best span {
    width: 18px !important;
    background: linear-gradient(180deg, #ffd84d, #d89c16) !important;
    box-shadow: 0 6px 13px rgba(216, 162, 20, 0.18) !important;
  }

  .mobile-weekly-day em {
    color: #7d867b !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-style: normal !important;
    font-weight: 850 !important;
  }

  .mobile-recent-listening {
    display: none !important;
  }
}

/* Mobile28: profile page redesign from annotated mobile references. */
.profile-mobile-screen {
  width: 100%;
  max-width: 720px;
  display: grid;
  gap: 14px;
  margin: 0 auto;
}

.profile-mobile-screen button {
  font: inherit;
}

.profile-hero-band {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 18px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(236, 248, 233, 0.96), rgba(255, 248, 224, 0.92) 58%, rgba(255, 255, 255, 0.96));
}

.profile-mobile-topbar,
.profile-top-actions,
.profile-person-row,
.profile-growth-strip,
.profile-membership-head,
.profile-history-item,
.profile-weekly-rhythm {
  display: flex;
  align-items: center;
}

.profile-mobile-topbar {
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}

.profile-service-button,
.profile-top-icon,
.profile-edit-link,
.profile-member-option,
.profile-action-button,
.profile-feature-card {
  border: 1px solid rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.56);
  color: #20271f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.88) inset;
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
}

.profile-service-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
  color: #324338;
  font-size: 14px;
  font-weight: 850;
}

.profile-service-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.profile-service-icon::before,
.profile-service-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.profile-service-icon::before {
  right: -4px;
  bottom: 0;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  transform: rotate(-18deg);
}

.profile-service-icon::after {
  left: 4px;
  bottom: -5px;
  width: 10px;
  height: 7px;
  border-radius: 0 0 8px 8px;
  background: transparent;
  border: 2px solid currentColor;
  border-top: 0;
}

.profile-top-actions {
  gap: 8px;
}

.profile-top-icon {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 999px;
}

.profile-top-icon em {
  position: absolute;
  top: -2px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #f05b48;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}

.profile-top-icon span {
  position: relative;
  width: 19px;
  height: 19px;
  display: block;
  color: #243027;
}

.profile-top-icon-bell span::before {
  content: "";
  position: absolute;
  inset: 2px 3px 5px;
  border: 2px solid currentColor;
  border-bottom-width: 3px;
  border-radius: 11px 11px 7px 7px;
}

.profile-top-icon-bell span::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 1px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}

.profile-top-icon-mail span {
  border: 2px solid currentColor;
  border-radius: 5px;
}

.profile-top-icon-mail span::before,
.profile-top-icon-mail span::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 11px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.profile-top-icon-mail span::before {
  left: 1px;
  transform: rotate(34deg);
}

.profile-top-icon-mail span::after {
  right: 1px;
  transform: rotate(-34deg);
}

.profile-person-row {
  gap: 12px;
  min-width: 0;
}

.profile-mobile-avatar {
  position: relative;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  display: block;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background:
    linear-gradient(150deg, rgba(255, 218, 87, 0.92), rgba(245, 126, 95, 0.86) 44%, rgba(103, 159, 205, 0.9));
  box-shadow: 0 12px 24px rgba(38, 43, 34, 0.16);
}

.profile-avatar-face {
  position: absolute;
  left: 15px;
  bottom: 8px;
  width: 32px;
  height: 34px;
  border-radius: 45% 45% 42% 42%;
  background: #ffe0bd;
  box-shadow:
    -10px -11px 0 1px rgba(58, 46, 43, 0.86),
    9px -9px 0 rgba(58, 46, 43, 0.72);
}

.profile-avatar-face::before,
.profile-avatar-face::after {
  content: "";
  position: absolute;
  top: 15px;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #2b221f;
}

.profile-avatar-face::before {
  left: 8px;
}

.profile-avatar-face::after {
  right: 8px;
}

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

.profile-person-copy h1 {
  margin: 0;
  overflow: hidden;
  color: #182019;
  font-size: 24px;
  line-height: 1.12;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-person-copy p {
  margin: 6px 0 0;
  overflow: hidden;
  color: #6d776d;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-edit-link {
  min-height: 32px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #4a5a4c;
  font-size: 12px;
  font-weight: 850;
}

.profile-growth-strip {
  min-height: 50px;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(24, 38, 29, 0.88);
  color: #fff;
  box-shadow:
    0 14px 30px rgba(27, 38, 29, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.13) inset;
}

.profile-growth-strip div {
  min-width: 0;
  flex: 1;
}

.profile-growth-strip span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 850;
}

.profile-growth-strip i {
  height: 6px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.profile-growth-strip b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd84d, #85d089);
}

.profile-growth-strip em {
  color: #ffd84d;
  font-size: 16px;
  line-height: 1;
  font-style: normal;
  font-weight: 950;
}

.profile-membership-panel,
.profile-quick-actions,
.profile-favorite-panel,
.profile-listening-dashboard,
.profile-history-glass {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow:
    0 14px 34px rgba(25, 31, 24, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  -webkit-backdrop-filter: blur(22px) saturate(1.28);
  backdrop-filter: blur(22px) saturate(1.28);
}

.profile-membership-panel {
  display: grid;
  gap: 11px;
  padding: 12px;
}

.profile-membership-head {
  justify-content: space-between;
  gap: 12px;
}

.profile-membership-head span {
  color: #51604f;
  font-size: 13px;
  font-weight: 850;
}

.profile-membership-head strong {
  color: #1e2a20;
  font-size: 14px;
  font-weight: 950;
}

.profile-membership-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.profile-member-option {
  min-width: 0;
  min-height: 88px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 11px;
  border-radius: 8px;
  text-align: left;
}

.profile-member-option span {
  color: #202820;
  font-size: 15px;
  font-weight: 950;
}

.profile-member-option small {
  overflow: hidden;
  color: #758075;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-member-option b {
  width: max-content;
  margin-top: 2px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #ffd84d;
  color: #4f3d00;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.profile-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 8px 6px;
}

.profile-action-button {
  min-width: 0;
  min-height: 66px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 4px 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #222a23;
  text-align: center;
}

.profile-action-button strong {
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
}

.profile-action-button small {
  color: #798179;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.profile-action-icon {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
  color: #314033;
}

.profile-action-purchased::before {
  content: "";
  position: absolute;
  inset: 7px 3px 2px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.profile-action-purchased::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 3px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.profile-action-download::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 3px;
  width: 4px;
  height: 12px;
  border-radius: 999px;
  background: currentColor;
}

.profile-action-download::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 11px;
  width: 14px;
  height: 14px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

.profile-action-favorite::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 14px;
  height: 14px;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 32%, 95% 32%, 68% 52%, 79% 88%, 50% 66%, 21% 88%, 32% 52%, 5% 32%, 39% 32%);
}

.profile-action-account::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 14px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.profile-action-account::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 6px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.profile-favorite-panel {
  display: grid;
  gap: 11px;
  padding: 12px;
}

.profile-favorite-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.profile-favorite-head div {
  min-width: 0;
}

.profile-favorite-head span {
  display: block;
  color: #657164;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 850;
}

.profile-favorite-head strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #1e291f;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-favorite-head a {
  flex: 0 0 auto;
  color: #4a5a4c;
  font-size: 13px;
  font-weight: 900;
}

.profile-favorite-rail {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 1px 1px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.profile-favorite-rail::-webkit-scrollbar {
  display: none;
}

.profile-favorite-book {
  width: 78px;
  min-width: 78px;
  display: block;
}

.profile-favorite-book img {
  width: 78px;
  aspect-ratio: 3 / 4;
  display: block;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 9px 18px rgba(24, 31, 23, 0.12);
}

.profile-favorite-book span {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #879085;
  font-size: 10px;
  line-height: 1;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-favorite-book strong {
  display: -webkit-box;
  margin-top: 4px;
  min-height: 34px;
  overflow: hidden;
  color: #20271f;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 900;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.profile-favorite-book small {
  display: block;
  margin-top: 3px;
  color: #6f7a6d;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.profile-favorite-empty {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(247, 248, 244, 0.72);
  color: #6d776d;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.profile-benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-feature-card {
  position: relative;
  min-width: 0;
  min-height: 94px;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 13px 14px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    0 12px 28px rgba(25, 31, 24, 0.075),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
  text-align: left;
  -webkit-backdrop-filter: blur(24px) saturate(1.28);
  backdrop-filter: blur(24px) saturate(1.28);
}

.profile-feature-card strong,
.profile-feature-card small,
.profile-feature-card span {
  position: relative;
  z-index: 2;
}

.profile-feature-kicker {
  color: rgba(40, 50, 42, 0.66);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.profile-feature-card strong {
  max-width: 150px;
  color: #1d241e;
  font-size: 16px;
  line-height: 1.24;
  font-weight: 950;
  word-break: keep-all;
}

.profile-feature-card small {
  max-width: 132px;
  color: rgba(44, 50, 43, 0.62);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.profile-gift-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 239, 194, 0.48));
}

.profile-invite-card {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(212, 238, 244, 0.5));
}

.gift-visual,
.invite-visual {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: none;
}

.gift-visual {
  width: 44px;
  height: 40px;
  border-radius: 7px;
  background: #ff6f5f;
  box-shadow: 0 10px 18px rgba(173, 78, 48, 0.2);
}

.gift-visual::before,
.gift-visual::after {
  content: "";
  position: absolute;
  background: #ffd84d;
}

.gift-visual::before {
  left: 18px;
  top: 0;
  bottom: 0;
  width: 7px;
}

.gift-visual::after {
  left: 0;
  right: 0;
  top: 14px;
  height: 7px;
}

.invite-visual {
  width: 48px;
  height: 42px;
}

.invite-visual::before,
.invite-visual::after {
  content: "";
  position: absolute;
  border: 3px solid rgba(47, 86, 104, 0.86);
  border-radius: 999px;
}

.invite-visual::before {
  left: 1px;
  top: 5px;
  width: 24px;
  height: 24px;
}

.invite-visual::after {
  right: 0;
  bottom: 1px;
  width: 27px;
  height: 27px;
  background: rgba(255, 255, 255, 0.3);
}

.profile-listening-dashboard,
.profile-history-glass {
  padding: 18px;
}

.profile-listening-dashboard .profile-card-head,
.profile-history-glass .profile-card-head {
  margin-bottom: 14px;
}

.profile-listening-dashboard .profile-card-head > div,
.profile-history-glass .profile-card-head > div {
  display: block;
}

.profile-listening-dashboard .profile-card-head span,
.profile-history-glass .profile-card-head span {
  display: block;
  color: #7b8579;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 850;
}

.profile-listening-dashboard .profile-card-head h2,
.profile-history-glass .profile-card-head h2 {
  margin-top: 4px;
  font-size: 21px;
  line-height: 1.12;
}

.profile-rank-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 10px;
}

.profile-rank-primary,
.profile-rank-secondary {
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 13px;
  border-radius: 8px;
  background: rgba(247, 248, 244, 0.76);
}

.profile-rank-primary {
  background: linear-gradient(145deg, rgba(34, 49, 38, 0.94), rgba(48, 78, 59, 0.9));
  color: #fff;
}

.profile-rank-primary span,
.profile-rank-secondary span {
  color: inherit;
  opacity: 0.72;
  font-size: 12px;
  font-weight: 850;
}

.profile-rank-primary strong,
.profile-rank-secondary strong {
  overflow: hidden;
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-rank-secondary strong {
  color: #1e291f;
}

.profile-rank-primary small,
.profile-rank-secondary small {
  overflow: hidden;
  color: inherit;
  opacity: 0.72;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-weekly-rhythm {
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(247, 248, 244, 0.66);
}

.profile-weekly-rhythm > div:first-child {
  min-width: 74px;
}

.profile-weekly-rhythm span {
  display: block;
  color: #758074;
  font-size: 12px;
  font-weight: 850;
}

.profile-weekly-rhythm strong {
  display: block;
  margin-top: 5px;
  color: #1d291f;
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.profile-rhythm-bars {
  height: 48px;
  min-width: 0;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 7px;
}

.profile-rhythm-bars i {
  height: var(--bar);
  min-height: 8px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(180deg, #74b889, #2d6543);
}

.profile-rhythm-bars i.is-best {
  background: linear-gradient(180deg, #ffd84d, #d69e18);
}

.profile-history-list {
  display: grid;
  gap: 10px;
}

.profile-history-item {
  min-width: 0;
  gap: 10px;
  padding: 9px;
  border: 1px solid rgba(235, 237, 229, 0.86);
  border-radius: 8px;
  background: rgba(250, 251, 247, 0.72);
  cursor: pointer;
}

.profile-history-item img {
  width: 48px;
  aspect-ratio: 3 / 4;
  flex: 0 0 48px;
  display: block;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 9px 18px rgba(24, 31, 23, 0.12);
}

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

.profile-history-copy span {
  display: block;
  color: #879085;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.profile-history-copy h3 {
  margin: 6px 0 8px;
  overflow: hidden;
  color: #20271f;
  font-size: 15px;
  line-height: 1.18;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-history-copy i {
  height: 5px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(217, 222, 211, 0.88);
}

.profile-history-copy b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffd84d, #6fb886);
}

.profile-history-status {
  width: 72px;
  flex: 0 0 72px;
  display: grid;
  justify-items: end;
  gap: 7px;
}

.profile-history-status strong {
  overflow: hidden;
  max-width: 100%;
  color: #6f7a6d;
  font-size: 11px;
  line-height: 1.15;
  font-weight: 850;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-history-status a {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #eef2e9;
  color: #28372b;
  font-size: 12px;
  font-weight: 900;
}

.profile-notes-top {
  display: none;
}

@media (max-width: 720px) {
  body.profile-page {
    padding-bottom: calc(166px + env(safe-area-inset-bottom)) !important;
    background: #f3f5ef !important;
  }

  body.profile-page .site-header {
    display: none !important;
  }

  body.profile-page .site-main.profile-main {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    padding: 0 12px calc(18px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page .profile-mobile-screen {
    max-width: 430px;
    gap: 10px;
    padding-top: 8px;
  }

  body.profile-page .profile-hero-band {
    margin: 0 -12px;
    padding: 10px 12px 12px;
    border-radius: 0 0 8px 8px;
    background:
      linear-gradient(180deg, rgba(234, 247, 231, 0.98), rgba(249, 247, 235, 0.94) 76%, rgba(243, 245, 239, 0));
  }

  body.profile-page .profile-benefit-grid {
    gap: 9px;
  }

  body.profile-page .profile-listening-dashboard,
  body.profile-page .profile-history-glass,
  body.profile-page .note-book-card,
  body.profile-page .notes-summary-card,
  body.profile-page .empty-note {
    padding: 14px !important;
    border-radius: 8px !important;
  }

  body.profile-page .profile-listening-dashboard .profile-card-head,
  body.profile-page .profile-history-glass .profile-card-head {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  body.profile-page .profile-card-head a {
    flex: 0 0 auto;
    font-size: 13px;
  }

  body.profile-page .profile-card-head h2 {
    font-size: 20px !important;
  }

  body.profile-page .profile-rank-grid {
    gap: 8px;
  }

  body.profile-page .profile-rank-primary,
  body.profile-page .profile-rank-secondary {
    padding: 12px 10px;
  }

  body.profile-page .profile-rank-primary strong,
  body.profile-page .profile-rank-secondary strong {
    font-size: 21px;
  }

  body.profile-page .profile-feature-card {
    min-height: 94px;
    padding: 12px;
  }

  body.profile-page .profile-feature-card strong {
    font-size: 15px;
    max-width: 150px;
  }

  body.profile-page .profile-history-item {
    grid-template-columns: 48px minmax(0, 1fr) 72px;
  }

  body.profile-page .profile-tabs {
    gap: 18px;
    padding: 0 2px 2px;
  }

  body.profile-page .profile-tabs button {
    min-height: 36px;
    font-size: 20px;
  }

  body.profile-page .profile-notes-top {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  body.profile-page .profile-notes-top a {
    position: absolute;
    left: 0;
    color: #4f5d51;
    font-size: 14px;
    font-weight: 900;
  }

  body.profile-page .profile-notes-top h1 {
    margin: 0;
    color: #1f271f;
    font-size: 19px;
    line-height: 1;
    font-weight: 950;
  }

  body.profile-page .notes-summary-card,
  body.profile-page .note-book-head {
    flex-direction: row !important;
    align-items: center !important;
  }

  body.profile-page .notes-summary-card strong {
    font-size: 18px;
  }

  body.profile-page .note-book-head h2 {
    font-size: 18px;
  }

  body.profile-page .note-preview {
    border-radius: 8px;
  }
}

/* Final simple comment actions. */
.comment-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  margin-top: 10px !important;
}

.comment-actions .comment-action {
  min-height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #8c908a !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.comment-actions .comment-action:hover {
  color: #4f5d51 !important;
}

.comment-actions .comment-action-icon,
.comment-actions .comment-action-icon::before,
.comment-actions .comment-action-icon::after {
  display: none !important;
  content: none !important;
}

.comment-actions .comment-like::before {
  content: "赞" !important;
}

.comment-actions .comment-reply::before {
  content: "回复" !important;
}

.comment-actions .comment-share::before {
  content: "" !important;
}

.comment-actions .comment-action em {
  margin: 0 !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-style: normal !important;
  font-weight: inherit !important;
}

/* Compact mobile note cards. */
@media (max-width: 720px) {
  body.profile-page .profile-notes-screen {
    gap: 10px !important;
  }

  body.profile-page .note-book-list {
    gap: 10px !important;
  }

  body.profile-page .note-book-card {
    padding: 12px !important;
  }

  body.profile-page .note-book-head {
    gap: 12px !important;
    align-items: center !important;
  }

  body.profile-page .note-book-head img {
    width: 68px !important;
    border-radius: 7px !important;
  }

  body.profile-page .note-book-head div {
    display: grid !important;
    gap: 4px !important;
  }

  body.profile-page .note-book-head span,
  body.profile-page .note-book-head p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  body.profile-page .note-book-head h2 {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.16 !important;
  }

  body.profile-page .note-book-head a {
    flex: 0 0 auto !important;
    font-size: 13px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body.profile-page .note-preview-list {
    gap: 8px !important;
    margin-top: 10px !important;
  }

  body.profile-page .note-preview {
    padding: 10px 12px !important;
    border-radius: 8px !important;
  }

  body.profile-page .note-preview span {
    font-size: 13px !important;
    line-height: 1.15 !important;
  }

  body.profile-page .note-preview p {
    display: -webkit-box !important;
    margin-top: 6px !important;
    overflow: hidden !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }
}

/* Compact frosted membership status. */
.profile-membership-glass {
  min-height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 9px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.46) !important;
  box-shadow: 0 12px 26px rgba(32, 38, 28, 0.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.28);
  backdrop-filter: blur(18px) saturate(1.28);
}

.profile-membership-glass > span {
  min-width: 0;
  color: #273327;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
}

.profile-membership-glass > div {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
}

.profile-membership-glass small {
  color: #778274;
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
}

.profile-membership-glass strong {
  color: #1d261e;
  font-size: 17px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

/* Cleaner profile top actions. */
.profile-top-left {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-back-button,
.profile-service-button,
.profile-logout-button,
.profile-top-icon-mail {
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  background: rgba(255, 255, 255, 0.48) !important;
  box-shadow: 0 10px 22px rgba(31, 40, 30, 0.06), 0 1px 0 rgba(255, 255, 255, 0.85) inset !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  backdrop-filter: blur(18px) saturate(1.25);
}

.profile-back-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  color: #2e3b31;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.profile-back-button span {
  margin-top: -1px;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.profile-service-button {
  min-height: 34px !important;
  gap: 6px !important;
  padding: 0 10px !important;
  color: #3d5042 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.profile-service-icon {
  width: 8px !important;
  height: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #35a267 !important;
  box-shadow: 0 0 0 4px rgba(53, 162, 103, 0.12) !important;
}

.profile-service-icon::before,
.profile-service-icon::after {
  display: none !important;
  content: none !important;
}

.profile-logout-button {
  min-height: 34px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px !important;
  border-radius: 999px;
  color: #74443d !important;
  font-size: 13px !important;
  line-height: 1;
  font-weight: 950 !important;
  white-space: nowrap;
}

.profile-top-actions {
  flex: 0 0 auto;
  gap: 8px !important;
}

.profile-top-icon-mail {
  width: 36px !important;
  height: 36px !important;
}

.profile-top-icon-mail em {
  top: -4px !important;
  right: -5px !important;
}

.profile-toast {
  position: fixed;
  right: 16px;
  bottom: calc(88px + env(safe-area-inset-bottom));
  left: 16px;
  z-index: 180;
  padding: 11px 14px;
  border-radius: 8px;
  background: rgba(34, 42, 35, 0.92);
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.profile-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* profile-trial-login-toast-20260630: center-screen trial notice after login. */
body.profile-page .profile-toast.profile-trial-login-toast {
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  top: 50% !important;
  width: min(312px, calc(100vw - 64px)) !important;
  padding: 18px 20px !important;
  border-radius: 18px !important;
  background: rgba(26, 57, 38, 0.94) !important;
  box-shadow: 0 22px 54px rgba(22, 44, 31, 0.24) !important;
  font-size: 21px !important;
  line-height: 1.28 !important;
  transform: translate(-50%, calc(-50% + 10px)) scale(0.98) !important;
  transition: opacity 0.35s ease, transform 0.35s ease !important;
}

body.profile-page .profile-toast.profile-trial-login-toast.show {
  transform: translate(-50%, -50%) scale(1) !important;
}

/* Mobile38: category-library catalog and friend leaderboard polish. */
.mobile-category-library {
  display: none;
}

.mobile-catalog-switch,
.mobile-all-books-grid {
  display: none;
}

@media (max-width: 720px) {
  #catalog {
    padding: 0 12px calc(20px + env(safe-area-inset-bottom)) !important;
  }

  #catalog .catalog-grid {
    display: none !important;
  }

  #catalog .section-head {
    margin-top: 20px !important;
    padding-bottom: 12px !important;
  }

  .mobile-catalog-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 0 0 14px;
    padding: 4px;
    border: 1px solid rgba(218, 224, 214, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 10px 22px rgba(28, 50, 36, 0.06);
  }

  .mobile-catalog-switch button {
    min-width: 0;
    min-height: 38px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #5e6b60;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
  }

  .mobile-catalog-switch button.active {
    background: #263e2f;
    color: #fff;
    box-shadow: 0 8px 18px rgba(32, 55, 39, 0.12);
  }

  .mobile-category-library {
    display: grid;
    gap: 14px;
  }

  .catalog-mobile-all .mobile-category-library {
    display: none;
  }

  .catalog-mobile-all .mobile-all-books-grid {
    display: grid;
    gap: 10px;
  }

  .mobile-all-books-grid .catalog-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 11px;
    min-height: auto;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
  }

  .mobile-all-books-grid .catalog-card .book-cover {
    width: 72px;
  }

  .mobile-all-books-grid .catalog-card .book-title {
    font-size: 16px;
  }

  .mobile-all-books-grid .catalog-card .book-subtitle {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mobile-category-books {
    --category-accent: #25543b;
    --category-text: #17231b;
    --category-muted: #667365;
    --category-line: rgba(210, 218, 207, 0.92);
    --category-chip: #edf1e9;
    --category-glow: rgba(255, 216, 77, 0.18);
    position: relative;
    display: grid;
    gap: 12px;
    padding: 15px 12px 14px;
    overflow: hidden;
    border: 1px solid var(--category-line);
    border-radius: 8px;
    background:
      linear-gradient(145deg, var(--category-glow), transparent 34%),
      linear-gradient(180deg, #fbfcf7 0%, #eef4ee 100%);
    box-shadow: 0 14px 34px rgba(28, 50, 36, 0.09);
  }

  .mobile-category-books::before {
    content: "";
    position: absolute;
    top: 15px;
    right: -44px;
    width: 118px;
    height: 118px;
    border: 1px solid color-mix(in srgb, var(--category-accent) 26%, transparent);
    border-radius: 999px;
  }

  .mobile-category-relation {
    --category-accent: #8b4a4e;
    --category-line: rgba(224, 206, 204, 0.95);
    --category-chip: #f3e9e7;
    --category-glow: rgba(214, 95, 88, 0.16);
  }

  .mobile-category-growth {
    --category-accent: #2e6f7e;
    --category-line: rgba(199, 220, 222, 0.96);
    --category-chip: #e7f1f1;
    --category-glow: rgba(66, 159, 173, 0.16);
  }

  .mobile-category-health {
    --category-accent: #25543b;
    --category-line: rgba(210, 218, 207, 0.92);
    --category-chip: #edf1e9;
    --category-glow: rgba(255, 216, 77, 0.18);
  }

  .mobile-category-history {
    --category-accent: #795b2d;
    --category-line: rgba(222, 214, 195, 0.94);
    --category-chip: #f1eee5;
    --category-glow: rgba(201, 156, 72, 0.16);
  }

  .mobile-category-insight {
    --category-accent: #49629a;
    --category-line: rgba(204, 211, 226, 0.94);
    --category-chip: #e9edf5;
    --category-glow: rgba(84, 112, 176, 0.15);
  }

  .mobile-category-head,
  .mobile-category-hero,
  .mobile-category-grid {
    position: relative;
    z-index: 1;
  }

  .mobile-category-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-category-head span {
    display: block;
    margin-bottom: 5px;
    color: color-mix(in srgb, var(--category-accent) 74%, #7b875f);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
  }

  .mobile-category-head h3 {
    margin: 0;
    color: var(--category-text);
    font-size: 24px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
  }

  .mobile-category-head strong {
    flex: 0 0 auto;
    padding: 5px 9px;
    border: 1px solid color-mix(in srgb, var(--category-accent) 16%, transparent);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: color-mix(in srgb, var(--category-accent) 64%, #506450);
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
  }

  .mobile-category-hero {
    min-height: 150px;
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) 40px;
    gap: 13px;
    align-items: center;
    padding: 12px;
    border: 1px solid color-mix(in srgb, var(--category-accent) 14%, transparent);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 24px rgba(30, 48, 34, 0.07);
  }

  .mobile-category-cover-stack {
    position: relative;
    width: 108px;
    height: 130px;
  }

  .mobile-category-cover-stack img {
    position: absolute;
    display: block;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: 0 12px 22px rgba(25, 38, 28, 0.15);
  }

  .mobile-category-cover-stack img:nth-child(1) {
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 76px;
  }

  .mobile-category-cover-stack img:nth-child(2) {
    right: 10px;
    top: 6px;
    z-index: 2;
    width: 58px;
    opacity: 0.88;
    transform: rotate(4deg);
  }

  .mobile-category-cover-stack img:nth-child(3) {
    right: 0;
    bottom: 12px;
    z-index: 1;
    width: 50px;
    opacity: 0.72;
    transform: rotate(8deg);
  }

  .mobile-category-copy {
    min-width: 0;
  }

  .mobile-category-copy > span {
    max-width: 100%;
    display: inline-flex;
    margin-bottom: 7px;
    padding: 3px 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--category-accent);
    color: #fff;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-category-copy h4 {
    margin: 0;
    overflow: hidden;
    color: var(--category-text);
    font-size: 19px;
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-category-copy p {
    display: -webkit-box;
    margin: 7px 0 9px;
    overflow: hidden;
    color: var(--category-muted);
    font-size: 13px;
    line-height: 1.42;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .mobile-category-copy div {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }

  .mobile-category-copy em {
    min-width: 0;
    padding: 4px 7px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--category-chip);
    color: color-mix(in srgb, var(--category-accent) 58%, #697468);
    font-size: 11px;
    line-height: 1;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-category-hero > button {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: #ffd84d;
    color: #17231b;
    box-shadow: 0 10px 20px rgba(216, 162, 20, 0.22);
  }

  .mobile-category-hero > button .play-icon {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 11px;
  }

  .mobile-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .mobile-category-tile {
    min-width: 0;
    min-height: 78px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(221, 226, 217, 0.94);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    color: #1f2a20;
    text-align: left;
  }

  .mobile-category-tile img {
    width: 44px;
    aspect-ratio: 3 / 4;
    display: block;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 7px 14px rgba(25, 38, 28, 0.11);
  }

  .mobile-category-tile span {
    min-width: 0;
  }

  .mobile-category-tile strong {
    display: block;
    overflow: hidden;
    color: #1f2a20;
    font-size: 14px;
    line-height: 1.18;
    font-weight: 900;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .mobile-category-tile small {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #778374;
    font-size: 11px;
    line-height: 1;
    font-weight: 760;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  body.profile-page .profile-friend-dashboard {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px !important;
    text-decoration: none;
  }

  body.profile-page .profile-friend-row {
    min-width: 0;
    display: grid;
    gap: 6px;
    padding: 12px 10px;
    border-radius: 8px;
    background: rgba(247, 248, 244, 0.78);
  }

  body.profile-page .profile-friend-row:first-child {
    background: linear-gradient(145deg, rgba(34, 49, 38, 0.96), rgba(49, 82, 61, 0.9));
    color: #fff;
  }

  body.profile-page .profile-friend-row span,
  body.profile-page .profile-friend-row small {
    overflow: hidden;
    color: inherit;
    opacity: 0.72;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.profile-page .profile-friend-row strong {
    overflow: hidden;
    color: inherit;
    font-size: 21px;
    line-height: 1;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.profile-page .profile-rank-screen {
    min-height: 100dvh;
    align-content: start;
    gap: 12px !important;
    grid-auto-rows: max-content;
    padding: 10px 0 calc(168px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page .profile-rank-top {
    min-height: 44px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  body.profile-page .profile-rank-back {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: #26362b;
    box-shadow: 0 8px 18px rgba(27, 42, 31, 0.08);
  }

  body.profile-page .profile-rank-back span {
    width: 10px;
    height: 10px;
    display: block;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(45deg);
  }

  body.profile-page .profile-rank-top h1 {
    margin: 0;
    overflow: hidden;
    color: #18241d;
    font-size: 22px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.profile-page .profile-rank-top p {
    margin: 4px 0 0;
    color: #707d71;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
  }

  body.profile-page .profile-rank-owner {
    min-height: 86px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    overflow: hidden;
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 216, 77, 0.26), transparent 44%),
      linear-gradient(145deg, #203427 0%, #375d43 100%);
    color: #fff;
    box-shadow: 0 16px 34px rgba(31, 57, 39, 0.14);
  }

  body.profile-page .profile-rank-owner strong {
    min-width: 0;
    overflow: hidden;
    font-size: 22px;
    line-height: 1;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.profile-page .profile-rank-owner span {
    flex: 0 0 auto;
    max-width: 52%;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.1;
    font-weight: 850;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.profile-page .profile-friend-rank-list {
    display: grid;
    gap: 8px;
  }

  body.profile-page .profile-rank-empty {
    min-height: 86px;
    display: grid;
    place-content: center;
    gap: 8px;
    padding: 16px;
    border: 1px solid rgba(227, 231, 222, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: #26362b;
    text-align: center;
    box-shadow: 0 10px 22px rgba(31, 43, 33, 0.06);
  }

  body.profile-page .profile-rank-empty strong {
    font-size: 17px;
    line-height: 1;
    font-weight: 950;
  }

  body.profile-page .profile-rank-empty span {
    color: #6d786d;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 820;
  }

  body.profile-page .profile-friend-rank-item {
    min-height: 62px;
    display: grid;
    grid-template-columns: 28px 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(227, 231, 222, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 22px rgba(31, 43, 33, 0.06);
  }

  body.profile-page .profile-friend-rank-item.is-self {
    border-color: rgba(255, 216, 77, 0.64);
    background: rgba(255, 249, 222, 0.86);
  }

  body.profile-page .profile-friend-rank-item em {
    color: #8a947f;
    font-size: 15px;
    line-height: 1;
    font-style: normal;
    font-weight: 950;
    text-align: center;
  }

  body.profile-page .profile-friend-rank-item i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eee6;
    color: #314432;
    font-style: normal;
    font-weight: 950;
  }

  body.profile-page .profile-friend-rank-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  body.profile-page .profile-friend-rank-item strong {
    min-width: 0;
    overflow: hidden;
    color: #1f2d23;
    font-size: 16px;
    line-height: 1;
    font-weight: 920;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.profile-page .profile-friend-rank-item time {
    color: #526254;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
  }

  body.profile-page .profile-rank-invite {
    min-height: 48px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: #ffd84d;
    color: #1b271d;
    font-size: 15px;
    line-height: 1;
    font-weight: 950;
    box-shadow: 0 12px 22px rgba(216, 162, 20, 0.22);
  }

  body.profile-page .profile-rank-screen .current-listening-card {
    margin-top: 2px !important;
  }
}

@media (max-width: 370px) {
  .mobile-category-hero {
    grid-template-columns: 94px minmax(0, 1fr) 36px;
    gap: 10px;
    padding: 10px;
  }

  .mobile-category-cover-stack {
    width: 94px;
    height: 120px;
  }

  .mobile-category-cover-stack img:nth-child(1) {
    width: 70px;
  }

  .mobile-category-cover-stack img:nth-child(2) {
    width: 52px;
  }

  .mobile-category-cover-stack img:nth-child(3) {
    width: 46px;
  }

  .mobile-category-copy h4 {
    font-size: 17px;
  }

  .mobile-category-hero > button {
    width: 36px;
    height: 36px;
  }
}

/* Mobile42: account login and registration entry for the member shelf. */
@media (max-width: 720px) {
  .mobile-login-entry {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: #263e2f;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(32, 55, 39, 0.12);
  }

  .mobile-login-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 18px rgba(32, 55, 39, 0.12);
  }

  .mobile-login-avatar span,
  .mobile-auth-current > span {
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    font-weight: 950;
    letter-spacing: 0;
  }

  .mobile-login-avatar span {
    width: 100%;
    height: 100%;
    font-size: 15px;
  }

  .mobile-auth-layer {
    position: fixed;
    inset: 0;
    z-index: 240;
    display: grid;
    align-items: end;
  }

  .mobile-auth-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(17, 24, 18, 0.34);
  }

  .mobile-auth-sheet {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    max-height: min(72vh, 560px);
    padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
    overflow: auto;
    border-radius: 18px 18px 0 0;
    background: #f7f8f4;
    box-shadow: 0 -18px 44px rgba(17, 24, 18, 0.18);
  }

  .mobile-auth-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-auth-head span {
    display: block;
    color: #758174;
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
  }

  .mobile-auth-head h2 {
    margin: 5px 0 0;
    color: #18241d;
    font-size: 22px;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
  }

  .mobile-auth-head button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    color: #334237;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
  }

  .mobile-auth-current {
    min-height: 62px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(218, 224, 214, 0.92);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
  }

  .mobile-auth-current > span {
    width: 46px;
    height: 46px;
    font-size: 17px;
  }

  .mobile-auth-current div {
    min-width: 0;
    display: grid;
    gap: 5px;
  }

  .mobile-auth-current strong,
  .mobile-auth-field span {
    overflow: hidden;
    color: #1e2b22;
    font-size: 15px;
    line-height: 1;
    font-weight: 920;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-auth-current small,
  .mobile-auth-error {
    overflow: hidden;
    color: #6e7a6f;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-auth-current button {
    min-height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #eef1ea;
    color: #334237;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-auth-form {
    display: grid;
    gap: 12px;
  }

  .mobile-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(214, 226, 211, 0.92);
    border-radius: 8px;
    background: rgba(236, 241, 232, 0.8);
  }

  .mobile-auth-tabs button {
    min-height: 38px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #607061;
    font-size: 14px;
    line-height: 1;
    font-weight: 920;
  }

  .mobile-auth-tabs button[aria-selected="true"] {
    background: #ffffff;
    color: #1d3426;
    box-shadow: 0 6px 16px rgba(33, 49, 39, 0.08);
  }

  .mobile-auth-tabs button:disabled {
    opacity: 0.58;
  }

  .mobile-auth-hint {
    min-height: 58px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(214, 226, 211, 0.92);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(243, 248, 239, 0.96), rgba(255, 251, 219, 0.86));
  }

  .mobile-auth-hint > span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #f4d84a;
    box-shadow: inset 0 -2px 0 rgba(55, 65, 44, 0.08);
  }

  .mobile-auth-hint > span::before {
    content: "";
    width: 12px;
    height: 7px;
    border-left: 3px solid #1f3e2c;
    border-bottom: 3px solid #1f3e2c;
    transform: rotate(-45deg) translate(1px, -1px);
  }

  .mobile-auth-hint div {
    min-width: 0;
    display: grid;
    gap: 5px;
  }

  .mobile-auth-hint strong {
    color: #20392b;
    font-size: 14px;
    line-height: 1;
    font-weight: 950;
  }

  .mobile-auth-hint small {
    color: #6f7c6e;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 780;
  }

  .mobile-auth-field {
    min-width: 0;
    display: grid;
    gap: 7px;
  }

  .mobile-auth-field input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    box-sizing: border-box;
    padding: 0 13px;
    border: 1px solid rgba(205, 214, 203, 0.96);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #17241c;
    font-size: 16px;
    line-height: 1;
    font-weight: 850;
    outline: 0;
    caret-color: #183623;
  }

  .mobile-auth-password-control {
    position: relative;
    display: block;
    min-width: 0;
  }

  .mobile-auth-password-control input {
    padding-right: 70px;
  }

  .mobile-auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 48px;
    height: 30px;
    border: 1px solid rgba(126, 161, 111, 0.34);
    border-radius: 999px;
    background: rgba(240, 247, 235, 0.92);
    color: #244430;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
    transform: translateY(-50%);
  }

  .mobile-auth-password-toggle:active {
    transform: translateY(-50%) scale(0.97);
  }

  .mobile-auth-password-toggle:disabled {
    opacity: 0.55;
  }

  .mobile-auth-field input:focus {
    border-color: #7ea16f;
    box-shadow: 0 0 0 3px rgba(126, 161, 111, 0.18);
  }

  .mobile-auth-field input::placeholder {
    color: #a0a79d;
    font-weight: 750;
  }

  .mobile-auth-rule {
    margin: -2px 2px 0;
    color: #758174;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 760;
  }

  .mobile-auth-error {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(180, 75, 75, 0.18);
    border-radius: 8px;
    background: rgba(255, 243, 241, 0.88);
    color: #9a3e3d;
    white-space: normal;
  }

  .mobile-auth-error span {
    min-width: 0;
  }

  .mobile-auth-mode-action {
    min-height: 30px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #263e2f;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 920;
    white-space: nowrap;
  }

  .mobile-auth-submit {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: #263e2f;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    font-weight: 950;
    box-shadow: 0 10px 20px rgba(32, 55, 39, 0.14);
  }

  .mobile-auth-submit:disabled,
  .mobile-auth-field input:disabled {
    opacity: 0.68;
  }

  .mobile-auth-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 0 2px;
  }

  .mobile-auth-foot button {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #254a35;
    font-size: 13px;
    line-height: 1;
    font-weight: 900;
  }

  .mobile-auth-foot span {
    min-width: 0;
    overflow: hidden;
    color: #79857a;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-auth-loading {
    padding: 18px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    color: #617063;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 850;
    text-align: center;
  }
}

/* Mobile43: keep the home feed reachable above the fixed mini player and tab bar. */
@media (max-width: 720px) {
  body:not(.profile-page) #app.site-main {
    min-height: 100dvh;
    padding-bottom: calc(214px + env(safe-area-inset-bottom)) !important;
  }

  body:not(.profile-page) #app #catalog {
    scroll-margin-bottom: calc(180px + env(safe-area-inset-bottom));
  }

  body:not(.profile-page) #app .site-footer {
    margin-bottom: calc(22px + env(safe-area-inset-bottom));
  }
}

/* mobile-catalog-compact-20260627: align all-category width with the member new-books card. */
@media (max-width: 720px) {
  body:not(.profile-page) #app #catalog {
    width: 100% !important;
    max-width: 430px !important;
    margin: 28px auto 34px !important;
    padding: 0 0 calc(20px + env(safe-area-inset-bottom)) !important;
  }

  body:not(.profile-page) #catalog .section-head {
    margin-top: 0 !important;
  }
}

/* Mobile45: same-document handoff home so detail playback is not interrupted. */
@media (max-width: 720px) {
  body.handoff-home-active {
    overflow: hidden !important;
    background: #f3f5ef !important;
  }

  .handoff-home-layer {
    position: fixed;
    inset: 0;
    z-index: 320;
    overflow: hidden;
    background: #f3f5ef;
  }

  .handoff-home-frame {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100dvh;
    display: block;
    border: 0;
    background: #f3f5ef;
  }

  .profile-handoff-layer {
    z-index: 360;
  }

  .profile-handoff-frame {
    background: #f3f5ef;
  }

  .book-handoff-layer {
    z-index: 350;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .book-handoff-frame {
    position: relative;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
    background: #f3f5ef;
  }

  [data-handoff-home-player] {
    position: relative;
    z-index: 340;
    pointer-events: none;
  }

  .handoff-home-player.current-listening-card {
    z-index: 340 !important;
    pointer-events: auto;
  }

  body.handoff-embed .current-listening-card {
    display: none !important;
  }

  body.handoff-embed #app.site-main {
    padding-bottom: calc(128px + env(safe-area-inset-bottom)) !important;
  }
}

/* Mobile46/Desktop alignment: unify home/profile density and keep fixed docks from covering content. */
.profile-history-empty {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(231, 235, 226, 0.9);
  border-radius: 8px;
  background: rgba(248, 249, 245, 0.76);
  color: #657063;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

@media (min-width: 721px) {
  body.profile-page {
    background: #f4f6f3;
  }

  body.profile-page .site-main.profile-main {
    width: min(var(--max), calc(100% - 72px)) !important;
    max-width: none !important;
    padding-top: 118px !important;
    padding-bottom: 92px !important;
  }

  body.profile-page .profile-mobile-screen {
    max-width: 1180px !important;
    grid-template-columns: minmax(440px, 0.98fr) minmax(390px, 0.82fr);
    gap: 18px;
    align-items: start;
  }

  body.profile-page .profile-mobile-topbar,
  body.profile-page .mobile-bottom-nav {
    display: none !important;
  }

  body.profile-page .profile-hero-band,
  body.profile-page .profile-feature-card,
  body.profile-page .profile-listening-dashboard,
  body.profile-page .profile-history-glass,
  body.profile-page .current-listening-card {
    border: 1px solid rgba(224, 229, 220, 0.94) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 18px 44px rgba(25, 32, 24, 0.055) !important;
  }

  body.profile-page .profile-hero-band {
    grid-column: 1;
    grid-row: 1 / span 3;
    min-height: 552px;
    align-content: start;
    gap: 18px;
    padding: 24px !important;
    background:
      linear-gradient(135deg, rgba(245, 251, 241, 0.96), rgba(255, 249, 226, 0.86) 62%, rgba(255, 255, 255, 0.92)) !important;
  }

  body.profile-page .profile-person-row {
    gap: 16px;
    padding: 2px 0 4px;
  }

  body.profile-page .profile-mobile-avatar {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
  }

  body.profile-page .profile-avatar-face {
    left: 19px;
    bottom: 10px;
    width: 38px;
    height: 40px;
  }

  body.profile-page .profile-person-copy h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  body.profile-page .profile-person-copy p {
    max-width: 460px;
    font-size: 15px;
    white-space: normal;
  }

  body.profile-page .profile-membership-panel {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 74px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.72);
  }

  body.profile-page .profile-quick-actions {
    padding: 10px 8px;
    background: rgba(255, 255, 255, 0.74);
  }

  body.profile-page .profile-action-button {
    min-height: 82px;
  }

  body.profile-page .profile-action-button strong {
    font-size: 15px;
  }

  body.profile-page .profile-favorite-panel {
    min-height: 154px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.72);
  }

  body.profile-page .profile-benefit-grid {
    grid-column: 2;
    grid-row: 1;
    gap: 12px;
  }

  body.profile-page .profile-feature-card {
    min-height: 126px;
    padding: 18px;
  }

  body.profile-page .profile-feature-card strong {
    max-width: none;
    font-size: 20px;
  }

  body.profile-page .profile-feature-card small {
    max-width: 210px;
    font-size: 13px;
  }

  body.profile-page .profile-friend-dashboard {
    grid-column: 2;
    grid-row: 2;
    gap: 12px;
    padding: 16px !important;
  }

  body.profile-page .profile-friend-row {
    min-height: 104px;
    align-content: center;
    padding: 16px;
  }

  body.profile-page .profile-friend-row strong {
    font-size: 26px;
  }

  body.profile-page .profile-history-glass {
    grid-column: 2;
    grid-row: 3;
    min-height: 248px;
    padding: 18px !important;
  }

  body.profile-page .profile-history-list {
    margin-top: 14px;
  }

  body.profile-page .current-listening-card {
    grid-column: 1 / -1;
    grid-row: 4;
    min-height: 150px;
    padding: 22px 24px !important;
    background: #fff !important;
  }

  body.profile-page .current-listening-card .current-listening-cover img {
    width: 96px;
  }
}

@media (max-width: 720px) {
  body:not(.profile-page) #app.site-main {
    padding-bottom: calc(252px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page {
    padding-bottom: calc(198px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page .profile-mobile-screen {
    gap: 12px;
  }

  body.profile-page .profile-hero-band,
  body.profile-page .profile-feature-card,
  body.profile-page .profile-listening-dashboard,
  body.profile-page .profile-history-glass,
  body.profile-page .current-listening-card {
    box-shadow: 0 12px 30px rgba(25, 32, 24, 0.07) !important;
  }

  body.profile-page .profile-person-row {
    gap: 13px;
  }

  body.profile-page .profile-mobile-avatar {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  body.profile-page .profile-person-copy h1 {
    font-size: 25px;
    line-height: 1.08;
  }

  body.profile-page .profile-person-copy p {
    max-width: 220px;
    font-size: 13px;
    white-space: normal;
  }

  body.profile-page .profile-edit-link {
    min-height: 30px;
    padding: 0 11px;
  }

  body.profile-page .profile-history-empty {
    min-height: 86px;
    font-size: 13px;
  }

  #catalog .section-title {
    font-size: 38px !important;
    line-height: 1.06 !important;
  }

  #catalog .section-head {
    margin-top: 12px !important;
    padding-bottom: 10px !important;
  }

  .mobile-catalog-switch {
    margin-bottom: 12px !important;
    box-shadow: 0 8px 18px rgba(28, 50, 36, 0.045) !important;
  }

  .mobile-catalog-switch button {
    min-height: 42px !important;
    font-size: 15px !important;
  }

  .mobile-all-books-grid {
    gap: 9px !important;
  }

  .mobile-all-books-grid .catalog-card {
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
    border: 1px solid rgba(229, 233, 224, 0.92) !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 26px rgba(27, 32, 25, 0.055) !important;
  }

  .mobile-all-books-grid .catalog-card .book-cover {
    width: 78px !important;
  }

  .mobile-all-books-grid .catalog-card .book-title {
    font-size: 19px !important;
    line-height: 1.16 !important;
  }

  .mobile-all-books-grid .catalog-card .book-subtitle {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .mobile-all-books-grid .catalog-actions {
    gap: 10px !important;
  }

  .mobile-all-books-grid .caption-button.play-label {
    min-height: 38px !important;
    padding: 0 13px !important;
    font-size: 15px !important;
  }

  .current-listening-card {
    bottom: calc(58px + max(5px, env(safe-area-inset-bottom))) !important;
    min-height: 74px !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 8px 10px 7px !important;
    border-radius: 20px !important;
  }

  .current-listening-cover img {
    width: 50px !important;
  }

  .current-listening-main {
    grid-template-columns: minmax(0, 1fr) 38px 38px !important;
    grid-template-rows: auto 10px !important;
    column-gap: 7px !important;
  }

  .current-listening-head strong {
    font-size: 16px !important;
  }

  .current-listening-card .detail-play-button.mini-toggle,
  .mobile-mini-list {
    width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  .mobile-bottom-nav {
    height: 56px !important;
    bottom: max(6px, env(safe-area-inset-bottom)) !important;
  }

  body:not(.profile-page):not(.has-playback-state) .current-listening-card:not(.handoff-home-player) {
    display: none !important;
  }

  body:not(.profile-page):not(.has-playback-state) #app.site-main {
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }
}

/* Mobile48: interaction and visual polish for member shelf, handoff playback, and profile ranking. */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-feature-book,
  .mobile-book-tile,
  .mobile-category-tile,
  .mobile-all-books,
  .mobile-login-entry,
  .profile-feature-card,
  .profile-friend-row,
  .catalog-card,
  .detail-play-button,
  .mobile-main-play,
  .mobile-bottom-nav a {
    transition:
      transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
      border-color 180ms ease,
      background-color 180ms ease,
      box-shadow 180ms ease,
      color 180ms ease;
  }

  .mobile-feature-book:active,
  .mobile-book-tile:active,
  .mobile-category-tile:active,
  .mobile-all-books:active,
  .profile-feature-card:active,
  .profile-friend-row:active,
  .catalog-card:active,
  .detail-play-button:active,
  .mobile-main-play:active {
    transform: translateY(1px) scale(0.985);
  }
}

@media (max-width: 720px) {
  .mobile-new-books {
    gap: 13px !important;
    padding: 16px !important;
    border: 1px solid rgba(224, 230, 220, 0.88) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: 0 16px 36px rgba(24, 31, 23, 0.075) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    backdrop-filter: blur(18px) saturate(1.12);
  }

  .mobile-feature-book {
    grid-template-columns: 84px minmax(0, 1fr) 42px !important;
    gap: 12px !important;
    min-height: 122px !important;
    padding: 12px !important;
    border-color: rgba(224, 230, 220, 0.9) !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 248, 243, 0.92)) !important;
    box-shadow: 0 10px 24px rgba(24, 31, 23, 0.055) !important;
  }

  .mobile-feature-book > img {
    width: 84px !important;
  }

  .mobile-feature-book h3 {
    font-size: 18px !important;
    font-weight: 920 !important;
  }

  .mobile-feature-book p {
    margin-top: 6px !important;
    font-size: 13px !important;
    line-height: 1.42 !important;
    -webkit-line-clamp: 2 !important;
  }

  .mobile-feature-book button {
    width: 42px !important;
    height: 42px !important;
    background: #edf1ea !important;
    color: #1f3e2d !important;
    box-shadow: 0 8px 18px rgba(31, 62, 45, 0.08) !important;
  }

  .mobile-book-rail {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: calc((100% - 24px) / 3) !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain !important;
    padding: 2px 2px 8px !important;
    scroll-snap-type: x proximity;
  }

  .mobile-book-tile {
    width: auto !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-rows: auto minmax(39px, auto) !important;
    gap: 8px !important;
    padding: 8px !important;
    border: 1px solid rgba(224, 230, 220, 0.9) !important;
    border-radius: 8px !important;
    background: rgba(249, 250, 246, 0.88) !important;
    scroll-snap-align: start;
    box-shadow: 0 8px 18px rgba(24, 31, 23, 0.045) !important;
  }

  .mobile-book-tile img {
    width: 100% !important;
    border-radius: 7px !important;
  }

  .mobile-book-tile strong {
    min-height: 39px !important;
    margin: 0 !important;
    color: #20271f !important;
    font-size: 13.5px !important;
    line-height: 1.28 !important;
    font-weight: 880 !important;
    letter-spacing: 0 !important;
    word-break: break-word;
  }

  .mobile-all-books {
    min-height: 44px !important;
    border: 1px solid rgba(224, 230, 220, 0.9) !important;
    background: #eef1eb !important;
    color: #354337 !important;
  }

  .handoff-home-player.current-listening-card {
    display: grid !important;
  }

  body.profile-page .profile-friend-dashboard {
    gap: 10px !important;
  }

  body.profile-page .profile-friend-row {
    min-height: 102px;
    align-content: center;
    border: 1px solid rgba(224, 230, 220, 0.78);
    box-shadow: 0 8px 18px rgba(24, 31, 23, 0.045);
  }

  body.profile-page .profile-friend-row:first-child {
    background: linear-gradient(145deg, #263f31, #3d6349) !important;
  }
}

/* Home49: quieter editorial polish for the public home page. */
body:not(.profile-page) {
  background:
    linear-gradient(180deg, #fbfbf8 0%, #ffffff 44%, #f7f8f5 100%);
  color: #171a16;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

body:not(.profile-page) .site-header {
  border-bottom: 1px solid rgba(34, 43, 33, 0.08);
  background: rgba(251, 251, 248, 0.84);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: none;
}

body:not(.profile-page) .brand {
  gap: 11px;
}

body:not(.profile-page) .logo-mark {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(35, 68, 49, 0.12);
  background: rgba(242, 245, 239, 0.72) url("assets/brand/xilanhua-icon.png") center / contain no-repeat;
  box-shadow: none;
}

body:not(.profile-page) .brand-copy strong {
  color: #171a16;
  font-weight: 780;
}

body:not(.profile-page) .brand-copy small,
body:not(.profile-page) .section-note {
  color: #777c72;
}

body:not(.profile-page) .site-nav {
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(34, 43, 33, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

body:not(.profile-page) .site-nav a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: #575d52;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body:not(.profile-page) .site-nav a:hover {
  background: #eef2ec;
  color: #1f3f2e;
  transform: translateY(-1px);
}

body:not(.profile-page) .user-avatar {
  border: 1px solid rgba(34, 43, 33, 0.09);
  background: #fff;
  box-shadow: 0 8px 22px rgba(24, 30, 24, 0.06);
}

body:not(.profile-page) .site-main {
  padding-top: 104px;
}

body:not(.profile-page) .section-block {
  gap: 22px;
  margin-bottom: 58px;
}

body:not(.profile-page) .section-head {
  align-items: end;
  padding-bottom: 4px;
}

body:not(.profile-page) .section-title {
  color: #171a16;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.98;
  font-weight: 780;
  letter-spacing: 0;
}

body:not(.profile-page) .latest-layout {
  gap: 24px;
}

body:not(.profile-page) .latest-feature-poster-image {
  border: 1px solid rgba(34, 43, 33, 0.09);
  border-radius: 8px;
  background: #f4f3ee;
  box-shadow: 0 22px 54px rgba(30, 34, 28, 0.08);
}

body:not(.profile-page) .latest-feature-poster-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 68px rgba(30, 34, 28, 0.1);
}

body:not(.profile-page) .poster-nav,
body:not(.profile-page) .round-nav {
  border: 1px solid rgba(34, 43, 33, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: #20281f;
  box-shadow: 0 10px 28px rgba(25, 31, 23, 0.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
}

body:not(.profile-page) .latest-side {
  gap: 16px;
}

body:not(.profile-page) .latest-poster,
body:not(.profile-page) .daily-duration-card,
body:not(.profile-page) .current-listening-card,
body:not(.profile-page) .rank-card,
body:not(.profile-page) .catalog-card {
  border: 1px solid rgba(34, 43, 33, 0.085);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(30, 34, 28, 0.055);
}

body:not(.profile-page) .poster-cover-rail {
  gap: 14px;
}

body:not(.profile-page) .poster-cover-pick {
  border: 1px solid rgba(34, 43, 33, 0.08);
  border-radius: 8px;
  background: #f5f5f1;
  box-shadow: none;
}

body:not(.profile-page) .poster-cover-item img,
body:not(.profile-page) .book-cover,
body:not(.profile-page) .catalog-card .book-cover {
  border-radius: 7px;
}

body:not(.profile-page) .latest-poster-play,
body:not(.profile-page) .caption-button,
body:not(.profile-page) .mini-play,
body:not(.profile-page) .mobile-login-entry,
body:not(.profile-page) .mobile-all-books {
  border: 1px solid rgba(35, 64, 47, 0.12);
  border-radius: 999px;
  background: #eef2ec;
  color: #20362a;
  font-weight: 760;
  box-shadow: none;
}

body:not(.profile-page) .latest-poster-play:hover,
body:not(.profile-page) .caption-button:hover,
body:not(.profile-page) .mini-play:hover,
body:not(.profile-page) .mobile-all-books:hover {
  background: #24392d;
  color: #fff;
  transform: translateY(-1px);
}

body:not(.profile-page) .tab-row {
  width: fit-content;
  max-width: 100%;
  padding: 4px;
  border: 1px solid rgba(34, 43, 33, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

body:not(.profile-page) .tab-button {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6d7368;
  font-size: 14px;
  font-weight: 720;
  box-shadow: none;
}

body:not(.profile-page) .tab-button.active {
  background: #26392e;
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 45, 34, 0.16);
}

body:not(.profile-page) .rank-card,
body:not(.profile-page) .catalog-card {
  transition:
    transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body:not(.profile-page) .rank-card:hover,
body:not(.profile-page) .catalog-card:hover {
  border-color: rgba(35, 64, 47, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(30, 34, 28, 0.075);
}

body:not(.profile-page) .book-title,
body:not(.profile-page) .catalog-card .book-title,
body:not(.profile-page) .rank-card .book-title {
  color: #171a16;
  font-weight: 780;
  letter-spacing: 0;
}

body:not(.profile-page) .book-subtitle,
body:not(.profile-page) .book-meta {
  color: #70766b;
}

body:not(.profile-page) .duration-tabs {
  padding: 3px;
  border: 1px solid rgba(34, 43, 33, 0.08);
  border-radius: 999px;
  background: #f3f5f1;
}

body:not(.profile-page) .duration-tabs button {
  border-radius: 999px;
  color: #697066;
  font-weight: 720;
}

body:not(.profile-page) .duration-tabs button.active {
  background: #fff;
  color: #1f3629;
  box-shadow: 0 4px 12px rgba(25, 31, 23, 0.07);
}

@media (min-width: 1181px) {
  body:not(.profile-page) .latest-layout {
    grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
  }
}

@media (max-width: 720px) {
  body:not(.profile-page) {
    background: #fbfbf8;
  }

  body:not(.profile-page) .site-header {
    border-bottom: 0;
    background: rgba(251, 251, 248, 0.92);
  }

  body:not(.profile-page) .header-inner {
    min-height: 58px;
    padding-inline: 18px;
  }

  body:not(.profile-page) .logo-mark {
    width: 32px;
    height: 32px;
  }

  body:not(.profile-page) .brand-copy strong {
    font-size: 15px;
  }

  body:not(.profile-page) .site-main {
    padding-top: 18px !important;
  }

  body:not(.profile-page) .section-block {
    margin-bottom: 34px;
  }

  body:not(.profile-page) .mobile-home {
    gap: 16px;
  }

  body:not(.profile-page) .mobile-activity-banner {
    border: 1px solid rgba(34, 43, 33, 0.08);
    border-radius: 8px;
    background: #f2f3ef;
    box-shadow: 0 16px 34px rgba(24, 30, 24, 0.07);
  }

  body:not(.profile-page) .mobile-activity-banner img {
    height: clamp(178px, 50vw, 226px);
    object-position: center top;
  }

  body:not(.profile-page) .mobile-banner-nav {
    border: 1px solid rgba(34, 43, 33, 0.1);
    background: rgba(255, 255, 255, 0.82);
    color: #1c251d;
    box-shadow: 0 8px 20px rgba(20, 24, 20, 0.08);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  body:not(.profile-page) .mobile-banner-dots span {
    background: rgba(24, 31, 23, 0.22);
  }

  body:not(.profile-page) .mobile-banner-dots span.active {
    background: #26392e;
  }

  body:not(.profile-page) .mobile-new-books,
  body:not(.profile-page) .mobile-health-books,
  body:not(.profile-page) .mobile-category-library,
  body:not(.profile-page) .mobile-all-books-grid .catalog-card,
  body:not(.profile-page) .mobile-category-hero {
    border: 1px solid rgba(34, 43, 33, 0.08) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 12px 30px rgba(24, 30, 24, 0.055) !important;
  }

  body:not(.profile-page) .mobile-section-head h2,
  body:not(.profile-page) .mobile-new-books h2,
  body:not(.profile-page) .mobile-health-head h2 {
    color: #171a16;
    font-size: 24px !important;
    line-height: 1.08 !important;
    font-weight: 780 !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-feature-book {
    grid-template-columns: 86px minmax(0, 1fr) 40px !important;
    min-height: 118px !important;
    padding: 12px !important;
    border: 1px solid rgba(34, 43, 33, 0.07) !important;
    border-radius: 8px !important;
    background: #fafbf8 !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-feature-book > img {
    width: 86px !important;
    border-radius: 7px !important;
    box-shadow: 0 10px 22px rgba(28, 33, 27, 0.11) !important;
  }

  body:not(.profile-page) .mobile-badge {
    border-radius: 999px;
    background: #edf1ea;
    color: #334438;
    font-size: 11px;
  }

  body:not(.profile-page) .mobile-feature-book h3 {
    color: #171a16;
    font-size: 18px !important;
    line-height: 1.16 !important;
    font-weight: 780 !important;
  }

  body:not(.profile-page) .mobile-feature-book p,
  body:not(.profile-page) .mobile-feature-book small {
    color: #73796f;
  }

  body:not(.profile-page) .mobile-feature-book button {
    width: 40px !important;
    height: 40px !important;
    border: 1px solid rgba(35, 64, 47, 0.12) !important;
    background: #26392e !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-book-tile {
    border-radius: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-book-tile img {
    border: 1px solid rgba(34, 43, 33, 0.08);
    border-radius: 7px !important;
    box-shadow: 0 8px 18px rgba(28, 33, 27, 0.08);
  }

  body:not(.profile-page) .mobile-book-tile strong {
    color: #252a23 !important;
    font-weight: 740 !important;
  }

  body:not(.profile-page) .mobile-all-books {
    justify-content: center;
    border-color: rgba(35, 64, 47, 0.12) !important;
    background: #eef2ec !important;
    color: #22372b !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-catalog-switch {
    border: 1px solid rgba(34, 43, 33, 0.08) !important;
    border-radius: 999px !important;
    background: #f0f3ed !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-catalog-switch button {
    border-radius: 999px !important;
    color: #687064 !important;
    font-weight: 730 !important;
  }

  body:not(.profile-page) .mobile-catalog-switch button.active {
    background: #fff !important;
    color: #1f3629 !important;
    box-shadow: 0 5px 14px rgba(24, 30, 24, 0.07) !important;
  }

  body:not(.profile-page) .mobile-bottom-nav {
    right: 14px !important;
    left: 14px !important;
    height: 56px !important;
    border: 1px solid rgba(34, 43, 33, 0.08) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 16px 36px rgba(24, 30, 24, 0.1) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    backdrop-filter: blur(18px) saturate(1.1);
  }

  body:not(.profile-page) .mobile-bottom-nav a {
    border-radius: 999px !important;
    color: #777d72 !important;
  }

  body:not(.profile-page) .mobile-bottom-nav a.active {
    background: #26392e !important;
    color: #fff !important;
  }
}

/* Design50: profile, detail modules, and motion polish. */
:root {
  --d50-ink: #182019;
  --d50-muted: #687265;
  --d50-soft: #f6f7f3;
  --d50-paper: #fffefa;
  --d50-line: rgba(35, 49, 36, 0.105);
  --d50-line-strong: rgba(35, 49, 36, 0.155);
  --d50-green: #26392e;
  --d50-green-2: #315941;
  --d50-sun: #ffd84d;
  --d50-shadow: 0 18px 44px rgba(24, 30, 22, 0.075);
  --d50-shadow-soft: 0 10px 28px rgba(24, 30, 22, 0.055);
  --d50-ease: cubic-bezier(0.2, 0.82, 0.22, 1);
}

body.profile-page,
body:has(.detail-main) {
  background:
    linear-gradient(180deg, #fbfcf8 0%, #f4f6f1 34%, #f7f8f4 100%) !important;
  color: var(--d50-ink);
  text-rendering: optimizeLegibility;
}

body.profile-page .site-header,
body:has(.detail-main) .site-header {
  border-bottom-color: rgba(35, 49, 36, 0.08) !important;
  background: rgba(251, 252, 248, 0.82) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
}

body.profile-page button,
body.profile-page a,
body:has(.detail-main) button,
body:has(.detail-main) a {
  -webkit-tap-highlight-color: transparent;
}

body.profile-page button,
body.profile-page a.profile-card,
body.profile-page .profile-feature-card,
body.profile-page .profile-history-item,
body.profile-page .profile-favorite-book,
body:has(.detail-main) button,
body:has(.detail-main) .book-comment,
body:has(.detail-main) .side-rec-card,
body:has(.detail-main) .mobile-related-book {
  transition:
    transform 180ms var(--d50-ease),
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

body.profile-page button:active,
body.profile-page a.profile-card:active,
body.profile-page .profile-feature-card:active,
body:has(.detail-main) button:active,
body:has(.detail-main) .mobile-related-book:active {
  transform: scale(0.985);
}

body.profile-page .profile-main {
  width: min(1180px, calc(100% - 28px)) !important;
  padding-top: 26px !important;
}

body.profile-page .profile-mobile-screen {
  gap: 14px !important;
}

body.profile-page .profile-hero-band,
body.profile-page .profile-membership-panel,
body.profile-page .profile-quick-actions,
body.profile-page .profile-favorite-panel,
body.profile-page .profile-feature-card,
body.profile-page .profile-listening-dashboard,
body.profile-page .profile-history-glass,
body.profile-page .notes-summary-card,
body.profile-page .note-book-card,
body.profile-page .empty-note {
  border: 1px solid var(--d50-line) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 252, 0.86) !important;
  box-shadow: var(--d50-shadow-soft) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.04);
  backdrop-filter: blur(16px) saturate(1.04);
}

body.profile-page .profile-hero-band {
  padding: 18px !important;
  background:
    linear-gradient(135deg, rgba(247, 251, 242, 0.96), rgba(255, 253, 244, 0.94) 58%, rgba(255, 255, 255, 0.9)) !important;
  box-shadow: 0 22px 52px rgba(36, 44, 32, 0.08) !important;
}

body.profile-page .profile-mobile-topbar {
  min-height: 36px !important;
}

body.profile-page .profile-back-button,
body.profile-page .profile-service-button,
body.profile-page .profile-top-icon,
body.profile-page .profile-edit-link,
body.profile-page .profile-card-head a,
body.profile-page .profile-favorite-head a,
body.profile-page .notes-summary-card a,
body.profile-page .note-book-head a {
  border: 1px solid rgba(38, 57, 46, 0.1) !important;
  background: rgba(255, 255, 255, 0.66) !important;
  color: #2d3f33 !important;
  box-shadow: none !important;
}

body.profile-page .profile-back-button:hover,
body.profile-page .profile-service-button:hover,
body.profile-page .profile-top-icon:hover,
body.profile-page .profile-edit-link:hover,
body.profile-page .profile-card-head a:hover,
body.profile-page .profile-favorite-head a:hover {
  border-color: rgba(38, 57, 46, 0.18) !important;
  background: #ffffff !important;
  transform: translateY(-1px);
}

body.profile-page .profile-mobile-avatar {
  border-width: 2px !important;
  box-shadow:
    0 12px 26px rgba(38, 43, 34, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset !important;
}

body.profile-page .profile-person-copy h1 {
  color: var(--d50-ink) !important;
  font-weight: 860 !important;
  letter-spacing: 0 !important;
}

body.profile-page .profile-person-copy p {
  color: var(--d50-muted) !important;
  font-weight: 680 !important;
}

body.profile-page .profile-membership-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px !important;
  box-shadow: none !important;
}

body.profile-page .profile-membership-panel > span {
  color: #1f2f25 !important;
  font-size: 15px;
  font-weight: 760;
}

body.profile-page .profile-membership-panel small {
  color: #7d8679 !important;
  font-weight: 650;
}

body.profile-page .profile-membership-panel strong {
  color: var(--d50-ink) !important;
  font-weight: 830;
}

body.profile-page .profile-quick-actions {
  gap: 0 !important;
  padding: 5px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: none !important;
}

body.profile-page .profile-action-button {
  position: relative;
  min-height: 70px !important;
  border-radius: 7px !important;
  color: #26392e !important;
}

body.profile-page .profile-action-button:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 14px;
  width: 1px;
  background: rgba(35, 49, 36, 0.08);
}

body.profile-page .profile-action-button:hover {
  background: rgba(244, 247, 240, 0.92) !important;
  transform: translateY(-1px);
}

body.profile-page .profile-action-icon {
  color: #273c30 !important;
  opacity: 0.92;
}

body.profile-page .profile-action-button strong {
  color: #20271f !important;
  font-weight: 760 !important;
}

body.profile-page .profile-action-button small {
  color: #777f74 !important;
  font-weight: 690 !important;
}

body.profile-page .profile-favorite-panel {
  padding: 14px !important;
  box-shadow: none !important;
}

body.profile-page .profile-favorite-head span,
body.profile-page .profile-card-head span,
body.profile-page .profile-feature-kicker,
body.profile-page .note-book-head span,
body.profile-page .note-preview span {
  color: #768174 !important;
  font-weight: 720 !important;
  letter-spacing: 0 !important;
}

body.profile-page .profile-favorite-head strong,
body.profile-page .profile-card-head h2,
body.profile-page .note-book-head h2,
body.profile-page .notes-summary-card strong {
  color: var(--d50-ink) !important;
  font-weight: 820 !important;
  letter-spacing: 0 !important;
}

body.profile-page .profile-favorite-empty,
body.profile-page .profile-history-empty {
  border: 1px dashed rgba(38, 57, 46, 0.13) !important;
  background: rgba(247, 249, 244, 0.78) !important;
  color: #6e786b !important;
  font-weight: 680 !important;
}

body.profile-page .profile-favorite-book:hover,
body.profile-page .profile-history-item:hover,
body.profile-page .note-preview:hover {
  transform: translateY(-2px);
}

body.profile-page .profile-benefit-grid {
  gap: 10px !important;
}

body.profile-page .profile-feature-card {
  isolation: isolate;
  min-height: 98px !important;
  padding: 15px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 250, 246, 0.9)) !important;
  box-shadow: var(--d50-shadow-soft) !important;
}

body.profile-page .profile-feature-card::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 216, 77, 0.22);
  transform: scale(0.82);
  opacity: 0.72;
  z-index: 0;
}

body.profile-page .profile-invite-card::after {
  background: rgba(38, 57, 46, 0.12);
}

body.profile-page .profile-feature-card:hover {
  border-color: rgba(38, 57, 46, 0.16) !important;
  background: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--d50-shadow) !important;
}

body.profile-page .profile-feature-card strong {
  color: var(--d50-ink) !important;
  font-weight: 820 !important;
}

body.profile-page .profile-feature-card small {
  color: #6f776d !important;
  font-weight: 620 !important;
}

body.profile-page .profile-friend-dashboard {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px !important;
  padding: 12px !important;
  text-decoration: none;
}

body.profile-page .profile-friend-row {
  min-width: 0;
  min-height: 104px;
  display: grid !important;
  align-content: center;
  gap: 7px;
  padding: 15px !important;
  border: 1px solid rgba(35, 49, 36, 0.08);
  border-radius: 8px;
  background: rgba(248, 250, 245, 0.88);
}

body.profile-page .profile-friend-row:first-child {
  border-color: rgba(38, 57, 46, 0.14);
  background: linear-gradient(145deg, var(--d50-green), var(--d50-green-2));
  color: #fff;
}

body.profile-page .profile-friend-row span,
body.profile-page .profile-friend-row small {
  color: inherit !important;
  opacity: 0.7;
  font-weight: 650 !important;
}

body.profile-page .profile-friend-row strong {
  color: inherit !important;
  font-weight: 840 !important;
  letter-spacing: 0 !important;
}

body.profile-page .profile-history-glass {
  padding: 16px !important;
}

body.profile-page .profile-history-item {
  border-color: rgba(35, 49, 36, 0.09) !important;
  background: rgba(255, 255, 252, 0.84) !important;
}

body.profile-page .profile-history-item:hover {
  border-color: rgba(35, 49, 36, 0.16) !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(24, 30, 22, 0.055);
}

body.profile-page .profile-history-copy h3 {
  color: var(--d50-ink) !important;
  font-weight: 780 !important;
}

body.profile-page .profile-history-copy i {
  background: rgba(219, 225, 213, 0.78) !important;
}

body.profile-page .profile-history-copy b {
  background: linear-gradient(90deg, #91b99f, var(--d50-green-2)) !important;
}

body.profile-page .profile-tabs {
  width: max-content;
  max-width: 100%;
  gap: 4px !important;
  padding: 4px !important;
  border: 1px solid var(--d50-line) !important;
  border-radius: 999px !important;
  background: #eef2ec !important;
}

body.profile-page .profile-tabs button {
  min-height: 38px !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #697368 !important;
  font-size: 15px !important;
  font-weight: 760 !important;
}

body.profile-page .profile-tabs button.active {
  background: #fff !important;
  color: #203328 !important;
  box-shadow: 0 5px 14px rgba(24, 30, 22, 0.07) !important;
}

body.profile-page .notes-summary-card,
body.profile-page .note-book-card {
  padding: 16px !important;
}

body.profile-page .note-preview {
  border: 1px solid rgba(35, 49, 36, 0.08) !important;
  background: rgba(248, 250, 246, 0.86) !important;
}

body.profile-page .note-preview p {
  color: #4b5349 !important;
}

body:has(.detail-main) .detail-main {
  max-width: 1180px !important;
}

body:has(.detail-main) .detail-hero-video-first .media-card,
body:has(.detail-main) .detail-info-panel,
body:has(.detail-main) .detail-tabs-section .detail-section,
body:has(.detail-main) .inline-related-panel {
  border: 1px solid var(--d50-line) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 252, 0.88) !important;
  box-shadow: var(--d50-shadow-soft) !important;
}

body:has(.detail-main) .detail-hero-video-first .media-card:hover,
body:has(.detail-main) .detail-info-panel:hover,
body:has(.detail-main) .detail-tabs-section .detail-section:hover {
  border-color: rgba(35, 49, 36, 0.15) !important;
}

body:has(.detail-main) .detail-info-panel h1,
body:has(.detail-main) .detail-section-head h2 {
  color: var(--d50-ink) !important;
  font-weight: 840 !important;
  letter-spacing: 0 !important;
}

body:has(.detail-main) .detail-subtitle,
body:has(.detail-main) .detail-meta,
body:has(.detail-main) .detail-section-head span {
  color: var(--d50-muted) !important;
}

body:has(.detail-main) .book-detail-tabs {
  width: max-content;
  max-width: 100%;
  gap: 4px !important;
  padding: 4px !important;
  border: 1px solid var(--d50-line) !important;
  border-radius: 999px !important;
  background: #edf1e9 !important;
}

body:has(.detail-main) .book-detail-tabs button {
  min-height: 38px !important;
  padding: 0 17px !important;
  border-radius: 999px !important;
  color: #687166 !important;
  font-size: 15px !important;
  font-weight: 760 !important;
}

body:has(.detail-main) .book-detail-tabs button::after {
  display: none !important;
}

body:has(.detail-main) .book-detail-tabs button.active {
  background: #fff !important;
  color: #203328 !important;
  box-shadow: 0 5px 14px rgba(24, 30, 22, 0.07) !important;
}

body:has(.detail-main) .recommend-text,
body:has(.detail-main) .author-card,
body:has(.detail-main) .acquire-grid {
  border: 1px solid rgba(35, 49, 36, 0.075) !important;
  border-radius: 8px !important;
  background: rgba(248, 250, 246, 0.82) !important;
  color: #394238 !important;
  box-shadow: none !important;
}

body:has(.detail-main) .acquire-grid div {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body:has(.detail-main) .acquire-grid strong {
  color: #384538 !important;
  font-weight: 680 !important;
}

body:has(.detail-main) .transcript-paper {
  margin-top: 12px !important;
  padding: clamp(16px, 2.4vw, 26px) !important;
  border: 1px solid rgba(35, 49, 36, 0.1) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 254, 249, 0.98), rgba(250, 251, 247, 0.92)),
    linear-gradient(90deg, rgba(38, 57, 46, 0.055) 1px, transparent 1px) !important;
  background-size: auto, 32px 100% !important;
  box-shadow:
    0 12px 30px rgba(24, 30, 22, 0.045),
    0 1px 0 rgba(255, 255, 255, 0.86) inset !important;
}

body:has(.detail-main) .transcript-paper p,
body:has(.detail-main) .transcript-segment {
  margin: 0 !important;
}

body:has(.detail-main) .transcript-segment {
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 8px !important;
  color: #252d25 !important;
  font-size: 16px !important;
  line-height: 1.82 !important;
  font-weight: 520 !important;
  cursor: text;
}

body:has(.detail-main) .transcript-segment + .transcript-segment {
  margin-top: 6px !important;
}

body:has(.detail-main) .transcript-segment:hover,
body:has(.detail-main) .transcript-segment.selected,
body:has(.detail-main) .transcript-segment.active {
  background: rgba(255, 216, 77, 0.2) !important;
  box-shadow: none !important;
}

body:has(.detail-main) .inline-time {
  color: #81907e !important;
}

body:has(.detail-main) .side-rec-card,
body:has(.detail-main) .mobile-related-book {
  border-color: rgba(35, 49, 36, 0.09) !important;
  background: rgba(255, 255, 252, 0.82) !important;
}

body:has(.detail-main) .side-rec-card:hover,
body:has(.detail-main) .mobile-related-book:hover {
  border-color: rgba(35, 49, 36, 0.16) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(24, 30, 22, 0.06) !important;
}

@media (min-width: 721px) {
  body.profile-page .site-main.profile-main {
    padding-top: 112px !important;
  }

  body.profile-page .profile-mobile-screen {
    grid-template-columns: minmax(520px, 1.02fr) minmax(360px, 0.78fr) !important;
    gap: 20px !important;
  }

  body.profile-page .profile-hero-band {
    min-height: 510px !important;
    padding: 28px !important;
  }

  body.profile-page .profile-benefit-grid {
    gap: 14px !important;
  }

  body.profile-page .profile-feature-card {
    min-height: 118px !important;
    padding: 19px !important;
  }

  body.profile-page .profile-friend-dashboard {
    min-height: 180px !important;
  }

  body.profile-page .profile-history-glass {
    min-height: 230px !important;
  }

  body:has(.detail-main) .detail-main {
    padding-top: 118px !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.72fr) !important;
    gap: 28px !important;
    margin-bottom: 34px !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    margin-top: 0 !important;
  }

  body:has(.detail-main) .detail-tabs-section .detail-section {
    padding: 28px 30px !important;
  }

  body:has(.detail-main) .transcript-paper {
    max-width: 1000px;
  }
}

@media (max-width: 720px) {
  body.profile-page {
    background: #f5f7f2 !important;
  }

  body.profile-page .site-main.profile-main {
    padding: 20px 12px calc(108px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page .profile-mobile-screen {
    max-width: 430px !important;
    gap: 12px !important;
  }

  body.profile-page .profile-hero-band {
    padding: 14px !important;
  }

  body.profile-page .profile-person-row {
    gap: 12px !important;
  }

  body.profile-page .profile-person-copy h1 {
    font-size: 24px !important;
  }

  body.profile-page .profile-person-copy p {
    max-width: 232px !important;
    font-size: 13px !important;
  }

  body.profile-page .profile-membership-panel {
    min-height: 50px !important;
  }

  body.profile-page .profile-action-button {
    min-height: 68px !important;
  }

  body.profile-page .profile-feature-card {
    min-height: 92px !important;
  }

  body.profile-page .profile-friend-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.profile-page .profile-friend-row {
    min-height: 98px !important;
    padding: 13px !important;
  }

  body.profile-page .profile-friend-row strong {
    font-size: 25px !important;
  }

  body.profile-page .profile-history-glass {
    padding: 15px !important;
  }

  body.profile-page .profile-tabs {
    width: 100%;
  }

  body.profile-page .profile-tabs button {
    flex: 1 1 0;
  }

  body:has(.detail-main) {
    background: #f5f6f2 !important;
  }

  body:has(.detail-main) .detail-main {
    padding-top: 26px !important;
    padding-bottom: calc(92px + env(safe-area-inset-bottom)) !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    width: min(430px, calc(100vw - 28px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs {
    width: 100% !important;
    justify-content: space-between !important;
    gap: 4px !important;
    margin: 10px auto 12px !important;
    padding: 4px !important;
    border-radius: 999px !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button {
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button em {
    margin-top: -6px !important;
    background: var(--d50-sun) !important;
    color: #28322a !important;
  }

  body:has(.detail-main) .detail-tabs-section .detail-section {
    width: 100% !important;
    margin-bottom: 12px !important;
    padding: 15px !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main) .detail-section-head {
    margin-bottom: 10px !important;
  }

  body:has(.detail-main) .detail-section-head h2 {
    font-size: 20px !important;
    font-weight: 820 !important;
  }

  body:has(.detail-main) .recommend-text,
  body:has(.detail-main) .author-card,
  body:has(.detail-main) .acquire-grid {
    padding: 14px !important;
    font-size: 15px !important;
    line-height: 1.68 !important;
  }

  body:has(.detail-main) .acquire-grid {
    display: grid !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .acquire-grid strong {
    position: relative;
    display: block;
    padding-left: 15px;
    font-size: 15px !important;
    line-height: 1.52 !important;
  }

  body:has(.detail-main) .acquire-grid strong::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--d50-sun);
  }

  body:has(.detail-main) .transcript-paper {
    padding: 12px !important;
    background:
      linear-gradient(180deg, #fffefa, #fafbf7) !important;
  }

  body:has(.detail-main) .transcript-segment {
    padding: 10px 11px !important;
    font-size: 16px !important;
    line-height: 1.72 !important;
  }

  body:has(.detail-main) .mobile-comments-section {
    width: min(430px, calc(100vw - 28px)) !important;
    margin: 18px auto 0 !important;
    padding: 0 0 calc(82px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-comments-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 10px !important;
    color: var(--d50-muted) !important;
  }

  body:has(.detail-main) .mobile-comments-head h2 {
    color: var(--d50-ink) !important;
    font-size: 20px !important;
    font-weight: 820 !important;
  }

  body:has(.detail-main) .mobile-comment-list {
    gap: 10px !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-comment-list .book-comment {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    gap: 11px !important;
    padding: 14px !important;
    border: 1px solid var(--d50-line) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 252, 0.9) !important;
    box-shadow: var(--d50-shadow-soft) !important;
  }

  body:has(.detail-main) .mobile-comment-list .book-comment + .book-comment {
    margin-top: 10px !important;
    border-top: 1px solid var(--d50-line) !important;
  }

  body:has(.detail-main) .mobile-comment-list .book-comment.is-pressing {
    transform: scale(0.99);
    background: #fbfcf8 !important;
  }

  body:has(.detail-main) .comment-avatar {
    width: 38px !important;
    height: 38px !important;
    background: color-mix(in srgb, var(--comment-accent) 50%, #eef2ec) !important;
    color: #324238 !important;
    font-size: 15px !important;
    font-weight: 760 !important;
  }

  body:has(.detail-main) .mobile-comment-list .comment-author strong {
    color: #334037 !important;
    font-size: 14px !important;
    font-weight: 760 !important;
  }

  body:has(.detail-main) .comment-author span {
    color: #8a9288 !important;
    font-size: 12px !important;
  }

  /* book-real-comments-20260628: real user/member badges for API-backed comments. */
  body:has(.detail-main) .comment-member-badge {
    display: inline-flex !important;
    align-items: center !important;
    height: 20px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    background: rgba(30, 77, 54, 0.1) !important;
    color: rgb(30, 77, 54) !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-comment-list .book-comment p {
    margin: 9px 0 11px !important;
    color: #333a34 !important;
    font-size: 15px !important;
    line-height: 1.68 !important;
    font-weight: 520 !important;
  }

  body:has(.detail-main) .comment-actions {
    justify-content: flex-start !important;
    gap: 14px !important;
  }

  body:has(.detail-main) .comment-actions button {
    min-height: 28px !important;
    color: #7e887d !important;
    font-size: 13px !important;
    font-weight: 650 !important;
  }

  body:has(.detail-main) .comment-actions button:hover {
    color: var(--d50-green) !important;
  }

  body:has(.detail-main) .mobile-detail-dock {
    right: 10px !important;
    bottom: 0 !important;
    left: 10px !important;
    grid-template-columns: minmax(0, 1fr) 50px 50px !important;
    gap: 8px !important;
    min-height: calc(62px + env(safe-area-inset-bottom)) !important;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom)) !important;
    border: 1px solid rgba(35, 49, 36, 0.09) !important;
    border-bottom: 0 !important;
    border-radius: 18px 18px 0 0 !important;
    background: rgba(255, 255, 252, 0.86) !important;
    box-shadow: 0 -14px 34px rgba(24, 30, 22, 0.095) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.08);
    backdrop-filter: blur(22px) saturate(1.08);
  }

  body:has(.detail-main) .mobile-note-form {
    height: 42px !important;
    border: 1px solid rgba(35, 49, 36, 0.09) !important;
    background: #f4f6f1 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.84) inset !important;
  }

  body:has(.detail-main) .mobile-note-input {
    color: #303831 !important;
    font-size: 14px !important;
  }

  body:has(.detail-main) .mobile-note-input::placeholder {
    color: #929b90 !important;
  }

  body:has(.detail-main) .mobile-note-send {
    background: var(--d50-green) !important;
    color: #fff !important;
  }

  body:has(.detail-main) .mobile-dock-comment,
  body:has(.detail-main) .mobile-dock-favorite {
    min-height: 42px !important;
    border-radius: 8px !important;
    color: #27372e !important;
  }

  body:has(.detail-main) .mobile-dock-comment:hover,
  body:has(.detail-main) .mobile-dock-favorite:hover,
  body:has(.detail-main) .mobile-dock-favorite.active {
    background: #eef2ec !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes d50-rise {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  body.profile-page .profile-hero-band,
  body.profile-page .profile-benefit-grid,
  body.profile-page .profile-listening-dashboard,
  body.profile-page .profile-history-glass,
  body.profile-page .current-listening-card,
  body.profile-page .notes-summary-card,
  body.profile-page .note-book-card,
  body:has(.detail-main) .detail-hero-video-first .media-card,
  body:has(.detail-main) .detail-info-panel,
  body:has(.detail-main) .book-detail-tabs,
  body:has(.detail-main) .detail-tabs-section .detail-section,
  body:has(.detail-main) .mobile-detail-dock {
    animation: d50-rise 520ms var(--d50-ease) both;
    will-change: transform, opacity;
  }

  body.profile-page .profile-benefit-grid,
  body:has(.detail-main) .detail-info-panel {
    animation-delay: 60ms;
  }

  body.profile-page .profile-listening-dashboard,
  body:has(.detail-main) .book-detail-tabs {
    animation-delay: 100ms;
  }

  body.profile-page .profile-history-glass,
  body:has(.detail-main) .detail-tabs-section .detail-section {
    animation-delay: 140ms;
  }

  body.profile-page .profile-action-button,
  body.profile-page .profile-feature-card,
  body:has(.detail-main) .mobile-comment-list .book-comment {
    will-change: transform;
  }
}

/* book-dark-player-release-20260628: keep the mobile audio media chrome dark and readable. */
@media (max-width: 720px) {
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    padding: 24px 22px 25px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background:
      radial-gradient(circle at 82% 18%, rgba(255, 216, 77, 0.16), transparent 30%),
      linear-gradient(135deg, rgba(20, 23, 22, 0.94), rgba(48, 54, 55, 0.94)),
      #303637 !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-player {
    color: #fff !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-back,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-share,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-video-switch,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-control-cell > button,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-watch-later,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode [data-detail-playlist] {
    color: #fff !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-video-switch {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13) !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-main-play {
    background: #fff !important;
    color: #1f2722 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16) !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode input[type="range"] {
    accent-color: #fff;
  }
}

/* Design51: regression fixes for hidden controls and bottom safe zones. */
@media (min-width: 721px) {
  .site-header {
    position: relative !important;
    top: auto !important;
  }

  body:has(.detail-main) .mobile-listen-player,
  body:has(.detail-main) .mobile-detail-dock,
  body:has(.detail-main) .mobile-detail-tabs,
  body:has(.detail-main) .mobile-only-section,
  body:has(.detail-main) .mobile-related-books,
  body:has(.detail-main) .mobile-comments-section,
  body:has(.detail-main) .mobile-video-center-toggle,
  body:has(.detail-main) .mobile-video-bottom-bar,
  body:has(.detail-main) .mobile-video-progress,
  body:has(.detail-main) .mobile-video-fullscreen {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 720px) {
  body:not(.profile-page) #app.site-main::after,
  body.profile-page .profile-mobile-screen::after,
  body:has(.detail-main) .detail-main::after {
    content: "";
    display: block;
    height: calc(92px + env(safe-area-inset-bottom));
  }

  body.profile-page .profile-history-empty {
    pointer-events: none;
  }

  body.profile-page .profile-top-icon {
    overflow: visible !important;
  }
}

/* Design52: refined mobile flows, compact detail modules, and quieter controls. */
:root {
  --d52-ink: #161d18;
  --d52-muted: #6c756b;
  --d52-soft: #f6f7f2;
  --d52-paper: rgba(255, 255, 252, 0.92);
  --d52-line: rgba(29, 43, 34, 0.1);
  --d52-green: #25392d;
  --d52-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 720px) {
  body:not(.profile-page) .mobile-activity-banner {
    aspect-ratio: 16 / 9 !important;
    min-height: 0 !important;
    max-height: 226px !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .mobile-activity-banner img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  body:not(.profile-page) .mobile-banner-dots {
    bottom: 9px !important;
    padding: 4px 7px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.68) !important;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .mobile-auth-layer {
    align-items: center !important;
    justify-items: center !important;
    padding: 18px !important;
  }

  .mobile-auth-backdrop {
    background: rgba(17, 24, 18, 0.42) !important;
  }

  .mobile-auth-sheet {
    width: min(392px, calc(100vw - 36px)) !important;
    max-height: min(82dvh, 620px) !important;
    padding: 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.64) !important;
    border-radius: 8px !important;
    background: rgba(250, 251, 247, 0.96) !important;
    box-shadow: 0 24px 70px rgba(14, 20, 16, 0.24) !important;
    transform-origin: 50% 52%;
  }

  .mobile-auth-head button,
  .mobile-playlist-close-icon {
    position: relative;
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border: 1px solid rgba(33, 49, 39, 0.1) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: transparent !important;
    box-shadow: none !important;
  }

  .mobile-auth-head button::before,
  .mobile-auth-head button::after,
  .mobile-playlist-close-icon::before,
  .mobile-playlist-close-icon::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 1.5px;
    border-radius: 999px;
    background: #314034;
  }

  .mobile-auth-head button::before,
  .mobile-playlist-close-icon::before {
    transform: rotate(45deg);
  }

  .mobile-auth-head button::after,
  .mobile-playlist-close-icon::after {
    transform: rotate(-45deg);
  }

  .mobile-auth-field input,
  .mobile-auth-submit,
  .mobile-auth-current {
    border-radius: 8px !important;
    box-shadow: none !important;
  }

  .mobile-auth-submit {
    background: var(--d52-green) !important;
    font-weight: 820 !important;
  }

  .current-listening-card {
    border-radius: 8px !important;
  }

  .current-listening-card .mini-player-controls {
    grid-template-columns: 34px 38px 34px auto !important;
    gap: 8px !important;
  }

  .mini-player-controls .skip-button {
    width: 34px !important;
    min-width: 34px !important;
    height: 30px !important;
    padding: 0 !important;
    border: 1px solid rgba(35, 49, 36, 0.08) !important;
    border-radius: 999px !important;
    background: #f1f4ee !important;
    color: #657064 !important;
    font-size: 11px !important;
    font-weight: 720 !important;
    box-shadow: none !important;
  }

  .current-listening-card .detail-play-button.mini-toggle {
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    background: var(--d52-green) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(28, 45, 34, 0.16) !important;
  }

  .mobile-mini-list {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(35, 49, 36, 0.08) !important;
    border-radius: 999px !important;
    background: #f3f5f0 !important;
    box-shadow: none !important;
  }

  .mobile-playlist-tabs-with-close {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px !important;
    align-items: center !important;
  }

  .mobile-playlist-tools {
    display: none !important;
  }

  .mobile-bottom-nav {
    border-top: 1px solid rgba(35, 49, 36, 0.08) !important;
    background: rgba(255, 255, 252, 0.9) !important;
    box-shadow: 0 -12px 34px rgba(24, 30, 22, 0.08) !important;
  }

  .mobile-bottom-nav a {
    border-radius: 8px !important;
    color: #7a8378 !important;
  }

  .mobile-bottom-nav a.active {
    background: #edf2eb !important;
    color: #21382b !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button span,
  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button em {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button em {
    min-width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    padding: 0 5px !important;
    font-size: 11px !important;
  }

  body:has(.detail-main) .detail-tabs-section .acquire-section {
    padding-bottom: 12px !important;
  }

  body:has(.detail-main) .acquire-grid {
    gap: 0 !important;
    padding: 8px 12px !important;
  }

  body:has(.detail-main) .acquire-grid div {
    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
  }

  body:has(.detail-main) .acquire-grid strong {
    font-size: 14px !important;
    line-height: 1.38 !important;
  }

  body:has(.detail-main) .comment-actions {
    gap: 8px !important;
  }

  body:has(.detail-main) .comment-actions .comment-action {
    min-height: 30px !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #778176 !important;
  }

  body:has(.detail-main) .comment-actions .comment-action.active {
    background: #eef3eb !important;
    color: #233a2d !important;
  }

  body:has(.detail-main) .comment-action-icon {
    display: none !important;
  }

  body:has(.detail-main) .comment-like::before {
    content: "赞";
  }

  body:has(.detail-main) .comment-reply::before {
    content: "回复";
  }

  body:has(.detail-main) .comment-share::before {
    content: "分享";
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip {
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14) !important;
  }

  .transcript-selection-toolbar {
    position: absolute;
    z-index: 360;
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    border: 1px solid rgba(24, 35, 28, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 252, 0.95);
    box-shadow: 0 12px 28px rgba(17, 24, 18, 0.14);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .transcript-selection-toolbar button {
    min-height: 30px;
    padding: 0 11px;
    border: 0;
    border-radius: 999px;
    background: #eef2ec;
    color: #22372b;
    font-size: 13px;
    font-weight: 760;
  }

  .transcript-selection-toolbar button:first-child {
    background: var(--d52-green);
    color: #fff;
  }
}

body.profile-page .profile-sub-screen {
  gap: 12px !important;
}

body.profile-page .profile-sub-top {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 4px 2px 2px;
}

body.profile-page .profile-sub-top h1 {
  margin: 0;
  color: var(--d52-ink);
  font-size: 24px;
  line-height: 1.08;
  font-weight: 840;
  letter-spacing: 0;
}

body.profile-page .profile-sub-top p {
  margin: 4px 0 0;
  color: var(--d52-muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 620;
}

body.profile-page .profile-form-card form,
body.profile-page .profile-support-form,
body.profile-page .profile-gift-form {
  display: grid;
  gap: 12px;
}

body.profile-page .profile-form-card label {
  display: grid;
  gap: 7px;
  color: #28352c;
  font-size: 13px;
  font-weight: 760;
}

body.profile-page .profile-form-card input,
body.profile-page .profile-form-card textarea,
body.profile-page .profile-form-card select,
body.profile-page .profile-invite-panel input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(35, 49, 36, 0.1);
  border-radius: 8px;
  background: #fbfcf8;
  color: #1c261f;
  font: inherit;
  font-size: 15px;
  outline: 0;
  box-shadow: none;
}

body.profile-page .profile-form-card input,
body.profile-page .profile-form-card select,
body.profile-page .profile-invite-panel input {
  min-height: 42px;
  padding: 0 12px;
}

body.profile-page .profile-form-card textarea {
  min-height: 110px;
  padding: 12px;
  resize: vertical;
}

body.profile-page .profile-form-card button,
body.profile-page .profile-invite-panel button,
body.profile-page .profile-rank-invite {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--d52-green);
  color: #fff;
  font-size: 15px;
  font-weight: 820;
  box-shadow: 0 12px 24px rgba(28, 45, 34, 0.13);
}

body.profile-page .profile-gift-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(45, 78, 55, 0.13);
  border-radius: 8px;
  background: #edf4ea;
}

body.profile-page .profile-gift-tabs span {
  min-height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #607567;
  font-size: 14px;
  font-weight: 820;
  white-space: nowrap;
}

body.profile-page .profile-gift-tabs .is-active {
  color: var(--d52-ink);
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 52, 40, 0.08);
}

body.profile-page .profile-gift-hero {
  position: relative;
  min-height: 232px;
  padding: 18px;
  border: 1px solid rgba(220, 190, 78, 0.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 217, 67, 0.42), transparent 23%),
    radial-gradient(circle at 8% 85%, rgba(77, 124, 97, 0.12), transparent 25%),
    linear-gradient(135deg, #fffaf0, #f4f8ef);
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(31, 52, 40, 0.07);
}

body.profile-page .profile-gift-hero::before {
  content: "";
  position: absolute;
  right: -28px;
  top: 24px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(255, 217, 67, 0.42);
  border-radius: 999px;
}

body.profile-page .profile-gift-hero::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 26px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 217, 67, 0.42);
}

body.profile-page .profile-gift-hero > * {
  position: relative;
  z-index: 1;
}

body.profile-page .profile-gift-hero > span {
  color: #9b7a11;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.profile-page .profile-gift-hero h2 {
  max-width: 250px;
  margin: 20px 0 0;
  color: var(--d52-ink);
  font-size: 31px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0;
}

body.profile-page .profile-gift-hero p {
  max-width: 260px;
  margin: 10px 0 0;
  color: #52675a;
  font-size: 14px;
  line-height: 1.52;
  font-weight: 680;
}

body.profile-page .profile-gift-hero strong {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 12px;
  border: 1px solid #f1dc78;
  border-radius: 8px;
  background: #fff9d4;
  color: #725900;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

body.profile-page .profile-gift-share-main {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  background: #ffd943;
  color: var(--d52-ink);
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 16px 26px rgba(217, 175, 43, 0.18);
}

body.profile-page .profile-gift-share-icon,
body.profile-page .profile-gift-share-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

body.profile-page .profile-gift-share-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.profile-page .profile-share-guide-layer {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  align-items: end;
  padding: 18px;
  background: rgba(18, 27, 21, 0.5);
  backdrop-filter: blur(5px);
}

body.profile-page .profile-share-choice-sheet {
  width: min(100%, 420px);
  margin: 0 auto;
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 254, 248, 0.96);
  box-shadow: 0 24px 58px rgba(17, 25, 19, 0.2);
}

body.profile-page .profile-share-choice-sheet span {
  color: #2d6548;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

body.profile-page .profile-share-choice-sheet h2 {
  margin: 0;
  color: var(--d52-ink);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

body.profile-page .profile-share-choice-sheet p {
  margin: 0 0 4px;
  color: #667064;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

body.profile-page .profile-share-choice-sheet button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #1f5d40;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

body.profile-page .profile-share-choice-sheet button:nth-of-type(2) {
  background: #26392e;
}

body.profile-page .profile-share-choice-sheet button:nth-of-type(3),
body.profile-page .profile-share-choice-sheet .profile-share-choice-cancel {
  background: #edf3ec;
  color: #26392e;
}

body.profile-page .profile-share-guide-tip {
  position: absolute;
  top: 16px;
  right: 14px;
  width: min(282px, calc(100vw - 32px));
  padding: 80px 16px 16px;
  border-radius: 8px;
  background: rgba(255, 254, 248, 0.96);
  color: var(--d52-ink);
  box-shadow: 0 24px 58px rgba(17, 25, 19, 0.23);
}

body.profile-page .profile-share-guide-glow {
  position: absolute;
  top: 10px;
  right: 6px;
  width: 54px;
  height: 54px;
  border: 2px solid #ffe067;
  border-radius: 999px;
  box-shadow: 0 0 0 8px rgba(255, 224, 103, 0.2);
}

body.profile-page .profile-share-guide-arrow {
  position: absolute;
  top: 52px;
  right: 52px;
  width: 84px;
  height: 36px;
  border-top: 2px solid #ffe067;
  border-right: 2px solid #ffe067;
  border-radius: 0 18px 0 0;
  transform: rotate(-12deg);
}

body.profile-page .profile-share-guide-arrow::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffe067;
  border-right: 2px solid #ffe067;
  transform: rotate(34deg);
}

body.profile-page .profile-share-guide-tip strong {
  display: block;
  color: var(--d52-ink);
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

body.profile-page .profile-share-guide-tip p {
  margin: 7px 0 14px;
  color: #647064;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

body.profile-page .profile-share-guide-tip div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

body.profile-page .profile-share-guide-tip button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: #edf3ec;
  color: #26392e;
  font-size: 13px;
  font-weight: 850;
}

body.profile-page .profile-share-guide-tip button:last-child {
  background: #1f5d40;
  color: #fff;
}

body.profile-page .profile-gift-quota {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.profile-page .profile-gift-quota > div {
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(35, 49, 36, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(31, 52, 40, 0.07);
}

body.profile-page .profile-gift-quota span {
  display: block;
  color: #717b70;
  font-size: 12px;
  font-weight: 650;
}

body.profile-page .profile-gift-quota strong {
  display: block;
  margin-top: 4px;
  color: var(--d52-ink);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
}

body.profile-page .profile-gift-rule h2,
body.profile-page .profile-gift-records h2 {
  margin: 0;
  color: var(--d52-ink);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
}

body.profile-page .profile-gift-rule ol {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

body.profile-page .profile-gift-rule li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

body.profile-page .profile-gift-rule li span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff2a8;
  color: #765b00;
  font-weight: 900;
}

body.profile-page .profile-gift-rule p {
  margin: 0;
  color: #717b70;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

body.profile-page .profile-gift-records {
  display: grid;
  gap: 0;
}

body.profile-page .profile-gift-record {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(35, 49, 36, 0.08);
}

body.profile-page .profile-gift-record strong {
  display: block;
  color: var(--d52-ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
}

body.profile-page .profile-gift-record p {
  margin: 4px 0 0;
  color: #717b70;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
}

body.profile-page .profile-gift-record button,
body.profile-page .profile-gift-record > span {
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: #edf5ea;
  color: #315b43;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

body.profile-page .profile-message-card,
body.profile-page .profile-ticket-item,
body.profile-page .profile-purchased-item,
body.profile-page .profile-account-card > div {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(35, 49, 36, 0.08);
  border-radius: 8px;
  background: #fbfcf8;
  text-decoration: none;
}

body.profile-page .profile-inbox-list,
body.profile-page .profile-ticket-list,
body.profile-page .profile-purchased-list,
body.profile-page .profile-account-card {
  display: grid;
  gap: 10px;
}

body.profile-page .profile-message-card div,
body.profile-page .profile-ticket-item span,
body.profile-page .profile-purchased-item small,
body.profile-page .profile-account-card span,
body.profile-page .profile-sub-empty {
  color: #717b70;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 650;
}

body.profile-page .profile-message-card h2,
body.profile-page .profile-ticket-item strong,
body.profile-page .profile-purchased-item strong,
body.profile-page .profile-account-card strong {
  margin: 0;
  color: #1f2c24;
  font-size: 15px;
  line-height: 1.28;
  font-weight: 800;
}

body.profile-page .profile-message-card p,
body.profile-page .profile-ticket-item p {
  margin: 0;
  color: #424c42;
  font-size: 14px;
  line-height: 1.58;
}

body.profile-page .profile-message-card.is-unread {
  border-color: rgba(37, 57, 45, 0.18);
  background: #f4f8f1;
}

body.profile-page .profile-invite-panel {
  display: grid;
  gap: 12px;
}

body.profile-page .profile-invite-panel > span {
  color: #717b70;
  font-size: 12px;
  font-weight: 760;
}

body.profile-page .profile-invite-panel > strong {
  color: #1d2a22;
  font-size: 24px;
  line-height: 1;
  font-weight: 860;
}

body.profile-page .profile-purchased-item {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  color: inherit;
}

body.profile-page .profile-purchased-item img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

body.profile-page .profile-account-card {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.profile-page .profile-mobile-avatar {
  background:
    radial-gradient(circle at 50% 32%, #fff8d9 0 13%, transparent 14%),
    linear-gradient(145deg, #2d4d3a, #8ca16f 58%, #f2d676) !important;
}

body.profile-page .profile-avatar-face {
  background: transparent !important;
}

body.profile-page .profile-avatar-face::before {
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 12px 0 0 rgba(255, 255, 255, 0.82) !important;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-auth-sheet,
  .mobile-playlist-sheet,
  .transcript-selection-toolbar,
  body.profile-page .profile-sub-screen > *,
  body:has(.detail-main) .book-comment,
  .current-listening-card {
    animation: d52-soft-rise 360ms var(--d52-ease) both;
    will-change: transform, opacity;
  }

  @keyframes d52-soft-rise {
    from {
      opacity: 0;
      transform: translateY(8px) scale(0.995);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

/* Design53: bugfix pass after mobile/desktop Playwright QA. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

@media (min-width: 1100px) {
  body {
    zoom: 1 !important;
  }
}

body:not(.profile-page) .header-inner,
body:not(.profile-page) .site-main {
  width: min(1248px, calc(100% - 72px)) !important;
}

body:not(.profile-page) .latest-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr) !important;
}

body:not(.profile-page) .latest-side,
body:not(.profile-page) .latest-poster,
body:not(.profile-page) .latest-side-bottom,
body:not(.profile-page) .current-listening-card {
  min-width: 0;
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.profile-page {
    padding-bottom: calc(116px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page .site-main.profile-main {
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page .profile-mobile-screen {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  body.profile-page .profile-history-glass {
    margin-bottom: 8px;
  }

  body.profile-page .current-listening-card {
    position: static !important;
    inset: auto !important;
    z-index: auto !important;
    margin: 0 0 8px !important;
    width: 100% !important;
  }

  body.profile-page .profile-sub-screen .current-listening-card {
    display: none !important;
  }

  .mobile-bottom-nav {
    z-index: 220 !important;
    pointer-events: none;
  }

  .mobile-bottom-nav a {
    pointer-events: auto;
    position: relative;
    z-index: 1;
  }

  .mobile-bottom-nav a > span,
  .mobile-bottom-nav a > strong,
  .mobile-bottom-nav a > small {
    pointer-events: none;
  }

  body:has(.detail-main) .mobile-related-rail {
    width: 100%;
    max-width: 100%;
    padding-inline: 0 !important;
    scroll-padding-inline: 0;
  }

  body:has(.detail-main) .mobile-related-book {
    flex-basis: 96px !important;
    width: 96px !important;
  }

  body:has(.detail-main) .site-main.detail-main {
    width: min(350px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
}

/* Design54: mobile width recovery and normal bottom mini-player placement. */
@media (max-width: 720px) {
  body:not(.profile-page) .header-inner,
  body:not(.profile-page) .site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  body:not(.profile-page) .header-inner {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body:not(.profile-page) #app.site-main {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  body:not(.profile-page) .section-block#latest {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body:not(.profile-page) .mobile-home {
    width: 100% !important;
    max-width: 430px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    bottom: calc(72px + max(8px, env(safe-area-inset-bottom))) !important;
  }

  body:has(.detail-main) .site-main.detail-main,
  body:has(.detail-main) .detail-main {
    width: min(350px, calc(100vw - 40px)) !important;
    max-width: calc(100vw - 40px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.profile-page {
    padding-bottom: calc(178px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page .site-main.profile-main,
  body.profile-page .profile-mobile-screen {
    padding-bottom: calc(178px + env(safe-area-inset-bottom)) !important;
  }

  body.profile-page .current-listening-card,
  body.profile-page .profile-sub-screen .current-listening-card,
  body.profile-page .profile-rank-screen .current-listening-card,
  body.profile-page .profile-notes-screen .current-listening-card {
    position: fixed !important;
    right: 12px !important;
    bottom: calc(72px + max(8px, env(safe-area-inset-bottom))) !important;
    left: 12px !important;
    z-index: 210 !important;
    display: grid !important;
    width: auto !important;
    max-width: 430px !important;
    min-height: 74px !important;
    margin: 0 auto !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: center !important;
    padding: 9px 11px 8px !important;
    border: 1px solid rgba(35, 49, 36, 0.1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 252, 0.92) !important;
    box-shadow: 0 14px 34px rgba(22, 28, 22, 0.12) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    backdrop-filter: blur(18px) saturate(1.12);
  }

  body.profile-page .current-listening-cover img {
    width: 52px !important;
    border-radius: 7px !important;
    box-shadow: 0 8px 18px rgba(24, 30, 22, 0.13) !important;
  }

  body.profile-page .current-listening-main {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 88px !important;
    grid-template-rows: auto 8px !important;
    gap: 6px 9px !important;
    align-items: center !important;
  }

  body.profile-page .current-listening-head {
    min-width: 0 !important;
  }

  body.profile-page .current-listening-head strong {
    margin-top: 0 !important;
    color: #1d251f !important;
    font-size: 17px !important;
    line-height: 1.16 !important;
    font-weight: 820 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body.profile-page .current-listening-head p,
  body.profile-page .mini-player-time {
    display: none !important;
  }

  body.profile-page .mini-player-progress {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    height: 5px !important;
    margin-top: 2px !important;
    border-radius: 999px !important;
    background: rgba(222, 226, 216, 0.82) !important;
  }

  body.profile-page .mini-player-range {
    height: 17px !important;
    margin-top: -6px !important;
  }

  body.profile-page .mini-player-range::-webkit-slider-thumb {
    width: 16px !important;
    height: 16px !important;
    border: 3px solid rgba(255, 255, 255, 0.96) !important;
    background: #f7c51d !important;
  }

  body.profile-page .mini-player-range::-moz-range-thumb {
    width: 16px !important;
    height: 16px !important;
    border: 3px solid rgba(255, 255, 255, 0.96) !important;
    background: #f7c51d !important;
  }

  body.profile-page .mini-player-controls {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: 40px 40px !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: end !important;
  }

  body.profile-page .current-listening-card .detail-play-button.mini-toggle,
  body.profile-page .mobile-mini-list {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 999px !important;
  }

  body.profile-page .current-listening-card .detail-play-button.mini-toggle {
    border: 0 !important;
    background: #243b2e !important;
    color: #fff !important;
    box-shadow: 0 9px 18px rgba(28, 45, 34, 0.16) !important;
  }

  body.profile-page .mobile-mini-list {
    border: 1px solid rgba(35, 49, 36, 0.08) !important;
    background: #f1f4ee !important;
    color: #2c3930 !important;
    box-shadow: none !important;
  }

  body.profile-page .mobile-bottom-nav {
    z-index: 220 !important;
  }
}

/* Design55: prevent the fixed mini-player from flashing during mobile scroll/re-render. */
@media (max-width: 720px) {
  body:not(.profile-page) .current-listening-card:not(.handoff-home-player),
  body.profile-page .current-listening-card,
  body.profile-page .profile-sub-screen .current-listening-card,
  body.profile-page .profile-rank-screen .current-listening-card,
  body.profile-page .profile-notes-screen .current-listening-card {
    animation: none !important;
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    transition:
      background-color 160ms ease,
      border-color 160ms ease,
      box-shadow 160ms ease !important;
    will-change: transform;
    isolation: isolate;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #fffefa !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    border: 1px solid rgba(35, 49, 36, 0.1) !important;
    box-shadow:
      0 14px 34px rgba(22, 28, 22, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) *,
  body.profile-page .current-listening-card * {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

/* Design56: keep the mobile playlist sheet above fixed bottom controls. */
@media (max-width: 720px) {
  .mobile-playlist-layer {
    z-index: 420 !important;
    pointer-events: auto !important;
    isolation: isolate;
  }

  .mobile-playlist-backdrop {
    z-index: 0 !important;
  }

  .mobile-playlist-sheet {
    z-index: 1 !important;
    max-height: min(78dvh, 680px) !important;
    overflow: hidden !important;
    padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-playlist-list {
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding-bottom: calc(30px + env(safe-area-inset-bottom)) !important;
    overscroll-behavior: contain;
    scroll-padding-bottom: calc(30px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  body:has(.mobile-playlist-layer) .mobile-bottom-nav,
  body:has(.mobile-playlist-layer) .current-listening-card:not(.handoff-home-player) {
    pointer-events: none !important;
  }
}

/* Design57: lift the mobile detail comment dock above browser bottom controls. */
:root {
  --qinghe-viewport-bottom-inset: 0px;
  --qinghe-visual-viewport-height: 100vh;
}

@media (max-width: 720px) {
  body:has(.detail-main) .detail-main {
    padding-bottom: calc(126px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .mobile-comments-section {
    padding-bottom: calc(112px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    scroll-margin-bottom: calc(128px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .detail-tabs-section .detail-section.mobile-comments-section {
    padding-bottom: calc(112px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .detail-main::after {
    height: calc(126px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .mobile-detail-dock {
    bottom: var(--qinghe-viewport-bottom-inset, 0px) !important;
    transform: translate3d(0, 0, 0);
    will-change: bottom;
  }

  html[data-qinghe-viewport-obstructed] body:has(.detail-main) .mobile-detail-dock {
    border-bottom: 1px solid rgba(35, 49, 36, 0.09) !important;
    border-radius: 18px !important;
    box-shadow:
      0 18px 42px rgba(24, 30, 22, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.86) inset !important;
  }
}

/* Design58: mobile dock polish, safe browser-chrome spacing, and custom transcript actions. */
@media (max-width: 720px) {
  .mobile-bottom-nav {
    bottom: calc(max(6px, env(safe-area-inset-bottom)) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  html[data-qinghe-viewport-obstructed] .mobile-bottom-nav {
    border-radius: 28px !important;
    border-bottom: 1px solid rgba(35, 49, 36, 0.08) !important;
  }

  body:not(.profile-page) #app.site-main {
    padding-bottom: calc(196px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body.profile-page,
  body.profile-page .site-main.profile-main,
  body.profile-page .profile-mobile-screen {
    padding-bottom: calc(178px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    right: 10px !important;
    bottom: calc(64px + max(10px, env(safe-area-inset-bottom)) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    left: 10px !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    overflow: hidden !important;
  }

  body.profile-page .current-listening-card,
  body.profile-page .profile-sub-screen .current-listening-card,
  body.profile-page .profile-rank-screen .current-listening-card,
  body.profile-page .profile-notes-screen .current-listening-card {
    bottom: calc(72px + max(8px, env(safe-area-inset-bottom)) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:not(.profile-page) .current-listening-main {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 88px !important;
    grid-template-rows: auto 10px !important;
    column-gap: 10px !important;
    align-items: center !important;
  }

  body:not(.profile-page) .current-listening-head {
    min-width: 0 !important;
    overflow: hidden !important;
    padding-right: 4px !important;
  }

  body:not(.profile-page) .current-listening-head strong {
    display: block !important;
    max-width: 100% !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body:not(.profile-page) .mini-player-controls {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 88px !important;
    display: grid !important;
    grid-template-columns: 40px 40px !important;
    gap: 8px !important;
    justify-content: end !important;
    align-items: center !important;
  }

  body:not(.profile-page) .mini-player-controls .skip-button,
  body:not(.profile-page) .mini-player-time {
    display: none !important;
  }

  body:not(.profile-page) .current-listening-card .detail-play-button.mini-toggle,
  body:not(.profile-page) .mobile-mini-list {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  body:has(.detail-main) .mobile-detail-dock {
    grid-template-columns: minmax(0, 1fr) 54px 54px !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom)) !important;
  }

  body:has(.detail-main) .mobile-note-form {
    height: 48px !important;
    border-radius: 999px !important;
  }

  body:has(.detail-main) .mobile-dock-comment,
  body:has(.detail-main) .mobile-dock-favorite {
    position: relative !important;
    display: grid !important;
    grid-template-rows: 27px 14px !important;
    place-items: center !important;
    align-content: center !important;
    gap: 1px !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #23372c !important;
  }

  body:has(.detail-main) .mobile-dock-comment span,
  body:has(.detail-main) .mobile-dock-favorite span {
    position: relative !important;
    width: 26px !important;
    height: 26px !important;
    display: block !important;
    margin: 0 !important;
    color: currentColor !important;
  }

  body:has(.detail-main) .mobile-dock-comment span {
    border: 2.2px solid currentColor !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
  }

  body:has(.detail-main) .mobile-dock-comment span::before {
    content: "" !important;
    position: absolute !important;
    left: 5px !important;
    bottom: -6px !important;
    width: 8px !important;
    height: 8px !important;
    border: 0 !important;
    border-left: 2.2px solid currentColor !important;
    border-bottom: 2.2px solid currentColor !important;
    border-radius: 0 0 0 3px !important;
    background: transparent !important;
    transform: skew(-25deg) !important;
  }

  body:has(.detail-main) .mobile-dock-comment span::after {
    content: "" !important;
    position: absolute !important;
    top: 8px !important;
    left: 6px !important;
    width: 10px !important;
    height: 2.2px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: currentColor !important;
  }

  body:has(.detail-main) .mobile-dock-favorite span::before {
    content: "♡" !important;
    position: absolute !important;
    inset: -4px 0 0 !important;
    color: currentColor !important;
    font-family: Arial, sans-serif !important;
    font-size: 34px !important;
    line-height: 26px !important;
    font-weight: 400 !important;
    text-align: center !important;
  }

  body:has(.detail-main) .mobile-dock-favorite.active span::before {
    content: "♥" !important;
    font-size: 30px !important;
    color: #d24c3f !important;
  }

  body:has(.detail-main) .mobile-dock-comment em,
  body:has(.detail-main) .mobile-dock-favorite em {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 760 !important;
  }

  body:has(.detail-main) .mobile-dock-comment strong {
    position: absolute !important;
    top: 3px !important;
    right: 7px !important;
    min-width: 15px !important;
    height: 15px !important;
    display: grid !important;
    place-items: center !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #f6d553 !important;
    color: #26342b !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
  }

  body:has(.detail-main) .transcript-paper,
  body:has(.detail-main) .transcript-segment {
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    touch-action: pan-y !important;
  }

  body:has(.detail-main) .transcript-segment {
    cursor: default !important;
  }

  .transcript-selection-toolbar.transcript-segment-toolbar {
    position: fixed !important;
    z-index: 520 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    padding: 8px !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 252, 0.98) !important;
    box-shadow: 0 16px 42px rgba(17, 24, 18, 0.16) !important;
  }

  .transcript-selection-toolbar.transcript-segment-toolbar button {
    min-height: 38px !important;
    padding: 0 8px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .transcript-selection-toolbar.transcript-segment-toolbar button[data-transcript-jump-selection] {
    background: #253b2d !important;
    color: #fff !important;
  }

  body.profile-page .profile-history-all-link {
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 820 !important;
    white-space: nowrap !important;
  }

  body.profile-page .profile-history-full {
    padding-bottom: 14px !important;
  }
}

/* Design59: mobile member shelf controls and safer bottom overlays. */
@media (max-width: 720px) {
  body:not(.profile-page) .mobile-new-books {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
  }

  body:not(.profile-page) .mobile-feature-book {
    position: relative !important;
    grid-template-columns: 84px minmax(0, 1fr) !important;
    padding-right: 64px !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .mobile-feature-book > div {
    min-width: 0 !important;
  }

  body:not(.profile-page) .mobile-feature-book > button[data-play-book] {
    display: none !important;
  }

  .mobile-member-side-nav {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 7;
    display: grid;
    gap: 5px;
    padding: 5px;
    border: 1px solid rgba(31, 53, 40, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 252, 0.78);
    box-shadow:
      0 14px 30px rgba(18, 28, 20, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.88) inset;
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    backdrop-filter: blur(18px) saturate(1.12);
    transform: translateY(-50%);
  }

  .mobile-member-side-nav button {
    position: relative;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(240, 244, 237, 0.82);
    color: #21382b;
    box-shadow: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-member-side-nav button:active {
    background: #21382b;
    color: #fff;
    transform: scale(0.94);
  }

  .mobile-member-side-nav span {
    width: 9px;
    height: 9px;
    display: block;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
  }

  .mobile-member-side-nav button[data-mobile-member-nav="prev"] span {
    transform: translateX(2px) rotate(-135deg);
  }

  .mobile-member-side-nav button[data-mobile-member-nav="next"] span {
    transform: translateX(-2px) rotate(45deg);
  }

  body:has(.mobile-playlist-layer) .mobile-bottom-nav,
  body:has(.mobile-playlist-layer) .current-listening-card:not(.handoff-home-player) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(16px) !important;
  }

  .mobile-playlist-sheet {
    max-height: min(calc(var(--qinghe-visual-viewport-height, 100vh) - 20px), 690px) !important;
    padding-bottom: 0 !important;
  }

  .mobile-playlist-list {
    padding-bottom: calc(112px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    scroll-padding-bottom: calc(112px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body.profile-page .current-listening-card,
  body.profile-page .profile-sub-screen .current-listening-card,
  body.profile-page .profile-rank-screen .current-listening-card,
  body.profile-page .profile-notes-screen .current-listening-card {
    position: fixed !important;
    top: auto !important;
    right: 12px !important;
    bottom: calc(72px + max(8px, env(safe-area-inset-bottom)) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    left: 12px !important;
    z-index: 210 !important;
    display: grid !important;
    width: auto !important;
    max-width: 430px !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  body:not(.profile-page) .mobile-member-side-nav,
  body:not(.profile-page) .mobile-feature-book[data-member-book-index],
  body:not(.profile-page) .mobile-book-rail[data-member-book-index] {
    will-change: transform, opacity;
  }

  body:not(.profile-page) .mobile-member-side-nav button {
    transition:
      transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1),
      background-color 160ms ease,
      color 160ms ease;
  }

  body:not(.profile-page) .mobile-feature-book[data-member-book-index],
  body:not(.profile-page) .mobile-book-rail[data-member-book-index] {
    animation: mobileMemberRefresh 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  @keyframes mobileMemberRefresh {
    from {
      opacity: 0.72;
      transform: translateY(4px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Design61: keep mobile book covers visible during fast scroll and image decode. */
.book-cover.has-cover-source {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 44%),
    linear-gradient(160deg, var(--cover-a), var(--cover-b));
}

.book-cover.has-cover-source .cover-image {
  opacity: 1;
}

.book-cover.has-cover-source.has-image .cover-image {
  opacity: 1;
}

@media (max-width: 720px) {
  body:not(.profile-page) .book-cover,
  body:not(.profile-page) .cover-image,
  body:not(.profile-page) .mobile-feature-book > img,
  body:not(.profile-page) .mobile-book-tile img,
  body:not(.profile-page) .mobile-category-tile img,
  body:not(.profile-page) .mobile-playlist-item img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
  }

  body:not(.profile-page) .book-cover.has-cover-source {
    background-color: #f0eee7 !important;
    box-shadow:
      0 12px 24px rgba(24, 27, 22, 0.12),
      inset 0 -40px 80px rgba(0, 0, 0, 0.2) !important;
  }

  body:not(.profile-page) .book-cover.has-cover-source.has-image {
    background: #f1eee6 !important;
    box-shadow:
      0 14px 28px rgba(24, 27, 22, 0.13),
      0 1px 0 rgba(255, 255, 255, 0.8) inset !important;
  }

  body:not(.profile-page) .book-cover.has-cover-source .cover-image {
    transition: none;
  }
}

/* Design66: avoid white image blanks on the mobile first paint. */
.cover-loadable-image,
.poster-loadable-image {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 46%),
    linear-gradient(160deg, var(--cover-a, #e7e1d6), var(--cover-b, #f4efe4));
  background-color: #ebe7dc;
  background-size: cover;
  color: transparent;
}

.cover-loadable-image {
  opacity: 0.98;
}

.cover-loadable-image.is-loaded,
.poster-loadable-image.is-loaded {
  opacity: 1;
}

.mobile-activity-banner img,
.feature-poster-image {
  background-color: #ebe7dc;
  transform: translateZ(0);
}

@media (max-width: 720px) {
  body:not(.profile-page) .mobile-activity-banner {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 50%),
      linear-gradient(160deg, var(--cover-a, #d9d2c4), var(--cover-b, #f4efe4)) !important;
    contain: paint;
  }

  body:not(.profile-page) .mobile-activity-banner .poster-loadable-image,
  body:not(.profile-page) .mobile-feature-book > .cover-loadable-image,
  body:not(.profile-page) .mobile-book-tile .cover-loadable-image,
  body:not(.profile-page) .current-listening-cover .cover-loadable-image,
  body:not(.profile-page) .mobile-recent-card .cover-loadable-image,
  body:not(.profile-page) .mobile-health-cover-stack .cover-loadable-image,
  body:not(.profile-page) .mobile-health-tile .cover-loadable-image,
  body:not(.profile-page) .mobile-category-cover-stack .cover-loadable-image,
  body:not(.profile-page) .mobile-category-tile .cover-loadable-image,
  body:not(.profile-page) .mobile-playlist-item .cover-loadable-image {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 44%),
      linear-gradient(160deg, var(--cover-a, #e7e1d6), var(--cover-b, #f4efe4)) !important;
    background-color: #ebe7dc !important;
  }

  body:not(.profile-page) .mobile-activity-banner img,
  body:not(.profile-page) .mobile-feature-book > .cover-loadable-image,
  body:not(.profile-page) .mobile-book-cover-frame > .cover-loadable-image,
  body:not(.profile-page) .current-listening-cover .cover-loadable-image,
  body:not(.profile-page) .mobile-recent-card .cover-loadable-image {
    min-height: 1px;
    opacity: 0.99;
    transition: opacity 140ms ease;
  }

  body:not(.profile-page) .mobile-activity-banner img.is-loaded,
  body:not(.profile-page) .cover-loadable-image.is-loaded {
    opacity: 1;
  }

  body:not(.profile-page) .current-listening-cover {
    overflow: hidden;
    border-radius: 8px;
    background: #ebe7dc;
  }
}

/* Design67: keep the mobile detail reply composer above the virtual keyboard. */
:root {
  --qinghe-comment-keyboard-inset: 0px;
}

@media (max-width: 720px) {
  body:has(.detail-main) .mobile-detail-dock {
    bottom: var(--qinghe-viewport-bottom-inset, 0px) !important;
  }

  html[data-qinghe-comment-focused] body:has(.detail-main) .mobile-detail-dock {
    bottom: max(
      var(--qinghe-viewport-bottom-inset, 0px),
      var(--qinghe-comment-keyboard-inset, 0px),
      calc(100vh - var(--qinghe-visual-viewport-height, 100vh))
    ) !important;
    z-index: 420 !important;
    border: 1px solid rgba(35, 49, 36, 0.1) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 252, 0.94) !important;
    box-shadow:
      0 18px 46px rgba(22, 30, 22, 0.16),
      0 1px 0 rgba(255, 255, 255, 0.86) inset !important;
    animation: none !important;
  }

  html[data-qinghe-comment-focused] body:has(.detail-main) .mobile-comments-section {
    padding-bottom: calc(
      154px + env(safe-area-inset-bottom) + max(
        var(--qinghe-viewport-bottom-inset, 0px),
        var(--qinghe-comment-keyboard-inset, 0px),
        calc(100vh - var(--qinghe-visual-viewport-height, 100vh))
      )
    ) !important;
    scroll-padding-bottom: calc(154px + env(safe-area-inset-bottom)) !important;
  }

  html[data-qinghe-comment-focused] body:has(.detail-main) .mobile-note-form {
    grid-template-columns: 18px minmax(0, 1fr) auto !important;
    border-color: rgba(35, 58, 44, 0.18) !important;
    background: #fffef9 !important;
    box-shadow:
      0 0 0 3px rgba(36, 61, 45, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  }

  html[data-qinghe-comment-focused] body:has(.detail-main) .mobile-note-send {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body:has(.detail-main) .book-comment.is-reply-target {
    border-color: rgba(35, 58, 44, 0.2) !important;
    background: #fbfcf8 !important;
    box-shadow:
      0 12px 26px rgba(24, 30, 22, 0.08),
      0 0 0 3px rgba(255, 216, 77, 0.16) !important;
  }
}

/* Design68: prevent iOS/WebView auto-zoom when focusing mobile inputs. */
@media (max-width: 720px) {
  body:has(.detail-main) .mobile-note-input,
  body:has(.detail-main) .mobile-note-form .mobile-note-input,
  .mobile-auth-field input,
  body.profile-page .profile-form-card input,
  body.profile-page .profile-form-card textarea,
  body.profile-page .profile-form-card select,
  body.profile-page .profile-invite-panel input {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }

  body:has(.detail-main) .mobile-note-form {
    grid-template-columns: 18px minmax(0, 1fr) auto !important;
  }

  body:has(.detail-main) .mobile-note-input {
    min-height: 0 !important;
    height: 100% !important;
    transform: translateZ(0);
  }

  body:has(.detail-main) .mobile-note-input::placeholder,
  .mobile-auth-field input::placeholder {
    font-size: 16px !important;
  }
}

/* Design73: visible password affordance in mobile auth sheet. */
@media (max-width: 720px) {
  .mobile-auth-field .mobile-auth-password-control {
    position: relative !important;
    display: block !important;
    min-width: 0 !important;
    overflow: visible !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    text-overflow: clip !important;
    white-space: normal !important;
  }

  .mobile-auth-field .mobile-auth-password-control input {
    padding-right: 70px !important;
    caret-color: #183623 !important;
  }

  .mobile-auth-field .mobile-auth-password-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 9px !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border: 1px solid rgba(126, 161, 111, 0.34) !important;
    border-radius: 999px !important;
    background: rgba(240, 247, 235, 0.96) !important;
    color: #244430 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    transform: translateY(-50%) !important;
  }
}

/* Design69: restore a clear premium play CTA and soften mobile shelf covers. */
@media (max-width: 720px) {
  body:not(.profile-page) .mobile-feature-book {
    grid-template-columns: 86px minmax(0, 1fr) 46px !important;
    padding-right: 12px !important;
    overflow: visible !important;
  }

  body:not(.profile-page) .mobile-feature-book > button.mobile-feature-play-button,
  body:not(.profile-page) .mobile-feature-book > button[data-play-book].mobile-feature-play-button {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.44) !important;
    border-radius: 999px !important;
    background:
      radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 38%),
      #20382a !important;
    color: #fff !important;
    box-shadow:
      0 12px 26px rgba(27, 48, 35, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.5) inset !important;
    transform: translateZ(0);
  }

  body:not(.profile-page) .mobile-feature-book > button.mobile-feature-play-button:active {
    transform: translateZ(0) scale(0.96) !important;
  }

  body:not(.profile-page) .mobile-feature-book > button.mobile-feature-play-button .play-icon {
    margin-left: 2px !important;
    border-top-width: 7px !important;
    border-bottom-width: 7px !important;
    border-left-width: 11px !important;
  }

  body:not(.profile-page) .mobile-member-side-nav {
    display: none !important;
  }

  body:not(.profile-page) .mobile-book-tile {
    padding: 0 0 2px !important;
  }

  body:not(.profile-page) .mobile-book-cover-frame {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f4f1e8 !important;
    outline: 1px solid rgba(31, 42, 31, 0.06) !important;
    outline-offset: -1px !important;
    box-shadow:
      0 10px 22px rgba(24, 30, 22, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.84) inset !important;
    transform: translateZ(0);
  }

  body:not(.profile-page) .mobile-feature-book > img.cover-loadable-image {
    box-sizing: border-box !important;
    border: 0 !important;
    outline: 1px solid rgba(31, 42, 31, 0.06) !important;
    outline-offset: -1px !important;
    object-fit: cover !important;
    object-position: center center !important;
    box-shadow:
      0 10px 22px rgba(24, 30, 22, 0.08),
      0 1px 0 rgba(255, 255, 255, 0.84) inset !important;
  }

  body:not(.profile-page) .mobile-book-cover-frame > img.cover-loadable-image {
    position: absolute !important;
    inset: -2px !important;
    width: calc(100% + 4px) !important;
    height: calc(100% + 4px) !important;
    max-width: none !important;
    border: 0 !important;
    border-radius: 10px !important;
    outline: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    box-shadow: none !important;
    clip-path: none !important;
    background-color: #f4f1e8 !important;
  }

  body:not(.profile-page) .mobile-book-tile strong {
    margin-top: 8px !important;
    color: #202820 !important;
    font-weight: 820 !important;
  }
}

/* Design70: keep mobile players anchored and playlist sheets unobstructed. */
@media (max-width: 720px) {
  body.profile-page,
  body.profile-page .site-main.profile-main,
  body.profile-page .profile-mobile-screen {
    padding-bottom: calc(170px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body.profile-page .current-listening-card,
  body.profile-page .profile-sub-screen .current-listening-card,
  body.profile-page .profile-rank-screen .current-listening-card,
  body.profile-page .profile-notes-screen .current-listening-card {
    position: fixed !important;
    top: auto !important;
    right: 12px !important;
    bottom: calc(64px + max(8px, env(safe-area-inset-bottom)) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    left: 12px !important;
    z-index: 210 !important;
    width: auto !important;
    max-width: 430px !important;
    min-height: 74px !important;
    margin: 0 auto !important;
    transform: translate3d(0, 0, 0) !important;
  }

  body.qinghe-playlist-open {
    overflow: hidden !important;
  }

  body.qinghe-playlist-open .mobile-bottom-nav,
  body.qinghe-playlist-open .mobile-detail-dock,
  body.qinghe-playlist-open .current-listening-card:not(.handoff-home-player) {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(0, 18px, 0) !important;
  }

  .mobile-playlist-layer {
    z-index: 640 !important;
    display: block !important;
  }

  .mobile-playlist-sheet {
    max-height: min(calc(var(--qinghe-visual-viewport-height, 100vh) - 16px), 700px) !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
    padding-bottom: 0 !important;
  }

  .mobile-playlist-list {
    min-height: 0 !important;
    max-height: none !important;
    padding-bottom: calc(28px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    scroll-padding-bottom: calc(28px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  .mobile-playlist-item:last-child {
    margin-bottom: 0 !important;
  }
}

/* Design71: simplify the mobile member shelf so covers carry the visual weight. */
@media (max-width: 720px) {
  body:not(.profile-page) .mobile-book-rail {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: flex-start !important;
    overflow: visible !important;
    padding: 2px 2px 8px !important;
  }

  body:not(.profile-page) .mobile-book-tile {
    display: block !important;
    width: 100% !important;
    flex: none !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-book-tile strong {
    display: none !important;
  }

  body:not(.profile-page) .mobile-book-cover-frame {
    border-radius: 8px !important;
    background: #f3f1e9 !important;
    outline: 1px solid rgba(31, 42, 31, 0.045) !important;
    box-shadow:
      0 10px 20px rgba(24, 30, 22, 0.075),
      0 1px 0 rgba(255, 255, 255, 0.82) inset !important;
  }

  body:not(.profile-page) .mobile-book-cover-frame > img.cover-loadable-image {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
  }
}

/* Design72: give the mobile mini-player progress and playlist sheet proper breathing room. */
@media (max-width: 720px) {
  body:not(.profile-page) #app.site-main {
    padding-bottom: calc(206px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body.profile-page,
  body.profile-page .site-main.profile-main,
  body.profile-page .profile-mobile-screen {
    padding-bottom: calc(190px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player),
  body.profile-page .current-listening-card,
  body.profile-page .profile-sub-screen .current-listening-card,
  body.profile-page .profile-rank-screen .current-listening-card,
  body.profile-page .profile-notes-screen .current-listening-card {
    min-height: 86px !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 11px !important;
    align-items: center !important;
    padding: 10px 12px 12px !important;
    border: 1px solid rgba(35, 49, 36, 0.1) !important;
    border-radius: 20px !important;
    background: #fffefa !important;
    box-shadow:
      0 14px 34px rgba(22, 28, 22, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .current-listening-main,
  body.profile-page .current-listening-main {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 88px !important;
    grid-template-rows: auto 18px !important;
    gap: 5px 10px !important;
    align-items: center !important;
  }

  body:not(.profile-page) .current-listening-head,
  body.profile-page .current-listening-head {
    min-width: 0 !important;
    align-self: center !important;
    padding-right: 2px !important;
  }

  body:not(.profile-page) .current-listening-head strong,
  body.profile-page .current-listening-head strong {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #1d251f !important;
    font-size: 17px !important;
    line-height: 1.15 !important;
    font-weight: 840 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body:not(.profile-page) .current-listening-head p,
  body.profile-page .current-listening-head p,
  body:not(.profile-page) .mini-player-time,
  body.profile-page .mini-player-time {
    display: none !important;
  }

  body:not(.profile-page) .mini-player-progress,
  body.profile-page .mini-player-progress {
    position: relative !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    height: 18px !important;
    display: grid !important;
    align-items: center !important;
    margin: 0 !important;
    overflow: visible !important;
    border-radius: 999px !important;
    background: transparent !important;
  }

  body:not(.profile-page) .mini-player-progress[data-readonly-progress],
  body.profile-page .mini-player-progress[data-readonly-progress] {
    pointer-events: none !important;
  }

  body:not(.profile-page) .mini-player-progress-fill,
  body.profile-page .mini-player-progress-fill {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    width: var(--progress) !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: #f6c51d !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mini-player-progress[data-readonly-progress]::before,
  body.profile-page .mini-player-progress[data-readonly-progress]::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: rgba(218, 223, 211, 0.86) !important;
    transform: translateY(-50%) !important;
  }

  body:not(.profile-page) .mini-player-range,
  body.profile-page .mini-player-range {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 18px !important;
    margin: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    border-radius: 999px !important;
    background:
      linear-gradient(
        90deg,
        #f6c51d 0 var(--progress),
        rgba(218, 223, 211, 0.86) var(--progress) 100%
      ) !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 100% 6px !important;
    box-shadow: none !important;
    cursor: pointer;
    touch-action: none;
  }

  body:not(.profile-page) .mini-player-range::-webkit-slider-runnable-track,
  body.profile-page .mini-player-range::-webkit-slider-runnable-track {
    height: 6px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
  }

  body:not(.profile-page) .mini-player-range::-webkit-slider-thumb,
  body.profile-page .mini-player-range::-webkit-slider-thumb {
    width: 16px !important;
    height: 16px !important;
    margin-top: -5px !important;
    -webkit-appearance: none !important;
    border: 3px solid rgba(255, 255, 255, 0.98) !important;
    border-radius: 999px !important;
    background: #f6c51d !important;
    box-shadow: 0 4px 10px rgba(80, 70, 28, 0.18) !important;
  }

  body:not(.profile-page) .mini-player-range::-moz-range-track,
  body.profile-page .mini-player-range::-moz-range-track {
    height: 6px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(218, 223, 211, 0.86) !important;
  }

  body:not(.profile-page) .mini-player-range::-moz-range-progress,
  body.profile-page .mini-player-range::-moz-range-progress {
    height: 6px !important;
    border-radius: 999px !important;
    background: #f6c51d !important;
  }

  body:not(.profile-page) .mini-player-range::-moz-range-thumb,
  body.profile-page .mini-player-range::-moz-range-thumb {
    width: 16px !important;
    height: 16px !important;
    border: 3px solid rgba(255, 255, 255, 0.98) !important;
    border-radius: 999px !important;
    background: #f6c51d !important;
    box-shadow: 0 4px 10px rgba(80, 70, 28, 0.18) !important;
  }

  body:not(.profile-page) .mini-player-controls,
  body.profile-page .mini-player-controls {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 88px !important;
    display: grid !important;
    grid-template-columns: 40px 40px !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: end !important;
  }

  body:not(.profile-page) .mini-player-controls .skip-button,
  body.profile-page .mini-player-controls .skip-button {
    display: none !important;
  }

  body.qinghe-playlist-open .mobile-bottom-nav,
  body.qinghe-playlist-open .mobile-detail-dock,
  body.qinghe-playlist-open .current-listening-card:not(.handoff-home-player),
  body:has(.mobile-playlist-layer) .mobile-bottom-nav,
  body:has(.mobile-playlist-layer) .mobile-detail-dock,
  body:has(.mobile-playlist-layer) .current-listening-card:not(.handoff-home-player) {
    z-index: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(0, 22px, 0) !important;
  }

  .mobile-playlist-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 980 !important;
    display: block !important;
    isolation: isolate !important;
    pointer-events: auto !important;
  }

  .mobile-playlist-backdrop {
    z-index: 0 !important;
    background: rgba(18, 22, 18, 0.36) !important;
  }

  .mobile-playlist-sheet {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    max-height: min(calc(var(--qinghe-visual-viewport-height, 100vh) - 14px), 720px) !important;
    min-height: min(520px, calc(var(--qinghe-visual-viewport-height, 100vh) - 14px)) !important;
    display: grid !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
    padding: 10px 0 calc(14px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    overflow: hidden !important;
    border-radius: 24px 24px 0 0 !important;
    background: #fffefa !important;
    box-shadow: 0 -20px 60px rgba(12, 14, 12, 0.24) !important;
  }

  .mobile-playlist-tabs {
    padding-bottom: 13px !important;
  }

  .mobile-playlist-list {
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding: 10px 22px calc(96px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    overscroll-behavior: contain;
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-playlist-item:last-child {
    margin-bottom: 10px !important;
  }
}

/* Design73: backend-ready profile service/inbox polish and mobile spacing. */
body.profile-page .profile-form-card,
body.profile-page .profile-ticket-list,
body.profile-page .profile-inbox-list {
  overflow: visible !important;
}

body.profile-page .profile-support-form button:disabled {
  cursor: progress;
  opacity: 0.72;
  transform: none !important;
}

body.profile-page .profile-message-card,
body.profile-page .profile-ticket-item {
  border-color: rgba(35, 49, 36, 0.09) !important;
  background: #fffef9 !important;
  box-shadow: 0 10px 26px rgba(26, 34, 27, 0.055) !important;
}

body.profile-page .profile-message-card.is-unread {
  border-color: rgba(42, 82, 58, 0.17) !important;
  background: #f8fbf5 !important;
}

body.profile-page .profile-ticket-item span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(40, 64, 45, 0.06);
  color: #536154 !important;
}

@media (max-width: 720px) {
  body.profile-page .profile-sub-screen {
    gap: 14px !important;
  }

  body.profile-page .profile-form-card {
    padding: 14px !important;
    border-radius: 14px !important;
  }

  body.profile-page .profile-support-form {
    display: grid !important;
    gap: 14px !important;
  }

  body.profile-page .profile-support-form label {
    gap: 8px !important;
  }

  body.profile-page .profile-support-form select,
  body.profile-page .profile-support-form textarea {
    border-radius: 10px !important;
    background: #fffef9 !important;
  }

  body.profile-page .profile-support-form textarea {
    min-height: 142px !important;
  }

  body.profile-page .profile-support-form button {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 2px 0 0 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 24px rgba(38, 67, 45, 0.14) !important;
  }

  body.profile-page .profile-ticket-list {
    margin-top: 2px !important;
  }

  body.profile-page .profile-message-card,
  body.profile-page .profile-ticket-item {
    padding: 13px !important;
    border-radius: 12px !important;
  }
}

/* Design74: mobile gift-card share sheet for the book player. */
#mobileShareRoot {
  position: fixed;
  inset: 0;
  z-index: 1120;
  pointer-events: none;
}

#mobileShareRoot:empty {
  display: none;
}

.mobile-share-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  isolation: isolate;
  pointer-events: auto;
}

.mobile-share-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(15, 18, 16, 0.42);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.mobile-share-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  max-height: min(calc(var(--qinghe-visual-viewport-height, 100vh) - 12px), 760px);
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
  row-gap: 14px;
  padding: 10px 18px calc(14px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px));
  overflow: hidden;
  border: 1px solid rgba(35, 49, 36, 0.08);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 252, 0.98), rgba(250, 248, 240, 0.98)),
    #fffefa;
  box-shadow: 0 -24px 64px rgba(16, 20, 17, 0.22);
  color: #26332b;
}

.mobile-share-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 2px;
  border-radius: 999px;
  background: rgba(38, 51, 43, 0.16);
}

.mobile-share-offer {
  padding: 6px 6px 0;
  text-align: center;
}

.mobile-share-offer p {
  max-width: 330px;
  margin: 0 auto;
  color: #303b32;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.55;
  letter-spacing: 0;
}

.mobile-share-targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 2px 2px 0;
}

.mobile-share-targets button {
  min-width: 0;
  min-height: 82px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #39453c;
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.mobile-share-targets button:active {
  transform: scale(0.97);
  background: rgba(40, 64, 45, 0.045);
}

.mobile-share-target-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 17px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(34, 45, 36, 0.13);
}

.mobile-share-target-icon.wechat {
  background: linear-gradient(145deg, #39c86a, #1fa958);
}

.mobile-share-target-icon.moments {
  background:
    radial-gradient(circle at 50% 20%, #f5e56c 0 14%, transparent 15%),
    conic-gradient(from 8deg, #4fcf78, #6ab8ff, #b083e6, #ffd45d, #4fcf78);
}

.mobile-share-target-icon.copy {
  position: relative;
  background: linear-gradient(145deg, #f2f0e5, #d9ded1);
}

.mobile-share-target-icon.copy::before,
.mobile-share-target-icon.copy::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 10px;
  border: 2px solid #415141;
  border-radius: 999px;
  transform: rotate(-28deg);
}

.mobile-share-target-icon.copy::before {
  top: 14px;
  left: 11px;
}

.mobile-share-target-icon.copy::after {
  right: 11px;
  bottom: 14px;
}

.mobile-share-targets em {
  max-width: 100%;
  overflow: hidden;
  color: #485248;
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-share-poster-card {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  overflow: hidden;
}

.mobile-share-poster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.mobile-share-poster-head strong {
  color: #26332b;
  font-size: 14px;
  font-weight: 760;
}

.mobile-share-save {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  border: 1px solid rgba(255, 236, 112, 0.46);
  border-radius: 999px;
  background: linear-gradient(135deg, #22362b, #406143);
  color: #fff7b4;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(31, 52, 39, 0.18);
}

.mobile-share-save:disabled {
  opacity: 0.68;
}

.mobile-share-poster-frame {
  min-height: 0;
  display: grid;
  justify-items: center;
  padding: 2px 0 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.mobile-share-poster-preview {
  position: relative;
  width: min(82vw, 304px);
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(118, 109, 45, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 18%, rgba(248, 223, 82, 0.56) 0 10%, transparent 24%),
    radial-gradient(circle at 88% 72%, rgba(250, 205, 45, 0.42) 0 12%, transparent 30%),
    linear-gradient(150deg, #fffdf6 0%, #fff2bb 58%, #f6f9ed 100%);
  box-shadow: 0 18px 44px rgba(48, 42, 18, 0.18);
  color: #203427;
}

.share-poster-glow {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.share-poster-glow.glow-a {
  width: 180px;
  height: 180px;
  right: -72px;
  top: 116px;
  border: 2px solid rgba(240, 199, 40, 0.42);
}

.share-poster-glow.glow-b {
  width: 130px;
  height: 130px;
  right: 36px;
  bottom: 130px;
  background: rgba(247, 222, 78, 0.34);
  filter: blur(1px);
}

.share-poster-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #314532;
  font-size: 11px;
  font-weight: 780;
}

.share-poster-brand span {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 6px;
  background:
    linear-gradient(135deg, transparent 42%, #fff 0 58%, transparent 0),
    linear-gradient(135deg, #3b9566, #f4df4a);
  box-shadow: 0 5px 12px rgba(51, 116, 74, 0.18);
}

.share-poster-kicker {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin: 6px 0 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 246, 174, 0.88);
  color: #6f6b19;
  font-size: 11px;
  font-weight: 820;
  line-height: 1.15;
}

.mobile-share-poster-preview h3 {
  position: relative;
  z-index: 1;
  max-width: 70%;
  margin: 0;
  color: #203427;
  font-size: 29px;
  font-weight: 920;
  line-height: 1.08;
  letter-spacing: 0;
}

.share-poster-lead {
  position: relative;
  z-index: 1;
  max-width: 68%;
  margin: 0;
  color: rgba(39, 52, 43, 0.76);
  font-size: 12px;
  font-weight: 580;
  line-height: 1.45;
}

.share-poster-book {
  position: absolute;
  z-index: 2;
  top: 104px;
  right: 20px;
  width: 92px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.share-poster-book img {
  width: 84px;
  height: 112px;
  display: block;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 14px 30px rgba(50, 45, 20, 0.24);
}

.share-poster-book strong {
  display: block;
  overflow: hidden;
  color: #203427;
  font-size: 13px;
  font-weight: 880;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-poster-book div {
  display: none;
}

.share-poster-book span {
  display: block;
  color: rgba(48, 58, 50, 0.68);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.2;
}

.share-poster-quote {
  position: relative;
  z-index: 1;
  margin: 6px 0 0;
  padding: 12px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  color: #2b3c31;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.5;
  box-shadow: inset 0 0 0 1px rgba(39, 52, 43, 0.06);
}

.share-poster-points {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.share-poster-points li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #314532;
  font-size: 11px;
  font-weight: 740;
  line-height: 1.25;
}

.share-poster-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e8d900;
  box-shadow: 0 0 0 4px rgba(236, 219, 36, 0.16);
}

.share-poster-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 10px 10px 10px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(51, 45, 18, 0.11);
}

.share-poster-footer strong,
.share-poster-footer span {
  display: block;
}

.share-poster-footer strong {
  color: #203427;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.share-poster-footer span {
  margin-top: 4px;
  color: rgba(48, 58, 50, 0.68);
  font-size: 10px;
  font-weight: 650;
}

.share-poster-qr {
  width: 58px;
  height: 58px;
  display: block;
  padding: 5px;
  border-radius: 10px;
  background: #fffef6;
  box-shadow: inset 0 0 0 1px rgba(50, 61, 52, 0.08);
}

.mobile-share-cancel {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(35, 49, 36, 0.08);
  border-radius: 16px;
  background: #fff;
  color: #26332b;
  font: inherit;
  font-size: 15px;
  font-weight: 760;
  box-shadow: 0 10px 24px rgba(20, 26, 21, 0.07);
}

body.qinghe-share-open {
  overflow: hidden;
}

.mobile-share-layer,
.mobile-share-sheet,
.mobile-share-poster-frame {
  touch-action: pan-y;
  pointer-events: auto;
}

body.qinghe-share-open .mobile-bottom-nav,
body.qinghe-share-open .mobile-detail-dock,
body.qinghe-share-open .current-listening-card:not(.handoff-home-player),
body.qinghe-share-open .mobile-listen-topbar,
body.qinghe-share-open .mobile-video-center-toggle,
body.qinghe-share-open .mobile-video-bottom-bar {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate3d(0, 18px, 0) !important;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-share-backdrop {
    animation: mobile-share-fade 180ms ease both;
  }

  .mobile-share-sheet {
    animation: mobile-share-rise 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
    transform-origin: 50% 100%;
    will-change: transform, opacity;
  }

  @keyframes mobile-share-fade {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes mobile-share-rise {
    from {
      opacity: 0;
      transform: scale(0.985);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}

@media (min-width: 721px) {
  .mobile-share-layer {
    align-items: center;
    padding: 24px;
  }

  .mobile-share-sheet {
    border-radius: 24px;
    border-bottom: 1px solid rgba(35, 49, 36, 0.08);
    padding-bottom: 18px;
  }
}

@media (max-width: 720px) {
  .mobile-share-layer {
    inset: 0 0 auto;
    height: var(--qinghe-visual-viewport-height, 100vh);
    min-height: var(--qinghe-visual-viewport-height, 100vh);
  }

  .mobile-share-sheet {
    width: 100%;
  }

  html[data-qinghe-viewport-obstructed] .mobile-share-sheet {
    border-radius: 22px 22px 0 0;
  }

  .toast.show {
    z-index: 1160 !important;
  }
}

@media (max-width: 380px) {
  .mobile-share-sheet {
    row-gap: 11px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .mobile-share-target-icon {
    width: 42px;
    height: 42px;
  }

  .mobile-share-poster-preview {
    width: min(82vw, 278px);
    padding: 16px;
  }

  .mobile-share-poster-preview h3 {
    font-size: 26px;
  }

  .share-poster-book {
    top: 86px;
    right: 16px;
    width: 92px;
  }

  .share-poster-book img {
    width: 76px;
    height: 102px;
  }
}

/* Design76: final mobile detail dock repair for clean comment/favorite controls. */
@media (max-width: 720px) {
  body:has(.detail-main) .mobile-detail-dock {
    right: 8px !important;
    left: 8px !important;
    grid-template-columns: minmax(0, 1fr) 58px 58px !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: calc(68px + env(safe-area-inset-bottom)) !important;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom)) !important;
    border: 1px solid rgba(34, 48, 38, 0.1) !important;
    border-bottom: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    background: rgba(255, 255, 252, 0.9) !important;
    box-shadow: 0 -16px 38px rgba(18, 24, 19, 0.1) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.18) !important;
    backdrop-filter: blur(22px) saturate(1.18) !important;
  }

  body:has(.detail-main) .mobile-note-form {
    min-width: 0 !important;
    height: 52px !important;
    border-radius: 18px !important;
  }

  body:has(.detail-main) .mobile-dock-comment,
  body:has(.detail-main) .mobile-dock-favorite {
    position: relative !important;
    width: 58px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    height: 54px !important;
    min-height: 54px !important;
    display: grid !important;
    grid-template-rows: 30px 14px !important;
    place-items: center !important;
    align-content: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 4px 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: transparent !important;
    color: #24342b !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-dock-comment:hover,
  body:has(.detail-main) .mobile-dock-favorite:hover,
  body:has(.detail-main) .mobile-dock-favorite.active {
    background: rgba(40, 64, 45, 0.06) !important;
  }

  body:has(.detail-main) .mobile-dock-comment span,
  body:has(.detail-main) .mobile-dock-favorite span {
    grid-row: 1 !important;
    position: relative !important;
    width: 28px !important;
    height: 28px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    color: currentColor !important;
  }

  body:has(.detail-main) .mobile-dock-comment span {
    box-sizing: border-box !important;
    border: 2px solid currentColor !important;
    border-radius: 9px !important;
    background: transparent !important;
  }

  body:has(.detail-main) .mobile-dock-comment span::before {
    content: "" !important;
    position: absolute !important;
    right: 4px !important;
    bottom: -5px !important;
    width: 8px !important;
    height: 8px !important;
    border-right: 2px solid currentColor !important;
    border-bottom: 2px solid currentColor !important;
    border-radius: 0 0 4px 0 !important;
    background: rgba(255, 255, 252, 0.9) !important;
    transform: rotate(38deg) !important;
  }

  body:has(.detail-main) .mobile-dock-comment span::after {
    content: "" !important;
    position: absolute !important;
    top: 9px !important;
    left: 7px !important;
    width: 10px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    box-shadow: 0 5px 0 currentColor !important;
  }

  body:has(.detail-main) .mobile-dock-favorite span::before {
    content: "♡" !important;
    position: absolute !important;
    inset: -3px 0 0 !important;
    display: grid !important;
    place-items: center !important;
    color: currentColor !important;
    font-family: Arial, sans-serif !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-dock-favorite.active span::before {
    content: "♥" !important;
    color: #d24c3f !important;
  }

  body:has(.detail-main) .mobile-dock-comment em,
  body:has(.detail-main) .mobile-dock-favorite em {
    grid-row: 2 !important;
    width: 100% !important;
    margin: 0 !important;
    overflow: visible !important;
    color: currentColor !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-dock-comment strong {
    position: absolute !important;
    top: 2px !important;
    right: 8px !important;
    z-index: 2 !important;
    min-width: 16px !important;
    height: 16px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 4px !important;
    border: 2px solid rgba(255, 255, 252, 0.94) !important;
    border-radius: 999px !important;
    background: #f6d34f !important;
    color: #27342b !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 4px 10px rgba(67, 72, 42, 0.14) !important;
  }

  html[data-qinghe-comment-focused] body:has(.detail-main) .mobile-detail-dock {
    grid-template-columns: minmax(0, 1fr) 58px 58px !important;
  }
}

@media (max-width: 360px) {
  body:has(.detail-main) .mobile-detail-dock {
    grid-template-columns: minmax(0, 1fr) 54px 54px !important;
    gap: 6px !important;
    padding-right: 6px !important;
    padding-left: 6px !important;
  }

  body:has(.detail-main) .mobile-dock-comment,
  body:has(.detail-main) .mobile-dock-favorite {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
  }
}

/* Design77: keep fixed mobile controls clear of browser bottom chrome. */
@media (max-width: 720px) {
  :root {
    --qinghe-mobile-fixed-gap: 0px;
    --qinghe-mobile-nav-height: 58px;
    --qinghe-mobile-player-gap: 14px;
  }

  .mobile-bottom-nav {
    bottom: calc(var(--qinghe-mobile-fixed-gap) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    will-change: bottom;
  }

  html[data-qinghe-viewport-obstructed] .mobile-bottom-nav {
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    max-width: 430px !important;
    margin: 0 auto !important;
    border: 1px solid rgba(34, 48, 38, 0.1) !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 252, 0.82) !important;
    box-shadow:
      0 14px 34px rgba(18, 24, 19, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.84) inset !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.16) !important;
    backdrop-filter: blur(22px) saturate(1.16) !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player),
  body.profile-page .current-listening-card,
  body.profile-page .profile-sub-screen .current-listening-card,
  body.profile-page .profile-rank-screen .current-listening-card,
  body.profile-page .profile-notes-screen .current-listening-card {
    bottom: calc(
      var(--qinghe-mobile-nav-height) +
      var(--qinghe-mobile-player-gap) +
      var(--qinghe-mobile-fixed-gap) +
      var(--qinghe-viewport-bottom-inset, 0px)
    ) !important;
    will-change: bottom;
  }

  body:not(.profile-page) #app.site-main {
    padding-bottom: calc(214px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body.profile-page,
  body.profile-page .site-main.profile-main,
  body.profile-page .profile-mobile-screen {
    padding-bottom: calc(198px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    scroll-padding-bottom: calc(198px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .detail-main {
    padding-bottom: calc(142px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .mobile-comments-section,
  body:has(.detail-main) .detail-tabs-section .detail-section.mobile-comments-section {
    padding-bottom: calc(132px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    scroll-margin-bottom: calc(148px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .mobile-detail-dock {
    bottom: var(--qinghe-viewport-bottom-inset, 0px) !important;
    will-change: bottom;
  }

  html[data-qinghe-viewport-obstructed] body:has(.detail-main) .mobile-detail-dock {
    bottom: calc(6px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    border-bottom: 1px solid rgba(34, 48, 38, 0.1) !important;
    border-radius: 22px !important;
    box-shadow:
      0 16px 38px rgba(18, 24, 19, 0.13),
      0 1px 0 rgba(255, 255, 255, 0.84) inset !important;
  }

  .mobile-playlist-sheet,
  .mobile-share-layer {
    max-height: var(--qinghe-visual-viewport-height, 100vh) !important;
  }

  body.qinghe-share-open .mobile-listen-topbar,
  body.qinghe-share-open .mobile-video-center-toggle,
  body.qinghe-share-open .mobile-video-bottom-bar {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .mobile-bottom-nav,
  body:not(.profile-page) .current-listening-card:not(.handoff-home-player),
  body.profile-page .current-listening-card,
  body.profile-page .profile-sub-screen .current-listening-card,
  body.profile-page .profile-rank-screen .current-listening-card,
  body.profile-page .profile-notes-screen .current-listening-card,
  body:has(.detail-main) .mobile-detail-dock {
    transition:
      bottom 220ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 180ms ease,
      visibility 180ms ease,
      transform 220ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  }
}

@media (max-width: 360px) {
  html[data-qinghe-viewport-obstructed] .mobile-bottom-nav {
    right: 8px !important;
    left: 8px !important;
  }

  body.profile-page,
  body.profile-page .site-main.profile-main,
  body.profile-page .profile-mobile-screen {
    padding-bottom: calc(190px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }
}

/* Design81: final share overlay guard against older video-control overrides. */
@media (max-width: 720px) {
  body.qinghe-share-open .detail-hero-video-first .media-card.is-video-mode .mobile-listen-topbar,
  body.qinghe-share-open .detail-hero-video-first .media-card.is-video-mode .mobile-video-center-toggle,
  body.qinghe-share-open .detail-hero-video-first .media-card.is-video-mode .mobile-video-bottom-bar,
  body.qinghe-share-open .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-listen-topbar,
  body.qinghe-share-open .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-video-center-toggle,
  body.qinghe-share-open .detail-hero-video-first .media-card.is-video-mode.mobile-video-overlay-visible .mobile-video-bottom-bar {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(0, 18px, 0) !important;
  }
}

/* Design87: mobile detail player, QQ chrome guard, and stable image paint. */
@media (max-width: 720px) {
  body:has(.detail-main) {
    background: #f6f7f3 !important;
  }

  body:has(.detail-main) .detail-main {
    width: 100% !important;
    max-width: none !important;
    padding-bottom: calc(188px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    scroll-padding-bottom: calc(196px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card {
    padding: max(18px, env(safe-area-inset-top)) 18px 24px !important;
    border: 0 !important;
    border-radius: 0 0 24px 24px !important;
    background:
      radial-gradient(circle at 86% 12%, rgba(221, 199, 116, 0.2), transparent 30%),
      linear-gradient(150deg, #151b18 0%, #253229 52%, #141816 100%) !important;
    color: #fff !important;
    box-shadow: 0 18px 42px rgba(21, 27, 22, 0.16) !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    gap: 20px !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 44px minmax(118px, max-content) minmax(0, 1fr) 44px !important;
    gap: 10px !important;
  }

  body:has(.detail-main) .mobile-share {
    grid-column: 4 !important;
    justify-self: end !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  body:has(.detail-main) .mobile-back {
    position: relative !important;
    overflow: hidden !important;
    font-size: 0 !important;
  }

  body:has(.detail-main) .mobile-back::before {
    content: "" !important;
    width: 12px !important;
    height: 12px !important;
    display: block !important;
    border-bottom: 2px solid currentColor !important;
    border-left: 2px solid currentColor !important;
    transform: translateX(2px) rotate(45deg) !important;
  }

  body:has(.detail-main) .mobile-share {
    font-size: 0 !important;
  }

  body:has(.detail-main) .mobile-share::before {
    content: "" !important;
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    border: 2px solid currentColor !important;
    border-top: 0 !important;
    border-radius: 5px !important;
  }

  body:has(.detail-main) .mobile-share::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 9px !important;
    height: 9px !important;
    border-top: 2px solid currentColor !important;
    border-right: 2px solid currentColor !important;
    transform: translate(-2px, -13px) rotate(-45deg) !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 760 !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  body:has(.detail-main) .mobile-video-switch span {
    width: 16px !important;
    height: 16px !important;
    display: inline-block !important;
    border: 2px solid currentColor !important;
    border-radius: 5px !important;
    font-size: 0 !important;
    opacity: 0.9 !important;
  }

  body:has(.detail-main) .mobile-video-switch span::after {
    content: "" !important;
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    margin: 3px 0 0 5px !important;
    border-top: 3px solid transparent !important;
    border-bottom: 3px solid transparent !important;
    border-left: 5px solid currentColor !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    grid-template-columns: 46px minmax(0, 1fr) 46px !important;
    gap: 10px !important;
    row-gap: 7px !important;
  }

  body:has(.detail-main) .mobile-listen-progress button {
    width: 46px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 0 !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-listen-progress button em {
    display: block !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 780 !important;
  }

  body:has(.detail-main) .mobile-listen-progress button strong {
    display: none !important;
  }

  body:has(.detail-main) .mobile-listen-progress input,
  body:has(.detail-main) .mobile-video-progress {
    height: 8px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #f8f6ee 0 var(--progress), rgba(255, 255, 255, 0.24) var(--progress) 100%) !important;
  }

  body:has(.detail-main) .mobile-listen-progress input::-webkit-slider-thumb,
  body:has(.detail-main) .mobile-video-progress::-webkit-slider-thumb {
    width: 22px !important;
    height: 22px !important;
    border: 3px solid rgba(31, 43, 34, 0.2) !important;
    background: #fffefa !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28) !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }

  body:has(.detail-main) .mobile-listen-controls button,
  body:has(.detail-main) .mobile-control-cell > button {
    min-height: 58px !important;
    border: 1px solid transparent !important;
    border-radius: 18px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.72) !important;
    transform: translate3d(0, 0, 0);
    will-change: transform;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 74px !important;
    height: 74px !important;
    min-height: 74px !important;
    border: 0 !important;
    background: #fffefa !important;
    color: #152019 !important;
    box-shadow:
      0 18px 38px rgba(0, 0, 0, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-icon {
    font-size: 24px !important;
  }

  body:has(.detail-main) .mobile-listen-controls em {
    max-width: 68px !important;
    overflow: hidden !important;
    color: currentColor !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
    text-overflow: ellipsis !important;
  }

  body:has(.detail-main) .mobile-control-cell.is-open > button,
  body:has(.detail-main) .mobile-watch-later.active {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }

  body:has(.detail-main) .mobile-control-menu {
    bottom: calc(66px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    border: 1px solid rgba(33, 47, 38, 0.1) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 252, 0.94) !important;
    box-shadow: 0 18px 42px rgba(17, 24, 18, 0.16) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    backdrop-filter: blur(18px) saturate(1.1);
  }

  body:has(.detail-main) .detail-info-panel {
    margin: -8px 14px 0 !important;
    padding: 14px !important;
    border-radius: 14px !important;
    transform: none !important;
  }

  body:has(.detail-main) .mobile-detail-actions button {
    min-height: 46px !important;
    border-color: rgba(34, 48, 38, 0.1) !important;
    border-radius: 12px !important;
    background: #f8faf5 !important;
    color: #24372b !important;
    font-size: 15px !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    margin-top: 22px !important;
    padding-bottom: calc(128px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .detail-tabs-section .detail-section {
    margin-right: 12px !important;
    margin-left: 12px !important;
    border-radius: 14px !important;
  }

  body:has(.detail-main) .mobile-comments-section,
  body:has(.detail-main) .detail-tabs-section .detail-section.mobile-comments-section {
    padding-bottom: calc(176px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .mobile-detail-dock {
    bottom: calc(8px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    border: 1px solid rgba(34, 48, 38, 0.1) !important;
    border-radius: 24px !important;
  }

  html[data-qinghe-viewport-obstructed] body:has(.detail-main) .mobile-detail-dock {
    bottom: calc(12px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  html[data-qinghe-viewport-obstructed] body:has(.detail-main) .detail-main {
    padding-bottom: calc(230px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:not(.profile-page) .cover-loadable-image,
  body:not(.profile-page) .poster-loadable-image {
    opacity: 1 !important;
    transition: none !important;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share,
  body:has(.detail-main) .mobile-video-switch,
  body:has(.detail-main) .mobile-listen-controls button,
  body:has(.detail-main) .mobile-listen-progress button,
  body:has(.detail-main) .mobile-detail-actions button {
    transition:
      transform 180ms cubic-bezier(0.2, 0.82, 0.22, 1),
      background-color 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease !important;
  }

  body:has(.detail-main) .mobile-back:active,
  body:has(.detail-main) .mobile-share:active,
  body:has(.detail-main) .mobile-video-switch:active,
  body:has(.detail-main) .mobile-listen-controls button:active,
  body:has(.detail-main) .mobile-listen-progress button:active,
  body:has(.detail-main) .mobile-detail-actions button:active {
    transform: scale(0.94) translate3d(0, 0, 0) !important;
  }
}

/* Design88: keep fixed mobile actions from covering readable detail content. */
@media (max-width: 720px) {
  body:has(.detail-main) .detail-main {
    padding-bottom: calc(252px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    scroll-padding-bottom: calc(252px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    padding-bottom: calc(220px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .detail-tabs-section .detail-section {
    scroll-margin-bottom: calc(190px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .mobile-detail-dock {
    right: 18px !important;
    left: 18px !important;
    width: auto !important;
    max-width: none !important;
  }

  html[data-qinghe-viewport-obstructed] body:has(.detail-main) .detail-main {
    padding-bottom: calc(292px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }
}

/* Design89: keep posters and covers visible through mobile cache and re-render churn. */
.cover-loadable-image.is-visible,
.poster-loadable-image.is-visible,
.cover-loadable-image[src],
.poster-loadable-image[src] {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 720px) {
  body:not(.profile-page) .cover-loadable-image,
  body:not(.profile-page) .poster-loadable-image {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}

@media (max-width: 360px) {
  body:has(.detail-main) .mobile-detail-dock {
    right: 10px !important;
    left: 10px !important;
  }
}

/* Design90: align and polish the mobile audio player controls. */
@media (max-width: 720px) {
  body:has(.detail-main) {
    overflow-x: hidden !important;
  }

  body:has(.detail-main) .detail-main,
  body:has(.detail-main) .site-main.detail-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: hidden !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    overflow: hidden !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 22px 14px 24px !important;
    box-sizing: border-box !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    gap: 8px !important;
    align-items: center !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share {
    width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 0 !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-back {
    grid-column: 1 !important;
    justify-self: start !important;
  }

  body:has(.detail-main) .mobile-share {
    grid-column: 3 !important;
    justify-self: end !important;
  }

  body:has(.detail-main) .mobile-back::before {
    content: "";
    width: 15px;
    height: 15px;
    border-bottom: 3px solid currentColor;
    border-left: 3px solid currentColor;
    transform: translateX(3px) rotate(45deg);
  }

  body:has(.detail-main) .mobile-share::before {
    content: "";
    width: 18px;
    height: 16px;
    margin-top: 9px;
    border: 3px solid currentColor;
    border-top: 0;
    border-radius: 0 0 6px 6px;
  }

  body:has(.detail-main) .mobile-share::after {
    content: "";
    width: 13px;
    height: 13px;
    position: absolute;
    margin-top: -9px;
    border-top: 3px solid currentColor;
    border-right: 3px solid currentColor;
    transform: rotate(-45deg);
  }

  body:has(.detail-main) .mobile-video-switch {
    grid-column: 2 !important;
    justify-self: center !important;
    width: min(170px, 100%) !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-video-switch span {
    width: 22px !important;
    height: 22px !important;
    display: grid !important;
    flex: 0 0 22px !important;
    place-items: center !important;
    border: 2px solid currentColor !important;
    border-radius: 7px !important;
    font-size: 0 !important;
  }

  body:has(.detail-main) .mobile-video-switch span::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid currentColor;
    transform: translateX(1px);
  }

  body:has(.detail-main) .mobile-listen-progress {
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-rows: 38px 18px !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    align-items: center !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip {
    width: 42px !important;
    height: 38px !important;
    min-height: 38px !important;
    justify-self: center !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0 !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip em {
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip em::after {
    content: none !important;
  }

  body:has(.detail-main) .mobile-listen-progress input,
  body:has(.detail-main) .mobile-video-progress {
    height: 6px !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin-top: 0 !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span:first-of-type {
    justify-self: start !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span:last-of-type {
    justify-self: end !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: 50px 34px 64px 50px 50px !important;
    gap: 5px !important;
    align-items: center !important;
    justify-content: space-between !important;
    justify-items: center !important;
  }

  body:has(.detail-main) .mobile-listen-controls > .mobile-control-cell,
  body:has(.detail-main) .mobile-listen-controls > button {
    min-width: 0 !important;
    width: 100% !important;
  }

  body:has(.detail-main) .mobile-control-cell[data-mobile-menu-cell="timer"] {
    grid-column: 1 !important;
  }

  body:has(.detail-main) .mobile-control-cell[data-mobile-menu-cell="speed"] {
    grid-column: 2 !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    grid-column: 3 !important;
    width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 !important;
    justify-self: center !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: #fffefa !important;
    color: #152019 !important;
    box-shadow:
      0 14px 30px rgba(0, 0, 0, 0.18),
      0 1px 0 rgba(255, 255, 255, 0.9) inset !important;
  }

  body:has(.detail-main) .mobile-watch-later {
    grid-column: 4 !important;
  }

  body:has(.detail-main) .mobile-listen-controls [data-detail-playlist] {
    grid-column: 5 !important;
  }

  body:has(.detail-main) .mobile-control-cell > button,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) .mobile-listen-controls [data-detail-playlist] {
    min-height: 58px !important;
    padding: 6px 0 4px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 1px solid transparent !important;
    border-radius: 16px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.78) !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-icon {
    width: 26px !important;
    height: 26px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 23px !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-listen-controls em {
    width: 100% !important;
    max-width: 48px !important;
    overflow: hidden !important;
    color: currentColor !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-control-cell.is-open > button,
  body:has(.detail-main) .mobile-watch-later.active,
  body:has(.detail-main) .mobile-listen-controls [data-detail-playlist]:active {
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-back {
    grid-column: 1 !important;
    justify-self: start !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-video-switch {
    grid-column: 2 !important;
    justify-self: center !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-share {
    grid-column: 3 !important;
    justify-self: end !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress {
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls {
    grid-template-columns: 50px 34px 64px 50px 50px !important;
    justify-content: space-between !important;
  }
}

@media (max-width: 380px) {
  body:has(.detail-main) .mobile-listen-player {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share {
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: min(166px, 100%) !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    font-size: 15px !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    grid-template-columns: 46px minmax(0, 1fr) 46px !important;
    column-gap: 9px !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip {
    width: 44px !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: 50px 36px 66px 50px 50px !important;
    gap: 4px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 66px !important;
    height: 66px !important;
    min-height: 66px !important;
    border-radius: 21px !important;
  }

  body:has(.detail-main) .mobile-control-cell > button,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) .mobile-listen-controls [data-detail-playlist] {
    min-height: 58px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-icon {
    font-size: 22px !important;
  }

  body:has(.detail-main) .mobile-listen-controls em {
    font-size: 11px !important;
  }
}

/* Design91: keep mobile detail sections centered, readable, and clear of the fixed dock. */
@media (max-width: 720px) {
  body:has(.detail-main) {
    --qinghe-detail-shell: min(430px, calc(100vw - 28px));
    --qinghe-detail-bottom-clearance: calc(178px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px));
    overflow-x: hidden !important;
    background: #f3f4f0 !important;
  }

  body:has(.detail-main) .site-main.detail-main,
  body:has(.detail-main) .detail-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: var(--qinghe-detail-bottom-clearance) !important;
    overflow-x: hidden !important;
    scroll-padding-bottom: var(--qinghe-detail-bottom-clearance) !important;
  }

  body:has(.detail-main) .detail-main::after {
    height: calc(110px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:has(.detail-main) .detail-hero-video-first,
  body:has(.detail-main) .detail-tabs-section {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    box-sizing: border-box !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    overflow: visible !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card,
  body:has(.detail-main) .detail-info-panel,
  body:has(.detail-main) .detail-tabs-section .detail-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card {
    overflow: hidden !important;
  }

  body:has(.detail-main) .detail-info-panel {
    margin-top: 10px !important;
    padding: 14px !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    margin-top: 18px !important;
    padding-bottom: var(--qinghe-detail-bottom-clearance) !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs {
    width: 100% !important;
    margin: 0 auto 12px !important;
    box-sizing: border-box !important;
  }

  body:has(.detail-main) .detail-tabs-section .detail-section {
    margin-bottom: 14px !important;
    padding: 16px !important;
    border-radius: 14px !important;
    overflow: visible !important;
  }

  body:has(.detail-main) .detail-section-head {
    margin-bottom: 12px !important;
  }

  body:has(.detail-main) .detail-section-head h2 {
    font-size: 21px !important;
    line-height: 1.18 !important;
  }

  body:has(.detail-main) .recommend-text,
  body:has(.detail-main) .author-card,
  body:has(.detail-main) .acquire-grid,
  body:has(.detail-main) .mobile-comment-list .book-comment {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(.detail-main) .recommend-text,
  body:has(.detail-main) .author-card {
    padding: 16px !important;
    border-radius: 10px !important;
  }

  body:has(.detail-main) .acquire-grid {
    padding: 14px 16px !important;
    border-radius: 10px !important;
  }

  body:has(.detail-main) .mobile-comments-section,
  body:has(.detail-main) .detail-tabs-section .detail-section.mobile-comments-section {
    min-height: auto !important;
    padding-bottom: 18px !important;
    scroll-margin-bottom: var(--qinghe-detail-bottom-clearance) !important;
  }

  body:has(.detail-main) .mobile-comment-list {
    display: grid !important;
    gap: 14px !important;
    padding-bottom: 0 !important;
  }

  body:has(.detail-main) .mobile-comment-list .book-comment {
    margin: 0 !important;
    padding: 18px !important;
    border-radius: 12px !important;
  }

  body:has(.detail-main) .mobile-detail-dock {
    right: auto !important;
    left: 50% !important;
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    min-height: calc(70px + env(safe-area-inset-bottom)) !important;
    bottom: calc(10px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    grid-template-columns: minmax(0, 1fr) 54px 54px !important;
    gap: 8px !important;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom)) !important;
    border: 1px solid rgba(34, 48, 38, 0.1) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 252, 0.92) !important;
    box-shadow:
      0 16px 38px rgba(18, 24, 19, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.84) inset !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
  }

  html[data-qinghe-comment-focused] body:has(.detail-main) .mobile-detail-dock {
    bottom: calc(10px + var(--qinghe-comment-keyboard-inset, 0px)) !important;
    transform: translateX(-50%) !important;
  }

  html[data-qinghe-viewport-obstructed] body:has(.detail-main) .mobile-detail-dock {
    bottom: calc(14px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    border-radius: 22px !important;
  }

  body:has(.detail-main) .mobile-note-form {
    height: 50px !important;
    min-width: 0 !important;
    border-radius: 16px !important;
  }

  body:has(.detail-main) .mobile-dock-comment,
  body:has(.detail-main) .mobile-dock-favorite {
    width: 54px !important;
    min-width: 54px !important;
    max-width: 54px !important;
  }
}

@media (max-width: 380px) {
  body:has(.detail-main) {
    --qinghe-detail-shell: min(430px, calc(100vw - 24px));
    --qinghe-detail-bottom-clearance: calc(172px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px));
  }

  body:has(.detail-main) .detail-tabs-section .detail-section {
    padding: 15px !important;
  }

  body:has(.detail-main) .recommend-text,
  body:has(.detail-main) .author-card,
  body:has(.detail-main) .acquire-grid {
    padding-right: 14px !important;
    padding-left: 14px !important;
  }
}

/* Launch polish: restore stable, compact home/detail layouts before public testing. */
@media (max-width: 720px) {
  body:not(.profile-page) #app.site-main {
    padding-bottom: calc(148px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
  }

  body:not(.profile-page) .mobile-home {
    width: min(430px, calc(100vw - 24px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    gap: 16px !important;
  }

  body:not(.profile-page) .mobile-activity-banner {
    width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    contain: layout paint !important;
  }

  body:not(.profile-page) .mobile-activity-banner img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
    opacity: 1 !important;
    transition: none !important;
  }

  body:not(.profile-page) .mobile-new-books {
    padding: 16px 14px !important;
    border-radius: 8px !important;
  }

  body:not(.profile-page) .mobile-announcement {
    width: 100% !important;
    padding: 14px 16px 15px !important;
    border: 1px dashed rgba(117, 107, 79, 0.52) !important;
    border-style: dashed !important;
    border-radius: 8px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 252, 0.9), rgba(247, 244, 234, 0.72)),
      #faf7ec !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
    color: #2c302a !important;
  }

  body:not(.profile-page) .mobile-announcement-head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    margin-bottom: 9px !important;
  }

  body:not(.profile-page) .mobile-announcement-head h2 {
    margin: 0 !important;
    color: #2b2c27 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: 950 !important;
  }

  body:not(.profile-page) .mobile-announcement-list {
    display: grid !important;
  }

  body:not(.profile-page) .mobile-announcement-item {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 4px !important;
    min-height: 35px !important;
    padding: 7px 0 8px !important;
  }

  body:not(.profile-page) .mobile-announcement-item p {
    min-width: 0 !important;
    margin: 0 !important;
    color: #3f4138 !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    overflow: visible !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  body:not(.profile-page) .announcement-tag {
    margin-right: 3px !important;
    font-weight: 950 !important;
  }

  body:not(.profile-page) .announcement-tag-green {
    color: #1c6d43 !important;
  }

  body:not(.profile-page) .announcement-tag-gold {
    color: #9a7400 !important;
  }

  body:not(.profile-page) .announcement-tag-orange {
    color: #c36a14 !important;
  }

  body:not(.profile-page) .mobile-feature-book {
    grid-template-columns: 80px minmax(0, 1fr) 44px !important;
    min-height: 112px !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 12px !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .mobile-feature-book > img.cover-loadable-image {
    width: 80px !important;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
    object-fit: cover !important;
  }

  body:not(.profile-page) .mobile-feature-book h3 {
    margin: 6px 0 4px !important;
    font-size: 20px !important;
    line-height: 1.18 !important;
  }

  body:not(.profile-page) .mobile-feature-book p {
    max-height: 42px !important;
    margin: 0 0 6px !important;
    overflow: hidden !important;
    line-height: 1.42 !important;
  }

  body:not(.profile-page) .mobile-feature-book > button.mobile-feature-play-button {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    align-self: center !important;
    justify-self: end !important;
  }

  body:not(.profile-page) .mobile-book-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  body:not(.profile-page) .mobile-book-cover-frame {
    aspect-ratio: 3 / 4 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .mobile-book-cover-frame > img.cover-loadable-image,
  body:not(.profile-page) .mobile-book-tile .cover-loadable-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    transition: none !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    right: 14px !important;
    bottom: calc(70px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    left: 14px !important;
    z-index: 220 !important;
    width: auto !important;
    max-width: 430px !important;
    min-height: 72px !important;
    margin: 0 auto !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 8px 10px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .current-listening-cover,
  body:not(.profile-page) .current-listening-cover img {
    width: 48px !important;
    height: 56px !important;
    border-radius: 7px !important;
    object-fit: cover !important;
  }

  body:not(.profile-page) .current-listening-main {
    grid-template-columns: minmax(0, 1fr) 88px !important;
    grid-template-rows: auto 16px !important;
    gap: 4px 8px !important;
    min-width: 0 !important;
  }

  body:not(.profile-page) .current-listening-head strong {
    font-size: 18px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  body:not(.profile-page) .current-listening-card .detail-play-button.mini-toggle,
  body:not(.profile-page) .mobile-mini-list {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  body:not(.profile-page) .mini-player-progress {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    height: 16px !important;
  }

  body:not(.profile-page) .mobile-bottom-nav {
    right: 14px !important;
    bottom: calc(8px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    left: 14px !important;
    z-index: 210 !important;
    width: auto !important;
    max-width: 430px !important;
    height: calc(56px + env(safe-area-inset-bottom)) !important;
    margin: 0 auto !important;
    padding: 6px 7px max(6px, env(safe-area-inset-bottom)) !important;
    border-radius: 999px !important;
  }

  body:not(.profile-page) .mobile-bottom-nav a {
    min-height: 44px !important;
  }
}

@media (max-width: 720px) {
  body:has(.detail-main) {
    --qinghe-detail-shell: min(430px, calc(100vw - 24px));
    --qinghe-detail-bottom-clearance: calc(118px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px));
  }

  body:has(.detail-main) .detail-main,
  body:has(.detail-main) .site-main.detail-main {
    padding-top: 12px !important;
    padding-bottom: var(--qinghe-detail-bottom-clearance) !important;
    scroll-padding-bottom: var(--qinghe-detail-bottom-clearance) !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card {
    min-height: 0 !important;
    padding: 12px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
  }

  body:has(.detail-main) .media-card-head {
    display: none !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    min-height: 0 !important;
    gap: 13px !important;
    padding: 12px 10px 14px !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 42px minmax(0, 156px) 42px !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: min(156px, 100%) !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 12px !important;
    gap: 7px !important;
    font-size: 13px !important;
  }

  body:has(.detail-main) .mobile-video-switch span {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    grid-template-columns: 40px minmax(0, 1fr) 40px !important;
    grid-template-rows: 32px 14px !important;
    column-gap: 9px !important;
    row-gap: 5px !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip {
    width: 38px !important;
    min-width: 38px !important;
    height: 34px !important;
    min-height: 34px !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip em,
  body:has(.detail-main) .mobile-listen-progress > span {
    font-size: 12px !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: 44px 34px 58px 44px 44px !important;
    gap: 4px !important;
    justify-content: space-between !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    border-radius: 18px !important;
  }

  body:has(.detail-main) .mobile-control-cell > button,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) .mobile-listen-controls [data-detail-playlist] {
    min-height: 50px !important;
    padding: 4px 0 !important;
    gap: 4px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 20px !important;
  }

  body:has(.detail-main) .mobile-listen-controls em {
    max-width: 44px !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .media-stage,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .detail-player {
    display: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-video-mode .media-stage {
    margin-top: 10px !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main) .detail-info-panel {
    margin-top: 12px !important;
    padding: 14px !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    margin-top: 14px !important;
    padding-bottom: 12px !important;
  }

  body:has(.detail-main) .detail-tabs-section .detail-section {
    margin-bottom: 12px !important;
    padding: 14px !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main) .mobile-comments-section,
  body:has(.detail-main) .detail-tabs-section .detail-section.mobile-comments-section {
    padding-bottom: 14px !important;
    scroll-margin-bottom: var(--qinghe-detail-bottom-clearance) !important;
  }

  body:has(.detail-main) .mobile-detail-dock {
    bottom: calc(6px + var(--qinghe-viewport-bottom-inset, 0px)) !important;
    min-height: calc(62px + env(safe-area-inset-bottom)) !important;
    grid-template-columns: minmax(0, 1fr) 48px 48px !important;
    gap: 6px !important;
    padding: 6px 6px max(6px, env(safe-area-inset-bottom)) !important;
    border-radius: 18px !important;
  }

  body:has(.detail-main) .mobile-note-form {
    height: 46px !important;
    border-radius: 14px !important;
  }

  body:has(.detail-main) .mobile-dock-comment,
  body:has(.detail-main) .mobile-dock-favorite {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
  }
}

@media (min-width: 721px) {
  body:not(.profile-page) .site-main {
    width: min(1120px, calc(100% - 56px)) !important;
  }

  body:not(.profile-page) .section-block#latest {
    margin-top: 0 !important;
  }

  body:not(.profile-page) .latest-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr) !important;
    gap: 28px !important;
    align-items: start !important;
  }

  body:not(.profile-page) .latest-feature-poster-image {
    height: auto !important;
    max-height: 420px !important;
    aspect-ratio: 16 / 9.6 !important;
    border-radius: 8px !important;
  }

  body:not(.profile-page) .latest-feature-poster-image .feature-poster-image {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  body:not(.profile-page) .latest-side {
    align-self: start !important;
    display: grid !important;
    gap: 18px !important;
  }

  body:not(.profile-page) .latest-poster {
    padding: 16px !important;
    border-radius: 8px !important;
  }

  body:not(.profile-page) .poster-cover-rail {
    gap: 14px !important;
    align-items: start !important;
  }

  body:not(.profile-page) .poster-cover-item {
    width: 96px !important;
    flex-basis: 96px !important;
  }

  body:not(.profile-page) .poster-cover-pick {
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .poster-cover-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  body:has(.detail-main) .site-main.detail-main {
    width: min(1160px, calc(100% - 56px)) !important;
    padding-top: 32px !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px) !important;
    gap: 28px !important;
    align-items: start !important;
  }

  body:has(.detail-main) .detail-info-panel {
    min-height: 0 !important;
    padding: 24px !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main) .detail-info-panel .detail-copy {
    display: block !important;
    min-width: 0 !important;
  }

  body:has(.detail-main) .mobile-book-summary,
  body:has(.detail-main) .mobile-detail-actions {
    display: none !important;
  }

  body:has(.detail-main) .detail-info-panel h1 {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 40px !important;
    line-height: 1.12 !important;
    overflow-wrap: break-word !important;
  }

  body:has(.detail-main) .detail-info-panel .detail-subtitle {
    max-width: 560px !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  body:has(.detail-main) .detail-info-panel .detail-meta {
    gap: 10px !important;
    line-height: 1.6 !important;
  }

  body:has(.detail-main) .inline-related-panel {
    margin-top: 22px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(35, 49, 36, 0.1) !important;
  }

  body:has(.detail-main) .inline-related-panel .side-recommend-list {
    gap: 10px !important;
  }

  body:has(.detail-main) .inline-related-panel .side-rec-card {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 86px !important;
    padding: 8px !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main) .inline-related-panel .side-rec-card img {
    width: 58px !important;
    border-radius: 6px !important;
  }

  body:has(.detail-main) .inline-related-panel .side-rec-card p {
    display: -webkit-box !important;
    margin: 4px 0 0 !important;
    overflow: hidden !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  body:has(.detail-main) .media-card {
    top: 92px !important;
    padding: 16px !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main) .media-card-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  body:has(.detail-main) .mode-switch {
    flex: 0 0 auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body:has(.detail-main) .mode-switch button {
    min-width: 58px !important;
    min-height: 32px !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    display: none !important;
  }

  body:has(.detail-main) .media-stage {
    aspect-ratio: 16 / 9 !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main) .detail-player {
    border-radius: 8px !important;
  }

  body:has(.detail-main) .detail-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body:has(.detail-main) .detail-side-panel {
    display: none !important;
  }
}

/* Launch polish follow-up: keep desktop home cards inside the viewport and mobile docks quieter. */
@media (max-width: 720px) {
  body:has(.detail-main) {
    --qinghe-detail-bottom-clearance: calc(102px + env(safe-area-inset-bottom) + var(--qinghe-viewport-bottom-inset, 0px));
  }

  body:has(.detail-main) .mobile-detail-dock {
    min-height: calc(56px + env(safe-area-inset-bottom)) !important;
    grid-template-columns: minmax(0, 1fr) 44px 44px !important;
    padding: 5px 6px max(5px, env(safe-area-inset-bottom)) !important;
    border-radius: 16px !important;
  }

  body:has(.detail-main) .mobile-note-form {
    height: 42px !important;
    border-radius: 13px !important;
  }

  body:has(.detail-main) .mobile-dock-comment,
  body:has(.detail-main) .mobile-dock-favorite {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
  }

  body:has(.detail-main) .mobile-dock-comment span,
  body:has(.detail-main) .mobile-dock-favorite span {
    width: 23px !important;
    height: 23px !important;
  }

  body:has(.detail-main) .mobile-dock-comment em,
  body:has(.detail-main) .mobile-dock-favorite em {
    font-size: 10px !important;
    line-height: 1 !important;
  }
}

@media (min-width: 721px) {
  body:not(.profile-page) .latest-side {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .latest-side-bottom {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  body:not(.profile-page) .daily-duration-card,
  body:not(.profile-page) .current-listening-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body:not(.profile-page) .current-listening-card {
    min-height: 142px !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  body:not(.profile-page) .current-listening-cover img {
    width: 72px !important;
  }

  body:not(.profile-page) .current-listening-head strong {
    font-size: 20px !important;
  }

  body:not(.profile-page) .current-listening-head p {
    -webkit-line-clamp: 2 !important;
  }

  body:not(.profile-page) .mini-player-controls {
    display: grid !important;
    grid-template-columns: 44px 48px 44px minmax(62px, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
  }

  body:not(.profile-page) .mini-player-controls .skip-button {
    min-width: 0 !important;
    min-height: 30px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  body:not(.profile-page) .current-listening-card .mobile-mini-list {
    display: none !important;
  }

  body:not(.profile-page) .mini-player-time {
    width: auto !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 1181px) {
  body:not(.profile-page) .latest-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 470px) !important;
  }
}

/* Launch polish: keep desktop hot-shelf play actions close to their covers. */
@media (min-width: 721px) {
  body:not(.profile-page) #hot .hot-shelf {
    grid-template-columns: repeat(7, minmax(116px, 1fr)) !important;
    gap: clamp(18px, 2vw, 28px) !important;
    padding: 18px 10px 22px !important;
    align-items: start !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
  }

  body:not(.profile-page) #hot .rank-card {
    display: grid !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 12px !important;
    min-width: 0 !important;
  }

  body:not(.profile-page) #hot .rank-cover-shell {
    width: min(100%, 138px) !important;
    margin: 0 auto !important;
  }

  body:not(.profile-page) #hot .rank-cover-shell .book-cover.rank {
    transform: none !important;
  }

  body:not(.profile-page) #hot .book-table-shadow {
    right: -4% !important;
    bottom: -18px !important;
    height: 28px !important;
    opacity: 0.55 !important;
    filter: blur(9px) !important;
  }

  body:not(.profile-page) #hot .book-edge-bottom {
    bottom: -6px !important;
    height: 8px !important;
  }

  body:not(.profile-page) #hot .book-edge-right {
    right: -4px !important;
    bottom: -5px !important;
    width: 7px !important;
  }

  body:not(.profile-page) #hot .rank-card .mini-play {
    margin-top: 0 !important;
    min-height: 36px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: transparent !important;
  }
}

/* Launch polish: shared generated avatars for desktop and mobile. */
.qinghe-avatar {
  --qa-size: 54px;
  --qa-face-size: 40px;
  --qa-bg-a: #fff2ae;
  --qa-bg-b: #b7d6bf;
  --qa-bg-c: #f8faf1;
  --qa-hair: #302a24;
  --qa-face: #ffd9b8;
  --qa-cloth: #254734;
  --qa-accent: #f7dd46;
  --qa-mouth: #9f634d;
  position: relative;
  display: inline-grid;
  place-items: center;
  width: var(--qa-size);
  height: var(--qa-size);
  overflow: visible;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.88) 0 12%, transparent 13%),
    radial-gradient(circle at 76% 78%, var(--qa-accent) 0 12%, transparent 13%),
    linear-gradient(145deg, var(--qa-bg-a), var(--qa-bg-b) 58%, var(--qa-bg-c));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 14px 30px rgba(31, 35, 29, 0.12);
  isolation: isolate;
}

.qinghe-avatar .avatar-face,
.qinghe-avatar .profile-avatar-face,
.qinghe-avatar .qinghe-avatar-face {
  position: absolute;
  left: 50%;
  bottom: 15%;
  width: 1em;
  height: 0.98em;
  overflow: visible;
  border-radius: 44% 44% 48% 48%;
  font-size: var(--qa-face-size);
  background:
    radial-gradient(circle at 36% 48%, #29231f 0 5%, transparent 6%),
    radial-gradient(circle at 64% 48%, #29231f 0 5%, transparent 6%),
    radial-gradient(ellipse at 50% 68%, transparent 0 42%, var(--qa-mouth) 43% 49%, transparent 50%),
    radial-gradient(ellipse at 50% 92%, rgba(255, 235, 218, 0.6) 0 15%, transparent 16%),
    var(--qa-face);
  box-shadow:
    0 -0.28em 0 -0.04em var(--qa-hair) inset,
    -0.28em -0.25em 0 -0.06em var(--qa-hair),
    0.25em -0.23em 0 -0.08em var(--qa-hair),
    0 9px 18px rgba(47, 38, 28, 0.16);
  transform: translateX(-50%);
}

.qinghe-avatar .avatar-face::before,
.qinghe-avatar .profile-avatar-face::before,
.qinghe-avatar .qinghe-avatar-face::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.22em;
  width: 0.72em;
  height: 0.36em;
  border-radius: 80% 78% 42% 52%;
  background: var(--qa-hair);
  box-shadow: inset 0 4px 0 rgba(255, 255, 255, 0.12);
  transform: translateX(-50%) rotate(-5deg);
}

.qinghe-avatar .avatar-face::after,
.qinghe-avatar .profile-avatar-face::after,
.qinghe-avatar .qinghe-avatar-face::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.2em;
  width: 0.56em;
  height: 0.26em;
  border-radius: 50% 50% 34% 34%;
  background: var(--qa-cloth);
  transform: translateX(-50%);
  z-index: -1;
}

.qinghe-avatar .avatar-badge,
.qinghe-avatar .qinghe-avatar-badge {
  position: absolute;
  right: 5%;
  bottom: 4%;
  width: 32%;
  height: 32%;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background: var(--qa-accent);
  box-shadow: 0 5px 12px rgba(49, 53, 38, 0.16);
}

.qinghe-avatar .avatar-badge::before,
.qinghe-avatar .qinghe-avatar-badge::before {
  content: "";
  position: absolute;
  left: 35%;
  top: 19%;
  width: 22%;
  height: 48%;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.qinghe-avatar-01 {
  --qa-bg-a: #fff2a6;
  --qa-bg-b: #b7d7bf;
  --qa-hair: #2f2a23;
  --qa-cloth: #274d37;
  --qa-accent: #f7df4c;
}

.qinghe-avatar-02 {
  --qa-bg-a: #f9d3a2;
  --qa-bg-b: #96c7c1;
  --qa-hair: #493229;
  --qa-face: #ffd2ad;
  --qa-cloth: #6b4533;
  --qa-accent: #6bb7a8;
}

.qinghe-avatar-03 {
  --qa-bg-a: #cbe3b8;
  --qa-bg-b: #f6df78;
  --qa-hair: #243b30;
  --qa-face: #ffe1c5;
  --qa-cloth: #345f49;
  --qa-accent: #eebf39;
}

.qinghe-avatar-04 {
  --qa-bg-a: #d9e4fb;
  --qa-bg-b: #f8c9b7;
  --qa-hair: #222f46;
  --qa-face: #f7cba6;
  --qa-cloth: #334a74;
  --qa-accent: #ffbd80;
}

.qinghe-avatar-05 {
  --qa-bg-a: #fbdfec;
  --qa-bg-b: #c9dca7;
  --qa-hair: #593645;
  --qa-face: #ffd8ba;
  --qa-cloth: #7e4f61;
  --qa-accent: #a4c878;
}

.qinghe-avatar-06 {
  --qa-bg-a: #d1eadb;
  --qa-bg-b: #f5c871;
  --qa-hair: #63412b;
  --qa-face: #f8c8a1;
  --qa-cloth: #8a5a2f;
  --qa-accent: #5aa66f;
}

.qinghe-avatar-07 {
  --qa-bg-a: #f8f0b8;
  --qa-bg-b: #adc4e8;
  --qa-hair: #34303f;
  --qa-face: #ffe5cb;
  --qa-cloth: #4e577d;
  --qa-accent: #f2cf4b;
}

.qinghe-avatar-08 {
  --qa-bg-a: #c7eadf;
  --qa-bg-b: #f5d0a0;
  --qa-hair: #22504c;
  --qa-face: #ffd5b1;
  --qa-cloth: #23605a;
  --qa-accent: #eea54c;
}

.qinghe-avatar-09 {
  --qa-bg-a: #efd8ff;
  --qa-bg-b: #f4e48b;
  --qa-hair: #4c3b58;
  --qa-face: #ffd9bf;
  --qa-cloth: #6a5880;
  --qa-accent: #e0c747;
}

.qinghe-avatar-10 {
  --qa-bg-a: #ffe3b2;
  --qa-bg-b: #9ac5dc;
  --qa-hair: #233a3f;
  --qa-face: #f9caa5;
  --qa-cloth: #2f5d67;
  --qa-accent: #f3c24f;
}

.mobile-login-avatar.qinghe-avatar {
  --qa-size: 38px;
  --qa-face-size: 28px;
  padding: 0;
  border: 2px solid #fff;
}

.mobile-auth-avatar.qinghe-avatar {
  --qa-size: 46px;
  --qa-face-size: 34px;
  display: inline-grid !important;
  color: transparent !important;
  font-size: 0 !important;
}

.profile-mobile-avatar.qinghe-avatar {
  --qa-size: 62px;
  --qa-face-size: 45px;
  display: inline-grid;
  flex: 0 0 62px;
  overflow: visible;
  border: 3px solid rgba(255, 255, 255, 0.9);
}

@media (max-width: 720px) {
  .user-avatar.qinghe-avatar {
    --qa-size: 44px;
    --qa-face-size: 32px;
  }
}

/* Launch polish: compact mobile detail audio player with clearer controls. */
@media (max-width: 720px) {
  body:has(.detail-main) {
    --qinghe-detail-shell: min(430px, calc(100vw - 24px));
  }

  body:has(.detail-main) .site-main.detail-main,
  body:has(.detail-main) .detail-main {
    padding-top: 4px !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    margin-top: 0 !important;
    gap: 10px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin: 0 auto !important;
    padding: 9px !important;
    border-radius: 10px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    min-height: 0 !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    min-height: 0 !important;
    gap: 8px !important;
    padding: 9px 8px 10px !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 36px minmax(0, 146px) 36px !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: center !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share {
    position: relative !important;
    display: inline-grid !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-back::before {
    content: "" !important;
    width: 11px !important;
    height: 11px !important;
    border: solid rgba(255, 255, 255, 0.94) !important;
    border-width: 0 0 2px 2px !important;
    transform: translateX(2px) rotate(45deg) !important;
  }

  body:has(.detail-main) .mobile-share::before {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    top: 15px !important;
    width: 11px !important;
    height: 11px !important;
    border: 2px solid rgba(255, 255, 255, 0.94) !important;
    border-top: 0 !important;
    border-radius: 3px !important;
  }

  body:has(.detail-main) .mobile-share::after {
    content: "" !important;
    position: absolute !important;
    left: 16px !important;
    top: 9px !important;
    width: 8px !important;
    height: 8px !important;
    border: solid rgba(255, 255, 255, 0.94) !important;
    border-width: 2px 2px 0 0 !important;
    transform: rotate(-45deg) !important;
    box-shadow: 4px 4px 0 -2px rgba(255, 255, 255, 0.94) !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: 146px !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    gap: 7px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-video-switch span {
    position: relative !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.92) !important;
    border-radius: 6px !important;
    color: transparent !important;
    font-size: 0 !important;
  }

  body:has(.detail-main) .mobile-video-switch span::before {
    content: "" !important;
    position: absolute !important;
    left: 6px !important;
    top: 4px !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 4px solid transparent !important;
    border-bottom: 4px solid transparent !important;
    border-left: 6px solid rgba(255, 255, 255, 0.94) !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    grid-template-columns: 36px minmax(0, 1fr) 36px !important;
    grid-template-rows: 30px 14px !important;
    column-gap: 8px !important;
    row-gap: 3px !important;
    align-items: center !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip {
    position: relative !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 30px !important;
    min-height: 30px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 0 !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip strong {
    display: none !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip em {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    transform: translate(-50%, -50%) !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip::before {
    content: "" !important;
    position: absolute !important;
    top: 8px !important;
    width: 9px !important;
    height: 9px !important;
    border: solid rgba(255, 255, 255, 0.78) !important;
    border-width: 2px 2px 0 0 !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip-back::before {
    left: 7px !important;
    transform: rotate(-135deg) !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip-next::before {
    right: 7px !important;
    transform: rotate(45deg) !important;
  }

  body:has(.detail-main) .mobile-listen-progress input {
    height: 16px !important;
  }

  body:has(.detail-main) .mobile-listen-progress input::-webkit-slider-thumb {
    width: 22px !important;
    height: 22px !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span {
    font-size: 11px !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: 42px 32px 52px 42px 42px !important;
    gap: 3px !important;
    align-items: end !important;
    justify-content: space-between !important;
  }

  body:has(.detail-main) .mobile-control-cell > button,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) .mobile-listen-controls [data-detail-playlist] {
    min-height: 42px !important;
    padding: 2px 0 !important;
    gap: 2px !important;
    border-radius: 10px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 52px !important;
    min-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    border-radius: 16px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-icon {
    width: 19px !important;
    height: 19px !important;
    font-size: 18px !important;
  }

  body:has(.detail-main) .mobile-listen-controls em {
    max-width: 42px !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
  }

  body:has(.detail-main) .mobile-book-summary {
    padding: 14px 12px !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 34px minmax(0, 136px) 34px !important;
    gap: 7px !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: 136px !important;
    height: 34px !important;
    min-height: 34px !important;
    font-size: 12px !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: 39px 30px 50px 39px 39px !important;
  }
}

/* Launch polish: align desktop latest section and refine mobile player icons. */
@media (min-width: 721px) {
  body:not(.profile-page) .section-block#latest {
    width: min(1160px, calc(100vw - 96px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body:not(.profile-page) .latest-layout {
    display: grid !important;
    grid-template-columns: minmax(470px, 0.94fr) minmax(500px, 1fr) !important;
    gap: clamp(28px, 3.4vw, 44px) !important;
    align-items: start !important;
  }

  body:not(.profile-page) .latest-feature-poster-image {
    width: 100% !important;
    max-width: 590px !important;
    justify-self: start !important;
    aspect-ratio: 1.52 / 1 !important;
    max-height: none !important;
  }

  body:not(.profile-page) .latest-side {
    width: 100% !important;
    max-width: 620px !important;
    justify-self: end !important;
    display: grid !important;
    grid-template-rows: auto auto !important;
    gap: 18px !important;
    align-self: start !important;
    overflow: visible !important;
  }

  body:not(.profile-page) .latest-poster,
  body:not(.profile-page) .daily-duration-card,
  body:not(.profile-page) .current-listening-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body:not(.profile-page) .latest-poster {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .poster-cover-rail {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    align-items: start !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  body:not(.profile-page) .poster-cover-item {
    width: 100% !important;
    flex: none !important;
    display: grid !important;
    justify-items: center !important;
    gap: 12px !important;
  }

  body:not(.profile-page) .poster-cover-pick {
    width: 100% !important;
    max-width: 108px !important;
    aspect-ratio: 3 / 4 !important;
  }

  body:not(.profile-page) .latest-poster-play {
    align-self: center !important;
    min-width: 72px !important;
    height: 30px !important;
    padding: 0 10px !important;
    justify-content: center !important;
    transform: none !important;
  }

  body:not(.profile-page) .latest-side-bottom {
    display: grid !important;
    grid-template-columns: minmax(230px, 0.82fr) minmax(260px, 1fr) !important;
    gap: 22px !important;
    width: 100% !important;
    align-items: center !important;
  }

  body:not(.profile-page) .daily-duration-card {
    display: grid !important;
    justify-items: center !important;
    text-align: center !important;
    min-height: 142px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    align-content: center !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    min-height: 112px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    align-items: center !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-cover img {
    width: 68px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-main {
    align-content: center !important;
  }

  body:not(.profile-page) .duration-head {
    text-align: center !important;
    gap: 2px !important;
  }

  body:not(.profile-page) .duration-head span {
    font-size: 12px !important;
  }

  body:not(.profile-page) .duration-head strong {
    font-size: 27px !important;
    line-height: 1.05 !important;
  }

  body:not(.profile-page) .duration-bars {
    width: min(230px, 100%) !important;
    height: 58px !important;
    justify-content: center !important;
    margin: 8px auto 0 !important;
    gap: 5px !important;
  }

  body:not(.profile-page) .duration-bar-item {
    gap: 3px !important;
  }

  body:not(.profile-page) .duration-bar {
    width: 14px !important;
    max-height: 28px !important;
  }

  body:not(.profile-page) .duration-bar-item em,
  body:not(.profile-page) .duration-bar-item small {
    font-size: 10px !important;
  }

  body:not(.profile-page) .duration-foot {
    width: min(230px, 100%) !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 6px auto 0 !important;
    font-size: 11px !important;
  }

  body:not(.profile-page) .duration-tabs {
    height: 30px !important;
    margin: 7px auto 0 !important;
    padding: 3px !important;
  }

  body:not(.profile-page) .duration-tabs button {
    min-width: 30px !important;
    height: 24px !important;
    min-height: 24px !important;
    font-size: 12px !important;
  }

  body:not(.profile-page) .current-listening-head strong {
    font-size: 20px !important;
    line-height: 1.1 !important;
  }

  body:not(.profile-page) .current-listening-head p {
    margin-top: 6px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 1 !important;
  }

  body:not(.profile-page) .mini-player-progress {
    height: 10px !important;
    margin-top: 5px !important;
  }

  body:not(.profile-page) .mini-player-controls {
    margin-top: 4px !important;
  }

  body:not(.profile-page) .mini-player-time {
    font-size: 12px !important;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  body:not(.profile-page) .latest-layout {
    grid-template-columns: 1fr !important;
  }

  body:not(.profile-page) .latest-feature-poster-image,
  body:not(.profile-page) .latest-side {
    max-width: 100% !important;
    justify-self: stretch !important;
  }
}

@media (max-width: 720px) {
  body:has(.detail-main) .mobile-listen-player {
    padding: 10px 10px 12px !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 42px minmax(0, 150px) 42px !important;
    gap: 10px !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  body:has(.detail-main) .mobile-back::before {
    width: 12px !important;
    height: 12px !important;
    transform: translateX(3px) rotate(45deg) !important;
  }

  body:has(.detail-main) .mobile-share::before {
    left: 14px !important;
    top: 19px !important;
    width: 12px !important;
    height: 10px !important;
    border-width: 2px !important;
    border-top: 0 !important;
    border-radius: 4px !important;
  }

  body:has(.detail-main) .mobile-share::after {
    left: 17px !important;
    top: 9px !important;
    width: 8px !important;
    height: 8px !important;
    border-width: 2px 2px 0 0 !important;
    box-shadow: 4px 4px 0 -2px rgba(255, 255, 255, 0.94) !important;
  }

  body:has(.detail-main) .mobile-share span,
  body:has(.detail-main) .mobile-back span {
    display: none !important;
  }

  body:has(.detail-main) .mobile-back:has(svg)::before,
  body:has(.detail-main) .mobile-back:has(svg)::after,
  body:has(.detail-main) .mobile-share:has(svg)::before,
  body:has(.detail-main) .mobile-share:has(svg)::after {
    content: none !important;
  }

  body:has(.detail-main) .mobile-back svg,
  body:has(.detail-main) .mobile-share svg {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    stroke: rgba(255, 255, 255, 0.94) !important;
    stroke-width: 2.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: 150px !important;
    height: 38px !important;
    min-height: 38px !important;
    justify-content: center !important;
    font-size: 13px !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    grid-template-rows: 30px 16px !important;
    column-gap: 10px !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip {
    width: 42px !important;
    min-width: 42px !important;
    height: 30px !important;
    min-height: 30px !important;
    overflow: hidden !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip::after {
    content: "" !important;
    position: absolute !important;
    top: 10px !important;
    width: 7px !important;
    height: 7px !important;
    border: solid rgba(255, 255, 255, 0.64) !important;
    border-width: 2px 2px 0 0 !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip::before {
    top: 10px !important;
    width: 7px !important;
    height: 7px !important;
    border-width: 2px 2px 0 0 !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip-back::before {
    left: 6px !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip-next::before {
    right: 6px !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip-back::after {
    left: 10px !important;
    transform: rotate(-135deg) !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip-next::after {
    right: 10px !important;
    transform: rotate(45deg) !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip em {
    left: 50% !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip-back em {
    transform: translate(-34%, -50%) !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip-next em {
    transform: translate(-66%, -50%) !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip:has(.mobile-skip-icon) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    padding: 0 4px !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip:has(.mobile-skip-icon)::before,
  body:has(.detail-main) .mobile-listen-progress .mobile-skip:has(.mobile-skip-icon)::after {
    content: none !important;
  }

  body:has(.detail-main) .mobile-skip-icon {
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    flex: 0 0 12px !important;
    stroke: rgba(255, 255, 255, 0.82) !important;
    stroke-width: 2.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    fill: none !important;
  }

  body:has(.detail-main) .mobile-listen-progress .mobile-skip:has(.mobile-skip-icon) em {
    position: static !important;
    transform: none !important;
    flex: 0 0 auto !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: repeat(2, 50px) 58px repeat(2, 50px) !important;
    gap: 5px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body:has(.detail-main) .mobile-control-cell > button,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) .mobile-listen-controls [data-detail-playlist] {
    display: grid !important;
    place-items: center !important;
    justify-content: center !important;
    align-content: center !important;
    min-height: 46px !important;
    padding: 2px 0 !important;
    gap: 3px !important;
    text-align: center !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    min-height: 58px !important;
    place-self: center !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-icon {
    display: grid !important;
    place-items: center !important;
    margin: 0 auto !important;
  }

  body:has(.detail-main) .mobile-listen-controls em {
    display: block !important;
    width: 50px !important;
    max-width: 50px !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 40px minmax(0, 144px) 40px !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-share {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: 144px !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: repeat(2, 48px) 56px repeat(2, 48px) !important;
    gap: 3px !important;
  }
}

/* Launch polish: player6 final alignment, pending video, avatar and mobile sheet fixes. */
@media (min-width: 721px) {
  body:not(.profile-page) .section-block#latest {
    width: min(1200px, calc(100vw - 92px)) !important;
  }

  body:not(.profile-page) .latest-layout {
    grid-template-columns: minmax(520px, 0.95fr) minmax(575px, 1fr) !important;
    gap: clamp(36px, 4vw, 58px) !important;
  }

  body:not(.profile-page) .latest-feature-poster-image {
    max-width: 620px !important;
  }

  body:not(.profile-page) .latest-side {
    max-width: 675px !important;
    gap: 22px !important;
  }

  body:not(.profile-page) .poster-cover-rail {
    grid-template-columns: repeat(4, minmax(118px, 1fr)) !important;
    gap: 24px !important;
    align-items: end !important;
  }

  body:not(.profile-page) .poster-cover-pick {
    max-width: 132px !important;
    overflow: visible !important;
  }

  body:not(.profile-page) .poster-cover-caption,
  body:not(.profile-page) .poster-cover-pick::after {
    display: none !important;
    content: none !important;
  }

  body:not(.profile-page) .latest-poster-play {
    height: 34px !important;
    margin-top: 3px !important;
    padding: 0 12px !important;
  }

  body:not(.profile-page) .latest-side-bottom {
    grid-template-columns: minmax(265px, 0.95fr) minmax(315px, 1fr) !important;
    min-height: 218px !important;
    padding: 24px 28px !important;
    gap: 24px !important;
    border: 1px solid rgba(55, 71, 53, 0.08) !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 242, 0.74)) !important;
    box-shadow: 0 22px 46px rgba(38, 48, 35, 0.08) !important;
    align-items: center !important;
  }

  body:not(.profile-page) .daily-duration-card,
  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .daily-duration-card {
    min-height: 160px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    min-height: 154px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-cover img {
    width: 86px !important;
  }

  body:not(.profile-page) .current-listening-head strong {
    font-size: 24px !important;
  }

  body:not(.profile-page) .current-listening-head p {
    -webkit-line-clamp: 2 !important;
  }

  body:not(.profile-page) .mini-player-progress {
    margin-top: 10px !important;
  }

  body:not(.profile-page) .mini-player-controls {
    margin-top: 8px !important;
  }
}

body.profile-page .profile-mobile-avatar.qinghe-avatar,
body.profile-page .profile-mobile-avatar.qinghe-avatar-01,
.mobile-login-avatar.qinghe-avatar,
.mobile-auth-avatar.qinghe-avatar {
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.94) 0 22%, transparent 23%),
    linear-gradient(145deg, var(--qa-bg-1, #f2eeb7), var(--qa-bg-2, #8bb980)) !important;
  border: 3px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 16px 28px rgba(63, 82, 59, 0.16) !important;
  overflow: hidden !important;
}

body.profile-page .profile-mobile-avatar.qinghe-avatar .profile-avatar-face,
body.profile-page .profile-mobile-avatar.qinghe-avatar .qinghe-avatar-face {
  position: absolute !important;
  left: 50% !important;
  top: 52% !important;
  width: 54% !important;
  height: 42% !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 45% 45% 50% 50% !important;
  background: var(--qa-face, #314331) !important;
}

body.profile-page .profile-mobile-avatar.qinghe-avatar .profile-avatar-face::before,
body.profile-page .profile-mobile-avatar.qinghe-avatar .qinghe-avatar-face::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: -42% !important;
  width: 74% !important;
  height: 62% !important;
  transform: translateX(-50%) !important;
  border-radius: 50% 50% 42% 42% !important;
  background: var(--qa-hair, #56463c) !important;
}

body.profile-page .profile-mobile-avatar.qinghe-avatar .profile-avatar-face::after,
body.profile-page .profile-mobile-avatar.qinghe-avatar .qinghe-avatar-face::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 42% !important;
  width: 58% !important;
  height: 16% !important;
  transform: translateX(-50%) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

.video-pending-state {
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  gap: 12px !important;
  min-height: 360px !important;
  width: 100% !important;
  border-radius: 8px !important;
  background:
    linear-gradient(135deg, rgba(255, 246, 112, 0.78), rgba(92, 142, 98, 0.64)),
    url("assets/covers/fitness-nutrition.jpg") center / 150px auto no-repeat !important;
  color: #263a2c !important;
  text-align: center !important;
}

.video-pending-state strong {
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.1 !important;
}

.video-pending-state span {
  max-width: 280px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.detail-player.is-unavailable {
  display: none !important;
}

@media (max-width: 720px) {
  body:has(.detail-main) .media-card.is-video-mode:has(.video-pending-state) {
    min-height: auto !important;
    padding-bottom: 16px !important;
  }

  body:has(.detail-main) .video-pending-state {
    min-height: 360px !important;
    border-radius: 14px !important;
    background:
      linear-gradient(135deg, rgba(255, 246, 112, 0.82), rgba(92, 142, 98, 0.66)),
      url("assets/covers/fitness-nutrition.jpg") center 42% / 132px auto no-repeat !important;
  }

  body:has(.detail-main) .media-card.is-audio-mode {
    overflow: visible !important;
    margin-bottom: 16px !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    position: relative !important;
    z-index: 3 !important;
    margin-bottom: 0 !important;
    border-radius: 14px !important;
  }

  body:has(.detail-main) .detail-book {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 14px !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .mobile-video-switch .mobile-video-switch-icon {
    display: grid !important;
    place-items: center !important;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    line-height: 1 !important;
    position: static !important;
    color: rgba(255, 255, 255, 0.94) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
  }

  body:has(.detail-main) .mobile-video-switch .mobile-video-switch-icon::before,
  body:has(.detail-main) .mobile-video-switch .mobile-video-switch-icon::after {
    content: none !important;
  }

  body:has(.detail-main) .mobile-video-switch .mobile-video-switch-icon svg {
    display: block !important;
    width: 19px !important;
    height: 19px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body:has(.detail-main) .mobile-video-switch .mobile-video-switch-icon path {
    fill: currentColor !important;
    stroke: none !important;
  }

  .mobile-playlist-sheet {
    height: min(56dvh, 500px) !important;
    min-height: min(46dvh, 390px) !important;
    max-height: min(56dvh, 500px) !important;
    border-radius: 22px 22px 0 0 !important;
    grid-template-rows: auto auto minmax(0, 1fr) !important;
  }

  .mobile-playlist-sheet::before {
    top: 10px !important;
  }

  .mobile-playlist-head {
    padding: 24px 22px 10px !important;
  }

  .mobile-playlist-tabs {
    padding: 0 22px !important;
  }

  .mobile-playlist-list {
    padding: 12px 22px calc(18px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-playlist-item {
    grid-template-columns: minmax(0, 1fr) 28px 32px 32px !important;
    min-height: 72px !important;
    padding: 8px 0 !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .mobile-playlist-item > button:first-child {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
    text-align: left !important;
  }

  .mobile-playlist-item img,
  .mobile-playlist-item .cover-loadable-image {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
  }

  .mobile-playlist-item > button:first-child > span {
    display: block !important;
    min-width: 0 !important;
  }

  .mobile-playlist-item strong {
    display: block !important;
    color: #1f2f26 !important;
    font-size: 18px !important;
    line-height: 1.22 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .mobile-playlist-item small {
    display: block !important;
    margin-top: 5px !important;
    color: rgba(46, 63, 52, 0.62) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .mobile-playlist-item [data-playlist-book] {
    min-width: 0 !important;
  }
}

/* Launch polish: player7 resource pages and mobile player menu fixes. */
.resource-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 243, 92, 0.22), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(104, 146, 102, 0.12), transparent 28%),
    #f7f8f3;
  color: #203429;
}

.resource-main {
  padding: 42px 0 72px;
}

.resource-shell {
  width: min(1120px, calc(100vw - 56px));
  margin: 0 auto;
}

.resource-back-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.resource-back,
.resource-ghost-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(35, 55, 43, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  color: #274334;
  font-weight: 850;
}

.resource-ghost-link {
  background: transparent;
  color: #6a756b;
}

.resource-hero-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(35, 55, 43, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.9);
  box-shadow: 0 18px 42px rgba(25, 38, 30, 0.08);
}

.resource-cover {
  width: 118px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 18px 34px rgba(33, 38, 29, 0.16);
}

.resource-hero-copy {
  min-width: 0;
}

.resource-hero-copy span,
.resource-note-grid article > span,
.mindmap-center-card span,
.mindmap-branch-card span,
.transcript-lead span,
.transcript-section-block > span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #d0bd15;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resource-hero-copy h1 {
  margin: 0;
  color: #213629;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
}

.resource-hero-copy p {
  max-width: 720px;
  margin: 14px 0 0;
  color: #6f786d;
  font-size: 17px;
  line-height: 1.8;
}

.resource-hero-meta {
  min-width: 118px;
  display: grid;
  gap: 6px;
  justify-items: end;
  color: #7b8477;
}

.resource-hero-meta strong {
  color: #2c4434;
  font-size: 30px;
  line-height: 1;
}

.mindmap-canvas {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "branch1 center branch2"
    "branch3 center branch4";
  gap: 22px;
  margin-top: 28px;
  padding: 28px;
  border: 1px solid rgba(35, 55, 43, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(215, 220, 202, 0.28) 1px, transparent 1px),
    linear-gradient(180deg, rgba(215, 220, 202, 0.28) 1px, transparent 1px),
    rgba(255, 255, 252, 0.82);
  background-size: 42px 42px;
  box-shadow: 0 18px 42px rgba(25, 38, 30, 0.06);
}

.mindmap-center-card,
.mindmap-branch-card,
.resource-note-grid article,
.transcript-paper-page {
  border: 1px solid rgba(35, 55, 43, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.mindmap-center-card {
  grid-area: center;
  align-self: center;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 239, 65, 0.88), rgba(95, 141, 104, 0.72));
  box-shadow: 0 20px 52px rgba(85, 105, 61, 0.24);
}

.mindmap-center-card strong {
  color: #fff;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  text-shadow: 0 8px 24px rgba(31, 44, 32, 0.16);
}

.mindmap-center-card p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
}

.mindmap-branch-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(35, 48, 37, 0.06);
}

.mindmap-branch-card.branch-1 { grid-area: branch1; }
.mindmap-branch-card.branch-2 { grid-area: branch2; }
.mindmap-branch-card.branch-3 { grid-area: branch3; }
.mindmap-branch-card.branch-4 { grid-area: branch4; }

.mindmap-branch-card h2,
.resource-note-grid h2,
.transcript-section-block h2 {
  margin: 0 0 14px;
  color: #24392d;
  font-size: 24px;
  line-height: 1.2;
}

.mindmap-branch-card ul,
.transcript-practice-grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mindmap-branch-card li,
.transcript-practice-grid li {
  position: relative;
  padding-left: 17px;
  color: #5f695e;
  font-size: 15px;
  line-height: 1.65;
}

.mindmap-branch-card li::before,
.transcript-practice-grid li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0dd1f;
}

.resource-note-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.resource-note-grid article {
  padding: 24px;
}

.resource-note-grid p {
  margin: 0;
  color: #5f695e;
  font-size: 16px;
  line-height: 1.8;
}

.resource-time-list {
  display: grid;
  gap: 10px;
}

.resource-time-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f6f8f1;
  color: #506050;
  font-size: 14px;
  line-height: 1.65;
}

.transcript-paper-page {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 18px 42px rgba(25, 38, 30, 0.06);
}

.transcript-lead {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(35, 55, 43, 0.1);
}

.transcript-lead p,
.transcript-section-block p {
  margin: 0;
  color: #465448;
  font-size: 18px;
  line-height: 1.95;
}

.transcript-section-block {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 22px;
}

.transcript-section-block > span {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff8a6;
  color: #2d3e31;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  body:has(.detail-main) .media-card.is-audio-mode {
    overflow: visible !important;
    margin-bottom: 6px !important;
  }

  body:has(.detail-main) .mobile-listen-player,
  body:has(.detail-main) .mobile-listen-controls,
  body:has(.detail-main) .mobile-control-cell {
    overflow: visible !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    z-index: 30 !important;
  }

  body:has(.detail-main) .mobile-control-cell {
    position: relative !important;
    z-index: 31 !important;
  }

  body:has(.detail-main) .mobile-control-cell.is-open {
    z-index: 80 !important;
  }

  body:has(.detail-main) .mobile-control-menu {
    top: auto !important;
    bottom: calc(100% + 9px) !important;
    z-index: 100 !important;
    min-width: 138px !important;
    border-color: rgba(255, 255, 255, 0.82) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24) !important;
    transform-origin: bottom center !important;
  }

  body:has(.detail-main) .mobile-control-menu::before {
    top: auto !important;
    bottom: -5px !important;
    transform: rotate(225deg) !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  body:has(.detail-main) .mobile-control-cell.is-open .mobile-control-menu {
    transform: translate(-50%, 0) scale(1) !important;
  }

  body:has(.detail-main) .mobile-control-cell:first-child.is-open .mobile-control-menu {
    transform: translate(0, 0) scale(1) !important;
  }

  body:has(.detail-main) .detail-book,
  body:has(.detail-main) .detail-info-panel {
    margin-top: 6px !important;
  }

  body:has(.detail-main) .mobile-detail-actions a {
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(34, 48, 38, 0.1) !important;
    border-radius: 12px !important;
    background: #f8faf5 !important;
    color: #24372b !important;
    font-size: 15px !important;
    font-weight: 900;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-detail-actions button {
    display: none !important;
  }

  .resource-main {
    padding: 18px 0 48px;
  }

  .resource-shell {
    width: min(100% - 28px, 540px);
  }

  .resource-back-row {
    align-items: stretch;
  }

  .resource-back,
  .resource-ghost-link {
    flex: 1;
    min-height: 42px;
    padding: 0 10px;
    font-size: 13px;
  }

  .resource-hero-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .resource-cover {
    width: 78px;
  }

  .resource-hero-copy h1 {
    font-size: 25px;
  }

  .resource-hero-copy p {
    font-size: 14px;
    line-height: 1.7;
  }

  .resource-hero-meta {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-items: center;
    min-width: 0;
  }

  .resource-hero-meta strong {
    font-size: 24px;
  }

  .mindmap-canvas {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "branch1"
      "branch2"
      "branch3"
      "branch4";
    gap: 14px;
    padding: 14px;
    background-size: 32px 32px;
  }

  .mindmap-center-card {
    min-height: auto;
    padding: 24px 18px;
  }

  .mindmap-center-card strong {
    font-size: 32px;
  }

  .mindmap-branch-card {
    min-height: 0;
    padding: 18px;
  }

  .mindmap-branch-card h2,
  .resource-note-grid h2,
  .transcript-section-block h2 {
    font-size: 21px;
  }

  .resource-note-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .transcript-paper-page {
    gap: 20px;
    padding: 22px 18px;
  }

  .transcript-section-block {
    grid-template-columns: 1fr;
  }

  .transcript-section-block > span {
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
  }

  .transcript-lead p,
  .transcript-section-block p {
    font-size: 16px;
    line-height: 1.85;
  }
}

/* Player7 correction: keep mobile dropdowns inside the viewport and above the book card. */
@media (max-width: 720px) {
  body:has(.detail-main) .detail-hero-video-first,
  body:has(.detail-main) .media-card.is-audio-mode,
  body:has(.detail-main) .mobile-listen-player,
  body:has(.detail-main) .mobile-listen-controls,
  body:has(.detail-main) .mobile-control-cell {
    overflow: visible !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    gap: 10px !important;
  }

  body:has(.detail-main) .media-card.is-audio-mode {
    margin-bottom: 0 !important;
  }

  body:has(.detail-main) .detail-info-panel {
    margin-top: 0 !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    z-index: 80 !important;
  }

  body:has(.detail-main) .mobile-control-menu {
    top: calc(100% + 7px) !important;
    bottom: auto !important;
    width: 138px !important;
    max-height: min(252px, calc(100vh - 190px)) !important;
    overflow-y: auto !important;
    padding: 7px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25) !important;
    transform-origin: top center !important;
  }

  body:has(.detail-main) .mobile-control-menu::before {
    top: -5px !important;
    bottom: auto !important;
    transform: rotate(45deg) !important;
  }

  body:has(.detail-main) .mobile-control-cell.is-open .mobile-control-menu {
    transform: translate(-50%, 0) scale(1) !important;
  }

  body:has(.detail-main) .mobile-control-cell:first-child.is-open .mobile-control-menu {
    transform: translate(0, 0) scale(1) !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-menu button {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 10px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #f3f5ef !important;
    color: #24372b !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-menu button.active {
    background: #25382d !important;
    color: #fff !important;
  }
}

/* Player8: reference-style transcript reader, outline mind map, and top control lift. */
body.transcript-resource-page {
  --reader-font-scale: 1;
  background: #171817 !important;
  color: #a9aaa8;
}

body.transcript-resource-page .site-header,
body.mindmap-resource-page .site-header {
  display: none !important;
}

.transcript-reader-shell {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: #171817;
}

.transcript-reader-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 8px;
  padding: 22px max(18px, env(safe-area-inset-left)) 12px max(18px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(23, 24, 23, 0.98), rgba(23, 24, 23, 0.88));
}

.reader-back {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #9c9d9b;
  font-size: 42px;
  line-height: 1;
}

.reader-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-width: 0;
  color: #979895;
  font-size: 22px;
  font-weight: 950;
}

.reader-title strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-title a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a9b98;
  font-size: 20px;
  font-weight: 950;
}

.reader-title a span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffd401;
  color: #151615;
  font-size: 11px;
}

.reader-top-actions {
  display: flex;
  justify-content: end;
  gap: 12px;
}

.reader-top-actions button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #8f918e;
  font-size: 28px;
}

.transcript-reader-body {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(52px, 9vh, 120px) 28px 110px;
}

.reader-estimate {
  margin: 0 0 clamp(66px, 12vh, 118px);
  color: #1c58ff;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
}

.reader-paragraphs {
  display: grid;
  gap: 34px;
}

.reader-paragraphs p {
  margin: 0;
  color: #9f9f9f;
  font-size: calc(clamp(25px, 5.9vw, 42px) * var(--reader-font-scale));
  font-weight: 850;
  line-height: 1.92;
  letter-spacing: 0.03em;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(1.92em - 2px),
    rgba(166, 166, 166, 0.38) calc(1.92em - 2px),
    rgba(166, 166, 166, 0.38) calc(1.92em - 1px),
    transparent calc(1.92em - 1px),
    transparent 1.92em
  );
  background-position-y: 0.32em;
}

.transcript-reader-toolbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 8px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(24, 25, 24, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.transcript-reader-toolbar button {
  position: relative;
  min-height: 58px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: #777976;
  font-weight: 850;
}

.transcript-reader-toolbar span {
  font-size: 25px;
  line-height: 1;
}

.transcript-reader-toolbar em {
  font-style: normal;
  font-size: 13px;
}

.transcript-reader-toolbar strong {
  position: absolute;
  top: 3px;
  left: calc(50% + 4px);
  color: #757673;
  font-size: 13px;
}

.reader-drawer[hidden] {
  display: none;
}

.reader-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.reader-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.38);
}

.reader-drawer-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(72dvh, 560px);
  overflow-y: auto;
  padding: 26px 22px calc(28px + env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0;
  background: #242523;
  box-shadow: 0 -24px 50px rgba(0, 0, 0, 0.38);
}

.reader-drawer-panel h2 {
  margin: 0 0 18px;
  color: #f1f2ee;
  font-size: 25px;
}

.reader-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #343632;
  color: #d8d9d3;
  font-size: 22px;
}

.reader-note-form {
  display: grid;
  gap: 12px;
}

.reader-note-form textarea {
  min-height: 116px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #191a18;
  color: #e9e9e4;
}

.reader-note-form button,
.reader-setting-row button,
.reader-drawer-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #ffdc25;
  color: #202018;
  font-weight: 900;
}

.reader-note-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.reader-note-list article,
.reader-empty-note,
.reader-setting-row {
  padding: 14px;
  border-radius: 8px;
  background: #191a18;
  color: #d2d3ce;
}

.reader-note-list p {
  margin: 0 0 8px;
  line-height: 1.7;
}

.reader-note-list small {
  color: #7f817c;
}

.reader-note-list article button {
  float: right;
  border: 0;
  background: transparent;
  color: #a8aaa4;
}

.reader-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.reader-setting-row div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.reader-setting-row button {
  min-height: 34px;
  padding: 0 12px;
}

.reader-drawer-link {
  margin-top: 10px;
  width: 100%;
}

body.transcript-day-mode {
  background: #f7f5ee !important;
  color: #2b302c;
}

body.transcript-day-mode .transcript-reader-shell {
  background: #f7f5ee;
}

body.transcript-day-mode .transcript-reader-topbar {
  background: rgba(247, 245, 238, 0.94);
}

body.transcript-day-mode .reader-paragraphs p {
  color: #343d36;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent calc(1.92em - 2px),
    rgba(80, 92, 82, 0.18) calc(1.92em - 2px),
    rgba(80, 92, 82, 0.18) calc(1.92em - 1px),
    transparent calc(1.92em - 1px),
    transparent 1.92em
  );
}

body.transcript-day-mode .transcript-reader-toolbar {
  border-top-color: rgba(30, 48, 34, 0.1);
  background: rgba(255, 255, 252, 0.95);
}

body.transcript-day-mode .reader-drawer-panel {
  background: #fffefa;
}

body.transcript-day-mode .reader-drawer-panel h2,
body.transcript-day-mode .reader-note-list article,
body.transcript-day-mode .reader-empty-note,
body.transcript-day-mode .reader-setting-row {
  color: #26362b;
}

body.mindmap-resource-page {
  background: #f2f2f2 !important;
}

.outline-map-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 28px 18px 60px;
}

.outline-map-brand {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #2f332d;
  font-size: 14px;
}

.outline-map-brand strong {
  font-size: 18px;
  letter-spacing: 0.05em;
}

.outline-map-brand a {
  color: #5b655b;
  font-weight: 850;
}

.outline-map-brand a:last-child {
  justify-self: end;
}

.outline-map-paper {
  position: relative;
  padding: 18px 18px 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(25, 25, 22, 0.1);
}

.outline-map-title {
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.outline-map-title span {
  min-width: min(100%, 440px);
  padding: 8px 22px;
  border-radius: 999px;
  background: #ffd90c;
  color: #2d2f29;
  font-size: 18px;
  font-weight: 950;
  text-align: center;
}

.outline-root-node {
  width: min(100%, 520px);
  margin: 0 auto 18px;
  padding: 13px 18px;
  border: 2px solid #1f2924;
  border-radius: 999px;
  background: #fff;
  text-align: center;
}

.outline-root-node strong {
  display: block;
  color: #1d251f;
  font-size: 20px;
  line-height: 1.25;
}

.outline-root-node p {
  margin: 6px auto 0;
  color: #647064;
  font-size: 13px;
  line-height: 1.55;
}

.outline-main-line {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 24px;
}

.outline-main-line::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34px;
  width: 3px;
  border-radius: 999px;
  background: #ffdf22;
}

.outline-topic {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
}

.outline-topic-badge {
  position: relative;
  z-index: 1;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #252927;
  color: #ffd90c;
  font-weight: 950;
}

.outline-topic-body {
  padding: 12px 14px;
  border: 2px solid rgba(255, 217, 12, 0.82);
  border-radius: 8px;
  background: #fffef6;
}

.outline-topic-body h2 {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #ffeb4f;
  color: #1e271f;
  font-size: 18px;
}

.outline-topic-body ul,
.outline-child-node ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #303832;
  font-size: 14px;
  line-height: 1.55;
}

.outline-child-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid #ffdf22;
}

.outline-child-node {
  padding: 8px 10px;
  border: 1px solid rgba(255, 217, 12, 0.7);
  border-radius: 6px;
  background: #fff;
}

.outline-child-node h3 {
  margin: 0 0 6px;
  color: #1f2923;
  font-size: 15px;
}

@media (min-width: 721px) {
  .transcript-reader-body {
    width: min(100%, 840px);
  }

  .outline-map-shell {
    width: min(100%, 820px);
  }
}

@media (max-width: 720px) {
  body:has(.detail-main) .mobile-listen-topbar {
    transform: translateY(-10px) !important;
    margin-bottom: -6px !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    margin-top: -2px !important;
  }

  .transcript-reader-topbar {
    grid-template-columns: 44px minmax(0, 1fr) 76px;
    padding-top: 16px;
  }

  .reader-title {
    gap: 16px;
    font-size: 20px;
  }

  .reader-title a {
    font-size: 18px;
  }

  .reader-top-actions {
    gap: 6px;
  }

  .reader-top-actions button {
    width: 32px;
    font-size: 24px;
  }

  .transcript-reader-body {
    padding-right: 28px;
    padding-left: 28px;
  }

  .outline-map-shell {
    padding: 20px 12px 44px;
  }

  .outline-map-brand {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .outline-map-brand a:last-child {
    justify-self: center;
  }

  .outline-map-paper {
    padding: 14px 10px 20px;
  }

  .outline-map-title span {
    font-size: 16px;
  }

  .outline-root-node {
    border-radius: 14px;
  }

  .outline-main-line {
    padding-left: 14px;
  }

  .outline-main-line::before {
    left: 24px;
  }

  .outline-topic {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }
}

/* Player9: desktop latest section as a clean four-zone grid. */
@media (min-width: 981px) {
  body:not(.profile-page) .section-block#latest {
    width: min(1360px, calc(100vw - 112px)) !important;
  }

  body:not(.profile-page) .latest-layout {
    --latest-zone-height: clamp(500px, 37vw, 560px);
    --latest-zone-gap: clamp(16px, 1.4vw, 22px);
    display: grid !important;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr) !important;
    gap: var(--latest-zone-gap) !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
  }

  body:not(.profile-page) .latest-feature-poster-image {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    height: var(--latest-zone-height) !important;
    aspect-ratio: auto !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    overflow: hidden !important;
  }

  body:not(.profile-page) .latest-feature-poster-image .feature-poster-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  body:not(.profile-page) .latest-side {
    width: 100% !important;
    max-width: none !important;
    height: var(--latest-zone-height) !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: var(--latest-zone-gap) !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    overflow: visible !important;
  }

  body:not(.profile-page) .latest-poster {
    height: 100% !important;
    min-height: 0 !important;
    display: grid !important;
    align-content: stretch !important;
  }

  body:not(.profile-page) .poster-cover-rail {
    height: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: clamp(14px, 1.5vw, 22px) !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  body:not(.profile-page) .poster-cover-item {
    min-width: 0 !important;
    height: 100% !important;
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) 38px !important;
    justify-items: center !important;
    align-items: end !important;
    gap: 10px !important;
  }

  body:not(.profile-page) .poster-cover-pick {
    width: min(100%, 130px) !important;
    max-width: 130px !important;
    align-self: end !important;
  }

  body:not(.profile-page) .latest-poster-play {
    align-self: start !important;
    justify-self: center !important;
    min-width: 78px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    transform: none !important;
  }

  body:not(.profile-page) .latest-side-bottom {
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: var(--latest-zone-gap) !important;
    align-items: stretch !important;
    overflow: visible !important;
  }

  body:not(.profile-page) .daily-duration-card,
  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    justify-self: stretch !important;
    align-self: stretch !important;
  }

  body:not(.profile-page) .daily-duration-card {
    padding: clamp(14px, 1.5vw, 20px) clamp(12px, 1.4vw, 18px) !important;
    align-content: center !important;
    justify-items: center !important;
  }

  body:not(.profile-page) .duration-head strong {
    font-size: clamp(29px, 2.4vw, 38px) !important;
  }

  body:not(.profile-page) .duration-bars {
    width: min(100%, 310px) !important;
    height: 68px !important;
    margin-top: 12px !important;
  }

  body:not(.profile-page) .duration-foot {
    width: min(100%, 310px) !important;
  }

  body:not(.profile-page) .duration-tabs {
    margin-top: 8px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    grid-template-columns: minmax(72px, 92px) minmax(0, 1fr) !important;
    gap: clamp(14px, 1.4vw, 20px) !important;
    padding: clamp(14px, 1.5vw, 20px) !important;
    align-items: center !important;
    transform: none !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-cover img {
    width: min(92px, 100%) !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-main {
    min-width: 0 !important;
    align-content: center !important;
    gap: 10px !important;
  }

  body:not(.profile-page) .current-listening-head strong {
    font-size: clamp(22px, 2vw, 30px) !important;
    line-height: 1.12 !important;
  }

  body:not(.profile-page) .current-listening-head p {
    max-width: 100% !important;
    margin-top: 7px !important;
    -webkit-line-clamp: 2 !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .mini-player-progress {
    width: 100% !important;
    margin-top: 6px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .mini-player-controls {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 48px 52px 48px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .mobile-mini-list {
    display: none !important;
  }

  body:not(.profile-page) .mini-player-time {
    min-width: 0 !important;
    margin-left: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

/* Player11: professional compact mind map and full timed transcript reader. */
body.mindmap-resource-page,
body.transcript-resource-page {
  background: #f6f7f3 !important;
}

.pro-mindmap-shell {
  width: min(1220px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 22px 0 72px;
}

.pro-mindmap-toolbar {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.pro-mindmap-toolbar a,
.pro-mindmap-intro button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 55, 43, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #263b2e;
  font-size: 14px;
  font-weight: 900;
}

.pro-mindmap-toolbar div {
  min-width: 0;
  text-align: center;
}

.pro-mindmap-toolbar span {
  display: block;
  color: #c3ae00;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.pro-mindmap-toolbar strong {
  display: block;
  margin-top: 2px;
  color: #25382d;
  font-size: 28px;
  line-height: 1.15;
}

.pro-mindmap-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.pro-mindmap-intro div {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.pro-mindmap-intro p {
  margin: 0;
  color: #6f786d;
  font-size: 15px;
}

.pro-mindmap-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 12 / 7;
  min-height: 620px;
  overflow: auto;
  border: 1px solid rgba(35, 55, 43, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(218, 224, 211, 0.42) 1px, transparent 1px),
    linear-gradient(180deg, rgba(218, 224, 211, 0.42) 1px, transparent 1px),
    #fffef9;
  background-size: 40px 40px;
  box-shadow: 0 22px 54px rgba(24, 38, 30, 0.08);
}

.pro-mindmap-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pro-mindmap-lines path {
  fill: none;
  stroke: url(#mindmapLine);
  stroke-width: 4;
  stroke-linecap: round;
}

.pro-mindmap-lines path.is-thin {
  stroke-width: 2.2;
  stroke-dasharray: 3 9;
}

.pro-mindmap-node {
  position: absolute;
  left: calc((var(--node-x) / 1200) * 100%);
  top: calc((var(--node-y) / 700) * 100%);
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  border: 1px solid rgba(36, 54, 42, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 36px rgba(33, 48, 38, 0.1);
}

.pro-mindmap-root {
  width: 250px;
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 22px;
  border-color: rgba(240, 218, 31, 0.68);
  background: linear-gradient(135deg, #fff26a, #f4f7d8 54%, #7fa06d);
  text-align: center;
}

.pro-mindmap-root span,
.pro-mindmap-mobile-root span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 49, 37, 0.12);
  color: #254030;
  font-size: 12px;
  font-weight: 950;
}

.pro-mindmap-root strong,
.pro-mindmap-mobile-root strong {
  color: #203629;
  font-size: 30px;
  line-height: 1.1;
}

.pro-mindmap-root p,
.pro-mindmap-mobile-root p {
  margin: 10px 0 0;
  color: rgba(34, 51, 40, 0.78);
  font-size: 13px;
  line-height: 1.65;
}

.pro-mindmap-branch {
  width: 170px;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
}

.pro-mindmap-branch em {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #22382b;
  color: #fff25b;
  font-style: normal;
  font-size: 12px;
  font-weight: 950;
}

.pro-mindmap-branch strong {
  min-width: 0;
  color: #24382c;
  font-size: 19px;
  line-height: 1.2;
}

.pro-mindmap-leaf {
  width: 176px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fbfcf5;
}

.pro-mindmap-leaf span {
  display: block;
  color: #314739;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.pro-mindmap-leaf small {
  display: block;
  margin-top: 4px;
  color: #778274;
  font-size: 11px;
  line-height: 1.35;
}

.pro-mindmap-leaf.is-child {
  border-color: rgba(240, 218, 31, 0.55);
  background: #fffdf1;
}

.pro-mindmap-mobile-list {
  display: none;
}

.markmap-resource-shell {
  width: min(1280px, calc(100vw - 48px));
}

.markmap-canvas-shell {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 55, 44, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(rgba(35, 55, 43, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 55, 43, 0.045) 1px, transparent 1px),
    #fffef8;
  background-size: 36px 36px;
  box-shadow: 0 26px 70px rgba(33, 48, 38, 0.08);
}

.markmap-canvas {
  width: 100%;
  height: min(620px, calc(100vh - 210px));
  min-height: 560px;
  display: block;
  color: #20362a;
  font-family: inherit;
}

.markmap-canvas .markmap-node > circle {
  fill: #fff066;
  stroke: #20362a;
  stroke-width: 1.5px;
}

.markmap-canvas .markmap-node > text,
.markmap-canvas .markmap-node foreignObject {
  fill: #22382b;
  color: #22382b;
  font-size: 15px;
  font-weight: 780;
}

.markmap-canvas .markmap-node.depth-0 > text,
.markmap-canvas .markmap-node.depth-0 foreignObject {
  font-size: 28px;
  font-weight: 950;
}

.markmap-canvas .markmap-node.depth-2 > text,
.markmap-canvas .markmap-node.depth-2 foreignObject {
  font-weight: 680;
}

.markmap-canvas .markmap-node.depth-3 > text,
.markmap-canvas .markmap-node.depth-3 foreignObject {
  fill: #526052;
  color: #526052;
  font-size: 13px;
  font-weight: 520;
}

.markmap-canvas .markmap-link {
  stroke: #9baa63;
  stroke-opacity: 0.72;
}

body.transcript-resource-page {
  --reader-font-size: 16px;
  color: #26362b;
}

.transcript-reader-shell {
  min-height: 100dvh;
  background: #f6f7f3;
}

.transcript-reader-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px max(20px, env(safe-area-inset-left));
  border-bottom: 1px solid rgba(34, 54, 42, 0.08);
  background: rgba(246, 247, 243, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.reader-back,
.reader-top-actions button,
.reader-title button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 55, 43, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #263b2e;
  font-weight: 900;
}

.reader-back {
  width: 36px;
  padding-bottom: 3px;
  font-size: 28px;
  line-height: 1;
}

.reader-title {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.reader-title strong {
  min-width: 0;
  overflow: hidden;
  color: #22362a;
  font-size: 19px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-title button {
  flex: 0 0 auto;
  padding: 0 12px;
  font-size: 13px;
}

.reader-title button[data-play-current] {
  border-color: rgba(240, 218, 31, 0.72);
  background: #fff06a;
}

.reader-title button span {
  margin-right: 4px;
  font-size: 11px;
}

.reader-top-actions {
  display: flex;
  gap: 8px;
}

.reader-top-actions button {
  min-width: 38px;
  padding: 0 10px;
  font-size: 13px;
}

.transcript-reader-body {
  width: min(860px, calc(100vw - 44px));
  margin: 0 auto;
  padding: clamp(28px, 5vh, 54px) 0 84px;
}

.reader-estimate {
  margin: 0 0 30px;
  color: #2452c8;
  font-size: 17px;
  font-weight: 780;
  line-height: 1.4;
  text-align: center;
}

.reader-paragraphs {
  display: grid;
  gap: 16px;
}

.reader-paragraphs p {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(35, 55, 43, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #354439;
  background-image: none !important;
  box-shadow: 0 10px 28px rgba(30, 46, 36, 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.reader-paragraphs p.is-current {
  border-color: rgba(239, 217, 28, 0.95);
  background: #fffbe1;
  box-shadow: 0 16px 38px rgba(196, 178, 18, 0.18);
}

.reader-paragraphs p > button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: #eef3e9;
  color: #596859;
  font-size: 12px;
  font-weight: 900;
}

.reader-paragraphs p > span {
  min-width: 0;
  color: inherit;
  font-size: var(--reader-font-size);
  font-weight: 500;
  line-height: 1.76;
  letter-spacing: 0;
  background-image: none !important;
  text-align: left;
}

.selection-action-toolbar {
  position: absolute;
  z-index: 80;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(31, 42, 35, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.selection-action-toolbar button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: #fff05f;
  color: #1f2c24;
  font-size: 13px;
  font-weight: 900;
}

.selection-action-toolbar button:first-child {
  background: #ffffff;
}

.reader-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(31, 42, 35, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.reader-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reader-drawer[hidden] {
  display: none;
}

.reader-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
}

.reader-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(25, 32, 27, 0.38);
}

.reader-drawer-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(72dvh, 560px);
  overflow-y: auto;
  padding: 26px 22px calc(28px + env(safe-area-inset-bottom));
  border-radius: 16px 16px 0 0;
  background: #fffefa;
  box-shadow: 0 -24px 50px rgba(23, 37, 29, 0.2);
}

.reader-drawer-panel h2 {
  margin: 0 0 18px;
  color: #23372b;
  font-size: 24px;
}

.reader-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #eef1e9;
  color: #24382c;
  font-size: 22px;
}

.reader-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 8px;
  background: #f4f6ef;
  color: #26392d;
}

.reader-setting-row div {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.reader-setting-row button,
.reader-drawer-link,
.reader-note-list article > button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #ffeb49;
  color: #203328;
  font-weight: 900;
}

.reader-drawer-link {
  width: 100%;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reader-note-list {
  display: grid;
  gap: 12px;
}

.reader-note-list article,
.reader-empty-note {
  padding: 14px;
  border-radius: 8px;
  background: #f4f6ef;
  color: #26392d;
}

.reader-note-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 12px;
}

.reader-note-list p {
  margin: 0;
  line-height: 1.75;
}

.reader-note-list small {
  grid-column: 2;
  color: #738071;
}

body.transcript-resource-page:not(.transcript-day-mode) {
  background: #171817 !important;
  color: #a9aaa8;
}

body.transcript-resource-page:not(.transcript-day-mode) .transcript-reader-shell {
  background: #171817;
}

body.transcript-resource-page:not(.transcript-day-mode) .transcript-reader-topbar {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(23, 24, 23, 0.94);
}

body.transcript-resource-page:not(.transcript-day-mode) .reader-back,
body.transcript-resource-page:not(.transcript-day-mode) .reader-top-actions button,
body.transcript-resource-page:not(.transcript-day-mode) .reader-title button {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: #d7d9d4;
}

body.transcript-resource-page:not(.transcript-day-mode) .reader-title strong,
body.transcript-resource-page:not(.transcript-day-mode) .reader-paragraphs p {
  color: #d4d5cf;
}

body.transcript-resource-page:not(.transcript-day-mode) .reader-paragraphs p {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

body.transcript-resource-page:not(.transcript-day-mode) .reader-paragraphs p > button {
  background: rgba(255, 255, 255, 0.08);
  color: #a7aaa3;
}

@media (max-width: 760px) {
  .pro-mindmap-shell {
    width: min(100% - 24px, 540px);
    padding-top: 16px;
  }

  .pro-mindmap-toolbar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pro-mindmap-toolbar a {
    width: 100%;
  }

  .pro-mindmap-intro {
    display: none;
  }

  .pro-mindmap-stage {
    display: none;
  }

  .pro-mindmap-mobile-list {
    display: grid;
    gap: 14px;
  }

  .markmap-resource-shell {
    width: min(100% - 24px, 540px);
  }

  .markmap-intro {
    display: flex;
    padding: 10px 0;
  }

  .markmap-intro p {
    display: none;
  }

  .markmap-canvas-shell {
    min-height: 380px;
  }

  .markmap-canvas {
    height: 380px;
    min-height: 380px;
  }

  .pro-mindmap-mobile-root,
  .pro-mindmap-mobile-topic {
    border: 1px solid rgba(35, 55, 43, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 30px rgba(29, 45, 36, 0.07);
  }

  .pro-mindmap-mobile-root {
    padding: 22px;
    background: linear-gradient(135deg, #fff26a, #f4f7d8 58%, #86a574);
  }

  .pro-mindmap-mobile-topic {
    padding: 16px;
  }

  .pro-mindmap-mobile-topic div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .pro-mindmap-mobile-topic em {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #23382c;
    color: #fff05f;
    font-style: normal;
    font-weight: 950;
  }

  .pro-mindmap-mobile-topic strong {
    color: #24382c;
    font-size: 20px;
  }

  .pro-mindmap-mobile-topic ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .pro-mindmap-mobile-topic li {
    padding: 7px 10px;
    border-radius: 999px;
    background: #f2f6ed;
    color: #35483b;
    font-size: 13px;
    font-weight: 850;
  }

  .transcript-reader-topbar {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .reader-title {
    justify-content: start;
  }

  .reader-title strong {
    max-width: 76px;
    font-size: 16px;
  }

  .reader-title button {
    min-height: 32px;
    padding: 0 7px;
    font-size: 12px;
  }

  .reader-top-actions {
    gap: 4px;
  }

  .reader-top-actions button {
    min-width: 34px;
    padding: 0 7px;
  }

  .transcript-reader-body {
    width: min(100% - 24px, 560px);
    padding-top: 24px;
  }

  .reader-estimate {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .reader-paragraphs {
    gap: 12px;
  }

  .reader-paragraphs p {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 18px;
  }

  .reader-paragraphs p > button {
    justify-self: start;
  }
}

/* Player9 tune: match the desktop latest section to a stable 1/2/3/4 grid. */
@media (min-width: 981px) {
  body:not(.profile-page) #app.site-main {
    width: min(1240px, calc(100vw - 144px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body:not(.profile-page) .section-block#latest {
    width: min(1240px, calc(100vw - 144px)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body:not(.profile-page) .latest-layout {
    --latest-zone-height: clamp(470px, 34vw, 520px);
    --latest-zone-gap: clamp(16px, 1.2vw, 20px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body:not(.profile-page) .latest-feature-poster-image {
    background: linear-gradient(135deg, #fffdf3 0%, #fff8bf 100%) !important;
  }

  body:not(.profile-page) .latest-feature-poster-image .feature-poster-image {
    object-fit: contain !important;
    object-position: center !important;
  }

  body:not(.profile-page) .latest-poster {
    padding: clamp(16px, 1.5vw, 20px) clamp(18px, 1.8vw, 24px) !important;
    align-items: stretch !important;
  }

  body:not(.profile-page) .poster-cover-rail {
    width: 100% !important;
    max-width: none !important;
    align-items: stretch !important;
  }

  body:not(.profile-page) .poster-cover-pick {
    width: min(100%, 126px) !important;
    max-width: 126px !important;
  }

  body:not(.profile-page) .latest-side-bottom {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  body:not(.profile-page) .daily-duration-card {
    display: grid !important;
    grid-template-rows: auto minmax(48px, 1fr) auto auto !important;
    gap: 5px !important;
    padding: 14px 14px !important;
    align-content: center !important;
    justify-items: center !important;
    border: 1px solid rgba(34, 43, 33, 0.08) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 18px 44px rgba(29, 31, 26, 0.055) !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 18px 16px !important;
    align-content: center !important;
    border: 1px solid rgba(34, 43, 33, 0.08) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 18px 44px rgba(29, 31, 26, 0.055) !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-head {
    width: 100% !important;
    gap: 2px !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-head strong {
    font-size: clamp(24px, 1.9vw, 30px) !important;
    line-height: 1.04 !important;
    white-space: nowrap !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-bars {
    width: min(100%, 238px) !important;
    height: 48px !important;
    margin-top: 0 !important;
    gap: 5px !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-bar-item {
    gap: 3px !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-bar {
    width: 14px !important;
    max-width: 14px !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-bar-item em,
  body:not(.profile-page) .daily-duration-card .duration-bar-item small,
  body:not(.profile-page) .daily-duration-card .duration-foot {
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-foot {
    width: 100% !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-tabs {
    margin-top: 0 !important;
    gap: 4px !important;
    justify-content: center !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-tabs button {
    width: 28px !important;
    height: 22px !important;
    font-size: 12px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-cover,
  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-cover img {
    width: 64px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-main {
    display: grid !important;
    grid-template-rows: auto 18px auto !important;
    gap: 9px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-head strong {
    font-size: 21px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-head p {
    display: -webkit-box !important;
    margin-top: 5px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2 !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .mini-player-progress {
    height: 18px !important;
    margin-top: 0 !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .mini-player-controls {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 34px 38px 34px !important;
    gap: 6px !important;
    justify-content: start !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .mini-player-controls .skip-button {
    min-width: 0 !important;
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 4px !important;
    font-size: 11px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .detail-play-button.mini-toggle {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .mini-player-time {
    display: none !important;
  }
}

@media (min-width: 981px) and (max-width: 1320px) {
  body:not(.profile-page) .daily-duration-card {
    gap: 4px !important;
    padding: 12px 12px !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-head strong {
    font-size: 24px !important;
  }

  body:not(.profile-page) .daily-duration-card .duration-bars {
    height: 42px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) {
    gap: 12px !important;
    padding: 14px 12px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-cover,
  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-cover img {
    width: 58px !important;
  }

  body:not(.profile-page) .current-listening-card:not(.handoff-home-player) .current-listening-head p {
    -webkit-line-clamp: 1 !important;
  }
}

/* Stage 2 polish: remove the listening-stat card from latest and keep the block aligned. */
@media (min-width: 981px) {
  body:not(.profile-page) .latest-side-bottom {
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  body:not(.profile-page) .latest-side-bottom .current-listening-card:not(.handoff-home-player) {
    min-height: 192px !important;
  }
}

/* Stage 2 polish: keep the mobile book page stable while media and comments update. */
.detail-hero-video-first,
.media-card,
.detail-book,
.mobile-comments-section,
.mobile-detail-dock {
  overflow-anchor: none;
}

@media (max-width: 720px) {
  .detail-hero-video-first .media-card {
    contain: layout paint;
  }

  .detail-hero-video-first .media-card.is-audio-mode {
    min-height: 344px;
  }

  .detail-book {
    min-height: 224px;
  }

  .mobile-detail-dock {
    transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Stage 2 polish: make the transcript read like one continuous article. */
body.transcript-resource-page {
  --reader-font-size: 17px;
}

body.transcript-resource-page .transcript-reader-body {
  width: min(760px, calc(100vw - 44px)) !important;
}

body.transcript-resource-page .reader-estimate {
  margin: 0 0 34px !important;
  color: #1f54de !important;
  font-weight: 800 !important;
  text-align: center !important;
}

body.transcript-resource-page .reader-paragraphs {
  display: block !important;
  max-width: 720px;
  margin: 0 auto;
}

body.transcript-resource-page .reader-paragraphs p {
  display: block !important;
  margin: 0 0 1.18em !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.transcript-resource-page .reader-paragraphs p > button {
  float: left !important;
  min-width: 48px !important;
  height: 28px !important;
  margin: 0.32em 14px 2px 0 !important;
  padding: 0 10px !important;
  border: 1px solid rgba(45, 68, 55, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(255, 221, 65, 0.16) !important;
  color: #6f7c6e !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.transcript-resource-page .reader-paragraphs p > span {
  display: inline !important;
  color: #4f5550 !important;
  font-size: var(--reader-font-size) !important;
  line-height: 1.95 !important;
  letter-spacing: 0 !important;
}

body.transcript-resource-page .reader-paragraphs p.is-current {
  border-radius: 8px !important;
  background: linear-gradient(90deg, rgba(255, 221, 65, 0.18), rgba(255, 221, 65, 0)) !important;
}

body.transcript-resource-page:not(.transcript-day-mode) .reader-paragraphs p {
  background: transparent !important;
}

body.transcript-resource-page:not(.transcript-day-mode) .reader-paragraphs p > span {
  color: #aeb1ad !important;
}

body.transcript-resource-page:not(.transcript-day-mode) .reader-paragraphs p > button {
  background: rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 760px) {
  body.transcript-resource-page .transcript-reader-topbar {
    grid-template-columns: 42px minmax(0, 1fr) 88px !important;
    align-items: start !important;
    gap: 8px !important;
    padding: 8px 10px !important;
  }

  body.transcript-resource-page .reader-title {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    justify-content: stretch !important;
    gap: 8px !important;
  }

  body.transcript-resource-page .reader-title strong {
    grid-column: 1 / -1 !important;
    max-width: none !important;
    min-width: 0 !important;
    font-size: 17px !important;
  }

  body.transcript-resource-page .reader-title button {
    min-height: 34px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  body.transcript-resource-page .reader-top-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  body.transcript-resource-page .reader-top-actions button {
    min-width: 0 !important;
    width: 41px !important;
    padding: 0 !important;
  }

  body.transcript-resource-page .transcript-reader-body {
    width: min(100% - 28px, 560px) !important;
    padding-top: 22px !important;
  }

  body.transcript-resource-page .reader-paragraphs p {
    margin-bottom: 1.08em !important;
  }

  body.transcript-resource-page .reader-paragraphs p > button {
    min-width: 46px !important;
    height: 26px !important;
    margin-right: 10px !important;
  }
}

/* Design92: compact resource pages, stable QQ bottom chrome, and transcript selection tools. */
@media (max-width: 760px) {
  body.mindmap-resource-page .pro-mindmap-shell {
    width: min(100% - 18px, 560px) !important;
    padding: 8px 0 18px !important;
  }

  body.mindmap-resource-page .pro-mindmap-toolbar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr) !important;
    gap: 7px !important;
    margin-bottom: 6px !important;
    text-align: center !important;
  }

  body.mindmap-resource-page .pro-mindmap-toolbar a {
    width: auto !important;
    min-height: 34px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  body.mindmap-resource-page .pro-mindmap-toolbar span {
    font-size: 10px !important;
    letter-spacing: 0.03em !important;
  }

  body.mindmap-resource-page .pro-mindmap-toolbar strong {
    margin-top: 0 !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
  }

  body.mindmap-resource-page .markmap-intro {
    margin-bottom: 6px !important;
    padding: 4px 0 6px !important;
  }

  body.mindmap-resource-page .markmap-intro div {
    width: 100% !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  body.mindmap-resource-page .markmap-intro button {
    min-height: 32px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  body.mindmap-resource-page .markmap-canvas-shell {
    height: calc(100dvh - 150px) !important;
    min-height: 560px !important;
    max-height: 760px !important;
    border-radius: 8px !important;
  }

  body.mindmap-resource-page .markmap-canvas {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }
}

@media (max-width: 720px) {
  body:not(.profile-page) .mobile-home .mobile-bottom-nav {
    right: 12px !important;
    bottom: max(2px, env(safe-area-inset-bottom)) !important;
    left: 12px !important;
    height: calc(52px + env(safe-area-inset-bottom)) !important;
    padding: 4px 6px max(4px, env(safe-area-inset-bottom)) !important;
  }

  body:not(.profile-page) .mobile-home .mobile-bottom-nav a {
    min-height: 40px !important;
  }

  body:not(.profile-page) .mobile-home {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }
}

.selection-action-toolbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 140 !important;
  display: inline-grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  max-width: calc(100vw - 24px) !important;
  transform-origin: left top !important;
}

.selection-action-toolbar button {
  min-width: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .selection-action-toolbar {
    padding: 5px !important;
    border-radius: 999px !important;
  }

  .selection-action-toolbar button {
    min-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
  }
}

/* Design93: persistent transcript highlights and note management. */
body.transcript-resource-page .reader-highlight {
  display: inline !important;
  padding: 0.03em 0.12em !important;
  border-radius: 5px !important;
  background: linear-gradient(180deg, rgba(255, 235, 73, 0.2) 12%, rgba(255, 235, 73, 0.82) 92%) !important;
  box-shadow: 0 0 0 1px rgba(218, 196, 22, 0.18) inset !important;
  color: inherit !important;
}

body.transcript-resource-page:not(.transcript-day-mode) .reader-highlight {
  background: linear-gradient(180deg, rgba(255, 229, 63, 0.12) 12%, rgba(255, 229, 63, 0.42) 92%) !important;
}

/* Stage 2 polish3: simplify transcript annotations and stabilize mobile detail chrome. */
.selection-action-toolbar.is-single {
  grid-template-columns: 1fr !important;
}

.selection-action-toolbar.is-single button,
.selection-action-toolbar.is-single button:first-child {
  background: #fff05f !important;
  color: #1f2c24 !important;
}

.highlight-action-toolbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 142 !important;
  display: inline-grid !important;
  grid-template-columns: 1fr !important;
  gap: 6px !important;
  padding: 5px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 999px !important;
  background: rgba(31, 42, 35, 0.96) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
  transform-origin: left top !important;
}

.highlight-action-toolbar button {
  min-height: 34px !important;
  min-width: 0 !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #fff05f !important;
  color: #1f2c24 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

body.transcript-resource-page .reader-highlight {
  cursor: pointer !important;
}

@media (max-width: 720px) {
  body:has(.detail-main) {
    --qinghe-detail-bottom-clearance: calc(118px + env(safe-area-inset-bottom)) !important;
  }

  body:has(.detail-main) .site-main.detail-main,
  body:has(.detail-main) .detail-main {
    padding-bottom: var(--qinghe-detail-bottom-clearance) !important;
    scroll-padding-bottom: var(--qinghe-detail-bottom-clearance) !important;
  }

  body:has(.detail-main) .detail-main::after {
    height: calc(86px + env(safe-area-inset-bottom)) !important;
  }

  body:has(.detail-main) .mobile-comments-section,
  body:has(.detail-main) .detail-tabs-section .detail-section.mobile-comments-section {
    padding-bottom: calc(106px + env(safe-area-inset-bottom)) !important;
    scroll-margin-bottom: calc(122px + env(safe-area-inset-bottom)) !important;
  }

  body:has(.detail-main) .mobile-detail-dock,
  html[data-qinghe-viewport-obstructed] body:has(.detail-main) .mobile-detail-dock {
    bottom: max(8px, env(safe-area-inset-bottom)) !important;
    transform: translate3d(-50%, 0, 0) !important;
    will-change: auto !important;
  }

  html[data-qinghe-comment-focused] body:has(.detail-main) .mobile-detail-dock {
    bottom: calc(max(8px, env(safe-area-inset-bottom)) + min(var(--qinghe-comment-keyboard-inset, 0px), 420px)) !important;
  }

  body:has(.detail-main) .media-card.is-audio-mode,
  body:has(.detail-main) .mobile-listen-player,
  body:has(.detail-main) .mobile-listen-controls,
  body:has(.detail-main) .mobile-control-cell {
    overflow: visible !important;
  }

  body:has(.detail-main) .mobile-control-cell.is-open {
    z-index: 240 !important;
  }

  body:has(.detail-main) .mobile-control-menu {
    top: auto !important;
    bottom: calc(100% + 8px) !important;
    z-index: 260 !important;
    width: 176px !important;
    max-height: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    overflow: visible !important;
    transform-origin: bottom center !important;
  }

  body:has(.detail-main) .mobile-speed-menu {
    width: 152px !important;
  }

  body:has(.detail-main) .mobile-control-menu button {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-control-menu::before {
    top: auto !important;
    bottom: -5px !important;
    transform: rotate(225deg) !important;
  }

  body:has(.detail-main) .mobile-control-cell.is-open .mobile-control-menu {
    transform: translate(-50%, 0) scale(1) !important;
  }

  body:has(.detail-main) .mobile-control-cell:first-child.is-open .mobile-control-menu {
    transform: translate(0, 0) scale(1) !important;
  }
}

.reader-note-list article {
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  align-items: start !important;
}

.reader-note-list small {
  grid-column: 2 !important;
}

.reader-note-delete {
  grid-column: 3 !important;
  grid-row: 1 / span 2 !important;
  min-height: 32px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(35, 55, 43, 0.12) !important;
  border-radius: 999px !important;
  background: #fffefa !important;
  color: #7f4a39 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

@media (max-width: 760px) {
  .reader-note-list article {
    grid-template-columns: auto minmax(0, 1fr) !important;
  }

  .reader-note-delete {
    grid-column: 2 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    margin-top: 8px !important;
  }
}

/* Design94: move the mobile share entry from the player chrome into the book card. */
@media (max-width: 720px) {
  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 42px minmax(0, 168px) 42px !important;
    justify-content: center !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    grid-column: 2 !important;
    justify-self: center !important;
  }

  body:has(.detail-main) .mobile-book-summary {
    grid-template-columns: 78px minmax(0, 1fr) minmax(82px, 104px) !important;
    align-items: center !important;
    column-gap: 12px !important;
    padding: 14px 12px !important;
  }

  body:has(.detail-main) .mobile-book-summary > img {
    grid-column: 1 !important;
  }

  body:has(.detail-main) .mobile-book-summary > div {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  body:has(.detail-main) .mobile-book-share {
    grid-column: 3 !important;
    justify-self: end !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 64px !important;
    display: grid !important;
    grid-template-columns: 26px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 8px 9px !important;
    border: 1px solid rgba(238, 208, 58, 0.48) !important;
    border-radius: 16px !important;
    background:
      radial-gradient(circle at 88% 12%, rgba(255, 235, 86, 0.92), transparent 28%),
      linear-gradient(145deg, #fff9d5 0%, #fff3a6 46%, #f8e766 100%) !important;
    color: #203427 !important;
    box-shadow: 0 12px 26px rgba(205, 176, 43, 0.24) !important;
    text-align: left !important;
    cursor: pointer !important;
  }

  body:has(.detail-main) .mobile-book-share:active {
    transform: translateY(1px) scale(0.985) !important;
  }

  body:has(.detail-main) .mobile-book-share-icon {
    width: 26px !important;
    height: 26px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: rgba(35, 55, 43, 0.95) !important;
    color: #fff8a4 !important;
  }

  body:has(.detail-main) .mobile-book-share-icon svg {
    width: 17px !important;
    height: 17px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body:has(.detail-main) .mobile-book-share-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 2px !important;
  }

  body:has(.detail-main) .mobile-book-share-copy strong {
    overflow: hidden !important;
    color: #203427 !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body:has(.detail-main) .mobile-book-share-copy small {
    display: block !important;
    overflow: hidden !important;
    margin: 0 !important;
    color: rgba(32, 52, 39, 0.72) !important;
    font-size: 10px !important;
    font-weight: 780 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) .mobile-book-summary {
    grid-template-columns: 70px minmax(0, 1fr) 86px !important;
    gap: 9px !important;
  }

  body:has(.detail-main) .mobile-book-share {
    min-height: 58px !important;
    grid-template-columns: 23px minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 7px 8px !important;
    border-radius: 14px !important;
  }

  body:has(.detail-main) .mobile-book-share-icon {
    width: 23px !important;
    height: 23px !important;
  }

  body:has(.detail-main) .mobile-book-share-copy strong {
    font-size: 12px !important;
  }

  body:has(.detail-main) .mobile-book-share-copy small {
    font-size: 9px !important;
  }
}

/* Design95: compact the mobile share entry into a small corner action. */
@media (max-width: 720px) {
  body:has(.detail-main) .mobile-book-summary {
    position: relative !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    align-items: center !important;
    padding: 14px 72px 14px 12px !important;
  }

  body:has(.detail-main) .mobile-book-summary > img {
    grid-column: 1 !important;
  }

  body:has(.detail-main) .mobile-book-summary > div {
    grid-column: 2 !important;
    min-width: 0 !important;
  }

  body:has(.detail-main) .mobile-book-share {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0 9px !important;
    border: 1px solid rgba(218, 190, 55, 0.58) !important;
    border-radius: 999px !important;
    background: #fff3a6 !important;
    box-shadow: 0 8px 18px rgba(224, 196, 49, 0.22) !important;
    color: #203427 !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-book-share-icon {
    width: 23px !important;
    height: 23px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #203427 !important;
    color: #fff6b8 !important;
    flex: 0 0 23px !important;
  }

  body:has(.detail-main) .mobile-book-share-icon svg {
    width: 15px !important;
    height: 15px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body:has(.detail-main) .mobile-book-share-label {
    display: block !important;
    color: #203427 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .mobile-book-share-copy {
    display: none !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) .mobile-book-summary {
    grid-template-columns: 70px minmax(0, 1fr) !important;
    padding: 12px 68px 12px 10px !important;
  }

  body:has(.detail-main) .mobile-book-share {
    top: 8px !important;
    right: 10px !important;
    height: 30px !important;
    gap: 3px !important;
    padding: 0 7px !important;
  }

  body:has(.detail-main) .mobile-book-share-icon {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
  }

  body:has(.detail-main) .mobile-book-share-icon svg {
    width: 13px !important;
    height: 13px !important;
  }

  body:has(.detail-main) .mobile-book-share-label {
    font-size: 12px !important;
  }
}

/* Design96: add a calm mobile preview module and turn health into a knowledge shelf. */
@media (max-width: 720px) {
  body:not(.profile-page) .mobile-upcoming-preview {
    position: relative !important;
    display: grid !important;
    gap: 11px !important;
    padding: 14px 12px 13px !important;
    overflow: hidden !important;
    border: 1px solid rgba(35, 62, 45, 0.1) !important;
    border-radius: 8px !important;
    background:
      linear-gradient(135deg, rgba(255, 249, 215, 0.82), rgba(244, 250, 240, 0.88) 58%, rgba(255, 255, 255, 0.95)),
      #fffdf4 !important;
    box-shadow: 0 12px 30px rgba(24, 30, 24, 0.052) !important;
  }

  body:not(.profile-page) .mobile-upcoming-preview::after {
    content: "" !important;
    position: absolute !important;
    right: -28px !important;
    top: -28px !important;
    width: 104px !important;
    height: 104px !important;
    border: 1px solid rgba(220, 196, 61, 0.28) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
  }

  body:not(.profile-page) .mobile-upcoming-head,
  body:not(.profile-page) .mobile-upcoming-card {
    position: relative !important;
    z-index: 1 !important;
  }

  body:not(.profile-page) .mobile-upcoming-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  body:not(.profile-page) .mobile-upcoming-head span {
    color: #8d875c !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-upcoming-head strong {
    color: #1c2f22 !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-upcoming-card {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 10px !important;
    border: 1px solid rgba(36, 60, 42, 0.09) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.78) !important;
  }

  body:not(.profile-page) .mobile-upcoming-cover {
    position: relative !important;
    width: 78px !important;
    min-width: 78px !important;
  }

  body:not(.profile-page) .mobile-upcoming-cover img {
    width: 78px !important;
    aspect-ratio: 3 / 4 !important;
    display: block !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    box-shadow: 0 12px 22px rgba(39, 47, 36, 0.13) !important;
  }

  body:not(.profile-page) .mobile-upcoming-cover em {
    position: absolute !important;
    left: 6px !important;
    bottom: 6px !important;
    max-width: calc(100% - 12px) !important;
    padding: 3px 5px !important;
    border-radius: 5px !important;
    background: rgba(255, 233, 87, 0.94) !important;
    color: #203427 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    font-style: normal !important;
    white-space: nowrap !important;
  }

  body:not(.profile-page) .mobile-upcoming-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 5px !important;
  }

  body:not(.profile-page) .mobile-upcoming-copy span {
    width: fit-content !important;
    max-width: 100% !important;
    padding: 3px 7px !important;
    border-radius: 999px !important;
    background: rgba(35, 78, 55, 0.1) !important;
    color: #2f6b48 !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body:not(.profile-page) .mobile-upcoming-copy h3 {
    margin: 0 !important;
    overflow: hidden !important;
    color: #16231a !important;
    font-size: 21px !important;
    line-height: 1.12 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body:not(.profile-page) .mobile-upcoming-copy p {
    margin: 0 !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #667461 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 680 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body:not(.profile-page) .mobile-health-books {
    display: grid !important;
    gap: 12px !important;
    padding: 15px 12px 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(34, 62, 43, 0.09) !important;
    border-radius: 8px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 244, 0.92)),
      #fff !important;
    box-shadow: 0 12px 30px rgba(24, 30, 24, 0.052) !important;
  }

  body:not(.profile-page) .mobile-health-books::before {
    display: none !important;
  }

  body:not(.profile-page) .mobile-health-head {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  body:not(.profile-page) .mobile-health-head span {
    color: #71845b !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-health-head h2 {
    margin: 5px 0 0 !important;
    color: #17231a !important;
    font-size: 25px !important;
    line-height: 1.05 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-health-head strong {
    flex: 0 0 auto !important;
    padding: 5px 8px !important;
    border: 1px solid rgba(35, 72, 47, 0.1) !important;
    border-radius: 999px !important;
    background: rgba(235, 244, 232, 0.82) !important;
    color: #536b4e !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body:not(.profile-page) .mobile-health-list {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  body:not(.profile-page) .mobile-health-card {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 54px minmax(0, 1fr) 34px !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 9px !important;
    border: 1px solid rgba(219, 226, 216, 0.92) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.78) !important;
    color: inherit !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-health-card.is-featured {
    grid-template-columns: 68px minmax(0, 1fr) 38px !important;
    padding: 10px !important;
    background:
      linear-gradient(135deg, rgba(255, 251, 225, 0.92), rgba(255, 255, 255, 0.9) 58%),
      #fff !important;
  }

  body:not(.profile-page) .mobile-health-card .cover-loadable-image {
    width: 54px !important;
    aspect-ratio: 3 / 4 !important;
    display: block !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    box-shadow: 0 9px 17px rgba(25, 38, 28, 0.12) !important;
  }

  body:not(.profile-page) .mobile-health-card.is-featured .cover-loadable-image {
    width: 68px !important;
  }

  body:not(.profile-page) .mobile-health-card-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 4px !important;
  }

  body:not(.profile-page) .mobile-health-card-copy em {
    width: fit-content !important;
    max-width: 100% !important;
    padding: 3px 7px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: rgba(45, 91, 62, 0.09) !important;
    color: #426642 !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    font-style: normal !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body:not(.profile-page) .mobile-health-card-copy strong {
    display: block !important;
    overflow: hidden !important;
    color: #18241b !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    font-weight: 930 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-health-card.is-featured .mobile-health-card-copy strong {
    font-size: 20px !important;
  }

  body:not(.profile-page) .mobile-health-card-copy small {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #697866 !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 680 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body:not(.profile-page) .mobile-health-points {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  body:not(.profile-page) .mobile-health-points i {
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 3px 5px !important;
    border-radius: 5px !important;
    background: rgba(247, 243, 226, 0.94) !important;
    color: #68735d !important;
    font-size: 10px !important;
    line-height: 1.05 !important;
    font-weight: 760 !important;
    font-style: normal !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body:not(.profile-page) .mobile-health-play {
    width: 34px !important;
    height: 34px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: #ffd84d !important;
    color: #17231b !important;
    box-shadow: 0 8px 18px rgba(224, 196, 49, 0.22) !important;
  }

  body:not(.profile-page) .mobile-health-play .play-icon {
    border-top-width: 6px !important;
    border-bottom-width: 6px !important;
    border-left-width: 10px !important;
  }
}

@media (max-width: 390px) {
  body:not(.profile-page) .mobile-upcoming-card {
    grid-template-columns: 66px minmax(0, 1fr) !important;
  }

  body:not(.profile-page) .mobile-upcoming-cover,
  body:not(.profile-page) .mobile-upcoming-cover img {
    width: 66px !important;
    min-width: 66px !important;
  }

  body:not(.profile-page) .mobile-upcoming-copy h3 {
    font-size: 19px !important;
  }

  body:not(.profile-page) .mobile-health-card,
  body:not(.profile-page) .mobile-health-card.is-featured {
    grid-template-columns: 50px minmax(0, 1fr) 32px !important;
    gap: 9px !important;
  }

  body:not(.profile-page) .mobile-health-card .cover-loadable-image,
  body:not(.profile-page) .mobile-health-card.is-featured .cover-loadable-image {
    width: 50px !important;
  }

  body:not(.profile-page) .mobile-health-card-copy strong,
  body:not(.profile-page) .mobile-health-card.is-featured .mobile-health-card-copy strong {
    font-size: 16px !important;
  }

  body:not(.profile-page) .mobile-health-play {
    width: 32px !important;
    height: 32px !important;
  }
}

/* Design97: implement selected option 1 for the mobile body-practice shelf. */
@media (max-width: 720px) {
  body:not(.profile-page) .mobile-health-feature {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 118px !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 36px !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 10px !important;
    border: 1px solid rgba(219, 226, 216, 0.94) !important;
    border-radius: 8px !important;
    background:
      linear-gradient(135deg, rgba(255, 251, 225, 0.94), rgba(255, 255, 255, 0.93) 62%),
      #fff !important;
    color: inherit !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-health-feature .cover-loadable-image {
    width: 82px !important;
    aspect-ratio: 3 / 4 !important;
    display: block !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    box-shadow: 0 11px 20px rgba(25, 38, 28, 0.13) !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy strong {
    font-size: 21px !important;
    line-height: 1.1 !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy small {
    font-size: 12px !important;
    line-height: 1.4 !important;
    -webkit-line-clamp: 2 !important;
  }

  body:not(.profile-page) .mobile-health-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body:not(.profile-page) .mobile-health-card {
    min-height: 96px !important;
    grid-template-columns: 44px minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: start !important;
    gap: 8px !important;
    padding: 9px !important;
  }

  body:not(.profile-page) .mobile-health-card .cover-loadable-image {
    width: 44px !important;
    border-radius: 6px !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-play {
    display: none !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy {
    align-self: center !important;
    gap: 4px !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy em {
    display: none !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy strong {
    font-size: 15px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy small {
    grid-column: auto !important;
    min-width: 0 !important;
    -webkit-line-clamp: 2 !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-points {
    display: none !important;
  }

  body:not(.profile-page) .mobile-health-more {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 14px !important;
    border: 1px solid rgba(35, 72, 47, 0.13) !important;
    border-radius: 999px !important;
    background: rgba(235, 244, 232, 0.9) !important;
    color: #203427 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 920 !important;
    letter-spacing: 0 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy em,
  body:not(.profile-page) .mobile-health-feature .mobile-health-points {
    display: none !important;
  }

  body:not(.profile-page) .mobile-category-page {
    width: min(100%, 430px) !important;
    min-height: 100vh !important;
    margin: 0 auto !important;
    padding: 14px 12px calc(92px + env(safe-area-inset-bottom)) !important;
    background:
      radial-gradient(circle at 92% 8%, rgba(255, 220, 69, 0.18), transparent 28%),
      linear-gradient(180deg, #fbfcf8 0%, #f2f6ef 100%) !important;
  }

  body:not(.profile-page) .mobile-category-page-head {
    display: grid !important;
    gap: 8px !important;
    padding: 12px 0 14px !important;
  }

  body:not(.profile-page) .mobile-category-back {
    width: fit-content !important;
    min-height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 14px !important;
    border: 1px solid rgba(35, 72, 47, 0.12) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.84) !important;
    color: #203427 !important;
    font-size: 14px !important;
    font-weight: 860 !important;
    text-decoration: none !important;
  }

  body:not(.profile-page) .mobile-category-page-head > span {
    margin-top: 6px !important;
    color: #76885f !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
  }

  body:not(.profile-page) .mobile-category-page-head h1 {
    margin: 0 !important;
    color: #132318 !important;
    font-size: 34px !important;
    line-height: 1.06 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-category-page-head p {
    max-width: 25em !important;
    margin: 0 !important;
    color: #667468 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 650 !important;
  }

  body:not(.profile-page) .mobile-category-page-list {
    display: grid !important;
    gap: 12px !important;
  }

  body:not(.profile-page) .mobile-category-list-card {
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 86px minmax(0, 1fr) 44px !important;
    gap: 13px !important;
    align-items: center !important;
    padding: 12px !important;
    border: 1px solid rgba(217, 226, 214, 0.92) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 14px 30px rgba(27, 36, 28, 0.055) !important;
  }

  body:not(.profile-page) .mobile-category-list-card .cover-loadable-image {
    width: 86px !important;
    aspect-ratio: 3 / 4 !important;
    display: block !important;
    border-radius: 7px !important;
    object-fit: cover !important;
    box-shadow: 0 12px 22px rgba(24, 35, 28, 0.11) !important;
  }

  body:not(.profile-page) .mobile-category-list-card h2 {
    margin: 0 0 6px !important;
    overflow-wrap: anywhere !important;
    color: #17231a !important;
    font-size: 21px !important;
    line-height: 1.16 !important;
    font-weight: 930 !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-category-list-card p {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #58675b !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 650 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body:not(.profile-page) .mobile-category-card-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 9px !important;
  }

  body:not(.profile-page) .mobile-category-card-meta span {
    min-height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 8px !important;
    border-radius: 999px !important;
    background: #eef4e9 !important;
    color: #5c6a5f !important;
    font-size: 12px !important;
    font-weight: 780 !important;
  }

  body:not(.profile-page) .mobile-category-card-play {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #ffd33f !important;
    box-shadow: 0 12px 22px rgba(255, 211, 63, 0.24) !important;
  }

  body:not(.profile-page) .mobile-category-card-play .play-icon {
    margin-left: 3px !important;
    border-top-width: 7px !important;
    border-bottom-width: 7px !important;
    border-left-width: 11px !important;
    border-left-color: #17331f !important;
  }
}

@media (max-width: 390px) {
  body:not(.profile-page) .mobile-health-feature {
    grid-template-columns: 74px minmax(0, 1fr) 34px !important;
    gap: 10px !important;
  }

  body:not(.profile-page) .mobile-health-feature .cover-loadable-image {
    width: 74px !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy strong {
    font-size: 19px !important;
  }

  body:not(.profile-page) .mobile-health-card {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    min-height: 92px !important;
    padding: 8px !important;
  }

  body:not(.profile-page) .mobile-health-card .cover-loadable-image {
    width: 40px !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy strong {
    font-size: 14px !important;
  }

  body:not(.profile-page) .mobile-category-list-card {
    grid-template-columns: 76px minmax(0, 1fr) 40px !important;
    gap: 11px !important;
    padding: 10px !important;
  }

  body:not(.profile-page) .mobile-category-list-card .cover-loadable-image {
    width: 76px !important;
  }

  body:not(.profile-page) .mobile-category-list-card h2 {
    font-size: 19px !important;
  }

  body:not(.profile-page) .mobile-category-card-play {
    width: 40px !important;
    height: 40px !important;
  }
}

/* mobile-health-shelf-production-20260624-v2: selected clean shelf layout. */
@media (max-width: 720px) {
  body:not(.profile-page) .mobile-health-books {
    position: relative !important;
    display: grid !important;
    gap: 12px !important;
    padding: 14px 12px 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(214, 225, 211, 0.94) !important;
    border-radius: 8px !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 250, 0.96), rgba(247, 251, 243, 0.96)),
      #fffefa !important;
    box-shadow: 0 14px 34px rgba(28, 50, 36, 0.075) !important;
  }

  body:not(.profile-page) .mobile-health-books::before {
    content: "" !important;
    position: absolute !important;
    top: -30px !important;
    right: -38px !important;
    width: 118px !important;
    height: 118px !important;
    display: block !important;
    border: 1px solid rgba(48, 92, 63, 0.1) !important;
    border-radius: 999px !important;
    background: transparent !important;
  }

  body:not(.profile-page) .mobile-health-head {
    position: relative !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  body:not(.profile-page) .mobile-health-head span {
    display: block !important;
    margin: 0 0 5px !important;
    color: #647a56 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
  }

  body:not(.profile-page) .mobile-health-head h2 {
    margin: 0 !important;
    color: #14231a !important;
    font-size: 25px !important;
    line-height: 1.04 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
  }

  body:not(.profile-page) .mobile-health-head strong {
    flex: 0 0 auto !important;
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    border: 1px solid rgba(35, 72, 47, 0.13) !important;
    border-radius: 999px !important;
    background: rgba(239, 247, 236, 0.94) !important;
    color: #496344 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
  }

  body:not(.profile-page) .mobile-health-feature {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 120px !important;
    display: grid !important;
    grid-template-columns: 82px minmax(0, 1fr) 44px !important;
    gap: 12px !important;
    align-items: center !important;
    padding: 10px !important;
    border: 1px solid rgba(218, 228, 214, 0.96) !important;
    border-radius: 8px !important;
    background:
      linear-gradient(135deg, rgba(255, 252, 231, 0.95), rgba(255, 255, 253, 0.96) 64%),
      #fff !important;
    color: inherit !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-health-feature .cover-loadable-image {
    width: 82px !important;
    aspect-ratio: 3 / 4 !important;
    display: block !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    box-shadow: 0 10px 20px rgba(24, 37, 28, 0.13) !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy {
    min-width: 0 !important;
    display: grid !important;
    gap: 7px !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy em,
  body:not(.profile-page) .mobile-health-feature .mobile-health-points {
    display: none !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy strong {
    display: block !important;
    overflow: hidden !important;
    color: #14231a !important;
    font-size: 20px !important;
    line-height: 1.12 !important;
    font-weight: 950 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy small {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #607263 !important;
    font-size: 12px !important;
    line-height: 1.42 !important;
    font-weight: 700 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-play {
    width: 44px !important;
    height: 44px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #ffd33f !important;
    color: #17231b !important;
    box-shadow: 0 12px 24px rgba(255, 211, 63, 0.25) !important;
  }

  body:not(.profile-page) .mobile-health-list {
    position: relative !important;
    z-index: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body:not(.profile-page) .mobile-health-card {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 104px !important;
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: center !important;
    padding: 9px !important;
    border: 1px solid rgba(219, 228, 215, 0.96) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 253, 0.86) !important;
    color: inherit !important;
    text-align: left !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-health-card .cover-loadable-image {
    width: 52px !important;
    aspect-ratio: 3 / 4 !important;
    display: block !important;
    border-radius: 6px !important;
    object-fit: cover !important;
    box-shadow: 0 8px 15px rgba(24, 37, 28, 0.1) !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy {
    min-width: 0 !important;
    display: grid !important;
    align-self: center !important;
    gap: 5px !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy em,
  body:not(.profile-page) .mobile-health-card .mobile-health-points,
  body:not(.profile-page) .mobile-health-card .mobile-health-play {
    display: none !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy strong {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #14231a !important;
    font-size: 14px !important;
    line-height: 1.16 !important;
    font-weight: 930 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy small {
    display: -webkit-box !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #637367 !important;
    font-size: 11px !important;
    line-height: 1.34 !important;
    font-weight: 700 !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
  }

  body:not(.profile-page) .mobile-health-more {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 14px !important;
    border: 1px solid rgba(35, 72, 47, 0.13) !important;
    border-radius: 999px !important;
    background: rgba(238, 247, 234, 0.94) !important;
    color: #203427 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 920 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
  }
}

@media (max-width: 390px) {
  body:not(.profile-page) .mobile-health-feature {
    grid-template-columns: 76px minmax(0, 1fr) 40px !important;
    gap: 10px !important;
  }

  body:not(.profile-page) .mobile-health-feature .cover-loadable-image {
    width: 76px !important;
  }

  body:not(.profile-page) .mobile-health-feature .mobile-health-card-copy strong {
    font-size: 19px !important;
  }

  body:not(.profile-page) .mobile-health-card {
    min-height: 98px !important;
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 8px !important;
  }

  body:not(.profile-page) .mobile-health-card .cover-loadable-image {
    width: 48px !important;
  }

  body:not(.profile-page) .mobile-health-card .mobile-health-card-copy strong {
    font-size: 13px !important;
  }
}

/* profile-cleanup-20260624: hide the redundant purchase/favorite/account shortcut block. */
body.profile-page .profile-quick-actions {
  display: none !important;
}

/* profile-home-redesign-20260627: reference-image inspired subscription home. */
:root {
  --profile-v2-ink: #14231a;
  --profile-v2-green: #214331;
  --profile-v2-muted: #6c7b6e;
  --profile-v2-line: rgba(42, 72, 52, 0.12);
  --profile-v2-paper: rgba(255, 255, 252, 0.9);
  --profile-v2-yellow: #ffe75a;
}

body.profile-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 226, 85, 0.1), transparent 32%),
    linear-gradient(180deg, #fbfcf8 0%, #f2f6ef 100%) !important;
}

body.profile-page .profile-main {
  width: min(100%, 460px) !important;
  padding: 12px 10px calc(118px + env(safe-area-inset-bottom)) !important;
}

body.profile-page .profile-mobile-shell-v2 {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding: 0 0 4px !important;
}

body.profile-page .profile-v2-hero-band,
body.profile-page .profile-subscription-section,
body.profile-page .profile-mobile-shell-v2 .profile-feature-card,
body.profile-page .profile-mobile-shell-v2 .profile-listening-dashboard,
body.profile-page .profile-mobile-shell-v2 .profile-history-glass {
  border: 1px solid var(--profile-v2-line) !important;
  border-radius: 8px !important;
  background: var(--profile-v2-paper) !important;
  box-shadow: 0 16px 42px rgba(30, 48, 35, 0.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  backdrop-filter: blur(18px) saturate(1.05);
}

body.profile-page .profile-v2-hero-band {
  display: grid !important;
  gap: 13px !important;
  padding: 10px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 94% 38%, rgba(255, 232, 95, 0.23), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 252, 0.96), rgba(248, 252, 244, 0.94)) !important;
}

body.profile-page .profile-v2-hero-band .profile-mobile-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 36px !important;
}

body.profile-page .profile-v2-hero-band .profile-top-left {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.profile-page .profile-v2-hero-band .profile-back-button,
body.profile-page .profile-v2-hero-band .profile-service-button,
body.profile-page .profile-v2-hero-band .profile-top-icon,
body.profile-page .profile-v2-hero-band .profile-logout-button,
body.profile-page .profile-v2-hero-band .profile-edit-link {
  min-height: 34px !important;
  border: 1px solid rgba(40, 63, 47, 0.1) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #243a2c !important;
  box-shadow: none !important;
}

body.profile-page .profile-v2-hero-band .profile-back-button {
  width: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  font-size: 24px !important;
  line-height: 1 !important;
}

body.profile-page .profile-v2-hero-band .profile-service-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 0 11px !important;
  font-size: 12px !important;
  font-weight: 820 !important;
}

body.profile-page .profile-service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #40b66c;
  box-shadow: 0 0 0 4px rgba(64, 182, 108, 0.12);
}

body.profile-page .profile-v2-person-row {
  display: grid !important;
  grid-template-columns: 50px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  padding: 2px 4px 0 !important;
}

body.profile-page .profile-v2-person-row .profile-mobile-avatar {
  width: 48px !important;
  height: 48px !important;
  border-width: 2px !important;
  box-shadow: 0 10px 20px rgba(31, 52, 40, 0.14) !important;
}

body.profile-page .profile-v2-person-row h1 {
  margin: 0 !important;
  overflow: hidden !important;
  color: var(--profile-v2-ink) !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.profile-page .profile-v2-person-row p {
  max-width: none !important;
  margin: 4px 0 0 !important;
  overflow: hidden !important;
  color: var(--profile-v2-muted) !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.profile-page .profile-v2-person-row .profile-edit-link {
  min-height: 30px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  color: #33493a !important;
  font-size: 12px !important;
  font-weight: 820 !important;
  text-decoration: none !important;
}

body.profile-page .profile-brain-hero {
  position: relative;
  min-height: 206px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 12px;
  padding: 20px 18px 16px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 84% 18%, rgba(214, 233, 218, 0.82), transparent 24%),
    linear-gradient(135deg, #f8fbf4 0%, #eff8ec 54%, #fff7d7 100%);
}

body.profile-page .profile-brain-hero::before {
  content: "";
  position: absolute;
  right: -46px;
  top: -48px;
  width: 144px;
  height: 144px;
  border: 1px solid rgba(47, 88, 59, 0.12);
  border-radius: 999px;
}

body.profile-page .profile-brain-copy {
  position: relative;
  z-index: 2;
  max-width: 210px;
}

body.profile-page .profile-brain-copy h2 {
  margin: 0;
  color: var(--profile-v2-ink);
  font-size: 25px;
  line-height: 1.13;
  font-weight: 950;
  letter-spacing: 0;
}

body.profile-page .profile-brain-copy p {
  margin: 9px 0 0;
  color: #516958;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 680;
}

body.profile-page .profile-brain-art {
  position: absolute;
  right: 22px;
  top: 54px;
  width: 118px;
  height: 110px;
  opacity: 0.95;
}

body.profile-page .brain-book {
  position: absolute;
  right: 8px;
  bottom: 0;
  width: 92px;
  height: 34px;
  border-radius: 4px 4px 14px 14px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(45, 74, 52, 0.16) 49%, rgba(45, 74, 52, 0.16) 51%, transparent 52%),
    linear-gradient(180deg, #ffffff, #eaf3e8);
  border: 1px solid rgba(54, 88, 63, 0.12);
  box-shadow: 0 12px 28px rgba(45, 74, 52, 0.12);
}

body.profile-page .brain-tree {
  position: absolute;
  right: 33px;
  bottom: 28px;
  width: 38px;
  height: 68px;
  border-radius: 999px 999px 3px 3px;
  border-left: 5px solid #9bc9a9;
  transform: rotate(-7deg);
}

body.profile-page .brain-tree::before,
body.profile-page .brain-tree::after {
  content: "";
  position: absolute;
  border: 2px solid #8fbea0;
  border-radius: 45% 55% 52% 48%;
  background: rgba(222, 240, 225, 0.88);
}

body.profile-page .brain-tree::before {
  left: -31px;
  top: -17px;
  width: 50px;
  height: 36px;
}

body.profile-page .brain-tree::after {
  left: -1px;
  top: -25px;
  width: 54px;
  height: 42px;
}

body.profile-page .profile-brain-cues {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.profile-page .profile-brain-cues span {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-width: 0;
  color: #526b58;
  font-size: 11px;
  font-weight: 760;
}

body.profile-page .profile-cue-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(35, 58, 43, 0.08);
}

body.profile-page .profile-cue-icon::before {
  color: var(--profile-v2-green);
  font-size: 18px;
  line-height: 1;
}

body.profile-page .profile-cue-move::before {
  content: "↗";
}

body.profile-page .profile-cue-eat::before {
  content: "●";
}

body.profile-page .profile-cue-grow::before {
  content: "✦";
}

body.profile-page .profile-brain-hero > small {
  position: relative;
  z-index: 2;
  color: #8b987f;
  font-size: 11px;
  font-weight: 700;
}

body.profile-page .profile-subscription-section {
  display: grid;
  gap: 12px;
  padding: 14px !important;
}

body.profile-page .profile-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.profile-page .profile-section-title h2 {
  margin: 0;
  color: var(--profile-v2-ink);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 920;
}

body.profile-page .profile-section-title span {
  color: #8c958b;
  font-size: 11px;
  font-weight: 680;
  white-space: nowrap;
}

body.profile-page .profile-subscription-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.profile-page .profile-plan-card {
  position: relative;
  min-height: 180px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  padding: 17px 10px 14px;
  border: 1px solid rgba(34, 62, 45, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--profile-v2-ink);
  text-align: center;
  box-shadow: none;
}

body.profile-page .profile-plan-card.is-selected {
  border-color: #23452f;
  background: linear-gradient(180deg, #fffefa, #f7fbf4);
  box-shadow: 0 18px 36px rgba(31, 52, 40, 0.1);
}

body.profile-page .profile-plan-card span {
  color: #17271d;
  font-size: 15px;
  font-weight: 900;
}

body.profile-page .profile-plan-card strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #111b15;
  font-size: 31px;
  line-height: 1;
  font-weight: 950;
}

body.profile-page .profile-plan-card strong small {
  font-size: 14px;
}

body.profile-page .profile-plan-card strong em {
  color: #a4aaa1;
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
  text-decoration: line-through;
}

body.profile-page .profile-plan-card b {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f5f7f1;
  color: #536354;
  font-size: 12px;
  font-weight: 780;
}

body.profile-page .profile-plan-card i {
  color: #8b9589;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

body.profile-page .profile-plan-card u {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid #b9c4b6;
  border-radius: 999px;
  text-decoration: none;
}

body.profile-page .profile-plan-card.is-selected u {
  border-color: var(--profile-v2-green);
  background: var(--profile-v2-green);
}

body.profile-page .profile-plan-card.is-selected u::before {
  content: "✓";
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

body.profile-page .profile-subscribe-button {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a5b3e, #1f3f2e);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(28, 63, 42, 0.22);
}

body.profile-page .profile-subscribe-agreement {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #879184;
  font-size: 11px;
  font-weight: 650;
}

body.profile-page .profile-subscribe-agreement input {
  width: 14px;
  height: 14px;
  accent-color: var(--profile-v2-green);
}

/* profile-paid-membership-card-20260628: paid users see status instead of subscription plans. */
body.profile-page .profile-paid-membership-card {
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0 10px;
  padding: 18px 18px;
  border: 1px solid rgba(38, 64, 47, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 8%, rgba(41, 77, 54, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 249, 241, 0.88));
  box-shadow:
    0 18px 44px rgba(33, 57, 41, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body.profile-page .profile-paid-membership-copy {
  min-width: 0;
  display: grid;
  gap: 8px;
}

body.profile-page .profile-paid-membership-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.profile-page .profile-paid-membership-title strong {
  overflow: hidden;
  color: #233427;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

body.profile-page .profile-paid-membership-title em {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.92);
  color: #986f38;
  font-size: 13px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(198, 149, 88, 0.12);
}

body.profile-page .profile-paid-membership-copy p {
  margin: 0;
  color: #6f7a71;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  white-space: nowrap;
}

body.profile-page .profile-paid-membership-renew {
  min-width: 78px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(44, 87, 61), rgb(30, 77, 54));
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(30, 77, 54, 0.22);
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-grid,
body.profile-page .profile-mobile-shell-v2 .profile-listening-dashboard {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-benefit-grid {
  gap: 10px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-feature-card,
body.profile-page .profile-mobile-shell-v2 .profile-friend-row {
  min-height: 104px !important;
  display: grid !important;
  align-content: center !important;
  gap: 7px !important;
  padding: 14px !important;
  color: inherit !important;
  text-align: left !important;
  text-decoration: none !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-feature-card::after {
  width: 38px !important;
  height: 38px !important;
  right: 12px !important;
  bottom: 12px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-feature-kicker,
body.profile-page .profile-mobile-shell-v2 .profile-friend-row span {
  color: #788575 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 780 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-feature-card strong,
body.profile-page .profile-mobile-shell-v2 .profile-friend-row strong {
  color: var(--profile-v2-ink) !important;
  font-size: 19px !important;
  line-height: 1.16 !important;
  font-weight: 930 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-feature-card small,
body.profile-page .profile-mobile-shell-v2 .profile-friend-row small {
  color: #879184 !important;
  font-size: 12px !important;
  line-height: 1.28 !important;
  font-weight: 680 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-friend-dashboard {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-friend-row {
  border: 1px solid var(--profile-v2-line);
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.88);
  box-shadow: 0 16px 38px rgba(30, 48, 35, 0.07);
}

body.profile-page .profile-mobile-shell-v2 .profile-friend-row:first-child {
  background: linear-gradient(145deg, #f9fff6, #eaf4e9) !important;
  color: inherit !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-glass {
  padding: 14px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-card-head span {
  color: #879184 !important;
  font-size: 13px !important;
  font-weight: 780 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-card-head h2 {
  margin: 2px 0 0 !important;
  color: var(--profile-v2-ink) !important;
  font-size: 24px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-card-head a {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: #24382b !important;
  font-size: 13px !important;
  font-weight: 820 !important;
  text-decoration: none !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-list {
  display: grid !important;
  gap: 9px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-item {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  min-height: 62px !important;
  padding: 8px !important;
  border: 1px solid rgba(37, 62, 45, 0.08) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.72) !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-item img {
  width: 46px !important;
  aspect-ratio: 3 / 4 !important;
  border-radius: 5px !important;
  object-fit: cover !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-copy {
  min-width: 0 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-copy span {
  display: none !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-copy h3 {
  margin: 0 0 6px !important;
  overflow: hidden !important;
  color: #1a2a20 !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  font-weight: 860 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-copy i {
  width: 100% !important;
  height: 4px !important;
  display: block !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: #dce4d9 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-status {
  display: grid !important;
  justify-items: end !important;
  gap: 4px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-status strong {
  max-width: 72px !important;
  overflow: hidden !important;
  color: #859184 !important;
  font-size: 10px !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-status a {
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 8px !important;
  border-radius: 999px !important;
  background: #eef4ec !important;
  color: #314b38 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body.profile-page .profile-mobile-shell-v2 .current-listening-card {
  right: auto !important;
  bottom: calc(76px + env(safe-area-inset-bottom)) !important;
  left: 50% !important;
  width: min(390px, calc(100vw - 38px)) !important;
  transform: translateX(-50%) !important;
  grid-template-columns: 48px minmax(0, 1fr) auto auto !important;
  min-height: 66px !important;
  padding: 9px 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 252, 0.92) !important;
}

body.profile-page .profile-mobile-shell-v2 .current-listening-cover img {
  width: 48px !important;
  border-radius: 5px !important;
}

body.profile-page .profile-mobile-shell-v2 .current-listening-head strong {
  font-size: 16px !important;
}

body.profile-page .profile-mobile-shell-v2 .current-listening-head p {
  display: none !important;
}

body.profile-page .profile-mobile-shell-v2 .mini-player-controls {
  grid-template-columns: 40px 34px auto !important;
}

body.profile-page .profile-mobile-shell-v2 .mini-player-time {
  display: none !important;
}

@media (min-width: 721px) {
  body.profile-page .profile-mobile-shell-v2 {
    max-width: 390px !important;
  }

  body.profile-page .profile-main {
    padding-top: 26px !important;
  }
}

@media (max-width: 390px) {
  body.profile-page .profile-brain-copy h2 {
    font-size: 23px;
  }

  body.profile-page .profile-brain-art {
    right: 12px;
    transform: scale(0.9);
    transform-origin: right center;
  }

  body.profile-page .profile-plan-card {
    min-height: 168px;
    padding-inline: 8px;
  }

  body.profile-page .profile-plan-card strong {
    font-size: 27px;
  }
}

/* profile-home-reference-20260627: final "我的" page matched to the paid membership mockup. */
body.profile-page {
  --profile-ref-ink: #101913;
  --profile-ref-green: #28533a;
  --profile-ref-soft: #f7faf6;
  --profile-ref-line: rgba(37, 76, 52, 0.12);
  background:
    radial-gradient(circle at 50% 4%, rgba(53, 89, 63, 0.05), transparent 38%),
    linear-gradient(180deg, #fff 0%, #f8faf7 58%, #f4f8f2 100%) !important;
}

body.profile-page .profile-main {
  width: min(100%, 430px) !important;
  padding: 18px 10px calc(122px + env(safe-area-inset-bottom)) !important;
}

body.profile-page .profile-mobile-shell-v2 {
  width: min(100%, 414px) !important;
  max-width: 414px !important;
  gap: 14px !important;
}

body.profile-page .profile-v2-hero-band {
  gap: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.profile-page .profile-v2-hero-band > .profile-brain-hero-image {
  width: calc(100% - 18px) !important;
  margin: -1px auto 2px !important;
}

body.profile-page .profile-v2-hero-band .profile-mobile-topbar {
  min-height: 38px !important;
  padding: 0 12px !important;
}

body.profile-page .profile-v2-hero-band .profile-back-button {
  width: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border: 0 !important;
  background: transparent !important;
  color: #0f1712 !important;
  font-size: 34px !important;
  font-weight: 300 !important;
}

body.profile-page .profile-v2-hero-band .profile-back-button span {
  transform: translateY(-1px);
}

body.profile-page .profile-v2-hero-band .profile-service-button {
  min-height: 31px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(29, 67, 44, 0.18) !important;
  background: rgba(255, 255, 255, 0.78) !important;
  color: #14231a !important;
  font-size: 14px !important;
  font-weight: 860 !important;
}

body.profile-page .profile-v2-hero-band .profile-service-dot {
  width: 13px !important;
  height: 13px !important;
  border: 2px solid #eef6ee !important;
  background: #4b8762 !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.72) !important;
}

body.profile-page .profile-v2-hero-band .profile-top-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body.profile-page .profile-v2-hero-band .profile-top-icon-mail {
  width: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

body.profile-page .profile-v2-hero-band .profile-top-icon-mail span {
  width: 30px !important;
  height: 24px !important;
  display: block !important;
  position: relative !important;
  border: 3px solid #111915 !important;
  border-radius: 12px 12px 10px 10px !important;
  background: #fff !important;
}

body.profile-page .profile-v2-hero-band .profile-top-icon-mail span::before {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: -11px !important;
  width: 18px !important;
  height: 8px !important;
  transform: translateX(-50%) !important;
  border: 3px solid #ef3333 !important;
  border-bottom: 0 !important;
  border-radius: 999px 999px 0 0 !important;
}

body.profile-page .profile-v2-hero-band .profile-top-icon-mail em {
  right: -5px !important;
  top: -7px !important;
}

body.profile-page .profile-v2-person-row {
  grid-template-columns: 66px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 16px 24px 8px !important;
}

body.profile-page .profile-v2-person-row .profile-mobile-avatar {
  width: 60px !important;
  height: 60px !important;
  border-width: 4px !important;
}

body.profile-page .profile-v2-person-row h1 {
  color: #101913 !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  flex-wrap: wrap !important;
  font-size: 23px !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}

/* profile-image-avatar-20260628: uploaded guest/member avatars for profile and auth surfaces. */
.qinghe-avatar.profile-image-avatar,
.mobile-login-avatar.qinghe-avatar,
.mobile-auth-avatar.qinghe-avatar {
  overflow: hidden !important;
  background: #eef5e8 !important;
}

.qinghe-avatar.profile-image-avatar img,
.mobile-login-avatar.qinghe-avatar img,
.mobile-auth-avatar.qinghe-avatar img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border-radius: inherit !important;
  object-fit: cover !important;
}

.qinghe-avatar.profile-image-avatar .profile-avatar-face,
.qinghe-avatar.profile-image-avatar .qinghe-avatar-face,
.qinghe-avatar.profile-image-avatar .avatar-badge {
  display: none !important;
}

body.profile-page .profile-name-login-button {
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  border: 1px solid rgba(30, 77, 54, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(30, 77, 54, 0.08) !important;
  color: #1e4d36 !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

/* toast-above-fixed-player-20260629: keep all transient status messages above mobile fixed controls. */
.toast.show,
.profile-toast.show,
.reader-toast.is-visible {
  z-index: 1180 !important;
}

.profile-toast {
  bottom: calc(176px + env(safe-area-inset-bottom)) !important;
}

.reader-toast {
  bottom: calc(76px + env(safe-area-inset-bottom)) !important;
}

@media (max-width: 760px) {
  .toast.show {
    right: 16px !important;
    bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    left: 16px !important;
    width: auto !important;
  }
}

body.profile-page .profile-v2-person-row p {
  margin-top: 8px !important;
  color: #777f7b !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 640 !important;
  white-space: normal !important;
}

body.profile-page .profile-brain-hero-image {
  min-height: 0 !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 23px !important;
  background: transparent !important;
  box-shadow:
    0 16px 36px rgba(32, 59, 41, 0.045),
    0 1px 0 rgba(255, 255, 255, 0.72) !important;
  overflow: hidden !important;
}

body.profile-page .profile-brain-hero-image::before,
body.profile-page .profile-brain-hero-image::after {
  content: none !important;
}

body.profile-page .profile-brain-hero-image img {
  width: 100% !important;
  display: block !important;
  border: 0 !important;
  border-radius: inherit !important;
  object-fit: cover !important;
  transform: scale(1.012) !important;
  transform-origin: center !important;
}

body.profile-page .profile-subscription-section {
  padding: 0 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 12px !important;
}

body.profile-page .profile-section-title {
  padding: 0 7px !important;
}

body.profile-page .profile-section-title h2 {
  color: #101913 !important;
  font-size: 23px !important;
  line-height: 1.16 !important;
  font-weight: 900 !important;
}

body.profile-page .profile-section-title span {
  color: #9aa09c !important;
  font-size: 12px !important;
  font-weight: 640 !important;
}

body.profile-page .profile-subscription-plans {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.profile-page .profile-plan-card {
  min-height: 184px !important;
  gap: 14px !important;
  padding: 24px 10px 16px !important;
  border: 1px solid rgba(39, 65, 47, 0.11) !important;
  border-radius: 8px !important;
  background:
    radial-gradient(circle at 72% 12%, rgba(229, 213, 187, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 18px 40px rgba(42, 69, 50, 0.05) !important;
}

body.profile-page .profile-plan-card.is-selected {
  border-color: #2c5a3d !important;
  box-shadow:
    0 18px 40px rgba(42, 69, 50, 0.08),
    inset 0 0 0 1px rgba(44, 90, 61, 0.35) !important;
}

body.profile-page .profile-plan-card mark {
  position: absolute !important;
  left: -1px !important;
  top: -1px !important;
  min-width: 72px !important;
  min-height: 25px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px 0 14px 0 !important;
  background: linear-gradient(135deg, #c98925, #d7a347) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.profile-page .profile-plan-card span {
  font-size: 17px !important;
  font-weight: 880 !important;
  letter-spacing: 0.08em !important;
}

body.profile-page .profile-plan-card strong {
  font-size: 38px !important;
  letter-spacing: 0.06em !important;
}

body.profile-page .profile-plan-card strong small {
  margin-right: 2px !important;
  font-size: 15px !important;
}

body.profile-page .profile-plan-card strong em {
  margin-left: 5px !important;
  color: #9fa4a1 !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}

body.profile-page .profile-plan-card b {
  min-height: 27px !important;
  min-width: 118px !important;
  border: 1px solid rgba(32, 57, 41, 0.11) !important;
  background: rgba(255, 255, 255, 0.66) !important;
  color: #1e2b23 !important;
  font-size: 13px !important;
}

body.profile-page .profile-plan-card i {
  color: #8b918e !important;
  font-size: 13px !important;
}

body.profile-page .profile-plan-card u {
  width: 27px !important;
  height: 27px !important;
  border: 2px solid #c2c9c6 !important;
}

body.profile-page .profile-plan-card.is-selected u {
  border-color: #4e815d !important;
  background: #4e815d !important;
}

body.profile-page .profile-subscribe-button {
  min-height: 64px !important;
  margin-top: 2px !important;
  border-radius: 999px !important;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 255, 255, 0.16), transparent 36%),
    linear-gradient(180deg, #315f40, #254a34) !important;
  font-size: 23px !important;
  letter-spacing: 0.05em !important;
}

/* profile-afdian-payment-status-20260629: show a pending Afdian order with a manual refresh action. */
body.profile-page .profile-afdian-payment-status {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 13px !important;
  padding: 14px 15px !important;
  border: 1px solid rgba(72, 113, 83, 0.18) !important;
  border-radius: 14px !important;
  background:
    radial-gradient(circle at 9% 8%, rgba(91, 143, 101, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(250, 255, 251, 0.96), rgba(244, 248, 245, 0.9)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body.profile-page .profile-afdian-payment-copy {
  min-width: 0 !important;
}

body.profile-page .profile-afdian-payment-status span,
body.profile-page .profile-afdian-payment-status strong {
  display: block !important;
}

body.profile-page .profile-afdian-payment-status span {
  color: #6d7770 !important;
  font-size: 12px !important;
  font-weight: 820 !important;
}

body.profile-page .profile-afdian-payment-status strong {
  margin-top: 3px !important;
  color: #254a34 !important;
  font-size: 15px !important;
  font-weight: 920 !important;
}

body.profile-page .profile-afdian-payment-status button {
  min-height: 38px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #315f40 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 860 !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(39, 77, 53, 0.16) !important;
}

body.profile-page .profile-afdian-direct-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: #315f40 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 880 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 22px rgba(39, 77, 53, 0.16) !important;
}

/* profile-afdian-return-history-20260630: pending payment actions stay readable on mobile. */
body.profile-page .profile-afdian-payment-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  width: 100% !important;
}

body.profile-page .profile-afdian-payment-actions .profile-afdian-refresh-button {
  grid-column: 1 / -1 !important;
  min-height: 42px !important;
}

body.profile-page .profile-afdian-payment-actions button[data-profile-cancel-payment] {
  background: rgba(49, 95, 64, 0.1) !important;
  color: #315f40 !important;
  box-shadow: none !important;
}

@media (max-width: 420px) {
  body.profile-page .profile-afdian-payment-status {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  body.profile-page .profile-afdian-payment-actions {
    grid-template-columns: 1fr !important;
  }

  body.profile-page .profile-afdian-payment-actions .profile-afdian-refresh-button {
    grid-column: auto !important;
  }
}

body.profile-page .profile-subscribe-agreement {
  margin-top: -1px !important;
  color: #8f9692 !important;
  font-size: 12px !important;
}

body.profile-page .profile-subscribe-agreement input {
  width: 18px !important;
  height: 18px !important;
}

/* mobile-free-zone-compact-20260703: keep the free shelf compact and horizontal. */
@media (max-width: 720px) {
  body:not(.profile-page) .mobile-free-books {
    padding-bottom: 16px !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-free-book-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-free-book-card {
    display: grid !important;
    grid-template-columns: 62px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
    min-height: 96px !important;
    padding: 8px !important;
    border: 1px solid rgba(40, 58, 44, 0.15) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 252, 0.98) !important;
    color: #171a16 !important;
    text-align: left !important;
    box-shadow:
      0 10px 24px rgba(24, 31, 23, 0.065),
      inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-free-cover-frame {
    display: block !important;
    width: 62px !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
    border-radius: 7px !important;
    background: #f1f2ed !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-free-cover-frame img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 7px !important;
    box-shadow: none !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-free-book-copy {
    display: grid !important;
    gap: 3px !important;
    min-width: 0 !important;
    align-content: center !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-free-book-copy em {
    width: fit-content !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    background: #edf1ea !important;
    color: #334438 !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 860 !important;
    line-height: 1.25 !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-free-book-copy strong {
    display: -webkit-box !important;
    overflow: hidden !important;
    min-height: 2.4em !important;
    color: #171a16 !important;
    font-size: 13px !important;
    font-weight: 840 !important;
    line-height: 1.2 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-free-book-copy small {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #73796f !important;
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 1 !important;
  }

  body:not(.profile-page) .mobile-free-books .mobile-all-books {
    display: none !important;
  }
}

/* mobile-member-feature-book-frame-20260714 */
@media (max-width: 720px) {
  body:not(.profile-page) .mobile-new-books:not(.mobile-free-books) .mobile-feature-book {
    border: 1px solid rgba(40, 58, 44, 0.15) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 252, 0.98) !important;
    box-shadow:
      0 14px 30px rgba(24, 31, 23, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.92) !important;
  }
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-grid {
  padding: 0 10px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-soft-card {
  min-height: 86px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 18px 20px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background:
    radial-gradient(circle at 90% 8%, rgba(42, 83, 58, 0.045), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 249, 247, 0.62)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    0 18px 46px rgba(31, 52, 38, 0.052) !important;
  text-align: left !important;
  text-decoration: none !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-soft-card::after {
  display: none !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-soft-card .profile-feature-kicker {
  color: #30563c !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 880 !important;
  letter-spacing: 0.1em !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-soft-card strong {
  color: #111915 !important;
  font-size: 18px !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-soft-stat strong {
  font-size: clamp(17px, 4.5vw, 20px) !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-soft-card small {
  color: #868e89 !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
  letter-spacing: 0.08em !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-glass {
  margin: 0 10px !important;
  padding: 14px 17px !important;
  border: 1px solid rgba(36, 67, 45, 0.08) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.74) !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-card-head h2 {
  font-size: 15px !important;
  letter-spacing: 0.08em !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-card-head span {
  display: none !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-card-head a {
  min-height: 30px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(34, 58, 42, 0.08) !important;
  color: #111a14 !important;
  font-size: 13px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-list {
  gap: 9px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-item {
  grid-template-columns: 48px minmax(0, 1fr) 70px !important;
  min-height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-item img {
  width: 42px !important;
  border-radius: 6px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-copy h3 {
  margin-bottom: 8px !important;
  color: #111a14 !important;
  font-size: 14px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-copy i {
  height: 3px !important;
  background: #e5ebe5 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-copy i b {
  background: #315f40 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-status strong {
  max-width: 70px !important;
  color: #929893 !important;
  font-size: 11px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-history-status a {
  background: #f6f1e8 !important;
  color: #7c6d56 !important;
}

body.profile-page .profile-mobile-shell-v2 .current-listening-card {
  width: min(384px, calc(100vw - 30px)) !important;
  min-height: 58px !important;
  bottom: calc(73px + env(safe-area-inset-bottom)) !important;
  border: 1px solid rgba(37, 76, 52, 0.1) !important;
  box-shadow: 0 14px 34px rgba(42, 69, 50, 0.08) !important;
}

/* profile-play-queue-20260629: profile mini player opens listening history plus watch-later audio. */
body.profile-page .profile-paid-membership-title strong {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  white-space: nowrap !important;
}

body.profile-page .profile-member-plan-name {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.profile-page .profile-member-plan-kind {
  flex: 0 0 auto !important;
  min-height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 7px !important;
  border: 1px solid rgba(130, 110, 75, 0.14) !important;
  border-radius: 999px !important;
  background: rgba(255, 248, 232, 0.72) !important;
  color: #7c6a4e !important;
  font-size: 12px !important;
  font-weight: 860 !important;
}

body.profile-page .profile-play-queue-layer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1120 !important;
  display: grid !important;
  align-items: end !important;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom)) !important;
}

body.profile-page .profile-play-queue-backdrop {
  position: absolute !important;
  inset: 0 !important;
  border: 0 !important;
  background: rgba(17, 27, 20, 0.22) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

body.profile-page .profile-play-queue-sheet {
  position: relative !important;
  z-index: 1 !important;
  width: min(100%, 414px) !important;
  max-height: min(72vh, 560px) !important;
  margin: 0 auto calc(52px + env(safe-area-inset-bottom)) !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  overflow: hidden !important;
  border: 1px solid rgba(35, 65, 45, 0.12) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 252, 0.96) !important;
  box-shadow: 0 24px 70px rgba(18, 32, 23, 0.18) !important;
}

body.profile-page .profile-play-queue-sheet header {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 16px 12px !important;
  border-bottom: 1px solid rgba(33, 58, 42, 0.08) !important;
}

body.profile-page .profile-play-queue-sheet header span,
body.profile-page .profile-play-queue-sheet header small {
  color: #858d87 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 740 !important;
}

body.profile-page .profile-play-queue-sheet header strong {
  display: block !important;
  margin-top: 3px !important;
  color: #111a14 !important;
  font-size: 22px !important;
  line-height: 1.05 !important;
  font-weight: 930 !important;
}

body.profile-page .profile-play-queue-sheet header small {
  max-width: 108px !important;
  text-align: right !important;
}

body.profile-page .profile-play-queue-sheet header button[data-profile-play-queue-close] {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 1px solid rgba(34, 58, 42, 0.08) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: transparent !important;
  font-size: 0 !important;
}

body.profile-page .profile-play-queue-sheet header button[data-profile-play-queue-close]::before,
body.profile-page .profile-play-queue-sheet header button[data-profile-play-queue-close]::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 14px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #1c2a21 !important;
}

body.profile-page .profile-play-queue-sheet header button[data-profile-play-queue-close]::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

body.profile-page .profile-play-queue-sheet header button[data-profile-play-queue-close]::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body.profile-page .profile-play-queue-clear {
  min-width: 44px !important;
  height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(34, 58, 42, 0.1) !important;
  border-radius: 999px !important;
  background: rgba(246, 249, 244, 0.92) !important;
  color: #345241 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 860 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 20px rgba(18, 32, 23, 0.06) !important;
}

body.profile-page .profile-play-queue-clear:active,
body.profile-page .profile-play-queue-clear:focus-visible {
  background: rgba(230, 239, 225, 0.96) !important;
  outline: none !important;
}

body.profile-page .profile-play-queue-list {
  display: grid !important;
  gap: 6px !important;
  padding: 8px 10px 12px !important;
  overflow: auto !important;
}

body.profile-page .profile-play-queue-item button {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 24px !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 9px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #111a14 !important;
  text-align: left !important;
}

body.profile-page .profile-play-queue-item button:active,
body.profile-page .profile-play-queue-item button:focus-visible {
  background: #f5f8f3 !important;
}

body.profile-page .profile-play-queue-item img {
  width: 46px !important;
  aspect-ratio: 3 / 4 !important;
  border-radius: 6px !important;
  object-fit: cover !important;
  box-shadow: 0 8px 18px rgba(30, 52, 38, 0.1) !important;
}

body.profile-page .profile-play-queue-item span {
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
}

body.profile-page .profile-play-queue-badge {
  color: #7d897f !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 760 !important;
}

body.profile-page .profile-play-queue-item strong {
  overflow: hidden !important;
  color: #111a14 !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 890 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.profile-page .profile-play-queue-item small {
  overflow: hidden !important;
  color: #8e948f !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.profile-page .profile-play-queue-item em {
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: #eef4ec !important;
}

body.profile-page .profile-play-queue-item em::before {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  margin: 6px 0 0 8px !important;
  border-top: 5px solid transparent !important;
  border-bottom: 5px solid transparent !important;
  border-left: 7px solid #245138 !important;
}

body.profile-page .profile-play-queue-empty {
  padding: 26px 18px 30px !important;
  color: #7b847d !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 720 !important;
  text-align: center !important;
}

/* home-play-queue-20260630: reuse the profile listening-history sheet on the home mini player. */
body:not(.profile-page) .profile-play-queue-layer {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483200 !important;
  display: grid !important;
  align-items: end !important;
  padding: 0 12px calc(68px + env(safe-area-inset-bottom)) !important;
  pointer-events: auto !important;
}

body:not(.profile-page) .profile-play-queue-backdrop {
  position: fixed !important;
  inset: 0 !important;
  border: 0 !important;
  background: rgba(16, 24, 19, 0.24) !important;
  backdrop-filter: blur(10px) !important;
}

body:not(.profile-page) .profile-play-queue-sheet {
  position: relative !important;
  width: min(100%, 560px) !important;
  max-height: min(58vh, 520px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  overflow: hidden !important;
  border: 1px solid rgba(34, 58, 42, 0.08) !important;
  border-radius: 10px !important;
  background: rgba(255, 255, 252, 0.96) !important;
  box-shadow: 0 24px 70px rgba(18, 32, 23, 0.18) !important;
}

body:not(.profile-page) .profile-play-queue-sheet header {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto auto auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 16px 12px !important;
  border-bottom: 1px solid rgba(33, 58, 42, 0.08) !important;
}

body:not(.profile-page) .profile-play-queue-sheet header span,
body:not(.profile-page) .profile-play-queue-sheet header small {
  color: #858d87 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 740 !important;
}

body:not(.profile-page) .profile-play-queue-sheet header strong {
  display: block !important;
  margin-top: 3px !important;
  color: #111a14 !important;
  font-size: 22px !important;
  line-height: 1.05 !important;
  font-weight: 930 !important;
}

body:not(.profile-page) .profile-play-queue-sheet header small {
  max-width: 108px !important;
  text-align: right !important;
}

body:not(.profile-page) .profile-play-queue-clear {
  min-width: 44px !important;
  height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(34, 58, 42, 0.1) !important;
  border-radius: 999px !important;
  background: rgba(246, 249, 244, 0.92) !important;
  color: #345241 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 860 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 20px rgba(18, 32, 23, 0.06) !important;
}

body:not(.profile-page) .profile-play-queue-sheet header button[data-profile-play-queue-close] {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  border: 1px solid rgba(34, 58, 42, 0.08) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: transparent !important;
  font-size: 0 !important;
}

body:not(.profile-page) .profile-play-queue-sheet header button[data-profile-play-queue-close]::before,
body:not(.profile-page) .profile-play-queue-sheet header button[data-profile-play-queue-close]::after {
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 14px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: #1c2a21 !important;
}

body:not(.profile-page) .profile-play-queue-sheet header button[data-profile-play-queue-close]::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

body:not(.profile-page) .profile-play-queue-sheet header button[data-profile-play-queue-close]::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

body:not(.profile-page) .profile-play-queue-list {
  display: grid !important;
  gap: 6px !important;
  padding: 8px 10px 12px !important;
  overflow: auto !important;
}

body:not(.profile-page) .profile-play-queue-item button {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 24px !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 9px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  text-align: left !important;
}

body:not(.profile-page) .profile-play-queue-item img,
body:not(.profile-page) .profile-play-queue-item .cover-loadable-image {
  width: 46px !important;
  height: 62px !important;
  border-radius: 6px !important;
  object-fit: cover !important;
}

body:not(.profile-page) .profile-play-queue-item span {
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
}

body:not(.profile-page) .profile-play-queue-badge {
  color: #8b938d !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  line-height: 1.1 !important;
}

body:not(.profile-page) .profile-play-queue-item strong {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #101813 !important;
  font-size: 17px !important;
  line-height: 1.18 !important;
  font-weight: 920 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body:not(.profile-page) .profile-play-queue-item small {
  min-width: 0 !important;
  overflow: hidden !important;
  color: #7b847d !important;
  font-size: 12px !important;
  font-weight: 720 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body:not(.profile-page) .profile-play-queue-item em {
  width: 24px !important;
  height: 24px !important;
  border-radius: 999px !important;
  background: #eef6ef !important;
}

body:not(.profile-page) .profile-play-queue-item em::before {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  margin: 7px 0 0 9px !important;
  border-top: 5px solid transparent !important;
  border-bottom: 5px solid transparent !important;
  border-left: 7px solid #23613c !important;
}

body:not(.profile-page) .profile-play-queue-empty {
  min-height: 128px !important;
  display: grid !important;
  place-items: center !important;
  padding: 18px !important;
  color: #7e8780 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

@media (max-width: 370px) {
  body.profile-page .profile-paid-membership-title strong {
    gap: 4px !important;
    font-size: 19px !important;
  }

  body.profile-page .profile-member-plan-kind {
    min-height: 20px !important;
    padding-inline: 6px !important;
    font-size: 11px !important;
  }

  body.profile-page .profile-paid-membership-renew {
    min-width: 74px !important;
    padding-inline: 16px !important;
  }
}

/* profile-bottom-nav-consistency-20260628: keep profile screens aligned with the home page pill bottom nav. */
body.profile-page {
  --home-button-green: rgb(30, 77, 54);
  --home-button-green-deep: #143c29;
  --home-button-green-mid: #52735f;
}

body.profile-page .profile-mobile-screen .mobile-bottom-nav {
  right: 12px !important;
  bottom: max(2px, env(safe-area-inset-bottom)) !important;
  left: 12px !important;
  z-index: 210 !important;
  width: auto !important;
  max-width: 430px !important;
  height: calc(52px + env(safe-area-inset-bottom)) !important;
  margin: 0 auto !important;
  padding: 4px 6px max(4px, env(safe-area-inset-bottom)) !important;
  border: 1px solid rgba(34, 43, 33, 0.08) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 16px 36px rgba(24, 30, 24, 0.1) !important;
  transform: none !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
}

body.profile-page .profile-mobile-screen .mobile-bottom-nav a {
  min-height: 40px !important;
  border-radius: 999px !important;
  color: #777d72 !important;
}

body.profile-page .profile-mobile-screen .mobile-bottom-nav a.active {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, var(--home-button-green-mid), var(--home-button-green) 62%, var(--home-button-green-deep)) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(30, 77, 54, 0.18) !important;
}

/* home-button-theme-20260627: broccoli-green button system for the main homepage. */
body:not(.profile-page) {
  --home-button-green: rgb(30, 77, 54);
  --home-button-green-deep: #143c29;
  --home-button-green-mid: #52735f;
  --home-button-green-soft: rgba(30, 77, 54, 0.1);
  --home-button-green-line: rgba(30, 77, 54, 0.18);
  --home-button-yellow: #ead437;
}

@media (max-width: 720px) {
  body:not(.profile-page) .mobile-login-entry,
  body:not(.profile-page) .mobile-all-books {
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    background:
      radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
      linear-gradient(135deg, var(--home-button-green-mid) 0%, var(--home-button-green) 58%, var(--home-button-green-deep) 100%) !important;
    color: #fff !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 14px 28px rgba(30, 77, 54, 0.22) !important;
  }

  body:not(.profile-page) .mobile-login-entry {
    min-width: 68px !important;
    min-height: 34px !important;
    padding: 0 16px !important;
  }

  body:not(.profile-page) .mobile-all-books {
    min-height: 48px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  body:not(.profile-page) .mobile-login-entry:hover,
  body:not(.profile-page) .mobile-all-books:hover,
  body:not(.profile-page) .mobile-login-entry:focus-visible,
  body:not(.profile-page) .mobile-all-books:focus-visible {
    background:
      radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.24), transparent 34%),
      linear-gradient(135deg, #5b7f68 0%, var(--home-button-green) 54%, #102f20 100%) !important;
    color: #fff !important;
  }

  body:not(.profile-page) .mobile-catalog-switch {
    border: 1px solid rgba(30, 77, 54, 0.13) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(243, 248, 241, 0.9)),
      var(--home-button-green-soft) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
  }

  body:not(.profile-page) .mobile-catalog-switch button {
    color: rgba(30, 77, 54, 0.74) !important;
    background: transparent !important;
  }

  body:not(.profile-page) .mobile-catalog-switch button.active {
    background:
      radial-gradient(circle at 82% 0%, rgba(255, 255, 255, 0.18), transparent 36%),
      linear-gradient(135deg, var(--home-button-green-mid) 0%, var(--home-button-green) 62%, var(--home-button-green-deep) 100%) !important;
    color: #fff !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      0 8px 18px rgba(30, 77, 54, 0.18) !important;
  }

  body:not(.profile-page) .mobile-feature-book > button.mobile-feature-play-button,
  body:not(.profile-page) .mobile-feature-book > button[data-play-book].mobile-feature-play-button,
  body:not(.profile-page) .latest-poster-play,
  body:not(.profile-page) .mobile-category-card-play {
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    background:
      radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.18), transparent 38%),
      linear-gradient(180deg, var(--home-button-green), var(--home-button-green-deep)) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(30, 77, 54, 0.2) !important;
  }

  body:not(.profile-page) .mobile-feature-book > button.mobile-feature-play-button .play-icon,
  body:not(.profile-page) .mobile-feature-book > button[data-play-book].mobile-feature-play-button .play-icon,
  body:not(.profile-page) .latest-poster-play .play-icon,
  body:not(.profile-page) .mobile-category-card-play .play-icon {
    border-left-color: var(--home-button-yellow) !important;
  }

  body:not(.profile-page) .caption-button.play-label,
  body:not(.profile-page) .mini-play,
  body:not(.profile-page) .mobile-all-books-grid .caption-button.play-label {
    border: 1px solid var(--home-button-green-line) !important;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(237, 245, 239, 0.92)),
      var(--home-button-green-soft) !important;
    color: var(--home-button-green) !important;
    box-shadow: 0 7px 16px rgba(30, 77, 54, 0.08) !important;
  }

  body:not(.profile-page) .caption-button.play-label .play-icon,
  body:not(.profile-page) .mini-play .play-icon {
    border-left-color: #d8c51d !important;
  }

  body:not(.profile-page) .mobile-bottom-nav a.active {
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.16), transparent 34%),
      linear-gradient(135deg, var(--home-button-green-mid), var(--home-button-green) 62%, var(--home-button-green-deep)) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(30, 77, 54, 0.18) !important;
  }
}

@media (max-width: 390px) {
  body.profile-page .profile-main {
    padding-inline: 8px !important;
  }

  body.profile-page .profile-v2-person-row {
    padding-inline: 18px !important;
  }

  body.profile-page .profile-section-title h2 {
    font-size: 21px !important;
  }

  body.profile-page .profile-plan-card {
    min-height: 174px !important;
  }

  body.profile-page .profile-plan-card strong {
    font-size: 34px !important;
  }
}

/* book-video-switch-center-20260627: keep the audio/video toggle centered in the mobile player. */
@media (max-width: 720px) {
  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 42px minmax(0, 168px) 42px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  body:has(.detail-main) .mobile-video-switch,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-video-mode .mobile-video-switch,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-video-switch {
    grid-column: 2 !important;
    justify-self: center !important;
    align-self: center !important;
    width: min(168px, 100%) !important;
    max-width: 168px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    gap: 8px !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
  }
}

/* profile-insight-three-card-20260627: compact VIP cards and three-across profile insights. */
body.profile-page .profile-plan-card span {
  font-size: 17px !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

body.profile-page .profile-plan-card b {
  box-sizing: border-box !important;
  min-width: 132px !important;
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 14px !important;
  line-height: 1 !important;
  text-align: center !important;
  transform: translateY(-1px);
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid.is-single {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid.is-double {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid .profile-feature-card {
  min-height: 96px !important;
  padding: 13px 10px !important;
  align-content: start !important;
  gap: 7px !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid .profile-feature-card::after {
  width: 28px !important;
  height: 28px !important;
  right: 8px !important;
  bottom: 8px !important;
  opacity: 0.3 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid .profile-feature-kicker {
  font-size: 12px !important;
  line-height: 1.1 !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid .profile-feature-card strong {
  font-size: 15px !important;
  line-height: 1.18 !important;
  word-break: keep-all !important;
}

body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid .profile-feature-card small {
  font-size: 11px !important;
  line-height: 1.25 !important;
}

@media (max-width: 390px) {
  body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid {
    gap: 6px !important;
  }

  body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid .profile-feature-card {
    padding: 12px 8px !important;
  }

  body.profile-page .profile-mobile-shell-v2 .profile-insight-card-grid .profile-feature-card strong {
    font-size: 14px !important;
  }
}

/* book-detail-reference-release-20260628-v2: mobile book detail page matching the final dark-player reference. */
@media (max-width: 720px) {
  body:has(.detail-main) {
    --qinghe-detail-shell: min(500px, calc(100vw - 16px));
    background: #f7f8f4 !important;
  }

  body:has(.detail-main) .site-header {
    display: none !important;
  }

  body:has(.detail-main) .site-main.detail-main {
    width: 100% !important;
    padding: 8px 0 110px !important;
    background: transparent !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin: 0 auto !important;
    display: grid !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    min-height: 312px !important;
    padding: 22px 22px 24px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background:
      radial-gradient(circle at 86% 15%, rgba(232, 205, 126, 0.18), transparent 34%),
      radial-gradient(circle at 50% 64%, rgba(255, 255, 255, 0.035), transparent 30%),
      linear-gradient(135deg, rgba(20, 23, 22, 0.94), rgba(48, 54, 55, 0.94)),
      #232928 !important;
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(21, 29, 24, 0.13) !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode::before {
    content: "" !important;
    position: absolute !important;
    left: 118px !important;
    right: 118px !important;
    top: 124px !important;
    height: 54px !important;
    opacity: 0.16 !important;
    background:
      repeating-linear-gradient(
        90deg,
        transparent 0 6px,
        rgba(255, 255, 255, 0.55) 6px 8px,
        transparent 8px 16px
      ) !important;
    mask-image: radial-gradient(ellipse at center, #000 0 62%, transparent 70%) !important;
    pointer-events: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .media-card-head,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .media-stage,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .detail-player {
    display: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-player {
    position: relative !important;
    z-index: 1 !important;
    min-height: 264px !important;
    display: grid !important;
    grid-template-rows: 54px 78px 104px !important;
    align-content: space-between !important;
    gap: 14px !important;
    color: #fff !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 168px) 42px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
  }

  body:has(.detail-main) .mobile-back {
    grid-column: 1 !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: #fff !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
  }

  body:has(.detail-main) .mobile-back svg {
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.6 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    grid-column: 2 !important;
    justify-self: center !important;
    min-width: 0 !important;
    width: 168px !important;
    height: 42px !important;
    display: inline-grid !important;
    grid-template-columns: 22px auto !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    padding: 0 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 9px 22px rgba(0, 0, 0, 0.13) !important;
  }

  body:has(.detail-main) .mobile-video-switch-icon,
  body:has(.detail-main) .mobile-video-switch-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
  }

  body:has(.detail-main) .mobile-video-switch-icon::before,
  body:has(.detail-main) .mobile-video-switch-icon::after {
    content: none !important;
  }

  body:has(.detail-main) .mobile-video-switch-icon svg {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 58px !important;
    grid-template-rows: 38px 24px !important;
    align-items: center !important;
    gap: 7px 12px !important;
    margin: 4px 0 0 !important;
  }

  body:has(.detail-main) .mobile-listen-progress input[type="range"] {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 24px !important;
    margin: 0 !important;
    accent-color: #f1dfba !important;
  }

  body:has(.detail-main) .mobile-listen-progress input[type="range"]::-webkit-slider-runnable-track {
    height: 7px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.19) !important;
  }

  body:has(.detail-main) .mobile-listen-progress input[type="range"]::-webkit-slider-thumb {
    width: 22px !important;
    height: 22px !important;
    margin-top: -7px !important;
    border: 3px solid rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    background: #f1dfba !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.22) !important;
  }

  body:has(.detail-main) .mobile-skip {
    width: 58px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 15px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .mobile-skip-back {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body:has(.detail-main) .mobile-skip-next {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  body:has(.detail-main) .mobile-skip-icon {
    width: 14px !important;
    height: 14px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span {
    grid-row: 2 !important;
    color: rgba(255, 255, 255, 0.76) !important;
    font-size: 13px !important;
    font-weight: 520 !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span:nth-of-type(1) {
    grid-column: 2 !important;
    justify-self: start !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span:nth-of-type(2) {
    grid-column: 2 !important;
    justify-self: end !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 6px !important;
    margin: 2px 0 0 !important;
  }

  body:has(.detail-main) .mobile-control-cell,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) [data-detail-playlist] {
    min-width: 0 !important;
  }

  body:has(.detail-main) .mobile-control-cell > button,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) [data-detail-playlist] {
    min-width: 0 !important;
    width: 100% !important;
    height: 56px !important;
    display: grid !important;
    place-items: center !important;
    gap: 5px !important;
    border: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
  }

  body:has(.detail-main) .mobile-control-icon {
    width: 20px !important;
    height: 20px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-control-cell em,
  body:has(.detail-main) .mobile-watch-later em,
  body:has(.detail-main) [data-detail-playlist] em {
    display: block !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-style: normal !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 68px !important;
    height: 68px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 248, 223, 0.76) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #fff8df 0%, #f3d99f 54%, #d9ad67 100%) !important;
    color: #17221c !important;
    box-shadow:
      0 0 0 8px rgba(241, 217, 162, 0.12),
      0 16px 28px rgba(0, 0, 0, 0.22) !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play .detail-play-symbol {
    border-left-color: #17221c !important;
  }

  body:has(.detail-main) .detail-info-panel {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(28, 55, 39, 0.08) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 14px 32px rgba(30, 49, 38, 0.08) !important;
  }

  body:has(.detail-main) .detail-info-panel .detail-copy,
  body:has(.detail-main) .detail-info-panel .inline-related-panel {
    display: none !important;
  }

  body:has(.detail-main) .mobile-book-summary {
    position: relative !important;
    min-height: 190px !important;
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 22px 118px 12px 22px !important;
  }

  body:has(.detail-main) .mobile-book-summary > img {
    width: 104px !important;
    height: 142px !important;
    object-fit: cover !important;
    border-radius: 7px !important;
    box-shadow: 0 14px 24px rgba(20, 31, 25, 0.08) !important;
  }

  body:has(.detail-main) .mobile-book-summary > div {
    min-width: 0 !important;
    display: grid !important;
    gap: 6px !important;
  }

  body:has(.detail-main) .mobile-book-badge {
    width: fit-content !important;
    padding: 5px 11px !important;
    border-radius: 999px !important;
    background: #fff2d8 !important;
    color: #7d6121 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-book-summary h1 {
    margin: 0 !important;
    color: #122319 !important;
    font-size: 25px !important;
    font-weight: 950 !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .mobile-book-summary p,
  body:has(.detail-main) .mobile-book-summary small {
    margin: 0 !important;
    color: rgba(18, 35, 25, 0.72) !important;
    font-size: 13px !important;
    font-weight: 560 !important;
    line-height: 1.5 !important;
  }

  body:has(.detail-main) .mobile-book-share {
    position: absolute !important;
    top: 28px !important;
    right: 22px !important;
    width: auto !important;
    min-width: 82px !important;
    height: 42px !important;
    min-height: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(204, 150, 58, 0.2) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #fff8e8 0%, #f4dfb8 100%) !important;
    color: #73552a !important;
    box-shadow: 0 10px 24px rgba(171, 125, 50, 0.14) !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-book-share-icon {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #9c6d2d !important;
  }

  body:has(.detail-main) .mobile-book-share-icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  body:has(.detail-main) .mobile-book-share-label {
    display: block !important;
    color: #624927 !important;
    font-size: 15px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .mobile-book-share-copy {
    display: none !important;
  }

  body:has(.detail-main) .mobile-detail-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 22px 22px !important;
  }

  body:has(.detail-main) .mobile-detail-actions a {
    min-width: 0 !important;
    min-height: 64px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(28, 55, 39, 0.1) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #fff, #fbfcf9) !important;
    color: #1b3325 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(31, 47, 36, 0.06) !important;
  }

  body:has(.detail-main) .mobile-detail-actions a span {
    color: #1e4d36 !important;
    font-size: 22px !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin: 10px auto 0 !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: 58px !important;
    margin: 0 0 10px !important;
    padding: 5px !important;
    border: 1px solid rgba(30, 55, 40, 0.08) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.86) !important;
    box-shadow: 0 12px 30px rgba(33, 54, 42, 0.07) !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button {
    min-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: rgba(27, 51, 37, 0.68) !important;
    font-size: 16px !important;
    font-weight: 750 !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button.active {
    color: #fff !important;
    background:
      radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.28), transparent 32%),
      linear-gradient(135deg, #6f986f 0%, #426f4e 100%) !important;
    box-shadow: 0 8px 18px rgba(48, 92, 60, 0.22) !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button em {
    min-width: 22px !important;
    height: 22px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #f3d66b !important;
    color: #244431 !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 900 !important;
  }

  body:has(.detail-main) .detail-tabs-section .detail-section {
    border-radius: 8px !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) .site-main.detail-main {
    padding-top: 6px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    min-height: 292px !important;
    padding: 18px 16px 20px !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 40px minmax(0, 154px) 40px !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: 154px !important;
    height: 40px !important;
    font-size: 14px !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    grid-template-columns: 54px minmax(0, 1fr) 54px !important;
    gap: 7px 9px !important;
  }

  body:has(.detail-main) .mobile-skip {
    width: 54px !important;
    font-size: 14px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 62px !important;
    height: 62px !important;
  }

  body:has(.detail-main) .mobile-book-summary {
    grid-template-columns: 88px minmax(0, 1fr) !important;
    gap: 14px !important;
    min-height: 172px !important;
    padding: 18px 100px 10px 18px !important;
  }

  body:has(.detail-main) .mobile-book-summary > img {
    width: 88px !important;
    height: 120px !important;
  }

  body:has(.detail-main) .mobile-book-summary h1 {
    font-size: 23px !important;
  }

  body:has(.detail-main) .mobile-book-share {
    top: 20px !important;
    right: 16px !important;
    min-width: 76px !important;
    height: 38px !important;
    padding: 0 12px !important;
  }

  body:has(.detail-main) .mobile-detail-actions {
    padding: 0 18px 18px !important;
  }
}
/* gift-share-20260628: share-card style login claim page for 7-day VIP gifts. */
body.gift-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f6f7f3;
  color: #172019;
}

.gift-share-screen {
  width: min(100%, 420px);
}

.gift-share-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(35, 49, 36, 0.1);
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 18px 42px rgba(20, 26, 21, 0.08);
}

.gift-share-card img {
  width: 108px;
  aspect-ratio: 3 / 4;
  display: block;
  border-radius: 10px;
  object-fit: cover;
  background: #ebe7dc;
  box-shadow: 0 12px 26px rgba(24, 30, 22, 0.12);
}

.gift-share-kicker {
  display: block;
  margin-bottom: 8px;
  color: #977f12;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gift-share-card h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

.gift-share-card p {
  margin: 10px 0 0;
  color: #667064;
  font-size: 15px;
  line-height: 1.55;
}

.gift-share-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.gift-share-primary,
.gift-share-secondary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #26392e;
  font-size: 15px;
  font-weight: 760;
  text-decoration: none;
}

.gift-share-primary {
  background: #26392e;
  color: #fff;
}

.gift-share-primary:disabled {
  opacity: 0.62;
}

.gift-share-secondary {
  background: #fffefa;
  color: #26392e;
}

.gift-share-status {
  min-height: 24px;
  font-size: 13px !important;
}

@media (max-width: 380px) {
  body.gift-page {
    padding: 18px;
  }

  .gift-share-card {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 14px;
    padding: 15px;
  }

  .gift-share-card img {
    width: 94px;
  }

  .gift-share-card h1 {
    font-size: 21px;
  }
}

/* book-detail-reference-release-20260628-v2: approved mobile dark-player detail layout. */
@media (max-width: 720px) {
  body:has(.detail-main) {
    --qinghe-detail-shell: min(456px, calc(100vw - 20px));
    background: #f7f8f4 !important;
  }

  body:has(.detail-main) .site-header {
    display: none !important;
  }

  body:has(.detail-main) .site-main.detail-main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 0 112px !important;
    display: block !important;
    background: #f7f8f4 !important;
  }

  body:has(.detail-main) .detail-hero-video-first {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card {
    position: relative !important;
    box-sizing: border-box !important;
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    height: 314px !important;
    min-height: 314px !important;
    margin: 0 auto 10px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 10px !important;
    background:
      radial-gradient(circle at 85% 17%, rgba(226, 196, 128, 0.18), transparent 34%),
      radial-gradient(circle at 40% 64%, rgba(255, 255, 255, 0.04), transparent 34%),
      linear-gradient(135deg, rgba(20, 23, 22, 0.97), rgba(42, 49, 45, 0.96) 58%, rgba(18, 22, 20, 0.98)) !important;
    box-shadow: 0 16px 34px rgba(16, 25, 20, 0.16) !important;
    color: #fff !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card::before {
    content: "" !important;
    position: absolute !important;
    left: 138px !important;
    right: 138px !important;
    top: 104px !important;
    height: 44px !important;
    opacity: 0 !important;
    background:
      linear-gradient(90deg, transparent 0 4%, rgba(255, 255, 255, 0.62) 4% 5%, transparent 5% 10%),
      repeating-linear-gradient(90deg, transparent 0 10px, rgba(255, 255, 255, 0.4) 10px 12px, transparent 12px 22px) !important;
    filter: blur(0.2px) !important;
    pointer-events: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card-head,
  body:has(.detail-main) .detail-hero-video-first .media-stage,
  body:has(.detail-main) .detail-hero-video-first .detail-player {
    display: none !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    padding: 22px 31px 24px !important;
    display: grid !important;
    grid-template-rows: 58px 82px 1fr !important;
    gap: 0 !important;
    color: #fff !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) 56px !important;
    align-items: center !important;
    justify-items: center !important;
    justify-content: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    transform: none !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-topbar-spacer {
    width: 50px !important;
    height: 50px !important;
    border-radius: 999px !important;
  }

  body:has(.detail-main) .mobile-back {
    grid-column: 1 !important;
    justify-self: start !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.17) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
  }

  body:has(.detail-main) .mobile-back svg {
    width: 27px !important;
    height: 27px !important;
    stroke: currentColor !important;
    stroke-width: 2.2 !important;
    fill: none !important;
  }

  body:has(.detail-main) .mobile-topbar-spacer {
    grid-column: 3 !important;
    justify-self: end !important;
    display: block !important;
    visibility: hidden !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    grid-column: 2 !important;
    justify-self: center !important;
    align-self: center !important;
    width: 158px !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.94) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 26px rgba(0, 0, 0, 0.12) !important;
    font-size: 15px !important;
    font-weight: 520 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-video-switch-icon {
    width: 20px !important;
    height: 20px !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 20px !important;
    margin: 0 !important;
  }

  body:has(.detail-main) .mobile-video-switch-icon::before,
  body:has(.detail-main) .mobile-video-switch-icon::after {
    content: none !important;
  }

  body:has(.detail-main) .mobile-video-switch-icon svg {
    width: 19px !important;
    height: 19px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.1 !important;
  }

  body:has(.detail-main) .mobile-video-switch-icon path {
    fill: currentColor !important;
    stroke: none !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 58px !important;
    grid-template-rows: 38px 22px !important;
    align-items: center !important;
    gap: 8px 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:has(.detail-main) .mobile-skip {
    width: 58px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 9px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09) !important;
    font-size: 0 !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-skip-back {
    grid-column: 1 !important;
    justify-self: start !important;
  }

  body:has(.detail-main) .mobile-skip-next {
    grid-column: 3 !important;
    justify-self: end !important;
  }

  body:has(.detail-main) .mobile-skip-icon {
    width: 12px !important;
    height: 12px !important;
    stroke-width: 2.4 !important;
    flex: 0 0 12px !important;
    margin: 0 !important;
  }

  body:has(.detail-main) .mobile-skip em {
    display: inline-block !important;
    min-width: 27px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 760 !important;
    text-align: center !important;
  }

  body:has(.detail-main) .mobile-listen-progress input[type="range"] {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 8px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #dbc99c var(--progress, 0%), rgba(255, 255, 255, 0.17) var(--progress, 0%)) !important;
    accent-color: #dbc99c !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span {
    grid-row: 2 !important;
    color: rgba(255, 255, 255, 0.68) !important;
    font-size: 15px !important;
    font-weight: 520 !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span:nth-of-type(1) {
    grid-column: 2 !important;
    justify-self: start !important;
    padding-left: 0 !important;
  }

  body:has(.detail-main) .mobile-listen-progress > span:nth-of-type(2) {
    grid-column: 2 !important;
    justify-self: end !important;
    padding-right: 0 !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 2px 0 0 !important;
  }

  body:has(.detail-main) .mobile-control {
    width: 58px !important;
    min-height: 66px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: 31px 20px !important;
    place-items: center !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 520 !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
  }

  body:has(.detail-main) .mobile-control-cell,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) [data-detail-playlist] {
    min-width: 0 !important;
    width: 58px !important;
  }

  body:has(.detail-main) .mobile-control-cell > button,
  body:has(.detail-main) .mobile-watch-later,
  body:has(.detail-main) [data-detail-playlist] {
    width: 58px !important;
    min-height: 66px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: 31px 20px !important;
    place-items: center !important;
    gap: 4px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.92) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 520 !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
  }

  body:has(.detail-main) .mobile-control-cell > button .mobile-control-icon,
  body:has(.detail-main) .mobile-watch-later .mobile-control-icon,
  body:has(.detail-main) [data-detail-playlist] .mobile-control-icon {
    width: 28px !important;
    height: 28px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 25px !important;
    font-weight: 360 !important;
    line-height: 1 !important;
  }

  body:has(.detail-main) .mobile-control-cell > button em,
  body:has(.detail-main) .mobile-watch-later em,
  body:has(.detail-main) [data-detail-playlist] em {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 520 !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-control svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2 !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 72px !important;
    height: 72px !important;
    min-height: 72px !important;
    grid-row: auto !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 999px !important;
    background: radial-gradient(circle at 32% 26%, #fff9e6 0 16%, #efd48e 48%, #c79b4e 100%) !important;
    color: #16231d !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), inset 0 0 0 7px rgba(20, 25, 23, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.34) !important;
  }

  body:has(.detail-main) .mobile-main-play .detail-play-symbol {
    width: 0 !important;
    height: 0 !important;
    margin-left: 4px !important;
    border-top: 13px solid transparent !important;
    border-bottom: 13px solid transparent !important;
    border-left: 18px solid currentColor !important;
  }

  body:has(.detail-main) .mobile-main-play.is-playing .detail-play-symbol {
    width: 18px !important;
    height: 24px !important;
    margin-left: 0 !important;
    border: 0 !important;
    background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%) !important;
  }

  body:has(.detail-main) .detail-info-panel {
    box-sizing: border-box !important;
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin: 0 auto 10px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(223, 224, 218, 0.9) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 12px 26px rgba(23, 35, 28, 0.08) !important;
  }

  body:has(.detail-main) .mobile-book-summary {
    position: relative !important;
    min-height: 184px !important;
    padding: 22px 112px 12px 22px !important;
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 22px !important;
  }

  body:has(.detail-main) .mobile-book-cover {
    width: 108px !important;
    height: 144px !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 28px rgba(24, 31, 25, 0.14) !important;
  }

  body:has(.detail-main) .mobile-book-meta {
    padding: 6px 0 0 !important;
    min-width: 0 !important;
  }

  body:has(.detail-main) .mobile-book-meta .book-tag {
    margin: 0 0 11px !important;
    padding: 4px 12px !important;
    border-radius: 999px !important;
    background: #fff4d7 !important;
    color: #9c770b !important;
    font-size: 12px !important;
    font-weight: 760 !important;
  }

  body:has(.detail-main) .mobile-book-meta h1 {
    margin: 0 0 9px !important;
    color: #15231a !important;
    font-size: 25px !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .mobile-book-meta p {
    margin: 0 0 9px !important;
    color: #5f675f !important;
    font-size: 14px !important;
    font-weight: 560 !important;
    line-height: 1.45 !important;
  }

  body:has(.detail-main) .mobile-book-meta small {
    display: block !important;
    color: #8a9187 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  body:has(.detail-main) .mobile-book-share {
    position: absolute !important;
    top: 28px !important;
    right: 20px !important;
    min-width: 86px !important;
    height: 44px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border: 1px solid #ecd6a8 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #fff8e8, #f1dfbd) !important;
    color: #6d5314 !important;
    box-shadow: 0 10px 22px rgba(123, 96, 29, 0.13) !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .mobile-book-share svg {
    width: 18px !important;
    height: 18px !important;
  }

  body:has(.detail-main) .mobile-detail-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 20px 22px !important;
  }

  body:has(.detail-main) .mobile-detail-action {
    min-height: 58px !important;
    border: 1px solid rgba(214, 216, 210, 0.9) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #1b2d22 !important;
    box-shadow: 0 8px 18px rgba(24, 36, 28, 0.04) !important;
    font-size: 17px !important;
    font-weight: 780 !important;
  }

  body:has(.detail-main) .mobile-detail-action svg {
    width: 22px !important;
    height: 22px !important;
  }

  body:has(.detail-main) .detail-tabs-section {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    margin: 0 auto 12px !important;
    padding: 0 !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs {
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 6px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    border: 1px solid rgba(221, 224, 216, 0.95) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 10px 22px rgba(26, 37, 30, 0.08) !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button {
    height: 46px !important;
    min-height: 46px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #72786f !important;
    font-size: 15px !important;
    font-weight: 690 !important;
    letter-spacing: 0 !important;
  }

  body:has(.detail-main) .book-detail-tabs.mobile-detail-tabs button.is-active {
    background: #fff !important;
    color: #17281e !important;
    box-shadow: 0 8px 16px rgba(27, 43, 33, 0.08) !important;
  }

  body:has(.detail-main) .tab-count {
    display: inline-grid !important;
    min-width: 22px !important;
    height: 22px !important;
    place-items: center !important;
    margin-left: 5px !important;
    border-radius: 999px !important;
    background: #f6df8b !important;
    color: #1c2c21 !important;
    font-size: 12px !important;
    font-weight: 780 !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) {
    --qinghe-detail-shell: min(100% - 16px, 374px);
  }

  body:has(.detail-main) .detail-hero-video-first .media-card {
    height: 300px !important;
    min-height: 300px !important;
  }

  body:has(.detail-main) .mobile-listen-player {
    padding: 18px 20px 20px !important;
    grid-template-rows: 54px 76px 1fr !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 52px minmax(0, 1fr) 52px !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-topbar-spacer {
    width: 46px !important;
    height: 46px !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: 150px !important;
    height: 40px !important;
    min-height: 40px !important;
    font-size: 14px !important;
  }

  body:has(.detail-main) .mobile-listen-progress {
    grid-template-columns: 54px minmax(0, 1fr) 54px !important;
    gap: 7px 8px !important;
  }

  body:has(.detail-main) .mobile-skip {
    width: 54px !important;
    height: 36px !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    gap: 2px !important;
  }

  body:has(.detail-main) .mobile-control {
    width: 52px !important;
    font-size: 11px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 66px !important;
    height: 66px !important;
    min-height: 66px !important;
  }

  body:has(.detail-main) .mobile-book-summary {
    min-height: 168px !important;
    grid-template-columns: 92px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    padding: 18px 96px 10px 18px !important;
  }

  body:has(.detail-main) .mobile-book-cover {
    width: 92px !important;
    height: 124px !important;
  }

  body:has(.detail-main) .mobile-book-meta h1 {
    font-size: 23px !important;
  }

  body:has(.detail-main) .mobile-book-share {
    top: 20px !important;
    right: 14px !important;
    min-width: 76px !important;
    height: 40px !important;
    padding: 0 12px !important;
  }
}

/* Book detail dark-player base override kept under the v4 release marker below. */
@media (max-width: 720px) {
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode::before,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode::after,
  body:has(.detail-main) .mobile-listen-progress::before,
  body:has(.detail-main) .mobile-listen-progress::after {
    content: none !important;
    display: none !important;
    background: none !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    height: 314px !important;
    min-height: 314px !important;
    border-radius: 10px !important;
    background:
      radial-gradient(circle at 86% 16%, rgba(230, 202, 132, 0.18), transparent 34%),
      radial-gradient(circle at 42% 66%, rgba(255, 255, 255, 0.035), transparent 38%),
      linear-gradient(135deg, rgba(19, 22, 21, 0.985), rgba(42, 48, 44, 0.97) 57%, rgba(18, 21, 20, 0.985)) !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress {
    grid-template-columns: 58px minmax(0, 1fr) 58px !important;
    grid-template-rows: 38px 22px !important;
    gap: 8px 12px !important;
    overflow: visible !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    height: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    accent-color: #dcc99a !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress input[type="range"]::-webkit-slider-runnable-track {
    height: 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #dcc99a var(--progress, 0%), rgba(255, 255, 255, 0.17) var(--progress, 0%)) !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: -5px !important;
    border: 2px solid #d4b168 !important;
    border-radius: 999px !important;
    background: #fff7df !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress input[type="range"]::-moz-range-track {
    height: 8px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.17) !important;
    box-shadow: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress input[type="range"]::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #d4b168 !important;
    border-radius: 999px !important;
    background: #fff7df !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls > button.mobile-main-play,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls > .mobile-main-play[data-media-toggle],
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode button.mobile-main-play[data-media-toggle] {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 999px !important;
    background-color: #d6b15e !important;
    background-image: radial-gradient(circle at 32% 24%, #fff9e7 0 18%, #efd38e 47%, #c99c4f 100%) !important;
    color: #17241d !important;
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.28),
      inset 0 0 0 7px rgba(20, 25, 23, 0.16),
      inset 0 0 0 1px rgba(255, 255, 255, 0.45) !important;
    transform: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode button.mobile-main-play[data-media-toggle]::before,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode button.mobile-main-play[data-media-toggle]::after {
    content: none !important;
    display: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode button.mobile-main-play[data-media-toggle] .detail-play-symbol {
    width: 0 !important;
    height: 0 !important;
    margin-left: 5px !important;
    border-top: 13px solid transparent !important;
    border-bottom: 13px solid transparent !important;
    border-left: 19px solid currentColor !important;
    background: none !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode button.mobile-main-play[data-media-toggle].is-playing .detail-play-symbol {
    width: 18px !important;
    height: 24px !important;
    margin-left: 0 !important;
    border: 0 !important;
    background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%) !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    height: 300px !important;
    min-height: 300px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls > button.mobile-main-play,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode button.mobile-main-play[data-media-toggle] {
    width: 66px !important;
    height: 66px !important;
    min-width: 66px !important;
    min-height: 66px !important;
  }
}

/* book-detail-reference-release-20260628-v6 / book-mobile-player-breathing-room-20260628 / book-mobile-video-switch-hidden-20260628: keep the mobile video switch backed up but hidden. */
@media (max-width: 720px) {
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    height: 324px !important;
    min-height: 324px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-player {
    min-height: 282px !important;
    grid-template-rows: 58px 80px 116px !important;
    gap: 16px !important;
    padding: 20px 22px 22px !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 56px minmax(0, 190px) 56px !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar {
    grid-template-columns: 56px minmax(0, 190px) 56px !important;
    justify-content: center !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar.is-video-switch-hidden {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    justify-content: stretch !important;
    gap: 8px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar.is-video-switch-hidden .mobile-back {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body:has(.detail-main) .mobile-back,
  body:has(.detail-main) .mobile-topbar-spacer {
    width: 48px !important;
    height: 48px !important;
    justify-self: end !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: 190px !important;
    max-width: 190px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    gap: 10px !important;
    font-size: 15px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-video-switch {
    width: 190px !important;
    max-width: 190px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    gap: 10px !important;
    font-size: 15px !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: minmax(48px, 1fr) minmax(42px, 0.86fr) 82px minmax(48px, 1fr) minmax(48px, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls {
    grid-template-columns: minmax(48px, 1fr) minmax(42px, 0.86fr) 82px minmax(48px, 1fr) minmax(48px, 1fr) !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-cell > button,
  body:has(.detail-main) .mobile-listen-controls .mobile-watch-later,
  body:has(.detail-main) .mobile-listen-controls [data-detail-playlist] {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 2px !important;
    gap: 6px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls .mobile-control-cell > button,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls .mobile-watch-later,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls [data-detail-playlist] {
    height: 64px !important;
    min-height: 64px !important;
    padding: 0 2px !important;
    gap: 6px !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls .mobile-main-play {
    width: 76px !important;
    height: 76px !important;
    min-width: 76px !important;
    min-height: 76px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-control-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 20px !important;
  }

  body:has(.detail-main) .mobile-listen-controls em {
    max-width: 58px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    height: 316px !important;
    min-height: 316px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-player {
    min-height: 274px !important;
    grid-template-rows: 56px 78px 112px !important;
    gap: 14px !important;
    padding: 18px 18px 20px !important;
  }

  body:has(.detail-main) .mobile-listen-topbar {
    grid-template-columns: 52px minmax(0, 182px) 52px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar {
    grid-template-columns: 52px minmax(0, 182px) 52px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar.is-video-switch-hidden {
    grid-template-columns: 52px minmax(0, 1fr) !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar.is-video-switch-hidden .mobile-back {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  body:has(.detail-main) .mobile-video-switch {
    width: 182px !important;
    max-width: 182px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-video-switch {
    width: 182px !important;
    max-width: 182px !important;
  }

  body:has(.detail-main) .mobile-listen-controls {
    grid-template-columns: minmax(44px, 1fr) minmax(38px, 0.8fr) 78px minmax(44px, 1fr) minmax(44px, 1fr) !important;
    gap: 6px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls {
    grid-template-columns: minmax(44px, 1fr) minmax(38px, 0.8fr) 78px minmax(44px, 1fr) minmax(44px, 1fr) !important;
    gap: 6px !important;
  }

  body:has(.detail-main) .mobile-listen-controls .mobile-main-play {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls .mobile-main-play {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
  }
}

/* profile-desktop-home-shell-20260628: keep the mobile-style profile home readable on desktop. */
@media (min-width: 721px) {
  body.profile-page .site-main.profile-main {
    width: min(430px, calc(100% - 48px)) !important;
    max-width: 430px !important;
    display: block !important;
    margin-inline: auto !important;
    padding: 28px 10px calc(96px + env(safe-area-inset-bottom)) !important;
    overflow: visible !important;
  }

  body.profile-page .profile-mobile-shell-v2 {
    width: 100% !important;
    max-width: 414px !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.profile-page .profile-v2-hero-band,
  body.profile-page .profile-subscription-section,
  body.profile-page .profile-insight-grid,
  body.profile-page .profile-history-card,
  body.profile-page .current-listening-card {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
  }

  body.profile-page .profile-subscription-section {
    display: grid !important;
    gap: 12px !important;
  }

  body.profile-page .profile-subscription-plans {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body.profile-page .profile-plan-card {
    width: auto !important;
    min-width: 0 !important;
    min-height: 184px !important;
  }

  body.profile-page .profile-subscribe-button {
    width: 100% !important;
    min-height: 64px !important;
  }

  body.profile-page .profile-subscribe-agreement {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
  }
}

/* book-detail-reference-release-20260629-v7 / book-mobile-player-clustered-controls-20260629 / book-mobile-player-shell-aligned-20260630 / book-mobile-player-top-trimmed-20260630: align the mobile audio card with the detail modules, trim top whitespace, and keep clustered controls. */
@media (max-width: 720px) {
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    height: 286px !important;
    min-height: 286px !important;
    margin-inline: auto !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-player {
    min-height: 0 !important;
    padding: 12px 18px 16px !important;
    display: grid !important;
    grid-template-rows: 44px 72px 82px !important;
    align-content: start !important;
    row-gap: 10px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar.is-video-switch-hidden {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    min-height: 44px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-topbar.is-video-switch-hidden .mobile-back {
    width: 44px !important;
    height: 44px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress {
    grid-template-columns: 54px minmax(0, 1fr) 54px !important;
    grid-template-rows: 36px 20px !important;
    column-gap: 12px !important;
    row-gap: 6px !important;
    align-self: start !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls {
    grid-template-columns: minmax(46px, 1fr) minmax(38px, 0.82fr) 76px minmax(46px, 1fr) minmax(46px, 1fr) !important;
    gap: 6px !important;
    margin-top: -2px !important;
    align-self: start !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls .mobile-main-play {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls .mobile-control-cell > button,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls .mobile-watch-later,
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls [data-detail-playlist] {
    height: 58px !important;
    min-height: 58px !important;
    gap: 5px !important;
  }
}

@media (max-width: 390px) {
  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode {
    width: var(--qinghe-detail-shell) !important;
    max-width: var(--qinghe-detail-shell) !important;
    height: 280px !important;
    min-height: 280px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-player {
    padding: 10px 16px 14px !important;
    grid-template-rows: 42px 70px 80px !important;
    row-gap: 9px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-progress {
    grid-template-columns: 52px minmax(0, 1fr) 52px !important;
    column-gap: 10px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls {
    grid-template-columns: minmax(44px, 1fr) minmax(36px, 0.78fr) 72px minmax(44px, 1fr) minmax(44px, 1fr) !important;
    gap: 5px !important;
    margin-top: -2px !important;
  }

  body:has(.detail-main) .detail-hero-video-first .media-card.is-audio-mode .mobile-listen-controls .mobile-main-play {
    width: 66px !important;
    height: 66px !important;
    min-width: 66px !important;
    min-height: 66px !important;
  }
}
/* profile-trial-status-card-20260630: show registered trial remaining time before VIP purchase. */
body.profile-page .profile-trial-status-card {
  margin: 12px 0 14px;
  padding: 16px 18px;
  border: 1px solid rgba(35, 86, 55, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(246, 251, 244, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: 0 18px 42px rgba(35, 65, 45, 0.08);
}

body.profile-page .profile-trial-status-card span {
  display: block;
  margin-bottom: 5px;
  color: rgba(24, 41, 31, 0.58);
  font-size: 12px;
  font-weight: 800;
}

body.profile-page .profile-trial-status-card strong {
  display: block;
  color: var(--profile-v2-ink, #101913);
  font-size: 22px;
  line-height: 1.15;
}

body.profile-page .profile-trial-status-card small {
  display: block;
  margin-top: 8px;
  color: rgba(24, 41, 31, 0.62);
  font-size: 13px;
  line-height: 1.45;
}

/* book-detail-launch-reference-20260702: real launch detail page, uploaded member avatars, no favorite/sample sections. */
.qinghe-avatar.member-image-avatar,
.qinghe-avatar.profile-image-avatar,
.mobile-login-avatar.qinghe-avatar.member-image-avatar,
.mobile-auth-avatar.qinghe-avatar.member-image-avatar {
  overflow: hidden !important;
  background: #eef5e8 !important;
}

.qinghe-avatar.member-image-avatar img,
.qinghe-avatar.profile-image-avatar img,
.mobile-login-avatar.qinghe-avatar.member-image-avatar img,
.mobile-auth-avatar.qinghe-avatar.member-image-avatar img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  border-radius: inherit !important;
  object-fit: cover !important;
}

.member-image-avatar img[hidden] {
  display: none !important;
}

.qinghe-avatar.member-image-avatar img:not([hidden]) ~ .avatar-face,
.qinghe-avatar.member-image-avatar img:not([hidden]) ~ .profile-avatar-face,
.qinghe-avatar.member-image-avatar img:not([hidden]) ~ .qinghe-avatar-face,
.qinghe-avatar.member-image-avatar img:not([hidden]) ~ .avatar-badge,
.qinghe-avatar.member-image-avatar img:not([hidden]) ~ .qinghe-avatar-badge {
  display: none !important;
}

body:has(.detail-main.book-reference-detail-shell) {
  --qinghe-detail-shell: min(100% - 18px, 414px);
  background: #f7f8f4 !important;
}

body:has(.detail-main.book-reference-detail-shell) .site-main,
body:has(.detail-main.book-reference-detail-shell) .detail-main {
  width: 100% !important;
  max-width: none !important;
  padding: 8px 0 calc(88px + env(safe-area-inset-bottom)) !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-info-panel,
body:has(.detail-main.book-reference-detail-shell) .detail-tabs-section,
body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first .media-card.is-audio-mode {
  width: var(--qinghe-detail-shell) !important;
  max-width: var(--qinghe-detail-shell) !important;
  margin-inline: auto !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-info-panel {
  position: relative !important;
  margin-top: 8px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(28, 55, 39, 0.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 14px 32px rgba(30, 49, 38, 0.08) !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary {
  min-height: 172px !important;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 20px 18px 12px !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary > img {
  width: 92px !important;
  height: 124px !important;
  border-radius: 8px !important;
  object-fit: cover !important;
  box-shadow: 0 12px 24px rgba(20, 31, 25, 0.1) !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-meta {
  min-width: 0 !important;
  display: grid !important;
  gap: 6px !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-badge {
  width: fit-content !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: #fff1d8 !important;
  color: #8a6325 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary h1 {
  margin: 0 !important;
  color: #14251a !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary p,
body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary small {
  margin: 0 !important;
  color: rgba(20, 37, 26, 0.7) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 620 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-host {
  color: rgba(20, 37, 26, 0.62) !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-completed {
  color: #356646 !important;
  font-weight: 820 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-detail-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 0 18px 18px !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section {
  width: var(--qinghe-detail-shell) !important;
  max-width: var(--qinghe-detail-shell) !important;
  height: 306px !important;
  min-height: 306px !important;
  margin: 10px auto 12px !important;
  order: 3 !important;
  overflow: visible !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .media-card.is-audio-mode {
  top: 0 !important;
  height: 306px !important;
  min-height: 306px !important;
  margin: 0 !important;
  border-radius: 8px !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode {
  top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 306px !important;
  min-height: 306px !important;
  margin: 0 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-player {
  min-height: 0 !important;
  padding: 12px 18px 16px !important;
  display: grid !important;
  grid-template-rows: 44px 72px 82px !important;
  align-content: start !important;
  row-gap: 10px !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-detail-action {
  min-width: 0 !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(28, 55, 39, 0.1) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #1a3325 !important;
  box-shadow: 0 8px 18px rgba(24, 36, 28, 0.04) !important;
  font-size: 16px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-detail-tabs.mobile-detail-tabs {
  height: 54px !important;
  min-height: 54px !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 10px 0 !important;
  padding: 5px !important;
  border: 1px solid rgba(221, 224, 216, 0.95) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 10px 22px rgba(26, 37, 30, 0.08) !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-detail-tabs.mobile-detail-tabs button {
  min-width: 0 !important;
  height: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #70786f !important;
  font-size: 15px !important;
  font-weight: 750 !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-detail-tabs.mobile-detail-tabs button.is-active {
  background: #466f4d !important;
  color: #fff !important;
  box-shadow: 0 8px 16px rgba(27, 43, 33, 0.12) !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-detail-tabs.mobile-detail-tabs button em {
  min-width: 20px !important;
  height: 20px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #f4db83 !important;
  color: #223827 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-section,
body:has(.detail-main.book-reference-detail-shell) .inline-related-panel {
  margin: 0 0 10px !important;
  padding: 14px !important;
  border: 1px solid rgba(28, 55, 39, 0.08) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 10px 24px rgba(31, 47, 36, 0.06) !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-section-head {
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-section-head span {
  color: #657568 !important;
  font-size: 12px !important;
  font-weight: 820 !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-section-head h2 {
  margin: 0 !important;
  color: #14251a !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  font-weight: 920 !important;
}

body:has(.detail-main.book-reference-detail-shell) .recommend-text,
body:has(.detail-main.book-reference-detail-shell) .transcript-paper,
body:has(.detail-main.book-reference-detail-shell) .empty-note {
  border: 1px solid rgba(28, 55, 39, 0.08) !important;
  border-radius: 8px !important;
  background: #fbfcf8 !important;
}

body:has(.detail-main.book-reference-detail-shell) .recommend-text,
body:has(.detail-main.book-reference-detail-shell) .transcript-paper p,
body:has(.detail-main.book-reference-detail-shell) .empty-note {
  color: rgba(22, 36, 26, 0.76) !important;
  font-size: 14px !important;
  line-height: 1.72 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-mindmap-card {
  display: grid !important;
  gap: 8px !important;
  padding: 14px !important;
  border: 1px solid rgba(65, 104, 72, 0.12) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(90deg, rgba(72, 119, 80, 0.12), transparent),
    #fbfcf8 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-mindmap-card strong {
  color: #1c3324 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-mindmap-card span {
  color: rgba(27, 46, 34, 0.7) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-related-rail {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding-bottom: 2px !important;
  scrollbar-width: none !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-related-rail::-webkit-scrollbar {
  display: none !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-related-book {
  width: 120px !important;
  min-width: 120px !important;
  display: grid !important;
  gap: 8px !important;
  padding: 8px !important;
  border: 1px solid rgba(28, 55, 39, 0.08) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #17281e !important;
  text-decoration: none !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-related-book img {
  width: 100% !important;
  aspect-ratio: 3 / 4 !important;
  height: auto !important;
  border-radius: 7px !important;
  object-fit: cover !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-related-book strong,
body:has(.detail-main.book-reference-detail-shell) .mobile-related-book small {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-related-book strong {
  color: #17281e !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 850 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-related-book small {
  margin-top: 3px !important;
  color: rgba(23, 40, 30, 0.58) !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-comment-form {
  display: grid !important;
  gap: 8px !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-comment-form textarea {
  min-height: 72px !important;
  border-radius: 8px !important;
  resize: vertical !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-comment-list {
  display: grid !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-comment {
  padding: 12px !important;
  border: 1px solid rgba(28, 55, 39, 0.08) !important;
  border-radius: 8px !important;
  background: #fbfcf8 !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-listen-controls {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .detail-player {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-rows: 50px 72px !important;
  align-content: start !important;
  gap: 12px !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .detail-player {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-rows: 50px 18px 72px !important;
  align-content: start !important;
  gap: 12px !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-progress {
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) 66px !important;
  grid-template-rows: 28px 18px !important;
  align-items: center !important;
  gap: 6px 12px !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-progress {
  display: grid !important;
  grid-template-columns: 66px minmax(0, 1fr) 66px !important;
  grid-template-rows: 28px 18px !important;
  align-items: center !important;
  gap: 6px 12px !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-controls {
  display: grid !important;
  grid-template-columns: minmax(48px, 1fr) minmax(48px, 1fr) 76px minmax(48px, 1fr) minmax(48px, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 8px !important;
}

body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-controls {
  display: grid !important;
  grid-template-columns: minmax(48px, 1fr) minmax(48px, 1fr) 76px minmax(48px, 1fr) minmax(48px, 1fr) !important;
  align-items: center !important;
  justify-items: center !important;
  gap: 8px !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-control-cell > button,
body:has(.detail-main.book-reference-detail-shell) .mobile-watch-later {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  place-items: center !important;
  gap: 5px !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-watch-later {
  height: 56px !important;
}

@media (max-width: 390px) {
  body:has(.detail-main.book-reference-detail-shell) {
    --qinghe-detail-shell: min(100% - 14px, 376px);
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    gap: 12px !important;
    min-height: 154px !important;
    padding: 16px 16px 10px !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary > img {
    width: 84px !important;
    height: 114px !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary h1 {
    font-size: 22px !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-actions {
    padding: 0 16px 16px !important;
  }
}

/* book-detail-player-progress-20260702: keep the launch audio player close to the reference with no pale wrapper around the progress bar. */
@media (max-width: 720px) {
  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-player,
  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-player {
    padding: 10px 18px 14px !important;
    grid-template-rows: 38px 54px 128px !important;
    row-gap: 7px !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .detail-player,
  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .detail-player {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-rows: 46px 18px 68px !important;
    align-content: start !important;
    gap: 10px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-progress,
  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-progress {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) 58px !important;
    grid-template-rows: 24px 14px !important;
    align-items: center !important;
    gap: 5px 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip::before,
  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip::after {
    content: none !important;
    display: none !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-progress::before {
    content: "" !important;
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    width: 100% !important;
    height: 6px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #dfc982 0 var(--progress, 0%), rgba(255, 255, 255, 0.22) var(--progress, 0%) 100%) !important;
    box-shadow: none !important;
    pointer-events: none !important;
    z-index: 0 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-progress::after {
    content: none !important;
    display: none !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #dfc982 0 var(--progress, 0%), rgba(255, 255, 255, 0.22) var(--progress, 0%) 100%) center / 100% 6px no-repeat !important;
    box-shadow: none !important;
    outline: none !important;
    accent-color: #dfc982 !important;
    z-index: 1 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-progress input[type="range"] {
    background: linear-gradient(90deg, #dfc982 0 var(--progress, 0%), rgba(255, 255, 255, 0.22) var(--progress, 0%) 100%) center / 100% 6px no-repeat !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress input[type="range"]::-webkit-slider-runnable-track {
    height: 6px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #dfc982 0 var(--progress, 0%), rgba(255, 255, 255, 0.22) var(--progress, 0%) 100%) !important;
    box-shadow: none !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: -6px !important;
    border: 2px solid rgba(255, 247, 223, 0.98) !important;
    border-radius: 999px !important;
    background: #dfc982 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress input[type="range"]::-moz-range-track {
    height: 6px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress input[type="range"]::-moz-range-progress {
    height: 6px !important;
    border-radius: 999px !important;
    background: #dfc982 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress input[type="range"]::-moz-range-thumb {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 247, 223, 0.98) !important;
    border-radius: 999px !important;
    background: #dfc982 !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25) !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip {
    width: 58px !important;
    min-width: 58px !important;
    height: 30px !important;
    min-height: 30px !important;
    display: inline-grid !important;
    place-items: center !important;
    justify-self: center !important;
    align-self: center !important;
    padding: 0 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 820 !important;
    line-height: 1 !important;
    overflow: hidden !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip-back {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip-next {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip span {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip em {
    display: none !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress > span {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.66) !important;
    font-size: 12px !important;
    line-height: 14px !important;
    font-weight: 650 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress > span:nth-of-type(1) {
    justify-self: start !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress > span:nth-of-type(2) {
    justify-self: end !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-controls,
  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-controls {
    height: 68px !important;
    min-height: 68px !important;
    margin: 0 !important;
    grid-template-columns: minmax(48px, 1fr) minmax(48px, 1fr) 72px minmax(48px, 1fr) minmax(48px, 1fr) !important;
    align-items: center !important;
    justify-items: center !important;
    gap: 7px !important;
  }
}

/* book-audio-status-text-20260704: text-only launch audio readiness hint. */
body:has(.detail-main.book-reference-detail-shell) .audio-load-status {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255, 247, 223, 0.72) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 720 !important;
}

body:has(.detail-main.book-reference-detail-shell) [data-audio-load-text] {
  max-width: 100% !important;
  overflow: hidden !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body:has(.detail-main.book-reference-detail-shell) [data-audio-load-status="ready"],
body:has(.detail-main.book-reference-detail-shell) [data-audio-load-status="playing"] {
  color: rgba(222, 253, 232, 0.86) !important;
}

body:has(.detail-main.book-reference-detail-shell) [data-audio-load-status="error"] {
  color: rgba(255, 210, 190, 0.9) !important;
}

/* book-detail-simplified-20260702: simplified launch detail page per annotated review. */
@media (max-width: 720px) {
  body:has(.detail-main.book-reference-detail-shell) .site-main,
  body:has(.detail-main.book-reference-detail-shell) .detail-main {
    padding-bottom: 26px !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip span {
    display: block !important;
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    justify-self: center !important;
    align-self: center !important;
    line-height: 1 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip em,
  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip::before,
  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-progress .mobile-skip::after {
    content: none !important;
    display: none !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-related-book {
    width: 88px !important;
    min-width: 88px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-related-book img {
    width: 88px !important;
    height: 118px !important;
    border-radius: 8px !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-related-book strong,
  body:has(.detail-main.book-reference-detail-shell) .mobile-related-book small {
    display: none !important;
  }
}

/* book-player-spacing-20260703: separate the back button from -15s and lower the player controls. */
@media (max-width: 720px) {
  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-player,
  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-player {
    padding: 10px 18px 16px !important;
    grid-template-rows: 42px 72px 118px !important;
    row-gap: 12px !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-topbar,
  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-topbar.is-video-switch-hidden {
    height: 42px !important;
    min-height: 42px !important;
    align-self: start !important;
    align-items: start !important;
    padding: 0 !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .mobile-listen-topbar .mobile-back,
  body:has(.detail-main.book-reference-detail-shell) .mobile-back {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    align-self: start !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .detail-player,
  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .detail-player {
    grid-template-rows: 50px 18px 82px !important;
    gap: 9px !important;
    align-self: start !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-progress,
  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-progress {
    height: 50px !important;
    min-height: 50px !important;
    align-self: start !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .detail-hero-video-first.mobile-detail-player-section .media-card.is-audio-mode .mobile-listen-controls,
  body:has(.detail-main.book-reference-detail-shell) .mobile-detail-player-section .mobile-listen-controls {
    height: 74px !important;
    min-height: 74px !important;
    align-self: end !important;
  }
}

/* book-share-20260710: normal book-link sharing, independent from VIP gift cards. */
body:has(.detail-main.book-reference-detail-shell) .mobile-book-summary {
  position: relative !important;
}

body:has(.detail-main.book-reference-detail-shell) .mobile-book-meta {
  min-width: 0 !important;
  padding-right: 62px !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-share-title-action {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: auto !important;
  min-width: 0 !important;
  height: 32px !important;
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #9c6d2d !important;
  box-shadow: none !important;
  font: inherit !important;
  cursor: pointer;
}

body:has(.detail-main.book-reference-detail-shell) .book-share-title-action:active {
  transform: translateY(1px) !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-share-title-action .mobile-book-share-icon {
  width: 17px !important;
  height: 17px !important;
  display: grid !important;
  place-items: center !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-share-title-action svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

body:has(.detail-main.book-reference-detail-shell) .book-share-title-action .mobile-book-share-label {
  display: block !important;
  color: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

@media (max-width: 380px) {
  body:has(.detail-main.book-reference-detail-shell) .mobile-book-meta {
    padding-right: 54px !important;
  }

  body:has(.detail-main.book-reference-detail-shell) .book-share-title-action {
    top: 12px !important;
    right: 12px !important;
    gap: 4px !important;
  }
}

.book-share-layer {
  position: fixed;
  inset: 0;
  z-index: 1180;
  display: grid;
  align-items: end;
  justify-items: center;
  pointer-events: auto;
}

.book-share-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(14, 20, 16, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.book-share-sheet {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  display: grid;
  gap: 14px;
  padding: 10px 18px calc(16px + env(safe-area-inset-bottom));
  border: 1px solid rgba(33, 52, 39, 0.08);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, #fffef9, #f8faf4);
  box-shadow: 0 -22px 58px rgba(16, 22, 18, 0.22);
  color: #17281e;
}

.book-share-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(34, 49, 39, 0.16);
}

.book-share-head {
  display: grid;
  gap: 6px;
  text-align: center;
}

.book-share-head span {
  color: #9a6a21;
  font-size: 12px;
  font-weight: 850;
}

.book-share-head h2 {
  margin: 0;
  color: #17281e;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 930;
  letter-spacing: 0;
}

.book-share-head p {
  max-width: 330px;
  margin: 0 auto;
  color: rgba(23, 40, 30, 0.7);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 620;
}

.book-share-targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.book-share-targets button {
  min-width: 0;
  min-height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(35, 55, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  color: #24372a;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(23, 39, 29, 0.05);
}

.book-share-targets button:disabled {
  opacity: 0.62;
}

.book-share-target-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.book-share-target-icon.wechat {
  background: radial-gradient(circle at 62% 64%, #fff 0 5px, transparent 6px), radial-gradient(circle at 38% 42%, #fff 0 6px, transparent 7px), linear-gradient(145deg, #31c767, #15934a);
}

.book-share-target-icon.qq {
  background: linear-gradient(145deg, #2d74d6, #5ba4ff);
}

.book-share-target-icon.qq::before {
  content: "Q";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.book-share-target-icon.copy {
  background: linear-gradient(145deg, #f7f1d8, #e0d59f);
}

.book-share-target-icon.copy::before,
.book-share-target-icon.copy::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 10px;
  border: 2px solid #43533f;
  border-radius: 999px;
  transform: rotate(-28deg);
}

.book-share-target-icon.copy::before {
  left: 10px;
  top: 14px;
}

.book-share-target-icon.copy::after {
  right: 10px;
  bottom: 14px;
}

.book-share-targets strong {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 780;
}

.book-share-preview {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(38, 68, 47, 0.08);
  border-radius: 8px;
  background: #fff;
}

.book-share-preview img {
  width: 58px;
  height: 78px;
  border-radius: 7px;
  object-fit: cover;
}

.book-share-preview div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.book-share-preview span {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff1d8;
  color: #8a6325;
  font-size: 11px;
  font-weight: 850;
}

.book-share-preview strong {
  overflow: hidden;
  color: #17281e;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-share-preview p,
.book-share-error {
  margin: 0;
  color: rgba(23, 40, 30, 0.68);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 620;
}

.book-share-error {
  color: #9b3b2e;
  text-align: center;
}

.book-share-cancel {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  font-weight: 820;
}

.book-share-cancel {
  border: 0;
  background: #223c2b;
  color: #fff7c9;
}

.gift-claim-banner {
  position: fixed;
  right: max(10px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: max(10px, env(safe-area-inset-left));
  z-index: 1110;
  max-width: 430px;
  min-height: 66px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(35, 59, 42, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 252, 0.96);
  color: #17281e;
  box-shadow: 0 16px 38px rgba(18, 28, 21, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
}

.gift-claim-badge {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, #2f6d46, #173a28);
}

.gift-claim-badge::before,
.gift-claim-badge::after {
  content: "";
  position: absolute;
  background: #f2d36f;
}

.gift-claim-badge::before {
  left: 9px;
  right: 9px;
  top: 19px;
  height: 4px;
  border-radius: 999px;
}

.gift-claim-badge::after {
  top: 9px;
  bottom: 9px;
  left: 19px;
  width: 4px;
  border-radius: 999px;
}

.gift-claim-banner div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.gift-claim-banner strong,
.gift-claim-banner small {
  overflow: hidden;
  text-overflow: ellipsis;
}

.gift-claim-banner strong {
  color: #17281e;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
}

.gift-claim-banner small {
  color: rgba(23, 40, 30, 0.64);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 620;
}

.gift-claim-banner button {
  min-width: 82px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: #223c2b;
  color: #fff7c9;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.gift-claim-banner button:disabled {
  background: #eef1e8;
  color: rgba(23, 40, 30, 0.48);
}

body:has(.book-share-layer) {
  overflow: hidden;
}

@media (min-width: 721px) {
  .book-share-layer {
    align-items: center;
    padding: 24px;
  }

  .book-share-sheet {
    border-radius: 24px;
    border-bottom: 1px solid rgba(33, 52, 39, 0.08);
    padding-bottom: 18px;
  }
}

@media (max-width: 380px) {
  .gift-claim-banner {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .gift-claim-banner button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* 20260704-profile-hero-removed-v1: keep the old profile promotional hero hidden even if stale DOM is present. */
body.profile-page .profile-brain-hero,
body.profile-page .profile-brain-hero-image {
  display: none !important;
}
