:root {
  --paper: #fffaf3;
  --paper-deep: #f4e9db;
  --ink: #35261e;
  --muted: #78685e;
  --line: rgba(86, 62, 49, 0.14);
  --rose: #f4c8cf;
  --rose-deep: #da8698;
  --sage: #d8e3cf;
  --sage-deep: #7a9170;
  --gold: #f0dca7;
  --gold-deep: #9c8352;
  --shadow: 0 18px 40px rgba(104, 78, 58, 0.12);
  --sticky-header-top: 12px;
  --sticky-primary-top: 104px;
  --sticky-secondary-top: 192px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(244, 200, 207, 0.55), transparent 26%),
    radial-gradient(circle at top right, rgba(216, 227, 207, 0.6), transparent 24%),
    linear-gradient(180deg, #fffefc 0%, var(--paper) 100%);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.45)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23e9d8c6' stroke-width='1'%3E%3Cpath d='M32 52c8-20 28-33 49-33s41 13 49 33'/%3E%3Cpath d='M51 110c5-13 18-22 33-22s28 9 33 22'/%3E%3Ccircle cx='90' cy='90' r='3' fill='%23efd7b4' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.45;
}

.page-shell {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.app-header {
  position: sticky;
  top: var(--sticky-header-top);
  z-index: 40;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.app-brand {
  display: grid;
  justify-items: start;
  gap: 4px;
  color: inherit;
  text-decoration: none;
}

.app-brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-brand-logo {
  display: block;
  width: clamp(180px, 18vw, 260px);
  height: auto;
  object-fit: contain;
}

.app-nav {
  justify-self: center;
  margin-bottom: 0;
}

.app-account {
  justify-self: end;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

body.settings-active .hero {
  display: none;
}

body.stock-active .hero {
  display: none;
}

body.wishlist-active .hero {
  display: none;
}

.hero-copy,
.hero-panel,
.controls,
.insights-board,
.series-browser,
.wishlist-board,
.shelf-meta,
.card,
.view-switcher,
.collected-header,
.collected-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 32px;
}

.account-menu-wrap {
  position: relative;
  justify-self: end;
  z-index: 35;
}

.account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(104, 78, 58, 0.08);
}

.account-trigger-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(244, 200, 207, 0.95), rgba(216, 227, 207, 0.95));
  font-weight: 800;
}

.account-trigger-text {
  display: grid;
  gap: 2px;
  text-align: left;
}

.account-trigger-text strong {
  font-size: 0.95rem;
}

.account-trigger-text span {
  max-width: 180px;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: grid;
  gap: 6px;
  min-width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.995);
  box-shadow: 0 24px 36px rgba(104, 78, 58, 0.18);
}

.account-menu[hidden] {
  display: none !important;
}

.account-menu-item {
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.account-menu-item:hover,
.account-menu-item:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.hero-status-strip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(240, 220, 167, 0.92);
  color: #6b572c;
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-status-pill.is-connected,
.hero-status-pill.is-saved {
  background: rgba(216, 227, 207, 0.95);
  color: #425439;
}

.hero-status-pill.is-syncing {
  background: rgba(221, 232, 248, 0.96);
  color: #4d6384;
}

.hero-status-pill.is-error {
  background: rgba(244, 200, 207, 0.95);
  color: #8e4757;
}

.hero-status-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow,
.series-name,
.source-note,
.search-field span,
.select-field span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.series-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

h1,
.wishlist-header h2,
.sonny-name-row,
.wishlist-name-row,
.sonny-name {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 0.98;
}

h1 {
  max-width: 10ch;
  margin-top: 12px;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.hero-text {
  max-width: 42rem;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-panel {
  padding: 24px;
}

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

.stat-card {
  border-radius: 22px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 238, 227, 0.95));
  border: 1px solid var(--line);
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-family: "Fraunces", serif;
}

.ghost-button,
.status-button,
.search-field input,
.select-field select {
  font: inherit;
}

.ghost-button {
  width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
}

.controls {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(150px, 0.7fr)) auto;
  gap: 16px;
  padding: 18px;
  margin-bottom: 18px;
  position: sticky;
  top: var(--sticky-primary-top);
  z-index: 24;
}

.view-switcher {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  margin-bottom: 18px;
}

.view-tab {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.view-tab.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(104, 78, 58, 0.08);
}

.view-panel {
  display: none;
}

.view-panel.is-active {
  display: block;
}

.insights-panel {
  display: none;
}

.insights-panel.is-active {
  display: block;
}

.stock-panel.is-active {
  display: block;
}

.stock-panel-shell {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 24px;
}

.stock-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.stock-panel-header h2 {
  margin: 8px 0 10px;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.02;
}

.stock-controls {
  margin-top: 12px;
}

.stock-toggle-field {
  align-self: end;
}

.stock-meta {
  margin-top: 18px;
}

.tracker-stock-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.tracker-stock-grid.is-card-view {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tracker-stock-grid.is-shelf-view {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 26px 18px;
  align-items: end;
  padding: 28px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
    rgba(255, 250, 244, 0.72);
}

.tracker-stock-grid.is-shelf-view::before {
  content: "";
  grid-column: 1 / -1;
  height: 16px;
  margin-bottom: -2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(206, 186, 162, 0.88), rgba(182, 154, 124, 0.92));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.34);
}

.tracker-stock-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tracker-stock-card.is-compact .tracker-stock-card-body {
  padding: 16px;
}

.tracker-stock-card-art {
  min-height: 230px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-color: rgba(255, 255, 255, 0.9);
}

.tracker-stock-card-art.is-empty,
.tracker-stock-shelf-art.is-empty {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 240, 231, 0.8));
}

.tracker-stock-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tracker-stock-shelf-tile {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.tracker-stock-shelf-figure {
  min-height: 200px;
  display: grid;
  align-items: end;
}

.tracker-stock-shelf-art {
  width: 150px;
  height: 190px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.tracker-stock-shelf-price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 20px rgba(104, 78, 58, 0.08);
  font-weight: 800;
}

.tracker-stock-status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #9bc86c;
}

.tracker-stock-status-dot.is-pending {
  background: #e7c75a;
}

.tracker-stock-status-dot.is-sold {
  background: #8db7df;
}

.tracker-stock-status-dot.is-traded {
  background: #d7a7c8;
}

.tracker-stock-shelf-name {
  display: inline-flex;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-family: "Fraunces", serif;
  font-size: 1.02rem;
  box-shadow: 0 12px 20px rgba(104, 78, 58, 0.08);
}

.tracker-stock-shelf-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.stock-status-pill {
  color: var(--ink);
}

.stock-status-pill-available {
  background: rgba(216, 227, 207, 0.95);
}

.stock-status-pill-pending {
  background: rgba(240, 220, 167, 0.95);
}

.stock-status-pill-sold {
  background: rgba(208, 222, 244, 0.95);
}

.stock-status-pill-traded {
  background: rgba(244, 200, 207, 0.95);
}

@media (max-width: 900px) {
  .stock-panel-header {
    flex-direction: column;
  }

  .collected-detail-layout {
    grid-template-columns: 1fr;
  }

  .collected-detail-grid {
    grid-template-columns: 1fr;
  }

  .collected-detail-trade-picker {
    grid-template-columns: 1fr;
  }
}

.search-field,
.select-field,
.toggle-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field[hidden],
.select-field[hidden],
.toggle-field[hidden] {
  display: none !important;
}

.collected-controls [hidden] {
  display: none !important;
}

[data-collection-field][hidden] {
  display: none !important;
}

.toggle-field {
  justify-content: end;
  font-weight: 600;
}

.collected-detail-checkbox {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.collected-detail-checkbox input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: 0 0 auto;
}

.collected-detail-checkbox span {
  flex: 0 1 auto;
}

.search-field input,
.select-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.shelf-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  margin-bottom: 20px;
  position: sticky;
  top: var(--sticky-secondary-top);
  z-index: 22;
}

.wishlist-board {
  padding: 22px;
  margin-bottom: 20px;
}

body.wishlist-active .wishlist-board {
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.settings-board {
  padding: 22px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.84);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.page-footer {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.bug-report-cta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(244, 200, 207, 0.24), transparent 28%),
    radial-gradient(circle at bottom left, rgba(216, 227, 207, 0.3), transparent 26%),
    rgba(255, 251, 245, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.bug-report-cta h2,
.bug-report-header h2 {
  margin: 10px 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 0.98;
}

.bug-report-open {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.bug-report-panel {
  display: block;
}

.bug-report-panel[hidden] {
  display: none;
}

.bug-report-sheet {
  width: min(980px, 100%);
  max-height: none;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(244, 200, 207, 0.24), transparent 30%),
    radial-gradient(circle at bottom left, rgba(216, 227, 207, 0.28), transparent 28%),
    rgba(255, 251, 245, 0.96);
  box-shadow: var(--shadow);
}

.bug-report-header,
.bug-report-actions,
.bug-report-grid {
  display: grid;
  gap: 16px;
}

.bug-report-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 18px;
}

.bug-report-form {
  display: grid;
  gap: 16px;
}

.bug-report-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bug-report-textarea {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  line-height: 1.55;
}

.bug-upload {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px dashed rgba(86, 62, 49, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.bug-upload input {
  display: none;
}

.bug-upload strong {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.bug-upload p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.bug-upload-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.bug-upload-item {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(86, 62, 49, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.bug-upload-item strong,
.bug-upload-item p {
  display: block;
  margin: 0;
}

.bug-upload-item p {
  margin-top: 6px;
  color: var(--muted);
}

.bug-report-actions {
  grid-template-columns: auto auto;
  justify-content: end;
}

.bug-report-close {
  width: auto;
  margin-top: 0;
}

.insights-board,
.series-browser {
  padding: 22px;
  margin-bottom: 20px;
}

.insights-board {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(244, 200, 207, 0.32), transparent 30%),
    radial-gradient(circle at bottom left, rgba(216, 227, 207, 0.42), transparent 28%),
    rgba(255, 251, 245, 0.92);
}

.insights-board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 48%),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.5), transparent 22%);
}

.insights-header,
.insight-grid {
  position: relative;
  z-index: 1;
}

.series-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: 18px;
  padding: 18px 22px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 238, 227, 0.96));
  box-shadow: var(--shadow);
}

.series-spotlight[hidden] {
  display: none;
}

.series-spotlight h3 {
  margin: 8px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  line-height: 1.05;
}

.series-spotlight p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.series-spotlight-progress {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.collected-header {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 18px;
  padding: 24px 26px;
  margin-bottom: 18px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 227, 214, 0.78), transparent 24%),
    radial-gradient(circle at 88% 24%, rgba(239, 231, 255, 0.5), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(249, 240, 232, 0.94));
  box-shadow: 0 24px 44px rgba(104, 78, 58, 0.08);
}

.collected-header h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 0.98;
}

.collected-header-copy {
  max-width: 42rem;
}

.collected-header-copy .wishlist-copy {
  margin: 0;
}

.collected-header-note {
  align-self: center;
  display: grid;
  gap: 6px;
  min-width: 220px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.collected-header-note strong {
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collected-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.collected-summary-card {
  padding: 18px 18px 16px;
  border-radius: 24px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 28px rgba(104, 78, 58, 0.06);
}

.collected-summary-card.is-highlight {
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 206, 192, 0.5), transparent 28%),
    linear-gradient(180deg, rgba(255, 248, 244, 0.96), rgba(250, 236, 226, 0.96));
}

.collected-summary-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.collected-summary-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1;
}

.collected-summary-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.collected-controls {
  position: sticky;
  top: calc(var(--sticky-primary-top) + 28px);
  z-index: 24;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 252, 248, 0.82);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 30px rgba(104, 78, 58, 0.06);
}

.wishlist-header,
.settings-header,
.insights-header,
.series-browser-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.wishlist-header,
.series-browser-header,
.settings-subtabs {
  position: sticky;
  top: var(--sticky-primary-top);
  z-index: 24;
  backdrop-filter: blur(10px);
}

.wishlist-header,
.series-browser-header {
  padding: 10px 0 14px;
  background: rgba(255, 248, 241, 0.94);
}

.wishlist-header h2,
.settings-header h2,
.insights-header h2,
.series-browser-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.series-browser-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  justify-content: flex-end;
}

.insights-reset-button {
  width: auto;
  margin-top: 0;
}

.insights-toggle-field {
  align-self: end;
  min-height: 56px;
}

.insights-sort-field {
  min-width: 220px;
}

.settings-subtabs {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.6);
}

.settings-account-card {
  margin-top: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 238, 227, 0.94));
  box-shadow: 0 18px 34px rgba(104, 78, 58, 0.08);
}

.settings-account-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 18px;
}

.settings-account-helper {
  margin: -4px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.settings-account-actions {
  margin-top: 16px;
}

.settings-account-open {
  width: auto;
  min-width: 210px;
}

.account-export-copy {
  display: grid;
  gap: 4px;
}

.account-export-copy span {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.account-export-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.sync-snapshot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sync-snapshot-card {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.sync-snapshot-card span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sync-snapshot-card strong {
  display: block;
  margin-top: 6px;
  font-family: "Fraunces", serif;
  font-size: 1.8rem;
}

.sync-meta {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.sync-meta-line {
  margin: 0;
}

.auth-status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.auth-status-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.15rem;
}

.auth-status-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(240, 220, 167, 0.92);
  color: #6b572c;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.auth-status-pill.is-connected {
  background: rgba(216, 227, 207, 0.95);
  color: #425439;
}

.auth-status-pill.is-syncing {
  background: rgba(221, 232, 248, 0.96);
  color: #4d6384;
}

.auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.auth-actions,
.auth-session-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-actions {
  grid-column: 1 / -1;
}

.auth-actions .ghost-button,
.auth-session-actions .ghost-button {
  width: auto;
  margin-top: 0;
}

.auth-session-actions {
  margin-top: 14px;
}

.auth-feedback {
  margin: 14px 0 0;
}

.account-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.account-modal-shell[hidden] {
  display: none !important;
}

.account-modal-shell.is-open {
  display: grid;
}

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(53, 38, 30, 0.28);
  backdrop-filter: blur(8px);
}

.account-modal {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(247, 238, 227, 0.98));
  box-shadow: 0 30px 50px rgba(68, 49, 36, 0.2);
}

.account-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.account-modal-header h2 {
  margin: 8px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.account-modal-close {
  width: auto;
  margin-top: 0;
}

.account-modal-copy {
  margin: 14px 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.account-modal-section {
  margin-top: 18px;
}

.collected-detail-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 44;
  display: grid;
  place-items: center;
  padding: 24px;
}

.collected-detail-modal-shell[hidden] {
  display: none !important;
}

.collected-detail-modal {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.985), rgba(247, 238, 227, 0.985));
  box-shadow: 0 30px 50px rgba(68, 49, 36, 0.2);
}

.collected-detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

.collected-detail-form {
  border: 1px solid rgba(123, 91, 72, 0.1);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 28px rgba(104, 78, 58, 0.08);
}

.collected-detail-figure-panel {
  display: grid;
  gap: 12px;
  padding: 8px 8px 0;
  justify-items: center;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.collected-detail-art {
  order: 2;
  min-height: 320px;
  width: 100%;
  border-radius: 22px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-color: transparent;
  box-shadow: none;
}

.collected-detail-form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.collected-detail-mode-field {
  display: grid;
  gap: 10px;
}

.collected-detail-mode-field > span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.collected-detail-figure-panel .wishlist-name {
  order: 1;
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 0.98;
  text-align: center;
}

.collected-detail-figure-panel .series-name {
  order: 3;
  margin: -4px 0 0;
  text-align: center;
}

.collected-detail-photo-tools {
  order: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.collected-detail-uploaded-photo {
  order: 5;
  width: min(100%, 320px);
  margin-top: 8px;
}

.collected-detail-uploaded-photo img {
  display: block;
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 32px rgba(104, 78, 58, 0.12);
}

.collected-detail-mode-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collected-detail-mode-button {
  min-width: 120px;
}

.collected-detail-mode-button.is-active {
  background: rgba(216, 227, 207, 0.92);
  border-color: rgba(122, 145, 112, 0.32);
}

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

.collected-detail-grid[hidden] {
  display: none !important;
}

.collected-detail-trade-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.collected-detail-trade-picker select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.collected-series-multifield {
  position: relative;
}

.collected-series-multiselect {
  position: relative;
}

.collected-series-trigger {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.collected-series-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 35;
  width: min(360px, 100vw - 48px);
  max-height: 360px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.98);
  box-shadow: 0 24px 36px rgba(104, 78, 58, 0.18);
  backdrop-filter: blur(12px);
}

.collected-series-options {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.collected-series-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
}

.collected-series-option.is-all {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(248, 244, 236, 0.98);
}

.collected-series-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.settings-fields-card {
  padding: 22px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  border-radius: 28px;
  background: rgba(255, 251, 245, 0.84);
  box-shadow: 0 18px 30px rgba(104, 78, 58, 0.08);
}

.collection-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.collection-field-toggle {
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.collected-detail-trade-picker input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.collected-detail-traded-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collected-detail-traded-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.collected-detail-traded-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px 7px 7px;
  border: 1px solid rgba(123, 91, 72, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 18px rgba(104, 78, 58, 0.06);
}

.collected-detail-traded-chip-art {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-color: rgba(250, 247, 241, 0.98);
  box-shadow: inset 0 0 0 1px rgba(123, 91, 72, 0.08);
}

.collected-detail-traded-chip-art.is-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(236, 221, 214, 0.95);
  color: #7a5b48;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.collected-detail-traded-chip-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

.collected-detail-traded-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 999px;
  background: rgba(236, 221, 214, 0.9);
  color: #7a5b48;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.account-session-copy {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.account-session-copy p {
  margin: 0;
}

.account-password-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}

.account-password-panel .ghost-button {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.account-restore-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
}

.account-restore-panel .ghost-button {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.account-file-field input[type="file"] {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.settings-danger-zone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(164, 94, 94, 0.18);
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 224, 224, 0.7), transparent 24%),
    linear-gradient(180deg, rgba(255, 248, 247, 0.94), rgba(252, 238, 235, 0.96));
  box-shadow: 0 18px 34px rgba(140, 91, 91, 0.08);
}

.settings-danger-zone h3 {
  margin: 8px 0 10px;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

.settings-danger-zone .wishlist-copy {
  margin: 0;
  max-width: 40rem;
}

.settings-danger-button {
  border-color: rgba(164, 94, 94, 0.24);
  background: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.settings-subtab {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.settings-subtab.is-active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(104, 78, 58, 0.08);
}

.settings-subpanel {
  display: none;
}

.settings-subpanel.is-active {
  display: block;
}

.hide-manager {
  display: grid;
  gap: 18px;
}

.hide-manager-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 16px;
  align-items: end;
}

.hide-manager-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hide-manager-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hide-visibility-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.hide-view-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hide-view-button.is-active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(104, 78, 58, 0.08);
}

.hide-bulk-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hide-bulk-button {
  width: auto;
  margin-top: 0;
  white-space: nowrap;
}

.hide-summary-card,
.hide-column {
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 238, 227, 0.96));
  border: 1px solid var(--line);
}

.hide-summary-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.hide-manager-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.hide-column {
  display: grid;
  gap: 16px;
}

.hide-column-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.hide-column-header h3 {
  margin: 10px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

.hide-list {
  display: grid;
  gap: 12px;
  max-height: 700px;
  overflow-y: auto;
  padding-right: 4px;
}

.hide-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(86, 62, 49, 0.08);
}

.hide-row.is-hidden {
  border-color: rgba(218, 134, 152, 0.38);
  background: linear-gradient(180deg, rgba(255, 244, 246, 0.92), rgba(249, 236, 240, 0.94));
}

.hide-row-sonny {
  grid-template-columns: 64px minmax(0, 1fr) auto;
}

.hide-row-art {
  width: 64px;
  height: 78px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.95);
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  border: 1px solid rgba(86, 62, 49, 0.08);
}

.hide-row-copy h4,
.hide-row-copy p {
  margin: 0;
}

.hide-row-copy h4 {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  line-height: 1.1;
}

.hide-row-copy p {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.hide-toggle-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.insight-card,
.series-progress-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 238, 227, 0.96));
  border: 1px solid var(--line);
  min-height: 100%;
}

.insight-card {
  grid-column: span 4;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 238, 227, 0.98)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(104, 78, 58, 0.08);
  gap: 14px;
}

.insight-card-featured {
  grid-column: span 6;
  min-height: 280px;
  background:
    radial-gradient(circle at top right, rgba(240, 220, 167, 0.34), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 238, 227, 0.98));
}

.insight-grid > .insight-card:nth-child(1),
.insight-grid > .insight-card:nth-child(2) {
  grid-column: span 6;
}

.insight-card-tall {
  min-height: 280px;
}

.insight-card span,
.series-progress-meta,
.series-progress-stats {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.insight-card strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  line-height: 1.1;
  max-width: 12ch;
}

.insight-card-featured strong {
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  max-width: 11ch;
}

.insight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 32ch;
}

.insight-progress,
.insight-progress-split {
  margin-top: auto;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(86, 62, 49, 0.08);
}

.insight-progress-split {
  display: grid;
  gap: 12px;
}

.insight-series-list {
  align-content: start;
}

.insight-series-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.insight-inline-toggle {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.insight-progress-lane {
  display: grid;
  gap: 8px;
}

.insight-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.insight-progress-row span,
.insight-progress-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.insight-progress-row strong {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
}

.insight-progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(216, 227, 207, 0.38);
  overflow: hidden;
  border: 1px solid rgba(122, 145, 112, 0.12);
}

.insight-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d88fa0 0%, #efc07b 52%, #7a9170 100%);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.25);
}

.insight-progress-label {
  margin: 10px 0 0;
}

.insight-jump-button {
  margin-top: 12px;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.series-progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.series-progress-card.is-active {
  border-color: rgba(122, 145, 112, 0.45);
  box-shadow: 0 12px 26px rgba(104, 78, 58, 0.1);
}

.series-progress-card.is-jump-highlight {
  border-color: rgba(214, 170, 84, 0.56);
  box-shadow: 0 16px 34px rgba(214, 170, 84, 0.2);
}

.series-progress-card.is-unrefined,
.wishlist-card.is-unrefined,
.collected-card.is-unrefined,
.card.card-unrefined {
  border-color: rgba(218, 134, 152, 0.42);
  box-shadow: 0 14px 30px rgba(218, 134, 152, 0.12);
}

.series-progress-copy {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 132px;
}

.series-progress-name {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  line-height: 1.15;
  min-height: 4.2rem;
}

.series-progress-meta {
  margin: 0;
  min-height: 3.2rem;
}

.series-focus-button {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.series-preview-strip {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(86, 62, 49, 0.08);
  align-items: end;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.series-preview-item {
  flex: 0 0 56px;
  width: 56px;
  height: 72px;
  padding: 4px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 238, 227, 0.96));
  border: 1px solid rgba(86, 62, 49, 0.08);
  box-shadow: 0 8px 16px rgba(104, 78, 58, 0.08);
  scroll-snap-align: start;
}

.series-preview-item.is-owned {
  border-color: rgba(122, 145, 112, 0.45);
  box-shadow: 0 10px 18px rgba(122, 145, 112, 0.14);
}

.series-progress-grid.is-color-code-mode .series-preview-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 238, 227, 0.74));
  border-color: rgba(86, 62, 49, 0.06);
  box-shadow: none;
  opacity: 0.58;
  filter: saturate(0.88);
}

.series-progress-grid.is-color-code-mode .series-preview-item.is-owned {
  background:
    radial-gradient(circle at top left, rgba(229, 247, 226, 0.95), transparent 42%),
    linear-gradient(180deg, rgba(239, 251, 235, 0.98), rgba(221, 243, 214, 0.96));
  border-color: rgba(144, 186, 137, 0.6);
  box-shadow: 0 10px 18px rgba(155, 201, 149, 0.2);
  opacity: 1;
  filter: none;
}

.series-preview-art {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.96);
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.series-progress-bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(216, 227, 207, 0.34);
  overflow: hidden;
}

.series-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sage-deep), var(--sage));
}

.series-progress-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 2.2rem;
}

.wishlist-copy {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.wishlist-header-actions {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.wishlist-maker-trigger {
  width: auto;
  min-width: 132px;
  margin-top: 0;
  white-space: nowrap;
}

.wishlist-landing {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 10px 0 20px;
  padding: 24px;
  border-radius: 34px;
  border: 1px solid rgba(187, 156, 143, 0.28);
  background:
    radial-gradient(circle at top left, rgba(255, 243, 231, 0.95), transparent 34%),
    radial-gradient(circle at 85% 20%, rgba(255, 216, 229, 0.46), transparent 30%),
    radial-gradient(circle at 62% 70%, rgba(240, 218, 255, 0.42), transparent 24%),
    linear-gradient(135deg, rgba(255, 250, 245, 0.96), rgba(255, 241, 247, 0.92));
  box-shadow: 0 26px 44px rgba(104, 78, 58, 0.08);
  overflow: hidden;
}

body.wishlist-active .wishlist-landing {
  min-height: calc(100vh - 132px);
  margin: 0 0 28px;
  border-radius: 36px;
}

.wishlist-landing-copy-bubble {
  position: relative;
  z-index: 2;
  padding: 24px 24px 22px;
  border-radius: 30px;
  background: rgba(255, 251, 247, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 18px 36px rgba(104, 78, 58, 0.08);
  backdrop-filter: blur(12px);
}

.wishlist-landing-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  width: min(760px, 100%);
  padding: 0;
}

.wishlist-landing-copy h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.94;
}

.wishlist-landing-legend {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.wishlist-legend-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 22px rgba(104, 78, 58, 0.08);
}

.wishlist-legend-chip::before {
  margin-right: 10px;
  font-size: 1.05rem;
}

.wishlist-legend-chip-buy::before {
  content: "★";
  color: #f0b75a;
}

.wishlist-legend-chip-diso::before {
  content: "♥";
  color: #e985a6;
}

.wishlist-legend-chip-iso::before {
  content: "✦";
  color: #8eb2a2;
}

.wishlist-landing-stage {
  position: relative;
  min-height: 720px;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.7), transparent 22%),
    radial-gradient(circle at 20% 78%, rgba(255, 229, 238, 0.74), transparent 20%),
    radial-gradient(circle at 80% 18%, rgba(255, 223, 229, 0.58), transparent 18%),
    linear-gradient(180deg, rgba(250, 238, 246, 0.94), rgba(255, 245, 248, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.wishlist-landing-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.54), transparent 18%),
    radial-gradient(circle at 78% 68%, rgba(255, 255, 255, 0.3), transparent 16%);
  pointer-events: none;
}

.wishlist-landing-stage-title {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  z-index: 1;
  text-align: center;
  color: #4b6659;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.65);
}

.wishlist-landing-stage-title span {
  font-size: 0.92rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 700;
}

.wishlist-landing-stage-title strong {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  letter-spacing: 0.12em;
}

.wishlist-floating-grid {
  position: absolute;
  inset: 0;
}

.wishlist-floating-item {
  position: absolute;
  left: var(--float-x);
  top: var(--float-y);
  width: 118px;
  transform: translate(-50%, -50%) rotate(var(--float-rotate)) scale(var(--float-scale));
  transform-origin: center center;
  display: grid;
  justify-items: center;
  gap: 6px;
  animation: wishlistFloat 7.5s ease-in-out infinite;
}

.wishlist-floating-item:nth-child(2n) {
  animation-duration: 8.5s;
}

.wishlist-floating-item:nth-child(3n) {
  animation-duration: 9.25s;
}

.wishlist-floating-art {
  width: 100%;
  height: 142px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  filter: drop-shadow(0 20px 18px rgba(214, 171, 180, 0.22));
}

.wishlist-floating-badge {
  position: absolute;
  right: 2px;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  font-size: 1.2rem;
  line-height: 1;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 18px rgba(104, 78, 58, 0.12);
}

.wishlist-floating-item.is-iso .wishlist-floating-badge {
  background: linear-gradient(180deg, rgba(255, 231, 187, 0.98), rgba(255, 205, 126, 0.96));
  color: #ab6c11;
}

.wishlist-floating-item.is-diso .wishlist-floating-badge {
  background: linear-gradient(180deg, rgba(255, 221, 233, 0.98), rgba(245, 160, 190, 0.96));
  color: #b14c73;
}

.wishlist-floating-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(104, 78, 58, 0.08);
  font-family: "Fraunces", serif;
  font-size: 0.82rem;
  line-height: 1.02;
  text-align: center;
}

@keyframes wishlistFloat {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -10px;
  }
}

@media (max-width: 980px) {
  .wishlist-landing-stage {
    min-height: 560px;
  }

  .wishlist-landing-copy {
    width: 100%;
  }

  .wishlist-floating-item {
    width: 104px;
  }

  .wishlist-floating-art {
    height: 126px;
  }
}

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

.wishlist-controls {
  margin-bottom: 16px;
}

.wishlist-column {
  border-radius: 24px;
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(255, 247, 237, 0.7), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 240, 228, 0.95));
  border: 1px solid var(--line);
  box-shadow: 0 18px 28px rgba(104, 78, 58, 0.07);
}

.wishlist-column-diso {
  background:
    radial-gradient(circle at top right, rgba(255, 223, 233, 0.44), transparent 26%),
    linear-gradient(180deg, rgba(255, 245, 246, 0.94), rgba(249, 234, 237, 0.98));
}

.wishlist-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wishlist-label-row strong {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.wishlist-card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 26px rgba(104, 78, 58, 0.08);
}

.wishlist-art {
  height: 150px;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.95);
  background-position: center;
}

.wishlist-details {
  padding: 12px;
}

.wishlist-name {
  margin: 6px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  line-height: 1.05;
}

.wishlist-rank-field {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.wishlist-rank-field span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.wishlist-rank-field input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.sonny-name-row,
.wishlist-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.name-badges {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.mini-badge-s {
  background: rgba(244, 200, 207, 0.95);
  color: #8e4757;
}

.mini-badge-r {
  background: rgba(221, 232, 248, 0.95);
  color: #4d6384;
}

.wishlist-empty {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

.maker-flow {
  display: grid;
  gap: 18px;
}

.maker-step {
  border-radius: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(244, 200, 207, 0.22), transparent 28%),
    radial-gradient(circle at bottom left, rgba(216, 227, 207, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 240, 228, 0.96));
}

.maker-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.maker-header h3 {
  margin: 10px 0 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.maker-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.maker-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.maker-toolbar-button {
  width: auto;
  min-width: 124px;
  margin-top: 0;
  padding-inline: 18px;
}

.maker-toolbar-button-primary {
  background: linear-gradient(135deg, rgba(244, 200, 207, 0.95), rgba(221, 232, 248, 0.95));
}

.maker-selection-count {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
}

.maker-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.maker-picker-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    opacity 160ms ease;
}

.maker-picker-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(104, 78, 58, 0.1);
}

.maker-picker-card.is-selected {
  border-color: rgba(218, 134, 152, 0.9);
  background: linear-gradient(180deg, rgba(255, 239, 243, 0.98), rgba(249, 225, 232, 0.98));
  box-shadow: 0 18px 32px rgba(218, 134, 152, 0.28);
}

.maker-picker-card.is-unselected {
  opacity: 0.7;
  background: rgba(255, 255, 255, 0.7);
}

.maker-picker-card.is-unselected .maker-picker-art {
  filter: grayscale(0.18);
}

.maker-picker-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.maker-picker-art {
  height: 150px;
  border-radius: 18px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(123, 91, 72, 0.08);
}

.maker-picker-marker {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(120, 104, 94, 0.12);
  color: var(--muted);
}

.maker-picker-card.is-selected .maker-picker-marker {
  background: linear-gradient(135deg, rgba(244, 200, 207, 1), rgba(232, 157, 173, 1));
  color: #7f3f4d;
}

.maker-picker-card.is-unselected .maker-picker-marker {
  background: rgba(120, 104, 94, 0.14);
  color: var(--muted);
}

.maker-picker-copy {
  display: grid;
  gap: 6px;
}

.maker-picker-name {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  line-height: 1.05;
}

.maker-picker-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.maker-picker-selection-state {
  margin-top: 2px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--muted);
}

.maker-picker-card.is-selected .maker-picker-selection-state {
  color: #9c5062;
}

.maker-canvas-meta {
  margin-top: 16px;
}

.maker-design-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.maker-design-card,
.maker-arrangement-card {
  border-radius: 24px;
  padding: 18px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  background: rgba(255, 255, 255, 0.76);
}

.maker-design-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.maker-design-card-header h4 {
  margin: 8px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.18rem;
}

.maker-design-copy,
.maker-design-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

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

.maker-stepper {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.maker-stepper-button {
  min-width: 0;
  width: 48px;
  height: 48px;
  margin-top: 0;
  padding: 0;
  border-radius: 14px;
  font-size: 1.35rem;
  line-height: 1;
}

.maker-stepper-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.maker-stepper-value {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 2px;
}

.maker-stepper-value strong {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  line-height: 1;
}

.maker-stepper-value span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.maker-toggle-field {
  justify-content: start;
  align-self: end;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.maker-toggle-field span {
  font-weight: 700;
}

.maker-emoji-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(123, 91, 72, 0.12);
}

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

.maker-emoji-grid-custom {
  margin-top: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.maker-emoji-panel input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
}

.maker-background-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.maker-background-option {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(123, 91, 72, 0.14);
  background: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.maker-background-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(104, 78, 58, 0.08);
}

.maker-background-option.is-selected {
  border-color: rgba(218, 134, 152, 0.9);
  box-shadow: 0 18px 28px rgba(218, 134, 152, 0.2);
}

.maker-background-preview {
  height: 108px;
  border-radius: 16px;
  border: 1px solid rgba(123, 91, 72, 0.08);
}

.maker-background-name {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1rem;
}

.maker-background-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.maker-arrangement-card {
  margin-top: 18px;
}

.maker-arrangement-list {
  display: grid;
  gap: 10px;
}

.maker-arrangement-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  background: rgba(255, 255, 255, 0.82);
}

.maker-arrangement-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-color: rgba(255, 255, 255, 0.96);
}

.maker-arrangement-copy {
  min-width: 0;
}

.maker-arrangement-copy p,
.maker-arrangement-copy h5 {
  margin: 0;
}

.maker-arrangement-copy h5 {
  margin-top: 4px;
  font-family: "Fraunces", serif;
  font-size: 1rem;
}

.maker-arrangement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.maker-arrangement-button {
  width: auto;
  min-width: 0;
  margin-top: 0;
  padding: 10px 12px;
}

.maker-arrangement-custom-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.maker-arrangement-list.is-locked .maker-arrangement-item {
  opacity: 0.72;
}

.maker-arrangement-list.is-locked .maker-arrangement-button {
  opacity: 0.45;
  cursor: not-allowed;
}

.maker-canvas {
  display: grid;
  grid-template-columns: repeat(var(--maker-columns, 4), minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 28px;
  min-height: 280px;
  width: min(100%, var(--maker-canvas-width, 768px));
  aspect-ratio: var(--maker-canvas-width-ratio, 8 / 10);
  margin-inline: auto;
  align-content: start;
  border: 1px solid rgba(123, 91, 72, 0.16);
  background:
    radial-gradient(circle at 18% 18%, rgba(244, 200, 207, 0.4), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(221, 232, 248, 0.5), transparent 26%),
    radial-gradient(circle at 70% 78%, rgba(216, 227, 207, 0.44), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 238, 227, 0.95));
}

.maker-canvas[data-background="blush"] {
  background:
    radial-gradient(circle at 18% 18%, rgba(244, 200, 207, 0.44), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(255, 232, 238, 0.72), transparent 26%),
    radial-gradient(circle at 70% 78%, rgba(249, 220, 228, 0.6), transparent 24%),
    linear-gradient(180deg, rgba(255, 247, 249, 0.92), rgba(248, 230, 236, 0.96));
}

.maker-canvas[data-background="sky"] {
  background:
    radial-gradient(circle at 22% 18%, rgba(220, 235, 255, 0.72), transparent 24%),
    radial-gradient(circle at 78% 22%, rgba(252, 247, 210, 0.66), transparent 24%),
    linear-gradient(180deg, rgba(242, 248, 255, 0.94), rgba(220, 235, 250, 0.98));
}

.maker-canvas[data-background="peach"] {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 220, 198, 0.76), transparent 24%),
    radial-gradient(circle at 85% 22%, rgba(255, 241, 214, 0.76), transparent 28%),
    linear-gradient(180deg, rgba(255, 249, 238, 0.92), rgba(255, 230, 214, 0.98));
}

.maker-canvas[data-background="mint"] {
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 239, 224, 0.76), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(235, 249, 239, 0.8), transparent 28%),
    linear-gradient(180deg, rgba(246, 255, 249, 0.92), rgba(223, 242, 230, 0.98));
}

.maker-canvas.has-status-sections {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.maker-canvas-section {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.maker-canvas-section + .maker-canvas-section {
  padding-top: 22px;
  border-top: 2px dashed rgba(123, 91, 72, 0.22);
}

.maker-canvas-section-title {
  display: inline-block;
  width: fit-content;
  justify-self: center;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  padding-bottom: 6px;
  border-bottom: 4px solid currentColor;
  background: transparent;
}

.maker-canvas-section-iso .maker-canvas-section-title {
  color: #4d6384;
}

.maker-canvas-section-diso .maker-canvas-section-title {
  color: #8e4757;
}

.maker-canvas-section-grid {
  display: grid;
  grid-template-columns: repeat(var(--maker-columns, 4), minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.maker-canvas-emoji-grid {
  width: 100%;
  grid-column: 1 / -1;
}

.maker-canvas-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 1 / -1;
}

.maker-canvas-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.maker-canvas-legend-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.maker-canvas-card {
  position: relative;
  min-height: 260px;
}

.maker-canvas-art {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 92% auto;
}

.maker-canvas-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 16px rgba(104, 78, 58, 0.12);
  font-size: 0.7rem;
}

.legend {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pill-have {
  background: rgba(216, 227, 207, 0.9);
  color: #425439;
}

.pill-missing {
  background: rgba(240, 220, 167, 0.92);
  color: #6b572c;
}

.pill-iso {
  background: rgba(221, 232, 248, 0.95);
  color: #4d6384;
}

.pill-diso {
  background: rgba(244, 200, 207, 0.95);
  color: #8e4757;
}

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

.collected-grid {
  --collected-shelf-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--collected-shelf-columns), minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.collected-grid.is-shelf-view {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.collected-grid.is-minimal-view {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--collected-shelf-columns), minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 34px 18px;
  padding: 18px 10px 10px;
}

.collected-grid.is-minimal-view::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 154px,
    rgba(222, 210, 194, 0.98) 154px 166px,
    rgba(181, 157, 132, 0.1) 166px 170px,
    transparent 170px 284px
  );
}

.collected-grid.is-army-overview {
  display: grid;
  grid-template-columns: repeat(var(--collected-shelf-columns), minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.card {
  overflow: hidden;
}

.collected-card {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(123, 91, 72, 0.12);
  background:
    radial-gradient(circle at 82% 14%, rgba(255, 228, 198, 0.34), transparent 22%),
    linear-gradient(180deg, rgba(255, 252, 248, 0.98), rgba(249, 241, 232, 0.95));
  box-shadow: 0 18px 32px rgba(104, 78, 58, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.collected-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 38px rgba(104, 78, 58, 0.11);
}

.card-art {
  position: relative;
  height: 250px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(252, 247, 241, 0.98), rgba(244, 233, 219, 0.85));
}

.collected-art {
  height: 220px;
  margin: 14px 14px 0;
  border-radius: 22px;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(123, 91, 72, 0.08),
    0 16px 24px rgba(216, 191, 167, 0.18);
}

.collected-art-compact {
  height: 164px;
  margin: 12px 12px 0;
}

.page-crop {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(123, 91, 72, 0.08);
}

.page-crop.is-official-art {
  background-color: transparent;
  box-shadow: none;
}

.card-body {
  padding: 16px;
}

.collected-body {
  padding: 16px;
}

.collected-body-compact {
  display: grid;
  gap: 10px;
  padding: 14px 16px 16px;
}

.series-name {
  margin: 0 0 8px;
}

.sonny-name {
  font-size: 1.35rem;
}

.source-note {
  margin: 10px 0 16px;
}

.notes-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.collected-notes {
  display: grid;
  gap: 8px;
  padding: 12px 14px 0;
  margin-top: 4px;
  border-top: 1px dashed rgba(86, 62, 49, 0.14);
}

.collected-notes span,
.collected-meta {
  color: var(--muted);
}

.collected-meta {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.collected-open-button {
  width: fit-content;
  justify-self: center;
  border: 1px solid rgba(123, 91, 72, 0.14);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(104, 78, 58, 0.08);
}

.collected-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collected-transfer-button {
  background: rgba(216, 227, 207, 0.72);
}

.collected-copy-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(216, 227, 207, 0.96);
  color: #57724d;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(124, 152, 110, 0.18);
}

.collected-copy-nav {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 8px;
}

.collected-copy-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(123, 91, 72, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(104, 78, 58, 0.08);
}

.collected-copy-nav-button:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.collected-copy-nav-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(249, 246, 239, 0.92);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.collected-active-copy-label {
  margin: -2px 0 0;
  text-align: center;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  line-height: 1.08;
  color: var(--ink);
}

.collected-quantity-row {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.collected-quantity-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collected-quantity-control {
  display: inline-grid;
  grid-template-columns: 30px auto 30px;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(249, 246, 239, 0.92);
  box-shadow: inset 0 0 0 1px rgba(123, 91, 72, 0.08);
}

.collected-quantity-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(104, 78, 58, 0.08);
}

.collected-quantity-button:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}

.collected-quantity-value {
  min-width: 18px;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}

.collected-card-compact {
  display: grid;
  grid-template-rows: auto 1fr;
}

.collected-card-compact.is-expanded {
  box-shadow: 0 28px 44px rgba(104, 78, 58, 0.14);
}

.collected-shelf-section {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 18%, rgba(247, 228, 214, 0.46), transparent 28%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.92), rgba(248, 238, 229, 0.9));
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 40px rgba(104, 78, 58, 0.08);
}

.collected-shelf-section::after {
  content: "";
  display: block;
  height: 14px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(196, 158, 126, 0.82), rgba(163, 122, 89, 0.92));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28);
}

.collected-shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
}

.collected-shelf-header h3 {
  margin: 8px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
}

.collected-army-copy-name {
  min-width: 84px;
  font-size: 0.86rem;
}

.collected-army-section {
  overflow: hidden;
  min-height: 620px;
  padding: 28px 28px 40px;
}

.collected-army-shelf-section {
  overflow: visible;
  min-height: 0;
  padding: 22px;
}

.collected-army-section::after {
  display: none;
}

.collected-army-grid {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 0;
  min-height: 390px;
  padding: 44px 0 8px;
}

.collected-army-tile {
  min-height: 0;
  width: 110px;
  padding: 0;
  margin-left: -30px;
  z-index: 1;
  overflow: visible;
}

.collected-army-tile:first-child {
  margin-left: 0;
}

.collected-army-tile .collected-minimal-figure {
  width: 172px;
  height: 334px;
  padding-bottom: 0;
  place-items: end center;
}

.collected-army-tile .collected-minimal-art {
  height: 304px;
  background-position: center bottom;
}

.collected-army-tile .collected-minimal-meta {
  display: none;
}

.collected-army-tile.is-expanded {
  z-index: 18;
}

.collected-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  align-items: end;
}

.collected-shelf-figures {
  position: relative;
  grid-template-columns: repeat(var(--collected-shelf-columns), minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 34px 18px;
  padding: 18px 10px 10px;
}

.collected-shelf-figures::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 154px,
    rgba(222, 210, 194, 0.98) 154px 166px,
    rgba(181, 157, 132, 0.1) 166px 170px,
    transparent 170px 284px
  );
}

.collected-shelf-tile {
  position: relative;
  border-radius: 22px;
  padding: 14px;
  border: 1px solid rgba(86, 62, 49, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 243, 235, 0.88));
  display: grid;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(104, 78, 58, 0.08);
}

.collected-shelf-figure-tile {
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  grid-template-rows: 176px auto;
  gap: 10px;
  height: 100%;
  padding: 0 8px 12px;
  text-align: center;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.collected-shelf-tile.is-expanded {
  box-shadow: 0 22px 36px rgba(104, 78, 58, 0.14);
}

.collected-shelf-figure-tile.is-expanded {
  position: relative;
  z-index: 16;
  isolation: isolate;
  grid-template-rows: 176px auto;
  box-shadow: none;
}

.collected-shelf-figure {
  position: relative;
  z-index: 1;
  width: 156px;
  height: 176px;
  margin-inline: auto;
  display: grid;
  place-items: end center;
  padding-bottom: 16px;
  overflow: visible;
}

.collected-shelf-art {
  height: 142px;
  border-radius: 18px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow:
    inset 0 0 0 1px rgba(123, 91, 72, 0.08),
    0 12px 18px rgba(216, 191, 167, 0.18);
}

.collected-shelf-figure-art {
  width: 100%;
  height: 160px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  background-color: transparent;
  box-shadow: none;
}

.collected-shelf-name {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.02rem;
  line-height: 1.08;
}

.collected-shelf-figure-meta {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.collected-shelf-figure-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(103, 76, 67, 0.08);
  font-size: 0.95rem;
  line-height: 1.05;
}

.collected-shelf-details {
  position: absolute;
  top: 132px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  width: min(210px, 100%);
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(103, 76, 67, 0.08);
}

.collected-minimal-tile {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  grid-template-rows: 176px auto;
  gap: 10px;
  height: 100%;
  padding: 0 8px 12px;
  text-align: center;
  cursor: pointer;
}

.collected-minimal-tile.is-expanded {
  position: relative;
  z-index: 16;
  isolation: isolate;
  grid-template-rows: 176px auto;
}

.collected-minimal-figure {
  position: relative;
  z-index: 1;
  width: 156px;
  height: 176px;
  margin-inline: auto;
  display: grid;
  place-items: end center;
  padding-bottom: 16px;
  overflow: visible;
}

.collected-minimal-art {
  width: 100%;
  height: 160px;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

.collected-minimal-meta {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.collected-minimal-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(103, 76, 67, 0.08);
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  line-height: 1.05;
}

.collected-minimal-details {
  position: absolute;
  top: 132px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  width: min(210px, 100%);
  display: grid;
  gap: 8px;
  margin-top: 0;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(103, 76, 67, 0.08);
}

.notes-field span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.notes-input {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

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

.status-slot {
  position: relative;
}

.status-button {
  width: 100%;
  min-height: 58px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-weight: 700;
}

.status-button[data-status="have"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.owned-counter {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%) scale(0.96);
  display: grid;
  grid-template-rows: 14px 1fr 14px;
  align-items: center;
  width: 50px;
  height: 54px;
  padding: 4px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 0 0 1px rgba(122, 145, 112, 0.12);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.owned-counter-button {
  position: static;
  width: 100%;
  height: 14px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--sage-deep);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}

.owned-counter-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.owned-counter-value {
  position: static;
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sage-deep);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.status-slot-owned.is-active:hover .owned-counter,
.status-slot-owned.is-active:focus-within .owned-counter,
.status-slot-owned.is-peek-open .owned-counter {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.status-button.is-active[data-status="have"] {
  background: var(--sage);
  color: var(--sage-deep);
}

.status-button.is-active[data-status="missing"] {
  background: var(--gold);
  color: var(--gold-deep);
}

.status-button.is-active[data-status="iso"] {
  background: rgba(221, 232, 248, 0.95);
  color: #4d6384;
}

.status-button.is-active[data-status="diso"] {
  background: var(--rose);
  color: var(--rose-deep);
}

@media (max-width: 980px) {
  .app-header,
  .hero,
  .controls,
  .wishlist-columns,
  .collected-controls {
    grid-template-columns: 1fr;
  }

  .controls,
  .wishlist-header,
  .series-browser-header,
  .settings-subtabs {
    top: 88px;
  }

  .collected-controls {
    top: 120px;
  }

  .shelf-meta {
    top: 196px;
  }

  .shelf-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .wishlist-header,
  .settings-header,
  .settings-account-header,
  .account-modal-header,
  .auth-status-card,
  .insights-header,
  .series-browser-header,
  .settings-danger-zone,
  .bug-report-cta,
  .collected-minimal-header,
  .collected-shelf-header,
  .maker-header,
  .maker-toolbar,
  .wishlist-header-actions,
  .hide-column-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hide-manager-controls,
  .hide-manager-summary,
  .hide-manager-grid,
  .collected-summary,
  .collected-controls,
  .sync-snapshot,
  .account-password-panel,
  .account-restore-panel,
  .auth-form,
  .bug-report-grid,
  .bug-report-header {
    grid-template-columns: 1fr;
  }

  .hide-manager-toolbar,
  .hide-bulk-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .app-nav {
    justify-self: stretch;
    width: 100%;
    overflow-x: auto;
  }

  .app-account {
    justify-self: stretch;
  }

  .account-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .account-menu {
    left: 0;
    right: auto;
    min-width: min(100%, 260px);
  }

  .account-modal-shell {
    padding: 16px;
    place-items: end center;
  }

  .account-modal {
    width: 100%;
    max-height: 90vh;
    border-radius: 28px 28px 0 0;
  }

  .hide-row,
  .hide-row-sonny {
    grid-template-columns: 1fr;
  }

  .collected-shelf {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .collected-shelf-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collected-grid.is-minimal-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .insight-card,
  .insight-card-featured {
    grid-column: auto;
    min-height: auto;
  }

  .collected-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .series-browser-actions {
    width: 100%;
    justify-items: stretch;
  }

  .insights-sort-field {
    min-width: 0;
    width: 100%;
  }

  .collected-header-note {
    min-width: 0;
    width: 100%;
  }

  .series-spotlight,
  .series-progress-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .series-spotlight {
    grid-template-columns: 1fr;
  }

  .series-focus-button {
    width: 100%;
  }

  .series-preview-strip {
    padding: 10px;
  }

  .maker-toolbar-button,
  .wishlist-maker-trigger,
  .bug-report-open,
  .hide-bulk-button,
  .hide-toggle-button {
    width: 100%;
  }

  .bug-report-actions {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .maker-design-grid,
  .maker-control-grid,
  .maker-arrangement-item {
    grid-template-columns: 1fr;
  }

  .maker-size-grid {
    grid-template-columns: 1fr;
  }

  .maker-arrangement-actions {
    width: 100%;
  }
}
