/* 绯夜 · 成人小说书架 */

:root {
  --bg: #120c10;
  --bg-lift: #1a1218;
  --ink: #f3e6ea;
  --ink-soft: #b89aa4;
  --accent: #c45c78;
  --accent-deep: #9a3d58;
  --gold: #d4b483;
  --gold-soft: rgba(212, 180, 131, 0.55);
  --shelf: #3a241c;
  --shelf-edge: #5c3a2c;
  --panel: #22181e;
  --line: rgba(243, 230, 234, 0.1);
  --radius: 3px;
  --font-display: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-serif: "Noto Serif SC", serif;
  --font-ui: "Outfit", "Noto Serif SC", sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-ui);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* —— 深夜氛围 —— */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(154, 61, 88, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 85% 70%, rgba(90, 30, 50, 0.22), transparent 60%),
    linear-gradient(180deg, #1a1016 0%, var(--bg) 45%, #0d090c 100%);
}

.page-bg__veil {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.03) 2px,
      rgba(0, 0, 0, 0.03) 3px
    );
  opacity: 0.7;
  pointer-events: none;
}

.page-bg__bloom {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(720px, 90vw);
  height: 220px;
  transform: translate(-50%, -40%);
  background: radial-gradient(ellipse at center, rgba(196, 92, 120, 0.12), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  animation: bloom-pulse 7s ease-in-out infinite;
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 clamp(0.65rem, 3vw, 2.5rem);
  background: rgba(18, 12, 16, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a0c12;
  background: linear-gradient(145deg, #e8c9a4, var(--gold) 45%, #b8895a);
  border-radius: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.brand-sub {
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-top: 0.15rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  flex-shrink: 0;
}

.site-nav a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  animation: underline-in 0.45s var(--ease) both;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-shrink: 0;
  white-space: nowrap;
}

.user-chip .points {
  font-size: 0.85rem;
}

.points {
  color: var(--ink);
  font-weight: 600;
}

.points em {
  font-style: normal;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

/* —— 标题区 —— */
.shelf-hero {
  text-align: left;
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.75rem 0 1rem;
  animation: rise 0.5s var(--ease) both;
}

.shelf-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.shelf-desc {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

/* —— 搜索 + 热词 —— */
.search-block {
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto 1.25rem;
  animation: rise 0.55s var(--ease) 0.04s both;
}

.search-bar {
  display: flex;
  flex-direction: row;
  gap: 0.55rem;
  align-items: stretch;
  --search-control-h: 4rem;
}

.search-bar input[type="search"] {
  flex: 1;
  min-width: 0;
  height: var(--search-control-h);
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.search-bar input[type="search"]::placeholder {
  color: rgba(184, 154, 164, 0.75);
}

.search-bar input[type="search"]:focus {
  border-color: rgba(196, 92, 120, 0.55);
  background: rgba(196, 92, 120, 0.06);
}

.search-bar input[type="search"]::-webkit-search-cancel-button {
  cursor: pointer;
}

.search-bar .search-btn {
  flex: 0 0 auto;
  align-self: stretch;
  width: auto;
  min-width: 4.5rem;
  height: var(--search-control-h);
  min-height: var(--search-control-h);
  max-height: var(--search-control-h);
  padding: 0 1.1rem;
  box-sizing: border-box;
}

.hot-keywords {
  margin-top: 1rem;
}

.hot-keywords__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.hot-keywords__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
}

.hot-keywords__reset {
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hot-keywords__reset:hover {
  color: var(--ink);
}

.hot-keywords__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hot-keyword {
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  text-decoration: none;
  display: inline-block;
}

.user-logout,
.user-chip a {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.user-chip a:hover {
  color: var(--ink);
}

.auth-wrap,
.read-wrap {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  padding-top: 0.75rem;
}

.is-auth-page .auth-wrap {
  width: min(420px, calc(100% - 1.5rem));
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  padding: 1.25rem 0 1rem;
  margin-bottom: 0.5rem;
}

.auth-wrap--mobile {
  width: min(420px, calc(100% - 1.5rem));
}

.auth-card {
  min-width: 0;
  width: 100%;
}

.auth-aside--top {
  border: none;
  padding: 0 0 1.15rem;
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.auth-aside--top p {
  margin: 0 0 0.55rem;
}

.auth-aside--top p:last-child {
  margin-bottom: 0;
  color: var(--gold);
}

.auth-wrap--mobile .shelf-title {
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.auth-form {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.auth-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.auth-form input {
  height: 2.85rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 1rem;
}

.auth-form .btn-primary {
  width: 100%;
  min-height: 3.1rem;
  margin-top: 0.3rem;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  cursor: pointer;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0 1.1rem;
}

.auth-tab {
  padding: 0.8rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(243, 230, 234, 0.35);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease);
}

.auth-tab:hover {
  color: var(--ink);
  border-color: rgba(243, 230, 234, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.auth-tab:active {
  transform: scale(0.97);
}

.auth-tab.is-active {
  color: #fff5f8;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.auth-hint {
  font-size: 0.72rem;
  color: var(--ink-soft);
  opacity: 0.75;
}

.auth-error {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(196, 92, 120, 0.45);
  border-radius: var(--radius);
  background: rgba(196, 92, 120, 0.14);
  color: #f6c9d4;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

/* 兼容旧分栏类名（不再使用） */
.auth-wrap--split {
  display: block;
}

.auth-aside {
  padding: 0;
}

.read-panel {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}

.read-lock {
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.read-lock em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
}

.read-content {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  line-height: 1.95;
  color: #f0e6ea;
  word-break: break-word;
  max-width: 40rem;
  margin: 1.5rem auto 0;
  padding: 2rem 2.25rem 2.5rem;
  background: linear-gradient(180deg, rgba(40, 28, 34, 0.6), rgba(22, 16, 20, 0.78));
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.read-content p {
  margin: 0 0 1.2rem;
  text-indent: 2em;
}

.list-refresh {
  text-decoration: none;
}

.novel-item {
  text-decoration: none;
  color: inherit;
}

.pack {
  cursor: pointer;
}

.hot-keyword:hover {
  color: var(--ink);
  border-color: rgba(196, 92, 120, 0.4);
}

.hot-keyword.is-active {
  color: var(--ink);
  border-color: var(--accent);
  background: rgba(196, 92, 120, 0.14);
}

.list-filter-tip {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--gold);
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.list-meta {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.list-meta em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.list-refresh {
  flex-shrink: 0;
  min-height: 2rem;
  padding: 0 0.85rem;
  font-size: 0.82rem;
}

/* —— 简单列表 —— */
.novel-list-wrap {
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto 3.5rem;
  animation: rise 0.55s var(--ease) 0.05s both;
}

.novel-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.novel-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 0.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}

.novel-item:hover,
.novel-item:focus-visible {
  background: rgba(196, 92, 120, 0.08);
  outline: none;
}

.panel[hidden] {
  display: none;
}

.novel-main {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  min-width: 0;
}

.novel-title {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.novel-item.is-static {
  cursor: default;
}

.novel-item.is-static:hover {
  background: transparent;
}

.list-empty {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.novel-side {
  flex-shrink: 0;
}

.novel-status {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
}

.novel-item.is-unlocked .novel-status {
  color: var(--ink-soft);
}

/* —— 页脚 —— */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem 2.5rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.7;
}

.site-disclaimer {
  max-width: 640px;
  margin: 0.6rem auto 0;
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0.85;
}

/* —— 按钮 —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1.15rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff5f8;
}

.btn-primary:hover {
  filter: brightness(1.08);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(243, 230, 234, 0.22);
}

/* —— 弹层 —— */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 8, 0.72);
  animation: fade-in 0.28s var(--ease) both;
}

.modal-panel {
  position: relative;
  width: min(420px, 100%);
  padding: 1.75rem 1.5rem 1.4rem;
  background:
    linear-gradient(165deg, #2a1e24 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  animation: panel-in 0.4s var(--ease) both;
}

.modal-panel--wide {
  width: min(520px, 100%);
}

.modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink-soft);
}

.modal-close:hover {
  color: var(--ink);
}

.modal-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 600;
}

.modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.modal-copy {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.modal-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--gold);
}

.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.pack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.95rem 0.8rem;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.pack:hover {
  border-color: rgba(196, 92, 120, 0.5);
}

.pack.is-selected {
  border-color: var(--accent);
  background: rgba(196, 92, 120, 0.12);
}

.pack-points {
  font-weight: 600;
  font-size: 0.95rem;
}

.pack-price {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.pack-tag {
  position: absolute;
  top: -0.45rem;
  right: 0.4rem;
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  background: var(--gold);
  color: #1a0c12;
  border-radius: 2px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.pay-ways {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pay-way {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.pay-way input {
  accent-color: var(--accent);
}

.pay-way.is-selected {
  border-color: var(--accent);
  background: rgba(196, 92, 120, 0.1);
}

/* —— 动效 —— */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes underline-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes bloom-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -40%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -42%) scale(1.05); }
}

@media (max-width: 720px) {
  :root {
    --header-h: 56px;
  }

  .site-header {
    display: flex;
    flex-wrap: wrap;
    padding: 0 0.65rem;
    min-height: var(--header-h);
    gap: 0.35rem;
  }

  .site-nav {
    gap: 0.55rem;
    font-size: 0.78rem;
    justify-content: center;
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .user-chip {
    display: none;
  }

  .brand-mark {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.85rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-sub {
    display: none;
  }

  .shelf-hero {
    padding: 1rem 0 0.75rem;
    width: calc(100% - 1.5rem);
  }

  .shelf-title {
    font-size: 1.2rem;
  }

  .shelf-desc {
    font-size: 0.8rem;
  }

  .search-block {
    width: calc(100% - 1.5rem);
    margin-bottom: 1rem;
  }

  .search-bar {
    flex-direction: row;
    align-items: stretch;
    --search-control-h: 3rem;
  }

  .search-bar input[type="search"] {
    font-size: 0.85rem;
    padding: 0 0.65rem;
  }

  .search-bar .search-btn {
    min-width: 3.4rem;
    padding: 0 0.7rem;
    font-size: 0.85rem;
  }

  .search-btn {
    width: auto;
    height: var(--search-control-h);
    min-height: var(--search-control-h);
    max-height: var(--search-control-h);
  }

  .hot-keywords__label {
    font-size: 0.72rem;
  }

  .hot-keyword {
    font-size: 0.72rem;
    padding: 0.22rem 0.5rem;
  }

  .novel-list-wrap {
    width: calc(100% - 1.5rem);
  }

  .novel-item {
    padding: 0.65rem 0.1rem;
  }

  .novel-title {
    font-size: 0.9rem;
  }

  .novel-status {
    font-size: 0.75rem;
  }

  .list-toolbar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .list-meta {
    font-size: 0.75rem;
  }

  .list-refresh {
    font-size: 0.75rem;
    padding: 0 0.6rem;
    min-height: 1.7rem;
  }

  .pack-grid {
    grid-template-columns: 1fr;
  }

  .pack {
    padding: 0.65rem 0.7rem;
    font-size: 0.85rem;
  }

  .modal-panel {
    padding: 1.25rem 1rem 1rem;
    width: calc(100% - 1rem);
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .read-wrap {
    width: calc(100% - 1.5rem);
  }

  .read-content {
    font-size: 1.02rem;
    line-height: 1.85;
    padding: 1.25rem 1.1rem 1.75rem;
    border-radius: 8px;
    margin-top: 1rem;
  }

  .auth-wrap,
  .auth-wrap--mobile {
    width: calc(100% - 1.5rem);
    padding-top: 0.25rem;
  }

  .is-auth-page .auth-wrap {
    padding: 0.5rem 0 1rem;
    min-height: calc(100vh - 3rem);
  }

  .auth-form input {
    height: 2.65rem;
    font-size: 1rem;
  }

  .auth-form .btn-primary {
    min-height: 2.65rem;
    font-size: 1rem;
  }

  .site-footer {
    font-size: 0.72rem;
    padding: 1rem 0.5rem 2rem;
  }

  .site-disclaimer {
    font-size: 0.65rem;
  }

  .search-hint {
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
