/* [project]/app/globals.css [app-client] (css) */
@font-face {
  font-family: Jakarta;
  src: url("/assets/plus-jakarta-sans.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --canvas-background: #f4f1ea;
  --card-surface: #f2efe9;
  --nested-surface: #f5f3ee;
  --cobalt-primary: #0051ff;
  --sky-secondary: #5897fb;
  --mist-neutral: #cfd5df;
  --ivory-light: #f2efe9;
  --charcoal-dark: #23262b;
  --text-primary: #23262b;
  --text-secondary: #686c73;
  --text-muted: #7e828a;
  --section-label: #3a3d45;
  --track-inactive: #d5d8df;
  --card-extruded: 6px 8px 16px #beb9af8c,
    -6px -6px 14px #ffffffd9;
  --nested-element-extruded: 4px 6px 12px #b9b4aa80,
    -4px -4px 10px #ffffffe6;
  --inset-track: inset 2px 2px 5px #b9b4aa47,
    inset -2px -2px 5px #fffc;
  --primary-button-shadow: 0 5px 12px #0051ff33, -3px -3px 8px #fffc;
  --radius-card: 20px;
  --radius-inner: 16px;
  --radius-control: 9999px;
  --on-primary: #fff;
  --primary-hover: #0046dd;
  --line-color: #ddd9d1;
  --surface-highlight: #fff9;
  --hover-surface: #cfd5df40;
  --stripe-surface: #cfd5df26;
  --selection-surface: #0051ff0a;
  --error-surface: #f3e2de;
  --error-ink: #8c3228;
  --danger-ink: #a33029;
  --overlay-surface: #23262b66;
  --shadow-dark-rgb: 185, 180, 170;
  --shadow-light-rgb: 255, 255, 255;
  --nav-shadow-opacity: .5;
  --nav-light-opacity: .9;
  --nav-inset-opacity: .75;
  --glass-track: #b0c2e03d;
  --glass-border: #fffc;
  --glass-glint: #ffffffa6;
  --glass-knob: #ffffffb3;
  --glass-shade: #35445b29;
}

:root[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --canvas-background: #1b1e25;
  --card-surface: #22262e;
  --nested-surface: #2a2f39;
  --cobalt-primary: #8fb2ff;
  --sky-secondary: #a6c3ff;
  --mist-neutral: #354052;
  --ivory-light: #232832;
  --charcoal-dark: #ecedf2;
  --text-primary: #ecedf2;
  --text-secondary: #b0b7c5;
  --text-muted: #919baa;
  --section-label: #c7ceda;
  --track-inactive: #424b5b;
  --card-extruded: 6px 8px 16px #070a10a6, -6px -6px 14px #4953672e;
  --nested-element-extruded: 4px 6px 12px #070a108c, -4px -4px 10px #49536729;
  --inset-track: inset 2px 2px 5px #070a108c,
    inset -2px -2px 5px #49536733;
  --primary-button-shadow: 0 5px 14px #00000059, -2px -2px 6px #495f891f;
  --on-primary: #101a2e;
  --primary-hover: #a6c3ff;
  --line-color: #3b424e;
  --surface-highlight: #fff1;
  --hover-surface: #8fb2ff1a;
  --stripe-surface: #8fb2ff0e;
  --selection-surface: #8fb2ff1f;
  --error-surface: #452b2c;
  --error-ink: #ffc0b5;
  --danger-ink: #ffb5aa;
  --overlay-surface: #04070cb3;
  --shadow-dark-rgb: 7, 10, 16;
  --shadow-light-rgb: 73, 83, 103;
  --nav-shadow-opacity: .55;
  --nav-light-opacity: .16;
  --nav-inset-opacity: .2;
  --glass-track: #080f1c73;
  --glass-border: #b4cdff40;
  --glass-glint: #c5dcff33;
  --glass-knob: #a3c1f533;
  --glass-shade: #0006;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  background: var(--canvas-background);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family: Jakarta, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  transition: background-color .25s ease-in-out, color .25s ease-in-out;
}

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

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button, a, select, input[type="checkbox"], input[type="range"] {
  cursor: pointer;
}

button, a {
  touch-action: manipulation;
}

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

button {
  background: none;
  border: 0;
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

button, a, input, select, textarea {
  transition: background-color .2s ease-in-out, color .2s ease-in-out, box-shadow .2s ease-in-out, transform .2s ease-in-out;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cobalt-primary);
  outline-offset: 4px;
}

button:active:not(:disabled), .button:active {
  transform: translateY(1px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  flex-shrink: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3 {
  overflow-wrap: anywhere;
  line-height: 1.3;
}

h1 {
  letter-spacing: -.035em;
  font-weight: 600;
}

h2, h3 {
  font-weight: 600;
}

h2 {
  letter-spacing: -.035em;
  font-size: 24px;
}

h3 {
  font-size: 15px;
}

p {
  color: var(--text-secondary);
}

small {
  font-size: 11px;
}

input, select, textarea {
  min-width: 0;
}

input:not([type="checkbox"]):not([type="range"]):not([type="file"]), select, textarea {
  background: var(--nested-surface);
  width: 100%;
  box-shadow: var(--inset-track);
  outline-offset: 2px;
  border: 1px solid #0000;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 13px;
}

input::placeholder, textarea::placeholder {
  color: var(--text-secondary);
  opacity: 1;
}

select {
  appearance: auto;
  min-height: 44px;
  padding-right: 26px;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

label {
  font-size: 12px;
  font-weight: 500;
}

label > input, label > select, label > textarea {
  margin-top: 7px;
  display: block;
}

label small {
  color: var(--text-secondary);
  margin-top: 6px;
  font-size: 11px;
  font-weight: 400;
  display: block;
}

input[type="checkbox"] {
  accent-color: var(--cobalt-primary);
  width: 18px;
  height: 18px;
}

input[type="range"] {
  accent-color: var(--cobalt-primary);
}

.wrap {
  width: min(1120px, 100% - 48px);
  margin-inline: auto;
}

.page-content {
  min-height: 60vh;
}

.card, .card-container {
  background: var(--card-surface);
  border-radius: var(--radius-card);
  box-shadow: var(--card-extruded);
  border: 1px solid var(--surface-highlight);
  padding: 24px;
}

.card-container {
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  display: flex;
}

.nested {
  background: var(--nested-surface);
  border-radius: var(--radius-inner);
  box-shadow: var(--nested-element-extruded);
}

.inset {
  background: var(--ivory-light);
  box-shadow: var(--inset-track);
  border-radius: 14px;
}

.eyebrow {
  letter-spacing: .12em;
  color: var(--section-label);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.muted {
  color: var(--text-secondary);
}

.cobalt {
  color: var(--cobalt-primary);
}

.tiny-note {
  color: var(--text-secondary);
  font-size: 10px;
  line-height: 1.65;
}

.button {
  border-radius: var(--radius-control);
  white-space: nowrap;
  justify-content: center;
  align-items: center;
  gap: 11px;
  width: fit-content;
  min-height: 46px;
  padding: 12px 23px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}

.button.primary {
  background: var(--cobalt-primary);
  color: var(--on-primary);
  box-shadow: var(--primary-button-shadow);
}

.button.primary:hover:not(:disabled) {
  background: var(--primary-hover);
  box-shadow: 0 6px 16px #0051ff47;
}

.button.secondary {
  background: var(--card-surface);
  box-shadow: var(--nested-element-extruded);
}

.button.secondary:hover:not(:disabled) {
  background: var(--nested-surface);
  color: var(--cobalt-primary);
}

.button.compact {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 11px;
}

.button.saved {
  color: var(--cobalt-primary);
}

.icon-button {
  width: 36px;
  height: 36px;
  color: var(--text-secondary);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 8px;
  display: inline-flex;
}

.icon-button:hover:not(:disabled) {
  color: var(--cobalt-primary);
  background: var(--hover-surface);
}

.icon-button.raised {
  box-shadow: var(--nested-element-extruded);
  background: var(--card-surface);
}

.text-link, .text-button {
  width: fit-content;
  color: var(--cobalt-primary);
  align-items: center;
  gap: 9px;
  padding: 3px 0;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.text-link:hover, .text-button:hover {
  text-underline-offset: 4px;
  text-decoration: underline;
}

.text-button.danger {
  color: var(--danger-ink);
}

.icon-circle {
  background: var(--mist-neutral);
  width: 38px;
  height: 38px;
  color: var(--cobalt-primary);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

.icon-circle.large {
  background: var(--card-surface);
  width: 60px;
  height: 60px;
  box-shadow: var(--nested-element-extruded);
}

.section-top {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.section-heading {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  display: flex;
}

.section-heading .eyebrow {
  margin-bottom: 9px;
}

.section-heading > .muted {
  font-size: 11px;
}

.type-label {
  text-transform: uppercase;
  color: var(--cobalt-primary);
  letter-spacing: .1em;
  font-size: 9px;
  font-weight: 700;
}

.type-label span {
  color: var(--text-secondary);
  letter-spacing: .05em;
  font-weight: 500;
}

.site-header {
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-block: 30px 28px;
  display: flex;
}

.brand {
  letter-spacing: .08em;
  align-items: center;
  font-size: 30px;
  font-weight: 650;
  line-height: 1;
  display: flex;
  position: relative;
}

.brand > span {
  color: var(--cobalt-primary);
  margin-left: 8px;
}

.brand > small {
  letter-spacing: .25em;
  white-space: nowrap;
  color: var(--text-secondary);
  font-size: 6.5px;
  font-weight: 500;
  position: absolute;
  bottom: -11px;
  left: 2px;
}

.spring-nav {
  --nav-orb-size: 56px;
  isolation: isolate;
  -webkit-user-select: none;
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
  position: relative;
}

.spring-nav[data-nav-axis="y"] {
  touch-action: pan-x;
}

.nav-orb {
  --nav-press: 0;
  width: var(--nav-orb-size);
  height: var(--nav-orb-size);
  background: var(--nested-surface);
  border: 1px solid var(--surface-highlight);
  box-shadow: calc(4px + var(--nav-press) * 3px) calc(6px + var(--nav-press) * 5px)
      calc(12px + var(--nav-press) * 7px)
      rgba(var(--shadow-dark-rgb), var(--nav-shadow-opacity)),
    -4px -4px 10px rgba(var(--shadow-light-rgb), var(--nav-light-opacity)),
    inset 1px 1px 3px rgba(var(--shadow-light-rgb), var(--nav-inset-opacity));
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  z-index: -1;
  border-radius: 50%;
  transition: opacity .18s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.spring-nav[data-indicator-visible="true"] .nav-orb {
  opacity: 1;
}

.spring-nav[data-dragging="true"], .spring-nav[data-dragging="true"] a {
  cursor: grabbing;
}

.spring-nav a {
  -webkit-user-drag: none;
}

.desktop-nav {
  align-items: center;
  gap: 8px;
  padding: 3px 7px;
  display: flex;
}

.desktop-nav a {
  color: var(--text-secondary);
  justify-content: center;
  align-items: center;
  min-width: 80px;
  min-height: 58px;
  padding: 14px 10px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  position: relative;
}

.desktop-nav a.active {
  color: var(--cobalt-primary);
  font-weight: 700;
}

.desktop-nav a:hover {
  color: var(--cobalt-primary);
}

.header-actions {
  align-items: center;
  gap: 24px;
  display: flex;
}

.edition {
  letter-spacing: .12em;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 600;
}

.edition > span {
  color: var(--text-secondary);
  margin: 0 4px;
}

.header-actions .button {
  gap: 8px;
}

.header-actions .button span {
  text-overflow: ellipsis;
  max-width: 110px;
  overflow: hidden;
}

.menu-toggle, .mobile-nav {
  display: none;
}

.skip-link {
  background: var(--cobalt-primary);
  color: var(--on-primary);
  z-index: 1000;
  border-radius: 8px;
  padding: 12px;
  position: fixed;
  top: -70px;
  left: 16px;
}

.skip-link:focus {
  top: 10px;
}

.hero {
  padding-top: 24px;
}

.header-section {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  padding-inline: 6px;
  display: flex;
}

.header-section > .eyebrow {
  letter-spacing: .15em;
  font-size: 9px;
}

.header-micro {
  letter-spacing: .15em;
  text-align: right;
  font-size: 8px;
  font-weight: 500;
  line-height: 1.5;
}

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

.intro-card {
  gap: 20px;
  padding: 30px 32px;
}

.intro-card h1 {
  letter-spacing: -.04em;
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.18;
}

.intro-card h1 span {
  color: var(--cobalt-primary);
}

.intro-card > p {
  font-size: 12px;
  line-height: 1.85;
}

.intro-bottom {
  align-items: center;
  gap: 22px;
  margin-top: 2px;
  display: flex;
}

.featured-card {
  gap: 15px;
  padding: 24px 26px 20px;
}

.slide-count {
  letter-spacing: .03em;
  font-size: 10px;
  font-weight: 600;
}

.slide-count > span {
  color: var(--text-secondary);
  font-weight: 400;
}

.featured-content {
  align-items: center;
  gap: 24px;
  min-height: 236px;
  display: flex;
}

.featured-cover {
  border-radius: 9px;
  flex-shrink: 0;
  width: 142px;
  transition: transform .25s;
  overflow: hidden;
  transform: rotate(-3deg);
  box-shadow: 3px 6px 10px #23262b26;
}

.featured-cover:hover {
  transform: rotate(0);
}

.featured-cover img {
  aspect-ratio: 340 / 500;
  object-fit: cover;
}

.featured-info {
  min-width: 0;
}

.featured-info h2 {
  letter-spacing: -.04em;
  margin-top: 10px;
  font-size: 23px;
  line-height: 1.3;
}

.featured-info p {
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-top: 11px;
  font-size: 10px;
  line-height: 1.8;
  display: -webkit-box;
  overflow: hidden;
}

.genre-line {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 9px;
}

.featured-info > .text-link {
  margin-top: 14px;
}

.carousel-bottom {
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  display: flex;
}

.carousel-dots {
  align-items: center;
  gap: 5px;
  display: flex;
}

.carousel-dots button {
  width: 25px;
  height: 25px;
  padding: 0;
  position: relative;
}

.carousel-dots button:after {
  content: "";
  background: #92959b;
  border-radius: 99px;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.carousel-dots button.selected:after {
  background: var(--cobalt-primary);
  width: 19px;
  left: 3px;
}

.carousel-buttons {
  gap: 12px;
  display: flex;
}

.carousel-buttons .icon-button {
  width: 29px;
  height: 29px;
  padding: 6px;
}

.language-card, .search-card {
  gap: 18px;
  padding: 22px 26px;
}

.language-card .section-top > svg {
  color: var(--text-secondary);
}

.language-options {
  align-items: center;
  gap: 20px;
  display: flex;
}

.language-option {
  text-align: left;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 11px;
  display: flex;
}

.language-disc {
  background: var(--mist-neutral);
  letter-spacing: .06em;
  width: 34px;
  height: 34px;
  color: var(--charcoal-dark);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  box-shadow: 2px 3px 6px #23262b1a;
}

.language-option.selected .language-disc {
  background: var(--cobalt-primary);
  color: var(--on-primary);
}

.radio-dot {
  width: 15px;
  height: 15px;
  box-shadow: var(--inset-track);
  background: var(--nested-surface);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  display: flex;
}

.radio-dot > span {
  background: var(--cobalt-primary);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.search-input-bar {
  border-radius: var(--radius-control);
  box-shadow: var(--inset-track);
  background: var(--card-surface);
  align-items: center;
  gap: 12px;
  min-height: 45px;
  padding: 5px 8px 5px 17px;
  display: flex;
}

.search-input-bar > svg {
  width: 17px;
  color: var(--text-secondary);
}

.search-input-bar input {
  flex: 1;
  min-width: 0;
  margin: 0;
  box-shadow: none !important;
  background: none !important;
  border: 0 !important;
  padding: 8px 0 !important;
  font-size: 11px !important;
}

.search-input-bar input:focus-visible {
  outline: 0;
}

.search-input-bar:focus-within {
  outline: 2px solid var(--cobalt-primary);
  outline-offset: 3px;
}

.search-submit {
  width: 30px;
  height: 30px;
  box-shadow: var(--nested-element-extruded);
  background: var(--nested-surface);
  color: var(--cobalt-primary);
}

.updates-section {
  margin-top: 56px;
}

.updates-section h2 {
  font-size: 26px;
}

.catalog-toolbar {
  border-bottom: 1px solid var(--line-color);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
}

.tabs {
  align-items: center;
  gap: 25px;
  min-width: 0;
  display: flex;
}

.tabs button {
  color: var(--text-secondary);
  white-space: nowrap;
  min-height: 44px;
  padding: 12px 2px 15px;
  font-size: 11px;
  font-weight: 500;
  position: relative;
}

.tabs button.active {
  color: var(--charcoal-dark);
  font-weight: 700;
}

.tabs button.active:after {
  content: "";
  background: var(--cobalt-primary);
  border-radius: 3px;
  height: 3px;
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
}

.tabs button:hover {
  color: var(--cobalt-primary);
}

.catalog-caption {
  color: var(--text-secondary);
  font-size: 9px;
}

.comic-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 27px 19px;
  display: grid;
}

.comic-card {
  min-width: 0;
}

.cover-link {
  aspect-ratio: 340 / 500;
  background: var(--mist-neutral);
  border-radius: 12px;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 3px 6px 12px #23262b20;
}

.cover-link img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .3s;
}

.cover-link:hover img {
  transform: scale(1.045);
}

.cover-type {
  color: #fff;
  text-transform: capitalize;
  background: #23262be6;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 8px;
  position: absolute;
  bottom: 9px;
  left: 9px;
}

.sample-mark {
  letter-spacing: .09em;
  color: #23262b;
  background: #f4f1eaf2;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 6px;
  font-weight: 600;
  position: absolute;
  top: 8px;
  left: 8px;
}

.cover-read {
  color: #fff;
  opacity: 0;
  background: #23262b80;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  transition: opacity .25s;
  display: flex;
  position: absolute;
  inset: 0;
}

.cover-link:hover .cover-read, .cover-link:focus-visible .cover-read {
  opacity: 1;
}

.comic-card-meta {
  color: var(--text-secondary);
  align-items: center;
  gap: 5px;
  margin-top: 13px;
  font-size: 8px;
  display: flex;
}

.separator {
  margin-inline: 2px;
}

.status-dot {
  background: var(--cobalt-primary);
  border-radius: 50%;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  display: inline-block;
}

.status-dot.completed {
  background: #4f7060;
}

.status-dot.hiatus {
  background: #8b6343;
}

.comic-card h3 {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
}

.comic-card h3 a:hover {
  color: var(--cobalt-primary);
}

.comic-card-bottom {
  color: var(--text-secondary);
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 8px;
  display: flex;
}

.comic-card-bottom span:first-child {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.comic-card-bottom span:last-child {
  white-space: nowrap;
}

.source-note {
  color: var(--text-secondary);
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 10px;
  display: flex;
}

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

.continue-card, .bookshelf-card {
  padding: 24px 26px;
}

.continue-empty {
  align-items: center;
  gap: 22px;
  margin-block: 7px;
  display: flex;
}

.continue-empty h3 {
  margin-bottom: 8px;
  font-size: 14px;
}

.continue-empty p {
  font-size: 11px;
  line-height: 1.85;
}

.continue-empty .text-link {
  margin-top: 12px;
}

.continue-inner {
  align-items: center;
  gap: 16px;
  padding: 14px;
  display: flex;
}

.continue-inner img {
  object-fit: cover;
  border-radius: 6px;
  width: 54px;
  height: 80px;
}

.continue-inner > span {
  flex: 1;
}

.continue-inner strong {
  font-size: 13px;
  display: block;
}

.continue-inner small {
  color: var(--text-secondary);
  margin-top: 5px;
  font-size: 10px;
  display: block;
}

.continue-inner > svg {
  color: var(--cobalt-primary);
}

.bookshelf-card h3 {
  margin-top: 3px;
  font-size: 19px;
}

.bookshelf-card p {
  margin-top: -10px;
  font-size: 11px;
  line-height: 1.9;
}

.bookshelf-card .button {
  min-height: 39px;
  padding: 9px 19px;
  font-size: 10px;
}

.collection-note {
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 40px 0 0;
  display: flex;
}

.collection-note p {
  text-align: center;
  font-size: 8px;
}

.collection-note strong {
  letter-spacing: .03em;
  font-size: 7px;
}

.note-line {
  background: var(--line-color);
  width: 28px;
  height: 1px;
}

.site-footer {
  border-top: 1px solid var(--line-color);
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 50px;
  padding-block: 30px 34px;
  display: flex;
}

.footer-brand {
  letter-spacing: .09em;
  font-size: 17px;
  font-weight: 600;
}

.footer-brand span {
  color: var(--cobalt-primary);
}

.site-footer > div > p {
  margin-top: 4px;
  font-size: 9px;
}

.footer-notes {
  text-align: right;
  color: var(--text-secondary);
  font-size: 8px;
}

.footer-notes > p {
  letter-spacing: .15em;
  font-weight: 500;
  font-size: 8px !important;
}

.footer-notes > a {
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  display: flex;
}

.footer-notes > a:hover {
  color: var(--cobalt-primary);
}

.page-title {
  padding: 34px 0 30px;
}

.page-title h1 {
  letter-spacing: -.04em;
  margin-top: 10px;
  font-size: 34px;
}

.page-title > p:last-child {
  margin-top: 12px;
  font-size: 12px;
}

.filter-panel {
  padding: 25px;
}

.filter-panel > .search-input-bar {
  max-width: 100%;
  margin-bottom: 23px;
}

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

.filter-grid label {
  font-size: 10px;
}

.filter-grid select {
  border-radius: var(--radius-control);
  font-size: 11px;
}

.reset-filter {
  color: var(--text-secondary);
  margin-top: 18px;
  font-size: 10px;
}

.results-header {
  justify-content: space-between;
  gap: 14px;
  margin: 28px 0 23px;
  font-size: 11px;
  display: flex;
}

.results-header > span {
  font-size: 10px;
}

.pagination {
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
  font-size: 12px;
  display: flex;
}

.empty-state {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  min-height: 280px;
  padding: 60px 25px;
  display: flex;
}

.empty-state > svg {
  color: var(--cobalt-primary);
}

.empty-state h1 {
  font-size: 28px;
}

.empty-state h2 {
  font-size: 23px;
}

.empty-state p {
  max-width: 430px;
  font-size: 12px;
}

.empty-state small {
  color: var(--text-secondary);
}

.state-message {
  text-align: center;
  padding: 40px 15px;
  font-size: 12px;
}

.skeleton-cover {
  aspect-ratio: 340 / 500;
  background: var(--mist-neutral);
  border-radius: 12px;
  animation: 1.2s ease-in-out 3 pulse;
}

.skeleton-line {
  background: var(--track-inactive);
  border-radius: 4px;
  width: 90%;
  height: 10px;
  margin-top: 13px;
}

.skeleton-line.short {
  width: 65%;
}

.error {
  background: var(--error-surface);
  color: var(--error-ink);
  border-radius: 10px;
  margin-block: 14px;
  padding: 11px 14px;
  font-size: 12px;
}

.spinner {
  border: 2px solid var(--mist-neutral);
  border-top-color: var(--cobalt-primary);
  border-radius: 50%;
  width: 25px;
  height: 25px;
  animation: .8s linear 5 spin;
  display: block;
}

.breadcrumb {
  color: var(--text-secondary);
  align-items: center;
  gap: 8px;
  padding: 24px 0 22px;
  font-size: 10px;
  display: flex;
}

.breadcrumb > span {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.breadcrumb a {
  flex-shrink: 0;
}

.detail-hero {
  gap: 38px;
  padding: 32px;
  display: flex;
}

.detail-cover {
  flex-shrink: 0;
  width: 205px;
}

.detail-cover img {
  aspect-ratio: 340 / 500;
  object-fit: cover;
  border-radius: 11px;
  width: 100%;
  box-shadow: 3px 6px 12px #23262b24;
}

.detail-information {
  flex: 1;
  min-width: 0;
  padding: 6px 0;
}

.detail-information h1 {
  margin-top: 12px;
  font-size: 34px;
}

.detail-author {
  margin-top: 10px;
  font-size: 11px;
}

.detail-tags {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  display: flex;
}

.detail-tags a, .status-label {
  background: var(--nested-surface);
  color: var(--text-secondary);
  border-radius: 7px;
  padding: 5px 9px;
  font-size: 10px;
}

.detail-tags a:hover {
  color: var(--cobalt-primary);
}

.status-label {
  align-items: center;
  gap: 7px;
  display: flex;
}

.synopsis {
  white-space: pre-line;
  margin: 18px 0;
  font-size: 12px;
  line-height: 1.9;
}

.detail-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  display: flex;
}

.detail-lower {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 23px;
  margin-top: 27px;
  display: grid;
}

.chapter-panel h2 {
  font-size: 20px;
}

.chapter-toolbar {
  border-bottom: 1px solid var(--line-color);
  justify-content: space-between;
  align-items: center;
  margin-block: 12px;
  display: flex;
}

.chapter-toolbar > .text-button {
  color: var(--text-secondary);
  font-size: 10px;
}

.chapter-search {
  box-shadow: var(--inset-track);
  border-radius: 30px;
  align-items: center;
  gap: 10px;
  margin-block: 18px;
  padding-left: 14px;
  display: flex;
}

.chapter-search input {
  margin: 0;
  box-shadow: none !important;
  background: none !important;
  font-size: 11px !important;
}

.chapter-list {
  scrollbar-width: thin;
  max-height: 510px;
  padding-right: 6px;
  overflow-y: auto;
}

.chapter-list > a {
  border-radius: 9px;
  justify-content: space-between;
  align-items: center;
  padding: 13px 10px;
  display: flex;
}

.chapter-list > a:nth-child(odd) {
  background: var(--stripe-surface);
}

.chapter-list > a:hover, .chapter-list > a.read {
  color: var(--cobalt-primary);
  background: var(--selection-surface);
}

.chapter-list strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
}

.chapter-list small {
  color: var(--text-secondary);
  margin-top: 2px;
  font-size: 10px;
  display: block;
}

.chapter-language {
  color: var(--text-secondary);
  align-items: center;
  gap: 15px;
  font-size: 9px;
  display: flex;
}

.reading-about {
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  height: fit-content;
  display: flex;
}

.reading-about h3 {
  font-size: 20px;
}

.reading-about p {
  font-size: 11px;
  line-height: 1.9;
}

.language-hint {
  color: var(--text-secondary);
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 16px;
  font-size: 10px;
  display: flex;
}

.language-hint svg {
  color: var(--cobalt-primary);
}

.comments-panel {
  margin-top: 28px;
}

.comments-panel .section-heading {
  margin-bottom: 22px;
}

.comments-panel h2 {
  font-size: 22px;
}

.rating {
  text-align: right;
  flex-shrink: 0;
  font-size: 10px;
}

.rating-stars {
  justify-content: flex-end;
  gap: 1px;
  display: flex;
}

.rating-stars button {
  color: var(--cobalt-primary);
  min-height: 32px;
  padding: 5px;
}

.rating small {
  color: var(--text-secondary);
  font-size: 9px;
}

.comments-panel form > label {
  margin-bottom: 7px;
  font-size: 11px;
  display: block;
}

.comment-actions {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
  font-size: 9px;
  display: flex;
}

.comments-list {
  margin-top: 25px;
}

.comments-list > p {
  padding: 15px 0;
  font-size: 11px;
}

.comments-list article {
  border-top: 1px solid var(--line-color);
  gap: 13px;
  padding: 20px 0;
  display: flex;
}

.comment-avatar {
  background: var(--mist-neutral);
  width: 34px;
  height: 34px;
  color: var(--charcoal-dark);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.comments-list article > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.comments-list strong {
  font-size: 11px;
}

.comments-list small {
  color: var(--text-secondary);
  margin-left: 12px;
  font-size: 9px;
}

.comments-list article p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 7px;
  font-size: 12px;
}

.comments-list article > .text-button {
  align-self: flex-start;
  font-size: 9px;
}

.auth-dialog {
  border: 1px solid var(--surface-highlight);
  width: min(440px, 100% - 32px);
  max-height: calc(100dvh - 40px);
  color: var(--text-primary);
  padding: 28px;
  position: fixed;
  overflow-y: auto;
}

.auth-dialog::backdrop {
  background: var(--overlay-surface);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.auth-dialog h2 {
  margin-block: 12px;
  font-size: 26px;
  line-height: 1.3;
}

.auth-dialog > .muted {
  font-size: 12px;
  line-height: 1.8;
}

.dialog-top {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  display: flex;
}

.dialog-top > .icon-button {
  margin: -10px -10px -10px 0;
}

.form-stack {
  flex-direction: column;
  gap: 17px;
  margin-top: 25px;
  display: flex;
}

.form-stack > .button {
  margin-top: 5px;
}

.auth-dialog .form-stack > .button {
  width: 100%;
}

.auth-dialog .error {
  margin: 0;
}

.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 11px;
}

.auth-switch .text-button {
  margin-left: 5px;
  font-size: 11px;
}

.toast-region {
  z-index: 100;
  position: fixed;
  bottom: 25px;
  right: 25px;
}

.toast {
  align-items: center;
  gap: 12px;
  max-width: 420px;
  padding: 13px 14px;
  font-size: 12px;
  display: flex;
}

.toast > .icon-button {
  margin-left: auto;
}

.toast > span:nth-child(2) {
  flex: 1;
}

.library-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 24px;
  font-size: 11px;
  display: flex;
}

.inline-confirm {
  align-items: center;
  gap: 12px;
  font-size: 10px;
  display: flex;
}

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

.history-card {
  align-items: center;
  gap: 20px;
  display: flex;
}

.history-card img {
  object-fit: cover;
  border-radius: 8px;
  width: 80px;
  height: 118px;
}

.history-card > div {
  flex: 1;
  min-width: 0;
}

.history-card h2 {
  margin-top: 6px;
  font-size: 17px;
}

.history-card p {
  margin-top: 8px;
  font-size: 11px;
}

.history-card .text-link {
  margin-top: 12px;
}

.local-history-note {
  text-align: center;
  margin-top: 25px;
  font-size: 11px;
}

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

.profile-grid > .card > .eyebrow {
  margin-bottom: 24px;
  display: block;
}

.profile-inner {
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
  padding: 20px;
  display: flex;
}

.avatar {
  background: var(--mist-neutral);
  width: 58px;
  height: 58px;
  color: var(--cobalt-primary);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  display: flex;
}

.profile-inner > div:nth-child(2) {
  min-width: 0;
}

.profile-inner h2 {
  font-size: 20px;
}

.profile-inner p {
  overflow-wrap: anywhere;
  margin-top: 4px;
  font-size: 10px;
}

.profile-inner small {
  color: var(--text-secondary);
  font-size: 9px;
}

.profile-auth > p {
  margin-bottom: 20px;
  font-size: 11px;
}

.profile-auth .button {
  margin-right: 12px;
}

.profile-links {
  flex-direction: column;
  margin-bottom: 25px;
  display: flex;
}

.profile-links a {
  border-bottom: 1px solid var(--line-color);
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font-size: 12px;
  display: flex;
}

.profile-links a > svg:last-child {
  margin-left: auto;
}

.profile-links a:hover {
  color: var(--cobalt-primary);
}

.setting-row {
  border-bottom: 1px solid var(--line-color);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  display: flex;
}

.setting-row:first-of-type {
  padding-top: 5px;
}

.setting-row strong {
  font-size: 12px;
  font-weight: 600;
}

.setting-row p {
  margin-top: 6px;
  font-size: 10px;
}

.setting-row > select {
  border-radius: 30px;
  flex-shrink: 0;
  width: 145px;
  font-size: 11px;
}

.switch {
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  display: inline-flex;
  position: relative;
}

.switch input {
  opacity: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  inset: 0;
}

.switch-track {
  background: var(--track-inactive);
  width: 48px;
  height: 27px;
  box-shadow: var(--inset-track);
  border-radius: 999px;
  transition: background .2s;
  display: block;
  position: relative;
}

.switch-track > span {
  background: var(--nested-surface);
  border-radius: 50%;
  width: 21px;
  height: 21px;
  transition: transform .2s;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 1px 2px 4px #23262b30;
}

.switch input:checked + .switch-track {
  background: var(--cobalt-primary);
}

.switch input:checked + .switch-track > span {
  transform: translateX(21px);
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--cobalt-primary);
  outline-offset: 4px;
}

.switch input:disabled + .switch-track {
  opacity: .45;
  cursor: not-allowed;
}

.reading-tip {
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding: 17px;
  display: flex;
}

.reading-tip svg {
  color: var(--cobalt-primary);
}

.reading-tip p {
  font-size: 10px;
  line-height: 1.8;
}

.reader-shell {
  background: var(--canvas-background);
  min-height: 100vh;
}

.reader-header {
  border-bottom: 1px solid var(--line-color);
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 22px 32px;
  display: flex;
}

.reader-back {
  align-items: center;
  gap: 17px;
  min-width: 0;
  display: flex;
}

.reader-back > span {
  min-width: 0;
}

.reader-back strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 600;
  display: block;
  overflow: hidden;
}

.reader-back small {
  color: var(--text-secondary);
  margin-top: 3px;
  font-size: 10px;
  display: block;
}

.reader-brand {
  flex-shrink: 0;
  font-size: 23px;
}

.reader-main {
  padding: 26px 24px 70px;
}

.reader-controls {
  max-width: 1000px;
  margin: 0 auto 24px;
  padding: 16px 24px;
}

.reader-settings {
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 15px;
  display: flex;
}

.width-control {
  color: var(--text-secondary);
  align-items: center;
  gap: 10px;
  font-size: 10px;
  display: flex;
}

.width-control input {
  width: 100px;
  margin: 0;
}

.width-control > span {
  min-width: 44px;
}

.chapter-navigation {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  display: flex;
}

.chapter-navigation > select {
  border-radius: 30px;
  max-width: 210px;
  font-size: 11px;
}

.reader-sample {
  text-align: center;
  margin: 20px 0;
  font-size: 10px;
}

.reader-canvas {
  width: 100%;
  margin: auto;
  box-shadow: 0 4px 18px #23262b0d;
}

.reader-image {
  background: var(--card-surface);
  width: 100%;
  min-height: 100px;
  position: relative;
}

.reader-image > img {
  object-fit: contain;
  width: 100%;
  height: auto;
}

.image-error {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 450px;
  display: flex;
}

.image-error p {
  font-size: 12px;
}

.page-controls {
  background: var(--canvas-background);
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 22px;
  font-size: 12px;
  display: flex;
}

.reader-ending {
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1000px;
  margin: 30px auto 0;
  padding: 30px;
  display: flex;
}

.reader-ending h2 {
  font-size: 22px;
}

.reader-ending .chapter-navigation {
  width: 100%;
}

.report-button {
  color: var(--text-secondary);
  margin-top: 5px;
  font-size: 10px;
}

.report-form {
  text-align: left;
  width: 100%;
  max-width: 550px;
}

.report-form label {
  display: block;
}

.report-form .button {
  margin-top: 15px;
}

.report-form > .text-button {
  margin-left: 20px;
}

.reader-discussion {
  max-width: 1000px;
  margin: auto;
}

.reading-progress {
  background: var(--track-inactive);
  z-index: 30;
  height: 3px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.reading-progress > span {
  background: var(--cobalt-primary);
  height: 100%;
  transition: width .2s;
  display: block;
}

.reader-position {
  background: var(--nested-surface);
  box-shadow: var(--nested-element-extruded);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 11px;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.reader-position > span {
  color: var(--text-secondary);
}

.reader-state {
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 80vh;
  padding: 30px;
  display: flex;
}

.reader-state h1 {
  font-size: 26px;
}

.reader-state p {
  font-size: 12px;
}

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

.admin-stats > .card {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.admin-stats strong {
  color: var(--cobalt-primary);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.admin-stats span {
  color: var(--text-secondary);
  font-size: 10px;
}

.admin-tabs {
  border-bottom: 1px solid var(--line-color);
  margin: 35px 0 25px;
}

.admin-search {
  gap: 20px;
  margin-bottom: 25px;
  display: flex;
}

.admin-search > .search-input-bar {
  flex: 1;
}

.admin-catalog {
  flex-direction: column;
  gap: 20px;
  display: flex;
}

.admin-comic {
  align-items: center;
  gap: 22px;
  padding: 20px 24px;
  display: flex;
}

.admin-comic > img {
  object-fit: cover;
  border-radius: 7px;
  width: 65px;
  height: 95px;
}

.admin-comic-info {
  flex: 1;
  min-width: 0;
}

.admin-comic-info h2 {
  margin: 7px 0;
  font-size: 17px;
}

.admin-comic-actions {
  gap: 18px;
  display: flex;
}

.admin-comic-actions a, .admin-comic-actions button {
  font-size: 10px;
}

.admin-toggles {
  align-items: center;
  gap: 20px;
  display: flex;
}

.switch.labeled {
  flex-direction: column;
  gap: 8px;
  font-size: 9px;
}

.switch.labeled .switch-track {
  width: 40px;
  height: 23px;
}

.switch.labeled .switch-track > span {
  width: 17px;
  height: 17px;
}

.switch.labeled input:checked + .switch-track > span {
  transform: translateX(17px);
}

.admin-form {
  max-width: 700px;
}

.admin-form h2 {
  margin-bottom: 10px;
  font-size: 24px;
}

.admin-form p {
  font-size: 11px;
}

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

.checkbox-label {
  align-items: center;
  gap: 10px;
  font-size: 11px;
  display: flex;
}

.checkbox-label input {
  margin: 0;
}

.upload-panel {
  margin-top: 25px;
}

.upload-panel h2 {
  font-size: 19px;
}

.file-drop {
  border: 1px dashed var(--text-muted);
  text-align: center;
  background: var(--nested-surface);
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px;
  display: flex;
}

.file-drop svg {
  color: var(--cobalt-primary);
}

.file-drop > span {
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 400;
}

.file-drop input {
  max-width: 100%;
  font-size: 11px;
}

.report-item {
  border-bottom: 1px solid var(--line-color);
  padding: 25px 0;
}

.report-item h3 {
  margin: 10px 0;
  font-size: 16px;
}

.report-item p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 15px;
  font-size: 12px;
}

.report-item > .button {
  margin-left: 25px;
}

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: .55;
  }
}

@media (min-width: 1500px) {
  .wrap {
    width: 1120px;
  }

  .site-header {
    padding-block: 38px 32px;
  }

  .hero {
    padding-top: 32px;
  }
}

@media (max-width: 1050px) {
  .desktop-nav {
    gap: 6px;
  }

  .header-actions {
    gap: 15px;
  }

  .edition {
    display: none;
  }

  .intro-card {
    padding: 27px;
  }

  .intro-card h1 {
    font-size: 40px;
  }

  .intro-bottom {
    gap: 14px;
  }

  .featured-card {
    padding-inline: 22px;
  }

  .featured-content {
    gap: 17px;
  }

  .featured-cover {
    width: 125px;
  }

  .featured-info h2 {
    font-size: 21px;
  }

  .featured-info .type-label {
    font-size: 8px;
  }

  .featured-info .type-label > span {
    margin-top: 5px;
    display: block;
  }

  .comic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px 20px;
  }

  .comic-card h3 {
    font-size: 12px;
  }

  .comic-card-meta, .comic-card-bottom {
    font-size: 9px;
  }

  .admin-toggles {
    gap: 15px;
  }

  .detail-hero {
    gap: 28px;
  }

  .detail-cover {
    width: 180px;
  }

  .detail-information h1 {
    font-size: 30px;
  }
}

@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }

  .site-header {
    gap: 20px;
    padding-block: 26px;
  }

  .desktop-nav {
    --nav-orb-size: 48px;
    gap: 4px;
  }

  .desktop-nav a {
    min-width: 64px;
    min-height: 52px;
    padding-inline: 7px;
    font-size: 10px;
  }

  .header-actions > .button {
    padding: 9px 14px;
  }

  .brand {
    font-size: 25px;
  }

  .brand > small {
    font-size: 5.5px;
    bottom: -9px;
  }

  .header-section > .eyebrow {
    max-width: 280px;
    font-size: 8px;
  }

  .header-micro {
    font-size: 7px;
  }

  .main-bento-grid {
    gap: 20px;
  }

  .intro-card {
    gap: 20px;
    padding: 24px;
  }

  .intro-card h1 {
    font-size: 34px;
  }

  .intro-card > p {
    font-size: 11px;
  }

  .intro-bottom {
    flex-wrap: wrap;
    gap: 15px;
  }

  .intro-bottom > .tiny-note {
    display: none;
  }

  .featured-card {
    gap: 15px;
    padding: 20px;
  }

  .featured-content {
    gap: 15px;
    min-height: 230px;
  }

  .featured-cover {
    width: 104px;
  }

  .featured-info h2 {
    font-size: 19px;
  }

  .featured-info p {
    -webkit-line-clamp: 4;
    font-size: 9px;
  }

  .featured-info .text-link {
    margin-top: 10px;
    font-size: 10px;
  }

  .genre-line {
    font-size: 8px;
  }

  .language-card, .search-card {
    padding: 20px;
  }

  .language-options {
    gap: 15px;
  }

  .language-option {
    gap: 7px;
    font-size: 10px;
  }

  .language-disc {
    width: 30px;
    height: 30px;
    font-size: 8px;
  }

  .reading-grid {
    gap: 20px;
  }

  .continue-card, .bookshelf-card {
    padding: 22px;
  }

  .continue-empty {
    align-items: flex-start;
    gap: 16px;
  }

  .continue-empty > .icon-circle {
    width: 45px;
    height: 45px;
  }

  .continue-empty h3 {
    font-size: 13px;
  }

  .continue-empty p, .bookshelf-card p {
    font-size: 10px;
  }

  .bookshelf-card h3 {
    font-size: 17px;
  }

  .filter-grid {
    gap: 15px;
  }

  .filter-panel {
    padding: 22px;
  }

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

  .profile-grid > .card {
    padding: 26px;
  }

  .detail-hero {
    gap: 25px;
    padding: 25px;
  }

  .detail-cover {
    width: 155px;
  }

  .detail-information h1 {
    font-size: 27px;
  }

  .detail-tags {
    gap: 6px;
    margin-top: 15px;
  }

  .synopsis {
    font-size: 11px;
  }

  .detail-actions {
    gap: 12px;
  }

  .detail-actions > .button {
    padding: 11px 17px;
    font-size: 11px;
  }

  .detail-lower {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 20px;
  }

  .chapter-panel, .reading-about {
    padding: 22px;
  }

  .chapter-toolbar > .text-button {
    font-size: 9px;
  }

  .tabs {
    gap: 20px;
  }

  .reading-about h3 {
    font-size: 18px;
  }

  .history-card {
    gap: 15px;
    padding: 21px;
  }

  .history-card h2 {
    font-size: 14px;
  }

  .history-card img {
    width: 65px;
    height: 96px;
  }

  .history-card p {
    font-size: 10px;
  }

  .admin-comic {
    flex-wrap: wrap;
  }

  .admin-toggles {
    margin-left: auto;
  }

  .reader-settings {
    gap: 15px;
  }

  .width-control input {
    width: 80px;
  }

  .chapter-navigation {
    gap: 12px;
  }

  .chapter-navigation > .button {
    padding: 10px 14px;
    font-size: 10px;
  }

  .chapter-navigation > select {
    max-width: 150px;
  }

  .reader-controls {
    padding: 15px 20px;
  }

  .reader-ending {
    padding: 25px;
  }

  .reader-ending h2 {
    font-size: 20px;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: calc(100% - 36px);
  }

  .site-header {
    padding-block: 24px 26px;
  }

  .brand {
    font-size: 27px;
  }

  .brand > small {
    font-size: 5.7px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    gap: 12px;
  }

  .header-actions > .button {
    min-height: 35px;
    padding: 8px 14px;
    font-size: 10px;
  }

  .header-actions > .button svg {
    width: 15px;
  }

  .desktop-nav.is-open {
    --nav-orb-size: 42px;
    background: var(--nested-surface);
    box-shadow: var(--card-extruded);
    z-index: 50;
    border-radius: 16px;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    display: flex;
    position: absolute;
    top: 84px;
    left: 18px;
    right: 18px;
  }

  .desktop-nav.is-open a {
    text-align: center;
    width: 100%;
    min-height: 46px;
    font-size: 12px;
  }

  .mobile-nav {
    --nav-orb-size: 42px;
    z-index: 40;
    background: var(--nested-surface);
    border: 1px solid var(--surface-highlight);
    justify-content: space-around;
    align-items: center;
    padding: 8px 7px;
    display: flex;
    position: fixed;
    bottom: 15px;
    left: 20px;
    right: 20px;
  }

  .mobile-nav a {
    min-width: 0;
    min-height: 56px;
    color: var(--text-secondary);
    flex-direction: column;
    flex: 1;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
    font-size: 8px;
    display: flex;
  }

  .mobile-nav a > svg {
    width: 18px;
    height: 18px;
  }

  .spring-nav-icon {
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    display: flex;
  }

  .spring-nav-icon svg {
    width: 18px;
    height: 18px;
  }

  .mobile-nav a.active {
    color: var(--cobalt-primary);
    font-weight: 600;
  }

  .mobile-nav a.active .spring-nav-icon > svg {
    fill: var(--selection-surface);
  }

  .page-content {
    min-height: 55vh;
  }

  .hero {
    padding-top: 16px;
  }

  .header-section {
    gap: 12px;
    margin-bottom: 21px;
    padding-inline: 2px;
  }

  .header-section > .eyebrow {
    letter-spacing: .14em;
    max-width: 195px;
    font-size: 7px;
    line-height: 1.8;
  }

  .header-micro {
    letter-spacing: .12em;
    font-size: 6px;
  }

  .main-bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .intro-card {
    gap: 18px;
    padding: 27px 26px;
  }

  .intro-card .eyebrow {
    font-size: 9px;
  }

  .intro-card h1 {
    font-size: 42px;
    line-height: 1.15;
  }

  .intro-card > p {
    font-size: 11px;
  }

  .intro-bottom {
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 5px;
  }

  .intro-bottom > .tiny-note {
    font-size: 8px;
    display: block;
  }

  .intro-bottom > .button {
    gap: 10px;
    min-height: 43px;
    padding: 11px 18px;
    font-size: 10px;
  }

  .featured-card {
    gap: 16px;
    padding: 22px 24px 19px;
  }

  .featured-content {
    gap: 23px;
    min-height: 190px;
  }

  .featured-cover {
    width: 125px;
  }

  .featured-info h2 {
    font-size: 23px;
  }

  .featured-info .type-label {
    font-size: 8px;
  }

  .featured-info p {
    -webkit-line-clamp: 3;
    font-size: 10px;
  }

  .featured-info > .text-link {
    margin-top: 12px;
    font-size: 10px;
  }

  .genre-line {
    font-size: 9px;
  }

  .carousel-bottom {
    margin-top: -2px;
  }

  .language-card, .search-card {
    gap: 18px;
    padding: 20px 23px;
  }

  .language-disc {
    width: 34px;
    height: 34px;
    font-size: 9px;
  }

  .language-option {
    gap: 10px;
    font-size: 11px;
  }

  .language-options {
    gap: 22px;
  }

  .search-input-bar {
    min-height: 45px;
  }

  .search-input-bar input {
    font-size: 10px !important;
  }

  .eyebrow {
    font-size: 9px;
  }

  .updates-section {
    margin-top: 40px;
  }

  .section-heading {
    gap: 15px;
  }

  .updates-section h2 {
    font-size: 23px;
  }

  .section-heading > .text-link {
    white-space: nowrap;
    gap: 6px;
    font-size: 9px;
  }

  .section-heading .eyebrow {
    margin-bottom: 8px;
    font-size: 8px;
  }

  .catalog-toolbar {
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 19px;
  }

  .tabs {
    gap: 22px;
  }

  .tabs button {
    padding-inline: 1px;
    font-size: 10px;
  }

  .catalog-caption {
    text-align: right;
    max-width: 70px;
    font-size: 7px;
  }

  .comic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px 12px;
  }

  .cover-link {
    border-radius: 8px;
  }

  .cover-type {
    border-radius: 4px;
    padding: 3px 5px;
    font-size: 6px;
    bottom: 6px;
    left: 6px;
  }

  .sample-mark {
    padding: 2px 4px;
    font-size: 5px;
    top: 5px;
    left: 5px;
  }

  .comic-card-meta {
    gap: 4px;
    margin-top: 10px;
    font-size: 6.5px;
  }

  .comic-card h3 {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.5;
  }

  .comic-card-bottom {
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 4px;
    font-size: 7px;
  }

  .comic-card-bottom > span:last-child {
    margin-left: auto;
  }

  .status-dot {
    width: 4px;
    height: 4px;
  }

  .source-note {
    align-items: flex-start;
    font-size: 9px;
  }

  .source-note > svg {
    margin-top: 1px;
  }

  .reading-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .continue-card, .bookshelf-card {
    padding: 23px;
  }

  .continue-empty {
    align-items: center;
    gap: 20px;
  }

  .continue-empty > .icon-circle {
    width: 51px;
    height: 51px;
  }

  .continue-empty h3 {
    font-size: 13px;
  }

  .continue-empty p {
    font-size: 10px;
  }

  .bookshelf-card {
    gap: 18px;
  }

  .bookshelf-card h3 {
    font-size: 19px;
  }

  .bookshelf-card p {
    font-size: 11px;
  }

  .collection-note {
    gap: 9px;
    margin-top: 30px;
  }

  .collection-note p {
    font-size: 7px;
  }

  .collection-note strong {
    font-size: 6px;
  }

  .note-line {
    flex-shrink: 0;
    width: 14px;
  }

  .site-footer {
    align-items: flex-start;
    margin-top: 35px;
    padding-block: 24px 115px;
  }

  .footer-brand {
    font-size: 16px;
  }

  .site-footer > div > p {
    max-width: 170px;
    font-size: 8px;
  }

  .footer-notes {
    max-width: 165px;
    font-size: 7px;
    line-height: 1.8;
  }

  .footer-notes > p {
    letter-spacing: .1em;
    font-size: 6px !important;
  }

  .footer-notes > a {
    font-size: 7px;
  }

  .page-title {
    padding: 23px 0 27px;
  }

  .page-title h1 {
    font-size: 30px;
  }

  .page-title > p:last-child {
    margin-top: 10px;
    font-size: 11px;
  }

  .filter-panel {
    padding: 20px;
  }

  .filter-panel > .search-input-bar {
    margin-bottom: 20px;
  }

  .filter-panel .button {
    min-height: 34px;
    padding: 7px 14px;
    font-size: 10px;
  }

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

  .filter-grid select {
    min-height: 42px;
    padding: 10px 13px;
    font-size: 10px;
  }

  .filter-grid label {
    font-size: 9px;
  }

  .results-header {
    align-items: flex-start;
    margin: 24px 0 20px;
    font-size: 10px;
  }

  .results-header > span {
    text-align: right;
    max-width: 165px;
    font-size: 8px;
  }

  .empty-state {
    gap: 16px;
    padding: 40px 20px;
  }

  .empty-state h1 {
    font-size: 24px;
  }

  .empty-state h2 {
    font-size: 21px;
  }

  .empty-state p {
    font-size: 11px;
  }

  .pagination {
    gap: 12px;
  }

  .pagination .button {
    padding: 10px 15px;
    font-size: 10px;
  }

  .breadcrumb {
    padding: 20px 0;
    font-size: 9px;
  }

  .detail-hero {
    padding: 23px;
    display: flow-root;
  }

  .detail-cover {
    float: left;
    width: 108px;
    margin: 0 20px 20px 0;
  }

  .detail-information {
    display: block;
  }

  .detail-information > .type-label {
    margin-top: 3px;
    font-size: 8px;
  }

  .detail-information h1 {
    margin-top: 12px;
    font-size: 24px;
  }

  .detail-author {
    margin-top: 10px;
    font-size: 10px;
  }

  .detail-tags {
    clear: both;
    gap: 6px;
    margin-top: 18px;
    margin-bottom: 18px;
    padding-top: 4px;
  }

  .detail-tags > a, .status-label {
    padding: 4px 8px;
    font-size: 9px;
  }

  .synopsis {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 11px;
  }

  .detail-information > .source-note {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 9px;
  }

  .detail-actions {
    grid-column: 1 / -1;
    gap: 12px;
    margin-top: 20px;
  }

  .detail-actions > .button {
    gap: 8px;
    padding: 11px 16px;
    font-size: 10px;
  }

  .detail-lower {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 22px;
  }

  .chapter-panel {
    padding: 22px;
  }

  .chapter-panel h2 {
    font-size: 19px;
  }

  .chapter-list {
    max-height: 430px;
  }

  .reading-about {
    gap: 17px;
  }

  .reading-about > .icon-circle {
    display: none;
  }

  .reading-about h3 {
    font-size: 18px;
  }

  .reading-about p {
    font-size: 10px;
  }

  .language-hint {
    width: 100%;
    margin: 0;
    padding: 13px;
    font-size: 9px;
  }

  .comments-panel {
    margin-top: 22px;
    padding: 22px;
  }

  .comments-panel h2 {
    font-size: 20px;
  }

  .comments-panel .section-heading {
    align-items: flex-start;
  }

  .rating {
    font-size: 8px;
  }

  .rating-stars button {
    padding: 3px;
  }

  .rating-stars button > svg {
    width: 15px;
  }

  .rating small {
    font-size: 7px;
  }

  .comment-actions {
    align-items: flex-start;
    gap: 10px;
    font-size: 8px;
  }

  .comment-actions > .button {
    white-space: normal;
    text-align: center;
    max-width: 145px;
    min-height: 35px;
    padding: 9px 12px;
    font-size: 9px;
  }

  .comments-list article {
    gap: 10px;
  }

  .comments-list article p {
    font-size: 11px;
  }

  .comments-list small {
    margin: 2px 0 0;
    font-size: 8px;
    display: block;
  }

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

  .history-card {
    gap: 20px;
    padding: 21px;
  }

  .history-card img {
    width: 75px;
    height: 110px;
  }

  .history-card h2 {
    font-size: 17px;
  }

  .history-card p {
    font-size: 11px;
  }

  .history-card .text-link {
    font-size: 10px;
  }

  .library-toolbar {
    align-items: flex-start;
    gap: 10px;
    font-size: 10px;
  }

  .inline-confirm {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
    max-width: 165px;
    font-size: 9px;
  }

  .library-toolbar .text-button {
    font-size: 10px;
  }

  .profile-grid > .card {
    padding: 22px;
  }

  .profile-inner {
    gap: 16px;
    padding: 17px;
  }

  .profile-inner h2 {
    font-size: 18px;
  }

  .setting-row {
    gap: 12px;
  }

  .setting-row strong {
    font-size: 11px;
  }

  .setting-row p {
    max-width: 180px;
    font-size: 9px;
  }

  .setting-row > select {
    width: 128px;
    min-height: 42px;
    padding: 10px 13px;
    font-size: 10px;
  }

  .profile-auth .button {
    padding: 11px 20px;
    font-size: 10px;
  }

  .auth-dialog {
    max-height: calc(100dvh - 32px);
    padding: 25px;
  }

  .auth-dialog h2 {
    font-size: 25px;
  }

  .auth-dialog > .muted {
    font-size: 11px;
  }

  .form-stack {
    gap: 15px;
    margin-top: 22px;
  }

  .form-stack label {
    font-size: 11px;
  }

  .form-stack label > input, .form-stack label > select {
    font-size: 12px;
  }

  .toast-region {
    bottom: 99px;
    left: 18px;
    right: 18px;
  }

  .toast {
    gap: 10px;
    max-width: none;
    padding: 12px;
    font-size: 11px;
  }

  .toast > .icon-circle {
    width: 33px;
    height: 33px;
  }

  .reader-header {
    gap: 15px;
    padding: 19px 16px;
  }

  .reader-back {
    gap: 12px;
  }

  .reader-back strong {
    font-size: 12px;
  }

  .reader-back small {
    font-size: 8px;
  }

  .reader-brand {
    letter-spacing: .04em;
    font-size: 18px;
  }

  .reader-main {
    padding: 18px 0 65px;
  }

  .reader-controls {
    margin: 0 12px 20px;
    padding: 15px;
  }

  .reader-settings {
    flex-direction: column;
    gap: 15px;
    padding-bottom: 17px;
  }

  .reader-settings > .tabs {
    justify-content: center;
    align-self: stretch;
    gap: 35px;
  }

  .reader-settings > .tabs button {
    font-size: 11px;
  }

  .width-control {
    justify-content: center;
    width: 100%;
    font-size: 9px;
  }

  .width-control input {
    width: 120px;
  }

  .chapter-navigation {
    flex-wrap: wrap;
    gap: 8px;
  }

  .chapter-navigation > .button {
    flex: 1;
    gap: 6px;
    min-height: 37px;
    padding: 9px 13px;
    font-size: 9px;
  }

  .chapter-navigation > .button > span {
    white-space: normal;
    max-width: 90px;
    line-height: 1.4;
  }

  .chapter-navigation > select {
    order: -1;
    width: 100%;
    max-width: 100%;
    min-height: 38px;
    font-size: 10px;
  }

  .reader-sample {
    padding: 0 16px;
    font-size: 8px;
  }

  .reader-canvas, .reader-image > img {
    width: 100%;
  }

  .reader-ending {
    gap: 18px;
    margin: 24px 12px 0;
    padding: 25px 17px;
  }

  .reader-ending h2 {
    font-size: 20px;
  }

  .reader-ending .eyebrow {
    font-size: 8px;
  }

  .reader-discussion {
    padding: 0 12px;
  }

  .reader-position {
    font-size: 9px;
    bottom: 16px;
    right: 12px;
  }

  .report-form label {
    font-size: 11px;
  }

  .reader-state h1 {
    font-size: 24px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }

  .admin-stats > .card {
    gap: 9px;
    padding: 20px;
  }

  .admin-stats strong {
    font-size: 27px;
  }

  .admin-stats span {
    font-size: 9px;
  }

  .admin-tabs {
    gap: 20px;
    margin-block: 25px 22px;
  }

  .admin-tabs button {
    font-size: 10px;
  }

  .admin-search {
    flex-direction: column;
    gap: 15px;
  }

  .admin-search > .button {
    align-self: flex-end;
    min-height: 38px;
    font-size: 10px;
  }

  .admin-comic {
    gap: 15px;
    padding: 19px;
  }

  .admin-comic > img {
    width: 55px;
    height: 80px;
  }

  .admin-comic-info .type-label {
    font-size: 7px;
  }

  .admin-comic-info h2 {
    margin: 5px 0;
    font-size: 14px;
  }

  .admin-comic-actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .admin-comic-actions button, .admin-comic-actions a {
    font-size: 9px;
  }

  .admin-toggles {
    border-top: 1px solid var(--line-color);
    justify-content: space-around;
    width: 100%;
    margin: 6px 0 0;
    padding-top: 16px;
  }

  .switch.labeled {
    gap: 9px;
    font-size: 9px;
  }

  .admin-form {
    padding: 22px;
  }

  .admin-form h2 {
    font-size: 22px;
  }

  .form-two {
    gap: 14px;
  }

  .file-drop {
    padding: 22px 15px;
  }

  .file-drop strong {
    font-size: 11px;
  }

  .file-drop span {
    font-size: 9px;
  }

  .file-drop input {
    font-size: 10px;
  }

  .report-item .button {
    margin-left: 15px;
    padding: 9px 13px;
    font-size: 9px;
  }

  .upload-panel {
    padding: 22px;
  }

  .upload-panel h2 {
    font-size: 17px;
  }
}

@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .intro-card {
    padding: 24px 22px;
  }

  .intro-card h1 {
    font-size: 37px;
  }

  .intro-bottom > .tiny-note {
    display: none;
  }

  .featured-card {
    padding: 20px;
  }

  .featured-content {
    gap: 17px;
  }

  .featured-cover {
    width: 108px;
  }

  .featured-info h2 {
    font-size: 21px;
  }

  .featured-info p {
    font-size: 9px;
  }

  .comic-grid {
    gap: 22px 10px;
  }

  .comic-card h3 {
    font-size: 9px;
  }

  .catalog-toolbar .tabs {
    gap: 17px;
  }

  .detail-hero {
    padding: 19px;
  }

  .detail-cover {
    width: 90px;
  }

  .detail-information h1 {
    font-size: 21px;
  }

  .detail-author {
    font-size: 9px;
  }

  .detail-actions {
    gap: 10px;
  }

  .detail-actions > .button {
    padding: 10px 13px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, :before, :after {
    transition: none !important;
    animation: none !important;
  }

  .featured-cover:hover {
    transform: rotate(-3deg);
  }
}

.admin-analytics {
  margin-top: 25px;
}

.admin-analytics h2 {
  font-size: 18px;
}

.admin-analytics > .muted {
  margin-top: 15px;
  font-size: 11px;
}

.admin-analytics ol {
  margin-bottom: 0;
  padding-left: 20px;
  font-size: 12px;
}

.admin-analytics li {
  padding: 7px 5px;
}

.admin-analytics li span {
  float: right;
  color: var(--cobalt-primary);
  font-weight: 600;
}

.admin-analytics li a:hover {
  color: var(--cobalt-primary);
}

.new-chapter-mark {
  background: var(--cobalt-primary);
  color: var(--on-primary);
  border-radius: 5px;
  padding: 4px 6px;
  font-size: 7px;
  font-weight: 600;
  position: absolute;
  top: 7px;
  right: 7px;
}

.theme-control {
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  display: flex;
}

.theme-toggle {
  border: 1px solid var(--glass-border);
  background: linear-gradient(135deg, var(--glass-glint), transparent 52%),
    var(--glass-track);
  width: 96px;
  height: 48px;
  box-shadow: inset 0 1px 2px var(--glass-glint),
    inset 0 -1px 4px var(--glass-shade),
    0 5px 14px var(--glass-shade);
  -webkit-backdrop-filter: blur(14px) saturate(1.35);
  isolation: isolate;
  touch-action: manipulation;
  border-radius: 999px;
  padding: 0;
  position: relative;
}

.theme-toggle:before {
  content: "";
  border-radius: inherit;
  border-top: 1px solid var(--glass-glint);
  pointer-events: none;
  position: absolute;
  inset: 2px;
}

.theme-glass-knob {
  background: linear-gradient(145deg, var(--glass-glint), transparent 60%),
    var(--glass-knob);
  border: 1px solid var(--glass-border);
  width: 38px;
  height: 38px;
  box-shadow: 0 3px 9px var(--glass-shade),
    inset 0 1px 3px var(--glass-glint);
  pointer-events: none;
  will-change: transform;
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}

.theme-symbols {
  pointer-events: none;
  z-index: 1;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  display: grid;
  position: absolute;
  inset: 0;
}

.theme-symbols > span {
  color: var(--text-secondary);
  justify-content: center;
  align-items: center;
  transition: color .2s ease-in-out;
  display: flex;
}

.theme-toggle[aria-checked="false"] .theme-sun, .theme-toggle[aria-checked="true"] .theme-moon {
  color: var(--text-primary);
}

.theme-current {
  color: var(--text-secondary);
  letter-spacing: .03em;
  font-size: 8px;
  line-height: 1.4;
}

.theme-current-dark {
  display: none;
}

:root[data-theme="dark"] .theme-current-dark {
  display: inline;
}

:root[data-theme="dark"] .theme-current-light {
  display: none;
}

@media (max-width: 620px) {
  .theme-setting {
    gap: 12px;
  }

  .theme-setting > div:first-child {
    min-width: 0;
  }

  .theme-setting p {
    max-width: 165px;
  }

  .theme-control {
    gap: 6px;
  }
}

.donation-dialog {
  text-align: center;
  width: min(430px, 100% - 32px);
  max-height: calc(100dvh - 40px);
  color: var(--text-primary);
  border: 1px solid var(--surface-highlight);
  padding: 26px;
  overflow-y: auto;
}

.donation-dialog::backdrop {
  background: var(--overlay-surface);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.donation-bell {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
}

.donation-dialog h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.35;
}

.donation-dialog > p {
  margin-bottom: 18px;
  font-size: 12px;
  line-height: 1.85;
}

.donation-image {
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 20px;
  display: flex;
}

.donation-image img {
  object-fit: contain;
  border-radius: 10px;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 36dvh;
}

.donation-image > span {
  color: var(--text-secondary);
  align-items: center;
  gap: 6px;
  font-size: 9px;
  display: flex;
}

.donation-dismiss {
  width: 100%;
}

.footer-notes > .footer-donation {
  margin-top: 7px;
  margin-left: auto;
  font-size: 9px;
}

@media (max-width: 620px) {
  .donation-dialog {
    max-height: calc(100dvh - 32px);
    padding: 23px;
  }

  .donation-dialog h2 {
    font-size: 22px;
  }

  .donation-dialog > p {
    font-size: 11px;
  }

  .donation-image img {
    max-height: 32dvh;
  }

  .footer-notes > .footer-donation {
    font-size: 8px;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8plh8sv.css.map*/