:root {
  --ink: #10232b;
  --muted: #71858c;
  --soft: #f4fbfb;
  --brand: #0ea99d;
  --brand-dark: #00796f;
  --pale: #eafbfa;
  --line: #cfeceb;
  --orange: #ff7048;
  --gold: #ffb63d;
  --green: #12a66c;
  --footer: #00665e;
  --shadow: 0 18px 40px rgba(5, 108, 100, .08);
  --font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --wrap-width: 740px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 11px;
  background: linear-gradient(180deg, #f8ffff 0, #fff 460px);
}
a { color: inherit; text-decoration: none; }
img {
  display: block;
  max-width: 100%;
  object-fit: cover;
  background: #eaf8f7;
  outline: 1px solid rgba(0, 0, 0, .08);
  outline-offset: -1px;
}
button, input, select { font: inherit; }
.sz-wrap {
  width: var(--wrap-width);
  max-width: calc(100vw - 56px);
  margin: 0 auto;
}

html.is-live-data-loading main {
  position: relative;
}
html.is-live-data-loading main > * {
  opacity: 0;
  pointer-events: none;
}
html.is-live-data-ready main > * {
  opacity: 1;
  transition: opacity .16s ease-out;
}
.sz-header {
  height: 45px;
  color: #e4ffff;
  background: linear-gradient(135deg, #00665e, #003c37);
  border-bottom: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 26px rgba(0, 64, 58, .18);
}
.sz-header-inner {
  height: 45px;
  display: grid;
  grid-template-columns: 132px minmax(240px,1fr) 216px 40px 46px;
  gap: 10px;
  align-items: center;
}
.sz-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-weight: 950;
}
.sz-brand-mark {
  width: 34px;
  height: 34px;
  overflow: hidden;
  flex: 0 0 auto;
}
.sz-brand-mark img {
  width: auto;
  max-width: none;
  height: 34px;
  object-fit: contain;
  background: transparent;
  outline: 0;
}
.sz-brand-text {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
}
.sz-nav {
  display: flex;
  align-items: stretch;
  height: 45px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sz-nav a {
  min-width: 40px;
  display: grid;
  place-items: center;
  padding-top: 2px;
  border-bottom: 2px solid transparent;
  color: rgba(230,255,252,.9);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}
.sz-nav a.active {
  color: #fff;
  border-color: #25d7c8;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}
.sz-search {
  height: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 4px;
  background: #fff;
}
.sz-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 10px;
  color: #5b6e75;
}
.sz-search button {
  border: 0;
  color: #fff;
  background: #0ea99d;
  font-weight: 950;
}
.sz-history { color: #e4ffff; font-weight: 850; text-align: center; }
.sz-login {
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #005f58;
  background: #fff;
  font-weight: 950;
}

.page-title {
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 18px 0 10px;
}
.page-title h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}
.page-title p {
  margin: 0 0 5px;
  color: var(--muted);
}
.section-block { margin-top: 14px; }
.section-head {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 9px;
}
.section-head h2 {
  margin: 0;
  position: relative;
  padding-left: 13px;
  font-size: 18px;
  line-height: 1.2;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand);
}
.section-head a {
  color: var(--brand-dark);
  font-weight: 850;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.metric {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  padding: 11px 18px;
  border-right: 1px solid #e2f1f1;
}
.metric:last-child { border-right: 0; }
.metric-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--brand);
  font-weight: 950;
}
.metric-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.metric-icon.orange { background: var(--gold); }
.metric small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}
.metric strong {
  display: inline-block;
  margin-top: 4px;
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
}
.metric span { color: var(--muted); font-size: 11px; }

.filter-matrix {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(5,108,100,.05);
}
.filter-row {
  display: grid;
  grid-template-columns: 82px minmax(0,1fr);
  border-bottom: 1px solid #e8f5f4;
}
.filter-row:last-child { border-bottom: 0; }
.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: #41616a;
  background: #f3fbfb;
  font-weight: 900;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 13px;
  align-items: center;
  min-width: 0;
  padding: 6px 12px;
}
.chip {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 5px;
  color: #35515a;
  white-space: nowrap;
}
.chip.active {
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.category-recs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 10px;
}
.rec-card {
  display: grid;
  grid-template-columns: 54px minmax(0,1fr);
  gap: 10px;
  min-height: 118px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.rec-card img {
  width: 54px;
  height: 76px;
  border-radius: 5px;
}
.rec-card strong {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rec-card p {
  height: 28px;
  overflow: hidden;
  margin: 7px 0;
  color: #5d747b;
  font-size: 11px;
  line-height: 1.35;
}
.rec-card small {
  display: block;
  color: #82949a;
  font-size: 11px;
}
.rec-card em {
  align-self: end;
  justify-self: start;
  grid-column: 1 / -1;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 850;
}

.grid-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.grid-tools strong { color: var(--ink); font-size: 18px; }
.grid-tools b { color: var(--brand); }
.comic-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 18px 14px;
}
.comic-card {
  min-width: 0;
  display: grid;
}
.comic-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 7px;
}
.comic-card strong {
  overflow: hidden;
  margin-top: 8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comic-card span,
.comic-card small {
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comic-card b {
  justify-self: end;
  margin-top: -18px;
  color: var(--orange);
  font-size: 11px;
}
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
}
.pager-pages,
.pager-jump {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pager a,
.pager-ellipsis {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #304b53;
}
.pager-text {
  color: #6b8389;
  font-size: 13px;
  line-height: 30px;
  white-space: nowrap;
}
.pager .active {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}
.pager input {
  width: 48px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 5px;
  text-align: center;
}
.pager a.pager-confirm {
  min-width: 42px;
}
.pager a.pager-next {
  min-width: 52px;
}

.link-matrix {
  display: grid;
  grid-template-columns: 70px minmax(0,1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.link-matrix dt,
.link-matrix dd {
  margin: 0;
  padding: 9px 14px;
  border-bottom: 1px solid #e8f5f4;
}
.link-matrix dt {
  color: var(--brand-dark);
  background: #f3fbfb;
  font-weight: 950;
}
.link-matrix dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #4d666d;
}
.link-matrix dt:last-of-type,
.link-matrix dd:last-of-type { border-bottom: 0; }

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  width: 330px;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.tabs button,
.tabs a {
  height: 30px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #344d55;
  font-weight: 850;
  display: grid;
  place-items: center;
}
.tabs button:last-child,
.tabs a:last-child { border-right: 0; }
.tabs button.active,
.tabs a.active {
  color: #fff;
  background: var(--brand);
}
.update-stats {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.update-stat {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-right: 1px solid #e2f1f1;
}
.update-stat:last-child { border-right: 0; }
.update-stat small { color: var(--muted); font-weight: 850; }
.update-stat strong { color: var(--brand); font-size: 38px; line-height: 1; }
.update-stat b { font-size: 20px; }
.progress {
  width: 118px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfeeee;
}
.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand);
}
.update-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap: 16px 16px;
}
.update-card {
  position: relative;
  overflow: hidden;
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.update-card .new-badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 0 0 6px 0;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 950;
}
.update-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
}
.update-card strong,
.update-card span,
.update-card small {
  overflow: hidden;
  margin-left: 12px;
  margin-right: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.update-card strong {
  margin-top: 10px;
  font-size: 13px;
}
.update-card span,
.update-card small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
}
.empty-state {
  grid-column: 1 / -1;
  min-height: 160px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8ffff;
  font-weight: 800;
}
.tag-pair {
  display: flex;
  gap: 7px;
  margin: 6px 10px 9px;
}
.tag-pair i {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--brand-dark);
  font-size: 12px;
  font-style: normal;
}
.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}
.rank-tabs button {
  min-width: 80px;
  height: 34px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #405b63;
  font-weight: 850;
}
.rank-tabs button:last-child { border-right: 0; }
.rank-tabs button.active { color: #fff; background: var(--brand); }
.rank-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.rank-metric {
  display: grid;
  gap: 5px;
  padding: 14px 22px;
  border-right: 1px solid #e2f1f1;
}
.rank-metric:last-child { border-right: 0; }
.rank-metric strong { font-size: 22px; line-height: 1; }
.rank-metric span { color: var(--muted); }
.rank-metric b { color: var(--orange); font-size: 13px; }
.rank-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 14px;
}
.rank-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid #e7f4f3;
}
.panel-head h2,
.panel-head h3 {
  margin: 0;
  font-size: 18px;
}
.panel-head a { color: var(--brand-dark); font-weight: 850; }
.rank-table-list { padding: 7px 14px 14px; }
.rank-row {
  display: grid;
  grid-template-columns: 26px 46px minmax(0,1fr) 70px 40px;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  border-bottom: 1px solid #edf6f5;
}
.rank-row:last-child { border-bottom: 0; }
.rank-row em {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #b8c3c7;
  font-style: normal;
  font-weight: 950;
}
.rank-row:nth-child(1) em,
.rank-row:nth-child(2) em,
.rank-row:nth-child(3) em { background: var(--orange); }
.rank-row img {
  width: 36px;
  height: 36px;
  border-radius: 5px;
}
.rank-row strong,
.rank-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-row small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.rank-row b { color: #48626a; text-align: right; }
.rank-row i {
  color: var(--orange);
  font-style: normal;
  font-weight: 900;
  text-align: right;
}
.rank-side {
  display: grid;
  gap: 14px;
}
.mini-rank { padding: 8px 14px 14px; }
.mini-row {
  display: grid;
  grid-template-columns: 24px 42px minmax(0,1fr) 52px;
  gap: 8px;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid #edf6f5;
}
.mini-row:last-child { border-bottom: 0; }
.mini-row em {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: var(--orange);
  font-style: normal;
  font-weight: 900;
}
.mini-row img {
  width: 32px;
  height: 32px;
  border-radius: 5px;
}
.mini-row strong,
.mini-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mini-row small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.mini-row b { color: var(--orange); text-align: right; }
.rank-quads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.category-rank {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.category-rank .panel-head { min-height: 56px; }
.category-rank-body {
  display: grid;
  grid-template-columns: 118px minmax(0,1fr);
  gap: 12px;
  padding: 11px;
}
.rank-feature {
  min-width: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 7px;
}
.rank-feature img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 7px;
}
.rank-feature::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
  pointer-events: none;
}
.rank-feature strong,
.rank-feature span {
  position: absolute;
  left: 12px;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .42);
}
.rank-feature strong {
  right: 12px;
  bottom: 31px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-feature span {
  bottom: 11px;
  font-size: 12px;
  font-weight: 850;
}
.category-rank-list {
  display: grid;
  align-content: start;
  gap: 8px;
}
.category-rank-list a {
  display: grid;
  grid-template-columns: 22px 36px minmax(0,1fr) 48px;
  gap: 7px;
  align-items: center;
}
.category-rank-list em {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: var(--gold);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}
.category-rank-list img {
  width: 36px;
  height: 36px;
  border-radius: 5px;
}
.category-rank-list strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.category-rank-list b {
  color: var(--orange);
  text-align: right;
  font-size: 13px;
}
.rank-entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px 14px;
}
.rank-entry {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.rank-entry i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--pale);
  font-style: normal;
  font-weight: 950;
}
.rank-entry strong { display: block; color: var(--brand-dark); }
.rank-entry span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

.sz-footer {
  margin-top: 30px;
  color: #e4ffff;
  background:
    radial-gradient(circle at 15% 10%, rgba(30, 210, 190, .22), transparent 28%),
    linear-gradient(135deg, #007b72, #004f49);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr 1.22fr;
  gap: 28px;
  padding: 18px 0 14px;
}
.footer-brand .sz-brand-text { color: #fff; font-size: 20px; }
.footer-about p,
.sz-footer a,
.footer-app p {
  color: rgba(236,255,255,.86);
}
.footer-about p {
  max-width: 260px;
  line-height: 1.45;
  margin: 10px 0 0;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.socials span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  font-size: 12px;
}
.sz-footer nav,
.footer-app {
  display: grid;
  align-content: start;
  gap: 5px;
}
.sz-footer h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 16px;
}
.footer-qr {
  width: 64px;
  height: 64px;
  margin: 4px 0 2px;
  border: 6px solid #fff;
  border-radius: 4px;
  outline: 0;
}
.footer-app a {
  width: 120px;
  height: 23px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 5px;
}
.copyright {
  padding: 7px 0 9px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(236,255,255,.72);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 760px) {
  .sz-header-inner { grid-template-columns: 170px minmax(0,1fr) 260px 50px 66px; }
  .metric-strip,
  .rank-metrics,
  .update-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric:nth-child(2),
  .rank-metric:nth-child(2),
  .update-stat:nth-child(2) { border-right: 0; }
  .category-recs,
  .comic-grid,
  .update-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .rank-dashboard,
  .rank-quads { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .sz-wrap { max-width: calc(100vw - 28px); }
  .sz-header { height: auto; }
  .sz-header-inner {
    height: auto;
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 0;
  }
  .sz-nav {
    grid-column: 1 / -1;
    order: 3;
    height: 44px;
  }
  .sz-search {
    grid-column: 1 / -1;
    order: 4;
  }
  .sz-history { display: none; }
  .page-title { align-items: start; flex-direction: column; }
  .page-title h1 { font-size: 30px; }
  .metric-strip,
  .rank-metrics,
  .update-stats,
  .category-recs,
  .comic-grid,
  .update-grid,
  .rank-entry-grid { grid-template-columns: 1fr; }
  .metric,
  .rank-metric,
  .update-stat { border-right: 0; border-bottom: 1px solid #e2f1f1; }
  .filter-row,
  .link-matrix { grid-template-columns: 1fr; }
  .filter-label,
  .link-matrix dt { border-bottom: 1px solid #e8f5f4; }
  .tabs { width: 100%; }
  .category-rank-body { grid-template-columns: 1fr; }
  .rank-row { grid-template-columns: 28px 48px minmax(0,1fr); }
  .rank-row b,
  .rank-row i { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Align final subpages with the confirmed home-turquoise desktop page. */
@media (min-width: 761px) {
  body {
    font-size: 14px;
    background: linear-gradient(180deg, #f8ffff 0, #fff 440px);
  }
  .songzi-page {
    min-width: 0;
  }
  .sz-wrap {
    width: 1180px;
    max-width: calc(100vw - 56px);
  }
  .sz-header {
    height: 72px;
  }
  .sz-header-inner {
    height: 72px;
    grid-template-columns: 184px minmax(0, 1fr) 330px 54px 72px;
    gap: 18px;
  }
  .sz-brand {
    gap: 10px;
  }
  .sz-brand-mark {
    width: 44px;
    height: 44px;
  }
  .sz-brand-mark img {
    height: 44px;
  }
  .sz-brand-text {
    font-size: 28px;
  }
  .sz-nav {
    height: 72px;
    gap: 4px;
  }
  .sz-nav a {
    min-width: 56px;
    border-bottom-width: 3px;
    font-size: 14px;
  }
  .sz-search {
    height: 38px;
    grid-template-columns: minmax(0, 1fr) 52px;
  }
  .sz-search input {
    padding: 0 14px;
  }
  .sz-login {
    height: 38px;
    border-radius: 7px;
  }
  .page-title {
    padding: 34px 0 18px;
  }
  .page-title h1 {
    font-size: 36px;
  }
  .page-title p {
    margin-bottom: 6px;
  }
  .section-block {
    margin-top: 24px;
  }
  .section-head {
    min-height: 34px;
    margin-bottom: 18px;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .section-head h2::before {
    height: 24px;
  }
  .metric {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 26px;
  }
  .metric-icon {
    width: 48px;
    height: 48px;
  }
  .metric strong {
    font-size: 26px;
  }
  .filter-row {
    grid-template-columns: 106px minmax(0, 1fr);
  }
  .filter-label {
    padding: 16px 18px;
  }
  .filter-options {
    gap: 8px 22px;
    padding: 13px 18px;
  }
  .chip {
    min-height: 30px;
    padding: 0 11px;
  }
  .category-recs {
    gap: 18px;
  }
  .rec-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
    min-height: 156px;
    padding: 14px;
  }
  .rec-card img {
    width: 68px;
    height: 102px;
  }
  .rec-card strong {
    font-size: 18px;
  }
  .rec-card p {
    height: 42px;
    font-size: 13px;
    line-height: 1.6;
  }
  .rec-card small {
    font-size: 12px;
  }
  .rec-card em {
    padding: 6px 15px;
  }
  .grid-tools strong {
    font-size: 22px;
  }
  .comic-grid {
    gap: 28px 22px;
  }
  .comic-card strong {
    margin-top: 11px;
    font-size: 16px;
  }
  .comic-card span,
  .comic-card small {
    margin-top: 6px;
    font-size: 13px;
  }
  .comic-card b {
    font-size: 13px;
  }
  .pager {
    gap: 12px;
    margin-top: 34px;
  }
  .pager-pages,
  .pager-jump {
    gap: 12px;
  }
  .pager a,
  .pager-ellipsis {
    min-width: 38px;
    height: 36px;
  }
  .pager-text {
    line-height: 36px;
  }
  .pager input {
    width: 54px;
    height: 36px;
  }
  .pager a.pager-next {
    min-width: 58px;
  }
  .pager a.pager-confirm {
    min-width: 48px;
  }
  .link-matrix {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .link-matrix dt,
  .link-matrix dd {
    padding: 14px 18px;
  }
  .link-matrix dd {
    gap: 10px 24px;
  }
  .tabs {
    width: 500px;
  }
  .tabs button,
  .tabs a {
    height: 44px;
  }
  .update-stat {
    min-height: 112px;
    padding: 22px 28px;
  }
  .update-stat strong {
    font-size: 44px;
  }
  .update-stat b {
    font-size: 26px;
  }
  .progress {
    width: 160px;
  }
  .update-grid {
    gap: 24px 22px;
  }
  .update-card strong {
    margin-top: 12px;
    font-size: 16px;
  }
  .update-card span,
  .update-card small {
    font-size: 13px;
  }
  .tag-pair {
    margin: 10px 12px 13px;
  }
  .tag-pair i {
    padding: 4px 9px;
  }
  .rank-tabs button {
    min-width: 92px;
    height: 42px;
  }
  .rank-metric {
    padding: 24px 30px;
  }
  .rank-metric strong {
    font-size: 26px;
  }
  .rank-dashboard {
    gap: 22px;
  }
  .panel-head {
    min-height: 58px;
    padding: 0 22px;
  }
  .panel-head h2,
  .panel-head h3 {
    font-size: 22px;
  }
  .rank-table-list {
    padding: 9px 22px 18px;
  }
  .rank-row {
    grid-template-columns: 32px 54px minmax(0, 1fr) 94px 52px;
    gap: 12px;
    min-height: 70px;
  }
  .rank-row em {
    width: 28px;
    height: 28px;
  }
  .rank-row img {
    width: 54px;
    height: 54px;
  }
  .rank-row small {
    margin-top: 5px;
    font-size: 12px;
  }
  .rank-side {
    gap: 22px;
  }
  .mini-rank {
    padding: 10px 20px 18px;
  }
  .mini-row {
    grid-template-columns: 28px 52px minmax(0, 1fr) 60px;
    gap: 10px;
    padding: 10px 0;
  }
  .mini-row img {
    width: 52px;
    height: 52px;
  }
  .mini-row small {
    margin-top: 4px;
    font-size: 12px;
  }
  .rank-quads {
    gap: 22px;
  }
  .category-rank-body {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }
  .rank-feature strong {
    margin-top: 10px;
    font-size: 18px;
  }
  .category-rank-list {
    gap: 10px;
  }
  .category-rank-list a {
    grid-template-columns: 24px 44px minmax(0, 1fr) 58px;
    gap: 9px;
  }
  .category-rank-list img {
    width: 44px;
    height: 44px;
  }
  .rank-entry-grid {
    gap: 16px 20px;
  }
  .rank-entry {
    padding: 16px;
  }
  .rank-entry i {
    width: 42px;
    height: 42px;
  }
  .sz-footer {
    margin-top: 34px;
    background: linear-gradient(135deg, #00665e, #003c37);
  }
  .footer-grid {
    grid-template-columns: 1.8fr repeat(3, 1fr) 1.35fr;
    gap: 42px;
    padding: 36px 0 30px;
  }
  .footer-brand .sz-brand-text {
    font-size: 28px;
  }
  .footer-about p,
  .footer-app p {
    line-height: 1.8;
    margin: 14px 0;
  }
  .socials {
    margin-top: 20px;
  }
  .socials span {
    width: 26px;
    height: 26px;
  }
  .sz-footer nav,
  .footer-app {
    gap: 8px;
  }
  .sz-footer h3 {
    margin-bottom: 8px;
  }
  .footer-qr {
    width: 96px;
    height: 96px;
    margin: 8px 0 4px;
    border: 0;
    padding: 6px;
  }
  .footer-app a {
    width: 150px;
    min-height: 34px;
  }
  .copyright {
    padding: 12px;
  }

  /* Rank page high-fidelity pass: match the supplied ranking mockup cards. */
  .rank-dashboard,
  .rank-quads {
    gap: 20px;
  }
  .rank-panel,
  .category-rank {
    overflow: hidden;
    border: 1px solid #cfe9e8;
    border-radius: 9px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 34px rgba(10, 90, 85, .045);
  }
  .panel-head {
    min-height: 56px;
    padding: 0 20px;
    border-bottom: 1px solid #e5f2f1;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,255,255,.96));
  }
  .panel-head h2,
  .panel-head h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0c2430;
    font-size: 21px;
    line-height: 1;
    font-weight: 950;
  }
  .panel-head h2 small,
  .panel-head h3 small {
    color: #8aa1a7;
    font-size: 12px;
    font-weight: 700;
  }
  .panel-head a {
    color: #009688;
    font-size: 13px;
    font-weight: 950;
  }
  .panel-icon {
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #ff7048;
    font-size: 16px;
    line-height: 1;
  }
  .rising-panel .panel-icon { background: linear-gradient(135deg, #ff9f19, #ff6b00); }
  .finished-panel .panel-icon,
  .love-rank .panel-icon { background: linear-gradient(135deg, #ff91bf, #ff5c9b); }
  .fantasy-rank .panel-icon { background: linear-gradient(135deg, #8c67ff, #6a49e6); }
  .short-rank .panel-icon { background: linear-gradient(135deg, #4bb1ff, #2a84ef); }
  .rank-table-list {
    padding: 0 22px 18px;
  }
  .rank-column-head {
    display: grid;
    grid-template-columns: 44px 1fr 106px 58px;
    align-items: center;
    height: 38px;
    color: #8aa1a7;
    font-size: 12px;
    border-bottom: 1px solid #edf6f5;
  }
  .rank-column-head span:nth-child(2) {
    padding-left: 68px;
  }
  .rank-row {
    grid-template-columns: 36px 58px minmax(0, 1fr) 98px 56px;
    min-height: 64px;
    gap: 12px;
    border-bottom: 1px solid #edf6f5;
  }
  .rank-row em,
  .mini-row em,
  .category-rank-list em {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    color: #fff;
    background: #bdc8cc;
    font-size: 13px;
    font-weight: 950;
  }
  .rank-row:nth-of-type(2) em,
  .mini-row:nth-child(1) em,
  .category-rank-list a:nth-child(1) em { background: #ff5f3f; }
  .rank-row:nth-of-type(3) em,
  .mini-row:nth-child(2) em,
  .category-rank-list a:nth-child(2) em { background: #ff8a14; }
  .rank-row:nth-of-type(4) em,
  .mini-row:nth-child(3) em,
  .category-rank-list a:nth-child(3) em { background: #ffb020; }
  .rank-row img {
    width: 54px;
    height: 54px;
    border-radius: 6px;
  }
  .rank-row strong,
  .mini-row strong,
  .category-rank-list strong {
    color: #0d2530;
    font-size: 14px;
    font-weight: 950;
  }
  .rank-row small,
  .mini-row small {
    margin-top: 5px;
    color: #8aa1a7;
    font-size: 12px;
  }
  .rank-row b {
    color: #59727a;
    font-size: 14px;
    font-weight: 850;
    text-align: right;
  }
  .rank-row i,
  .mini-row b {
    color: #ff5038;
    font-size: 13px;
    font-style: normal;
    font-weight: 900;
    text-align: right;
  }
  .rank-row i:has(+ *) {
    color: #ff5038;
  }
  .rank-more-link {
    height: 36px;
    display: grid;
    place-items: center;
    margin-top: 12px;
    border: 1px solid #b9e3e0;
    border-radius: 5px;
    color: #009688;
    font-weight: 950;
  }
  .rank-side {
    gap: 20px;
  }
  .side-panel .mini-rank {
    padding: 12px 22px 16px;
  }
  .mini-row {
    grid-template-columns: 30px 54px minmax(0, 1fr) 70px;
    min-height: 58px;
    gap: 12px;
    padding: 6px 0;
  }
  .mini-row img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
  }
  .finished-panel .mini-row b {
    color: #ff9800;
    font-size: 16px;
  }
  .finished-panel .mini-row b::before {
    content: "★ ";
  }
  .rank-quads {
    margin-top: 24px;
  }
  .category-rank .panel-head {
    min-height: 58px;
  }
  .category-rank-body {
    grid-template-columns: 184px minmax(0, 1fr);
    gap: 20px;
    padding: 20px;
  }
  .rank-feature img {
    width: 184px;
    height: 246px;
    border-radius: 7px;
  }
  .rank-feature strong {
    margin-top: 12px;
    color: #0d2530;
    font-size: 18px;
    font-weight: 950;
  }
  .rank-feature span {
    margin-top: 7px;
    color: #ff5f3f;
    font-size: 13px;
    font-weight: 900;
  }
  .rank-feature span::before,
  .category-rank-list b::before {
    content: "🔥 ";
  }
  .category-rank-list {
    gap: 12px;
  }
  .category-rank-list a {
    grid-template-columns: 26px 50px minmax(0, 1fr) 70px;
    gap: 10px;
    min-height: 50px;
  }
  .category-rank-list img {
    width: 46px;
    height: 46px;
    border-radius: 6px;
  }
  .category-rank-list b {
    color: #ff5038;
    font-size: 13px;
    font-weight: 900;
    text-align: right;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .sz-wrap {
    width: auto;
    max-width: calc(100vw - 60px);
  }
  .sz-header-inner {
    grid-template-columns: 142px minmax(250px, 1fr) 210px 40px 54px;
    gap: 10px;
  }
  .sz-brand-text {
    font-size: 22px;
  }
  .sz-nav a {
    min-width: 42px;
    font-size: 12px;
  }
  .sz-search {
    height: 34px;
    grid-template-columns: minmax(0, 1fr) 46px;
  }
  .sz-login {
    height: 32px;
  }
  .rank-dashboard {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
    gap: 16px;
  }
  .rank-panel,
  .category-rank {
    border-radius: 7px;
  }
  .panel-head {
    min-height: 42px;
    padding: 0 15px;
  }
  .panel-head h2,
  .panel-head h3 {
    font-size: 17px;
  }
  .panel-head h2 small,
  .panel-head h3 small {
    font-size: 10px;
  }
  .panel-icon {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
  .rank-table-list {
    padding: 0 15px 12px;
  }
  .rank-column-head {
    grid-template-columns: 34px 1fr 78px 42px;
    height: 30px;
    font-size: 10px;
  }
  .rank-column-head span:nth-child(2) {
    padding-left: 50px;
  }
  .rank-row {
    grid-template-columns: 28px 44px minmax(0, 1fr) 66px 36px;
    min-height: 50px;
    gap: 8px;
  }
  .rank-row em,
  .mini-row em,
  .category-rank-list em {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    font-size: 11px;
  }
  .rank-row img {
    width: 40px;
    height: 40px;
  }
  .rank-row strong,
  .mini-row strong,
  .category-rank-list strong {
    font-size: 12px;
  }
  .rank-row small,
  .mini-row small {
    margin-top: 2px;
    font-size: 10px;
  }
  .rank-row b,
  .rank-row i,
  .mini-row b,
  .category-rank-list b {
    font-size: 11px;
  }
  .rank-more-link {
    height: 30px;
    margin-top: 8px;
    font-size: 12px;
  }
  .rank-side {
    gap: 15px;
  }
  .side-panel .mini-rank {
    padding: 9px 15px 11px;
  }
  .mini-row {
    grid-template-columns: 24px 40px minmax(0, 1fr) 48px;
    min-height: 43px;
    gap: 8px;
    padding: 4px 0;
  }
  .mini-row img {
    width: 36px;
    height: 36px;
  }
  .finished-panel .mini-row b {
    font-size: 13px;
  }
  .rank-quads {
    gap: 16px;
    margin-top: 18px;
  }
  .category-rank .panel-head {
    min-height: 44px;
  }
  .category-rank-body {
    grid-template-columns: 142px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }
  .rank-feature img {
    width: 142px;
    height: 190px;
  }
  .rank-feature strong {
    margin-top: 8px;
    font-size: 14px;
  }
  .rank-feature span {
    margin-top: 4px;
    font-size: 11px;
  }
  .category-rank-list {
    gap: 7px;
  }
  .category-rank-list a {
    grid-template-columns: 22px 36px minmax(0, 1fr) 50px;
    min-height: 37px;
    gap: 7px;
  }
  .category-rank-list img {
    width: 34px;
    height: 34px;
  }
  .rank-entry-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px 16px;
  }
  .rank-entry {
    padding: 12px;
  }
  .footer-grid {
    grid-template-columns: 1.45fr repeat(3, .85fr) 1.15fr;
    gap: 26px;
  }
}

.category-page .metric-strip {
  height: 62px;
  border-color: #d7eeee;
  border-radius: 5px;
  box-shadow: 0 6px 20px rgba(16, 119, 112, .04);
}
.category-page .metric {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 24px;
}
.category-page .metric-icon {
  width: 32px;
  height: 32px;
  font-size: 10px;
}
.category-page .metric-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}
.category-page .metric small {
  color: #6f858c;
  font-size: 11px;
  line-height: 1.1;
}
.category-page .metric strong {
  margin-top: 2px;
  color: #0ea99d;
  font-size: 20px;
  line-height: 1;
}
.category-page .metric span {
  font-size: 10px;
}
.category-page .filter-matrix {
  border-color: #d7eeee;
  border-radius: 5px;
  box-shadow: 0 8px 22px rgba(16, 119, 112, .035);
}
.category-page .filter-row {
  grid-template-columns: 92px minmax(0, 1fr);
  min-height: 56px;
}
.category-page .filter-label {
  gap: 7px;
  padding: 0 14px;
  color: #365b64;
  background: #f0fbfb;
  font-size: 14px;
  font-weight: 950;
}
.category-page .filter-label-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  color: #8aa9af;
}
.category-page .filter-label-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.category-page .filter-options {
  gap: 6px 17px;
  padding: 10px 16px;
}
.category-page .chip {
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #35515a;
  background: transparent;
  font-size: 14px;
}
.category-page .chip.active {
  border-color: #0ea99d;
  color: #0ea99d;
  background: #fff;
}
@media (min-width: 1001px) {
  .category-page .metric-strip {
    height: 78px;
  }
  .category-page .metric {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    padding: 16px 36px;
  }
  .category-page .metric-icon {
    width: 34px;
    height: 34px;
  }
  .category-page .metric small {
    font-size: 14px;
  }
  .category-page .metric strong {
    font-size: 24px;
  }
  .category-page .metric span {
    font-size: 13px;
  }
}

.rank-feature {
  display: block;
  position: relative;
  overflow: hidden;
}
.rank-feature strong,
.rank-feature span {
  position: absolute;
  left: 12px;
  z-index: 2;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .55);
}
.rank-feature strong {
  right: 12px;
  bottom: 31px;
}
.rank-feature span {
  bottom: 11px;
}
.rank-feature span::before {
  content: "🔥 ";
}

.single-rank-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 18px;
}
.rank-back {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #bfe3e1;
  border-radius: 5px;
  color: var(--brand-dark);
  font-weight: 850;
}
.single-rank-title h1 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: 36px;
  line-height: 1.08;
}
.single-rank-title p {
  margin: 8px 0 0;
  color: var(--muted);
}
.single-rank-note {
  min-width: 180px;
  padding: 14px 18px;
  border: 1px solid #cfe9e8;
  border-radius: 8px;
  background: #efffff;
}
.single-rank-note span,
.single-rank-note small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.single-rank-note strong {
  display: block;
  margin: 5px 0 3px;
  color: var(--brand);
  font-size: 28px;
  line-height: 1;
}
.rank-tabs a {
  min-width: 92px;
  height: 42px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  font-weight: 850;
}
.rank-tabs a:last-child { border-right: 0; }
.rank-tabs a.active { color: #fff; background: var(--brand); }
.single-rank-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 278px;
  gap: 22px;
  margin-top: 22px;
}
.single-rank-main,
.single-rank-side {
  min-width: 0;
}
.single-rank-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #cfe9e8;
  border-radius: 8px 8px 0 0;
  background: #efffff;
}
.single-rank-summary div {
  padding: 16px 20px;
  border-right: 1px solid #cfe9e8;
}
.single-rank-summary div:last-child { border-right: 0; }
.single-rank-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.single-rank-summary strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 20px;
}
.top100-panel {
  overflow: hidden;
  border: 1px solid #cfe9e8;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fff;
}
.top100-head,
.top100-row {
  display: grid;
  grid-template-columns: 58px 82px minmax(320px, 1fr) 96px 104px;
  align-items: center;
  column-gap: 16px;
}
.top100-head {
  height: 42px;
  padding: 0 22px;
  border-bottom: 1px solid #e2f1f1;
  color: #6f8790;
  font-size: 13px;
}
.top100-head span:nth-child(1),
.top100-head span:nth-child(2),
.top100-head span:nth-child(4),
.top100-head span:nth-child(5) {
  text-align: center;
}
.top100-head span:nth-child(3) {
  text-align: left;
}
.top100-row {
  min-height: 92px;
  padding: 12px 22px;
  border-bottom: 1px solid #edf6f5;
}
.top100-row:last-child { border-bottom: 0; }
.top100-row:hover { background: #f7ffff; }
.top100-row em {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #bdc8cc;
  font-style: normal;
  font-size: 16px;
  font-weight: 950;
  justify-self: center;
}
.top100-row:nth-child(1) em { background: #ff5f3f; }
.top100-row:nth-child(2) em { background: #ff8a14; }
.top100-row:nth-child(3) em { background: #ffb020; }
.top100-row img {
  width: 58px;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 6px;
  justify-self: center;
}
.top100-comic,
.top100-comic strong,
.top100-comic small {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top100-comic {
  justify-self: stretch;
}
.top100-comic strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.35;
}
.top100-comic small {
  color: var(--muted);
  font-size: 13px;
}
.top100-comic small {
  margin-top: 7px;
}
.top100-row b {
  min-width: 70px;
  color: var(--orange);
  font-size: 17px;
  text-align: center;
  justify-self: center;
}
.top100-row i {
  width: 86px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #bfe3e1;
  border-radius: 5px;
  color: var(--brand-dark);
  font-style: normal;
  font-weight: 900;
  justify-self: center;
}
.single-rank-side {
  display: grid;
  align-content: start;
  gap: 16px;
}
.rank-side-card {
  border: 1px solid #cfe9e8;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}
.rank-side-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 20px;
}
.rank-side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
.rank-side-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rank-side-links a {
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe9e8;
  border-radius: 5px;
  color: var(--brand-dark);
  font-weight: 850;
}
.rank-side-links a.active {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

@media (max-width: 960px) {
  .single-rank-shell {
    grid-template-columns: 1fr;
  }
  .single-rank-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .single-rank-title {
    align-items: start;
    flex-direction: column;
  }
  .single-rank-note {
    width: 100%;
  }
  .single-rank-summary {
    grid-template-columns: 1fr;
  }
  .single-rank-summary div {
    border-right: 0;
    border-bottom: 1px solid #cfe9e8;
  }
  .single-rank-summary div:last-child { border-bottom: 0; }
  .top100-head {
    display: none;
  }
  .top100-row {
    grid-template-columns: 38px 54px minmax(0, 1fr) 56px;
    gap: 10px;
    min-height: 78px;
    padding: 10px 12px;
  }
  .top100-row img {
    width: 48px;
  }
  .top100-row i {
    display: none;
  }
  .top100-row b {
    font-size: 13px;
  }
  .single-rank-side {
    grid-template-columns: 1fr;
  }
}
