/* ==========================================================================
   base — 全局基础样式
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #f5f7fa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #1557b0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #333333;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

p {
  margin-bottom: 1em;
}

/* ==========================================================================
   layout — 全站骨架布局
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8eaed;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand-logo {
  font-size: 24px;
  font-weight: 700;
  color: #1a73e8;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: #1557b0;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  color: #666666;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
  color: #1a73e8;
  background-color: #f5f7fa;
}

.nav-list a.is-current {
  color: #1a73e8;
  font-weight: 600;
  background-color: rgba(26, 115, 232, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333333;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-main {
  min-height: calc(100vh - 64px - 240px);
}

.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e8eaed;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-col h2 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333333;
}

.footer-brand {
  font-size: 22px;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #e8eaed;
  padding-top: 16px;
  margin-top: 16px;
}

.footer-bottom p {
  font-size: 13px;
  color: #999999;
  text-align: center;
  margin-bottom: 0;
}

/* ==========================================================================
   components — 通用组件
   ========================================================================== */
/* 面包屑 */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #666666;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #1a73e8;
}

.breadcrumb a:hover {
  color: #1557b0;
}

.breadcrumb-sep {
  color: #999999;
}

.breadcrumb-current {
  color: #666666;
}

/* 页面标题区 */
.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 28px;
  margin-bottom: 8px;
}

.page-description {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 内页通用容器 */
.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 40px;
}

/* 侧栏布局（默认主内容在前，侧栏在后） */
.layout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.sidebar-left .page-sidebar {
  grid-column: 1;
  grid-row: 1;
}

.sidebar-left .page-content {
  grid-column: 2;
  grid-row: 1;
}

.page-sidebar {
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 88px;
}

.sidebar-title {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eaed;
}

.category-nav-list li,
.sidebar-list li {
  margin-bottom: 4px;
}

.category-nav-list a,
.sidebar-list a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  color: #666666;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.category-nav-list a:hover,
.sidebar-list a:hover {
  color: #1a73e8;
  background-color: #f5f7fa;
}

.sidebar-note {
  font-size: 13px;
  color: #999999;
  line-height: 1.5;
  margin-top: 16px;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid #e8eaed;
}

.page-content {
  min-width: 0;
}

/* ==========================================================================
   pages — 首页
   ========================================================================== */
.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* Hero 区 */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas:
    "copy media"
    "stats stats";
  gap: 24px 40px;
  padding: 48px 0 40px;
  background-color: transparent;
}

.hero-copy {
  grid-area: copy;
  align-self: end;
}

.hero-copy h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-copy p {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 24px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background-color: #1a73e8;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.cta-link:hover {
  background-color: #1557b0;
  color: #ffffff;
}

.hero-media {
  grid-area: media;
  align-self: center;
}

.hero-figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8eaed;
}

.hero-figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.hero-stats {
  grid-area: stats;
  margin-top: 16px;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  overflow: hidden;
}

.stats-table caption {
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 20px;
  color: #333333;
  background-color: #f5f7fa;
  border-bottom: 1px solid #e8eaed;
}

.stats-table th,
.stats-table td {
  padding: 12px 20px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #e8eaed;
}

.stats-table th {
  background-color: #f5f7fa;
  font-weight: 600;
  color: #333333;
}

.stats-table td {
  color: #666666;
}

.stats-table tr:last-child td {
  border-bottom: none;
}

/* 分类标签区 */
.tags {
  margin-top: 48px;
}

.section-intro {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 6px;
  font-size: 14px;
  color: #666666;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tag-item:hover {
  border-color: #1a73e8;
  color: #1a73e8;
  box-shadow: 0 2px 8px rgba(26, 115, 232, 0.1);
}

/* 最近更新 */
.updates {
  margin-top: 48px;
}

.update-group {
  margin-bottom: 32px;
}

.update-group h3 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8eaed;
}

.update-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.update-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.update-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.update-item img {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.update-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.update-title {
  font-size: 15px;
  font-weight: 600;
  color: #333333;
}

.update-chapter {
  font-size: 13px;
  color: #666666;
}

.update-tag {
  display: inline-block;
  font-size: 12px;
  color: #1a73e8;
  background-color: rgba(26, 115, 232, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
}

/* 人气榜单 */
.rankings {
  margin-top: 48px;
}

.ranking-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ranking-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.rank-number {
  font-size: 20px;
  font-weight: 700;
  color: #1a73e8;
}

.ranking-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
}

.rank-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rank-title {
  font-size: 14px;
  font-weight: 600;
  color: #333333;
}

.rank-reason {
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
}

/* 阅读指南入口 */
.guide {
  margin-top: 48px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.guide-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.guide-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
}

.guide-card a {
  font-size: 14px;
  font-weight: 500;
}

/* 长尾推荐 */
.longtail {
  margin-top: 48px;
}

.longtail-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.topic-card {
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.topic-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.topic-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.topic-card p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 16px;
}

.topic-card a {
  font-size: 14px;
  font-weight: 500;
}

/* ==========================================================================
   pages — 题材分类页
   ========================================================================== */
.category-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.category-title {
  font-size: 22px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e8eaed;
}

.category-section > p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 16px;
}

.category-figure {
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8eaed;
}

.category-figure img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category-figure figcaption {
  font-size: 13px;
  color: #999999;
  padding: 8px 12px;
  background-color: #f5f7fa;
}

.category-section a {
  font-size: 14px;
  font-weight: 500;
}

.category-tip {
  margin-top: 32px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
}

.tip-title {
  font-size: 18px;
  margin-bottom: 12px;
}

.category-tip p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
}

/* ==========================================================================
   pages — 阅读指南页
   ========================================================================== */
.guide-section {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
}

.guide-section .section-intro {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

.steps-list {
  counter-reset: step-counter;
}

.step-item {
  position: relative;
  padding: 20px 20px 20px 60px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  margin-bottom: 16px;
}

.step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1a73e8;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50%;
}

.step-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
}

.step-item p:last-child {
  margin-bottom: 0;
}

.tips-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tips-list li {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
}

.tips-list h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.tips-list p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 0;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #1a73e8;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background-color: #f5f7fa;
}

.faq-item p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #666666;
  margin-bottom: 0;
}

.guide-figure {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #e8eaed;
}

.guide-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.guide-figure figcaption {
  font-size: 13px;
  color: #999999;
  padding: 8px 12px;
  background-color: #f5f7fa;
}

.related-links {
  margin-top: 32px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
}

.related-links h2 {
  font-size: 16px;
  margin-bottom: 12px;
}

.related-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-links a {
  font-size: 14px;
  color: #1a73e8;
  padding: 6px 12px;
  background-color: #f5f7fa;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.related-links a:hover {
  background-color: rgba(26, 115, 232, 0.08);
}

/* ==========================================================================
   pages — 恋爱推荐页
   ========================================================================== */
.recommend-list {
  margin-top: 32px;
}

.section-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.work-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: box-shadow 0.2s ease;
}

.work-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.work-cover {
  flex-shrink: 0;
  width: 120px;
  height: 160px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #e8eaed;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-info {
  flex: 1;
  min-width: 0;
}

.work-title {
  font-size: 18px;
  margin-bottom: 8px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.work-tags .tag {
  display: inline-block;
  font-size: 12px;
  color: #1a73e8;
  background-color: rgba(26, 115, 232, 0.08);
  padding: 2px 10px;
  border-radius: 4px;
}

.work-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 0;
}

.highlight-section {
  margin-top: 40px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.highlight-item {
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
}

.highlight-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.highlight-item p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 0;
}

.related-nav {
  margin-top: 40px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
}

.related-nav p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 0;
}

.related-nav a {
  font-weight: 500;
}

/* ==========================================================================
   pages — 热血推荐页
   ========================================================================== */
.section-desc {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

.work-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #1a73e8;
}

.work-link:hover {
  color: #1557b0;
}

.highlight-tip {
  margin-top: 16px;
  font-size: 14px;
  color: #666666;
}

.highlight-tip a {
  font-weight: 500;
  margin-right: 16px;
}

/* ==========================================================================
   pages — 404 页
   ========================================================================== */
.error-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  min-height: calc(100vh - 64px - 240px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-panel {
  text-align: center;
  max-width: 480px;
  padding: 40px;
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 8px;
}

.error-code {
  font-size: 64px;
  font-weight: 700;
  color: #1a73e8;
  line-height: 1;
  margin-bottom: 16px;
}

.error-panel h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #666666;
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.error-btn-primary {
  display: inline-block;
  padding: 10px 24px;
  background-color: #1a73e8;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.error-btn-primary:hover {
  background-color: #1557b0;
  color: #ffffff;
}

.error-btn-secondary {
  display: inline-block;
  padding: 10px 24px;
  background-color: #f5f7fa;
  color: #666666;
  font-size: 15px;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.error-btn-secondary:hover {
  background-color: #e8eaed;
  color: #333333;
}

.error-tip {
  font-size: 13px;
  color: #999999;
  margin-bottom: 0;
}

/* ==========================================================================
   responsive — 响应式适配
   ========================================================================== */
@media (max-width: 1024px) {
  .ranking-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .ranking-item:nth-child(4),
  .ranking-item:nth-child(5) {
    grid-column: span 1;
  }

  .layout-shell {
    grid-template-columns: 1fr;
  }

  .sidebar-left .page-sidebar {
    grid-column: 1;
    grid-row: 2;
  }

  .sidebar-left .page-content {
    grid-column: 1;
    grid-row: 1;
  }

  .page-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
    padding: 0 16px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background-color: #ffffff;
    border-bottom: 1px solid #e8eaed;
    padding: 8px 16px;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 12px 16px;
    font-size: 15px;
  }

  .site-header {
    position: sticky;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "stats";
    gap: 20px;
    padding: 32px 0 24px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-figure img {
    height: 200px;
  }

  .update-list {
    grid-template-columns: 1fr;
  }

  .ranking-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-cards,
  .longtail-cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }

  .footer-bottom {
    grid-column: 1;
  }

  .inner-main {
    padding: 24px 16px 32px;
  }

  .home-main {
    padding: 0 16px 32px;
  }

  .tips-list {
    grid-template-columns: 1fr;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .work-card {
    flex-direction: column;
  }

  .work-cover {
    width: 100%;
    height: 200px;
  }

  .error-main {
    padding: 40px 16px;
  }

  .error-panel {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  .ranking-list {
    grid-template-columns: 1fr;
  }

  .stats-table th,
  .stats-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .tag-item {
    padding: 8px 14px;
  }

  .category-figure img {
    height: 140px;
  }

  .guide-figure img {
    height: 160px;
  }
}
