@font-face {
  font-family: "Uniform Pro";
  src: url("/fonts/UniformPro-Reg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uniform Pro";
  src: url("/fonts/UniformPro-Bld.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f6f3ef;
  --bg-elevated: rgba(255, 252, 247, 0.92);
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-soft: rgba(255, 246, 239, 0.92);
  --text: #14111a;
  --muted: #736d7b;
  --muted-strong: #4f4957;
  --line: rgba(20, 17, 26, 0.08);
  --line-strong: rgba(20, 17, 26, 0.14);
  --accent: #ff6a3d;
  --accent-strong: #ff4a1c;
  --accent-soft: rgba(255, 106, 61, 0.12);
  --success: #16a085;
  --shadow: none;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell-width: min(1340px, calc(100% - 40px));
  --feature-card-width: 425.5px;
  --feature-card-height: 500px;
  --feature-step: 437.5px;
  --feature-stage-width: 1049.5px;
  --body-font: "Uniform Pro", "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --heading-font: "Uniform Pro", "Aptos Display", "Segoe UI Variable Display", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121014;
    --bg-elevated: rgba(22, 19, 27, 0.88);
    --surface: rgba(28, 24, 35, 0.86);
    --surface-strong: rgba(35, 30, 43, 0.96);
    --surface-soft: rgba(23, 19, 30, 0.96);
    --text: #f7f3ff;
    --muted: #b1a9c2;
    --muted-strong: #d5cde4;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.16);
    --accent: #ff845f;
    --accent-strong: #ffb39a;
    --accent-soft: rgba(255, 132, 95, 0.16);
    --success: #49d2b5;
    --shadow: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(255, 148, 120, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(88, 210, 189, 0.12), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.5;
}

.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;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, var(--bg-elevated), rgba(0, 0, 0, 0));
}

.site-nav {
  width: var(--shell-width);
  margin: 0 auto;
  padding: 22px 0 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.site-brand {
  min-width: max-content;
}

.site-brand__wordmark {
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.site-nav__links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav__link {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted-strong);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__link.is-active {
  background: var(--surface);
  color: var(--text);
  transform: translateY(-1px);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav__action,
.site-nav__icon-link {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.site-nav__action {
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--accent-strong);
  font-weight: 700;
}

.site-nav__icon-link {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.site-nav__icon-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.storefront-main,
.error-main {
  width: var(--shell-width);
  margin: 0 auto;
}

.storefront-main {
  padding: 24px 0 64px;
  display: grid;
  gap: 26px;
}

.hero-panel,
.reading-panel,
.shelf-panel,
.launch-panel,
.error-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 0;
  display: grid;
  gap: 16px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.eyebrow,
.section-heading h2,
.launch-panel h2,
.error-card h1 {
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: -0.05em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel__lead,
.section-heading p,
.launch-list p,
.reading-card span,
.reading-card small,
.shelf-card p,
.shelf-card small,
.novel-card p,
.novel-card small,
.site-footer__copy p,
.error-card p {
  color: var(--muted-strong);
}

.discover-pills {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  width: 100%;
  padding-inline: max(0px, calc((100% - min(var(--feature-stage-width), 100%)) / 2));
  box-sizing: border-box;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.discover-pills::-webkit-scrollbar {
  display: none;
}

.discover-pill {
  flex: 0 0 auto;
  min-width: max-content;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: transform 180ms ease, border-color 180ms ease;
}

.discover-pill.is-active {
  border-color: transparent;
  background: #14111a;
  color: #ffffff;
}

@media (prefers-color-scheme: dark) {
  .discover-pill.is-active {
    background: #ffffff;
    color: #14111a;
  }
}

.discover-pill small {
  display: none;
}

.discover-pill strong {
  font-size: 0.9rem;
  line-height: 1;
}

.featured-carousel {
  display: flex;
  justify-content: center;
  width: 100%;
}

.featured-carousel__viewport {
  position: relative;
  width: min(var(--feature-stage-width), 100%);
  height: var(--feature-card-height);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  isolation: isolate;
}

.featured-carousel__mobile-viewport {
  display: none;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: var(--feature-card-height);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  cursor: grab;
}

.featured-carousel__mobile-viewport::-webkit-scrollbar {
  display: none;
}

.featured-carousel__mobile-track {
  display: flex;
  gap: 12px;
  width: max-content;
  min-width: 0;
  height: 100%;
  padding: 0;
}

.featured-carousel__track {
  position: absolute;
  top: 0;
  left: calc(50% - (var(--feature-card-width) / 2) - (var(--feature-step) * 2));
  display: flex;
  align-items: stretch;
  gap: calc(var(--feature-step) - var(--feature-card-width));
  width: max-content;
  height: 100%;
  transform: translate3d(var(--feature-track-shift, 0), 0, 0);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.featured-carousel__track.is-resetting .feature-poster {
  transition: none;
}

.featured-carousel__track.is-resetting {
  transition: none;
}

.feature-poster,
.reading-card__thumb,
.shelf-card__art,
.novel-card {
  position: relative;
  overflow: hidden;
}

.feature-poster {
  width: var(--feature-card-width);
  height: var(--feature-card-height);
  flex: 0 0 var(--feature-card-width);
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 18px;
  cursor: pointer;
  overflow: hidden;
}

.feature-poster--buffer {
  pointer-events: none;
}

.feature-poster--active {
  cursor: default;
}

.feature-poster--side {
  z-index: 1;
}

.feature-poster--active {
  z-index: 2;
}

.feature-poster:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.feature-poster__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #201a26;
}

.feature-poster__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 14, 0), rgba(10, 8, 14, 0.26) 100%);
  pointer-events: none;
}

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

.featured-carousel__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.featured-carousel__arrow--previous {
  left: 18px;
}

.featured-carousel__arrow--next {
  right: 18px;
}

.featured-carousel__arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.featured-carousel[data-hovered-side="previous"] .featured-carousel__arrow--previous,
.featured-carousel[data-hovered-side="next"] .featured-carousel__arrow--next {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.featured-carousel[data-moving="true"] .featured-carousel__arrow {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.88);
}

.feature-poster__meta {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  min-height: 28px;
  pointer-events: none;
}

.feature-poster__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 68px);
}

.feature-tag,
.feature-poster__counter {
  padding: 5px 9px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

.feature-tag {
  background: rgba(68, 51, 75, 0.86);
}

.feature-tag--primary {
  background: rgba(255, 106, 61, 0.96);
}

.feature-poster__counter {
  background: rgba(68, 51, 75, 0.86);
  position: absolute;
  top: 0;
  right: 0;
}

.feature-poster--active .feature-poster__meta {
  opacity: 1;
}

.featured-carousel[data-moving="true"] .feature-poster__tags {
  opacity: 0;
}

.featured-carousel[data-moving="true"] .feature-poster__counter {
  opacity: 1;
}

.reading-card__thumb::before,
.shelf-card__art::before,
.novel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 255, 255, 0.8), transparent 16%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.22), transparent 18%),
    radial-gradient(circle at 65% 78%, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(145deg, var(--theme-1), var(--theme-2) 45%, var(--theme-3));
  z-index: -2;
}

.reading-card__thumb::after,
.shelf-card__art::after,
.novel-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(14, 10, 20, 0), rgba(14, 10, 20, 0.7) 100%);
  z-index: -1;
}

.theme--ember {
  --theme-1: #ffdbbf;
  --theme-2: #ff7a59;
  --theme-3: #5b1d2b;
}

.theme--plum {
  --theme-1: #f5c7ff;
  --theme-2: #8a4af4;
  --theme-3: #2f163f;
}

.theme--ice {
  --theme-1: #dff6ff;
  --theme-2: #72b8ff;
  --theme-3: #1a2b51;
}

.theme--mint {
  --theme-1: #d6fff1;
  --theme-2: #21b58f;
  --theme-3: #143935;
}

.theme--gold {
  --theme-1: #ffeab2;
  --theme-2: #f0a931;
  --theme-3: #50311d;
}

.shelf-card h3,
.novel-card h3,
.reading-card strong {
  margin: 0;
  font-family: var(--heading-font);
  letter-spacing: -0.04em;
}

.reading-panel,
.shelf-panel,
.launch-panel {
  padding: clamp(22px, 4vw, 34px);
}

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

.section-heading--compact {
  align-items: center;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.section-heading p {
  max-width: 420px;
  margin: 0;
}

.section-heading__link {
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.section-heading__link:hover,
.section-heading__link:focus-visible {
  color: var(--text);
}

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

.reading-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
}

.reading-card__thumb,
.shelf-card__art,
.novel-card {
  position: relative;
  overflow: hidden;
}

.reading-card__thumb {
  height: 92px;
  border-radius: 16px;
}

.reading-card__copy {
  min-width: 0;
}

.reading-card strong {
  display: block;
  font-size: 1.12rem;
}

.reading-card span {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
}

.reading-card small {
  justify-self: end;
  text-align: right;
  font-size: 0.84rem;
}

.progress-meter {
  margin-top: 12px;
  height: 7px;
  border-radius: 999px;
  background: rgba(127, 122, 136, 0.18);
  overflow: hidden;
}

.progress-meter span {
  display: block;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--success));
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.95fr);
  gap: 22px;
}

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

.shelf-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.shelf-card__art {
  min-height: 174px;
  border-radius: 18px;
}

.shelf-card__copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shelf-card__format,
.novel-card__format {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shelf-card h3,
.novel-card h3 {
  font-size: 1.34rem;
  line-height: 0.98;
}

.shelf-card p,
.novel-card p {
  margin: 0;
  font-size: 0.95rem;
}

.shelf-card small,
.novel-card small {
  margin-top: auto;
  font-size: 0.84rem;
}

.launch-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-soft);
}

.launch-panel h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.launch-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.launch-list li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.launch-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.launch-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.launch-list p {
  margin: 0;
}

.shelf-panel--compact {
  background: var(--surface-soft);
}

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

.novel-card {
  min-height: 260px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  isolation: isolate;
}

.site-footer {
  width: var(--shell-width);
  margin: 0 auto;
  padding: 0 0 38px;
}

.site-footer__inner {
  padding: 18px 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.site-footer__copy strong {
  display: block;
  margin-bottom: 4px;
}

.site-footer__copy p {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__meta a {
  color: var(--accent-strong);
  font-weight: 700;
}

.mobile-tabbar {
  display: none;
}

.mobile-tabbar__link {
  color: inherit;
}

.mobile-tabbar__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.error-page {
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 0 64px;
}

.error-card {
  width: min(720px, 100%);
  padding: clamp(28px, 5vw, 42px);
}

.error-card h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.error-card p {
  margin: 16px 0 0;
  max-width: 560px;
}

.error-card__meta {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.error-card__meta span {
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.error-card__link {
  display: inline-flex;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 700;
}

@media (max-width: 1160px) {
  :root {
    --feature-card-width: 380px;
    --feature-card-height: 446.53px;
    --feature-step: 408px;
    --feature-stage-width: 100%;
  }

  .catalog-layout,
  .novel-grid {
    grid-template-columns: 1fr;
  }

  .reading-grid,
  .shelf-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --feature-card-width: 300px;
    --feature-card-height: 352.53px;
    --feature-step: 320px;
  }

  .site-nav {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-nav__links,
  .site-nav__actions {
    justify-content: flex-start;
  }

  .section-heading,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --shell-width: min(406px, calc(100% - 24px));
    --feature-card-width: 382px;
    --feature-card-height: 477.086px;
    --feature-step: 382px;
    --feature-stage-width: 406px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .site-header {
    position: sticky;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: var(--bg-elevated);
    backdrop-filter: blur(18px);
  }

  .site-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 14px 0 12px;
  }

  .site-brand__wordmark {
    font-size: 1.55rem;
  }

  .site-nav__links {
    display: none;
  }

  .site-nav__actions {
    justify-self: end;
    gap: 8px;
  }

  .site-nav__icon-link {
    width: 40px;
    height: 40px;
  }

  .storefront-main {
    padding: 14px 0 30px;
    gap: 20px;
  }

  .hero-panel {
    gap: 12px;
    width: calc(100% + 24px);
    margin-inline: -12px;
  }

  .discover-pills {
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    padding: 0 12px 6px;
    margin: 0;
    box-sizing: border-box;
    scroll-padding-inline: 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .discover-pills::-webkit-scrollbar {
    display: none;
  }

  .discover-pill {
    flex: 0 0 auto;
    min-width: max-content;
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    scroll-snap-align: start;
  }

  .discover-pill small {
    display: none;
  }

  .discover-pill strong {
    font-size: 0.9rem;
    line-height: 1;
  }

  .featured-carousel__viewport,
  .feature-poster {
    border-radius: 24px;
  }

  .featured-carousel__viewport {
    width: min(var(--feature-stage-width), 100%);
    max-width: none;
    height: var(--feature-card-height);
    margin: 0 auto;
    border-radius: 0;
  }

  .feature-poster {
    width: var(--feature-card-width);
    height: var(--feature-card-height);
    flex-basis: var(--feature-card-width);
  }

  .feature-poster--mobile {
    flex: 0 0 var(--feature-card-width);
    width: var(--feature-card-width);
    height: var(--feature-card-height);
    scroll-snap-align: none;
  }

  .featured-carousel__mobile-viewport {
    display: none !important;
  }

  .featured-carousel__arrow {
    display: none;
  }

  .hero-panel,
  .reading-panel,
  .shelf-panel,
  .launch-panel,
  .error-card {
    border-radius: 26px;
  }

  .reading-panel,
  .shelf-panel,
  .launch-panel {
    padding: 18px;
  }

  .section-heading {
    margin-bottom: 16px;
    gap: 12px;
  }

  .section-heading--compact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .section-heading__link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .reading-card,
  .shelf-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .reading-card {
    padding: 14px;
  }

  .reading-card__thumb {
    height: 76px;
    border-radius: 14px;
  }

  .reading-card strong {
    font-size: 1rem;
  }

  .reading-card span {
    margin-top: 2px;
    font-size: 0.88rem;
  }

  .reading-card small {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    font-size: 0.78rem;
  }

  .progress-meter {
    margin-top: 8px;
  }

  .shelf-card {
    align-items: stretch;
  }

  .shelf-card__art {
    min-height: 126px;
    border-radius: 16px;
  }

  .shelf-card h3,
  .novel-card h3 {
    font-size: 1.14rem;
  }

  .catalog-layout {
    gap: 18px;
  }

  .feature-poster__tags {
    max-width: 74%;
  }

  .feature-tag,
  .feature-poster__counter {
    padding: 4px 7px;
    border-radius: 8px;
    font-size: 0.62rem;
  }

  .site-nav__action {
    display: none;
  }

  .site-footer {
    display: none;
  }

  .mobile-tabbar {
    position: fixed;
    left: 50%;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    width: min(406px, calc(100% - 24px));
    padding: 5px 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-strong);
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  .mobile-tabbar__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 52px;
    padding: 5px 4px;
    border-radius: 14px;
    color: var(--muted-strong);
    transition: background-color 180ms ease, color 180ms ease;
  }

  .mobile-tabbar__link.is-active {
    color: var(--accent-strong);
    background: var(--accent-soft);
  }

  .mobile-tabbar__icon svg {
    width: 18px;
    height: 18px;
  }

  .mobile-tabbar__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }
}
