:root {
  --outside: #ffffff;
  --ink: #080809;
  --paper: #ffffff;
  --soft: #f7f4f0;
  --line: #e7e1da;
  --text: #15171c;
  --muted: #737b86;
  --brand-red: #e60033;
  --brand-red-rgb: 230, 0, 51;
  --brand-red-dark: #b80029;
  --brand-red-strong: #ff1748;
  --brand-red-soft: #fff7f7;
  --brand-red-surface: #fff8f7;
  --brand-red-surface-2: #fff1f0;
  --brand-red-surface-3: #ffe9e7;
  --brand-red-line: #fddbd8;
  --brand-red-line-strong: #e7bcba;
  --brand-red-shadow: rgba(var(--brand-red-rgb), .16);
  --brand-heading: #291716;
  --brand-heading-soft: #402b2a;
  --brand-copy: #5d3f3d;
  --brand-muted: #7d5d5a;
  --brand-outline: #926e6c;
  --red: var(--brand-red);
  --red-2: var(--brand-red-strong);
  --gold: #f3a71b;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }

.page-shell {
  max-width: var(--max);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
}

.site-header {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto 1fr minmax(260px, 360px) auto;
  align-items: center;
  gap: 24px;
  padding: 0 30px;
  color: #fff;
  background: rgba(4, 4, 5, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  position: sticky;
  top: 0;
  z-index: 20;
}
.logo {
  color: var(--red-2);
  font-size: 27px;
  font-weight: 950;
  white-space: nowrap;
}
.nav, .user-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 800;
}
.nav a.router-link-active,
.user-links a.router-link-active,
.nav a:hover,
.user-links a:hover { color: #fff; }
.search {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  background: rgba(255, 255, 255, .055);
}
.search input {
  min-width: 0;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}
.search input::placeholder { color: rgba(255, 255, 255, .45); }
.search button {
  border: 0;
  color: #fff;
  background: var(--red);
  cursor: pointer;
}

.hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  padding: 28px 30px;
  color: #fff;
  background: linear-gradient(130deg, #050506 0%, #121216 52%, var(--brand-red-dark) 100%);
}
.hero-art {
  min-height: 414px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: #111;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04);
}
.hero-copy {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  max-width: 610px;
  padding: 0 0 30px 28px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .58);
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
}
.hero-copy h1 {
  margin: 0 0 14px;
  font-size: 46px;
  line-height: 1.08;
  font-weight: 950;
}
.hero-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  color: #fff;
  background: rgba(0, 0, 0, .18);
  font-weight: 900;
}
.btn.primary {
  border-color: var(--red);
  background: linear-gradient(180deg, var(--red-2), var(--red));
}
.hero-list {
  display: grid;
  gap: 14px;
}
.hero-list a {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
}
.hero-list img {
  width: 82px;
  height: 110px;
  object-fit: cover;
}
.hero-list b, .hero-list em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-list em {
  margin-top: 7px;
  color: rgba(255, 255, 255, .62);
  font-style: normal;
  font-size: 13px;
}

.main, .content-band {
  padding: 30px;
  background: #fff;
}
.content-band + .content-band { padding-top: 0; }
.page-hero {
  margin-bottom: 24px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(100deg, #070708, var(--brand-red-dark) 68%, #09090a);
}
.page-hero h1 {
  margin: 8px 0;
  font-size: 38px;
  line-height: 1.1;
}
.page-hero p { margin: 0; color: rgba(255, 255, 255, .74); }
.crumb {
  font-size: 13px;
  color: rgba(255, 255, 255, .68);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 950;
}
.section-head a {
  color: var(--muted);
  font-weight: 800;
}
.comic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}
.comic-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.comic-card { min-width: 0; }
.cover-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #eee;
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .1);
}
.cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank, .status {
  position: absolute;
  color: #fff;
  font-weight: 950;
}
.rank {
  top: 0;
  left: 0;
  width: 34px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--red);
}
.status {
  left: 0;
  bottom: 0;
  height: 24px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, .72);
  font-size: 12px;
}
.comic-card h3 {
  margin: 10px 0 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 950;
}
.comic-card p {
  margin: 0;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}
.tags a,
.tags span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #5a606a;
  border: 1px solid #e8e2db;
  background: #faf8f5;
  font-size: 12px;
  font-weight: 800;
}

.tags span {
  cursor: default;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.update-list.large {
  grid-template-columns: 1fr;
}
.update-list a {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.update-list img {
  width: 86px;
  height: 115px;
  object-fit: cover;
}
.update-list b, .update-list em, .update-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.update-list em {
  margin-top: 8px;
  color: var(--red);
  font-style: normal;
  font-size: 13px;
}
.update-list small {
  margin-top: 8px;
  color: var(--muted);
}

.filter-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #ede6df;
  background: #f4f1ed;
  color: #1c2430;
  font-size: 13px;
  font-weight: 850;
}
.chip.on {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}

.detail-hero {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 24px;
  color: #fff;
  background: linear-gradient(120deg, #070708, var(--brand-red-dark) 68%, #09090a);
}
.detail-cover {
  width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
}
.detail-hero h1 {
  margin: 10px 0;
  font-size: 40px;
}
.detail-hero p {
  max-width: 740px;
  color: rgba(255, 255, 255, .76);
  line-height: 1.8;
}
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.meta-grid div {
  padding: 12px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}
.meta-grid dt {
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}
.meta-grid dd {
  margin: 6px 0 0;
  font-weight: 900;
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.chapter-grid a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #faf8f5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader {
  min-height: 100vh;
  color: #eee;
  background: #111;
}
.reader-top {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  background: #050506;
  position: sticky;
  top: 0;
  z-index: 10;
}
.reader-top h1 {
  margin: 0;
  font-size: 16px;
}
.reader-images {
  max-width: 960px;
  margin: 0 auto;
  padding: 22px 16px;
}
.reader-images img {
  width: 100%;
  margin: 0 auto 12px;
  background: #222;
}
.reader-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 26px 16px 42px;
}
.reader-actions a, .reader-actions span {
  min-width: 110px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #333;
  color: #fff;
  background: #1b1b1d;
}
.reader-actions .primary {
  background: var(--red);
  border-color: var(--red);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
}
.rank-list {
  display: grid;
  gap: 10px;
}
.rank-list a {
  display: grid;
  grid-template-columns: 42px 62px minmax(0, 1fr) 70px;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #fff;
}
.rank-list b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
}
.rank-list img {
  width: 62px;
  height: 82px;
  object-fit: cover;
}
.rank-list strong, .rank-list em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-list em {
  margin-top: 5px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}
.rank-list i {
  color: var(--red);
  font-style: normal;
  font-weight: 950;
  text-align: right;
}

.auth-panel {
  max-width: 430px;
  margin: 28px auto;
  padding: 24px;
  border: 1px solid var(--line);
}
.auth-panel h1 { margin-top: 0; }
.auth-panel form {
  display: grid;
  gap: 12px;
}
.auth-panel input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
}
.auth-panel .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}
.auth-panel p {
  color: var(--muted);
}

.footer {
  padding: 34px 30px;
  color: rgba(255, 255, 255, .68);
  background: #070708;
}
.footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--red-2);
  font-size: 25px;
}
.footer p {
  margin: 0 0 14px;
}
.footer nav {
  display: flex;
  gap: 18px;
}

.site-top {
  background: #fff;
  border-bottom: 1px solid #dedede;
}
.topbar {
  color: #777;
  background: #f5f5f5;
  border-bottom: 1px solid #e7e7e7;
  font-size: 12px;
}
.topbar-inner {
  max-width: var(--max);
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 0 24px;
}
.topbar nav {
  display: flex;
  gap: 16px;
}
.topbar a:hover {
  color: var(--red);
}
.masthead {
  max-width: var(--max);
  min-height: 86px;
  display: grid;
  grid-template-columns: 220px minmax(260px, 520px) 1fr;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 0 24px;
}
.site-top .logo {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  color: var(--red);
  line-height: 1;
}
.site-top .logo strong {
  font-size: 32px;
  font-weight: 950;
}
.site-top .logo small {
  margin-top: 7px;
  color: #999;
  font-size: 11px;
  letter-spacing: 0;
}
.site-top .search {
  height: 42px;
  grid-template-columns: 1fr 76px;
  border: 2px solid var(--red);
  border-radius: 0;
  background: #fff;
}
.site-top .search input {
  color: var(--text);
  background: #fff;
}
.site-top .search input::placeholder {
  color: #aaa;
}
.site-top .search button {
  background: var(--red);
  font-weight: 900;
}
.quick-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  color: #666;
  font-size: 14px;
  font-weight: 800;
}
.quick-links a:hover {
  color: var(--red);
}
.main-nav {
  max-width: var(--max);
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
  padding: 0 24px;
  color: #fff;
  background: var(--red);
  overflow-x: auto;
}
.main-nav a {
  min-width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 900;
}
.main-nav a:hover,
.main-nav a.router-link-active {
  color: #fff;
  background: var(--brand-red-dark);
}

.portal-home {
  padding: 18px 24px 32px;
  background: #fff;
}
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  margin-bottom: 16px;
}
.hero-feature {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  min-height: 300px;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fbfbfb;
}
.feature-cover {
  display: block;
  overflow: hidden;
  background: #eee;
}
.feature-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}
.feature-copy {
  min-width: 0;
  align-self: center;
}
.feature-copy .eyebrow {
  width: fit-content;
  margin: 0 0 10px;
  padding: 4px 9px;
  color: #fff;
  background: var(--red);
  font-size: 13px;
}
.feature-copy h1 {
  margin: 0 0 14px;
  color: #111;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 950;
}
.feature-copy p {
  max-width: 620px;
  margin: 0;
  color: #555;
  line-height: 1.8;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.meta-line span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #666;
  border: 1px solid #e1e1e1;
  background: #fff;
  font-size: 13px;
}
.home-hero .hero-actions {
  margin-top: 20px;
}
.home-hero .btn {
  color: var(--red);
  border-color: var(--red);
  background: #fff;
}
.home-hero .btn.primary {
  color: #fff;
  background: var(--red);
}
.home-rank-panel,
.portal-section,
.side-box {
  border: 1px solid var(--line);
  background: #fff;
}
.home-rank-panel {
  padding: 14px;
}
.home-rank-panel .section-head,
.portal-section .section-head,
.side-box .section-head {
  min-height: 36px;
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--red);
}
.home-rank-panel .section-head h2,
.portal-section .section-head h2,
.side-box .section-head h2 {
  font-size: 20px;
}
.home-rank-panel .section-head a,
.portal-section .section-head a,
.side-box .section-head a {
  font-size: 13px;
}
.mini-rank,
.text-rank {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mini-rank li,
.text-rank li {
  border-bottom: 1px solid #f0f0f0;
}
.mini-rank li:last-child,
.text-rank li:last-child {
  border-bottom: 0;
}
.mini-rank a {
  min-height: 34px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  color: #333;
  font-size: 14px;
}
.mini-rank b,
.text-rank b {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #aaa;
  font-size: 12px;
}
.mini-rank li:nth-child(-n+3) b,
.text-rank li:nth-child(-n+3) b {
  background: var(--red);
}
.mini-rank span,
.mini-rank em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-rank em {
  color: #999;
  font-style: normal;
  font-size: 12px;
}
.tag-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: #fafafa;
}
.tag-strip strong,
.tag-strip a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid #ececec;
  font-size: 14px;
}
.tag-strip strong {
  color: #fff;
  background: var(--red);
}
.tag-strip a:hover {
  color: var(--red);
  background: #fff;
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}
.home-main,
.home-side {
  display: grid;
  gap: 18px;
  align-content: start;
}
.portal-section {
  padding: 14px;
}
.portal-grid {
  gap: 18px 16px;
  padding-top: 16px;
}
.portal-grid .cover-wrap {
  border-radius: 0;
  box-shadow: none;
}
.portal-grid .comic-card h3 {
  font-size: 15px;
}
.update-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 8px;
}
.update-table a {
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(110px, .75fr) 88px;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border-bottom: 1px solid #f1f1f1;
  color: #555;
  font-size: 13px;
}
.update-table a:hover {
  color: var(--red);
  background: var(--brand-red-soft);
}
.update-title,
.update-chapter,
.update-time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.update-title {
  color: #222;
  font-weight: 900;
}
.update-time {
  color: #999;
  text-align: right;
}
.side-box {
  padding: 14px;
}
.side-list {
  display: grid;
  gap: 12px;
  padding-top: 12px;
}
.side-list a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.side-list img {
  width: 58px;
  height: 76px;
  object-fit: cover;
}
.side-list b,
.side-list em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-list b {
  color: #222;
  font-size: 14px;
}
.side-list em {
  margin-top: 7px;
  color: #888;
  font-style: normal;
  font-size: 12px;
}
.text-rank {
  padding-top: 8px;
}
.text-rank a {
  min-height: 33px;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  color: #333;
  font-size: 14px;
}
.text-rank a:hover,
.side-list a:hover b {
  color: var(--red);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
    padding: 12px 18px;
  }
  .masthead {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px;
  }
  .quick-links {
    justify-content: flex-start;
  }
  .main-nav {
    padding: 0 18px;
  }
  .home-hero,
  .home-layout {
    grid-template-columns: 1fr;
  }
  .search, .user-links { grid-column: 1 / -1; }
  .hero, .detail-hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    grid-row: auto;
    padding: 0;
  }
  .comic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav, .user-links {
    gap: 12px;
    overflow-x: auto;
  }
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 8px 14px;
  }
  .masthead {
    padding: 14px;
  }
  .site-top .logo strong {
    font-size: 28px;
  }
  .main-nav {
    padding: 0 14px;
  }
  .main-nav a {
    padding: 0 13px;
  }
  .portal-home {
    padding: 14px;
  }
  .hero-feature {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    min-height: 0;
  }
  .feature-cover img {
    aspect-ratio: 3 / 4;
    height: auto;
  }
  .feature-copy h1 {
    font-size: 22px;
  }
  .feature-copy p {
    display: none;
  }
  .update-table {
    grid-template-columns: 1fr;
  }
  .update-table a {
    grid-template-columns: minmax(0, 1fr) 82px;
  }
  .update-chapter {
    display: none;
  }
  .main, .content-band {
    padding: 18px;
  }
  .hero {
    padding: 18px;
    min-height: auto;
  }
  .hero-copy h1, .detail-hero h1, .page-hero h1 {
    font-size: 30px;
  }
  .comic-grid, .comic-grid.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .update-list {
    grid-template-columns: 1fr;
  }
  .detail-cover {
    width: 100%;
    max-width: 260px;
  }
  .meta-grid, .chapter-grid {
    grid-template-columns: 1fr;
  }
  .rank-list a {
    grid-template-columns: 34px 54px minmax(0, 1fr);
  }
  .rank-list i {
    display: none;
  }
}

/* White portal polish */
.page-shell { background: #fff; }
.filter-panel .chip.on,
.tabs a.router-link-active,
.tabs a:hover {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}
.filter-panel .chip:hover {
  color: var(--red);
  border-color: var(--red);
  background: var(--brand-red-soft);
}

/* Site theme: white surface, black text, red active states. */
:root {
  --outside: #fff;
  --theme-bg: #fff;
  --theme-text: #111;
  --theme-muted: #666;
  --theme-soft: #f7f7f7;
  --theme-line: #e5e5e5;
  --theme-red: var(--brand-red);
  --theme-red-rgb: var(--brand-red-rgb);
  --theme-red-dark: var(--brand-red-dark);
  --theme-red-strong: var(--brand-red-strong);
  --theme-red-soft: var(--brand-red-soft);
  --theme-red-surface: var(--brand-red-surface);
  --theme-red-surface-2: var(--brand-red-surface-2);
  --theme-red-surface-3: var(--brand-red-surface-3);
  --theme-red-line: var(--brand-red-line);
  --theme-red-line-strong: var(--brand-red-line-strong);
  --theme-red-shadow: var(--brand-red-shadow);
}

/* Station-specific page differentiation */
.category-page.site-female {
  padding-top: 32px;
}

.category-page.site-female .category-filter-box {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border-color: var(--brand-red-line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 245, 248, .96), rgba(255, 255, 255, .98)),
    radial-gradient(circle at 94% 10%, rgba(var(--theme-red-rgb), .12), transparent 26%);
  box-shadow: 0 18px 45px rgba(var(--theme-red-rgb), .08);
}

.category-page.site-female .category-filter-box::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 18px;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(var(--theme-red-rgb), .16);
  border-radius: 50%;
  pointer-events: none;
}

.category-page.site-female .category-filter-head {
  border-bottom-color: var(--brand-red-line);
}

.category-page.site-female .category-filter-head h1 {
  color: var(--brand-heading, #27131d);
  font-size: 28px;
  letter-spacing: 0;
}

.category-page.site-female .category-filter-row {
  grid-template-columns: 78px minmax(0, 1fr);
}

.category-page.site-female .category-filter-row strong {
  color: var(--brand-copy, #5d3f3d);
  font-weight: 700;
}

.category-page.site-female .category-filter-chip {
  min-width: 58px;
  border-color: var(--brand-red-line);
  border-radius: 999px;
  color: var(--brand-copy, #5d3f3d);
  background: #fff;
}

.category-page.site-female .category-filter-chip:hover,
.category-page.site-female .category-filter-chip.on {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
  box-shadow: 0 8px 18px rgba(var(--theme-red-rgb), .18);
}

.update-page.site-female {
  background: linear-gradient(180deg, var(--brand-red-soft) 0, #fff 220px);
}

.update-page.site-female .update-hero {
  min-height: 154px;
  border-bottom: 0;
  background:
    linear-gradient(110deg, rgba(255, 237, 244, .95), rgba(255, 255, 255, .98) 58%, rgba(255, 231, 238, .82)),
    radial-gradient(circle at 18% 28%, rgba(var(--theme-red-rgb), .16), transparent 24%);
}

.update-page.site-female .update-hero-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 34px;
}

.update-page.site-female .update-hero h1 {
  color: var(--brand-heading, #27131d);
}

.update-page.site-female .update-filter-inner {
  border: 1px solid var(--brand-red-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(var(--theme-red-rgb), .07);
}

.update-page.site-female .update-date-tabs a,
.update-page.site-female .update-topic-tabs a {
  border-radius: 999px;
}

.update-page.site-female .update-layout {
  align-items: start;
}

.update-page.site-female .update-card {
  border-color: var(--brand-red-line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(18, 24, 40, .06);
}

.update-page.site-female .axis {
  background: linear-gradient(var(--brand-red-line), var(--brand-red-surface-2));
}

.update-page.site-female .axis::before {
  border-color: var(--theme-red);
  background: var(--brand-red-soft);
}

.rank-kk-page.site-female {
  background: #fff;
}

.rank-kk-page.site-female .rank-kk-banner {
  min-height: 178px;
  background:
    linear-gradient(120deg, var(--brand-red-surface-3) 0%, #fff 54%, var(--brand-red-line) 100%);
}

.rank-kk-page.site-female .rank-kk-banner::before,
.rank-kk-page.site-female .rank-kk-banner::after {
  display: none;
}

.rank-kk-page.site-female .rank-kk-banner-title {
  min-width: 380px;
  border: 1px solid rgba(var(--theme-red-rgb), .16);
  border-radius: 999px;
  color: var(--brand-heading, #27131d);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 40px rgba(var(--theme-red-rgb), .1);
}

.rank-kk-page.site-female .rank-kk-banner-title h1 {
  color: var(--brand-heading, #27131d);
}

.rank-kk-page.site-female .rank-kk-banner-title span {
  background: var(--brand-red-line-strong);
}

.rank-kk-page.site-female .rank-kk-menu {
  border-bottom-color: var(--brand-red-line);
}

.rank-kk-page.site-female .rank-kk-menu a.active {
  color: var(--theme-red);
  border-bottom-color: var(--theme-red);
}

.rank-kk-page.site-female .rank-kk-box {
  padding-top: 32px;
}

.rank-kk-page.site-female .rank-kk-card,
.rank-kk-page.site-female .rank-detail-box {
  border-color: var(--brand-red-line);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(var(--theme-red-rgb), .06);
}

.rank-kk-page.site-female .rank-kk-card h2,
.rank-kk-page.site-female .rank-detail-head h2 {
  color: var(--brand-heading, #27131d);
}

.rank-kk-page.site-female .rank-kk-first {
  grid-template-columns: 168px minmax(0, 1fr);
}

.rank-kk-page.site-female .rank-kk-cover,
.rank-kk-page.site-female .rank-detail-cover {
  border-radius: 12px;
  background: var(--brand-red-soft);
}

.rank-kk-page.site-female .rank-kk-cover img,
.rank-kk-page.site-female .rank-detail-cover img {
  border-radius: 12px;
}

.rank-kk-page.site-female .rank-detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-kk-page.site-female .rank-detail-item {
  border-color: var(--brand-red-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, var(--brand-red-soft));
}

.comic-detail-page.site-female {
  background: linear-gradient(180deg, var(--brand-red-soft) 0, #fff 420px);
}

.comic-detail-page.site-female .comic-hero-v2 {
  min-height: 390px;
}

.comic-detail-page.site-female .comic-hero-v2::before {
  background:
    linear-gradient(90deg, rgba(255, 245, 248, .8), rgba(255, 255, 255, .2) 46%, rgba(255, 236, 243, .76)),
    rgba(255, 255, 255, .18);
}

.comic-detail-page.site-female .comic-info-card {
  border: 1px solid rgba(255, 216, 226, .9);
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 60px rgba(var(--theme-red-rgb), .12);
}

.comic-detail-page.site-female .comic-detail-cover,
.comic-detail-page.site-female .comic-detail-cover img {
  border-radius: 16px;
}

.comic-detail-page.site-female .comic-title-row h1 {
  color: var(--brand-heading, #27131d);
}

.comic-detail-page.site-female .comic-action.primary,
.comic-detail-page.site-female .chapter-expand-btn,
.comic-detail-page.site-female .rank-detail-read {
  border-radius: 999px;
}

.comic-detail-page.site-female .comic-action.favorite {
  border-radius: 999px;
  background: #fff0c9;
}

.comic-detail-page.site-female .comic-chapter-wrap {
  align-items: start;
}

.comic-detail-page.site-female .detail-section-chapters,
.comic-detail-page.site-female .detail-related-v2,
.comic-detail-page.site-female .detail-reading-info,
.comic-detail-page.site-female .side-panel-v2 {
  border-color: var(--brand-red-line);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(var(--theme-red-rgb), .06);
}

.comic-detail-page.site-female .chapter-grid-v2 a {
  border-radius: 10px;
  background: var(--brand-red-soft);
}

.comic-detail-page.site-female .chapter-grid-v2 a:hover {
  color: #fff;
  background: var(--theme-red);
}

/* Final mobile bottom-navigation size override: match the home screen. */
@media (max-width:760px){
  .mobile-home-bottom-nav,
  .mobile-category-bottom-nav,
  .mobile-shelf-bottom,
  .mobile-profile-bottom{height:64px;padding:0 0 env(safe-area-inset-bottom)}
  .mobile-home-bottom-nav a,
  .mobile-category-bottom-nav a,
  .mobile-shelf-bottom a,
  .mobile-profile-bottom a{display:grid;align-content:center;justify-items:center;gap:3px;font-size:10px;font-weight:600}
  .mobile-home-bottom-nav svg,
  .mobile-category-bottom-nav svg,
  .mobile-shelf-bottom svg,
  .mobile-profile-bottom svg{width:21px;height:21px}
  .mobile-shelf-bottom span,
  .mobile-profile-bottom span{font-size:10px}
}

/* Keep every mobile bottom navigation button the same size as the home screen. */
@media (max-width:760px){
  .mobile-home-bottom-nav,
  .mobile-category-bottom-nav,
  .mobile-shelf-bottom,
  .mobile-profile-bottom{
    height:64px;
    padding:0 0 env(safe-area-inset-bottom);
  }
  .mobile-home-bottom-nav a,
  .mobile-category-bottom-nav a,
  .mobile-shelf-bottom a,
  .mobile-profile-bottom a{
    display:grid;
    align-content:center;
    justify-items:center;
    gap:3px;
    font-size:10px;
    font-weight:600;
  }
  .mobile-home-bottom-nav svg,
  .mobile-category-bottom-nav svg,
  .mobile-shelf-bottom svg,
  .mobile-profile-bottom svg{width:21px;height:21px}
  .mobile-shelf-bottom span,
  .mobile-profile-bottom span{font-size:10px}
}

/* Stitch reference: mobile login and register */
.mobile-auth-design{display:none}
@media (max-width:760px){
  .df-auth-design-shell:has(.mobile-auth-design){min-height:100dvh;background:#fff}
  .df-auth-design-shell:has(.mobile-auth-design)>.df-topbar,.df-auth-design-shell:has(.mobile-auth-design)>.df-auth-page,.df-auth-design-shell:has(.mobile-auth-design)>.df-account-footer{display:none}
  .mobile-auth-design{display:block;min-height:100dvh;background:#fff;color:#2d2730;font-family:Arial,"Microsoft YaHei",sans-serif}
  .mobile-auth-back{position:absolute;top:13px;left:20px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;color:#39333a;font-size:26px;font-weight:300;line-height:1}
  .mobile-auth-content{width:min(100%,390px);margin:0 auto;padding:67px 32px 40px}.mobile-auth-brand{display:flex;align-items:center;flex-direction:column;text-align:center}.mobile-auth-brand img{width:76px;height:76px;object-fit:contain}.mobile-auth-brand h1{margin:13px 0 7px;font-size:14px;font-weight:600;color:#342e36}.mobile-auth-brand p{margin:0;color:#6d656c;font-size:11px}.mobile-auth-design.is-register .mobile-auth-content{padding-top:66px}.mobile-auth-design.is-register .mobile-auth-brand img{width:72px;height:72px}.mobile-auth-design.is-register .mobile-auth-brand h1{margin-top:12px;font-size:20px;font-weight:800;color:#211c23}.mobile-auth-design.is-register .mobile-auth-brand p{font-size:10px}
  .mobile-auth-form{position:relative;margin-top:37px}.mobile-auth-design.is-register .mobile-auth-form{margin-top:24px}.mobile-auth-input{position:relative;display:flex;align-items:center;width:100%;height:43px;margin:0 0 14px;border:1px solid #e8d6d8;border-radius:8px;background:#fff;color:#8d8085}.mobile-auth-input>svg{width:17px;height:17px;margin:0 11px 0 13px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mobile-auth-input input{min-width:0;width:100%;height:100%;border:0;outline:0;background:transparent;color:#322b32;font-size:12px}.mobile-auth-input input::placeholder{color:#6f686d}.mobile-auth-input button{width:39px;height:100%;display:grid;place-items:center;border:0;background:transparent;color:#8d8085}.mobile-auth-input button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.mobile-auth-submit{display:flex;align-items:center;justify-content:center;width:100%;height:42px;border:0;border-radius:7px;background:#de002c;color:#fff;font-size:12px;font-weight:700;box-shadow:0 5px 12px rgba(222,0,44,.16)}.mobile-auth-submit:disabled{opacity:.65}.mobile-auth-switch{margin:8px 0 0;text-align:center;color:#5d555b;font-size:10px}.mobile-auth-switch button{margin:0;padding:0;border:0;background:transparent;color:#ca0028;font-size:10px;font-weight:700}.mobile-auth-error{margin:-5px 0 10px;color:#cf0029;font-size:10px}
  .mobile-auth-channel{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 17px;padding:0;border:0}.mobile-auth-channel legend{width:100%;margin:0 0 7px;color:#453c43;font-size:9px}.mobile-auth-channel label{height:31px;display:flex;align-items:center;justify-content:center;border:1px solid #e7d9da;border-radius:7px;color:#453e44;font-size:10px}.mobile-auth-channel label.active{border-color:#df002c;color:#bd0025;background:#fffafb}.mobile-auth-channel input{position:absolute;opacity:0;pointer-events:none}.mobile-auth-register-form .mobile-auth-input{height:34px;margin-bottom:10px;border-radius:6px}.mobile-auth-register-form .mobile-auth-input>svg{width:14px;height:14px;margin-left:10px;margin-right:9px}.mobile-auth-register-form .mobile-auth-input input{font-size:10px}.mobile-auth-register-form .mobile-auth-input button{width:34px}.mobile-auth-register-form .mobile-auth-input button svg{width:15px;height:15px}.mobile-auth-register-form .mobile-auth-submit{height:37px}.mobile-auth-register-form .mobile-auth-switch{margin-top:13px}
}

/* Stitch reference: mobile profile settings and password */
.mobile-account-page{display:none}
@media (max-width:760px){
  .mobile-account-page{display:block;min-height:100dvh;background:#fff8f7;color:#332c32;font-family:Arial,"Microsoft YaHei",sans-serif}.mobile-account-page header{height:34px;display:grid;grid-template-columns:34px 1fr 34px;align-items:center;border-bottom:1px solid #f0e6e6}.mobile-account-page header a{display:grid;place-items:center;color:#c60029;font-size:23px;line-height:1}.mobile-account-page header h1{margin:0;text-align:center;color:#b60025;font-size:11px;font-weight:700}.mobile-account-page form{padding:12px 9px 18px}.mobile-settings-avatar{display:flex;align-items:center;flex-direction:column;padding:4px 0 16px}.mobile-settings-avatar>div{position:relative;width:60px;height:60px;border-radius:14px;overflow:visible;box-shadow:0 3px 8px rgba(0,0,0,.12)}.mobile-settings-avatar img{width:100%;height:100%;border-radius:14px;object-fit:cover}.mobile-settings-avatar span{position:absolute;right:-5px;bottom:-5px;display:grid;place-items:center;width:20px;height:20px;border:2px solid #fff;border-radius:50%;color:white;background:#c90029;font-size:10px}.mobile-settings-avatar p{margin:8px 0 0;color:#756c72;font-size:9px}.mobile-settings-label,.mobile-settings-group{display:block;margin:0 0 12px;padding:0;border:0;color:#61575e;font-size:9px}.mobile-settings-text{height:30px;display:flex;align-items:center;margin-top:6px;padding:0 9px;border:1px solid #efbfc5;border-radius:8px;background:#fff}.mobile-settings-text input{width:100%;border:0;outline:0;background:transparent;color:#423941;font-size:9px}.mobile-settings-text span{color:#b30027;font-size:13px}.mobile-settings-group legend{width:100%;margin-bottom:6px}.mobile-settings-group legend small{float:right;color:#968b90;font-size:8px;font-weight:400}.mobile-settings-gender{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.mobile-settings-gender label{height:46px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;border:1px solid #efc6ca;border-radius:8px;color:#5f555b;font-size:9px}.mobile-settings-gender label.active{border-color:#df002d;background:#ffe5e8;color:#bd0028}.mobile-settings-gender input,.mobile-settings-tags input{position:absolute;opacity:0}.mobile-settings-gender b{font-size:13px;font-weight:400}.mobile-settings-tags{display:flex;flex-wrap:wrap;gap:7px}.mobile-settings-tags>*{min-width:35px;height:22px;padding:0 8px;display:flex;align-items:center;justify-content:center;border:1px solid #efc6ca;border-radius:12px;background:#fff;color:#675c62;font-size:8px}.mobile-settings-tags .active{border-color:#df002d;background:#ffe5e8;color:#bd0028}.mobile-settings-links{margin:12px -1px 0;border-top:1px solid #f1e6e6}.mobile-settings-links>*{height:32px;display:flex;align-items:center;padding:0 8px;border-bottom:1px solid #f4eaeb;background:#fff;color:#5d545b;font-size:9px}.mobile-settings-links span{width:22px;color:#d1002c;font-size:12px}.mobile-settings-links em{margin-left:auto;color:#93888e;font-style:normal}.mobile-account-submit{width:100%;height:32px;margin-top:22px;border:0;border-radius:7px;background:#c90029;color:#fff;font-size:10px;font-weight:700;box-shadow:0 4px 8px rgba(201,0,41,.15)}.mobile-account-success,.mobile-account-error{margin:10px 0 0;text-align:center;font-size:9px}.mobile-account-success{color:#2f8a52}.mobile-account-error{color:#ce002b}
  .mobile-password-page header{height:38px;background:#fff}.mobile-password-page header a,.mobile-password-page header h1{color:#1f1c20}.mobile-password-page form{padding:17px 23px 18px}.mobile-password-intro{text-align:center}.mobile-password-intro>div{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 13px;border-radius:13px;background:#ffe5e7;color:#ce002c;font-size:25px}.mobile-password-intro h2{margin:0 0 9px;font-size:11px;font-weight:500}.mobile-password-intro p{margin:0 auto 23px;max-width:195px;line-height:1.7;color:#625960;font-size:9px}.mobile-password-field{display:block;margin:0 0 12px;color:#6d6269;font-size:9px}.mobile-password-field>span{display:block;margin-bottom:6px}.mobile-password-field>div{height:34px;display:flex;align-items:center;padding:0 8px;border:1px solid #efb5bd;border-radius:6px;background:#fff}.mobile-password-field i{margin-right:7px;color:#b10025;font-size:13px;font-style:normal}.mobile-password-field input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#392f36;font-size:9px}.mobile-password-field input::placeholder{color:#8a7f84}.mobile-password-field button{border:0;background:transparent;color:#564d53;font-size:12px}.mobile-password-strength{display:flex;align-items:center;gap:4px;margin:-5px 0 14px;color:#797076;font-size:8px}.mobile-password-strength span{margin-right:4px}.mobile-password-strength i{width:42px;height:2px;background:#f3d9dd}.mobile-password-page .mobile-account-submit{margin-top:62px;height:33px}
}

/* Mobile home: faithfully follows the Stitch "首页（布局重构版）" screen. */
.mobile-home-design { display: none; }

@media (max-width: 760px) {
  .df-account-design-page:has(.mobile-home-design) {
    padding-top: 0;
    background: #f8f9fa;
  }

  .df-account-design-page:has(.mobile-home-design) > .df-topbar,
  .df-account-design-page:has(.mobile-home-design) > .df-account-footer,
  .df-account-design-page:has(.mobile-home-design) > .floating-tools,
  .df-account-design-page:has(.mobile-home-design) > .portal-home {
    display: none;
  }

  .mobile-home-design {
    display: block;
    min-height: 100dvh;
    padding: 56px 0 76px;
    color: #291716;
    background: #f8f9fa;
  }

  .mobile-home-topbar {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(231, 188, 186, .52);
    background: rgba(255, 248, 247, .93);
    box-shadow: 0 2px 8px rgba(41, 23, 22, .04);
    backdrop-filter: blur(12px);
  }

  .mobile-home-brand {
    color: #ac001e;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.02em;
    text-decoration: none;
  }

  .mobile-home-topbar nav { display: flex; gap: 14px; }
  .mobile-home-icon-button { display: grid; width: 24px; height: 24px; place-items: center; color: #5d3f3d; }
  .mobile-home-icon-button svg,
  .mobile-home-bottom-nav svg,
  .mobile-home-back-top svg,
  .mobile-home-shortcut-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  .mobile-home-main { overflow: hidden; }
  .mobile-home-hero { position: relative; padding: 16px 16px 0; }
  .mobile-home-hero a { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; box-shadow: 0 7px 18px rgba(41, 23, 22, .15); }
  .mobile-home-hero img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-home-hero-shade,
  .mobile-home-cover-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0) 56%); }
  .mobile-home-hero strong { position: absolute; right: 14px; bottom: 12px; left: 14px; overflow: hidden; color: #fff; font-size: 15px; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-home-hero-control { position: absolute; z-index: 2; top: calc(50% + 8px); display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: rgba(29, 20, 20, .48); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); color: #fff; cursor: pointer; transform: translateY(-50%); }
  .mobile-home-hero-control.prev { left: 24px; }
  .mobile-home-hero-control.next { right: 24px; }
  .mobile-home-hero-control svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.25; }
  .mobile-home-hero-control:active { background: rgba(29, 20, 20, .7); transform: translateY(-50%) scale(.94); }

  .mobile-home-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 24px 16px 0; }
  .mobile-home-shortcut { display: flex; min-height: 72px; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; text-decoration: none; }
  .mobile-home-shortcut.update { background: #ffdbdf; color: #410005; }
  .mobile-home-shortcut.ranking { background: #ffe7c5; color: #4f2a00; }
  .mobile-home-shortcut-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 50%; color: #fff; }
  .mobile-home-shortcut.update .mobile-home-shortcut-icon { background: #ac001e; }
  .mobile-home-shortcut.ranking .mobile-home-shortcut-icon { background: #ffae00; }
  .mobile-home-shortcut > span:last-child { display: grid; min-width: 0; gap: 4px; }
  .mobile-home-shortcut b { color: inherit; font-size: 13px; line-height: 1; }
  .mobile-home-shortcut small { overflow: hidden; color: inherit; font-size: 9px; line-height: 1.2; opacity: .72; text-overflow: ellipsis; white-space: nowrap; }

  .mobile-home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 16px 0; padding: 12px 0; border-top: 1px solid #f0dedd; border-bottom: 1px solid #f0dedd; }
  .mobile-home-stats div { display: grid; justify-items: center; gap: 2px; }
  .mobile-home-stats div + div { border-left: 1px solid #f0dedd; }
  .mobile-home-stats strong { color: #291716; font-size: 14px; line-height: 1.2; }
  .mobile-home-stats span { color: #926e6c; font-size: 9px; }

  .mobile-home-section { margin-top: 30px; padding: 0 16px; }
  .mobile-home-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .mobile-home-section-header h2 { display: flex; align-items: center; margin: 0; color: #291716; font-size: 17px; font-weight: 700; line-height: 24px; }
  .mobile-home-section-header h2::before { width: 5px; height: 23px; margin-right: 8px; border-radius: 999px; background: #ac001e; content: ''; }
  .mobile-home-section-header a { color: #5b5d74; font-size: 12px; font-weight: 600; text-decoration: none; }
  .mobile-home-section-header a span { padding-left: 2px; color: #ac001e; font-size: 19px; line-height: 0; vertical-align: -2px; }

  .mobile-home-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mobile-home-feature-card { min-width: 0; }
  .mobile-home-feature-card > a { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 14px; background: #f0e3e1; }
  .mobile-home-feature-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
  .mobile-home-feature-card:active img { transform: scale(1.03); }
  .mobile-home-cover-copy { position: absolute; right: 10px; bottom: 10px; left: 10px; display: grid; gap: 4px; }
  .mobile-home-cover-copy em { width: fit-content; padding: 2px 5px; border-radius: 3px; background: #ac001e; color: #fff; font-size: 9px; font-style: normal; font-weight: 700; line-height: 1.2; }
  .mobile-home-cover-copy em.muted { background: #5b5d74; }
  .mobile-home-cover-copy em.complete { background: #2d6a4f; }
  .mobile-home-cover-copy b { overflow: hidden; color: #fff; font-size: 13px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-home-cover-copy small { color: rgba(255, 255, 255, .9); font-size: 9px; }

  .mobile-home-compact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
  .mobile-home-compact-card { min-width: 0; }
  .mobile-home-compact-card > a { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 10px; background: #f0e3e1; }
  .mobile-home-compact-card img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-home-compact-card h3 { overflow: hidden; margin: 7px 0 0; font-size: 12px; font-weight: 600; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-home-compact-card h3 a { color: #291716; text-decoration: none; }
  .mobile-home-compact-card p { overflow: hidden; margin: 4px 0 0; color: #ac001e; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-home-heat { display: inline-flex; align-items: center; gap: 2px; color: #ac001e; }
  .mobile-home-heat::before { flex: 0 0 auto; font-family: "Material Symbols Outlined"; font-size: 12px; font-feature-settings: "liga"; font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 16; line-height: 1; content: "local_fire_department"; }
  .mobile-home-cover-copy .mobile-home-heat { color: rgba(255, 255, 255, .92); }
  .mobile-home-last-section { padding-bottom: 14px; }

  .mobile-home-editorial-poster { margin-top: 30px; padding: 0 16px; }
  .mobile-home-editorial-poster a { position: relative; display: block; overflow: hidden; aspect-ratio: 21 / 9; border-radius: 16px; box-shadow: 0 5px 16px rgba(41, 23, 22, .13); color: #fff; text-decoration: none; }
  .mobile-home-editorial-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
  .mobile-home-editorial-poster-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); backdrop-filter: blur(3px); }
  .mobile-home-editorial-poster-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
  .mobile-home-editorial-poster-copy strong { color: #fff; font-size: 18px; font-weight: 800; line-height: 1.25; text-shadow: 0 2px 5px rgba(0, 0, 0, .35); }
  .mobile-home-editorial-poster-copy small { display: -webkit-box; overflow: hidden; max-width: 94%; margin-top: 5px; color: rgba(255, 255, 255, .92); font-size: 10px; line-height: 1.4; text-shadow: 0 1px 4px rgba(0, 0, 0, .4); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .mobile-home-editorial-poster a:active img { transform: scale(1.03); }

  .mobile-home-back-top { position: fixed; z-index: 45; right: 16px; bottom: 82px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: #ac001e; box-shadow: 0 5px 16px rgba(172, 0, 30, .28); color: #fff; }
  .mobile-home-back-top svg { width: 20px; height: 20px; }

  .mobile-home-bottom-nav { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: grid; height: 64px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(231, 188, 186, .6); background: rgba(255, 248, 247, .96); box-shadow: 0 -3px 16px rgba(41, 23, 22, .06); backdrop-filter: blur(12px); }
  .mobile-home-bottom-nav a { display: grid; align-content: center; justify-items: center; gap: 3px; color: #5d3f3d; font-size: 10px; font-weight: 600; text-decoration: none; }
  .mobile-home-bottom-nav a.active { color: #ac001e; }
  .mobile-home-bottom-nav a.active::before { position: absolute; top: 0; width: 24px; height: 2px; border-radius: 0 0 3px 3px; background: currentColor; content: ''; }
.mobile-home-bottom-nav svg { width: 21px; height: 21px; }
}

/* Mobile category: faithfully follows the Stitch "分类（APP版）" screen. */
.mobile-category-design { display: none; }

/* Stitch reference: mobile topic and booklist collection indexes. */
.mobile-editorial-design { display: none; }

@media (max-width: 760px) {
  .df-account-design-page.mobile-editorial-layout { min-height: 100dvh; padding-top: 0; background: #fff8f7; }
  .df-account-design-page.mobile-editorial-layout > .df-topbar,
  .df-account-design-page.mobile-editorial-layout > .df-account-footer,
  .df-account-design-page.mobile-editorial-layout > .floating-tools,
  .df-account-design-page.mobile-editorial-layout > .editorial-index,
  .df-account-design-page.mobile-editorial-layout > .collection-detail,
  .df-account-design-page.mobile-editorial-layout > .collection-share { display: none; }
  .df-account-design-page:has(.mobile-editorial-design) { min-height: 100dvh; padding-top: 0; background: #fff8f7; }
  .df-account-design-page:has(.mobile-editorial-design) > .df-topbar,
  .df-account-design-page:has(.mobile-editorial-design) > .df-account-footer,
  .df-account-design-page:has(.mobile-editorial-design) > .floating-tools,
  .df-account-design-page:has(.mobile-editorial-design) > .editorial-index { display: none; }

  .mobile-editorial-design { display: block; min-height: 100dvh; padding: 80px 0 88px; color: #291716; background: #fff8f7; font-family: Arial, "Microsoft YaHei", sans-serif; }
  .mobile-editorial-topbar { position: fixed; z-index: 50; top: 0; right: 0; left: 0; display: flex; height: 64px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid rgba(231, 188, 186, .3); background: rgba(255, 248, 247, .9); box-shadow: 0 2px 5px rgba(41, 23, 22, .04); backdrop-filter: blur(12px); }
  .mobile-editorial-topbar > div { display: flex; align-items: center; gap: 11px; }
  .mobile-editorial-topbar button { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #ac001e; }
  .mobile-editorial-topbar .mobile-editorial-title { margin: 0; color: #ac001e; font-size: 20px; font-weight: 800; line-height: 1; }
  .mobile-editorial-topbar nav { display: flex; align-items: center; gap: 8px; }
  .mobile-editorial-topbar nav a { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #5b5d74; }
  .mobile-editorial-topbar svg,
  .mobile-editorial-bottom-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-editorial-topbar button svg { width: 23px; height: 23px; }

  .mobile-editorial-main { padding: 0 16px; }
  .mobile-editorial-topic-hero { position: relative; overflow: hidden; margin-bottom: 24px; padding: 32px; border-radius: 16px; color: #fff; background: #d90429; }
  .mobile-editorial-topic-hero::after { position: absolute; inset: 0 0 0 auto; width: 50%; opacity: .2; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); background-size: 200% 100%; content: ''; animation: mobile-editorial-shimmer 2s linear infinite; }
  .mobile-editorial-topic-hero > * { position: relative; z-index: 1; }
  .mobile-editorial-topic-hero span { display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; font-size: 12px; font-weight: 600; line-height: 16px; }
  .mobile-editorial-topic-hero h2 { margin: 0 0 8px; color: #fff; font-size: 24px; font-weight: 700; line-height: 32px; }
  .mobile-editorial-topic-hero p { max-width: 420px; margin: 0; color: rgba(255,255,255,.8); font-size: 16px; line-height: 24px; }
  .mobile-editorial-booklist-hero { position: relative; display: flex; height: 256px; align-items: center; overflow: hidden; margin-bottom: 48px; border-radius: 24px; box-shadow: 0 7px 18px rgba(41, 23, 22, .18); }
  .mobile-editorial-booklist-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mobile-editorial-booklist-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(172, 0, 30, .8), transparent); content: ''; }
  .mobile-editorial-booklist-hero > div { position: relative; z-index: 1; max-width: 70%; padding: 0 32px; color: #fff; }
  .mobile-editorial-booklist-hero h2 { margin: 0 0 12px; color: #fff; font-size: 24px; font-weight: 800; line-height: 1.2; }
  .mobile-editorial-booklist-hero p { margin: 0; color: rgba(255,255,255,.9); font-size: 16px; line-height: 24px; }

  .mobile-editorial-card-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
  .mobile-editorial-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; color: #291716; background: #fff; box-shadow: 0 4px 20px rgba(0,0,0,.04); text-decoration: none; }
  .is-booklists .mobile-editorial-card { border-radius: 16px; }
  .mobile-editorial-card-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #f0e3e1; }
  .mobile-editorial-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .mobile-editorial-card:active .mobile-editorial-card-cover img { transform: scale(1.04); }
  .mobile-editorial-card-cover span { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); overflow: hidden; padding: 4px 8px; border-radius: 999px; color: #fff; background: #ac001e; box-shadow: 0 2px 5px rgba(0,0,0,.14); font-size: 12px; font-weight: 700; line-height: 16px; text-overflow: ellipsis; white-space: nowrap; }
  .is-booklists .mobile-editorial-card-cover span { padding: 4px 12px; }
  .mobile-editorial-card-body { display: flex; min-height: 174px; flex-direction: column; padding: 20px; }
  .is-booklists .mobile-editorial-card-body { min-height: 191px; padding: 24px; }
  .mobile-editorial-tags { margin: 0 0 12px; color: #5b5d74; font-size: 12px; line-height: 16px; }
  .mobile-editorial-card h3 { margin: 0 0 8px; color: #291716; font-size: 20px; font-weight: 600; line-height: 28px; }
  .mobile-editorial-card strong { display: block; margin: 0 0 8px; color: #ac001e; font-size: 14px; font-weight: 700; line-height: 16px; }
  .mobile-editorial-desc { display: -webkit-box; overflow: hidden; margin: 0 0 16px; color: #5b5d74; font-size: 14px; line-height: 20px; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .mobile-editorial-card b { display: flex; align-items: center; gap: 4px; margin-top: auto; color: #ac001e; font-size: 14px; font-weight: 600; line-height: 16px; }
  .mobile-editorial-card b i { font-size: 20px; font-style: normal; line-height: 12px; }

  .mobile-editorial-topic-cta { margin: 48px 0 32px; padding: 32px; border: 1px solid rgba(146,110,108,.2); border-radius: 16px; background: #ffe9e7; text-align: center; }
  .mobile-editorial-topic-cta h2 { margin: 0 0 16px; color: #291716; font-size: 20px; line-height: 28px; }
  .mobile-editorial-topic-cta p { margin: 0 0 24px; color: #5b5d74; font-size: 16px; line-height: 24px; }
  .mobile-editorial-topic-cta a { display: inline-flex; height: 48px; align-items: center; justify-content: center; padding: 0 32px; border-radius: 999px; color: #fff; background: #ac001e; font-size: 14px; font-weight: 600; text-decoration: none; }
  .mobile-editorial-booklist-cta { position: relative; overflow: hidden; margin: 64px 0 32px; padding: 32px; border-radius: 24px; color: #fff; background: #ac001e; box-shadow: 0 7px 18px rgba(172,0,30,.2); }
  .mobile-editorial-booklist-cta::after { position: absolute; top: -80px; right: -80px; width: 256px; height: 256px; border-radius: 50%; background: rgba(255,255,255,.1); filter: blur(40px); content: ''; }
  .mobile-editorial-booklist-cta > * { position: relative; z-index: 1; }
  .mobile-editorial-booklist-cta h2 { margin: 0 0 8px; color: #fff; font-size: 20px; line-height: 28px; }
  .mobile-editorial-booklist-cta p { margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: 16px; line-height: 24px; }
  .mobile-editorial-booklist-cta a { display: inline-flex; height: 48px; align-items: center; padding: 0 32px; border-radius: 999px; color: #ac001e; background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
  .mobile-editorial-footer { margin: 80px -16px 0; padding: 48px 24px 36px; border-top: 1px solid rgba(146,110,108,.2); background: #fff8f7; text-align: center; }
  .mobile-editorial-footer h2 { margin: 0 0 16px; color: #ac001e; font-size: 20px; font-weight: 800; line-height: 28px; }
  .mobile-editorial-footer p { max-width: 440px; margin: 0 auto 32px; color: #5b5d74; font-size: 14px; line-height: 20px; }
  .mobile-editorial-footer nav { display: flex; justify-content: center; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 32px; }
  .mobile-editorial-footer nav a { color: #5b5d74; font-size: 12px; text-decoration: none; }
  .mobile-editorial-footer small { color: rgba(91,93,116,.6); font-size: 12px; }

  .mobile-editorial-bottom-nav { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: grid; height: 64px; grid-template-columns: repeat(4, minmax(0,1fr)); padding-bottom: env(safe-area-inset-bottom); border-radius: 12px 12px 0 0; background: #fff8f7; box-shadow: 0 -4px 20px rgba(0,0,0,.04); }
  .mobile-editorial-bottom-nav a { position: relative; display: grid; align-content: center; justify-items: center; gap: 3px; color: #5b5d74; font-size: 10px; font-weight: 600; text-decoration: none; }
  .mobile-editorial-bottom-nav a.active { color: #ac001e; font-weight: 800; }
  .mobile-editorial-bottom-nav a.active::after { position: absolute; bottom: 4px; width: 16px; height: 2px; border-radius: 999px; background: currentColor; content: ''; }
  .mobile-editorial-bottom-nav svg { width: 21px; height: 21px; }
  @keyframes mobile-editorial-shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
}

@media (max-width: 760px) {
  .df-account-design-page:has(.mobile-category-design) {
    padding-top: 0;
    background: #f8f9fa;
  }

  .df-account-design-page:has(.mobile-category-design) > .df-topbar,
  .df-account-design-page:has(.mobile-category-design) > .df-account-footer,
  .df-account-design-page:has(.mobile-category-design) > .floating-tools,
  .df-account-design-page:has(.mobile-category-design) > .category-page {
    display: none;
  }

  .mobile-category-design {
    display: block;
    min-height: 100dvh;
    padding: 56px 0 76px;
    color: #291716;
    background: #f8f9fa;
  }

  .mobile-category-topbar {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    display: flex;
    height: 56px;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid rgba(231, 188, 186, .52);
    background: rgba(255, 248, 247, .93);
    box-shadow: 0 2px 8px rgba(41, 23, 22, .04);
    backdrop-filter: blur(12px);
  }

  .mobile-category-title { display: flex; align-items: center; gap: 7px; color: #ac001e; text-decoration: none; }
  .mobile-category-heading { margin: 0; color: inherit; font-size: 16px; font-weight: 800; line-height: 1; }
  .mobile-category-title svg,
  .mobile-category-history svg,
  .mobile-category-bottom-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-category-history { display: grid; width: 24px; height: 24px; place-items: center; color: #5d3f3d; }

  .mobile-category-main { padding: 16px 16px 14px; }
  .mobile-category-filter-card { margin-bottom: 24px; padding: 14px 14px 12px; border-radius: 12px; background: #fff8f7; box-shadow: 0 4px 20px rgba(0, 0, 0, .04); }
  .mobile-category-filter-row { margin-bottom: 14px; }
  .mobile-category-filter-row.last { margin-bottom: 0; }
  .mobile-category-filter-row strong { display: block; margin-bottom: 8px; color: #5b5d74; font-size: 11px; font-weight: 700; }
  .mobile-category-filter-row > div { display: flex; flex-wrap: wrap; gap: 8px; }
  .mobile-category-filter-row a { min-width: 42px; padding: 6px 11px; border-radius: 999px; color: #5d3f3d; background: #ffe9e7; font-size: 10px; font-weight: 700; line-height: 1; text-align: center; text-decoration: none; }
  .mobile-category-filter-row a.active { color: #fff; background: #ac001e; box-shadow: 0 0 12px rgba(172, 0, 30, .2); }

  .mobile-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .mobile-category-comic-card { min-width: 0; }
  .mobile-category-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 12px; background: #f1e4e2; box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
  .mobile-category-cover img { width: 100%; height: 100%; object-fit: cover; }
  .mobile-category-cover::after { position: absolute; right: 0; bottom: 0; left: 0; height: 32%; background: linear-gradient(0deg, rgba(0, 0, 0, .56), transparent); content: ''; }
  .mobile-category-cover-badge { position: absolute; z-index: 1; top: 8px; left: 8px; padding: 3px 7px; border-radius: 999px; color: #fff; background: #ac001e; box-shadow: 0 2px 5px rgba(0, 0, 0, .14); font-size: 9px; font-weight: 700; line-height: 1; }
  .mobile-category-cover-badge.secondary { background: #5b5d74; }
  .mobile-category-score { position: absolute; z-index: 1; bottom: 8px; left: 8px; color: #fff; font-size: 10px; font-weight: 700; }
  .mobile-category-comic-card h2 { overflow: hidden; margin: 8px 2px 0; color: #291716; font-size: 13px; font-weight: 800; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-category-comic-card h2 a { color: inherit; text-decoration: none; }
  .mobile-category-comic-card p { overflow: hidden; margin: 4px 2px 0; color: #5b5d74; font-size: 9px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }

  .mobile-category-empty { padding: 56px 16px; color: #5b5d74; text-align: center; }
  .mobile-category-empty p { margin: 0 0 14px; }
  .mobile-category-empty a { color: #ac001e; font-size: 13px; font-weight: 700; }
  .mobile-category-load-more { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 5px; margin: 28px 0 8px; border: 1px solid #f0d6d9; border-radius: 12px; color: #ac001e; background: #fff; box-shadow: 0 5px 16px rgba(75, 33, 40, .06); font-size: 11px; font-weight: 800; text-decoration: none; transition: background .18s ease, transform .18s ease; }
  .mobile-category-load-more:active { background: #fff1f2; transform: scale(.99); }
  .mobile-category-load-more:disabled { cursor: wait; opacity: .65; }
  .mobile-category-load-more .material-symbols-outlined { font-size: 17px; }

  .mobile-category-back-top { position: fixed; z-index: 45; right: 16px; bottom: 82px; display: grid; width: 44px; height: 44px; padding: 0; place-items: center; border: 0; border-radius: 50%; background: #ac001e; box-shadow: 0 5px 16px rgba(172, 0, 30, .28); color: #fff; }
  .mobile-category-back-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

  .mobile-category-bottom-nav { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; display: grid; height: 64px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(231, 188, 186, .6); background: rgba(255, 248, 247, .96); box-shadow: 0 -3px 16px rgba(41, 23, 22, .06); backdrop-filter: blur(12px); }
  .mobile-category-bottom-nav a { display: grid; align-content: center; justify-items: center; gap: 3px; color: #5d3f3d; font-size: 10px; font-weight: 600; text-decoration: none; }
  .mobile-category-bottom-nav a.active { color: #ac001e; }
  .mobile-category-bottom-nav a.active::before { position: absolute; top: 0; width: 24px; height: 2px; border-radius: 0 0 3px 3px; background: currentColor; content: ''; }
.mobile-category-bottom-nav svg { width: 21px; height: 21px; }
}

.mobile-shelf-design{display:none}

@media (max-width: 760px) {
  .mobile-shelf-bottom svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .mobile-shelf-bottom a.active svg {
    stroke-width: 2.15;
  }
}

/* Stitch reference: mobile profile (guest and member states) */
.mobile-profile-design{display:none}
@media (max-width:760px){
  .df-account-design-page:has(.mobile-profile-design){min-height:100dvh;background:#fff8f7}
  .df-account-design-page:has(.mobile-profile-design)>.df-topbar,.df-account-design-page:has(.mobile-profile-design)>.df-profile-main,.df-account-design-page:has(.mobile-profile-design)>.df-account-footer{display:none}
  .mobile-profile-design{display:block;min-height:100dvh;padding:64px 0 74px;color:#24202a;background:#fff8f7;font-family:Arial,"Microsoft YaHei",sans-serif}
  .mobile-profile-top{position:fixed;z-index:25;top:0;left:0;right:0;height:64px;padding:0 20px;display:flex;align-items:center;justify-content:space-between;background:rgba(255,248,247,.94);backdrop-filter:blur(12px);box-shadow:0 1px 5px rgba(42,20,25,.05)}
  .mobile-profile-top>strong,.mobile-profile-brand strong{font-size:15px;line-height:1;font-weight:800;color:#bb0027}.mobile-profile-brand{display:flex;align-items:center;gap:10px}.mobile-profile-menu{font-size:16px;color:#bb0027;font-weight:400;line-height:1}
  .mobile-profile-top nav{display:flex;align-items:center;gap:10px}.mobile-profile-top nav a{width:32px;height:32px;display:grid;place-items:center;color:#a50021}.mobile-profile-top svg,.mobile-profile-main svg,.mobile-profile-bottom svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-profile-main{max-width:420px;margin:0 auto;padding:29px 20px 28px}.mobile-profile-main.is-member{padding-top:18px}
  .mobile-profile-guest-head{display:flex;align-items:center;flex-direction:column;padding:0 0 16px}.mobile-profile-avatar{position:relative;width:76px;height:76px;flex:0 0 76px;border:4px solid #fff;border-radius:50%;overflow:visible;box-shadow:0 3px 11px rgba(47,27,32,.18);background:#f0e7e6}.mobile-profile-avatar img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}.mobile-profile-avatar.guest{width:88px;height:88px;flex-basis:88px;margin-bottom:13px}.mobile-profile-avatar b{position:absolute;right:-6px;bottom:-5px;padding:3px 6px;border:2px solid white;border-radius:999px;color:white;background:#e6002d;font-size:10px;line-height:13px;box-shadow:0 2px 4px rgba(0,0,0,.16)}.mobile-profile-avatar.guest b{width:24px;height:24px;padding:0;display:grid;place-items:center;font-size:16px;line-height:1}
  .mobile-profile-guest-head h1{margin:0 0 18px;font-size:14px;font-weight:700;color:#655e65}.mobile-profile-login{display:flex;align-items:center;justify-content:center;width:min(100%,280px);height:38px;border-radius:7px;background:#e6002d;color:#fff;font-size:12px;font-weight:700;box-shadow:0 5px 12px rgba(230,0,45,.19)}
  .mobile-profile-guest-assets{display:grid;grid-template-columns:1fr 1fr;margin:0 0 18px;padding:14px 0;border-radius:7px;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,.04)}.mobile-profile-guest-assets>div{display:flex;flex-direction:column;align-items:center;gap:4px}.mobile-profile-guest-assets>div+div{border-left:1px solid #f0e5e5}.mobile-profile-guest-assets strong{font-size:18px;color:#aaa}.mobile-profile-guest-assets span{font-size:10px;color:#7a7075}.mobile-profile-guest-assets span i{font-style:normal;font-size:9px;color:#ad0024}.mobile-profile-guest-assets small{font-size:8px;color:#bbb1b3}
  .mobile-profile-member-head{display:flex;align-items:center;gap:12px;margin:0 0 14px}.mobile-profile-member-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1;color:inherit}.mobile-profile-user{min-width:0;flex:1}.mobile-profile-user h1{margin:0;color:#27212a;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-profile-user p{margin:5px 0 0;font-size:9px;color:#918990}.mobile-profile-user em{margin-right:7px;padding:2px 6px;border-radius:99px;background:rgba(230,0,45,.1);color:#c6002a;font-style:normal}.mobile-profile-setting{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#585158;box-shadow:0 2px 7px rgba(0,0,0,.08)}
  .mobile-profile-member-assets{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:18px}.mobile-profile-member-assets>div{display:flex;flex-direction:column;align-items:center;padding:13px 8px;border:1px solid rgba(255,255,255,.8);border-radius:7px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.035)}.mobile-profile-member-assets strong{font-size:14px;color:#2e2730}.mobile-profile-member-assets strong i{font-style:normal;color:#efae00;font-size:12px}.mobile-profile-member-assets>div+div strong i{color:#e6002d}.mobile-profile-member-assets span{margin-top:5px;font-size:9px;color:#777078}
  .mobile-profile-recent{margin:0 0 18px}.mobile-profile-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 9px;color:#302a31}.mobile-profile-section-title h2,.mobile-profile-tools h2{margin:0;font-size:13px;font-weight:700}.mobile-profile-section-title span{font-size:20px;color:#8d858a}.mobile-profile-recent-card{position:relative;display:flex;height:89px;overflow:hidden;border:1px solid rgba(230,0,45,.05);border-radius:10px;background:#fff;box-shadow:0 4px 13px rgba(0,0,0,.09);color:#29232b}.mobile-profile-recent-card>img{width:67px;height:100%;object-fit:cover}.mobile-profile-recent-card>div{min-width:0;flex:1;padding:12px}.mobile-profile-recent-card h3{margin:0;overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.mobile-profile-recent-card p{margin:6px 0 12px;color:#8c8388;font-size:9px}.mobile-profile-recent-card b{display:block;width:calc(100% - 23px);height:3px;border-radius:9px;background:#f0e8e9}.mobile-profile-recent-card b i{display:block;width:78%;height:100%;border-radius:9px;background:#e6002d}.mobile-profile-recent-card>em{align-self:flex-end;width:24px;height:24px;margin:0 9px 12px 0;display:grid;place-items:center;border-radius:50%;background:#d9002c;color:#fff;font-size:10px;font-style:normal}.mobile-profile-recent-empty{display:flex;align-items:center;justify-content:center;height:72px;border-radius:10px;background:#fff;color:#8b8388;font-size:11px;box-shadow:0 4px 13px rgba(0,0,0,.06)}
  .mobile-profile-tools{margin:0 0 18px}.mobile-profile-tools h2{margin-bottom:10px}.mobile-profile-tools>div{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.mobile-profile-tools a{display:flex;align-items:center;flex-direction:column;gap:6px;color:#383139;font-size:9px}.mobile-profile-tools a span{width:41px;height:41px;display:grid;place-items:center;border:1px solid #f1e9e9;border-radius:10px;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.025);color:#d9002c}.mobile-profile-tools a:nth-child(2) span{color:#5c5968}.mobile-profile-tools a:nth-child(3) span{color:#8b5e45}.mobile-profile-tools a:nth-child(4) span{color:#837d80}.mobile-profile-tools svg{width:17px;height:17px}
  .mobile-profile-list{overflow:hidden;border:1px solid rgba(255,255,255,.8);border-radius:10px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.03)}.mobile-profile-list a{display:flex;align-items:center;min-height:48px;padding:0 13px;border-bottom:1px solid #f3edee;color:#302b31;font-size:11px}.mobile-profile-list a:last-child{border:0}.mobile-profile-list a>span{width:25px;margin-right:8px;color:#777077;font-size:15px}.mobile-profile-list a>span.book{color:#d6002c}.mobile-profile-list a>i{margin-left:auto;color:#a39ba0;font-size:19px;font-style:normal}.mobile-profile-logout{display:block;width:100%;margin:13px 0 0;padding:11px;border:0;border-radius:10px;background:transparent;color:#d6002c;font-size:11px}.mobile-profile-version{margin:18px 0 0;text-align:center;color:#aaa1a4;font-size:8px}
  .mobile-profile-bottom{position:fixed;z-index:25;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,1fr);height:64px;padding:4px 12px max(4px,env(safe-area-inset-bottom));border-top:1px solid rgba(235,215,215,.8);background:rgba(255,250,249,.94);box-shadow:0 -4px 18px rgba(0,0,0,.035);backdrop-filter:blur(12px)}.mobile-profile-bottom a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:#625b62;font-size:9px}.mobile-profile-bottom a.active{color:#d6002c;font-weight:700}.mobile-profile-bottom svg{width:18px;height:18px}.mobile-profile-bottom a.active svg{stroke-width:2.1}
}
@media(max-width:760px){
.df-account-design-page:has(.mobile-shelf-design){padding-top:0;background:#f8f9fa}.df-account-design-page:has(.mobile-shelf-design)>.df-topbar,.df-account-design-page:has(.mobile-shelf-design)>.df-account-footer,.df-account-design-page:has(.mobile-shelf-design)>.floating-tools,.df-account-design-page:has(.mobile-shelf-design)>.df-shelf-main{display:none}.mobile-shelf-design{display:block;min-height:100dvh;padding:56px 0 70px;color:#291716;background:#f8f9fa}.mobile-shelf-top{position:fixed;z-index:50;top:0;right:0;left:0;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid #f2dfdd;background:#fff8f7}.mobile-shelf-top h1{margin:0;color:#ac001e;font-size:17px}.mobile-shelf-top nav{display:flex;gap:17px;align-items:center}.mobile-shelf-top a,.mobile-shelf-top button{color:#ac001e;border:0;background:none;font-size:13px;text-decoration:none}.mobile-shelf-top a{font-size:22px}.mobile-shelf-main{padding:0 16px}.mobile-shelf-tabs{display:flex;gap:24px;height:40px;align-items:end;border-bottom:1px solid #f1dddd}.mobile-shelf-tabs>*{padding:0 0 8px;color:#5b5d74;font-size:11px;text-decoration:none}.mobile-shelf-tabs .active{color:#ac001e;border-bottom:2px solid #ac001e;font-weight:800}.mobile-shelf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 12px;padding-top:16px}.mobile-shelf-card{min-width:0}.mobile-shelf-cover{position:relative;display:block;overflow:hidden;aspect-ratio:3/4;border-radius:8px;background:#eee}.mobile-shelf-cover img{width:100%;height:100%;object-fit:cover}.mobile-shelf-cover i{position:absolute;top:5px;left:5px;padding:2px 4px;border-radius:3px;color:#fff;background:#ac001e;font-size:8px;font-style:normal}.mobile-shelf-cover b{position:absolute;top:7px;right:7px;display:grid;width:19px;height:19px;place-items:center;border:1px solid #fff;border-radius:50%;color:transparent;background:rgba(0,0,0,.25)}.mobile-shelf-cover b.on{color:#fff;background:#ac001e}.mobile-shelf-card h2{overflow:hidden;margin:7px 0 0;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.mobile-shelf-card h2 a{color:inherit;text-decoration:none}.mobile-shelf-card p{overflow:hidden;margin:3px 0;color:#777;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.mobile-shelf-empty{display:grid;justify-items:center;padding:110px 20px;text-align:center}.mobile-shelf-empty-icon{display:grid;width:112px;height:112px;place-items:center;border-radius:50%;color:#c0002e;background:#f8edef;font-size:65px}.mobile-shelf-empty h2{margin:22px 0 8px;font-size:16px}.mobile-shelf-empty p{margin:0;color:#687080;font-size:11px}.mobile-shelf-empty a{margin-top:28px;padding:9px 38px;border-radius:999px;color:#fff;background:#bd002c;font-size:11px;font-weight:800;text-decoration:none}.mobile-shelf-manage{position:fixed;z-index:51;right:0;bottom:64px;left:0;display:flex;justify-content:space-between;padding:10px 20px;background:#fff8f7}.mobile-shelf-manage button{border:0;background:none;color:#5b5d74;font-size:11px}.mobile-shelf-manage button:last-child{padding:7px 25px;border-radius:999px;color:#fff;background:#bd002c}.mobile-shelf-bottom{position:fixed;z-index:52;right:0;bottom:0;left:0;display:grid;height:64px;grid-template-columns:repeat(4,1fr);border-top:1px solid #eadbd9;background:#fff8f7}.mobile-shelf-bottom a{display:grid;align-content:center;justify-items:center;gap:3px;color:#5b5d74;font-size:17px;text-decoration:none}.mobile-shelf-bottom span{font-size:9px}.mobile-shelf-bottom .active{color:#ac001e}
}

/* Stitch redesign: auth + account pages. */
.df-auth-page,
.df-account-design-page {
  min-height: 100vh;
  color: var(--brand-heading, #291716);
  background: var(--brand-red-surface);
  font-family: "Microsoft YaHei", "PingFang SC", "Hanken Grotesk", system-ui, sans-serif;
}

.df-auth-page button,
.df-account-design-page button,
.df-auth-page input,
.df-account-design-page input {
  font: inherit;
}

.df-login-design-page {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px 16px;
}

.df-auth-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 10%, rgba(var(--theme-red-rgb), .08), transparent 30%),
    radial-gradient(circle at 86% 88%, rgba(91, 93, 116, .08), transparent 28%),
    radial-gradient(var(--theme-red) 0.5px, transparent 0.5px);
  background-size: auto, auto, 24px 24px;
  opacity: .9;
}

.df-login-wrap {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
}

.df-login-brand {
  margin-bottom: 30px;
  text-align: center;
}

.df-auth-logo {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  color: #fff;
  border-radius: 14px;
  background: var(--theme-red);
  box-shadow: 0 16px 34px rgba(var(--theme-red-rgb), .2);
  font-size: 28px;
  font-weight: 900;
}

.df-login-brand h1 {
  margin: 0;
  color: var(--brand-heading, #291716);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}

.df-login-brand p,
.df-login-footer p,
.df-login-footer span {
  color: var(--brand-copy, #5d3f3d);
}

.df-login-brand p {
  margin: 8px 0 0;
  font-size: 14px;
}

.df-login-card {
  display: grid;
  gap: 18px;
  padding: 34px 36px;
  border: 1px solid rgba(var(--theme-red-rgb), .12);
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 28px 70px rgba(var(--theme-red-rgb), .08);
  backdrop-filter: blur(12px);
}

.df-auth-field {
  display: grid;
  gap: 8px;
}

.df-auth-field > span {
  color: var(--brand-copy, #5d3f3d);
  font-size: 13px;
  font-weight: 700;
}

.df-auth-field > div {
  position: relative;
}

.df-auth-field i {
  position: absolute;
  left: 14px;
  top: 50%;
  color: var(--brand-outline, #926e6c);
  font-style: normal;
  transform: translateY(-50%);
}

.df-auth-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 42px;
  color: var(--brand-heading, #291716);
  border: 1px solid var(--brand-red-line-strong);
  border-radius: 8px;
  outline: 0;
  background: #fff;
  font-size: 14px;
}

.df-auth-field input:focus {
  border-color: var(--theme-red);
  box-shadow: 0 0 0 3px rgba(var(--theme-red-rgb), .16);
}

.df-auth-field input::placeholder {
  color: rgba(93, 63, 61, .55);
}

.df-auth-submit,
.df-solid-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--theme-red);
  box-shadow: 0 12px 22px rgba(var(--theme-red-rgb), .18);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.df-auth-submit:hover,
.df-solid-btn:hover {
  color: #fff;
  background: var(--theme-red-dark);
}

.df-auth-submit:active,
.df-solid-btn:active {
  transform: scale(.98);
}

.df-auth-submit:disabled,
.df-solid-btn:disabled {
  opacity: .68;
  cursor: not-allowed;
}

.df-auth-error {
  margin: 0;
  padding: 10px 12px;
  color: var(--theme-red-dark);
  border: 1px solid var(--brand-red-line);
  border-radius: 8px;
  background: var(--theme-red-surface);
  font-size: 13px;
}

.df-auth-switch {
  margin: 6px 0 0;
  color: var(--brand-copy, #5d3f3d);
  text-align: center;
  font-size: 14px;
}

.df-auth-switch button {
  padding: 0;
  color: var(--theme-red);
  border: 0;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.df-login-footer {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-top: 34px;
  text-align: center;
  font-size: 12px;
}

.df-login-footer p,
.df-login-footer span {
  margin: 0;
}

.df-register-design-page {
  display: grid;
  place-items: center;
  padding: 48px 18px;
}

.df-register-shell {
  width: min(1180px, 100%);
  min-height: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(64, 43, 42, .14);
}

.df-register-brand {
  position: relative;
  display: grid;
  align-content: start;
  overflow: hidden;
  padding: 44px 46px;
  color: #fff;
  background: var(--theme-red);
}

.df-register-brand::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}

.df-register-brand a {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.df-register-brand h1 {
  position: relative;
  z-index: 1;
  margin: 54px 0 22px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.04em;
}

.df-register-brand p {
  position: relative;
  z-index: 1;
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  line-height: 1.8;
  font-weight: 700;
}

.df-register-brand-bottom {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.df-register-brand-bottom span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 13px;
  font-weight: 800;
}

.df-register-panel {
  align-self: center;
  padding: 54px 64px;
}

.df-register-panel header h1 {
  margin: 0;
  color: var(--brand-heading, #291716);
  font-size: 34px;
  line-height: 1.25;
  font-weight: 900;
}

.df-register-panel header p {
  margin: 8px 0 28px;
  color: var(--brand-copy, #5d3f3d);
}

.df-register-form {
  display: grid;
  gap: 16px;
}

.df-register-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.df-register-options fieldset,
.df-profile-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--brand-red-line-strong);
  border-radius: 10px;
  background: var(--brand-red-surface);
}

.df-register-options legend,
.df-profile-form legend {
  padding: 0 4px;
  color: var(--brand-copy, #5d3f3d);
  font-size: 13px;
  font-weight: 800;
}

.df-register-options label,
.df-profile-form fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 8px 8px 0 0;
  color: var(--brand-heading-soft, #402b2a);
  font-size: 13px;
}

.df-register-options input,
.df-profile-form input[type="radio"] {
  accent-color: var(--theme-red);
}

.df-account-design-page {
  padding-top: 66px;
}

.df-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  height: 66px;
  border-bottom: 1px solid rgba(244, 214, 211, .72);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 28px rgba(64, 43, 42, .04);
  backdrop-filter: blur(18px);
}

.df-topbar-inner {
  width: min(1280px, calc(100vw - 48px));
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.df-topbar-left,
.df-topbar-actions,
.df-topbar-nav {
  display: flex;
  align-items: center;
}

.df-topbar-left {
  gap: 32px;
  min-width: 0;
}

.df-topbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--theme-red);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.df-topbar-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 7px 12px rgba(var(--theme-red-rgb), .16));
}

.df-topbar-logo span {
  display: inline-flex;
}

.df-topbar-nav {
  gap: 8px;
}

.df-topbar-nav a {
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  color: var(--brand-copy, #5d3f3d);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  transition: color .16s ease, background .16s ease;
}

.df-topbar-nav a:hover,
.df-topbar-nav a.active,
.df-topbar-nav a.router-link-active,
.df-topbar-nav a.router-link-exact-active {
  color: var(--theme-red);
  background: var(--brand-red-surface-2);
}

.df-topbar-actions {
  gap: 14px;
  min-width: 0;
}

.df-topbar-search {
  width: 270px;
  height: 38px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(244, 214, 211, .9);
  border-radius: 12px;
  background: var(--theme-red-surface);
}

.df-topbar-search-compact { display: none; }

.df-topbar-search span {
  color: var(--brand-outline, #926e6c);
  text-align: center;
}

.df-topbar-search input {
  min-width: 0;
  height: 36px;
  padding: 0 12px 0 0;
  color: var(--brand-heading, #291716);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.df-topbar-action-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.df-topbar-action {
  min-width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 4px 9px 5px;
  color: var(--brand-copy, #5d3f3d);
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.df-topbar-action span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  color: var(--theme-red);
  border-radius: 50%;
  background: var(--brand-red-surface-2);
  font-size: 17px;
  line-height: 1;
}

.df-topbar-action em {
  font-style: normal;
  font-size: 13px;
  line-height: 1;
}

.df-topbar-auth-action {
  position: relative;
  min-width: 58px;
}

.df-topbar-auth-status {
  position: absolute;
  top: 1px;
  right: -2px;
  padding: 2px 4px;
  border: 1px solid #ddd4d5;
  border-radius: 999px;
  color: #8b7f81;
  background: #f7f5f5;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.df-topbar-auth-action.is-logged-in .df-topbar-auth-status {
  color: #247246;
  border-color: #c9e5d3;
  background: #edf8f1;
}

.df-topbar-action:hover,
.df-topbar-action.active,
.df-topbar-action.router-link-active,
.df-topbar-action.router-link-exact-active {
  color: var(--theme-red);
  border-color: rgba(var(--theme-red-rgb), .12);
  background: var(--brand-red-soft);
  transform: translateY(-1px);
}

.df-account-footer {
  display: grid;
  gap: 30px;
  margin-top: 70px;
  overflow: hidden;
  padding: 48px 30px 26px;
  color: var(--brand-copy, #5d3f3d);
  border-top: 1px solid rgba(244, 214, 211, .72);
  background: var(--brand-red-surface);
}

.df-footer-inner {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(0, 1.75fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
  justify-content: space-between;
}

.df-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--theme-red);
  font-size: 23px;
  font-weight: 900;
}

.df-footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(var(--theme-red-rgb), .14));
}

.df-footer-logo span {
  display: inline-flex;
}

.df-footer-brand p {
  max-width: 460px;
  margin: 14px 0 0;
  color: var(--brand-muted, #7d5d5a);
  font-size: 14px;
  line-height: 1.8;
}

.df-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.df-footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--theme-red);
  border: 1px solid var(--brand-red-line);
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.df-footer-groups {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  justify-content: space-between;
}

.df-footer-groups section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.df-footer-groups h2 {
  margin: 0 0 4px;
  color: var(--brand-heading, #291716);
  font-size: 16px;
  font-weight: 900;
}

.df-footer-groups a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--brand-muted, #7d5d5a);
  font-size: 15px;
}

.df-footer-groups a:hover,
.df-footer-social a:hover {
  color: var(--theme-red);
}

.df-footer-copy {
  margin: 0;
  padding-top: 22px;
  color: #a28582;
  border-top: 1px solid rgba(244, 214, 211, .72);
  text-align: center;
  font-size: 12px;
}

.df-account-footer nav a {
  display: inline-flex;
  align-items: center;
}

.df-account-footer a:hover {
  color: var(--theme-red);
}

.df-shelf-main,
.df-history-main,
.df-profile-main {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  padding-top: 42px;
  min-height: calc(100vh - 244px);
}

.df-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.df-list-head h1 {
  margin: 0 0 12px;
  color: var(--brand-heading, #291716);
  font-size: 32px;
  line-height: 1.25;
  font-weight: 900;
}

.df-list-head p {
  margin: 0;
  color: var(--brand-copy, #5d3f3d);
}

.df-list-head nav {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--brand-red-line);
}

.df-list-head nav span {
  position: relative;
  padding-bottom: 12px;
  color: var(--brand-copy, #5d3f3d);
  font-size: 14px;
  font-weight: 800;
}

.df-list-head nav span.active {
  color: var(--theme-red);
}

.df-list-head nav span.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--theme-red);
}

.df-edit-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  color: var(--brand-copy, #5d3f3d);
  border: 0;
  border-radius: 12px;
  background: var(--brand-red-surface-3);
  font-weight: 800;
  cursor: pointer;
}

.df-edit-btn:hover {
  color: var(--theme-red);
  background: var(--brand-red-line);
}

.df-shelf-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.df-shelf-grid .pager,
.df-history-groups .pager {
  grid-column: 1 / -1;
}

.df-shelf-card {
  min-width: 0;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(64, 43, 42, .04);
  transition: transform .22s ease, box-shadow .22s ease;
}

.df-shelf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(64, 43, 42, .09);
}

.df-shelf-cover-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 10px;
}

.df-shelf-cover {
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--brand-red-line);
}

.df-shelf-cover img,
.df-history-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.df-cover-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  padding: 3px 7px;
  color: #fff;
  border-radius: 5px;
  background: var(--theme-red);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-cover-delete {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  border: 0;
  background: rgba(0, 0, 0, .46);
  font-weight: 900;
  cursor: pointer;
}

.df-shelf-card h2 {
  margin: 0 0 5px;
  overflow: hidden;
  color: var(--brand-heading, #291716);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-shelf-card h2 a:hover {
  color: var(--theme-red);
}

.df-shelf-card p {
  margin: 0;
  overflow: hidden;
  color: var(--brand-copy, #5d3f3d);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-shelf-progress {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  color: var(--theme-red);
  font-size: 12px;
  font-weight: 800;
}

.df-state-card {
  display: grid;
  justify-items: start;
  gap: 12px;
  width: min(520px, 100%);
  padding: 34px;
  border: 1px solid var(--brand-red-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(64, 43, 42, .05);
}

.df-state-card h2,
.df-state-card p {
  margin: 0;
}

.df-state-card p {
  color: var(--brand-copy, #5d3f3d);
}

.df-history-main {
  width: min(1180px, calc(100vw - 48px));
}

.df-history-groups {
  display: grid;
  gap: 34px;
}

.df-history-section {
  display: grid;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--brand-red-line);
}

.df-history-section:first-child {
  border-top: 0;
}

.df-history-section h2 {
  margin: 0;
  color: var(--theme-red);
  font-size: 16px;
  font-weight: 900;
}

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

.df-history-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(64, 43, 42, .05);
}

.df-history-cover {
  display: block;
  overflow: hidden;
  width: 96px;
  aspect-ratio: 3 / 4;
  border-radius: 7px;
  background: var(--brand-red-line);
}

.df-history-card h3 {
  margin: 0 0 6px;
  overflow: hidden;
  color: var(--brand-heading, #291716);
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-history-card p {
  margin: 0 0 4px;
  overflow: hidden;
  color: var(--brand-copy, #5d3f3d);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-history-card strong {
  color: var(--theme-red);
}

.df-history-card small {
  display: block;
  overflow: hidden;
  color: var(--brand-outline, #926e6c);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-history-read {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  color: #fff;
  border-radius: 6px;
  background: var(--theme-red);
  font-size: 13px;
  font-weight: 900;
}

.df-history-read:hover {
  color: #fff;
  background: var(--theme-red-dark);
}

.df-profile-main {
  width: min(1180px, calc(100vw - 48px));
}

.df-profile-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
}

.df-profile-left,
.df-profile-right {
  display: grid;
  align-content: start;
  gap: 24px;
}

.df-profile-card,
.df-profile-mini-card,
.df-profile-menu-card,
.df-profile-form-card {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(64, 43, 42, .05);
}

.df-profile-card {
  display: grid;
  justify-items: center;
  padding: 34px 28px 28px;
  text-align: center;
}

.df-profile-avatar {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  border: 5px solid var(--brand-red-surface-3);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, var(--brand-red-line-strong) 0 18%, transparent 19%),
    linear-gradient(135deg, var(--theme-red), var(--brand-red-strong));
  box-shadow: 0 14px 30px rgba(var(--theme-red-rgb), .2);
  font-size: 44px;
  font-weight: 900;
}

.df-profile-card h1 {
  margin: 0;
  color: var(--brand-heading, #291716);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 900;
}

.df-profile-card p {
  margin: 6px 0 16px;
  color: var(--brand-copy, #5d3f3d);
  font-size: 13px;
}

.df-profile-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.df-profile-badges span {
  padding: 5px 10px;
  color: #fff;
  border-radius: 999px;
  background: var(--theme-red);
  font-size: 11px;
  font-weight: 900;
}

.df-profile-badges span + span {
  color: var(--brand-copy, #5d3f3d);
  background: #edf2f4;
}

.df-profile-stats {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--brand-red-line);
}

.df-profile-stats div {
  display: grid;
  gap: 6px;
}

.df-profile-stats small,
.df-profile-mini-card small {
  color: var(--brand-outline, #926e6c);
  font-size: 12px;
}

.df-profile-stats strong {
  color: var(--theme-red);
  font-size: 20px;
}

.df-profile-mini-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: var(--brand-red-surface-3);
}

.df-profile-mini-card strong {
  display: block;
  margin-top: 6px;
  color: var(--theme-red);
  font-size: 20px;
}

.df-profile-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.df-profile-menu-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 20px;
  color: var(--brand-heading, #291716);
  transition: transform .2s ease, box-shadow .2s ease;
}

.df-profile-menu-card:hover {
  color: var(--brand-heading, #291716);
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(64, 43, 42, .09);
}

.df-profile-menu-card > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: var(--theme-red);
  border-radius: 12px;
  background: var(--brand-red-surface-3);
  font-size: 24px;
}

.df-profile-menu-card.active > span,
.df-profile-menu-card:hover > span {
  color: #fff;
  background: var(--theme-red);
}

.df-profile-menu-card strong,
.df-profile-menu-card small {
  display: block;
}

.df-profile-menu-card strong {
  color: var(--brand-heading, #291716);
  font-size: 16px;
}

.df-profile-menu-card small {
  margin-top: 4px;
  color: var(--brand-copy, #5d3f3d);
}

.df-profile-menu-card i {
  color: var(--brand-outline, #926e6c);
  font-style: normal;
  font-size: 22px;
}

.df-profile-form-card {
  padding: 26px;
}

.df-profile-form-card header {
  margin-bottom: 22px;
}

.df-profile-form-card h2 {
  margin: 0;
  color: var(--brand-heading, #291716);
  font-size: 24px;
}

.df-profile-form-card p {
  margin: 8px 0 0;
  color: var(--brand-copy, #5d3f3d);
}

.df-profile-form {
  display: grid;
  gap: 16px;
}

.df-profile-form > label {
  display: grid;
  gap: 8px;
}

.df-profile-form > label span {
  color: var(--brand-copy, #5d3f3d);
  font-size: 13px;
  font-weight: 800;
}

.df-profile-form input:not([type="radio"]) {
  height: 44px;
  padding: 0 13px;
  color: var(--brand-heading, #291716);
  border: 1px solid var(--brand-red-line-strong);
  border-radius: 8px;
  outline: 0;
  background: #fff;
}

.df-profile-form input:not([type="radio"]):focus {
  border-color: var(--theme-red);
  box-shadow: 0 0 0 3px rgba(var(--theme-red-rgb), .14);
}

.df-profile-form input:disabled {
  color: var(--brand-outline, #926e6c);
  background: var(--brand-red-surface-2);
}

.df-profile-logout {
  min-height: 42px;
  color: var(--theme-red);
  border: 1px solid var(--theme-red);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.df-profile-logout:hover {
  color: #fff;
  background: var(--theme-red);
}

.df-profile-logout:active {
  transform: scale(.98);
}

.df-profile-logout:disabled {
  opacity: .68;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .df-shelf-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .df-profile-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .df-register-shell {
    grid-template-columns: 1fr;
  }

  .df-register-brand {
    min-height: 320px;
  }

  .df-register-panel {
    padding: 34px 24px;
  }

  .df-topbar-inner {
    width: calc(100vw - 32px);
    gap: 14px;
  }

  .df-topbar-left {
    gap: 14px;
  }

  .df-topbar-nav {
    gap: 4px;
  }

  .df-topbar-nav a {
    padding: 0 8px;
  }

  .df-topbar-search {
    display: none;
  }

  .df-topbar-action-links {
    gap: 4px;
  }

  .df-topbar-action {
    min-width: 38px;
    padding-inline: 5px;
  }

  .df-account-footer {
    padding-top: 36px;
  }

  .df-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .df-footer-groups {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .df-account-design-page {
    padding-top: 96px;
  }

  .df-topbar {
    height: 96px;
  }

  .df-topbar-inner {
    height: 96px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    gap: 8px 12px;
  }

  .df-topbar-left {
    display: contents;
  }

  .df-topbar-logo {
    grid-column: 1;
    font-size: 16px;
  }

  .df-topbar-logo img {
    width: 30px;
    height: 30px;
  }

  .df-topbar-actions {
    grid-column: 2;
    justify-self: end;
  }

  .df-topbar-action-links {
    gap: 2px;
  }

  .df-topbar-action {
    min-width: 34px;
    height: 40px;
    border-radius: 12px;
  }

  .df-topbar-action span {
    width: 20px;
    height: 20px;
    font-size: 13px;
  }

  .df-topbar-action em {
    font-size: 10px;
  }

  .df-topbar-nav {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: space-between;
    padding: 4px;
    border-radius: 999px;
    background: var(--theme-red-surface);
  }

  .df-topbar-nav a {
    flex: 1;
    justify-content: center;
    min-height: 30px;
    padding: 0 6px;
  }

  .df-login-card {
    padding: 26px 20px;
  }

  .df-register-design-page {
    padding: 18px 12px;
  }

  .df-register-brand {
    padding: 28px 22px;
  }

  .df-register-brand h1 {
    margin-top: 32px;
    font-size: 34px;
  }

  .df-register-options,
  .df-profile-menu {
    grid-template-columns: 1fr;
  }

  .df-topbar-inner,
  .df-shelf-main,
  .df-history-main,
  .df-profile-main {
    width: calc(100vw - 28px);
  }

  .df-topbar-search {
    display: none;
  }

  .df-footer-groups {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .df-footer-groups section {
    gap: 8px;
  }

  .df-account-footer {
    gap: 24px;
    margin-top: 48px;
    padding-bottom: 22px;
  }

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

  .df-shelf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .df-history-grid {
    grid-template-columns: 1fr;
  }

  .df-history-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .df-history-cover {
    width: 82px;
  }

  .df-profile-card,
  .df-profile-form-card {
    padding: 22px 16px;
  }
}

/* Home layout optimized from Stitch. */
.home-layout-optimized {
  --home-surface: var(--brand-red-surface);
  --home-faint: #f8f9fa;
  --home-card: #fff;
  --home-text: var(--brand-heading, #291716);
  --home-muted: var(--brand-muted, #7d5d5a);
  --home-line: #f0d5d2;
  --home-red: var(--theme-red);
  --home-slate: #2b2d42;
  display: block;
  padding-bottom: 48px;
  color: var(--home-text);
  background: var(--home-surface);
}

.home-opt-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #111;
}

.home-opt-hero-media {
  position: absolute;
  inset: 0;
  display: block;
  background: #151117;
}

.home-opt-hero-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.home-opt-hero-media .home-opt-hero-backdrop {
  object-fit: cover;
  filter: blur(24px) saturate(.86);
  opacity: .62;
  transform: scale(1.08);
}

.home-opt-hero-media .home-opt-hero-artwork {
  object-fit: contain;
  object-position: right center;
}

.home-opt-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 18, 22, .88) 0%, rgba(20, 18, 22, .68) 34%, rgba(20, 18, 22, .18) 62%, rgba(20, 18, 22, .02) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .03), rgba(0, 0, 0, .16));
}

.home-opt-hero-inner,
.home-opt-section,
.home-opt-rank-inner,
.home-opt-categories-inner,
.home-opt-cta {
  width: min(1280px, calc(100% - 96px));
  margin: 0 auto;
}

.home-opt-hero-inner {
  position: relative;
  z-index: 1;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.home-opt-hero-content {
  width: min(640px, 100%);
  color: #fff;
}

.home-opt-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  margin-bottom: 18px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--home-red);
  font-size: 13px;
  font-weight: 700;
}

.home-opt-hero h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

.home-opt-hero p {
  display: -webkit-box;
  max-width: 590px;
  margin: 20px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .84);
  font-size: 17px;
  line-height: 1.9;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-opt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.home-opt-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 220px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-opt-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
}

.home-opt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.home-opt-button:hover {
  transform: translateY(-2px);
}

.home-opt-button.primary {
  color: #fff;
  background: var(--home-red);
  box-shadow: 0 18px 36px rgba(var(--theme-red-rgb), .24);
}

.home-opt-button.primary:hover {
  color: #fff;
  background: var(--theme-red-dark);
}

.home-opt-button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.home-opt-hero-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.home-opt-hero:hover .home-opt-hero-controls {
  opacity: 1;
}

.home-opt-hero-controls button {
  position: relative;
  width: 54px;
  height: 94px;
  border: 0;
  background: rgba(0, 0, 0, .28);
  cursor: pointer;
  pointer-events: auto;
}

.home-opt-hero-controls button:hover {
  background: rgba(0, 0, 0, .46);
}

.home-opt-hero-controls button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
}

.home-opt-hero-controls .prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.home-opt-hero-controls .next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.home-opt-hero-dots {
  position: absolute;
  right: max(48px, calc((100% - 1280px) / 2 + 48px));
  bottom: 42px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.home-opt-hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  cursor: pointer;
  transition: width .18s ease, background .18s ease;
}

.home-opt-hero-dots button.active {
  width: 24px;
  background: var(--home-red);
}

.home-opt-categories {
  border-bottom: 1px solid rgba(146, 110, 108, .18);
  background: var(--brand-red-surface-2);
}

.home-opt-categories-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
}

.home-opt-categories strong {
  flex: 0 0 auto;
  color: var(--home-text);
  font-size: 14px;
}

.home-opt-categories nav {
  display: flex;
  min-width: 0;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.home-opt-categories nav::-webkit-scrollbar {
  display: none;
}

.home-opt-categories a {
  flex: 0 0 auto;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid rgba(146, 110, 108, .18);
  border-radius: 999px;
  color: var(--home-text);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.home-opt-categories a:hover,
.home-opt-categories a.all {
  color: #fff;
  border-color: var(--home-red);
  background: var(--home-red);
}

.home-opt-section {
  padding: 48px 0;
  background: transparent;
}

.home-opt-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.home-opt-section-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--home-text);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}

.home-opt-section-head p {
  margin: 7px 0 0;
  color: var(--home-muted);
  font-size: 14px;
}

.home-opt-section-head a {
  flex: 0 0 auto;
  color: var(--home-red);
  font-size: 14px;
  font-weight: 800;
}

.home-opt-title-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-red);
  font-family: "Material Symbols Outlined";
  font-size: 26px;
  line-height: 1;
  font-style: normal;
  font-weight: normal;
  font-feature-settings: "liga";
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.home-opt-title-icon.fire::before {
  content: "local_fire_department";
}

.home-opt-title-icon::before {
  display: block;
  font-family: "Material Symbols Outlined";
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

.home-opt-title-icon.rank::before {
  content: "";
  width: 19px;
  height: 19px;
  background:
    linear-gradient(currentColor 0 0) 2px 10px / 3px 7px no-repeat,
    linear-gradient(currentColor 0 0) 8px 5px / 3px 12px no-repeat,
    linear-gradient(currentColor 0 0) 14px 8px / 3px 9px no-repeat,
    linear-gradient(currentColor 0 0) 0 17px / 19px 2px no-repeat;
}

.home-opt-title-icon.update::before {
  content: "update";
}

.home-opt-title-img {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.home-opt-poster-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.home-opt-stats {
  display: grid;
  width: min(100% - 48px, 1280px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 26px auto 0;
  padding: 18px 0;
  border-top: 1px solid #eee4e3;
  border-bottom: 1px solid #eee4e3;
}

.home-opt-stats div { display: grid; justify-items: center; gap: 4px; }
.home-opt-stats div + div { border-left: 1px solid #eee4e3; }
.home-opt-stats strong { color: var(--home-text); font-size: 22px; line-height: 1.1; }
.home-opt-stats span { color: var(--home-muted); font-size: 12px; }

.home-opt-poster-card,
.home-opt-rail-card {
  min-width: 0;
}

.home-opt-poster-cover,
.home-opt-rail-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #f3eeee;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.home-opt-poster-cover {
  aspect-ratio: 3 / 4;
}

.home-opt-poster-cover img,
.home-opt-rail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.home-opt-poster-card:hover img,
.home-opt-rail-card:hover img {
  transform: scale(1.035);
}

.home-opt-poster-cover span {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--home-red);
  font-size: 12px;
  font-weight: 800;
}

.home-opt-poster-cover em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 10px 10px;
  overflow: hidden;
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .74));
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-opt-poster-card h3,
.home-opt-rail-card h3 {
  margin: 12px 0 0;
  overflow: hidden;
  color: var(--home-text);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-opt-poster-card h3 a,
.home-opt-rail-card h3 a {
  color: inherit;
}

.home-opt-card-meta {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 7px 0 0;
  color: #bbb;
}

.home-opt-card-meta span,
.home-opt-card-tags,
.home-opt-rail-card p {
  color: var(--home-muted);
  font-size: 12px;
}

.home-opt-card-meta span {
  margin-left: 0;
}

.home-opt-heat { display: inline-flex; align-items: center; gap: 3px; color: var(--home-red); }
.home-opt-card-meta .home-opt-heat { color: var(--home-red); }
.home-opt-heat::before { flex: 0 0 auto; font-family: "Material Symbols Outlined"; font-size: 15px; font-feature-settings: "liga"; font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 18; line-height: 1; content: "local_fire_department"; }

.home-opt-editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-opt-editor-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #eee4e3;
  border-radius: 8px;
  background: #fff;
}

.home-opt-editor-cover { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 6px; background: #f3eeee; }
.home-opt-editor-cover img { width: 100%; height: 100%; object-fit: cover; }
.home-opt-editor-card span { color: var(--home-red); font-size: 11px; font-weight: 800; }
.home-opt-editor-card h3 { margin: 6px 0 0; overflow: hidden; font-size: 15px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.home-opt-editor-card h3 a { color: var(--home-text); }
.home-opt-editor-card p { margin: 7px 0 0; overflow: hidden; color: var(--home-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.home-opt-editor-card small { margin-top: 8px; font-size: 11px; }

.home-opt-card-tags,
.home-opt-rail-card p {
  margin: 6px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-opt-rank-band {
  padding: 56px 0;
  border-top: 1px solid rgba(146, 110, 108, .08);
  border-bottom: 1px solid rgba(146, 110, 108, .08);
  background: var(--home-faint);
}

.home-opt-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-opt-rank-card {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(146, 110, 108, .12);
  border-radius: 16px;
  background: var(--home-card);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.home-opt-rank-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.home-opt-rank-card h3 {
  margin: 0;
  color: var(--home-slate);
  font-size: 20px;
  font-weight: 900;
}

.home-opt-rank-card header a {
  color: var(--home-red);
  font-size: 13px;
  font-weight: 800;
}

.home-opt-rank-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-opt-rank-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 34px;
  color: var(--home-text);
}

.home-opt-rank-list .featured a {
  grid-template-columns: 30px 92px minmax(0, 1fr);
  align-items: start;
}

.home-opt-rank-no {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #6f6f6f;
  background: #f1f1f1;
  font-size: 13px;
  font-weight: 900;
}

.home-opt-rank-list li:nth-child(-n + 3) .home-opt-rank-no {
  color: #fff;
  background: var(--home-red);
}

.home-opt-rank-list img {
  display: block;
  width: 92px;
  height: 122.67px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  background: #f4eeee;
}

.home-opt-rank-info {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.home-opt-rank-info strong {
  overflow: hidden;
  color: var(--home-text);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-opt-rank-info em,
.home-opt-rank-info small {
  overflow: hidden;
  color: var(--home-muted);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-opt-rank-info small {
  color: var(--home-red);
}

.home-opt-update-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-opt-update-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(146, 110, 108, .12);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
  transition: transform .18s ease, box-shadow .18s ease;
}

.home-opt-update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.home-opt-update-cover {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f4eeee;
}

.home-opt-update-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.home-opt-update-body {
  display: grid;
  gap: 12px;
  padding: 15px;
}

.home-opt-update-body h3 {
  margin: 0;
  overflow: hidden;
  color: var(--home-text);
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-opt-update-body h3 a {
  color: inherit;
}

.home-opt-update-body p {
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--home-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-opt-update-body span {
  color: var(--home-muted);
  font-size: 12px;
}

.home-opt-update-body > a {
  width: fit-content;
  color: var(--home-red);
  font-size: 13px;
  font-weight: 900;
}

.home-opt-rail {
  overflow: hidden;
}

.home-opt-rail-list {
  display: grid;
  grid-auto-columns: minmax(150px, 1fr);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-color: var(--home-red) #f3e2e0;
}

.home-opt-rail-cover {
  aspect-ratio: 3 / 4;
}

.home-opt-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 16px;
  padding: 38px 44px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--home-red), var(--brand-red-dark));
}

.home-opt-cta::before,
.home-opt-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.home-opt-cta::before {
  right: -74px;
  top: -78px;
  width: 190px;
  height: 190px;
}

.home-opt-cta::after {
  right: 170px;
  bottom: -92px;
  width: 160px;
  height: 160px;
}

.home-opt-cta > * {
  position: relative;
  z-index: 1;
}

.home-opt-cta span {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 800;
}

.home-opt-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
}

.home-opt-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
}

.home-opt-cta a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 22px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--home-red);
  background: #fff;
  font-weight: 900;
}

.home-opt-cta img {
  flex: 0 0 auto;
  width: 118px;
  height: 118px;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

@media (max-width: 1100px) {
  .home-opt-poster-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-opt-rank-grid,
  .home-opt-update-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .home-opt-hero-inner,
  .home-opt-section,
  .home-opt-rank-inner,
  .home-opt-categories-inner,
  .home-opt-stats,
  .home-opt-cta {
    width: min(100% - 32px, 1280px);
  }

  .home-opt-hero,
  .home-opt-hero-inner {
    min-height: 430px;
  }

  .home-opt-hero h2 {
    font-size: 32px;
  }

  .home-opt-hero p {
    font-size: 15px;
    -webkit-line-clamp: 3;
  }

  .home-opt-categories-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-opt-categories nav {
    width: 100%;
    max-width: 100%;
  }

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

  .home-opt-stats div {
    padding: 10px 4px;
  }

  .home-opt-stats div + div {
    border-left: 0;
  }

  .home-opt-stats div:nth-child(even) {
    border-left: 1px solid #eee4e3;
  }

  .home-opt-stats div:nth-child(n + 3) {
    border-top: 1px solid #eee4e3;
  }

  .home-opt-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-opt-poster-grid,
  .home-opt-rank-grid,
  .home-opt-update-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-opt-editor-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-opt-rank-list .featured a {
    grid-template-columns: 30px 74px minmax(0, 1fr);
  }

  .home-opt-rank-list img {
    width: 74px;
    height: 98.67px;
  }

  .home-opt-cta {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
    padding: 28px;
  }
}

/* Desktop reader remains fluid until the dedicated mobile reader takes over. */
.reader-v2 {
  width: 100%;
  min-width: 0;
  padding-top: 56px;
}

.reader-top-v2 {
  grid-template-columns: 280px minmax(0, 1fr) 330px;
  height: 56px;
  padding: 0 28px;
}

.reader-brand {
  justify-content: flex-start;
}

.reader-brand a:first-child {
  font-size: 28px;
}

.reader-crumb-v2 {
  justify-content: center;
}

.reader-top-tools {
  display: flex;
}

.reader-like-sidebar {
  display: block;
}

.reader-page-wrap {
  width: 742px;
}

.reader-float-tools {
  top: 50%;
  left: auto;
  right: 0;
  bottom: auto;
  grid-template-columns: 1fr;
  width: 68px;
  padding: 12px 0;
  border-radius: 16px 0 0 16px;
  transform: translateY(-50%);
}

.reader-float-tools a,
.reader-float-tools button,
.reader-float-tools > span {
  min-height: 56px;
}

.reader-catalog-panel {
  top: 50%;
  left: auto;
  right: 82px;
  width: 390px;
  max-width: none;
  height: min(835px, calc(100vh - 92px));
  transform: translateY(-50%);
}

.reader-bottom-v2 {
  flex-wrap: nowrap;
  padding-bottom: 60px;
}

@media (max-width: 720px) {
  .rank-kk-page.site-female .rank-detail-list {
    grid-template-columns: 1fr;
  }

  .rank-kk-page.site-female .rank-kk-banner-title {
    min-width: 0;
    width: min(86vw, 360px);
  }

  .category-page.site-female .category-filter-box {
    padding: 20px 14px;
    border-radius: 12px;
  }
}

html,
body,
#__nuxt,
.page-shell {
  color: var(--theme-text);
  background: var(--theme-bg);
}

body {
  color: var(--theme-text);
  background: var(--theme-bg) !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  background: var(--theme-bg) !important;
}

a:hover {
  color: var(--theme-red);
}

.site-top,
.masthead,
.topbar,
.portal-home,
.main,
.content-band,
.filter-panel,
.portal-section,
.side-box,
.home-rank-panel,
.auth-panel {
  color: var(--theme-text);
  background: var(--theme-bg);
}

.topbar {
  color: var(--theme-muted);
  background: var(--theme-soft);
}

.main-nav {
  color: #fff;
  background: var(--theme-red);
}

.main-nav a:hover,
.main-nav a.router-link-active,
.main-nav a.router-link-exact-active {
  color: #fff;
  background: var(--theme-red-dark);
}

.site-header,
.hero,
.page-hero,
.detail-hero,
.reader,
.reader-top {
  color: var(--theme-text);
  background: var(--theme-bg) !important;
  border-color: var(--theme-line);
}

.site-header a,
.hero a,
.page-hero a,
.detail-hero a,
.reader a,
.reader-top a {
  color: var(--theme-text);
}

.hero-copy,
.detail-hero,
.page-hero,
.crumb {
  text-shadow: none;
}

.hero-copy h1,
.detail-hero h1,
.page-hero h1,
.reader-top h1 {
  color: var(--theme-text);
}

.hero-copy p,
.detail-hero p,
.page-hero p,
.crumb,
.reader-top {
  color: var(--theme-muted);
}

.btn,
.reader-actions a,
.reader-actions span {
  color: var(--theme-red);
  border-color: var(--theme-red);
  background: #fff;
}

.btn.primary,
.reader-actions .primary,
.search button {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.chip.on,
.filter-panel .chip.on,
.tabs a.router-link-active,
.tabs a.router-link-exact-active,
.tabs a:hover {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.chip:hover,
.filter-panel .chip:hover {
  color: var(--theme-red);
  border-color: var(--theme-red);
  background: var(--brand-red-soft);
}

.tag-strip strong,
.rank,
.rank-list b,
.mini-rank li:nth-child(-n+3) b,
.text-rank li:nth-child(-n+3) b {
  color: #fff;
  background: var(--theme-red);
}

.rank-list b,
.mini-rank b,
.text-rank b {
  color: #fff;
}

.status {
  color: #fff;
  background: rgba(var(--theme-red-rgb), .9);
}

.cover-wrap,
.hero-art,
.feature-cover,
.reader-images img {
  background: #f1f1f1;
}

.footer {
  color: var(--theme-muted);
  background: var(--theme-bg) !important;
  border-top: 1px solid var(--theme-line);
}

.footer strong {
  color: var(--theme-red);
}

.footer a {
  color: var(--theme-text);
}

.footer a:hover {
  color: var(--theme-red);
}

/* Header layout matching comic portal navigation. */
.site-top .masthead {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  padding: 0 24px;
}

.site-top .main-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  color: var(--theme-text);
  background: transparent;
  overflow: visible;
}

.site-top .main-nav a {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  color: var(--theme-text);
  font-size: 17px;
  font-weight: 400;
}

.site-top .main-nav a:hover,
.site-top .main-nav a.router-link-active,
.site-top .main-nav a.router-link-exact-active {
  color: var(--theme-red);
  background: transparent;
}

.search-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 14px;
  background: #fff;
}

.search-row .search,
.site-top .search {
  max-width: 560px;
  margin: 0 auto;
  height: 42px;
  display: grid;
  grid-template-columns: 1fr 78px;
  border: 2px solid var(--theme-red);
  border-radius: 0;
  background: #fff;
}

.search-row .search input {
  min-width: 0;
  color: var(--theme-text);
  background: #fff;
}

.search-row .search input::placeholder {
  color: #999;
}

.category-nav {
  max-width: var(--max);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
  padding: 0 24px;
  border-top: 0;
  border-bottom: 0;
  background: #fff;
  overflow-x: auto;
}

.category-nav a {
  min-width: max-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #333;
  font-size: 14px;
  font-weight: 800;
}

.category-nav a:hover,
.category-nav a.router-link-active,
.category-nav a.router-link-exact-active,
.category-nav a.on {
  color: #fff;
  background: var(--theme-red);
}

.category-nav .all-category-link {
  margin-left: auto;
  gap: 8px;
  color: #1d2330;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 400;
}

.category-nav .all-category-link:hover {
  color: var(--theme-red);
  background: transparent;
}

.all-category-icon {
  width: 18px;
  height: 18px;
  position: relative;
  display: inline-block;
  color: #1d2330;
}

.all-category-icon::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 5px;
  height: 5px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow:
    10px 0 0 -2px #fff,
    10px 0 0 0 currentColor,
    0 10px 0 -2px #fff,
    0 10px 0 0 currentColor,
    10px 10px 0 -2px #fff,
    10px 10px 0 0 currentColor;
}

@media (max-width: 980px) {
  .site-top .masthead {
    min-height: auto;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 16px 18px 8px;
  }

  .site-top .main-nav,
  .site-top .main-nav a {
    min-height: 44px;
  }

  .search-row {
    padding: 0 18px 12px;
  }

  .category-nav {
    padding: 0 18px;
  }
}

@media (max-width: 640px) {
  .site-top .masthead {
    padding: 14px 14px 6px;
  }

  .site-top .main-nav {
    width: 100%;
  }

  .site-top .main-nav a {
    min-height: 38px;
    padding: 0 16px;
    font-size: 15px;
  }

  .search-row {
    padding: 0 14px 10px;
  }

  .search-row .search,
  .site-top .search {
    max-width: none;
  }

  .category-nav {
    padding: 0 14px;
  }
}

.top-page {
  background: #f8f7f5;
}

.top-hero {
  position: relative;
  min-height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 30px;
  color: #fff;
  background:
    radial-gradient(780px 220px at 18% 108%, #ffe600 0 26%, rgba(255, 230, 0, 0) 27%),
    radial-gradient(760px 220px at 82% 116%, #ffe600 0 30%, rgba(255, 230, 0, 0) 31%),
    linear-gradient(105deg, var(--brand-red-strong) 0%, var(--brand-red) 38%, #ff6b08 76%, #ffcf00 100%);
}

.top-hero::before,
.top-hero::after {
  content: "";
  position: absolute;
  left: -6%;
  width: 112%;
  pointer-events: none;
}

.top-hero::before {
  bottom: -56px;
  height: 140px;
  border-radius: 50% 50% 0 0 / 78% 78% 0 0;
  background: linear-gradient(90deg, #ffb038, #ff8c08 52%, #ffd400);
  filter: blur(.2px);
}

.top-hero::after {
  top: 38px;
  left: 23%;
  width: 58%;
  height: 110px;
  border-radius: 52% 48% 48% 52% / 62% 58% 42% 38%;
  background: rgba(255, 102, 0, .28);
}

.top-hero-title-card {
  position: relative;
  z-index: 1;
  min-width: 420px;
  min-height: 146px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 48px;
  border-radius: 9px;
  background: rgba(255, 129, 17, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.top-hero-title-card h1 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.top-title-line {
  width: 62px;
  height: 3px;
  background: #fff;
}

.top-medal {
  position: absolute;
  top: 58px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  transform: rotate(45deg);
  background: #fff;
  box-shadow: 0 0 0 4px #ffc400, 0 4px 0 rgba(0, 0, 0, .16);
}

.top-medal.left { left: 34px; }
.top-medal.right { right: 34px; }

.top-medal::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -72px;
  width: 12px;
  height: 76px;
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  background: #2a8cff;
  transform: rotate(-45deg);
}

.top-medal i {
  width: 34px;
  height: 34px;
  display: block;
  transform: rotate(-45deg);
  background: #075fff;
  clip-path: polygon(50% 0%, 62% 32%, 98% 35%, 70% 57%, 79% 92%, 50% 72%, 21% 92%, 30% 57%, 2% 35%, 38% 32%);
  box-shadow: inset 0 0 0 7px #ffe000;
}

.top-tabs {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 30px;
  border-bottom: 1px solid #e7e1da;
  background: #fff;
}

.top-tab-left,
.top-tab-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.top-tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  color: #333;
  border: 1px solid #ebe5df;
  background: #f7f4f0;
  font-size: 14px;
}

.top-tabs a.active,
.top-tabs a:hover {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.top-tabs a span {
  font-size: 13px;
}

.top-rank-main {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 250px;
  gap: 18px;
  padding: 16px 30px 40px;
  background: #f8f7f5;
}

.top-king-card,
.top-rank-table,
.top-side-card {
  border: 1px solid #e7e1da;
  background: #fff;
}

.top-king-card {
  padding: 14px;
  align-self: start;
}

.top-king-cover-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eee;
}

.top-king-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.top-rank-medal {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--theme-red);
  font-size: 22px;
  font-weight: 900;
}

.top-king-card h2 {
  margin: 12px 0 8px;
  color: #111;
  font-size: 22px;
  line-height: 1.25;
}

.top-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.top-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #555;
  border: 1px solid #eee5dd;
  background: #faf8f5;
  font-size: 12px;
}

.top-pill:hover {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.top-king-card p {
  margin: 0;
  color: #626b76;
  line-height: 1.8;
  font-size: 13px;
}

.top-king-chapter {
  margin-top: 12px;
  color: #555;
  font-size: 13px;
}

.top-king-chapter a {
  color: var(--theme-red);
}

.top-read-btn {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  color: #fff;
  background: var(--theme-red);
  font-weight: 900;
}

.top-rank-table {
  min-width: 0;
  padding: 14px;
}

.top-section-title {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--theme-red);
  color: #111;
  font-size: 22px;
}

.top-section-title span {
  color: var(--theme-red);
}

.top-table-head,
.top-table-row {
  display: grid;
  grid-template-columns: 48px minmax(260px, 1fr) minmax(130px, .7fr) minmax(110px, .58fr) 60px;
  align-items: center;
  gap: 12px;
}

.top-table-head {
  min-height: 34px;
  color: #768091;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.top-table-row {
  min-height: 86px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.top-rank-num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #aaa;
  font-weight: 900;
}

.top-table-row:nth-of-type(-n+4) .top-rank-num {
  background: var(--theme-red);
}

.top-comic-cell {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.top-comic-cell img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  background: #eee;
}

.top-comic-cell b,
.top-comic-cell span span,
.top-table-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-comic-cell b {
  color: #222;
  font-size: 15px;
}

.top-comic-cell span span {
  margin-top: 6px;
  color: #78808b;
  font-size: 12px;
}

.top-table-row small {
  color: #596270;
  font-size: 12px;
}

.top-hot {
  color: var(--theme-red);
  font-weight: 900;
  text-align: right;
}

.top-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.top-side-card {
  padding: 14px;
}

.top-side-card h2 {
  margin: 0 0 12px;
  color: #222;
  font-size: 19px;
}

.top-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.top-topic-grid a {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  border: 1px solid #eee5dd;
  background: #faf8f5;
  font-size: 13px;
}

.top-topic-grid a:hover {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.top-download-card p {
  margin: 0 0 12px;
  color: #737b86;
  line-height: 1.7;
  font-size: 13px;
}

.top-download-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-download-title span {
  color: var(--theme-red);
}

.top-app-qr {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: #bbb;
  border: 1px dashed #ddd;
  background: #fafafa;
}

.top-store-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.top-store-buttons a {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1f2530;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .top-rank-main {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .top-side {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .top-hero,
  .top-tabs,
  .top-rank-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .top-tabs {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .top-rank-main,
  .top-side {
    grid-template-columns: 1fr;
  }

  .top-table-head {
    display: none;
  }

  .top-table-row {
    grid-template-columns: 38px minmax(0, 1fr) 54px;
  }

  .top-table-row > a:nth-of-type(2),
  .top-table-row > a:nth-of-type(3) {
    display: none;
  }

  .top-hot {
    text-align: right;
  }

  .top-hero {
    min-height: 150px;
  }

  .top-hero-title-card {
    min-width: 0;
    width: min(92vw, 430px);
    min-height: 104px;
    gap: 10px;
    padding: 0 42px;
  }

  .top-hero-title-card h1 {
    font-size: 36px;
  }

  .top-title-line {
    width: 34px;
  }

  .top-medal {
    top: 40px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .top-medal.left { left: 18px; }
  .top-medal.right { right: 18px; }

  .top-medal::before {
    left: 15px;
    top: -54px;
    height: 58px;
    width: 9px;
  }

  .top-medal i {
    width: 26px;
    height: 26px;
  }
}

.vertical-home {
  display: grid;
  gap: 18px;
}

.home-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 12px 0 0;
  background: #fff;
}

.showcase-main,
.showcase-tile {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  background: #eee;
}

.showcase-main {
  aspect-ratio: 5 / 3;
}

.showcase-main img,
.showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.showcase-main:hover img,
.showcase-tile:hover img {
  transform: scale(1.035);
}

.showcase-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, .68) 100%);
}

.showcase-label {
  position: absolute;
  left: 18px;
  top: 16px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: var(--theme-red);
  font-size: 13px;
  font-weight: 900;
}

.showcase-main strong,
.showcase-main em,
.showcase-tile strong,
.showcase-tile em {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 1;
  overflow: hidden;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.showcase-main strong {
  bottom: 44px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 950;
}

.showcase-main em {
  bottom: 20px;
  right: 104px;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-style: normal;
}

.showcase-arrows {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}

.showcase-main:hover .showcase-arrows {
  opacity: 1;
}

.showcase-arrows button {
  position: relative;
  width: 50px;
  height: 78px;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .28);
  cursor: pointer;
  pointer-events: auto;
  transition: background .18s ease;
}

.showcase-arrows button:hover {
  background: rgba(0, 0, 0, .46);
}

.showcase-arrows button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
}

.showcase-arrows .prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.showcase-arrows .next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.showcase-dots {
  position: absolute;
  right: 18px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.showcase-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.showcase-dots button.active {
  width: 22px;
  background: var(--theme-red);
}

.showcase-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: minmax(0, 27fr) minmax(0, 40fr);
  gap: 8px;
  aspect-ratio: 90 / 67;
}

.showcase-tile.tile-1,
.showcase-tile.tile-2 {
  grid-column: span 3;
  grid-row: 1;
}

.showcase-tile.tile-3,
.showcase-tile.tile-4,
.showcase-tile.tile-5 {
  grid-column: span 2;
  grid-row: 2;
}

.showcase-tile strong {
  bottom: 32px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
}

.showcase-tile em {
  bottom: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-style: normal;
}

.home-feature-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 420px;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.home-main-poster {
  display: block;
  overflow: hidden;
  background: #f1f1f1;
}

.home-main-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.home-main-info {
  min-width: 0;
  align-self: center;
}

.home-main-info .eyebrow {
  width: fit-content;
  margin: 0 0 9px;
  padding: 3px 8px;
  color: #fff;
  background: var(--theme-red);
  font-size: 13px;
  font-weight: 400;
}

.home-main-info h1 {
  margin: 0 0 12px;
  color: #111;
  font-size: 30px;
  line-height: 1.2;
}

.home-main-info p {
  margin: 0;
  color: #555;
  line-height: 1.8;
}

.home-feature-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}

.home-feature-list a {
  min-width: 0;
}

.home-feature-list img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #f1f1f1;
}

.home-feature-list strong,
.home-feature-list span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-feature-list strong {
  margin-top: 8px;
  color: #222;
  font-size: 14px;
}

.home-feature-list span {
  margin-top: 4px;
  color: #777;
  font-size: 12px;
}

.vertical-section {
  padding: 14px;
}

.vertical-section .section-head {
  min-height: 36px;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--theme-red);
}

.home-boutique-section {
  padding: 22px 0 6px;
  border: 0;
  overflow: visible;
}

.home-boutique-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.home-boutique-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #101820;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}

.home-boutique-head h2 span {
  position: relative;
  width: 20px;
  height: 25px;
  border: 3px solid var(--theme-red);
  border-bottom: 0;
  border-radius: 999px 999px 8px 8px;
}

.home-boutique-head h2 span::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -6px;
  height: 3px;
  background: var(--theme-red);
  box-shadow: 0 5px 0 var(--theme-red);
}

.home-boutique-head h2 span::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: 2px;
  width: 6px;
  height: 7px;
  border-left: 3px solid var(--theme-red);
  border-bottom: 3px solid var(--theme-red);
  transform: rotate(-35deg);
}

.home-boutique-head a {
  color: #111;
  font-size: 13px;
}

.home-boutique-head a:hover {
  color: var(--theme-red);
}

.home-boutique-carousel {
  position: relative;
  padding: 0 0 28px;
}

.home-boutique-arrow {
  position: absolute;
  top: 0;
  bottom: 34px;
  z-index: 4;
  width: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease;
}

.home-boutique-arrow.prev {
  left: -48px;
}

.home-boutique-arrow.next {
  right: -48px;
}

.home-boutique-arrow:hover {
  background: rgba(0, 0, 0, .06);
}

.home-boutique-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 3px solid #999;
  border-left: 3px solid #999;
}

.home-boutique-arrow.prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.home-boutique-arrow.next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.home-boutique-arrow:hover::before {
  border-color: #777;
}

.home-boutique-dots {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.home-boutique-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8d8d8;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.home-boutique-dots button.active {
  width: 24px;
  background: var(--theme-red);
}

.home-boutique-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 28px;
}

.home-boutique-card {
  min-width: 0;
  min-height: 222px;
  display: grid;
  grid-template-columns: 166px minmax(0, 1fr);
  gap: 16px;
  padding: 0 0 18px;
}

.home-boutique-cover {
  position: relative;
  display: block;
  width: 166px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f2f2f2;
}

.home-boutique-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.home-boutique-card:hover .home-boutique-cover img {
  transform: scale(1.035);
}

.home-boutique-cover span {
  position: absolute;
  right: 0;
  top: 0;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #fff;
  background: var(--theme-red);
  font-size: 12px;
  line-height: 1;
}

.home-boutique-body {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 8px;
  padding-top: 15px;
}

.home-boutique-body h3 {
  min-width: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.home-boutique-body h3 a {
  display: block;
  overflow: hidden;
  color: #101820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-boutique-body h3 a:hover {
  color: var(--theme-red);
}

.home-boutique-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  min-height: 18px;
  color: #d7d7d7;
  font-size: 13px;
  letter-spacing: 0;
}

.home-boutique-stars i {
  font-style: normal;
  line-height: 1;
}

.home-boutique-stars i.active {
  color: #ffb400;
}

.home-boutique-chapter,
.home-boutique-desc {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #666;
  font-size: 13px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.home-boutique-chapter {
  -webkit-line-clamp: 2;
}

.home-boutique-chapter span {
  margin-right: 8px;
  color: #333;
}

.home-boutique-chapter a {
  color: var(--theme-red);
}

.home-boutique-desc {
  align-self: end;
  max-height: calc(13px * 1.65 * 4);
  -webkit-line-clamp: 4;
}

.home-boutique-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.home-boutique-tags a {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: #555;
  border: 1px dashed #ddd;
  font-size: 13px;
}

.home-boutique-tags a:hover {
  color: var(--theme-red);
  border-color: var(--theme-red);
}

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

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

.rank-column header {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.rank-column h3 {
  margin: 0;
  color: #222;
  font-size: 17px;
}

.rank-column header a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #111;
  font-size: 13px;
  white-space: nowrap;
}

.rank-column header a span {
  font-size: 18px;
  line-height: 1;
}

.rank-column header a:hover {
  color: var(--theme-red);
}

.rank-column .text-rank a {
  justify-content: flex-start;
}

.rank-column .text-rank span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-table.wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-update-section {
  padding: 22px 10px 0;
  border: 0;
}

.home-update-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.home-update-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #101820;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.home-update-head h2 span {
  position: relative;
  width: 22px;
  height: 22px;
  border: 3px solid var(--theme-red);
  border-radius: 50%;
}

.home-update-head h2 span::before,
.home-update-head h2 span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 3px;
  height: 7px;
  border-radius: 99px;
  background: var(--theme-red);
  transform-origin: 50% 100%;
}

.home-update-head h2 span::after {
  top: 9px;
  height: 6px;
  transform: rotate(120deg);
}

.home-update-head a {
  color: #485465;
  font-size: 13px;
}

.home-update-head a:hover {
  color: var(--theme-red);
}

.home-update-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.home-update-card {
  min-width: 0;
  min-height: 145px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 8px 16px;
  border-bottom: 1px solid #eee;
}

.home-update-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.home-update-cover {
  align-self: center;
  width: 96px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: #f2f2f2;
}

.home-update-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.home-update-card:hover .home-update-cover img {
  transform: scale(1.035);
}

.home-update-body {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 5px;
}

.home-update-top {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.home-update-top h3 {
  min-width: 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 500;
}

.home-update-top a {
  display: block;
  overflow: hidden;
  color: #1f2933;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-update-top a:hover {
  color: var(--theme-red);
}

.home-update-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #8a96a8;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.home-update-mark b {
  color: var(--theme-red);
  font-size: 14px;
}

.home-update-chapter,
.home-update-tags,
.home-update-desc {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #728096;
  font-size: 13px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-update-desc {
  color: #7d8a9d;
}

.home-boutique-section.style-poster .home-boutique-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px 18px;
}

.home-boutique-section.style-poster .home-boutique-card {
  min-height: 0;
  display: block;
  padding-bottom: 0;
}

.home-boutique-section.style-poster .home-boutique-cover {
  width: 100%;
}

.home-boutique-section.style-poster .home-boutique-body {
  display: block;
  padding-top: 10px;
}

.home-boutique-section.style-poster .home-boutique-body h3 {
  font-size: 16px;
  line-height: 1.35;
}

.home-boutique-section.style-poster .home-boutique-stars {
  margin-top: 6px;
}

.home-boutique-section.style-poster .home-boutique-desc {
  display: none;
}

.home-boutique-section.style-poster .home-boutique-chapter {
  margin-top: 5px;
  -webkit-line-clamp: 1;
}

.home-boutique-section.style-compact .home-boutique-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}

.home-boutique-section.style-compact .home-boutique-card {
  min-height: 132px;
  grid-template-columns: 86px minmax(0, 1fr);
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.home-boutique-section.style-compact .home-boutique-cover {
  width: 86px;
}

.home-boutique-section.style-compact .home-boutique-body {
  gap: 5px;
  padding-top: 2px;
}

.home-boutique-section.style-compact .home-boutique-body h3 {
  font-size: 16px;
}

.home-boutique-section.style-compact .home-boutique-desc {
  max-height: calc(13px * 1.55 * 2);
  -webkit-line-clamp: 2;
}

.home-boutique-section.style-feature .home-boutique-grid {
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.home-boutique-section.style-feature .home-boutique-card:first-child {
  grid-row: span 2;
  min-height: 456px;
  grid-template-columns: minmax(0, 210px) minmax(0, 1fr);
  padding: 0;
}

.home-boutique-section.style-feature .home-boutique-card:first-child .home-boutique-cover {
  width: 210px;
}

.home-boutique-section.style-feature .home-boutique-card:first-child .home-boutique-body h3 {
  font-size: 22px;
}

.home-rank-section.style-wide .rank-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
}

.home-rank-section.style-wide .rank-column {
  padding: 14px 16px;
  border: 1px solid #eee;
  background: #fff;
}

.home-rank-section.style-wide .text-rank li:first-child a {
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
}

.home-rank-section.style-compact .rank-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.home-rank-section.style-compact .rank-column header {
  margin-bottom: 0;
}

.home-rank-section.style-compact .text-rank a {
  min-height: 29px;
  font-size: 13px;
}

.home-update-section.style-list .home-update-grid,
.home-update-section.style-timeline .home-update-grid {
  display: block;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}

.home-update-section.style-list .home-update-card {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 112px;
  padding: 10px 0;
}

.home-update-section.style-list .home-update-cover {
  width: 72px;
}

.home-update-section.style-list .home-update-desc {
  display: none;
}

.home-update-section.style-timeline .home-update-card {
  position: relative;
  grid-template-columns: 92px 96px minmax(0, 1fr);
  min-height: 128px;
  padding: 12px 0 12px 26px;
}

.home-update-section.style-timeline .home-update-card::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #eee;
}

.home-update-section.style-timeline .home-update-card::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid var(--theme-red);
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
}

.home-update-section.style-timeline .home-update-mark {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  align-content: center;
  gap: 4px;
  color: #111;
}

.home-update-section.style-timeline .home-update-cover {
  grid-column: 2;
  grid-row: 1;
}

.home-update-section.style-timeline .home-update-body {
  grid-column: 3;
  grid-row: 1;
}

.home-update-section.style-timeline .home-update-top {
  display: block;
}

.home-update-section.style-timeline .home-update-top .home-update-mark {
  display: none;
}

.home-grid-section.style-dense .portal-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px 14px;
}

.home-grid-section.style-dense .comic-card h3 {
  font-size: 14px;
}

.home-grid-section.style-dense .comic-card p,
.home-grid-section.style-dense .comic-card .tags {
  display: none;
}

.home-grid-section.style-soft .portal-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 28px;
}

.home-grid-section.style-soft .comic-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  gap: 14px;
}

.home-grid-section.style-soft .cover-wrap {
  width: 136px;
}

.home-grid-section.style-soft .comic-card h3 {
  align-self: start;
  margin-top: 8px;
  font-size: 17px;
}

.double-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.simple-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.simple-list a {
  min-height: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #f1f1f1;
  color: #333;
  font-size: 14px;
}

.simple-list strong,
.simple-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.simple-list strong {
  font-weight: 400;
}

.simple-list span {
  color: #888;
  font-size: 12px;
}

.simple-list a:hover strong {
  color: var(--theme-red);
}

@media (max-width: 980px) {
  .home-showcase {
    grid-template-columns: 1fr;
  }

  .showcase-mosaic {
    grid-template-rows: repeat(2, 170px);
  }

  .home-feature-row {
    grid-template-columns: 160px minmax(0, 1fr);
  }

  .home-feature-list {
    grid-column: 1 / -1;
  }

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

  .rank-columns,
  .update-table.wide,
  .home-update-grid,
  .double-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-showcase {
    padding-top: 8px;
  }

  .showcase-main strong {
    font-size: 24px;
  }

  .showcase-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, 132px);
  }

  .showcase-tile.tile-1,
  .showcase-tile.tile-2,
  .showcase-tile.tile-3,
  .showcase-tile.tile-4 {
    grid-column: span 1;
    grid-row: auto;
  }

  .showcase-tile.tile-5 {
    grid-column: span 2;
    grid-row: auto;
  }

  .showcase-tile strong {
    font-size: 15px;
  }

  .home-boutique-carousel {
    padding: 0 0 36px;
  }

  .home-boutique-arrow {
    top: auto;
    bottom: 0;
    width: 36px;
    height: 32px;
    background: rgba(0, 0, 0, .04);
  }

  .home-boutique-arrow.prev {
    left: 12px;
  }

  .home-boutique-arrow.next {
    right: 12px;
  }

  .home-feature-row,
  .home-boutique-grid,
  .rank-columns,
  .update-table.wide,
  .home-update-grid,
  .double-section,
  .simple-list {
    grid-template-columns: 1fr;
  }

  .home-update-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 12px;
    min-height: 124px;
    padding: 8px 12px;
  }

  .home-update-card:nth-last-child(-n + 2) {
    border-bottom: 1px solid #eee;
  }

  .home-update-card:last-child {
    border-bottom: 0;
  }

  .home-update-cover {
    width: 82px;
  }

  .home-update-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .home-update-top h3 {
    font-size: 16px;
  }

  .home-update-mark {
    gap: 10px;
    font-size: 12px;
  }

  .home-main-poster {
    max-width: 180px;
  }

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

  .home-boutique-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
    min-height: 158px;
  }

  .home-boutique-cover {
    width: 118px;
  }

  .home-boutique-body {
    gap: 5px;
    padding-top: 4px;
  }

  .home-boutique-body h3 {
    font-size: 16px;
  }

  .home-boutique-chapter,
  .home-boutique-desc,
  .home-boutique-tags a {
    font-size: 12px;
  }
}

.category-page {
  padding-top: 24px;
}

.category-filter-box {
  margin-bottom: 24px;
  padding: 22px;
  border: 1px solid #dfd8d1;
  background: #fff;
}

.category-filter-head {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eee8e2;
}

.category-filter-head h1 {
  margin: 0;
  color: #172033;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.category-filter-head h1 span {
  color: var(--theme-red);
  font-size: 20px;
}

.category-filter-head p {
  margin: 0;
  color: #61708a;
  white-space: nowrap;
  font-size: 14px;
}

.category-filter-rows {
  display: grid;
  gap: 13px;
}

.category-filter-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.category-filter-row strong {
  min-height: 30px;
  display: flex;
  align-items: center;
  color: #566174;
  font-size: 14px;
  font-weight: 400;
}

.category-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
}

.category-filter-chip {
  min-width: 52px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #182234;
  border: 1px solid #e9e2dc;
  background: #f4f0ec;
  font-size: 14px;
  font-weight: 400;
}

.category-filter-chip:hover,
.category-filter-chip.on {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 4px;
}

.pager-btn,
.pager-num,
.pager-ellipsis {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #333;
  border: 1px solid #e3ddd7;
  background: #fff;
  font-size: 14px;
}

.pager-btn:hover,
.pager-num:hover,
.pager-num.on {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.pager-btn.disabled {
  color: #aaa;
  border-color: #eee;
  background: #f8f8f8;
  pointer-events: none;
}

.pager-ellipsis {
  border-color: transparent;
}

@media (max-width: 640px) {
  .category-filter-box {
    padding: 16px 12px;
  }

  .category-filter-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .category-filter-head p {
    white-space: normal;
  }

  .category-filter-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 8px;
  }

  .category-filter-chip {
    min-width: 48px;
    padding: 0 10px;
    font-size: 13px;
  }
}

.update-page {
  min-height: 100vh;
  color: var(--theme-text);
  background: #f8f9fa;
}

.update-hero {
  background: #fff;
  border-bottom: 1px solid var(--theme-line);
}

.update-hero-inner {
  max-width: 1280px;
  min-height: 154px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  padding: 30px 24px 28px;
}

.update-hero-copy {
  min-width: 0;
}

.update-kicker {
  margin: 0 0 8px;
  color: var(--theme-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.update-hero h1 {
  margin: 0 0 12px;
  color: #111318;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 950;
}

.update-hero h1 span {
  color: var(--theme-red);
}

.update-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #747b86;
  font-size: 13px;
}

.update-crumb a:hover {
  color: var(--theme-red);
}

.update-hero-stat {
  min-width: 148px;
  padding: 18px 20px;
  border: 1px solid var(--brand-red-line);
  border-radius: 8px;
  background: var(--brand-red-soft);
  text-align: right;
}

.update-hero-stat strong,
.update-hero-stat span {
  display: block;
}

.update-hero-stat strong {
  color: var(--theme-red);
  font-size: 30px;
  line-height: 1;
  font-weight: 950;
}

.update-hero-stat span {
  margin-top: 8px;
  color: #6e747d;
  font-size: 13px;
}

.update-filter-bar {
  background: #fff;
  border-bottom: 1px solid var(--theme-line);
}

.update-filter-inner {
  max-width: 1280px;
  display: grid;
  gap: 14px;
  margin: 0 auto;
  padding: 18px 24px 20px;
}

.update-filter-group {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.update-filter-label {
  padding-top: 8px;
  color: #555b66;
  font-size: 14px;
  font-weight: 900;
}

.update-chip-row {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.update-chip-row a {
  min-width: 62px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  color: #2c3036;
  border: 1px solid #e2ded9;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.update-chip-row a:hover {
  color: var(--theme-red);
  border-color: var(--theme-red);
}

.update-chip-row a.active {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
  box-shadow: 0 8px 18px rgba(var(--theme-red-rgb), .16);
}

.update-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 42px;
}

.update-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
}

.update-card {
  min-width: 0;
  min-height: 250px;
  display: grid;
  grid-template-columns: 162px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid #eee3df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(36, 28, 28, .04);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.update-card:hover {
  border-color: rgba(var(--theme-red-rgb), .22);
  box-shadow: 0 14px 30px rgba(36, 28, 28, .08);
  transform: translateY(-3px);
}

.update-card-cover {
  position: relative;
  width: 162px;
  aspect-ratio: 3 / 4;
  align-self: stretch;
  overflow: hidden;
  border-radius: 6px;
  background: #f1f1f1;
}

.update-card-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.update-card:hover .update-card-cover img {
  transform: scale(1.06);
}

.update-card-cover span {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 42px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #fff;
  background: var(--theme-red);
  font-size: 12px;
  font-weight: 900;
}

.update-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 2px 2px 0 0;
}

.update-title-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  margin-bottom: 9px;
}

.update-title-row h2 {
  min-width: 0;
  margin: 0;
  color: #111318;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-title-row h2 a:hover {
  color: var(--theme-red);
}

.update-title-row em {
  color: #8b929c;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.update-chapter-line,
.update-meta-line,
.update-desc {
  margin: 0;
}

.update-chapter-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333942;
  font-size: 14px;
  font-weight: 800;
}

.update-chapter-line span {
  color: #68707c;
}

.update-chapter-line a {
  min-width: 0;
  color: var(--theme-red);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-meta-line {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: #737b86;
  font-size: 13px;
}

.update-meta-line span,
.update-meta-line i {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.update-meta-line i {
  flex: 0 1 auto;
  color: var(--brand-outline, #926e6c);
  font-style: normal;
}

.update-desc {
  display: -webkit-box;
  margin-top: 18px;
  color: #5d6570;
  font-size: 14px;
  line-height: 1.72;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.update-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.update-read-btn,
.update-detail-link {
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
}

.update-read-btn {
  color: #fff;
  background: var(--theme-red);
}

.update-read-btn:hover {
  background: var(--theme-red-dark);
}

.update-detail-link {
  color: var(--theme-red);
  border: 1px solid #f0ccd2;
  background: #fff;
}

.update-detail-link:hover {
  border-color: var(--theme-red);
}

.update-empty {
  display: grid;
  place-items: center;
  min-height: 260px;
  border: 1px solid #eee3df;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.update-empty strong {
  color: #111318;
  font-size: 24px;
}

.update-empty p {
  margin: 10px 0 0;
  color: #77808b;
}

.update-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0 0;
}

.update-pagination a {
  min-width: 42px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 14px;
  color: #333840;
  border: 1px solid var(--theme-line);
  border-left: 0;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.update-pagination a:first-child {
  border-left: 1px solid var(--theme-line);
  border-radius: 4px 0 0 4px;
}

.update-pagination a:last-child {
  border-radius: 0 4px 4px 0;
}

.update-pagination a.active {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.update-pagination a.disabled {
  color: #aaa;
  background: #f8f8f8;
  pointer-events: none;
}

@media (max-width: 1080px) {
  .update-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .update-hero-inner {
    min-height: 0;
    display: block;
    padding: 24px 14px 22px;
  }

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

  .update-hero-stat {
    margin-top: 16px;
    text-align: left;
  }

  .update-filter-inner,
  .update-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .update-filter-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .update-filter-label {
    padding-top: 0;
  }

  .update-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .update-card {
    grid-template-columns: 106px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  .update-card-cover {
    width: 106px;
  }

  .update-title-row {
    display: block;
    margin-bottom: 7px;
  }

  .update-title-row h2 {
    font-size: 18px;
  }

  .update-title-row em {
    display: block;
    margin-top: 4px;
  }

  .update-desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.55;
    -webkit-line-clamp: 2;
  }

  .update-meta-line {
    display: none;
  }

  .update-card-actions {
    padding-top: 10px;
  }

  .update-detail-link {
    display: none;
  }

  .update-pagination {
    flex-wrap: wrap;
    gap: 8px;
  }

  .update-pagination a {
    border-left: 1px solid var(--theme-line);
    border-radius: 4px;
  }
}

/* 1kkk-style rank page. */
.rank-kk-page {
  background: #fff;
}

.rank-kk-banner {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 196px;
  margin-left: -50vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(780px 220px at 18% 108%, #ffe600 0 26%, rgba(255, 230, 0, 0) 27%),
    radial-gradient(760px 220px at 82% 116%, #ffe600 0 30%, rgba(255, 230, 0, 0) 31%),
    linear-gradient(105deg, var(--brand-red-strong) 0%, var(--brand-red) 38%, #ff6b08 76%, #ffcf00 100%);
}

.rank-kk-banner::before,
.rank-kk-banner::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.rank-kk-banner::before {
  left: -6%;
  bottom: -56px;
  width: 112%;
  height: 140px;
  border-radius: 50% 50% 0 0 / 78% 78% 0 0;
  background: linear-gradient(90deg, #ffb038, #ff8c08 52%, #ffd400);
}

.rank-kk-banner::after {
  top: 42px;
  left: 23%;
  width: 58%;
  height: 106px;
  border-radius: 52% 48% 48% 52% / 62% 58% 42% 38%;
  background: rgba(255, 102, 0, .28);
}

.rank-kk-banner-title {
  position: relative;
  z-index: 1;
  min-width: 420px;
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 48px;
  border-radius: 8px;
  background: rgba(255, 129, 17, .82);
}

.rank-kk-banner-title h1 {
  margin: 0;
  color: #fff;
  font-size: 52px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.rank-kk-banner-title span {
  width: 62px;
  height: 3px;
  background: #fff;
}

.rank-kk-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 0 28px;
  border-bottom: 1px solid #e8dfd6;
  background: #fff;
}

.rank-kk-menu a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #333;
  border-bottom: 3px solid transparent;
  font-size: 15px;
  font-weight: 400;
}

.rank-kk-menu a:hover,
.rank-kk-menu a.active {
  color: var(--theme-red);
  border-bottom-color: var(--theme-red);
}

.rank-kk-box {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 26px 42px;
}

.rank-kk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-kk-card {
  min-width: 0;
  padding: 15px;
  border: 1px solid #e4ddd5;
  background: #fff;
}

.rank-kk-card h2 {
  min-height: 34px;
  margin: 0 0 14px;
  padding-bottom: 9px;
  color: #222;
  border-bottom: 2px solid var(--theme-red);
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.rank-kk-first {
  display: grid;
  grid-template-columns: clamp(168px, 36%, 210px) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  min-height: 280px;
  margin-bottom: 10px;
}

.rank-kk-cover {
  position: relative;
  display: block;
  align-self: start;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #eee;
}

.rank-kk-cover img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.rank-kk-cover b,
.rank-kk-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #aaa;
  font-style: normal;
  font-weight: 900;
}

.rank-kk-cover b {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  background: var(--theme-red);
  font-size: 18px;
}

.rank-kk-detail {
  min-width: 0;
}

.rank-kk-detail h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.25;
}

.rank-kk-detail h3 a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #111;
}

.rank-kk-detail h3 a:hover {
  color: var(--theme-red);
}

.rank-kk-meta,
.rank-kk-score,
.rank-kk-chapter,
.rank-kk-desc {
  margin: 0 0 7px;
  color: #697384;
  font-size: 13px;
  line-height: 1.45;
}

.rank-kk-chapter {
  display: flex;
  min-width: 0;
  gap: 6px;
}

.rank-kk-chapter span {
  color: var(--theme-red);
}

.rank-kk-chapter a,
.rank-kk-row em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-kk-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-kk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.rank-kk-tags a,
.rank-kk-tags span {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  color: #555;
  border: 1px solid #eee4dc;
  background: #faf8f5;
  font-size: 12px;
}

.rank-kk-tags a:hover {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.rank-kk-row a {
  min-height: 38px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) minmax(84px, 34%);
  align-items: center;
  gap: 9px;
  border-top: 1px solid #f0ece8;
  color: #333;
}

.rank-kk-row span {
  width: 22px;
  height: 22px;
  font-size: 13px;
}

.rank-kk-row .rank-num-2,
.rank-kk-row .rank-num-3 {
  background: var(--theme-red);
}

.rank-kk-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
}

.rank-kk-row em {
  color: #999;
  font-size: 12px;
  font-style: normal;
  text-align: right;
}

.rank-kk-row a:hover strong,
.rank-kk-row a:hover em {
  color: var(--theme-red);
}

.rank-kk-more {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 2px;
  color: var(--theme-red);
  font-size: 14px;
}

.rank-kk-more:hover {
  color: var(--theme-red-dark);
}

.rank-kk-empty {
  margin: 0;
  color: #888;
  font-size: 14px;
}

.rank-detail-box {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 26px 42px;
  background: #fff;
}

.rank-detail-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 14px;
  border-bottom: 2px solid var(--theme-red);
  background: #fff;
}

.rank-detail-head h1,
.rank-detail-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #222;
  font-size: 26px;
  line-height: 1.2;
}

.rank-title-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.rank-detail-head p {
  margin: 0;
  color: #758094;
  font-size: 14px;
}

.rank-period-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.rank-period-tabs a {
  min-width: 52px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  color: #333;
  border: 1px solid #ebe5df;
  background: #f7f4f0;
  font-size: 14px;
}

.rank-period-tabs a:hover,
.rank-period-tabs a.active {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.rank-detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 16px;
  border: 1px solid #e4ddd5;
  border-top: 0;
  background: #fff;
}

.rank-detail-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 12px;
  border: 1px solid #f0ece8;
  background: #fff;
}

.rank-detail-num {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #aaa;
  font-weight: 900;
}

.rank-detail-num.top {
  background: var(--theme-red);
}

.rank-detail-cover {
  position: relative;
  display: block;
  align-self: start;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #eee;
}

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

.rank-detail-info {
  min-width: 0;
  align-self: start;
}

.rank-detail-info h2 {
  margin: 0 0 7px;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.25;
}

.rank-detail-info h2 a {
  display: block;
  overflow: hidden;
  color: #111;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-detail-info h2 a:hover,
.rank-detail-chapter a:hover {
  color: var(--theme-red);
}

.rank-detail-meta,
.rank-detail-chapter,
.rank-detail-desc {
  margin: 0 0 6px;
  color: #697384;
  font-size: 13px;
  line-height: 1.45;
}

.rank-detail-chapter,
.rank-detail-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rank-detail-tags a,
.rank-detail-tags span {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  color: #555;
  border: 1px solid #eee4dc;
  background: #faf8f5;
  font-size: 12px;
}

.rank-detail-tags a:hover {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.rank-detail-read {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 18px;
  padding: 0 14px;
  color: #fff;
  background: var(--theme-red);
  font-size: 13px;
}

.rank-detail-read:hover {
  color: #fff;
  background: var(--theme-red-dark);
}

@media (max-width: 920px) {
  .rank-kk-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-detail-item {
    grid-template-columns: 156px minmax(0, 1fr);
  }

  .rank-detail-read {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .rank-kk-banner {
    min-height: 148px;
  }

  .rank-kk-banner-title {
    min-width: 0;
    width: min(90vw, 420px);
    min-height: 92px;
    padding: 0 28px;
  }

  .rank-kk-banner-title h1 {
    font-size: 36px;
  }

  .rank-kk-banner-title span {
    width: 34px;
  }

  .rank-kk-menu {
    justify-content: flex-start;
    padding: 0 14px;
    overflow-x: auto;
  }

  .rank-kk-menu a {
    min-width: max-content;
    min-height: 46px;
    padding: 0 12px;
    font-size: 14px;
  }

  .rank-kk-box {
    padding: 16px 14px 30px;
  }

  .rank-kk-grid {
    grid-template-columns: 1fr;
  }

  .rank-kk-first {
    grid-template-columns: clamp(132px, 36vw, 168px) minmax(0, 1fr);
  }

  .rank-kk-cover img {
    min-height: 0;
  }

  .rank-kk-row a {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .rank-kk-row em {
    display: none;
  }

  .rank-detail-box {
    padding: 16px 14px 30px;
  }

  .rank-detail-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
  }

  .rank-period-tabs {
    justify-content: flex-start;
  }

  .rank-detail-list {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .rank-detail-item {
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-detail-num {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .rank-detail-info h2 {
    font-size: 17px;
  }

  .rank-detail-desc,
  .rank-detail-tags {
    display: none;
  }
}

@media (max-width: 900px) {
  .auth-shell-v2 {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .auth-intro-v2 {
    min-height: 0;
    padding-top: 12px;
  }
}

@media (max-width: 640px) {
  .auth-page-v2 {
    padding: 0 14px 32px;
  }

  .auth-shell-v2 {
    padding-top: 8px;
  }

  .auth-card-v2 {
    padding: 24px 18px;
  }

  .auth-card-v2 h2 {
    font-size: 28px;
  }

  .auth-select-grid {
    grid-template-columns: 1fr;
  }
}

.user-name {
  color: var(--theme-red);
}

.link-button {
  padding: 0;
  color: var(--theme-text);
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.link-button:hover {
  color: var(--theme-red);
}

.download-app-link {
  color: inherit !important;
}

.download-app-link:hover {
  color: var(--theme-red) !important;
}

.auth-main {
  min-height: 460px;
  display: grid;
  place-items: start center;
}

.auth-panel {
  width: min(420px, calc(100vw - 32px));
  margin: 48px auto;
  padding: 28px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--theme-line);
}

.auth-tabs button {
  height: 44px;
  color: var(--theme-muted);
  font-size: 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.auth-tabs button.on {
  color: var(--theme-red);
  border-color: var(--theme-red);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  color: var(--theme-text);
  border: 1px solid var(--theme-line);
  outline: none;
  background: #fff;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--theme-muted);
  font-size: 14px;
}

.auth-form select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  color: var(--theme-text);
  border: 1px solid var(--theme-line);
  outline: none;
  background: #fff;
}

.auth-form input:focus,
.auth-form select:focus {
  border-color: var(--theme-red);
}

.form-error {
  margin: 0;
  color: var(--theme-red);
  font-size: 14px;
}

.form-success {
  margin: 0;
  color: #12823b;
  font-size: 14px;
}

.auth-page-v2 {
  min-height: 680px;
  padding: 0 24px 46px;
  background:
    radial-gradient(circle at 16% 18%, rgba(var(--theme-red-rgb), .08), transparent 26%),
    linear-gradient(180deg, #fff 0%, var(--brand-red-soft) 100%);
}

.auth-crumb {
  width: min(1200px, 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 28px 0 18px;
  color: #6b7280;
  font-size: 14px;
}

.auth-crumb a {
  color: #111827;
}

.auth-crumb a:hover {
  color: var(--theme-red);
}

.auth-shell-v2 {
  width: min(1200px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 70px;
  margin: 0 auto;
  padding: 28px 0 0;
}

.auth-intro-v2 {
  min-height: 440px;
  display: grid;
  align-content: center;
}

.auth-intro-v2 h1 {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 900;
}

.auth-intro-v2 p {
  max-width: 520px;
  margin: 0 0 34px;
  color: #374151;
  font-size: 17px;
  line-height: 1.9;
}

.auth-feature-list {
  display: grid;
  gap: 12px;
  width: min(430px, 100%);
}

.auth-feature-list span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #111827;
  border: 1px solid var(--brand-red-line);
  background: rgba(255, 255, 255, .82);
  font-size: 16px;
  font-weight: 700;
}

.auth-feature-list span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 12px;
  background: var(--theme-red);
}

.auth-card-v2 {
  padding: 34px;
  border: 1px solid var(--brand-red-line);
  background: #fff;
  box-shadow: 0 20px 60px rgba(var(--theme-red-rgb), .08);
}

.auth-card-v2 h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 900;
}

.auth-card-v2 > p {
  margin: 0 0 26px;
  color: #667085;
  font-size: 15px;
}

.auth-form-v2 {
  display: grid;
  gap: 15px;
}

.auth-form-v2 label {
  display: grid;
  gap: 8px;
}

.auth-form-v2 label > span {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.auth-form-v2 input,
.auth-form-v2 select {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  color: #111827;
  border: 1px solid #ded6d2;
  outline: none;
  background: #fff;
  font-size: 15px;
}

.auth-form-v2 input:focus,
.auth-form-v2 select:focus {
  border-color: var(--theme-red);
  box-shadow: 0 0 0 3px rgba(var(--theme-red-rgb), .08);
}

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

.auth-check-v2 {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 8px !important;
  color: #667085;
  font-size: 13px;
}

.auth-check-v2 input {
  width: 14px;
  height: 14px;
  accent-color: var(--theme-red);
}

.auth-check-v2 span {
  color: #667085 !important;
  font-weight: 400 !important;
}

.auth-submit-v2 {
  height: 46px;
  color: #fff;
  border: 0;
  background: var(--theme-red);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.auth-submit-v2:hover {
  background: var(--theme-red-dark);
}

.auth-submit-v2:disabled {
  opacity: .68;
  cursor: not-allowed;
}

.auth-links-v2 {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--brand-red-line);
}

.auth-links-v2 button,
.auth-links-v2 a {
  padding: 0;
  color: var(--theme-red);
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.auth-links-v2 button:hover,
.auth-links-v2 a:hover {
  color: var(--theme-red-dark);
}

.auth-note-v2 {
  margin: 18px 0 0 !important;
  padding: 16px;
  color: #4b5563 !important;
  border-left: 4px solid var(--theme-red);
  background: var(--theme-red-soft);
  font-size: 14px !important;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .auth-shell-v2 {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .auth-intro-v2 {
    min-height: 0;
    padding-top: 12px;
  }
}

@media (max-width: 640px) {
  .auth-page-v2 {
    padding: 0 14px 32px;
  }

  .auth-shell-v2 {
    padding-top: 8px;
  }

  .auth-card-v2 {
    padding: 24px 18px;
  }

  .auth-card-v2 h2 {
    font-size: 28px;
  }

  .auth-select-grid {
    grid-template-columns: 1fr;
  }
}

.auth-page-v3 {
  min-height: 680px;
  padding: 0 24px 56px;
  background:
    linear-gradient(180deg, #fff 0%, #fff 58%, var(--brand-red-soft) 100%),
    #fff;
}

.auth-crumb-v3 {
  width: min(1180px, 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 28px 0 18px;
  color: #8a8f98;
  font-size: 14px;
}

.auth-crumb-v3 a {
  color: #111827;
}

.auth-crumb-v3 a:hover {
  color: var(--theme-red);
}

.auth-shell-v3 {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: stretch;
  gap: 26px;
  margin: 0 auto;
}

.auth-brand-v3,
.auth-card-v3 {
  border: 1px solid var(--theme-line);
  background: #fff;
}

.auth-brand-v3 {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  padding: 54px 56px;
  background:
    radial-gradient(circle at 88% 16%, rgba(var(--theme-red-rgb), .12), transparent 28%),
    linear-gradient(135deg, #fff, var(--brand-red-soft) 54%, #fff 100%);
}

.auth-brand-v3::before {
  content: "";
  position: absolute;
  right: -76px;
  bottom: -96px;
  width: 280px;
  height: 280px;
  border: 34px solid rgba(var(--theme-red-rgb), .08);
  border-radius: 50%;
}

.auth-kicker-v3 {
  width: fit-content;
  margin: 0 0 18px;
  padding: 6px 12px;
  color: var(--theme-red);
  border: 1px solid rgba(var(--theme-red-rgb), .18);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.auth-brand-v3 h1 {
  position: relative;
  max-width: 620px;
  margin: 0;
  color: #111827;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -.04em;
}

.auth-brand-v3 > p:not(.auth-kicker-v3) {
  position: relative;
  max-width: 560px;
  margin: 18px 0 0;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.9;
}

.auth-support-list-v3 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}

.auth-support-list-v3 article {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--brand-red-line);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 12px 28px rgba(var(--theme-red-rgb), .05);
}

.auth-support-list-v3 strong,
.auth-support-list-v3 span {
  display: block;
}

.auth-support-list-v3 strong {
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.auth-support-list-v3 strong::before {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-bottom: 14px;
  background: var(--theme-red);
}

.auth-support-list-v3 span {
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.65;
}

.auth-card-v3 {
  align-self: start;
  padding: 30px;
  box-shadow: 0 18px 48px rgba(var(--theme-red-rgb), .08);
}

.auth-tabs-v3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 28px;
  padding: 4px;
  background: #f7f7f7;
}

.auth-tabs-v3 button {
  height: 42px;
  color: #4b5563;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.auth-tabs-v3 button.active {
  color: #fff;
  background: var(--theme-red);
  box-shadow: 0 8px 18px rgba(var(--theme-red-rgb), .18);
}

.auth-tabs-v3 button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

.auth-card-head-v3 {
  margin-bottom: 24px;
}

.auth-card-head-v3 h2 {
  margin: 0;
  color: #111827;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 900;
}

.auth-card-head-v3 p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.auth-form-v3 {
  display: grid;
  gap: 15px;
}

.auth-field-v3 {
  display: grid;
  gap: 8px;
}

.auth-field-v3 span,
.auth-choice-grid-v3 legend {
  color: #111827;
  font-size: 14px;
  font-weight: 800;
}

.auth-field-v3 input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: #111827;
  border: 1px solid #ded6d2;
  outline: none;
  background: #fff;
  font-size: 15px;
}

.auth-field-v3 input::placeholder {
  color: #a0a6b2;
}

.auth-field-v3 input:focus {
  border-color: var(--theme-red);
  box-shadow: 0 0 0 3px rgba(var(--theme-red-rgb), .08);
}

.auth-choice-grid-v3 {
  display: grid;
  gap: 12px;
}

.auth-choice-grid-v3 fieldset {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--brand-red-line);
  background: #fff;
}

.auth-choice-grid-v3 legend {
  padding: 0 4px;
}

.auth-choice-grid-v3 fieldset label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 8px 8px 0 0;
  padding: 0 11px;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  font-size: 14px;
  cursor: pointer;
}

.auth-choice-grid-v3 input {
  accent-color: var(--theme-red);
}

.auth-error-v3 {
  padding: 10px 12px;
  border: 1px solid var(--brand-red-line);
  background: var(--theme-red-soft);
}

.auth-submit-v3 {
  height: 48px;
  color: #fff;
  border: 0;
  background: var(--theme-red);
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.auth-submit-v3:hover {
  background: var(--theme-red-dark);
}

.auth-submit-v3:active {
  transform: translateY(1px);
}

.auth-submit-v3:disabled {
  cursor: not-allowed;
  opacity: .68;
}

.auth-switch-v3 {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  padding-top: 18px;
  color: #6b7280;
  border-top: 1px solid var(--brand-red-line);
  font-size: 14px;
}

.auth-switch-v3 button {
  padding: 0;
  color: var(--theme-red);
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.auth-switch-v3 button:hover {
  color: var(--theme-red-dark);
}

.auth-switch-v3 button:disabled {
  cursor: not-allowed;
  opacity: .62;
}

@media (max-width: 980px) {
  .auth-shell-v3 {
    grid-template-columns: 1fr;
  }

  .auth-brand-v3 {
    min-height: 0;
    padding: 36px 28px;
  }

  .auth-support-list-v3 {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .auth-support-list-v3 article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .auth-page-v3 {
    padding: 0 14px 36px;
  }

  .auth-crumb-v3 {
    padding: 18px 0 12px;
  }

  .auth-brand-v3 {
    padding: 26px 18px;
  }

  .auth-brand-v3 h1 {
    font-size: 30px;
  }

  .auth-brand-v3 > p:not(.auth-kicker-v3) {
    font-size: 15px;
  }

  .auth-card-v3 {
    padding: 22px 18px;
  }

  .auth-card-head-v3 h2 {
    font-size: 26px;
  }
}

.empty-state {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 36px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.empty-state h2,
.empty-state p {
  margin: 0;
}

.empty-state p {
  color: var(--theme-muted);
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--theme-red);
}

.page-head h1,
.page-head p {
  margin: 0;
}

.page-head p {
  color: var(--theme-muted);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn.ghost {
  color: var(--theme-red);
  border-color: var(--theme-red);
  background: #fff;
}

.btn.ghost:hover {
  color: #fff;
  background: var(--theme-red);
}

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

.history-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.history-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--theme-soft);
}

.history-info {
  min-width: 0;
  min-height: 176px;
  display: flex;
  flex-direction: column;
}

.history-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.history-card p {
  min-height: 44px;
  margin: 0;
  color: var(--theme-muted);
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.history-info .btn {
  align-self: flex-start;
  margin-top: auto;
}

.bookshelf-panel {
  padding: 22px;
}

.bookshelf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--theme-line);
}

.bookshelf-toolbar strong {
  color: #111827;
  font-size: 20px;
}

.bookshelf-toolbar span {
  color: var(--theme-muted);
  font-size: 14px;
}

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

.bookshelf-card {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.bookshelf-cover {
  display: block;
  width: 148px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--theme-soft);
}

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

.bookshelf-info {
  min-width: 0;
  min-height: calc(148px * 4 / 3);
  display: flex;
  flex-direction: column;
}

.bookshelf-info h2 {
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bookshelf-info h2 a {
  color: #111827;
}

.bookshelf-info h2 a:hover {
  color: var(--theme-red);
}

.bookshelf-info p,
.bookshelf-info em {
  margin: 0;
  overflow: hidden;
  color: var(--theme-muted);
  font-size: 14px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bookshelf-info em {
  margin-top: 4px;
  font-style: normal;
}

.bookshelf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.bookshelf-actions .btn {
  height: 34px;
  padding: 0 12px;
  line-height: 32px;
}

.bookshelf-actions button:disabled {
  opacity: .62;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .history-grid {
    grid-template-columns: 1fr;
  }

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

  .history-info {
    min-height: 155px;
  }

  .bookshelf-grid {
    grid-template-columns: 1fr;
  }

  .bookshelf-card {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .bookshelf-cover {
    width: 120px;
  }

  .bookshelf-info {
    min-height: 160px;
  }

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

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

/* Final station-specific overrides. Keep this block at the end of the stylesheet. */
.category-page.site-female {
  padding-top: 32px;
}

.category-page.site-female .category-filter-box {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  border-color: var(--brand-red-line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 245, 248, .96), rgba(255, 255, 255, .98)),
    radial-gradient(circle at 94% 10%, rgba(var(--theme-red-rgb), .12), transparent 26%);
  box-shadow: 0 18px 45px rgba(var(--theme-red-rgb), .08);
}

.category-page.site-female .category-filter-head {
  border-bottom-color: var(--brand-red-line);
}

.category-page.site-female .category-filter-head h1 {
  color: var(--brand-heading, #27131d);
  font-size: 28px;
}

.category-page.site-female .category-filter-row {
  grid-template-columns: 78px minmax(0, 1fr);
}

.category-page.site-female .category-filter-row strong {
  color: var(--brand-copy, #5d3f3d);
  font-weight: 700;
}

.category-page.site-female .category-filter-chip {
  min-width: 58px;
  border-color: var(--brand-red-line);
  border-radius: 999px;
  color: var(--brand-copy, #5d3f3d);
  background: #fff;
}

.category-page.site-female .category-filter-chip:hover,
.category-page.site-female .category-filter-chip.on {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
  box-shadow: 0 8px 18px rgba(var(--theme-red-rgb), .18);
}

.update-page.site-female {
  background: linear-gradient(180deg, var(--brand-red-soft) 0, #fff 220px);
}

.update-page.site-female .update-hero {
  min-height: 154px;
  border-bottom: 0;
  background:
    linear-gradient(110deg, rgba(255, 237, 244, .95), rgba(255, 255, 255, .98) 58%, rgba(255, 231, 238, .82)),
    radial-gradient(circle at 18% 28%, rgba(var(--theme-red-rgb), .16), transparent 24%);
}

.update-page.site-female .update-hero-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 34px;
}

.update-page.site-female .update-filter-inner {
  border: 1px solid var(--brand-red-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(var(--theme-red-rgb), .07);
}

.update-page.site-female .update-date-tabs a,
.update-page.site-female .update-topic-tabs a {
  border-radius: 999px;
}

.update-page.site-female .update-card {
  border-color: var(--brand-red-line);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(18, 24, 40, .06);
}

.update-page.site-female .axis {
  background: linear-gradient(var(--brand-red-line), var(--brand-red-surface-2));
}

.update-page.site-female .axis::before {
  border-color: var(--theme-red);
  background: var(--brand-red-soft);
}

.rank-kk-page.site-female .rank-kk-banner {
  min-height: 178px;
  background:
    linear-gradient(120deg, var(--brand-red-surface-3) 0%, #fff 54%, var(--brand-red-line) 100%);
}

.rank-kk-page.site-female .rank-kk-banner::before,
.rank-kk-page.site-female .rank-kk-banner::after {
  display: none;
}

.rank-kk-page.site-female .rank-kk-banner-title {
  min-width: 380px;
  border: 1px solid rgba(var(--theme-red-rgb), .16);
  border-radius: 999px;
  color: var(--brand-heading, #27131d);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 40px rgba(var(--theme-red-rgb), .1);
}

.rank-kk-page.site-female .rank-kk-banner-title h1 {
  color: var(--brand-heading, #27131d);
}

.rank-kk-page.site-female .rank-kk-banner-title span {
  background: var(--brand-red-line-strong);
}

.rank-kk-page.site-female .rank-kk-menu {
  border-bottom-color: var(--brand-red-line);
}

.rank-kk-page.site-female .rank-kk-box {
  padding-top: 32px;
}

.rank-kk-page.site-female .rank-kk-card,
.rank-kk-page.site-female .rank-detail-box {
  border-color: var(--brand-red-line);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(var(--theme-red-rgb), .06);
}

.rank-kk-page.site-female .rank-kk-first {
  grid-template-columns: 168px minmax(0, 1fr);
}

.rank-kk-page.site-female .rank-kk-cover,
.rank-kk-page.site-female .rank-detail-cover {
  border-radius: 12px;
  background: var(--brand-red-soft);
}

.rank-kk-page.site-female .rank-kk-cover img,
.rank-kk-page.site-female .rank-detail-cover img {
  border-radius: 12px;
}

.rank-kk-page.site-female .rank-detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-kk-page.site-female .rank-detail-item {
  border-color: var(--brand-red-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, var(--brand-red-soft));
}

.comic-detail-page.site-female {
  background: linear-gradient(180deg, var(--brand-red-soft) 0, #fff 420px);
}

.comic-detail-page.site-female .comic-hero-v2 {
  min-height: 390px;
}

.comic-detail-page.site-female .comic-hero-v2::before {
  background:
    linear-gradient(90deg, rgba(255, 245, 248, .8), rgba(255, 255, 255, .2) 46%, rgba(255, 236, 243, .76)),
    rgba(255, 255, 255, .18);
}

.comic-detail-page.site-female .comic-info-card {
  border: 1px solid rgba(255, 216, 226, .9);
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 60px rgba(var(--theme-red-rgb), .12);
}

.comic-detail-page.site-female .comic-detail-cover,
.comic-detail-page.site-female .comic-detail-cover img {
  border-radius: 16px;
}

.comic-detail-page.site-female .comic-action.primary,
.comic-detail-page.site-female .comic-action.favorite,
.comic-detail-page.site-female .chapter-expand-btn {
  border-radius: 999px;
}

.comic-detail-page.site-female .comic-action.favorite {
  background: #fff0c9;
}

.comic-detail-page.site-female .detail-section-chapters,
.comic-detail-page.site-female .detail-related-v2,
.comic-detail-page.site-female .detail-reading-info,
.comic-detail-page.site-female .side-panel-v2 {
  border-color: var(--brand-red-line);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(var(--theme-red-rgb), .06);
}

.comic-detail-page.site-female .chapter-grid-v2 a {
  border-radius: 10px;
  background: var(--brand-red-soft);
}

.comic-detail-page.site-female .chapter-grid-v2 a:hover {
  color: #fff;
  background: var(--theme-red);
}

.user-main {
  padding-top: 28px;
}

.user-layout {
  display: grid;
  grid-template-columns: 214px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.user-aside {
  border: 1px solid var(--theme-line);
  background: #fff;
}

.user-aside-home,
.user-aside section {
  border-bottom: 1px solid var(--theme-line);
}

.user-aside-home {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  font-size: 16px;
}

.user-aside-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  border-radius: 50%;
  background: var(--theme-red);
}

.user-aside h2 {
  margin: 0;
  padding: 18px 18px 10px;
  color: var(--theme-text);
  font-size: 16px;
  font-weight: 600;
}

.user-aside a,
.user-aside .disabled {
  display: block;
  height: 38px;
  padding: 0 18px 0 46px;
  color: var(--theme-muted);
  font-size: 14px;
  line-height: 38px;
}

.user-aside a:hover,
.user-aside a.active,
.user-aside-home.active a {
  color: var(--theme-red);
}

.user-aside a.active {
  border-left: 3px solid var(--theme-red);
  padding-left: 43px;
  background: var(--theme-red-soft);
}

.user-aside .disabled {
  color: #bbb;
  cursor: default;
}

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

.user-summary {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 128px;
  margin-bottom: 18px;
  padding: 20px 24px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.user-avatar,
.profile-avatar-large {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--theme-red), var(--brand-red-strong));
}

.user-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  font-size: 36px;
  font-weight: 700;
}

.user-summary-info h1 {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.3;
}

.user-summary-info p {
  margin: 0 0 12px;
  color: var(--theme-muted);
}

.user-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.user-badges span {
  padding: 4px 10px;
  color: var(--theme-red);
  border: 1px solid var(--brand-red-line);
  background: var(--theme-red-soft);
}

.user-panel {
  border: 1px solid var(--theme-line);
  background: #fff;
}

.user-panel-title {
  height: 56px;
  padding: 0 22px;
  border-bottom: 1px solid var(--theme-line);
}

.user-panel-title h2 {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 56px;
  margin: 0;
  font-size: 20px;
}

.user-panel-title h2::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--theme-red);
}

.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 32px;
  padding: 26px 28px 34px;
}

.profile-form {
  display: grid;
  gap: 18px;
}

.profile-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
}

.profile-label {
  padding-top: 10px;
  color: var(--theme-text);
  text-align: right;
}

.profile-label.required::before {
  content: "*";
  margin-right: 3px;
  color: var(--theme-red);
}

.profile-field {
  display: grid;
  gap: 7px;
}

.profile-field input,
.profile-field select,
.profile-field textarea {
  width: 100%;
  color: var(--theme-text);
  border: 1px solid var(--theme-line);
  outline: none;
  background: #fff;
}

.profile-field input,
.profile-field select {
  height: 40px;
  padding: 0 11px;
}

.profile-field textarea {
  min-height: 92px;
  padding: 10px 11px;
  resize: vertical;
}

.profile-field input:focus,
.profile-field select:focus,
.profile-field textarea:focus {
  border-color: var(--theme-red);
}

.profile-field input:disabled,
.profile-field textarea:disabled {
  color: #999;
  background: #f7f7f7;
}

.profile-field p {
  margin: 0;
  color: #999;
  font-size: 13px;
}

.profile-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  min-height: 40px;
  align-items: center;
}

.profile-radio label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--theme-text);
  cursor: pointer;
}

.profile-radio input {
  accent-color: var(--theme-red);
}

.profile-submit {
  width: 112px;
}

.profile-avatar-side {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding-top: 4px;
}

.profile-avatar-large {
  width: 142px;
  height: 142px;
  border-radius: 50%;
  font-size: 56px;
  font-weight: 700;
}

.profile-avatar-side .btn {
  width: 118px;
}

.profile-avatar-side .btn:disabled {
  opacity: .72;
  cursor: not-allowed;
}

.profile-avatar-side p {
  margin: 0;
  color: #999;
  font-size: 13px;
}

@media (max-width: 920px) {
  .user-layout {
    grid-template-columns: 1fr;
  }

  .user-aside {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .user-aside-home,
  .user-aside section {
    border-right: 1px solid var(--theme-line);
    border-bottom: 0;
  }

  .profile-body {
    grid-template-columns: 1fr;
  }

  .profile-avatar-side {
    justify-items: start;
    grid-row: 1;
  }
}

@media (max-width: 640px) {
  .user-summary {
    grid-template-columns: 64px minmax(0, 1fr);
    padding: 16px;
  }

  .user-avatar {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .user-aside {
    grid-template-columns: 1fr;
  }

  .user-aside-home,
  .user-aside section {
    border-right: 0;
    border-bottom: 1px solid var(--theme-line);
  }

  .profile-body {
    padding: 20px 14px 28px;
  }

  .profile-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .profile-label {
    padding-top: 0;
    text-align: left;
  }
}

.account-page-v3 {
  width: min(1220px, calc(100vw - 48px));
  min-height: 680px;
  margin: 0 auto;
  padding: 28px 0 56px;
  background: #fff;
}

.account-hero-v3 {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  min-height: 176px;
  margin-bottom: 20px;
  padding: 28px 32px;
  border: 1px solid var(--brand-red-line);
  background:
    radial-gradient(circle at 94% 8%, rgba(var(--theme-red-rgb), .14), transparent 30%),
    linear-gradient(135deg, #fff, var(--brand-red-soft) 58%, #fff);
  box-shadow: 0 18px 46px rgba(var(--theme-red-rgb), .06);
}

.account-hero-v3::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -58px;
  width: 170px;
  height: 170px;
  border: 24px solid rgba(var(--theme-red-rgb), .07);
  border-radius: 50%;
}

.account-avatar-v3 {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  color: #fff;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--theme-red), var(--brand-red-strong));
  box-shadow: 0 14px 26px rgba(var(--theme-red-rgb), .22);
  font-size: 38px;
  font-weight: 900;
}

.account-hero-info-v3 {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.account-hero-info-v3 p,
.account-panel-head-v3 p {
  margin: 0 0 8px;
  color: var(--theme-red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-hero-info-v3 h1 {
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.18;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-hero-info-v3 span {
  display: block;
  margin-top: 10px;
  color: #6b7280;
  font-size: 15px;
}

.account-hero-tags-v3 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 360px;
}

.account-hero-tags-v3 span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--theme-red);
  border: 1px solid var(--brand-red-line);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.account-layout-v3 {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.account-nav-v3,
.account-panel-v3 {
  border: 1px solid var(--theme-line);
  background: #fff;
}

.account-nav-v3 {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.account-nav-v3 a {
  display: grid;
  gap: 6px;
  min-height: 76px;
  padding: 16px 18px;
  color: #111827;
  border-bottom: 1px solid #f0f0f0;
}

.account-nav-v3 a:last-child {
  border-bottom: 0;
}

.account-nav-v3 strong,
.account-nav-v3 span {
  display: block;
}

.account-nav-v3 strong {
  font-size: 16px;
  font-weight: 900;
}

.account-nav-v3 span {
  color: #8a8f98;
  font-size: 13px;
}

.account-nav-v3 a:hover,
.account-nav-v3 a.active {
  color: var(--theme-red);
  background: var(--theme-red-soft);
}

.account-nav-v3 a.active {
  box-shadow: inset 4px 0 0 var(--theme-red);
}

.account-panel-v3 {
  min-width: 0;
  box-shadow: 0 14px 34px rgba(18, 24, 40, .04);
}

.account-panel-head-v3 {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--theme-line);
}

.account-panel-head-v3 h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.3;
}

.account-panel-head-v3 > span {
  color: #6b7280;
  font-size: 14px;
}

.account-form-v3 {
  display: grid;
  gap: 18px;
  max-width: 720px;
  padding: 28px 24px 34px;
}

.account-field-v3 {
  display: grid;
  gap: 8px;
}

.account-field-v3 span,
.account-choice-v3 legend {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
}

.account-field-v3 input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  color: #111827;
  border: 1px solid #ded6d2;
  outline: none;
  background: #fff;
  font-size: 15px;
}

.account-field-v3 input:focus {
  border-color: var(--theme-red);
  box-shadow: 0 0 0 3px rgba(var(--theme-red-rgb), .08);
}

.account-field-v3 input:disabled {
  color: #8a8f98;
  background: #f8f8f8;
}

.account-field-v3 small {
  color: #8a8f98;
  font-size: 13px;
}

.account-choice-v3 {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--brand-red-line);
  background: #fff;
}

.account-choice-v3 legend {
  padding: 0 4px;
}

.account-choice-v3 label {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 8px 8px 0 0;
  padding: 0 12px;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  font-size: 14px;
  cursor: pointer;
}

.account-choice-v3 input {
  accent-color: var(--theme-red);
}

.account-form-actions-v3 {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.account-primary-btn-v3,
.account-comic-actions-v3 button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--theme-red);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.account-primary-btn-v3 {
  color: #fff;
  background: var(--theme-red);
}

.account-primary-btn-v3:hover {
  color: #fff;
  background: var(--theme-red-dark);
}

.account-primary-btn-v3:disabled {
  cursor: not-allowed;
  opacity: .68;
}

.account-comic-actions-v3 button {
  color: var(--theme-red);
  background: #fff;
}

.account-comic-actions-v3 button:hover {
  color: #fff;
  background: var(--theme-red);
}

.account-comic-actions-v3 button:disabled {
  color: #aaa;
  border-color: #ddd;
  background: #f7f7f7;
  cursor: not-allowed;
}

.account-empty-v3 {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 40px 24px;
}

.account-empty-v3 h3,
.account-empty-v3 p {
  margin: 0;
}

.account-empty-v3 h3 {
  color: #111827;
  font-size: 22px;
}

.account-empty-v3 p {
  color: #6b7280;
  line-height: 1.7;
}

.account-comic-list-v3 {
  display: grid;
  gap: 14px;
  padding: 20px 24px 28px;
}

.account-comic-item-v3 {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #eee;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.account-comic-item-v3:hover {
  border-color: var(--brand-red-line);
  box-shadow: 0 12px 28px rgba(var(--theme-red-rgb), .07);
  transform: translateY(-1px);
}

.account-comic-cover-v3 {
  display: block;
  overflow: hidden;
  width: 126px;
  aspect-ratio: 3 / 4;
  background: #f4f4f4;
}

.account-comic-cover-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-comic-info-v3 {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.account-comic-info-v3 h3 {
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 20px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-comic-info-v3 h3 a:hover {
  color: var(--theme-red);
}

.account-comic-info-v3 p {
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.account-comic-meta-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.account-comic-meta-v3 span {
  max-width: 180px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  padding: 0 10px;
  color: #6b7280;
  border: 1px solid #eee;
  background: #fafafa;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-comic-actions-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 4px;
}

.account-comic-list-v3 .pager {
  margin-top: 12px;
}

@media (max-width: 980px) {
  .account-page-v3 {
    width: min(100% - 32px, 1220px);
  }

  .account-hero-v3,
  .account-layout-v3 {
    grid-template-columns: 1fr;
  }

  .account-hero-tags-v3 {
    justify-content: flex-start;
    max-width: none;
  }

  .account-nav-v3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-nav-v3 a {
    border-right: 1px solid #f0f0f0;
    border-bottom: 0;
  }

  .account-nav-v3 a:last-child {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .account-page-v3 {
    width: min(100% - 24px, 1220px);
    padding-top: 18px;
    padding-bottom: 36px;
  }

  .account-hero-v3 {
    gap: 14px;
    padding: 22px 16px;
  }

  .account-avatar-v3 {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    font-size: 28px;
  }

  .account-hero-info-v3 h1 {
    font-size: 26px;
  }

  .account-nav-v3 {
    grid-template-columns: 1fr;
  }

  .account-nav-v3 a {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .account-panel-head-v3 {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }

  .account-form-v3,
  .account-comic-list-v3,
  .account-empty-v3 {
    padding-right: 16px;
    padding-left: 16px;
  }

  .account-comic-item-v3 {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .account-comic-cover-v3 {
    width: 100px;
  }

  .account-comic-info-v3 h3 {
    font-size: 17px;
  }

  .account-comic-info-v3 p {
    display: none;
  }

  .account-comic-meta-v3 span {
    max-width: 100%;
  }
}

.floating-tools {
  position: fixed;
  right: max(12px, calc((100vw - 1240px) / 2 - 64px));
  bottom: 92px;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.floating-qr-card {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: 132px;
  padding: 12px 10px 10px;
  color: var(--theme-muted);
  text-align: center;
  border: 1px solid var(--theme-line);
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .14);
}

.floating-qr-card:hover {
  color: var(--theme-red);
}

.floating-qr-card img {
  width: 104px;
  height: 104px;
  object-fit: contain;
}

.floating-qr-card span {
  font-size: 13px;
  line-height: 1.2;
}

.floating-actions {
  display: grid;
  width: 44px;
  border: 1px solid var(--theme-line);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.floating-action {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 6px 4px;
  color: #777;
  text-align: center;
  border: 0;
  border-bottom: 1px solid var(--theme-line);
  background: #fff;
  cursor: pointer;
}

.floating-action:last-child {
  border-bottom: 0;
}

.floating-action:hover {
  color: var(--theme-red);
  background: var(--theme-red-soft);
}

.floating-action em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.25;
}

.floating-qr-icon {
  width: 22px;
  height: 22px;
  background:
    linear-gradient(#999 0 0) 0 0 / 7px 7px no-repeat,
    linear-gradient(#999 0 0) 15px 0 / 7px 7px no-repeat,
    linear-gradient(#999 0 0) 0 15px / 7px 7px no-repeat,
    linear-gradient(#999 0 0) 15px 15px / 7px 7px no-repeat,
    linear-gradient(#bbb 0 0) 9px 9px / 5px 5px no-repeat;
}

.floating-action:hover .floating-qr-icon {
  background:
    linear-gradient(var(--theme-red) 0 0) 0 0 / 7px 7px no-repeat,
    linear-gradient(var(--theme-red) 0 0) 15px 0 / 7px 7px no-repeat,
    linear-gradient(var(--theme-red) 0 0) 0 15px / 7px 7px no-repeat,
    linear-gradient(var(--theme-red) 0 0) 15px 15px / 7px 7px no-repeat,
    linear-gradient(#ffb2c0 0 0) 9px 9px / 5px 5px no-repeat;
}

.floating-top-icon {
  width: 16px;
  height: 16px;
  border-top: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: rotate(45deg) translateY(3px);
}

@media (max-width: 1024px) {
  .floating-tools {
    right: 10px;
    bottom: 72px;
  }

  .floating-qr-card {
    display: none;
  }
}

.comic-detail-page {
  overflow-x: clip;
  background: #fff;
}

.comic-hero-v2 {
  position: relative;
  left: 0;
  min-height: 400px;
  width: 100%;
  margin-left: 0;
  overflow: hidden;
  isolation: isolate;
  background: #202020;
}

@media (max-width: 1480px) {
  .floating-tools .floating-qr-card {
    display: none;
  }
}

.comic-hero-bg {
  position: absolute;
  inset: -64px;
  z-index: -2;
  width: calc(100% + 128px);
  height: calc(100% + 128px);
  object-fit: cover;
  filter: blur(34px) saturate(1.18);
  opacity: .9;
  transform: scale(1.08);
}

.comic-hero-v2::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, .18), rgba(0, 0, 0, .38)),
    rgba(255, 255, 255, .18);
  backdrop-filter: blur(2px);
}

.comic-hero-inner {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 100px 0 0;
}

.comic-info-card {
  position: relative;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 28px;
  min-height: 300px;
  margin-left: 0;
  padding: 34px 36px 30px 300px;
  border-radius: 7px 7px 0 0;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
}

.comic-detail-cover {
  position: absolute;
  left: 38px;
  bottom: 30px;
  width: 244px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
}

.comic-detail-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comic-detail-info {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}

.comic-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.comic-title-row h1 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 31px;
  line-height: 1.25;
  font-weight: 500;
}

.comic-author {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.comic-title-metrics {
  display: grid;
  justify-items: end;
  gap: 8px;
  padding-top: 6px;
  white-space: nowrap;
}

.comic-score {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  white-space: nowrap;
}

.comic-score strong {
  font-size: 22px;
  font-weight: 500;
}

.comic-score span {
  display: inline-flex;
  gap: 2px;
  color: #d1d5db;
  font-size: 22px;
}

.comic-score i {
  font-style: normal;
}

.comic-score i.active {
  color: #ffb400;
}

.comic-detail-heat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #e60033;
}

.comic-detail-heat .material-symbols-outlined {
  font-size: 20px;
  font-variation-settings: "FILL" 1;
}

.comic-detail-heat strong {
  color: #4b5563;
  font-size: 15px;
  font-weight: 600;
}

.comic-meta-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.comic-meta-v2 div {
  display: inline-flex;
  gap: 4px;
}

.comic-meta-v2 dt,
.comic-meta-v2 dd {
  margin: 0;
}

.comic-meta-v2 dd {
  color: #111827;
}

.comic-summary-v2 {
  max-width: 840px;
  min-height: 46px;
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.comic-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}

.comic-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 96px;
  height: 36px;
  padding: 0 14px;
  color: #4b5563;
  border: 1px solid #d8dce2;
  border-radius: 3px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
}

.comic-action:hover {
  color: var(--theme-red);
  border-color: var(--theme-red);
}

.comic-action.primary {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.comic-action.primary:hover {
  color: #fff;
  background: var(--theme-red-dark);
}

.comic-action.favorite {
  color: #7a4d00;
  border-color: #ffd768;
  background: #ffdc65;
}

.comic-action.favorite:hover {
  color: #6b4200;
  border-color: #ffc72a;
}

.comic-action:disabled,
.comic-action.disabled {
  opacity: .65;
  cursor: not-allowed;
}

.phone-read-qr {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 132px;
  padding: 12px 10px 9px;
  color: #666;
  border: 1px solid var(--theme-line);
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}

.phone-read-qr::after {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  content: "";
  border-right: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.phone-read-qr img {
  width: 104px;
  height: 104px;
}

.phone-read-qr em {
  font-style: normal;
  font-size: 13px;
}

.comic-action.phone:hover .phone-read-qr {
  opacity: 1;
  transform: translate(-50%, 0);
}

.comic-chapter-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 30px;
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 0 56px;
}

.comic-chapter-main {
  min-width: 0;
  padding-top: 14px;
}

.chapter-head-v2 {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 52px;
  margin-bottom: 12px;
}

.chapter-head-v2 h2 {
  display: inline;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.chapter-head-v2 i {
  margin: 0 18px;
  color: #111827;
  font-style: normal;
}

.chapter-head-v2 p {
  display: inline-flex;
  gap: 8px;
  margin: 0;
  color: #111827;
  font-size: 14px;
}

.chapter-head-v2 p span {
  color: #111827;
}

.chapter-head-v2 p a,
.chapter-head-v2 p em {
  color: var(--theme-red);
  font-style: normal;
}

.chapter-head-v2 p a:hover {
  text-decoration: underline;
}

.chapter-head-v2 p b {
  color: #111827;
  font-weight: 400;
}

.chapter-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  color: #7b7f87;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.chapter-order-btn:hover {
  color: var(--theme-red);
}

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

.chapter-grid-v2 a {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  overflow: hidden;
  color: #111827;
  background: #f5f5f5;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chapter-grid-v2 a:hover {
  color: var(--theme-red);
  background: var(--theme-red-soft);
}

.chapter-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  color: #7b7f87;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.chapter-expand-btn:hover {
  color: var(--theme-red);
}

.chapter-expand-btn span {
  width: 9px;
  height: 9px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.chapter-expand-btn span.up {
  transform: rotate(225deg) translateY(-2px);
}

.chapter-empty-v2 {
  padding: 28px;
  color: #888;
  text-align: center;
  background: #f7f7f7;
}

.detail-related-v2 {
  margin-top: 34px;
  padding: 24px 22px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.detail-related-v2 header {
  margin-bottom: 16px;
}

.detail-related-v2 h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #111827;
  font-size: 24px;
}

.detail-related-v2 h2 span {
  color: var(--theme-red);
  font-size: 19px;
}

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

.detail-related-item {
  min-width: 0;
  color: #111827;
}

.detail-related-item figure {
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: #f4f4f4;
}

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

.detail-related-item strong {
  display: block;
  min-height: 44px;
  margin-top: 10px;
  overflow: hidden;
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.detail-related-item em {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: #6b7280;
  font-style: normal;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-related-item:hover strong {
  color: var(--theme-red);
}

.comic-side-v2 {
  display: grid;
  align-content: start;
  gap: 16px;
  padding-top: 8px;
}

.side-panel-v2,
.side-recommend-card {
  border: 1px solid var(--theme-line);
  background: #fff;
}

.side-panel-v2 {
  padding: 18px;
}

.side-panel-v2 h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
}

.side-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.side-topic-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  height: 38px;
  padding: 0 8px;
  overflow: hidden;
  color: #111827;
  border: 1px solid var(--theme-line);
  background: #fbfaf9;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-topic-grid a:hover {
  color: var(--theme-red);
  border-color: var(--theme-red);
}

.side-topic-grid span {
  width: 5px;
  height: 5px;
  background: var(--theme-red);
}

.side-hot-panel header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.side-hot-panel header a {
  color: #4b5563;
  font-size: 13px;
}

.side-hot-panel header a:hover {
  color: var(--theme-red);
}

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

.side-hot-item {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  color: #111827;
}

.side-hot-item b {
  position: absolute;
  left: 0;
  top: 24px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--theme-red);
  font-size: 14px;
  font-weight: 700;
}

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

.side-hot-item figure {
  width: 52px;
  aspect-ratio: 3 / 4;
  margin: 0;
  overflow: hidden;
  background: #eee;
}

.side-hot-item span {
  min-width: 0;
  align-self: center;
}

.side-hot-item strong,
.side-hot-item em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-hot-item strong {
  color: #111827;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.side-hot-item em {
  margin-top: 6px;
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
}

.side-hot-item:hover strong {
  color: var(--theme-red);
}

.side-update-panel dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.side-update-panel div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 4px;
  color: #8a8f98;
  font-size: 14px;
  line-height: 1.5;
}

.side-update-panel dt,
.side-update-panel dd {
  margin: 0;
}

.side-update-panel dd {
  min-width: 0;
  overflow: hidden;
  color: #6b7280;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-update-panel a {
  color: #6b7280;
}

.side-update-panel a:hover {
  color: var(--theme-red);
}

.side-recommend-card header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--theme-line);
}

.side-recommend-card h3 {
  margin: 0;
  font-size: 18px;
}

.side-recommend-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  color: #111827;
  border-bottom: 1px solid #f0f0f0;
}

.side-recommend-item:last-child {
  border-bottom: 0;
}

.side-recommend-item img {
  width: 52px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.side-recommend-item span {
  align-self: center;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.side-recommend-item:hover {
  color: var(--theme-red);
}

.detail-reading-info {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto 56px;
  padding: 24px 22px 22px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.detail-hlg-insight {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto 22px;
  padding: 24px 22px;
  border: 1px solid var(--theme-line);
  background: linear-gradient(135deg, #fff 0%, var(--brand-red-surface, #fff8f7) 100%);
}

.detail-hlg-insight h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.detail-hlg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.detail-hlg-grid article {
  min-width: 0;
  padding: 16px 15px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .86);
}

.detail-hlg-grid h3 {
  margin: 0 0 9px;
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
}

.detail-hlg-grid p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
}

.detail-related-item small {
  display: block;
  min-height: 38px;
  margin-top: 7px;
  overflow: hidden;
  color: #8a92a0;
  font-size: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.detail-faq-v2 {
  width: min(1200px, calc(100vw - 32px));
  margin: 0 auto 56px;
  padding: 24px 22px 22px;
  border: 1px solid var(--theme-line);
  background: #fff;
}

.detail-faq-v2 h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.detail-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-faq-list article {
  min-width: 0;
  min-height: 118px;
  padding: 18px 16px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  background: #fff;
}

.detail-faq-list h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.detail-faq-list p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
}

.detail-reading-info h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #111827;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
}

.detail-reading-info h2 span {
  color: var(--theme-red);
  font-size: 18px;
}

.reading-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.reading-info-grid article {
  min-width: 0;
  min-height: 122px;
  padding: 18px 16px;
  border: 1px solid var(--theme-line);
  border-radius: 6px;
  background: #fff;
}

.reading-info-grid h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.reading-info-grid p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
}

.reading-info-grid p + a,
.reading-info-grid article > a {
  display: inline-flex;
  margin-top: 14px;
}

.reading-info-grid a {
  color: var(--theme-red);
  font-size: 14px;
}

.reading-info-grid a:hover {
  text-decoration: underline;
}

.reading-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px !important;
}

@media (max-width: 960px) {
  .comic-hero-v2 {
    min-height: 0;
  }

  .comic-hero-inner {
    padding-top: 34px;
    padding-bottom: 24px;
  }

  .comic-info-card {
    grid-template-columns: 132px minmax(0, 1fr);
    padding: 18px;
  }

  .comic-detail-cover {
    position: static;
    width: 132px;
    grid-column: 1;
    grid-row: 1;
  }

  .comic-detail-info {
    grid-column: 2;
  }

  .comic-title-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .comic-title-row h1 {
    font-size: 24px;
  }

  .comic-chapter-wrap {
    grid-template-columns: 1fr;
  }

  .comic-side-v2 {
    display: none;
  }

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

  .detail-related-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .detail-faq-list {
    grid-template-columns: 1fr;
  }

  .reading-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .comic-info-card {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .comic-detail-cover {
    width: 104px;
  }

  .comic-title-row h1 {
    font-size: 20px;
  }

  .comic-title-metrics {
    justify-items: start;
    padding-top: 0;
  }

  .comic-summary-v2 {
    -webkit-line-clamp: 2;
  }

  .comic-action-row {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

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

  .chapter-head-v2 p {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-left: 0;
  }

  .chapter-head-v2 i {
    display: none;
  }

  .chapter-grid-v2 {
    grid-template-columns: 1fr;
  }

  .detail-related-v2 {
    padding: 18px 14px;
  }

  .detail-hlg-insight {
    padding: 18px 14px;
  }

  .detail-hlg-insight h2 {
    font-size: 20px;
  }

  .detail-hlg-grid {
    grid-template-columns: 1fr;
  }

  .detail-related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .detail-reading-info {
    padding: 18px 14px;
  }

  .detail-reading-info h2,
  .detail-faq-v2 h2 {
    font-size: 20px;
  }

  .detail-faq-v2 {
    padding: 18px 14px;
  }
}

.reader-v2 {
  min-height: 100vh;
  padding-top: 56px;
  color: #111827;
  background: #f2f2f2;
}

.reader-v2.dark {
  color: #d1d5db;
  background: #181818;
}

.reader-top-v2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 330px;
  align-items: center;
  height: 56px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  backdrop-filter: blur(12px);
}

.reader-v2.dark .reader-top-v2 {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(30, 30, 30, .94);
}

.reader-brand {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.reader-brand a:first-child {
  color: #202020;
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.reader-v2.dark .reader-brand a:first-child {
  color: #fff;
}

.reader-brand a:last-child {
  color: #7b7f87;
  font-size: 13px;
}

.reader-crumb-v2 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #7b7f87;
  font-size: 14px;
}

.reader-crumb-v2 a,
.reader-crumb-v2 strong {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-crumb-v2 a:first-child {
  color: #111827;
  font-weight: 700;
}

.reader-v2.dark .reader-crumb-v2 a:first-child {
  color: #f9fafb;
}

.reader-top-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
}

.reader-progress-pill {
  min-width: 68px;
  padding: 3px 12px;
  color: #7b7f87;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  text-align: center;
  font-size: 14px;
}

.reader-v2.dark .reader-progress-pill {
  color: #d1d5db;
  border-color: #4b5563;
  background: #232323;
}

.reader-top-tools a,
.reader-top-tools button {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-width: 38px;
  padding: 0;
  color: #7b7f87;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.reader-top-tools span {
  font-size: 25px;
  line-height: 1;
}

.reader-top-tools em {
  font-style: normal;
  font-size: 12px;
}

.reader-top-tools a:hover,
.reader-top-tools button:hover {
  color: var(--theme-red);
}

.reader-like-sidebar {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  z-index: 20;
  width: 140px;
  padding: 10px 16px 24px;
  overflow-y: auto;
  border-right: 1px solid #e9e9e9;
  background: #f7f7f7;
}

.reader-v2.dark .reader-like-sidebar {
  border-color: rgba(255, 255, 255, .08);
  background: #202020;
}

.reader-like-sidebar button {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
  padding: 0;
  color: #666;
  border: 0;
  background: transparent;
  font-size: 14px;
}

.reader-like-sidebar a {
  display: block;
  margin-bottom: 20px;
}

.reader-like-sidebar img {
  width: 100px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #eee;
}

.reader-chapter-note,
.reader-finish-panel {
  width: min(742px, calc(100vw - 340px));
  margin: 18px auto 0;
  color: #4b5563;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.reader-seo-catalog {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto;
  padding: 28px;
  border: 1px solid #e6e0dc;
  border-radius: 18px;
  background: #fff;
  color: #302824;
}

.reader-v2.dark .reader-seo-catalog {
  border-color: #3b3938;
  background: #201f1f;
  color: #f3efec;
}

.reader-seo-catalog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.reader-seo-catalog-heading h2,
.reader-seo-catalog-group h3 {
  margin: 0;
}

.reader-seo-catalog-heading p {
  margin: 8px 0 0;
  color: #766b65;
}

.reader-v2.dark .reader-seo-catalog-heading p {
  color: #b8afaa;
}

.reader-seo-catalog-heading > a {
  flex: 0 0 auto;
  color: #b53a34;
  font-weight: 700;
}

.reader-seo-catalog-group {
  margin-top: 24px;
}

.reader-seo-catalog-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.reader-seo-catalog-links a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f3f0;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-seo-catalog-links a.active,
.reader-seo-catalog-links a:hover {
  background: #f2d8d4;
  color: #8f2925;
}

.reader-v2.dark .reader-seo-catalog-links a {
  background: #2c2a29;
}

.reader-v2.dark .reader-seo-catalog-links a.active,
.reader-v2.dark .reader-seo-catalog-links a:hover {
  background: #4b302e;
  color: #ffd6d1;
}

.reader-seo-catalog-links small {
  color: #8b817c;
  font-size: 11px;
}

@media (max-width: 900px) {
  .reader-seo-catalog-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .reader-seo-catalog { width: calc(100% - 24px); padding: 20px 16px; }
  .reader-seo-catalog-heading { display: block; }
  .reader-seo-catalog-heading > a { display: inline-block; margin-top: 12px; }
  .reader-seo-catalog-links { grid-template-columns: 1fr; }
}

.reader-latest-desktop-tip {
  display: flex;
  width: min(742px, calc(100vw - 340px));
  align-items: center;
  gap: 14px;
  margin: 18px auto 0;
  padding: 12px 14px;
  color: #4b5563;
  border: 1px solid rgba(230, 0, 57, .25);
  border-radius: 8px;
  background: #fff7f8;
}

.reader-latest-desktop-tip div {
  display: grid;
  min-width: 0;
  gap: 3px;
  flex: 1;
}

.reader-latest-desktop-tip strong {
  color: #291716;
  font-size: 14px;
}

.reader-latest-desktop-tip span {
  font-size: 12px;
}

.reader-latest-desktop-tip a {
  padding: 7px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--theme-red);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.reader-latest-desktop-tip button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  color: #765d61;
  border: 0;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

.reader-chapter-note {
  padding: 14px 16px;
}

.reader-v2.dark .reader-chapter-note,
.reader-v2.dark .reader-finish-panel {
  color: #d1d5db;
  border-color: #303030;
  background: #202020;
}

.reader-chapter-note p,
.reader-finish-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.reader-chapter-note div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.reader-chapter-note a,
.reader-chapter-note button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  color: var(--theme-red);
  border: 1px solid rgba(230, 0, 57, .32);
  border-radius: 3px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
}

.reader-chapter-note a:hover,
.reader-chapter-note button:hover {
  color: #fff;
  border-color: var(--theme-red);
  background: var(--theme-red);
}

.reader-stage-v2 {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 56px);
}

.reader-page-wrap {
  position: relative;
  width: min(742px, calc(100vw - 340px));
  min-height: calc(100vh - 56px);
  padding-bottom: 56px;
  background: #fff;
}

.reader-v2.dark .reader-page-wrap {
  background: #111;
}

.reader-page-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  background: #f1f1f1;
}

.reader-page-image + .reader-page-image {
  margin-top: 0;
}

.reader-finish-panel {
  margin-bottom: 28px;
  padding: 22px;
}

.reader-finish-panel h2 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 700;
}

.reader-v2.dark .reader-finish-panel h2 {
  color: #f3f4f6;
}

.reader-finish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.reader-finish-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  color: var(--theme-red);
  border: 1px solid var(--theme-red);
  border-radius: 3px;
  background: #fff;
  font-size: 14px;
}

.reader-v2.dark .reader-finish-actions a {
  background: #202020;
}

.reader-finish-actions a:hover,
.reader-finish-actions .primary {
  color: #fff;
  background: var(--theme-red);
}

.reader-finish-recs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.reader-finish-recs a {
  min-width: 0;
  color: inherit;
}

.reader-finish-recs img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #eee;
}

.reader-finish-recs span {
  display: block;
  margin-top: 8px;
  overflow: hidden;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-v2.dark .reader-finish-recs span {
  color: #f3f4f6;
}

.reader-catalog-mask {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(0, 0, 0, .18);
}

.reader-catalog-panel {
  position: fixed;
  top: 50%;
  right: 82px;
  z-index: 90;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 390px;
  max-width: calc(100vw - 92px);
  height: min(835px, calc(100vh - 92px));
  color: #333;
  border: 1px solid #dadada;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
  transform: translateY(-50%);
}

.reader-v2.dark .reader-catalog-mask {
  background: rgba(0, 0, 0, .38);
}

.reader-v2.dark .reader-catalog-panel {
  color: #d7d7d7;
  border-color: #333;
  background: #1d1d1f;
}

.reader-catalog-panel header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 12px;
  align-items: center;
  height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid #e5e5e5;
}

.reader-v2.dark .reader-catalog-panel header {
  border-bottom-color: #303034;
}

.reader-catalog-panel h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}

.reader-v2.dark .reader-catalog-panel h2 {
  color: #f2f2f2;
}

.reader-catalog-panel header span {
  color: #777;
  font-size: 14px;
}

.reader-v2.dark .reader-catalog-panel header span {
  color: #aaa;
}

.reader-catalog-panel header button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.catalog-order-btn {
  height: 26px;
  color: #555;
  font-size: 13px;
}

.reader-v2.dark .catalog-order-btn {
  color: #aaa;
}

.catalog-order-btn:hover {
  color: var(--theme-red);
}

.catalog-close-btn {
  width: 26px;
  height: 26px;
  color: #777;
  font-size: 24px;
  line-height: 1;
}

.reader-v2.dark .catalog-close-btn {
  color: #aaa;
}

.catalog-close-btn:hover {
  color: #fff;
}

.reader-v2:not(.dark) .catalog-close-btn:hover {
  color: #111827;
}

.reader-catalog-list {
  min-height: 0;
  padding: 8px 12px 14px 8px;
  overflow-y: auto;
  scrollbar-color: #bdbdbd #f5f5f5;
  scrollbar-width: thin;
}

.reader-catalog-list::-webkit-scrollbar {
  width: 12px;
}

.reader-catalog-list::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.reader-catalog-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #bdbdbd;
}

.reader-catalog-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  color: #333;
  border-bottom: 1px solid #eeeeee;
}

.reader-v2.dark .reader-catalog-list a {
  color: #d8d8d8;
  border-bottom-color: #2b2b2e;
}

.reader-catalog-list a.active,
.reader-catalog-list a:hover {
  background: #f3f3f3;
}

.reader-v2.dark .reader-catalog-list a.active,
.reader-v2.dark .reader-catalog-list a:hover {
  background: #2d2d30;
}

.reader-catalog-list span {
  color: #888;
  font-size: 16px;
}

.reader-catalog-list strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 16px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-float-tools {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 40;
  display: grid;
  overflow: hidden;
  width: 68px;
  padding: 12px 0;
  border-radius: 16px 0 0 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  transform: translateY(-50%);
}

.reader-v2.dark .reader-float-tools {
  background: rgba(35, 35, 35, .94);
}

.reader-float-tools a,
.reader-float-tools button,
.reader-float-tools > span {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-height: 56px;
  padding: 5px 0;
  color: #7b7f87;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.reader-float-tools > span {
  cursor: not-allowed;
  opacity: .45;
}

.reader-float-tools span span,
.reader-float-tools a span,
.reader-float-tools button span {
  font-size: 28px;
  line-height: 1;
}

.reader-float-tools em {
  font-style: normal;
  font-size: 12px;
}

.reader-float-tools a:hover,
.reader-float-tools button:hover {
  color: var(--theme-red);
}

.reader-bottom-v2 {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 24px 16px 60px;
}

.reader-bottom-v2 a,
.reader-bottom-v2 button,
.reader-bottom-v2 span {
  min-width: 98px;
  height: 38px;
  padding: 0 16px;
  color: var(--theme-red);
  border: 1px solid var(--theme-red);
  border-radius: 3px;
  background: #fff;
  text-align: center;
  line-height: 36px;
  cursor: pointer;
}

.reader-bottom-v2 .primary {
  color: #fff;
  background: var(--theme-red);
}

.reader-bottom-v2 span {
  color: #aaa;
  border-color: #ddd;
  cursor: not-allowed;
}

.reader-site-shell {
  width: 100%;
  min-width: 0;
  background: #181818;
}

.reader-site-shell .reader-top-v2 {
  top: 66px;
}

.reader-site-shell .reader-like-sidebar {
  top: 122px;
}

.reader-site-shell .df-account-footer {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .reader-top-v2 {
    grid-template-columns: 190px minmax(0, 1fr) 260px;
    padding: 0 16px;
  }

  .reader-brand a:first-child {
    font-size: 24px;
  }

  .reader-like-sidebar {
    display: none;
  }

  .reader-page-wrap {
    width: min(742px, calc(100vw - 120px));
  }

  .reader-chapter-note,
  .reader-finish-panel {
    width: min(742px, calc(100vw - 120px));
  }
}

@media (max-width: 760px) {
  .reader-v2 {
    padding-top: 92px;
  }

  .reader-top-v2 {
    grid-template-columns: 1fr;
    height: 92px;
    gap: 8px;
    padding: 8px 14px;
  }

  .reader-brand {
    justify-content: space-between;
  }

  .reader-crumb-v2 {
    justify-content: flex-start;
  }

  .reader-top-tools {
    display: none;
  }

  .reader-page-wrap {
    width: 100%;
  }

  .reader-chapter-note,
  .reader-finish-panel {
    width: calc(100% - 24px);
  }

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

  .reader-float-tools {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: auto;
    padding: 4px 0;
    border-radius: 14px 14px 0 0;
    transform: none;
  }

  .reader-float-tools a,
  .reader-float-tools button,
  .reader-float-tools > span {
    min-height: 48px;
  }

  .reader-catalog-panel {
    top: 104px;
    left: 12px;
    right: auto;
    max-width: calc(100vw - 24px);
    height: calc(100vh - 170px);
    transform: none;
  }

  .reader-page-image + .reader-page-image {
    margin-top: 0;
  }

  .reader-site-shell .reader-top-v2 {
    top: 96px;
  }

  .reader-site-shell .reader-like-sidebar {
    top: 188px;
  }

  .reader-bottom-v2 {
    flex-wrap: wrap;
    padding-bottom: 86px;
  }
}

/* Detail page station overrides must stay after the base detail/reader styles. */
.comic-detail-page.site-female {
  background: linear-gradient(180deg, var(--brand-red-soft) 0, #fff 420px);
}

.comic-detail-page.site-female .comic-hero-v2 {
  min-height: 390px;
}

.comic-detail-page.site-female .comic-hero-v2::before {
  background:
    linear-gradient(90deg, rgba(255, 245, 248, .8), rgba(255, 255, 255, .2) 46%, rgba(255, 236, 243, .76)),
    rgba(255, 255, 255, .18);
}

.comic-detail-page.site-female .comic-info-card {
  border: 1px solid rgba(255, 216, 226, .9);
  border-radius: 22px 22px 0 0;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 60px rgba(var(--theme-red-rgb), .12);
}

.comic-detail-page.site-female .comic-detail-cover,
.comic-detail-page.site-female .comic-detail-cover img {
  border-radius: 16px;
}

.comic-detail-page.site-female .comic-action.primary,
.comic-detail-page.site-female .comic-action.favorite,
.comic-detail-page.site-female .chapter-expand-btn {
  border-radius: 999px;
}

.comic-detail-page.site-female .comic-action.favorite {
  background: #fff0c9;
}

.comic-detail-page.site-female .detail-section-chapters,
.comic-detail-page.site-female .detail-related-v2,
.comic-detail-page.site-female .detail-reading-info,
.comic-detail-page.site-female .side-panel-v2 {
  border-color: var(--brand-red-line);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(var(--theme-red-rgb), .06);
}

.comic-detail-page.site-female .chapter-grid-v2 a {
  border-radius: 10px;
  background: var(--brand-red-soft);
}

.comic-detail-page.site-female .chapter-grid-v2 a:hover {
  color: #fff;
  background: var(--theme-red);
}

/* Compact tablet header keeps each navigation label on one line. */
@media (min-width: 761px) and (max-width: 1180px) {
  .df-topbar-inner { gap: 14px; }
  .df-topbar-left { gap: 18px; flex-shrink: 0; }
  .df-topbar-nav { gap: 4px; }
  .df-topbar-nav a { padding-inline: 10px; font-size: 14px; }
  .df-topbar-actions { gap: 10px; flex-shrink: 0; }
  .df-topbar-search { display: none; }
  .df-topbar-search-compact { display: block; position: relative; }
  .df-topbar-search-compact summary { width: 36px; height: 38px; display: grid; place-items: center; list-style: none; border-radius: 10px; color: var(--theme-red); background: var(--theme-red-surface); font-size: 24px; cursor: pointer; }
  .df-topbar-search-compact summary::-webkit-details-marker { display: none; }
  .df-topbar-search-compact summary:focus-visible { outline: 2px solid var(--theme-red); outline-offset: 3px; }
  .df-topbar-search-panel { position: absolute; top: calc(100% + 12px); right: 0; width: min(320px, calc(100vw - 48px)); display: flex; gap: 8px; padding: 12px; border: 1px solid #f0dde1; border-radius: 12px; background: #fff; box-shadow: 0 8px 28px #402b2b18; }
  .df-topbar-search-panel input { flex: 1; min-width: 0; width: 0; padding: 9px; border: 1px solid #eadde0; border-radius: 7px; font-size: 16px; color: #291716; background: #fff; }
  .df-topbar-search-panel button { flex-shrink: 0; padding: 8px 12px; border: 0; border-radius: 7px; color: #fff; background: var(--theme-red); cursor: pointer; }
}
@media (min-width: 761px) and (max-width: 820px) {
  .df-topbar-left { gap: 12px; }
  .df-topbar-nav a { padding-inline: 8px; }
}


/* Large portrait tablets need the same two-card reading space as small tablets. */
@media (min-width:921px) and (max-width:1199px){
 .rank-kk-page .rank-detail-list,
 .rank-kk-page.site-female .rank-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rank-kk-page .rank-detail-item{grid-template-columns:156px minmax(0,1fr)}
}

@media (max-width:760px){
  .mobile-home-bottom-nav,
  .mobile-category-bottom-nav,
  .mobile-shelf-bottom,
  .mobile-profile-bottom{height:64px;padding:0 0 env(safe-area-inset-bottom)}

  .mobile-home-bottom-nav a,
  .mobile-category-bottom-nav a,
  .mobile-shelf-bottom a,
  .mobile-profile-bottom a{display:grid;align-content:center;justify-items:center;gap:3px;font-size:10px;font-weight:600}

  .mobile-home-bottom-nav svg,
  .mobile-category-bottom-nav svg,
  .mobile-shelf-bottom svg,
  .mobile-profile-bottom svg{width:21px;height:21px}

  .mobile-shelf-bottom span,
  .mobile-profile-bottom span{font-size:10px}
}

@media (max-width:760px){
  .df-account-design-page:has(.mobile-profile-redesign){min-height:100dvh;padding-top:0!important;background:#fff8f7}.df-account-design-page:has(.mobile-profile-redesign)>.df-topbar,.df-account-design-page:has(.mobile-profile-redesign)>.df-profile-main,.df-account-design-page:has(.mobile-profile-redesign)>.df-account-footer{display:none}
  .mobile-profile-redesign{min-height:100dvh;padding:0 0 76px;background:#fff8f7;color:#24202a;font-family:Arial,"Microsoft YaHei",sans-serif}.mpr-topbar{position:sticky;z-index:20;top:0;height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;background:rgba(255,248,247,.92);box-shadow:0 1px 5px rgba(0,0,0,.04);backdrop-filter:blur(12px)}.mpr-topbar>strong,.mpr-brand strong{color:#b80029;font-size:15px;font-weight:800}.mpr-brand{display:flex;align-items:center;gap:9px}.mpr-brand>span{color:#b80029;font-size:19px}.mpr-topbar nav{display:flex;gap:10px}.mpr-topbar nav a{display:grid;width:32px;height:32px;place-items:center;color:#b80029}.mpr-topbar nav span{font-size:19px}
  .mpr-main{max-width:420px;margin:0 auto;padding:28px 20px}.mpr-main.member{padding-top:19px}.mpr-avatar{position:relative;width:72px;height:72px;flex:0 0 72px;border:4px solid #fff;border-radius:50%;background:#f2e8e8;box-shadow:0 3px 10px rgba(0,0,0,.15)}.mpr-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.mpr-avatar i{position:absolute;right:-7px;bottom:-5px;padding:3px 5px;border:2px solid white;border-radius:99px;background:#e60031;color:#fff;font-size:9px;font-style:normal;font-weight:700}.mpr-avatar.guest{width:88px;height:88px;flex-basis:88px}.mpr-avatar.guest i{display:grid;width:22px;height:22px;padding:0;place-items:center;font-size:16px}.mpr-guest-head{display:flex;align-items:center;flex-direction:column;padding:0 0 27px}.mpr-guest-head h1{margin:14px 0 18px;color:#655e65;font-size:14px}.mpr-login{display:flex;width:min(100%,280px);height:39px;align-items:center;justify-content:center;border-radius:7px;background:#e60031;color:#fff;font-size:12px;font-weight:700;box-shadow:0 5px 12px rgba(230,0,49,.18)}
  .mpr-member-head{display:flex;align-items:center;gap:13px;margin-bottom:20px}.mpr-member-main{display:flex;align-items:center;gap:13px;min-width:0;flex:1;color:inherit}.mpr-user{min-width:0;flex:1}.mpr-user h1{overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500}.mpr-user p{margin:5px 0 0;color:#938a91;font-size:9px}.mpr-user em{margin-right:7px;padding:2px 6px;border-radius:99px;background:#ffe5e9;color:#c8002a;font-style:normal}.mpr-setting{display:grid;width:32px;height:32px;place-items:center;border-radius:50%;background:#fff;color:#554d54;box-shadow:0 2px 7px rgba(0,0,0,.08)}.mpr-setting span{font-size:18px}
  .mpr-recent{margin-bottom:21px}.mpr-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:#28222a}.mpr-heading h2,.mpr-tools h2{margin:0;font-size:13px;font-weight:700}.mpr-heading span{color:#8b838a;font-size:15px}.mpr-recent-card{display:flex;height:90px;overflow:hidden;border:1px solid rgba(230,0,49,.05);border-radius:10px;background:#fff;color:#29232b;box-shadow:0 4px 14px rgba(0,0,0,.1)}.mpr-recent-card>img{width:67px;object-fit:cover}.mpr-recent-card>div{min-width:0;flex:1;padding:12px}.mpr-recent-card h3{overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.mpr-recent-card p{margin:6px 0 12px;color:#8d848a;font-size:9px}.mpr-recent-card b{display:block;width:calc(100% - 20px);height:3px;border-radius:99px;background:#f0e8e9}.mpr-recent-card b i{display:block;width:78%;height:100%;border-radius:99px;background:#e60031}.mpr-recent-card>em{align-self:flex-end;display:grid;width:24px;height:24px;margin:0 9px 12px 0;place-items:center;border-radius:50%;background:#df002d;color:#fff;font-size:14px;font-style:normal}.mpr-empty-recent{display:flex;height:70px;align-items:center;justify-content:center;border-radius:10px;background:#fff;color:#8c8389;font-size:11px;box-shadow:0 4px 14px rgba(0,0,0,.06)}
  .mpr-tools{margin-bottom:21px}.mpr-tools h2{margin-bottom:10px}.mpr-tools>div{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mpr-tools a{display:flex;align-items:center;flex-direction:column;gap:6px;color:#3c353d;font-size:9px}.mpr-tools a>span{display:grid;width:42px;height:42px;place-items:center;border:1px solid #f0e8e8;border-radius:11px;background:#fff;color:#d9002d;font-size:19px;box-shadow:0 2px 5px rgba(0,0,0,.025)}.mpr-tools a:nth-child(2)>span{color:#5e5967}.mpr-tools a:nth-child(3)>span{color:#835c43}.mpr-tools a:nth-child(4)>span{color:#827b80}.mpr-tools small{font-size:9px}
  .mpr-list{overflow:hidden;border:1px solid rgba(255,255,255,.85);border-radius:10px;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.03)}.mpr-list>*{display:flex;min-height:48px;align-items:center;padding:0 13px;border-bottom:1px solid #f3edee;color:#302b31;font-size:11px}.mpr-list>*:last-child{border:0}.mpr-list span{width:27px;color:#777078;font-size:17px}.mpr-list span.primary{color:#d7002d}.mpr-list b{font-weight:500}.mpr-list i{margin-left:auto;color:#a39ba0;font-size:18px;font-style:normal}.mpr-logout{display:block;width:100%;margin-top:14px;padding:11px;border:0;border-radius:10px;background:transparent;color:#d6002c;font-size:11px}.mpr-version{margin:18px 0 0;text-align:center;color:#aaa1a4;font-size:8px}
  .mpr-bottom{position:fixed;z-index:20;bottom:0;left:0;right:0;display:grid;height:64px;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid rgba(235,215,215,.8);background:rgba(255,250,249,.94);box-shadow:0 -4px 18px rgba(0,0,0,.035);backdrop-filter:blur(12px)}.mpr-bottom a{display:grid;align-content:center;justify-items:center;gap:3px;color:#625b62;font-size:10px;font-weight:600}.mpr-bottom span{font-size:21px}.mpr-bottom small{font-size:10px}.mpr-bottom a.active{color:#d6002c}.mpr-bottom a.active span{font-variation-settings:'FILL' 1}
}
@media (min-width:761px){.mobile-profile-redesign{display:none}}

@media (max-width:760px){
  .mcd-share{margin-top:14px}
  .df-account-design-page:has(.mobile-comic-detail){padding-top:0!important;background:#fff8f7}.df-account-design-page:has(.mobile-comic-detail)>.df-topbar,.df-account-design-page:has(.mobile-comic-detail)>.df-account-footer,.df-account-design-page:has(.mobile-comic-detail)>.floating-tools{display:none}.comic-detail-page{display:none}.mobile-comic-detail{display:block;min-height:100dvh;padding:0 0 144px;background:#fff8f7;color:#291716;font-family:"Hanken Grotesk","Microsoft YaHei",Arial,sans-serif}.mcd-topbar{position:fixed;z-index:30;top:0;left:0;right:0;height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;color:#fff}.mcd-topbar>button,.mcd-topbar>div button{display:grid;width:40px;height:40px;place-items:center;border:0;border-radius:50%;background:rgba(0,0,0,.2);color:inherit;backdrop-filter:blur(8px)}.mcd-topbar>strong{overflow:hidden;max-width:160px;opacity:0;white-space:nowrap;text-overflow:ellipsis;font-size:14px}.mcd-topbar>div{display:flex;gap:8px}.mcd-topbar span{font-size:20px}.mcd-hero{position:relative;display:flex;height:390px;align-items:flex-end;justify-content:center;overflow:hidden}.mcd-hero-bg{position:absolute;inset:-20px;width:calc(100% + 40px);height:calc(100% + 40px);object-fit:cover;filter:blur(20px);opacity:.3;transform:scale(1.1)}.mcd-hero-fade{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(255,248,247,0) 0%,rgba(255,248,247,.8) 60%,#fff8f7 100%)}.mcd-hero-content{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;padding:0 16px 30px;text-align:center}.mcd-cover{width:112px;height:149px;margin-bottom:17px;border-radius:12px;object-fit:cover;box-shadow:0 13px 25px rgba(41,23,22,.28)}.mcd-hero h1{max-width:340px;overflow:hidden;margin:0 0 7px;white-space:nowrap;text-overflow:ellipsis;font-family:"Be Vietnam Pro","Microsoft YaHei",sans-serif;font-size:19px;font-weight:700}.mcd-hero p{display:flex;align-items:center;gap:8px;margin:0;color:#5d3f3d;font-size:11px}.mcd-hero p b{padding:3px 8px;border-radius:7px;background:rgba(172,0,30,.1);color:#ac001e;font-size:10px;font-weight:600}.mcd-heat{display:inline-flex;align-items:center;gap:2px;color:#ac001e;font-weight:700}.mcd-heat .material-symbols-outlined{font-size:14px;font-variation-settings:'FILL' 1}.mcd-tabs{position:sticky;z-index:20;top:56px;display:flex;height:57px;padding:0 16px;border-bottom:1px solid #fddbd8;background:rgba(255,248,247,.92);backdrop-filter:blur(12px)}.mcd-tabs button{position:relative;flex:1;border:0;background:transparent;color:#5d3f3d;font-size:13px}.mcd-tabs button.active{color:#ac001e;font-weight:700}.mcd-tabs button.active:after{position:absolute;bottom:-1px;left:calc(50% - 12px);width:24px;height:3px;border-radius:99px;background:#ac001e;content:""}.mcd-main{padding:24px 16px}.mcd-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:27px}.mcd-tags span{padding:5px 12px;border-radius:999px;background:#ffe9e7;color:#5d3f3d;font-size:11px}.mcd-section h2{margin:0 0 12px;font-family:"Be Vietnam Pro","Microsoft YaHei",sans-serif;font-size:15px}.mcd-summary{position:relative;margin-bottom:26px}.mcd-summary p{display:-webkit-box;overflow:hidden;margin:0;color:#5d3f3d;font-size:13px;line-height:1.7;-webkit-box-orient:vertical;-webkit-line-clamp:3}.mcd-summary p.expanded{display:block}.mcd-summary button{margin-top:5px;padding:0;border:0;background:transparent;color:#ac001e;font-size:12px;font-weight:700}.mcd-author{margin:0 0 29px;color:#5d3f3d;font-size:12px;line-height:1.5}.mcd-related header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.mcd-related header h2{margin:0}.mcd-related header a{color:#5d3f3d}.mcd-related>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 12px}.mcd-related a{min-width:0;color:inherit;text-decoration:none}.mcd-related figure{position:relative;aspect-ratio:3/4;margin:0 0 8px;overflow:hidden;border-radius:8px;background:#ffe9e7}.mcd-related img{width:100%;height:100%;object-fit:cover}.mcd-related figure b{position:absolute;top:4px;left:4px;padding:2px 4px;border-radius:3px;background:#ac001e;color:#fff;font-size:8px}.mcd-related a>strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:11px}.mcd-sort{display:flex;width:100%;align-items:center;justify-content:space-between;margin-bottom:12px;padding:0 8px;border:0;background:transparent;color:#5d3f3d;font-size:12px}.mcd-chapter{display:flex;min-height:65px;align-items:center;gap:14px;padding:0 8px;border-bottom:1px solid rgba(253,219,216,.55);color:#291716;text-decoration:none;content-visibility:auto;contain-intrinsic-size:auto 65px}.mcd-chapter>b{width:28px;color:#5d3f3d;font-size:12px;font-weight:500}.mcd-chapter div{display:grid;gap:4px;flex:1;min-width:0}.mcd-chapter strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.mcd-chapter small{color:#926e6c;font-size:10px}.mcd-chapter>span{color:#926e6c;font-size:18px}.mcd-empty{padding:45px 0;text-align:center;color:#926e6c;font-size:12px}.mcd-reader-bar{position:fixed;z-index:40;bottom:64px;left:0;right:0;display:flex;gap:12px;padding:12px 16px;border-top:1px solid rgba(253,219,216,.3);background:rgba(255,248,247,.96);backdrop-filter:blur(14px)}.mcd-favorite{display:grid;width:82px;place-items:center;gap:1px;border:1px solid #e7bcba;border-radius:12px;background:transparent;color:#5d3f3d}.mcd-favorite span{font-size:20px}.mcd-favorite span.filled,.filled{font-variation-settings:'FILL' 1}.mcd-favorite small{font-size:10px;font-weight:700}.mcd-read{display:flex;flex:1;align-items:center;justify-content:center;gap:7px;overflow:hidden;padding:0 10px;border-radius:12px;background:#ac001e;color:#fff;white-space:nowrap;text-overflow:ellipsis;text-decoration:none;font-size:12px;font-weight:700;box-shadow:0 8px 18px rgba(172,0,30,.2)}.mcd-read span{font-size:19px}.mcd-bottom{position:fixed;z-index:45;bottom:0;left:0;right:0;display:grid;height:64px;grid-template-columns:repeat(4,1fr);border-radius:12px 12px 0 0;background:#fff8f7;box-shadow:0 -4px 20px rgba(0,0,0,.04)}.mcd-bottom a{display:grid;align-content:center;justify-items:center;gap:3px;color:#5b5d74;text-decoration:none}.mcd-bottom span{font-size:20px}.mcd-bottom small{font-size:10px}.mcd-bottom a:first-child{border-top:2px solid #ac001e;color:#ac001e;font-weight:700}
  .mcd-chapter.is-locked>span{color:#b8b2b4;font-size:9px;font-variation-settings:'FILL' 1}
}
@media (min-width:761px){.mobile-comic-detail{display:none}}

.latest-app-modal-backdrop{position:fixed;z-index:10000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(32,16,18,.62);backdrop-filter:blur(7px)}
.latest-app-modal{position:relative;display:flex;width:min(420px,calc(100vw - 32px));align-items:center;flex-direction:column;padding:32px 28px 26px;border:1px solid rgba(231,188,186,.72);border-radius:24px;background:#fff8f7;color:#291716;text-align:center;box-shadow:0 24px 70px rgba(41,23,22,.3);font-family:"Hanken Grotesk","Microsoft YaHei",Arial,sans-serif}
.latest-app-modal-close{position:absolute;top:12px;right:12px;display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:50%;background:#fff0ef;color:#5d3f3d;cursor:pointer}.latest-app-modal-close span{font-size:20px}
.latest-app-modal-icon{display:grid;width:58px;height:58px;margin-bottom:14px;place-items:center;border-radius:18px;background:#ffe1df;color:#ac001e}.latest-app-modal-icon span{font-size:31px;font-variation-settings:'FILL' 1}
.latest-app-modal h2{margin:0 0 10px;font-family:"Be Vietnam Pro","Microsoft YaHei",sans-serif;font-size:22px;line-height:30px}.latest-app-modal p{max-width:340px;margin:0 0 20px;color:#5d3f3d;font-size:15px;line-height:1.65;text-align:center}.latest-app-modal p span{display:block}
.latest-app-modal-qr{display:block;width:148px;height:148px;padding:10px;border:1px solid #f4d2d0;border-radius:16px;background:#fff}.latest-app-modal>small{margin-top:8px;color:#926e6c;font-size:11px}
.latest-app-modal-actions{display:grid;width:100%;gap:10px;margin-top:22px}.latest-app-modal-actions a,.latest-app-modal-actions button{display:flex;min-height:46px;align-items:center;justify-content:center;border-radius:12px;font-size:14px;font-weight:700;text-decoration:none;cursor:pointer}.latest-app-modal-actions a{border:1px solid #ac001e;background:#ac001e;color:#fff;box-shadow:0 8px 20px rgba(172,0,30,.2)}.latest-app-modal-actions button{border:1px solid #e7bcba;background:transparent;color:#5d3f3d}
.latest-app-modal-enter-active,.latest-app-modal-leave-active{transition:opacity .2s ease}.latest-app-modal-enter-active .latest-app-modal,.latest-app-modal-leave-active .latest-app-modal{transition:transform .2s ease,opacity .2s ease}.latest-app-modal-enter-from,.latest-app-modal-leave-to{opacity:0}.latest-app-modal-enter-from .latest-app-modal,.latest-app-modal-leave-to .latest-app-modal{opacity:0;transform:translateY(12px) scale(.97)}

@media (max-width:760px){.latest-app-modal{padding:29px 22px 22px;border-radius:20px}.latest-app-modal h2{font-size:20px}.latest-app-modal p{font-size:14px}.latest-app-modal-qr{width:136px;height:136px}}

.reader-app-exclusive-page{min-height:100dvh;background:radial-gradient(circle at 50% 18%,#ffe1df 0,#fff8f7 34%,#f8f9fa 100%);color:#291716;font-family:"Hanken Grotesk","Microsoft YaHei",Arial,sans-serif}.reader-app-exclusive-page>header{display:grid;height:64px;grid-template-columns:80px 1fr 80px;align-items:center;padding:0 22px;border-bottom:1px solid rgba(231,188,186,.5);background:rgba(255,248,247,.85);backdrop-filter:blur(14px)}.reader-app-exclusive-page>header a{display:grid;width:40px;height:40px;place-items:center;border-radius:50%;color:#5d3f3d;text-decoration:none}.reader-app-exclusive-page>header strong{text-align:center;color:#ac001e;font-size:18px}.reader-app-exclusive-page>header>span{justify-self:end;color:#926e6c;font-size:12px;font-weight:700}.reader-app-exclusive-page>main{display:grid;min-height:calc(100dvh - 64px);place-items:center;padding:32px 16px}.reader-app-exclusive-card{display:flex;width:min(520px,100%);align-items:center;flex-direction:column;padding:44px 32px;border:1px solid rgba(231,188,186,.62);border-radius:28px;background:rgba(255,255,255,.88);text-align:center;box-shadow:0 22px 60px rgba(41,23,22,.12)}.reader-app-exclusive-icon{display:grid;width:72px;height:72px;margin-bottom:18px;place-items:center;border-radius:22px;background:#ffe1df;color:#ac001e}.reader-app-exclusive-icon span{font-size:36px;font-variation-settings:'FILL' 1}.reader-app-exclusive-card>small{color:#926e6c;font-size:13px}.reader-app-exclusive-card h1{margin:8px 0 14px;font-family:"Be Vietnam Pro","Microsoft YaHei",sans-serif;font-size:26px;line-height:1.35}.reader-app-exclusive-card p{max-width:390px;margin:0 0 24px;color:#5d3f3d;font-size:15px;line-height:1.7;text-align:center}.reader-app-exclusive-card p span{display:block}.reader-app-exclusive-card button{width:min(300px,100%);min-height:48px;border:0;border-radius:12px;background:#ac001e;color:#fff;font-size:14px;font-weight:700;box-shadow:0 9px 22px rgba(172,0,30,.2);cursor:pointer}.reader-app-exclusive-card>a{margin-top:16px;color:#5d3f3d;font-size:13px;text-decoration:none}

@media (max-width:760px){.reader-app-exclusive-page>header{height:56px;grid-template-columns:64px 1fr 64px;padding:0 12px}.reader-app-exclusive-page>header strong{font-size:15px}.reader-app-exclusive-page>main{min-height:calc(100dvh - 56px);padding:24px 16px}.reader-app-exclusive-card{padding:34px 22px;border-radius:22px}.reader-app-exclusive-card h1{font-size:21px}.reader-app-exclusive-card p{font-size:14px}}

.reader-app-exclusive-card{width:min(680px,100%);padding:32px}.reader-latest-preview-image{display:block;width:min(420px,100%);max-height:520px;margin:0 auto 22px;object-fit:contain;background:#f3f3f3}.reader-latest-summary{max-width:540px!important;margin-bottom:18px!important;text-align:left!important}.reader-latest-meta{display:grid;width:min(540px,100%);grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 18px;border-top:1px solid #f0dedd;border-bottom:1px solid #f0dedd}.reader-latest-meta div{padding:12px}.reader-latest-meta div+div{border-left:1px solid #f0dedd}.reader-latest-meta dt{color:#926e6c;font-size:12px}.reader-latest-meta dd{margin:4px 0 0;color:#291716;font-size:14px;font-weight:700}.reader-latest-links{display:flex;width:min(540px,100%);gap:10px;margin-bottom:18px}.reader-latest-links a{display:inline-flex;min-height:42px;flex:1;align-items:center;justify-content:center;border:1px solid #ac001e;border-radius:8px;color:#ac001e;text-decoration:none;font-size:14px;font-weight:700}.reader-latest-access-note{margin-bottom:16px!important;color:#765553!important;font-size:13px!important}.reader-device-check-page .reader-latest-access-note{margin-bottom:0!important}

@media (max-width:760px){.reader-app-exclusive-card{padding:20px 16px 28px;border-radius:8px}.reader-latest-preview-image{max-height:440px;margin-bottom:18px}.reader-latest-meta{grid-template-columns:1fr}.reader-latest-meta div+div{border-top:1px solid #f0dedd;border-left:0}.reader-latest-links{flex-direction:column}.reader-latest-links a{flex:none}}

@media (max-width:760px){
  .mcd-summary{margin-bottom:18px}.mcd-app-banner{position:relative;display:flex;min-height:124px;align-items:center;justify-content:space-between;gap:10px;overflow:hidden;margin:0 0 22px;padding:18px 18px 16px;border-radius:18px;background:linear-gradient(120deg,#f00036,#bd002a);color:#fff;text-decoration:none}.mcd-app-banner:before,.mcd-app-banner:after{position:absolute;border-radius:50%;background:rgba(255,255,255,.1);content:""}.mcd-app-banner:before{right:-48px;top:-68px;width:170px;height:170px}.mcd-app-banner:after{right:70px;bottom:-78px;width:130px;height:130px}.mcd-app-banner>div{position:relative;z-index:1;display:grid;gap:4px;min-width:0}.mcd-app-banner small{font-size:10px;font-weight:700}.mcd-app-banner strong{font-size:17px;line-height:1.25}.mcd-app-banner p{margin:0;font-size:10px;line-height:1.5}.mcd-app-banner b{width:max-content;margin-top:5px;padding:6px 13px;border-radius:999px;background:#fff;color:#d00031;font-size:10px}.mcd-app-banner img{position:relative;z-index:1;width:76px;height:76px;flex:0 0 76px;padding:6px;border-radius:10px;background:#fff}
}

@media (max-width:760px){
  .mcd-hero{height:315px}
  .mcd-hero-content{padding:0 16px 18px}
  .mcd-cover{width:96px;height:128px;margin-bottom:12px;border-radius:10px}
  .mcd-hero h1{font-size:18px}
  .mcd-tabs{height:52px}
  .mcd-main{padding:18px 16px}
  .mcd-tags{margin-bottom:18px}
  .mcd-summary{margin-bottom:16px}
  .mcd-author{margin:0 0 14px}
  .mcd-share{margin:0 0 22px}
  .mcd-related{margin-bottom:22px}
  .mcd-app-banner{min-height:82px;margin:26px 0 0;padding:13px 15px;border-radius:14px}
  .mcd-app-banner strong{font-size:14px}
  .mcd-app-banner p{display:none}
  .mcd-app-banner b{margin-top:2px;padding:5px 11px}
  .mcd-app-banner img{display:none}
  .mcd-reader-bar{gap:8px;padding:9px 12px}
  .mcd-favorite{width:58px;flex:0 0 58px;border-radius:10px}
  .mcd-reader-actions{display:grid;min-width:0;flex:1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mcd-read{min-width:0;min-height:48px;padding:0 7px;border-radius:10px;font-size:11px;box-shadow:none}
  .mcd-read b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .mcd-read span{font-size:17px}
  .mcd-read-latest{color:#ac001e;border:1px solid #e7bcba;background:#fff;box-shadow:none}
  .mcd-chapter.has-app-tip>span{color:#ac001e;font-size:17px}
}

@media (max-width:760px){
  .reader-site-shell.mobile-reader-host{width:100%;min-width:0!important;padding-top:0!important;overflow-x:clip;background:#fff8f7}.reader-site-shell.mobile-reader-host>.df-topbar,.reader-site-shell.mobile-reader-host>.df-account-footer,.reader-site-shell.mobile-reader-host>.reader-v2{display:none!important}.reader-site-shell:has(.mobile-reader-design){padding-top:0!important;background:#fff8f7}.reader-site-shell:has(.mobile-reader-design)>.df-topbar,.reader-site-shell:has(.mobile-reader-design)>.df-account-footer,.reader-site-shell:has(.mobile-reader-design)>.reader-v2{display:none}.mobile-reader-design{display:block;width:100%;min-height:100dvh;overflow-x:clip;padding:64px 0 calc(76px + env(safe-area-inset-bottom));background:#fff8f7;color:#291716;font-family:"Hanken Grotesk","Microsoft YaHei",Arial,sans-serif}.mrd-progress{position:fixed;z-index:70;top:0;left:0;height:3px;background:#ac001e;transition:width .15s}.mrd-top{position:fixed;z-index:60;top:0;left:0;right:0;display:flex;height:64px;align-items:center;padding:0 12px;border-bottom:1px solid rgba(231,188,186,.3);background:rgba(255,248,247,.9);backdrop-filter:blur(16px);transition:transform .25s}.mrd-top>a,.mrd-top button{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:0;border-radius:50%;background:transparent;color:#ac001e}.mrd-top>div{min-width:0;flex:1;padding:0 10px;text-align:center}.mrd-top h1,.mrd-top p{overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis}.mrd-top h1{color:#ac001e;font-size:18px;font-weight:800}.mrd-top p{margin-top:2px;color:#5d3f3d;font-size:11px}.mrd-canvas{min-height:calc(100dvh - 140px);cursor:pointer;touch-action:pan-y pinch-zoom}.mrd-pages{width:100%;background:#fff}.mrd-pages img{display:block;width:100%;max-width:100%;height:auto}.mrd-pages img:nth-child(n+4){content-visibility:auto;contain-intrinsic-size:auto 1200px}.mrd-end{padding:48px 16px;text-align:center}.mrd-end a{display:inline-flex;align-items:center;gap:7px;padding:12px 24px;border-radius:999px;background:#ac001e;color:#fff;text-decoration:none;font-size:13px;font-weight:700;box-shadow:0 8px 18px rgba(172,0,30,.2)}.mrd-end p{margin:14px 0 0;color:#5d3f3d;font-size:11px}.mrd-bottom{position:fixed;z-index:60;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(76px + env(safe-area-inset-bottom));align-items:start;padding-bottom:env(safe-area-inset-bottom);background:rgba(255,248,247,.96);box-shadow:0 -4px 20px rgba(0,0,0,.04);backdrop-filter:blur(14px);transition:transform .25s}.mrd-bottom>*{display:grid;min-width:0;min-height:76px;align-content:center;justify-items:center;gap:3px;border:0;background:transparent;color:#5b5d74;text-decoration:none}.mrd-bottom span{font-size:22px}.mrd-bottom small{font-size:10px}.mrd-bottom .active{color:#ac001e}.mrd-bottom .disabled{opacity:.35}.filled{font-variation-settings:'FILL' 1}.ui-hidden .mrd-top{transform:translateY(-100%)}.ui-hidden .mrd-bottom{transform:translateY(100%)}.mrd-hidden-flip{position:fixed;z-index:62;left:50%;bottom:env(safe-area-inset-bottom);display:inline-grid;grid-template-columns:auto auto;min-width:96px;min-height:48px;align-items:center;justify-content:center;gap:4px;padding:0 12px;border:0;transform:translateX(-50%);background:transparent;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.9);touch-action:manipulation}.mrd-hidden-flip span{font-size:24px}.mrd-hidden-flip small{font-size:12px;font-weight:700}.mrd-catalog-mask{position:fixed;z-index:80;inset:0;background:rgba(41,23,22,.38)}.mrd-catalog{position:fixed;z-index:81;right:0;bottom:0;left:0;max-height:70dvh;overflow:auto;padding-bottom:env(safe-area-inset-bottom);border-radius:20px 20px 0 0;background:#fff8f7}.mrd-catalog header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:16px;background:#fff8f7}.mrd-catalog header button{display:grid;width:44px;height:44px;place-items:center;border:0;background:transparent;color:#ac001e}.mrd-catalog a{display:block;min-height:48px;padding:14px 20px;border-top:1px solid rgba(231,188,186,.35);color:#291716;text-decoration:none;font-size:13px}.mrd-catalog a.active{color:#ac001e;font-weight:700}
.mrd-catalog a{display:flex;align-items:center;justify-content:space-between;gap:12px}.mrd-catalog a>span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mrd-catalog a.app-tip{color:#7b3d47}.mrd-catalog-app-tip{flex:0 0 auto;color:#ac001e;font-size:17px!important}
.mrd-catalog-actions{display:flex;align-items:center;gap:2px}.mrd-catalog header .mrd-catalog-order{display:flex;width:auto;min-width:68px;padding:0 8px;align-items:center;justify-content:center;gap:2px}.mrd-catalog-order span{font-size:19px}.mrd-catalog-order small{font-size:11px;font-weight:700}
.mrd-latest-app-tip{position:fixed;z-index:59;top:70px;right:10px;left:10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:9px 10px;border:1px solid #f0c9cf;border-radius:12px;background:rgba(255,255,255,.97);color:#291716;box-shadow:0 8px 24px rgba(87,31,43,.14);backdrop-filter:blur(12px)}.mrd-latest-app-tip>span{color:#ac001e;font-size:21px}.mrd-latest-app-tip div{display:grid;min-width:0;gap:1px}.mrd-latest-app-tip strong{font-size:11px}.mrd-latest-app-tip small{overflow:hidden;color:#765d61;font-size:9px;white-space:nowrap;text-overflow:ellipsis}.mrd-latest-app-tip a{padding:6px 9px;border-radius:999px;background:#ac001e;color:#fff;text-decoration:none;font-size:10px;font-weight:700;white-space:nowrap}.mrd-latest-app-tip button{display:grid;width:28px;height:28px;place-items:center;padding:0;border:0;border-radius:50%;background:#fff3f4;color:#765d61}.mrd-latest-app-tip button span{font-size:16px}
}
@media (min-width:761px){.mobile-reader-design{display:none}}

@media (max-width:760px){
  .reader-site-shell.mobile-reader-host>.reader-v2{display:block!important;min-height:100dvh;padding:0 0 calc(76px + env(safe-area-inset-bottom));background:#fff}
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-top-v2,
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-like-sidebar,
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-chapter-note,
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-latest-desktop-tip,
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-finish-panel,
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-catalog-mask,
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-catalog-panel,
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-float-tools,
  .reader-site-shell.mobile-reader-host>.reader-v2>.reader-bottom-v2{display:none!important}
  .mobile-reader-design{min-height:0;padding:0;background:transparent}
  .mrd-top strong,.mrd-top p{display:block;overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis}
  .mrd-top strong{color:#ac001e;font-size:18px;font-weight:800}
  .reader-site-shell.mobile-reader-host .reader-stage-v2{display:block;min-height:100dvh;padding-top:64px;background:#fff}
  .reader-site-shell.mobile-reader-host .reader-page-wrap{width:100%;min-height:100dvh;padding:0;background:#fff}
  .reader-site-shell.mobile-reader-host .reader-page-image{width:100%;max-width:100%;height:auto}
  .reader-site-shell.mobile-reader-host .reader-page-image:nth-child(n+4){content-visibility:auto;contain-intrinsic-size:auto 1200px}
}

.reader-site-shell {
  width: 100%;
  min-width: 0;
}

.reader-site-shell .reader-v2 {
  width: 100%;
  min-width: 0;
}

@media (min-width: 761px) {
  /* Scope the canvas to the reader so outside spacing cannot expose the site's white background. */
  html:has(.reader-site-shell .reader-v2.dark) { --theme-bg: #181818; }
  html:has(.reader-site-shell .reader-v2:not(.dark)) { --theme-bg: #f2f2f2; }
  .reader-site-shell .reader-v2 { display: flow-root; padding-bottom: 32px; }

  /* The desktop reader has its own themed navigation, not the site chrome. */
  .reader-site-shell.df-account-design-page {
    padding-top: 0;
  }

  .reader-site-shell > .df-topbar,
  .reader-site-shell > .df-account-footer {
    display: none;
  }

  .reader-site-shell .reader-top-v2 {
    top: 0;
  }

  .reader-site-shell .reader-page-wrap,
  .reader-site-shell .reader-chapter-note,
  .reader-site-shell .reader-finish-panel {
    width: min(820px, calc(100vw - 180px));
  }

  .reader-site-shell .reader-chapter-note {
    border: 0;
    border-left: 3px solid var(--theme-red);
    background: #202020;
  }

  .reader-site-shell .reader-finish-panel {
    border: 0;
  }

  /* Keep the tools in the existing canvas gutter, including narrow tablets. */
  .reader-site-shell .reader-float-tools {
    top: calc(50% + 28px);
    right: max(8px, calc((100% - 820px) / 2 - 84px));
    bottom: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    width: 64px;
    max-height: calc(100dvh - 88px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(24, 24, 24, .94);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .38);
    backdrop-filter: blur(12px);
    transform: translateY(-50%);
  }

  .reader-site-shell .reader-float-tools a,
  .reader-site-shell .reader-float-tools button,
  .reader-site-shell .reader-float-tools > span {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 4px;
  }

  .reader-site-shell .reader-float-tools a:focus-visible,
  .reader-site-shell .reader-float-tools button:focus-visible {
    outline: 2px solid var(--theme-red);
    outline-offset: -3px;
    border-radius: 4px;
  }

  .reader-site-shell .reader-float-tools span span,
  .reader-site-shell .reader-float-tools a span,
  .reader-site-shell .reader-float-tools button span {
    font-size: 22px;
  }

  .reader-page-wrap .reader-page-image:nth-child(n+4) {
    content-visibility: auto;
    contain-intrinsic-size: auto 1200px;
  }
}

/* Image navigation uses the current chapter only; hidden images keep their original data. */
.reader-site-shell .reader-v2.reader-paged .reader-page-image:not(.is-current-page) { display: none; }
.reader-site-shell .reader-v2.reader-paged .reader-page-image.is-current-page { content-visibility: visible; contain-intrinsic-size: none; }
.reader-top-tools .reader-page-selector {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-width: 76px; min-height: 34px; padding: 3px 10px; border: 1px solid #bbb;
  border-radius: 999px; background: #fff; color: #444; font-size: 14px; cursor: pointer;
}
.reader-site-shell .reader-page-number { display: block; font: inherit; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.reader-site-shell .reader-page-chevron { display: block; flex: 0 0 12px; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reader-image-navigation { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; color: #333; background: #f5f5f5; }
.reader-image-navigation button { flex: 1; min-width: 0; min-height: 44px; padding: 6px; border: 1px solid #bbb; border-radius: 6px; color: inherit; background: transparent; font-size: 13px; cursor: pointer; }
.reader-image-navigation .reader-image-page-selector { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.reader-v2.dark .reader-image-navigation { color: #eee; background: #202020; }
.reader-v2.dark .reader-image-navigation button { border-color: #555; }
.reader-image-navigation button:disabled,
.reader-float-tools button:disabled,
.mrd-bottom button:disabled,
.mrd-hidden-flip:disabled { opacity: .4; cursor: default; }
.reader-page-selector:focus-visible,
.reader-image-navigation button:focus-visible,
.mrd-page-index:focus-visible { outline: 2px solid var(--theme-red); outline-offset: 2px; }

.reader-page-picker {
  --picker-bg: #fff; --picker-text: #29252a; --picker-muted: #746b72; --picker-border: #e6dfe3; --picker-soft: #faf6f8;
  box-sizing: border-box; width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: 20px; overflow: auto; overscroll-behavior: contain; border: 1px solid var(--picker-border);
  border-radius: 16px; color: var(--picker-text); background: var(--picker-bg); box-shadow: 0 20px 70px rgba(0,0,0,.35);
}
.reader-page-picker:not([open]) { display: none; }
.reader-page-picker::backdrop { background: rgba(0,0,0,.58); }
.reader-picker-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.reader-picker-heading h2 { margin: 0 0 4px; font-size: 18px; color: inherit; }
.reader-picker-heading p { margin: 0; color: var(--picker-muted); font-size: 12px; }
.reader-page-picker button { cursor: pointer; font: inherit; }
.reader-page-picker .reader-picker-close { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: var(--picker-soft); color: inherit; font-size: 26px; line-height: 1; }
.reader-picker-modes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0 0 14px; padding: 0; border: 0; }
.reader-picker-modes label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px; border: 1px solid var(--picker-border); border-radius: 8px; font-size: 14px; cursor: pointer; }
.reader-picker-modes label.selected { border-color: var(--theme-red); background: var(--picker-soft); color: var(--theme-red); }
.reader-picker-modes input { width: 16px; height: 16px; margin: 0; accent-color: var(--theme-red); }
.reader-picker-jump { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; }
.reader-picker-jump input { width: 82px; min-width: 0; height: 38px; padding: 6px 8px; border: 1px solid var(--picker-border); border-radius: 6px; background: var(--picker-bg); color: inherit; font: inherit; }
.reader-picker-jump button { min-height: 38px; margin-left: auto; padding: 6px 16px; border: 1px solid var(--picker-border); border-radius: 6px; background: var(--picker-soft); color: inherit; }
.reader-picker-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 7px; max-height: min(42dvh,330px); overflow-y: auto; overscroll-behavior: contain; padding: 3px; }
.reader-picker-grid button { min-width: 0; min-height: 40px; padding: 5px; border: 1px solid var(--picker-border); border-radius: 6px; background: var(--picker-bg); color: inherit; font-size: 13px; }
.reader-picker-grid button[aria-current="page"] { border-color: var(--theme-red); background: var(--theme-red); color: #fff; }
.reader-page-picker footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.reader-page-picker footer small { color: var(--picker-muted); font-size: 11px; }
.reader-page-picker footer button { min-height: 40px; padding: 7px 16px; border: 0; border-radius: 7px; background: var(--theme-red); color: #fff; font-size: 13px; }
.reader-page-picker button:focus-visible,
.reader-page-picker input:focus-visible { outline: 2px solid var(--theme-red); outline-offset: 2px; }
@media (min-width: 761px) {
  .reader-page-picker.dark { --picker-bg: #242424; --picker-text: #eee; --picker-muted: #aaa; --picker-border: #484848; --picker-soft: #303030; }
}
@media (max-width: 760px) {
  .mrd-top .mrd-reader-meta { display: flex; align-items: center; justify-content: center; gap: 6px; overflow: visible; }
  .mrd-reader-meta > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mrd-top .mrd-page-index { display: inline-flex; align-items: center; justify-content: center; gap: 3px; flex: 0 0 auto; width: auto; height: 26px; min-height: 26px; padding: 0 7px; border: 1px solid #ead5db; border-radius: 20px; color: #ac001e; background: #fff; font-size: 11px; }
  .mrd-page-index span { font-size: 11px; }
  .reader-page-picker { padding: 16px; }
  .reader-picker-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .reader-picker-heading h2 { font-size: 17px; }
  .reader-image-navigation { color: #49383e; background: #fff8f7; }
  .reader-v2.dark .reader-image-navigation { color: #49383e; background: #fff8f7; }
}

@media (max-width:760px){
  .df-account-design-page.mobile-rank-layout{min-height:100dvh;padding-top:0!important;background:#f8f9fa}
  .df-account-design-page.mobile-rank-layout>.df-topbar,
  .df-account-design-page.mobile-rank-layout>.df-account-footer,
  .df-account-design-page.mobile-rank-layout>.floating-tools{display:none!important}
  .rank-mobile-host>.rank-kk-page{display:none!important}
  .mobile-rank-design{display:block;min-height:100dvh;padding:112px 0 calc(76px + env(safe-area-inset-bottom));background:#f8f9fa;color:#291716;font-family:"Hanken Grotesk","Microsoft YaHei",Arial,sans-serif}
  .mrank-topbar{position:fixed;z-index:60;top:0;right:0;left:0;height:56px;border-bottom:1px solid rgba(231,188,186,.24);background:rgba(255,248,247,.92);box-shadow:0 2px 12px rgba(41,23,22,.04);backdrop-filter:blur(14px)}
  .mrank-topbar,.mrank-topbar>div,.mrank-topbar nav{display:flex;align-items:center}
  .mrank-topbar{justify-content:space-between;padding:0 16px}
  .mrank-topbar>div{min-width:0;gap:10px}
  .mrank-heading{margin:0;color:#291716;font-size:20px;font-weight:700;line-height:28px}
  .mrank-topbar button,.mrank-topbar a{display:grid;width:40px;height:40px;place-items:center;border:0;border-radius:50%;background:transparent;color:#291716;text-decoration:none}
  .mrank-topbar span{font-size:23px}
  .mrank-tabs{position:fixed;z-index:55;top:56px;right:0;left:0;display:flex;height:56px;align-items:center;gap:32px;overflow-x:auto;padding:0 16px;border-bottom:1px solid rgba(231,188,186,.32);background:rgba(255,248,247,.95);backdrop-filter:blur(12px);scrollbar-width:none}
  .mrank-tabs::-webkit-scrollbar{display:none}
  .mrank-tabs button{position:relative;flex:0 0 auto;height:56px;padding:0;border:0;background:transparent;color:#5d3f3d;font-size:14px;font-weight:600;white-space:nowrap}
  .mrank-tabs button.active{color:#ac001e;font-weight:800}
  .mrank-tabs button.active:after{position:absolute;right:0;bottom:0;left:0;height:4px;border-radius:4px 4px 0 0;background:#ac001e;content:""}
  .mrank-main{padding:16px}
  .mrank-list{display:flex;flex-direction:column;gap:16px}
  .mrank-card{display:flex;align-items:center;gap:16px;min-height:150px;padding:12px;border-radius:12px;background:#fff;box-shadow:0 4px 20px rgba(41,23,22,.04)}
  .mrank-number{display:flex;width:40px;flex:0 0 40px;justify-content:center;color:#926e6c;font-family:"Be Vietnam Pro","Microsoft YaHei",sans-serif;font-size:25px;font-style:italic;font-weight:800;line-height:1}
  .mrank-number.top{color:#ac001e;font-size:48px;text-shadow:1px 1px 0 rgba(255,255,255,.75)}
  .mrank-cover{position:relative;display:block;width:96px;flex:0 0 96px;overflow:hidden;aspect-ratio:3/4;border-radius:8px;background:#ffe9e7;box-shadow:0 4px 12px rgba(41,23,22,.12)}
  .mrank-cover img{display:block;width:100%;height:100%;object-fit:cover}
  .mrank-cover b{position:absolute;top:4px;left:4px;padding:2px 6px;border-radius:999px;background:#ac001e;color:#fff;font-size:9px;line-height:14px}
  .mrank-info{min-width:0;flex:1}
  .mrank-info h2{overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis;font-size:20px;font-weight:700;line-height:28px}
  .mrank-info h2 a{color:inherit;text-decoration:none}
  .mrank-chapter{overflow:hidden;margin:4px 0 0;color:#ac001e;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;line-height:16px}
  .mrank-info div{display:flex;gap:8px;margin-top:8px}
  .mrank-info div span{overflow:hidden;max-width:72px;padding:3px 8px;border-radius:4px;background:#fddbd8;color:#5d3f3d;white-space:nowrap;text-overflow:ellipsis;font-size:10px;line-height:14px}
  .mrank-desc{display:-webkit-box;overflow:hidden;margin:8px 0 0;color:#5d3f3d;font-size:14px;line-height:20px;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .mrank-play{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border-radius:50%;background:#d90429;color:#fff;text-decoration:none;box-shadow:0 4px 12px rgba(172,0,30,.22)}
  .mrank-play span{font-size:24px}
  .mrank-empty{display:grid;min-height:55dvh;place-items:center;color:#926e6c;font-size:13px}
  .mrank-backtop{position:fixed;z-index:70;right:16px;bottom:86px;display:grid;width:44px;height:44px;place-items:center;border:1px solid #f0d6d4;border-radius:50%;background:#fff;color:#ac001e;box-shadow:0 6px 18px rgba(41,23,22,.12)}
  .mrank-backtop span{font-size:24px}
  .mrank-bottom{position:fixed;z-index:65;right:0;bottom:0;left:0;display:grid;height:64px;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid rgba(235,215,215,.8);background:rgba(255,250,249,.96);box-shadow:0 -4px 18px rgba(0,0,0,.035);backdrop-filter:blur(12px)}
  .mrank-bottom a{display:grid;align-content:center;justify-items:center;gap:3px;color:#625b62;text-decoration:none;font-size:10px;font-weight:600}
  .mrank-bottom span{font-size:21px}
  .mrank-bottom small{font-size:10px}
}

@media (min-width:761px){
  .mobile-rank-design{display:none}
}

@media (max-width:380px){
  .mrank-card{gap:10px;padding:10px}
  .mrank-number{width:28px;flex-basis:28px}
  .mrank-number.top{font-size:38px}
  .mrank-cover{width:86px;flex-basis:86px}
  .mrank-info h2{font-size:17px}
  .mrank-play{width:36px;height:36px;flex-basis:36px}
}

@media (max-width:760px){
  .df-account-design-page.mobile-update-layout{min-height:100dvh;padding-top:0!important;background:#fff8f7}
  .df-account-design-page.mobile-update-layout>.df-topbar,
  .df-account-design-page.mobile-update-layout>.df-account-footer,
  .df-account-design-page.mobile-update-layout>.floating-tools{display:none!important}
  .mobile-update-host>.update-page{display:none!important}
  .mobile-update-design{display:block;min-height:100dvh;padding:120px 16px calc(88px + env(safe-area-inset-bottom));background:#fff8f7;color:#291716;font-family:"Hanken Grotesk","Microsoft YaHei",Arial,sans-serif}
  .mupdate-topbar{position:fixed;z-index:60;top:0;right:0;left:0;display:flex;height:64px;align-items:center;justify-content:space-between;padding:0 16px;border-bottom:1px solid rgba(231,188,186,.55);background:rgba(255,248,247,.94);box-shadow:0 2px 10px rgba(41,23,22,.03);backdrop-filter:blur(14px)}
  .mupdate-title{display:flex;align-items:center;gap:8px;color:#ac001e;text-decoration:none}.mupdate-title>.material-symbols-outlined{font-size:20px}.mupdate-heading{margin:0;font-size:17px;font-weight:700;line-height:24px}
  .mupdate-topbar nav{display:flex;align-items:center;gap:10px}.mupdate-topbar nav a{display:grid;width:34px;height:34px;place-items:center;color:#5d3f3d;text-decoration:none}.mupdate-topbar nav span{font-size:20px}
  .mupdate-weekbar{position:fixed;z-index:55;top:64px;right:0;left:0;display:grid;height:56px;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:6px;padding:0 16px;border-bottom:1px solid #ffe1df;background:rgba(255,248,247,.96)}
  .mupdate-weekbar a{display:flex;height:38px;min-width:0;align-items:center;justify-content:center;padding:0 6px;border-radius:10px;color:#5d3f3d;text-decoration:none;font-size:12px;font-weight:500;white-space:nowrap}.mupdate-weekbar a.active{position:relative;flex-direction:column;background:#d90429;color:#fff;font-size:12px;font-weight:700;line-height:15px;box-shadow:0 5px 11px rgba(172,0,30,.22);transform:scale(1.03)}.mupdate-weekbar a.active i{width:4px;height:4px;margin-top:2px;border-radius:99px;background:#fff}
  .mupdate-main{width:100%;max-width:780px;margin:0 auto}.mupdate-list{display:flex;flex-direction:column;gap:16px}.mupdate-card{display:flex;min-height:144px;gap:16px;padding:12px;border-radius:12px;background:#fff;box-shadow:0 4px 20px rgba(41,23,22,.055)}
  .mupdate-cover{position:relative;display:block;width:96px;flex:0 0 96px;overflow:hidden;border-radius:8px;background:#ffe9e7}.mupdate-cover img{display:block;width:100%;height:128px;object-fit:cover}.mupdate-cover b{position:absolute;top:7px;left:7px;padding:2px 6px;border-radius:999px;font-size:9px;font-weight:800;line-height:13px}.mupdate-cover b.hot{background:#ac001e;color:#fff}.mupdate-cover b.new{background:#ddddf9;color:#43455b}
  .mupdate-info{display:flex;min-width:0;flex:1;flex-direction:column;justify-content:space-between;padding:2px 0}.mupdate-info h2{overflow:hidden;margin:0;white-space:nowrap;text-overflow:ellipsis;font-family:"Be Vietnam Pro","Microsoft YaHei",sans-serif;font-size:17px;font-weight:700;line-height:23px}.mupdate-info h2 a{color:#291716;text-decoration:none}.mupdate-info p{overflow:hidden;margin:5px 0 0;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:700;line-height:18px}.mupdate-info p a{color:#ac001e;text-decoration:none}
  .mupdate-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.mupdate-card-bottom small{display:flex;align-items:center;gap:4px;color:#5d3f3d;font-size:11px;line-height:16px}.mupdate-card-bottom small span{font-size:15px}.mupdate-play{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:8px;background:#ac001e;color:#fff;text-decoration:none;box-shadow:0 4px 9px rgba(172,0,30,.18)}.mupdate-play span{font-size:20px;font-variation-settings:'FILL' 1}
  .mupdate-empty{display:grid;min-height:50dvh;place-items:center;color:#926e6c;font-size:14px}.mupdate-bottom{position:fixed;z-index:65;right:0;bottom:0;left:0;display:grid;height:64px;grid-template-columns:repeat(4,1fr);padding-bottom:env(safe-area-inset-bottom);border-top:1px solid #f5dfdd;background:rgba(255,250,249,.97);box-shadow:0 -4px 18px rgba(41,23,22,.04);backdrop-filter:blur(12px)}.mupdate-bottom a{display:grid;align-content:center;justify-items:center;gap:3px;color:#625b62;text-decoration:none;font-size:10px;font-weight:600}.mupdate-bottom span{font-size:21px}.mupdate-bottom small{font-size:10px}
}
@media (min-width:761px){.mobile-update-design{display:none}}

.search-design-page{--s-red:#ac001e;--s-red-bright:#d90429;--s-ink:#291716;--s-copy:#5d3f3d;--s-outline:#926e6c;min-height:100vh;color:var(--s-ink);background:#fff8f7;font-family:"Hanken Grotesk","Microsoft YaHei",sans-serif}.search-design-header{position:sticky;top:0;z-index:80;height:64px;background:rgba(255,248,247,.92);box-shadow:0 2px 10px rgba(64,43,42,.06);backdrop-filter:blur(12px)}.search-design-bar{height:64px;max-width:768px;margin:auto;padding:0 16px;display:flex;align-items:center;gap:12px}.search-back,.search-submit,.search-field button,.search-section-title button{border:0;background:transparent;cursor:pointer}.search-back{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;color:var(--s-copy)}.search-back:hover{background:#ffe9e7}.search-field{height:44px;min-width:0;flex:1;display:flex;align-items:center;padding:0 12px;border-radius:12px;background:#fff0ef}.search-field>span{margin-right:8px;color:var(--s-outline)}.search-field input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:var(--s-ink);font-size:16px}.search-field button{width:28px;height:28px;padding:0;color:rgba(146,110,108,.55)}.search-submit{padding:8px;color:var(--s-red);font-size:14px;font-weight:700}.search-design-main{max-width:768px;margin:auto;padding:16px 16px 112px}.search-history{margin-bottom:30px}.search-section-title,.search-hot-title,.search-results-head{display:flex;align-items:center;justify-content:space-between}.search-section-title{margin-bottom:16px}.search-section-title h1,.search-hot-title h2,.search-results-head h1{margin:0;font-family:"Be Vietnam Pro","Microsoft YaHei",sans-serif;font-size:20px;line-height:28px;font-weight:700}.search-section-title button{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:var(--s-copy)}.search-history-tags{display:flex;flex-wrap:wrap;gap:8px}.search-history-tags button{padding:7px 16px;border:1px solid rgba(231,188,186,.35);border-radius:999px;color:var(--s-copy);background:#fff0ef;font-size:14px;font-weight:600;cursor:pointer}.search-hot-title{justify-content:flex-start;gap:8px;margin-bottom:20px}.search-hot-title>span{padding:3px 8px;border-radius:4px;color:var(--s-red);background:rgba(217,4,41,.08);font-size:10px;font-weight:800;letter-spacing:.08em}.search-hot-list{margin:0;padding:0;overflow:hidden;border-radius:12px;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,.04);list-style:none}.search-hot-list li+li{border-top:1px solid #ffe9e7}.search-hot-list button{width:100%;min-height:56px;padding:0 16px;display:flex;align-items:center;border:0;color:inherit;background:transparent;cursor:pointer}.search-hot-list button:hover{background:#fff0ef}.search-rank{width:32px;display:grid;place-items:center;color:rgba(93,63,61,.4)}.search-rank .material-symbols-outlined{font-variation-settings:"FILL" 1}.search-rank.rank-1{color:#ffb703}.search-rank.rank-2{color:#a7adb8}.search-rank.rank-3{color:#f0973d}.search-hot-list strong{margin-left:12px;font-size:14px}.search-hot-list small{margin-left:auto;display:flex;align-items:center;color:var(--s-outline);font-size:12px}.search-hot-list small .material-symbols-outlined{margin-right:4px;color:#ba1a1a;font-size:16px}.search-recommend-banner{min-height:128px;margin-top:32px;padding:24px;display:flex;align-items:center;justify-content:space-between;border-radius:12px;color:#fff;background:linear-gradient(110deg,var(--s-red),#af0421);box-shadow:0 8px 24px rgba(172,0,30,.16)}.search-recommend-banner strong,.search-recommend-banner small{display:block}.search-recommend-banner strong{font-size:20px}.search-recommend-banner small{margin-top:4px;color:rgba(255,255,255,.8)}.search-recommend-banner>.material-symbols-outlined{font-size:32px}.search-results-head{margin:8px 0 16px}.search-results-head h1 span{color:var(--s-red)}.search-results-head small{color:var(--s-outline)}.search-result-list{display:grid;gap:16px}.search-result-card{display:flex;gap:16px;padding:16px;border-radius:12px;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,.04);transition:.25s}.search-result-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.08)}.search-result-cover{position:relative;width:96px;height:128px;flex:0 0 auto}.search-result-cover img{width:100%;height:100%;display:block;border-radius:8px;object-fit:cover;box-shadow:0 2px 6px rgba(0,0,0,.12)}.search-result-cover>span{position:absolute;left:4px;top:4px;padding:2px 6px;border-radius:5px;color:#fff;background:var(--s-red);font-size:10px;font-weight:700}.search-result-cover>span.complete{background:#5b5d74}.search-result-copy{min-width:0;flex:1;display:flex;flex-direction:column;justify-content:space-between}.search-result-copy h2{margin:0;overflow:hidden;font-size:16px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.search-result-copy h2 mark{color:var(--s-red);background:transparent}.search-result-copy p{margin:5px 0 0;overflow:hidden;color:var(--s-outline);font-size:12px;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.search-result-copy p.latest{margin-top:8px;color:#5b5d74}.search-read-button{align-self:flex-end;padding:8px 24px;border-radius:999px;color:#fff;background:var(--s-red);font-size:14px;font-weight:700;box-shadow:0 4px 10px rgba(172,0,30,.22)}.search-state{min-height:200px;padding:44px 16px;display:grid;place-content:center;text-align:center;color:var(--s-outline)}.search-state strong{color:var(--s-ink);font-size:18px}.search-state p{margin:8px 0}.search-pagination{margin:24px 0;display:flex;align-items:center;justify-content:center;gap:20px}.search-pagination a{padding:8px 15px;border-radius:999px;color:#fff;background:var(--s-red);font-size:13px;font-weight:700}.search-pagination span{color:var(--s-outline);font-size:13px}.search-suggestions{margin-top:36px}.search-suggestions h2{margin:0 0 16px;font-size:14px}.search-suggestions>div{display:flex;gap:16px;overflow-x:auto;padding-bottom:8px;scrollbar-width:none}.search-suggestions a{width:128px;flex:0 0 auto}.search-suggestions img{width:128px;height:176px;display:block;border-radius:8px;object-fit:cover;box-shadow:0 2px 8px rgba(0,0,0,.12)}.search-suggestions span{display:block;margin-top:8px;overflow:hidden;color:var(--s-ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.search-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:80;height:80px;padding:0 max(16px,calc((100vw - 430px)/2));display:flex;justify-content:space-around;align-items:center;border-radius:12px 12px 0 0;background:#fff8f7;box-shadow:0 -4px 20px rgba(0,0,0,.04)}.search-bottom-nav a{min-width:62px;padding:6px 12px;display:flex;flex-direction:column;align-items:center;border-radius:16px;color:var(--s-copy)}.search-bottom-nav a.active{color:#ffeae8;background:#d90429}.search-bottom-nav small{font-size:12px}.search-bottom-nav .material-symbols-outlined{font-size:24px}@media(min-width:769px){.search-design-page{padding-bottom:28px}.search-design-header{top:var(--desktop-header-height,0)}.search-bottom-nav{max-width:768px;left:50%;right:auto;transform:translateX(-50%);border-radius:16px}.search-result-list{grid-template-columns:repeat(2,minmax(0,1fr))}.search-result-card{min-width:0}.search-design-main{padding-top:26px}}@media(max-width:560px){.search-design-page{margin-top:-1px}.search-result-card{gap:14px}.search-result-copy h2{max-width:calc(100vw - 174px)}}


/* Search owns its responsive shell; shared header and result data stay reusable. */
.search-site-header{display:none}
.search-design-page.df-account-design-page{width:100%;min-height:100vh;background:#fff8f7}
.search-design-page .search-result-list{grid-template-columns:minmax(0,1fr)}
.search-design-page .search-result-copy h2{max-width:100%}
.search-design-page .search-result-description{display:none}
.search-design-page .search-result-card{min-width:0}
.search-design-page .search-hot-list strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.search-design-page .search-hot-list small{flex-shrink:0}
.search-design-page .search-field input:focus-visible,.search-design-page button:focus-visible,.search-design-page a:focus-visible{outline:2px solid var(--s-red);outline-offset:3px}
.search-design-page .search-pagination{flex-wrap:wrap}
@media(min-width:769px){
 .search-site-header{display:block;position:sticky;top:0;z-index:100}
 .search-site-header .df-topbar-search,.search-site-header .df-topbar-search-compact{display:none}
 .search-design-page .search-bottom-nav{display:none}
 .search-design-page .search-design-header{position:static;height:auto;background:transparent;box-shadow:none;backdrop-filter:none}
 .search-design-page .search-design-bar{box-sizing:border-box;width:100%;max-width:1280px;height:auto;min-height:88px;padding:20px 24px}
 .search-design-page .search-field{height:48px;border:1px solid #f0dad9;background:#fff}
 .search-design-page .search-submit{min-height:44px;padding:10px 24px;border-radius:10px;color:#fff;background:var(--s-red)}
 .search-design-page .search-design-main{box-sizing:border-box;width:100%;max-width:1280px;padding:12px 24px 56px}
 .search-design-page .search-results-head{margin-bottom:20px}
 .search-design-page .search-result-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .search-design-page .search-result-card{padding:20px;gap:18px;border:1px solid #f0e4e3;box-shadow:0 4px 16px rgba(64,43,42,.04)}
 .search-design-page .search-result-copy h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;line-height:24px}
 .search-design-page .search-result-copy p.latest{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
 .search-design-page .search-read-button{margin-top:14px;min-height:38px;box-sizing:border-box}
 .search-design-page .search-history,.search-design-page .search-hot-section,.search-design-page .search-recommend-banner{max-width:880px;margin-left:auto;margin-right:auto}
}
@media(min-width:1100px){
 .search-design-page .search-result-cover{width:120px;height:160px}
 .search-design-page .search-result-copy h2{font-size:18px}
 .search-design-page .search-result-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;line-height:20px;color:var(--s-copy)}
}
@media(max-width:768px){
 .search-design-page .search-design-main{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
 .search-design-page .search-bottom-nav{box-sizing:border-box;height:calc(80px + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px)}
 .search-design-page .search-submit{min-width:44px;min-height:44px}
}
@media(prefers-reduced-motion:reduce){.search-design-page .search-result-card{transition:none}.search-design-page .search-result-card:hover{transform:none}}

/* The explicit clear button owns this control; suppress the UA duplicate. */
.search-design-page .search-field input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.search-design-page .search-field input[type="search"]::-ms-clear{display:none;width:0;height:0}

.appdl-page {
  --appdl-red: #d90429;
  --appdl-red-dark: #af0421;
  --appdl-ink: #291716;
  --appdl-muted: #6f5553;
  --appdl-line: #e7bcba;
  --appdl-pink: #fff0ef;
  min-height: 100vh;
  overflow-x: hidden;
  background: #fff8f7;
  color: var(--appdl-ink);
  font-family: "Hanken Grotesk", "Microsoft YaHei", Arial, sans-serif;
}

.appdl-page *,
.appdl-page *::before,
.appdl-page *::after {
  box-sizing: border-box;
}

.appdl-page button,
.appdl-page a {
  font: inherit;
}

.appdl-page button {
  border: 0;
  cursor: pointer;
}

.appdl-page a {
  color: inherit;
  text-decoration: none;
}

.appdl-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  border-bottom: 1px solid rgba(231, 188, 186, 0.45);
  background: rgba(255, 255, 255, 0.94);
  transition: box-shadow 180ms ease, background-color 180ms ease;
  backdrop-filter: blur(12px);
}

.appdl-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 22px rgba(63, 20, 25, 0.08);
}

.appdl-header-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(290px, 1fr);
  align-items: center;
  width: min(100% - 48px, 1180px);
  height: 68px;
  margin: 0 auto;
}

.appdl-brand,
.appdl-footer-brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}

.appdl-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.appdl-brand strong,
.appdl-footer-brand strong {
  color: var(--appdl-red);
  font-family: "Be Vietnam Pro", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.appdl-nav {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 30px;
}

.appdl-nav button {
  position: relative;
  padding: 0 2px;
  background: transparent;
  color: #6d5553;
  font-size: 14px;
  font-weight: 600;
}

.appdl-nav button::after {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--appdl-red);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 160ms ease, transform 160ms ease;
}

.appdl-nav button:hover,
.appdl-nav button.active {
  color: var(--appdl-red);
}

.appdl-nav button:hover::after,
.appdl-nav button.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.appdl-header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.appdl-header-download,
.appdl-header-ios {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 150ms ease, background-color 150ms ease;
}

.appdl-header-download {
  background: var(--appdl-red);
  color: #fff !important;
}

.appdl-header-download:hover {
  background: var(--appdl-red-dark);
}

.appdl-header-ios {
  border: 1px solid var(--appdl-red) !important;
  background: #fff;
  color: var(--appdl-red);
}

.appdl-header-download:active,
.appdl-header-ios:active {
  transform: scale(0.97);
}

.appdl-menu-button,
.appdl-mobile-menu {
  display: none;
}

.appdl-hero {
  scroll-margin-top: 68px;
  padding: 150px 0 88px;
  background: #fff0ef;
}

.appdl-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(430px, 1.07fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.appdl-copy {
  min-width: 0;
}

.appdl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 22px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(217, 4, 41, 0.09);
  color: var(--appdl-red);
  font-size: 13px;
  font-weight: 700;
}

.appdl-eyebrow .material-symbols-outlined {
  font-size: 18px;
  font-variation-settings: "FILL" 1;
}

.appdl-copy h1 {
  margin: 0;
  color: var(--appdl-ink);
  font-family: "Be Vietnam Pro", "Microsoft YaHei", sans-serif;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.16;
}

.appdl-copy h1 span {
  color: var(--appdl-red);
}

.appdl-intro {
  max-width: 570px;
  margin: 22px 0 32px;
  color: var(--appdl-muted);
  font-size: 16px;
  line-height: 1.85;
}

.appdl-download-cluster {
  display: flex;
  align-items: center;
  gap: 20px;
  scroll-margin-top: 96px;
}

.appdl-qr {
  display: flex;
  flex: 0 0 138px;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(231, 188, 186, 0.55);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(78, 31, 35, 0.08);
}

.appdl-qr img {
  display: block;
  width: 116px;
  height: 116px;
}

.appdl-qr span {
  margin-top: 5px;
  color: #826b69;
  font-size: 11px;
}

.appdl-download-buttons {
  display: grid;
  gap: 12px;
  width: min(100%, 250px);
}

.appdl-download-button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
  padding: 10px 22px;
  border-radius: 8px;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.appdl-download-button > .material-symbols-outlined {
  font-size: 29px;
}

.appdl-download-button span:last-child {
  display: grid;
  min-width: 0;
}

.appdl-download-button small {
  font-size: 10px;
  line-height: 1.25;
  opacity: 0.75;
}

.appdl-download-button strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.4;
}

.appdl-download-button.android {
  background: var(--appdl-red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(172, 0, 30, 0.2);
}

.appdl-download-button.ios {
  border: 1px solid #967a78;
  background: rgba(255, 255, 255, 0.55);
  color: #604b49;
}

.appdl-download-button:hover {
  transform: translateY(-2px);
}

.appdl-download-button.android:hover {
  background: var(--appdl-red-dark);
  box-shadow: 0 12px 24px rgba(172, 0, 30, 0.25);
}

.appdl-showcase {
  position: relative;
  min-height: 420px;
}

.appdl-showcase-photo {
  position: absolute;
  overflow: hidden;
  width: min(100%, 500px);
  aspect-ratio: 16 / 9;
  border: 7px solid #241b1b;
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 28px 50px rgba(56, 22, 24, 0.2);
}

.appdl-showcase-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appdl-showcase-photo.primary {
  top: 28px;
  right: 0;
  z-index: 2;
  transform: rotate(-5deg);
  animation: appdl-float 4s ease-in-out infinite;
}

.appdl-showcase-photo.secondary {
  right: 46px;
  bottom: 8px;
  z-index: 1;
  width: min(90%, 450px);
  border-color: #c9b8b6;
  opacity: 0.48;
  transform: rotate(5deg);
}

@keyframes appdl-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

.appdl-features {
  scroll-margin-top: 68px;
  padding: 74px 0;
  background: #fff;
}

.appdl-features-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.appdl-feature {
  min-width: 0;
  min-height: 238px;
  padding: 26px 24px 22px;
  border: 1px solid #f1e3e2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(50, 31, 33, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.appdl-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(50, 31, 33, 0.08);
}

.appdl-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 29px;
  font-variation-settings: "FILL" 1;
}

.appdl-feature-icon.red { background: #ffe4e7; color: var(--appdl-red); }
.appdl-feature-icon.yellow { background: #fff4d6; color: #e59a00; }
.appdl-feature-icon.violet { background: #ededff; color: #62659a; }
.appdl-feature-icon.blue { background: #e3efff; color: #3e5879; }

.appdl-feature h3 {
  margin: 0 0 8px;
  font-family: "Be Vietnam Pro", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.appdl-feature p {
  margin: 0;
  color: #796361;
  font-size: 13px;
  line-height: 1.75;
}

.appdl-feature a,
.appdl-feature button {
  display: inline-block;
  max-width: 100%;
  margin-top: 10px;
  padding: 0;
  background: transparent;
  color: var(--appdl-red);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.appdl-cta {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: #c90027;
  color: #fff;
}

.appdl-cta-pattern {
  position: absolute;
  inset: 0;
  background: url('/images/app-download-cta-pattern.jpg') center / cover;
  opacity: 0.1;
}

.appdl-cta-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 860px);
  margin: 0 auto;
  text-align: center;
}

.appdl-cta h2 {
  margin: 0 0 28px;
  font-family: "Be Vietnam Pro", "Microsoft YaHei", sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.3;
}

.appdl-cta-inner > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.appdl-cta a,
.appdl-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 150ms ease, background-color 150ms ease;
}

.appdl-cta a {
  background: #fff;
  color: var(--appdl-red);
}

.appdl-cta button {
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
}

.appdl-cta a:hover,
.appdl-cta button:hover {
  transform: translateY(-2px);
}

.appdl-footer {
  scroll-margin-top: 68px;
  padding: 34px 0;
  background: #ffe9e7;
}

.appdl-footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 120px;
  align-items: center;
  gap: 28px;
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
}

.appdl-footer-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.appdl-footer-brand strong {
  color: var(--appdl-ink);
  font-size: 16px;
}

.appdl-footer-brand p {
  margin: 10px 0 0;
  color: #7a6260;
  font-size: 11px;
}

.appdl-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.appdl-footer nav a,
.appdl-footer nav button {
  padding: 2px 0;
  background: transparent;
  color: #735c5a;
  font-size: 12px;
}

.appdl-footer nav a:hover,
.appdl-footer nav button:hover {
  color: var(--appdl-red);
}

.appdl-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.appdl-footer-actions button,
.appdl-footer-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--appdl-red);
  box-shadow: 0 5px 15px rgba(84, 35, 39, 0.08);
}

.appdl-footer-actions .material-symbols-outlined {
  font-size: 19px;
}

.appdl-dialog {
  width: min(100% - 32px, 420px);
  padding: 36px 30px 30px;
  border: 0;
  border-radius: 8px;
  color: var(--appdl-ink);
  text-align: center;
  box-shadow: 0 24px 80px rgba(50, 17, 22, 0.28);
}

.appdl-dialog::backdrop {
  background: rgba(35, 20, 21, 0.55);
  backdrop-filter: blur(5px);
}

.appdl-dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff0ef;
  color: #765d5b;
}

.appdl-dialog-close .material-symbols-outlined {
  font-size: 20px;
}

.appdl-dialog-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffe4e7;
  color: var(--appdl-red);
  font-size: 32px;
}

.appdl-dialog h2 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.appdl-dialog p {
  margin: 0 0 22px;
  color: #796260;
  font-size: 14px;
  line-height: 1.7;
}

.appdl-dialog > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--appdl-red);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.appdl-toast {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 120;
  max-width: calc(100vw - 40px);
  margin: 0;
  padding: 11px 17px;
  border-radius: 8px;
  background: #2b2d42;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(26, 27, 39, 0.24);
}

.appdl-toast-enter-active,
.appdl-toast-leave-active {
  transition: opacity 160ms ease, transform 160ms ease;
}

.appdl-toast-enter-from,
.appdl-toast-leave-to {
  opacity: 0;
  transform: translateY(8px);
}

.appdl-visually-hidden {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 1020px) {
  .appdl-header-inner {
    grid-template-columns: 1fr auto;
  }

  .appdl-nav {
    display: none;
  }

  .appdl-hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(370px, 1.05fr);
    gap: 34px;
  }

  .appdl-copy h1 {
    font-size: 42px;
  }

  .appdl-showcase {
    min-height: 370px;
  }

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

  .appdl-footer-inner {
    grid-template-columns: 1fr auto;
  }

  .appdl-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .appdl-header-inner {
    width: calc(100% - 32px);
    height: 60px;
  }

  .appdl-brand img {
    width: 34px;
    height: 34px;
  }

  .appdl-brand strong {
    font-size: 17px;
  }

  .appdl-header-download,
  .appdl-header-ios {
    display: none;
  }

  .appdl-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: #fff0ef;
    color: var(--appdl-red);
  }

  .appdl-menu-button .material-symbols-outlined {
    font-size: 23px;
  }

  .appdl-mobile-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 16px 12px;
    border-top: 1px solid #f3dddd;
    background: #fff;
  }

  .appdl-mobile-menu button {
    min-height: 36px;
    border-radius: 6px;
    background: #fff8f7;
    color: #684f4d;
    font-size: 13px;
  }

  .appdl-hero {
    padding: 102px 0 54px;
  }

  .appdl-hero-inner {
    display: flex;
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 42px;
  }

  .appdl-copy {
    width: 100%;
    text-align: center;
  }

  .appdl-eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
  }

  .appdl-copy h1 {
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.2;
  }

  .appdl-intro {
    margin: 18px auto 28px;
    font-size: 14px;
    line-height: 1.75;
  }

  .appdl-download-cluster {
    display: block;
  }

  .appdl-qr {
    display: none;
  }

  .appdl-download-buttons {
    width: min(100%, 350px);
    margin: 0 auto;
  }

  .appdl-download-button {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 62px;
    padding: 10px 24px;
  }

  .appdl-showcase {
    width: 100%;
    min-height: 275px;
  }

  .appdl-showcase-photo {
    left: 50%;
    width: min(92%, 410px);
    border-width: 5px;
    border-radius: 28px;
  }

  .appdl-showcase-photo.primary {
    top: 0;
    right: auto;
    transform: translateX(-50%) rotate(-3deg);
  }

  .appdl-showcase-photo.secondary {
    right: auto;
    bottom: 0;
    width: min(84%, 370px);
    transform: translateX(-50%) rotate(4deg);
  }

  .appdl-features {
    scroll-margin-top: 60px;
    padding: 48px 0;
  }

  .appdl-features-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    width: calc(100% - 32px);
  }

  .appdl-feature {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 0;
    padding: 20px;
    column-gap: 16px;
  }

  .appdl-feature-icon {
    grid-row: 1 / span 3;
    width: 48px;
    height: 48px;
    margin: 0;
    font-size: 27px;
  }

  .appdl-feature h3 {
    margin: 0 0 4px;
    font-size: 17px;
  }

  .appdl-feature p {
    font-size: 12px;
    line-height: 1.65;
  }

  .appdl-feature a,
  .appdl-feature button {
    grid-column: 2;
    width: fit-content;
    margin-top: 6px;
  }

  .appdl-cta {
    padding: 54px 0;
  }

  .appdl-cta h2 {
    font-size: 28px;
  }

  .appdl-cta-inner > div {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .appdl-cta a,
  .appdl-cta button {
    width: 100%;
  }

  .appdl-footer {
    scroll-margin-top: 60px;
    padding: 28px 0;
  }

  .appdl-footer-inner {
    display: flex;
    width: calc(100% - 32px);
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
  }

  .appdl-footer-brand a {
    margin: 0 auto;
  }

  .appdl-footer nav {
    justify-content: center;
    gap: 14px 20px;
  }

  .appdl-footer-actions {
    justify-content: center;
  }

  .appdl-toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .appdl-page *,
  .appdl-page *::before,
  .appdl-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


.comic-tag-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; max-width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; white-space: normal; color: inherit; vertical-align: middle; font-size: inherit; line-height: 1.6; }
.comic-tag-links > a { display: inline-flex; align-items: center; min-height: 24px; max-width: 100%; color: inherit; font: inherit; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.comic-tag-links > a:hover { color: var(--theme-red, #ac001e); }
.comic-tag-links > a:focus-visible { outline: 2px solid var(--theme-red, #ac001e); outline-offset: 3px; border-radius: 3px; }
@media (max-width: 760px) { .comic-tag-links { font-size: 12px; } .comic-tag-links > a { min-height: 28px; } }

/* Shared iOS-style back navigation; no changes to carousel/page arrows. */
.hlgmh-back-icon{display:block;flex:none;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.hlgmh-back-control{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;flex-shrink:0}
.hlgmh-back-control:focus-visible{outline:2px solid var(--theme-red,#ac001e);outline-offset:2px;border-radius:8px}

/* Desktop account controls: keep visibility toggle inside its input. */
.df-auth-field > div { min-width: 0; }
.df-auth-field input { padding-right: 48px; }
.df-auth-field [data-password-toggle] {
  position: absolute;
  top: 1px;
  right: 1px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--brand-outline, #926e6c);
  font-size: 0;
  cursor: pointer;
}
.df-auth-field [data-password-toggle]::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.df-auth-field [data-password-toggle]:hover { color: var(--theme-red); background: var(--brand-red-surface); }
.df-auth-field [data-password-toggle]:focus-visible { outline: 2px solid var(--theme-red); outline-offset: -3px; }
.df-auth-field input[type="text"] + [data-password-toggle] { color: var(--theme-red); }
.df-auth-field input::-ms-reveal { display: none; }
.df-auth-error:empty { display: none; }

/* The rendered shortcut has a label and chevron, so use two grid tracks. */
@media (min-width: 761px) {
  .df-profile-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
  .df-profile-left, .df-profile-right { min-width: 0; }
  .df-profile-card { padding: 28px 20px; border: 1px solid var(--brand-red-line); }
  .df-profile-card h2 { margin: 4px 0 12px; font-size: 22px; line-height: 1.4; overflow-wrap: anywhere; }
  .df-profile-badges { margin-bottom: 0; }
  .df-profile-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .df-profile-menu-card { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; min-height: 76px; padding: 18px; border: 1px solid var(--brand-red-line); }
  .df-profile-menu-card strong { min-width: 0; font-size: 15px; line-height: 1.5; white-space: nowrap; }
  .df-profile-menu-card i { justify-self: end; line-height: 1; }
  .df-profile-menu-card:focus-visible { outline: 2px solid var(--theme-red); outline-offset: 3px; }
  .df-profile-form-card { min-width: 0; border: 1px solid var(--brand-red-line); }
  .df-profile-form input:not([type="radio"]) { width: 100%; min-width: 0; }
  .df-profile-form > [data-form-message]:empty { display: none; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .df-profile-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .df-profile-card { grid-template-columns: 76px minmax(0, 1fr); column-gap: 20px; padding: 22px 24px; text-align: left; justify-items: start; }
  .df-profile-avatar { grid-column: 1; grid-row: 1 / 4; width: 76px; height: 76px; margin: 0; font-size: 30px; }
  .df-profile-card h2 { grid-column: 2; margin: 0 0 4px; font-size: 20px; }
  .df-profile-card p { grid-column: 2; margin: 0 0 10px; overflow-wrap: anywhere; }
  .df-profile-badges { grid-column: 2; justify-content: start; }
  .df-profile-right { gap: 20px; }
}
