:root {
  --bg: #0b0a10;
  --surface: #15131d;
  --surface2: #1c1926;
  --line: #2b2737;
  --gold: #d7b653;
  --gold2: #f0d77f;
  --text: #f7f4ec;
  --muted: #aaa5b5;
  --danger: #ef6a6a;
  --ok: #63c78b;
  --shadow: 0 28px 80px #0008;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.55 Inter,
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  text-decoration: none;
}
.hidden {
  display: none !important;
}
.topbar {
  height: 76px;
  padding: 0 clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #0b0a10ed;
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 0;
  background: none;
  font-size: 21px;
  font-weight: 800;
}
.brand b {
  color: var(--gold);
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid #d7b65370;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2c2638, #121019);
  color: var(--gold);
  font-size: 14px;
  font-weight: 900;
}
.nav-actions,
.private-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}
.private-nav button,
.link-button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 10px 12px;
  font-weight: 650;
}
.private-nav button:hover,
.private-nav button.active,
.link-button:hover {
  color: var(--text);
}
.primary,
.secondary {
  border-radius: 12px;
  padding: 13px 19px;
  font-weight: 800;
  border: 1px solid transparent;
}
.primary {
  background: var(--gold);
  color: #16121a;
}
.primary:hover {
  background: var(--gold2);
}
.primary.small {
  padding: 9px 14px;
}
.secondary {
  background: #ffffff08;
  border-color: #ffffff22;
}
.wide {
  width: 100%;
}
.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 5vw;
  padding: 80px clamp(24px, 8vw, 130px);
  background:
    radial-gradient(circle at 72% 40%, #32253d 0, transparent 34%),
    radial-gradient(circle at 10% 15%, #30261266 0, transparent 30%);
}
.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}
.hero h1 {
  font-size: clamp(50px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 18px 0 26px;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.lead {
  font-size: clamp(18px, 2vw, 23px);
  max-width: 680px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}
.microcopy {
  font-size: 13px;
  color: #777181;
}
.hero-art {
  height: 470px;
  position: relative;
}
.cover {
  position: absolute;
  width: 235px;
  height: 350px;
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: center;
}
.cover span {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}
.cover strong {
  font-size: 31px;
  line-height: 1.03;
}
.cover-a {
  left: 8%;
  top: 72px;
  transform: rotate(-10deg);
  background: linear-gradient(150deg, #492c56, #17131d);
}
.cover-b {
  right: 6%;
  top: 25px;
  transform: rotate(8deg);
  background: linear-gradient(150deg, #d7b653, #5a4318);
  color: #171119;
}
.swap-symbol {
  position: absolute;
  z-index: 2;
  left: 45%;
  top: 43%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--text);
  color: #201823;
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 15px 40px #0008;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.value-grid article {
  padding: 56px clamp(24px, 5vw, 76px);
  border-right: 1px solid var(--line);
}
.value-grid article:last-child {
  border: 0;
}
.value-grid span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.value-grid h2 {
  font-size: 28px;
  margin: 10px 0;
}
.value-grid p {
  color: var(--muted);
  margin: 0;
}
.workspace {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 230px 1fr;
}
.sidebar {
  padding: 24px 16px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #0d0c13;
}
.sidebar button,
.sidebar a {
  border: 0;
  background: none;
  text-align: left;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
  display: flex;
  gap: 12px;
  align-items: center;
}
.sidebar button:hover,
.sidebar a:hover,
.sidebar .active {
  background: #ffffff09;
  color: var(--text);
}
.sidebar .signout {
  margin-top: auto;
  color: #d99;
}
.view {
  padding: clamp(24px, 4vw, 58px);
  min-width: 0;
}
.view-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 28px;
}
.view h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1;
  margin: 5px 0;
}
.view-sub {
  color: var(--muted);
}
.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.searchbox {
  width: min(560px, 100%);
  display: flex;
  background: white;
  border-radius: 13px;
  overflow: hidden;
}
.searchbox input {
  min-width: 0;
  flex: 1;
  padding: 13px 15px;
  border: 0;
  outline: 0;
  color: #17131d;
}
.searchbox button {
  border: 0;
  background: var(--gold);
  font-weight: 800;
  padding: 0 18px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}
.comic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.2s;
  text-align: left;
}
.comic-card:hover {
  transform: translateY(-3px);
  border-color: #d7b65380;
}
.comic-cover {
  aspect-ratio: 2/3;
  background: linear-gradient(145deg, #30293a, #13111a);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.comic-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.comic-cover span {
  color: var(--gold);
  font-weight: 900;
  font-size: 25px;
}
.comic-info {
  padding: 15px;
}
.comic-info h3 {
  font-size: 16px;
  line-height: 1.25;
  margin: 0 0 7px;
}
.comic-info p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.badge {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 99px;
  border: 1px solid #d7b65366;
  color: var(--gold2);
}
.empty,
.loading,
.error-box {
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  color: var(--muted);
}
.error-box {
  border-color: #ef6a6a66;
  color: #f3b0b0;
}
.profile-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #292432;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 28px;
  font-weight: 900;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
dialog {
  width: min(460px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #15131d;
  color: var(--text);
  padding: 34px;
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: #050408d9;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 27px;
}
.auth-brand {
  text-align: center;
}
.auth-brand .brand-mark {
  margin: auto;
}
.auth-brand h2 {
  margin-bottom: 4px;
}
.auth-brand p {
  color: var(--muted);
  font-size: 14px;
}
label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  margin-top: 14px;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d0c13;
  color: var(--text);
  margin-top: 6px;
  outline: 0;
}
input:focus,
textarea:focus {
  border-color: var(--gold);
}
.form-message {
  min-height: 22px;
  color: #f29a9a;
  font-size: 13px;
}
.text-action {
  border: 0;
  background: none;
  color: var(--gold);
  display: block;
  margin: 15px auto 0;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: #777181;
  font-size: 13px;
  border-top: 1px solid var(--line);
}
footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .hero-art {
    height: 380px;
  }
  .value-grid {
    grid-template-columns: 1fr;
  }
  .value-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .private-nav {
    display: none !important;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: fixed;
    z-index: 15;
    bottom: 0;
    left: 0;
    right: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    padding: 7px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
  }
  .sidebar button,
  .sidebar a {
    justify-content: center;
    text-align: center;
    font-size: 12px;
    padding: 8px;
  }
  .sidebar span,
  .sidebar a:last-of-type,
  .sidebar .signout {
    display: none;
  }
  .view {
    padding-bottom: 95px;
  }
}
@media (max-width: 620px) {
  .topbar {
    height: 68px;
    padding: 0 16px;
  }
  .brand {
    font-size: 18px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .hero {
    min-height: auto;
    padding: 58px 20px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-art {
    height: 330px;
  }
  .cover {
    width: 180px;
    height: 275px;
    padding: 20px;
  }
  .cover strong {
    font-size: 23px;
  }
  .swap-symbol {
    left: 41%;
    width: 58px;
    height: 58px;
  }
  .value-grid article {
    padding: 38px 24px;
  }
  .nav-actions .link-button {
    display: none;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .comic-info {
    padding: 11px;
  }
  .view-head {
    align-items: start;
    flex-direction: column;
  }
  footer {
    flex-direction: column;
    padding-bottom: 95px;
  }
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: clamp(30px, 6vw, 80px);
  margin-top: 24px;
}
.detail-cover {
  border-radius: 18px;
  overflow: hidden;
}
.detail-layout h1 {
  max-width: 760px;
}
@media (max-width: 720px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-cover {
    max-width: 300px;
  }
}
html,
body {
  overflow-x: hidden;
}
@media (max-width: 620px) {
  .primary.small {
    padding: 8px 11px;
    font-size: 13px;
  }
  .hero-copy {
    min-width: 0;
  }
  .lead {
    max-width: 100%;
  }
}
.chat-messages {
  height: min(56vh, 560px);
  overflow: auto;
  padding: 20px;
  background: #0d0c13;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bubble {
  align-self: flex-start;
  max-width: min(75%, 620px);
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  background: var(--surface2);
}
.bubble.mine {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  background: #473b1e;
}
.bubble p {
  margin: 0;
  white-space: pre-wrap;
}
.bubble small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.chat-form {
  display: flex;
  gap: 9px;
  margin-top: 12px;
}
.chat-form input {
  margin: 0;
}
.conversation {
  cursor: pointer;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 500;
}
.check-label input {
  width: auto;
  margin: 0;
}
.interest-row {
  grid-template-columns: auto 1fr auto;
  margin-bottom: 10px;
}
@media (max-width: 620px) {
  .interest-row {
    grid-template-columns: auto 1fr;
  }
  .interest-row > .toolbar {
    grid-column: 1/-1;
  }
}
.comic-card {
  position: relative;
}
.remove-wanted {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #0b0a10dd;
  color: #fff;
  font-size: 20px;
}
.notification.unread {
  border-color: #d7b65388;
  background: #1d1920;
}
.notification .avatar {
  width: 46px;
  height: 46px;
  font-size: 18px;
}
.danger {
  border: 1px solid #ef6a6a66;
  background: #ef6a6a14;
  color: #ff9c9c;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 800;
}
.owner-link {
  width: 100%;
  margin-top: 24px;
  text-align: left;
  cursor: pointer;
}
.input-action {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}
.input-action .secondary {
  padding: 11px 13px;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .input-action {
    grid-template-columns: 1fr;
  }
  .input-action .secondary {
    width: 100%;
  }
}
.valuation-card {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #d7b65355;
  border-radius: 16px;
  background: #d7b6530b;
}
.valuation-card h2 {
  font-size: 27px;
  margin: 5px 0;
}
.valuation-card button {
  margin-top: 10px;
}
.valuation-tip {
  padding: 11px;
  border-radius: 10px;
  background: #ffffff08;
}
.valuation-card button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.discover-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 14px auto 24px;
  max-width: 900px;
}
.discover-card {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(230px, 390px) 1fr;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
}
.discover-card > .comic-cover {
  min-height: 540px;
}
.discover-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.discover-info h2 {
  font-size: 34px;
  line-height: 1.1;
}
.discover-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
@media (max-width: 720px) {
  .discover-card {
    grid-template-columns: 1fr;
  }
  .discover-card > .comic-cover {
    min-height: 0;
    max-height: 55vh;
  }
  .discover-info {
    padding: 20px;
  }
  .discover-info h2 {
    font-size: 26px;
  }
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.stats-row span {
  padding: 15px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
}
.stats-row strong,
.stats-row small {
  display: block;
}
.stats-row strong {
  font-size: 20px;
}
.stats-row small {
  color: var(--muted);
}
.plan-card,
.value-banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 1px solid #d7b65344;
  border-radius: 16px;
  background: #d7b6530a;
  text-align: left;
}
.plan-card span,
.plan-card strong,
.plan-card small,
.value-banner span,
.value-banner small {
  display: block;
}
.plan-card small,
.value-banner small {
  color: var(--muted);
}
.plan-card b {
  font-size: 32px;
  color: var(--gold);
}
.value-banner {
  margin: 0 0 18px;
}
.value-banner > b {
  font-size: 25px;
  color: var(--gold);
}
.premium-page {
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.premium-icon {
  width: 72px;
  height: 72px;
  margin: 20px auto;
  border: 1px solid #d7b65377;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 32px;
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: left;
}
.benefit-grid article {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.benefit-grid b {
  color: var(--gold);
  font-size: 25px;
}
.benefit-grid p {
  color: var(--muted);
}
@media (max-width: 620px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .value-banner {
    align-items: start;
    flex-direction: column;
  }
}
.latest-section {
  margin: 26px 0 20px;
}
.latest-section h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.latest-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 1px 12px;
  scrollbar-color: var(--gold) transparent;
}
.latest-card {
  flex: 0 0 92px;
  cursor: pointer;
}
.latest-card .comic-cover {
  height: 126px;
  border-radius: 9px;
}
.latest-card > span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.25;
  color: var(--muted);
  text-align: center;
}
.filter-row,
.category-scroll,
.sort-pills,
.view-toggle {
  display: flex;
  gap: 8px;
}
.filter-row {
  margin: 8px 0 10px;
}
.category-scroll {
  overflow-x: auto;
  padding: 0 0 14px;
}
.filter-row button,
.category-scroll button,
.sort-pills button,
.view-toggle button {
  white-space: nowrap;
  border: 1px solid #353543;
  border-radius: 99px;
  background: #20202d;
  color: #aaaab6;
  padding: 8px 14px;
  font-weight: 700;
}
.filter-row button.active,
.category-scroll button.active,
.sort-pills button.active,
.view-toggle button.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #16121a;
}
.result-count {
  color: #716c7a;
  font-size: 12px;
  margin: 8px 0 13px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 16px 0 22px;
}
.pagination button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.compact-grid {
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 14px;
}
.compact-grid .comic-info {
  padding: 11px;
}
.compact-grid .comic-info h3 {
  font-size: 14px;
}
.open-hint {
  display: block;
  color: var(--gold);
  margin-top: 8px;
}
.profile-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.profile-avatar {
  background: var(--gold);
  color: #15131d;
}
.profile-identity h1 {
  font-size: 32px;
  margin: 0;
}
.name-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.name-line h1 {
  margin: 0;
}
.points-card,
.locked-card {
  padding: 18px;
  border: 1px solid #d7b65344;
  border-radius: 16px;
  background: #d7b6530a;
  margin: 14px 0;
}
.points-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.points-card small,
.locked-card span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
}
.points-track {
  height: 7px;
  background: #302b1c;
  border-radius: 99px;
  margin: 12px 0;
  overflow: hidden;
}
.points-track i {
  display: block;
  height: 100%;
  background: var(--gold);
}
.profile-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 22px 0;
}
.profile-tabs button {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 10px;
  font-size: 18px;
}
.profile-tabs button.active {
  background: var(--gold);
  color: #15131d;
}
.profile-tabs small {
  display: block;
  font-size: 10px;
}
.profile-collection-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.sort-pills {
  overflow-x: auto;
  margin: 10px 0 16px;
}
.sort-pills button,
.view-toggle button {
  border-radius: 10px;
  padding: 8px 12px;
}
.series-list {
  display: grid;
  gap: 10px;
}
.series-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 12px;
}
.series-summary {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  cursor: pointer;
}
.series-summary .series-cover {
  width: 54px;
  height: 74px;
  border-radius: 7px;
}
.series-summary span,
.series-summary small {
  display: block;
}
.series-summary small {
  color: var(--muted);
  margin-top: 4px;
}
.series-expand {
  float: right;
  margin-top: -52px;
  border: 0;
  background: none;
  color: var(--gold);
  font-weight: 800;
}
.series-issues {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  padding-top: 14px;
}
.series-issues button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #0e0d14;
  color: var(--text);
  padding: 10px;
  text-align: left;
}
.series-issues small {
  display: block;
  color: var(--muted);
}
.list-cards {
  display: grid;
  gap: 10px;
}
.list-cards article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
}
.mini-cover {
  width: 70px;
  height: 100px;
}
.list-cards span,
.list-cards small {
  display: block;
}
.list-cards small {
  color: var(--gold);
  margin-top: 5px;
}
.stats-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stats-panels article {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
}
.stats-panels h3 {
  color: var(--gold);
  margin-top: 0;
}
.stats-panels p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  margin: 0;
}
.profile-actions {
  display: grid;
  gap: 9px;
  margin-top: 24px;
}
.profile-actions a,
.profile-actions button {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  padding: 15px;
  text-align: left;
}
.profile-actions b,
.profile-actions small {
  display: block;
}
.profile-actions small {
  color: var(--muted);
  margin-top: 3px;
}
@media (max-width: 700px) {
  .profile-top {
    grid-template-columns: auto 1fr;
  }
  .profile-top > .toolbar {
    grid-column: 1/-1;
  }
  .profile-collection-head {
    align-items: stretch;
    flex-direction: column;
  }
  .stats-panels {
    grid-template-columns: 1fr;
  }
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .filter-row button {
    padding: 8px 4px;
  }
  .view-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.series-summary em {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
  margin-top: 5px;
}
.series-progress {
  display: block;
  height: 5px;
  background: #302d3e;
  border-radius: 99px;
  margin-top: 7px;
  overflow: hidden;
}
.series-progress > i {
  display: block;
  height: 100%;
  background: var(--gold);
}
.series-issues .issue-owned,
.series-issues .issue-missing {
  display: block;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
  text-align: left;
}
.series-issues .issue-owned {
  background: #19251e;
  border-color: #4d8d6266;
  color: #ddf5e4;
  cursor: pointer;
}
.series-issues .issue-missing {
  background: #25191b;
  border-color: #934d5566;
  color: #e9b5ba;
}
.series-issues .issue-owned small {
  color: #70cf91;
}
.series-issues .issue-missing small {
  color: #d77d86;
}
.series-note {
  grid-column: 1/-1;
  color: var(--muted);
  font-size: 11px;
  margin: 4px 0 0;
}
.series-simulation {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.series-simulation > p {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12px;
}
.series-issues {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-color: var(--gold) transparent;
}
.series-issues .issue-owned,
.series-issues .issue-missing {
  flex: 0 0 92px;
  min-height: 58px;
}
.detail-series {
  margin-top: 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.detail-series h2 {
  margin: 5px 0 12px;
}

/* Ajustes visuales exclusivos de escritorio. La vista movil queda intacta. */
.brand-logo,
.hero-mascot,
.scroll-arrow {
  display: none;
}

@media (min-width: 901px) {
  .brand-mark,
  .brand-text {
    display: none;
  }
  .brand-logo {
    display: block;
    width: 172px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
  }
  .hero-art {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-mascot {
    display: block;
    width: min(390px, 88%);
    height: 390px;
    object-fit: contain;
    filter: drop-shadow(0 22px 40px #0008);
  }
  .hero-art .cover,
  .hero-art .swap-symbol {
    display: none;
  }
  .searchbox {
    width: min(650px, 100%);
    height: 52px;
    border: 1px solid #3b3746;
    border-radius: 14px;
    background: #121018;
    overflow: hidden;
    box-shadow: 0 10px 28px #0003;
  }
  .searchbox input {
    height: 100%;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    background: #121018;
    color: var(--text);
  }
  .searchbox input::placeholder {
    color: #7e7987;
  }
  .searchbox button {
    height: 100%;
    min-width: 106px;
    padding: 0 22px;
    border: 0;
    border-radius: 0;
    background: var(--gold);
    color: #17131d;
  }
  .latest-section {
    margin: 30px 0 22px;
  }
  .scroll-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
  }
  .scroll-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 44px;
    padding: 0;
    border: 1px solid #d7b65388;
    border-radius: 12px;
    background: #1b1821;
    color: var(--gold2);
    font-size: 28px;
    line-height: 1;
  }
  .scroll-arrow:hover {
    background: var(--gold);
    color: #17131d;
  }
  .latest-scroll {
    flex: 1 1 auto;
    min-width: 0;
    gap: 18px;
    padding: 6px 2px 15px;
    scrollbar-width: none;
  }
  .latest-scroll::-webkit-scrollbar {
    display: none;
  }
  .latest-card {
    flex-basis: 144px;
  }
  .latest-card .comic-cover {
    height: 198px;
    border-radius: 11px;
    box-shadow: 0 9px 22px #0006;
  }
  .latest-card > span {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.3;
  }
  .category-scroll {
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .category-scroll::-webkit-scrollbar {
    display: none;
  }
  .category-scroll button {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 650;
  }
  .category-shell {
    margin-bottom: 6px;
  }
}
