/* Dark collector's album: numbered mounts, pasted vinyl stickers, unfilled slots. */
.comic-dashboard .collection-reader { display: block; padding: 0 12px 12px 0; scroll-margin-top: 24px; }
.collection-notice:empty { display: none; }
.comic-dashboard .collection-notice { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
.collection-book {
  --album-ink: #f9efd6;
  --album-muted: #a6bec6;
  position: relative;
  isolation: isolate;
  padding: 28px 26px 20px 36px;
  border: 1px solid #42616b;
  border-radius: 4px 8px 8px 4px;
  color: var(--album-ink);
  background: radial-gradient(#8ab7c10a 1px, transparent 1px) 0 0 / 5px 5px, #09171d;
  box-shadow: 4px 4px 0 #142b33, 7px 7px 0 #38505a, 10px 10px 0 #061116;
}
.collection-book::before { content: ''; pointer-events: none; position: absolute; top: 0; bottom: 0; left: 7px; width: 8px; border-right: 1px solid #42616b; background: repeating-linear-gradient(0deg, transparent 0 17px, #75909470 17px 19px, transparent 19px 28px); }
.collection-book-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 20px; margin-bottom: 22px; border-bottom: 1px solid #42616b; }
.collection-edition { color: var(--album-muted); font: 600 11px/1.5 system-ui, sans-serif; letter-spacing: .1em; }
.comic-dashboard .collection-book h2 { color: var(--album-ink); margin: 8px 0 0; font: 32px/1.15 'Refrenum Comic', Impact, sans-serif; letter-spacing: .03em; }
.collection-issue { padding: 8px 10px; border: 1px solid #ffee78; background: var(--gold); color: #061116; font: 22px/1 'Refrenum Comic', Impact, sans-serif; transform: rotate(3deg); }
.collection-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.collection-slot { display: flex; flex-direction: column; min-width: 0; padding: 12px; border: 1px dashed #45626d; border-radius: 5px; background: #03101688; }
.collection-slot-label { display: block; margin-bottom: 12px; color: #83a3af; font: 12px/1.3 var(--mono); letter-spacing: .12em; }
.collection-panel { position: relative; min-width: 0; display: flex; flex-direction: column; flex: 1; border: 3px solid #e0e2d4; border-radius: 7px 7px 2px 7px; background: #0b1a21; box-shadow: 3px 5px 0 #0008; transform: rotate(-.55deg); }
.collection-slot:nth-child(even) .collection-panel { transform: rotate(.55deg); }
.collection-panel::after { content: ''; pointer-events: none; position: absolute; right: -1px; bottom: -1px; width: 20px; height: 20px; background: linear-gradient(135deg, transparent 48%, #aeb4a5 49%, #f9f5e7 70%); filter: drop-shadow(-2px -2px 2px #0008); }
.collection-panel-art { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 132px; padding: 14px; border-bottom: 1px solid #42616b; background-color: #10242c; background-color: color-mix(in srgb, var(--issue-accent) 15%, #09171d); background-image: radial-gradient(#c5dfe61c 1px, transparent 1.5px), linear-gradient(125deg, #ffffff08, transparent 55%); background-size: 7px 7px, 100% 100%; }
.collection-panel-art .comic-icon { width: 72px; height: 72px; flex: 0 0 72px; transform: rotate(-5deg); filter: drop-shadow(2px 0 #f1eee0) drop-shadow(-2px 0 #f1eee0) drop-shadow(0 2px #f1eee0) drop-shadow(0 -2px #f1eee0) drop-shadow(2px 4px 0 #0008); }
.collection-initials { display: grid; place-items: center; height: 72px; color: var(--album-ink); font: 48px/1 'Refrenum Comic', Impact, sans-serif; }
.collection-serial { position: absolute; top: 12px; left: 12px; padding: 5px 7px; border-radius: 2px; background: var(--gold); color: #061116; font: 16px/1 'Refrenum Comic', Impact, sans-serif; transform: rotate(-3deg); }
.collection-panel .remove-favorite { top: 10px; right: 10px; width: 44px; height: 44px; border: 1px solid #7c959d; border-radius: 4px; background: #07151de6; color: #e0e2d4; font: 26px/1 system-ui, sans-serif; box-shadow: none; }
.collection-panel .remove-favorite:hover { color: #ffd2cb; background: #3a1e24; border-color: #e09e95; }
.collection-panel-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 18px 16px; }
.collection-category { color: var(--album-muted); font: 15px/1.4 var(--sans); }
.comic-dashboard .collection-panel h3 { margin: 5px 0 10px; color: var(--album-ink); font: bold 24px/1.2 Georgia, serif; letter-spacing: -.03em; overflow-wrap: anywhere; }
.comic-dashboard .collection-panel p { margin: 0 0 18px; color: #c2d2d9; font: 16px/1.5 var(--sans); overflow-wrap: anywhere; }
.collection-panel-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed #42616b; }
.collection-panel-metrics > div { min-width: 0; }
.collection-panel-metrics small { display: block; color: var(--album-muted); font: 13px/1.4 var(--sans); white-space: nowrap; }
.collection-panel-metrics b { display: block; margin-top: 4px; color: var(--album-ink); font: bold 19px/1.2 Georgia, serif; white-space: nowrap; }
.collection-panel-metrics > div:last-child b { color: #54e8a0; }
.collection-panel-metrics > div:last-child b.is-negative { color: #ffa39c; }
.collection-panel-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding: 12px 32px 12px 16px; border-top: 1px solid #42616b; color: var(--gold); font: 21px/1.2 'Refrenum Comic', Impact, sans-serif; letter-spacing: .02em; }
.collection-panel-link:hover { background: #162e36; }
.collection-panel-link > svg { flex-shrink: 0; }
.collection-book a:focus-visible, .collection-book button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.collection-empty-slot { display: grid; align-content: center; justify-items: center; gap: 16px; flex: 1; min-height: 340px; padding: 20px 12px; color: var(--album-muted); text-align: center; }
.collection-slot-outline { display: grid; place-items: center; width: 90px; height: 112px; border: 1px dashed #55747e; border-radius: 6px; color: #6d929e; font: 44px/1 var(--sans); transform: rotate(-4deg); }
.collection-empty-slot strong { color: #b8d0d7; font: 24px/1.2 'Refrenum Comic', Impact, sans-serif; }
.collection-empty-slot > span:last-child { color: #83a3af; font: 15px/1.4 var(--sans); }
.collection-empty-slot:hover { color: var(--gold); background: #10242c; }
.collection-empty-slot:hover strong { color: var(--gold); }
.collection-book-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; margin-top: 24px; border-top: 1px solid #42616b; color: var(--album-muted); font: 13px/1.4 var(--sans); }
.collection-book-foot > span:last-child { color: var(--album-ink); font: 18px/1 'Refrenum Comic', Impact, sans-serif; }
.collection-pagination { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0 0; }
.comic-dashboard .collection-pagination p { margin: 0; color: var(--ink); font: 14px/1.5 system-ui, sans-serif; text-align: center; }
.collection-pagination p span { display: block; color: var(--muted); font-size: 13px; }
.collection-pagination button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--line2); border-radius: 4px; background: #10262c; color: var(--ink); font: 15px/1.4 var(--sans); }
.collection-pagination button:hover:not(:disabled) { color: #030e12; background: var(--gold); }
.collection-pagination button:disabled { opacity: .4; cursor: default; }
.collection-empty { text-align: center; padding-bottom: 32px; }
.collection-empty-cover { display: grid; justify-content: center; align-content: center; width: 118px; height: 150px; margin: 24px auto; border: 2px solid #738f96; border-radius: 4px; background: radial-gradient(#5c8a9522 1px, transparent 1px) 0 / 6px 6px, #10242c; box-shadow: 5px 5px 0 #030b0f; color: var(--gold); font: 25px/1 'Refrenum Comic', Impact, sans-serif; transform: rotate(-5deg); }
.collection-empty-cover strong { font-size: 68px; }
.comic-dashboard .collection-empty p { max-width: 360px; margin: 16px auto 24px; color: var(--album-muted); font: 16px/1.5 var(--sans); }
.collection-explore { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 16px; border: 1px solid var(--gold); border-radius: 4px; background: var(--gold); color: #061116; font: 21px/1.2 'Refrenum Comic', Impact, sans-serif; }
@media (max-width: 1120px) {
  .collection-book { padding: 24px 20px 20px 28px; }
  .collection-panel-grid { gap: 16px; }
  .collection-slot { padding: 10px; }
  .collection-panel-metrics { gap: 8px; }
  .collection-panel-metrics b { font-size: 17px; }
}
@media (max-width: 650px) {
  .collection-book { padding: 20px 16px 18px 24px; }
  .collection-book-head { gap: 12px; }
  .comic-dashboard .collection-book h2 { font-size: 28px; }
  .collection-edition { font-size: 10px; letter-spacing: .06em; }
  .collection-panel-grid { grid-template-columns: 1fr; gap: 20px; }
  .collection-panel-art .comic-icon { width: 64px; height: 64px; flex-basis: 64px; }
  .collection-panel-copy { padding: 16px 12px; }
  .collection-panel-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .collection-panel-metrics b { font-size: 17px; }
  .collection-panel-metrics > div:last-child { display: flex; justify-content: space-between; align-items: baseline; grid-column: 1 / -1; gap: 8px; padding-top: 10px; border-top: 1px solid #42616b; }
  .collection-panel-metrics > div:last-child b { margin-top: 0; }
  .collection-pagination { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .comic-dashboard .collection-pagination p { grid-column: 1 / -1; grid-row: 1; }
  .collection-pagination button { width: 100%; }
  .collection-empty-slot { min-height: 180px; }
  .collection-slot-outline { width: 54px; height: 66px; font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .collection-panel, .collection-book { animation: none; transition: none; }
}
/* Keep the shared homepage backdrop outside the separately illustrated album. */
.comic-dashboard.is-collection-view .dashboard-shell { background: #06121eb3; border-color: #344e62; }
.comic-dashboard.is-collection-view .dashboard-main { background: transparent; }
.comic-dashboard.is-collection-view [data-panel-content=interested] { background: transparent; }
.comic-dashboard.is-collection-view [data-panel-content=interested] > .page-heading { padding: 22px; background: #061116ed; border: 1px solid #42616b; border-bottom: 3px solid var(--gold); border-radius: 3px; box-shadow: 4px 4px 0 #020a0d; }
.collection-book {
  padding-left: 44px;
  padding-right: 36px;
  border: 2px solid #6a858d;
  background: linear-gradient(90deg, transparent 48%, #02090d80 50%, transparent 52%),
    url('assets/collection-city-magazine.png') center top / 100% auto repeat-y, #081621;
  box-shadow: 4px 4px 0 #10242d, 7px 7px 0 #54717b, 10px 10px 0 #020a0d;
}
.collection-book-head { padding: 16px; background: #041118eb; border: 2px solid #020a0d; border-bottom: 3px solid var(--gold); box-shadow: 3px 3px 0 #020a0d; }
.collection-book-head .collection-edition { font-size: 10px; }
.comic-dashboard .collection-book-head h2 { font-size: 32px; text-wrap: balance; }
.collection-panel-grid { position: relative; isolation: isolate; gap: 26px; }
.collection-panel-grid::before { content: ''; position: absolute; top: -20px; bottom: -20px; left: calc(50% - 2px); width: 4px; background: #01090dcc; box-shadow: -4px 0 0 #51717b50, 4px 0 0 #0007; pointer-events: none; z-index: -1; }
.collection-slot { position: relative; border: 1px dashed #6c97a6; background: #04111877; box-shadow: 0 0 0 4px #020a0d55; }
.collection-slot-label { width: max-content; padding: 4px 8px; margin: -2px 0 12px -2px; border: 1px solid #345761; color: #a9d1db; background: #061820; font: 16px/1 'Refrenum Comic', Impact, sans-serif; letter-spacing: .06em; transform: rotate(-2deg); }
.collection-panel-art { background-image: radial-gradient(#c5dfe62b 1px, transparent 1.5px), repeating-conic-gradient(from 12deg at 50% 110%, #ffffff0b 0 3deg, transparent 3deg 15deg), linear-gradient(125deg, #ffffff08, transparent 55%); background-size: 6px 6px, 100% 100%, 100% 100%; }
.collection-serial { box-shadow: 2px 2px 0 #030b0f; }
.collection-book-foot { padding: 16px; border: 1px solid #42616b; background: #041118ed; }
.collection-book-foot > span:last-child { color: var(--gold); }
.collection-pagination { margin-top: 16px; padding: 16px; border: 1px solid #42616b; border-radius: 3px; background: #061116ed; }
.collection-empty-slot { background: #04111840; }
.collection-empty > h2, .comic-dashboard .collection-empty > p { position: relative; background: #041118e6; padding: 12px; }
@media (max-width: 1120px) {
  .collection-book { padding-left: 32px; padding-right: 24px; }
  .collection-panel-grid { gap: 20px; }
}
@media (max-width: 650px) {
  .collection-book { padding-left: 24px; padding-right: 16px; }
  .collection-book-head { padding: 14px; }
  .comic-dashboard .collection-book-head h2 { font-size: 27px; }
  .collection-panel-grid::before { display: none; }
  .comic-dashboard.is-collection-view [data-panel-content=interested] > .page-heading { padding: 18px 16px; }
}
@media (min-width: 1200px) {
  .collection-book { padding-left: 96px; padding-right: 80px; }
}
/* Phone-sized stickers keep the album artwork without a full cover per startup. */
@media (max-width: 650px) {
  .comic-dashboard.is-collection-view .dashboard-main { padding: 12px 10px 20px; }
  .comic-dashboard .collection-reader { padding: 0 6px 6px 0; }
  .comic-dashboard.is-collection-view [data-panel-content=interested] > .page-heading { padding: 12px; gap: 10px; margin-bottom: 16px; }
  .comic-dashboard.is-collection-view [data-panel-content=interested] > .page-heading .eyebrow,
  .comic-dashboard.is-collection-view [data-panel-content=interested] > .page-heading p { display: none; }
  .comic-dashboard.is-collection-view [data-panel-content=interested] > .page-heading h1 { margin: 0; font-size: 26px; }
  .collection-book { padding: 14px 10px 14px 14px; }
  .collection-book::before { left: 4px; width: 4px; }
  .collection-book-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px; margin-bottom: 14px; }
  .collection-book-head .collection-edition { display: none; }
  .comic-dashboard .collection-book-head h2 { margin: 0; font-size: 22px; }
  .collection-issue { padding: 6px; font-size: 17px; white-space: nowrap; }
  .collection-panel-grid { gap: 14px; }
  .collection-slot { padding: 6px; }
  .collection-slot-label { padding: 3px 6px; margin: 0 0 6px; font-size: 12px; }
  .collection-panel,
  .collection-slot:nth-child(even) .collection-panel { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px; padding: 10px; border-width: 2px; transform: none; }
  .collection-panel::after { width: 14px; height: 14px; }
  .collection-panel-art,
  .collection-panel-copy { display: contents; }
  .collection-panel-art .comic-icon,
  .collection-initials { grid-column: 1; grid-row: 1 / 3; align-self: center; width: 44px; height: 44px; font-size: 28px; }
  .collection-serial { display: none; }
  .collection-panel .remove-favorite { top: 6px; right: 6px; }
  .collection-category { grid-column: 2; grid-row: 1; min-height: 36px; padding-right: 38px; font-size: 13px; }
  .comic-dashboard .collection-panel h3 { grid-column: 2; grid-row: 2; margin: 0; font-size: 21px; }
  .comic-dashboard .collection-panel p { grid-column: 1 / -1; grid-row: 3; margin: 6px 0 0; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .collection-panel-metrics { grid-column: 1 / -1; grid-row: 4; grid-template-columns: 1fr 1.2fr .9fr; gap: 6px; margin-top: 6px; padding-top: 10px; }
  .collection-panel-metrics small { font-size: 12px; }
  .collection-panel-metrics b { font-size: 16px; }
  .collection-panel-metrics > div:last-child { display: block; grid-column: auto; padding: 0; border: 0; }
  .collection-panel-metrics > div:last-child b { margin-top: 4px; }
  .collection-panel-link { grid-column: 1 / -1; grid-row: 5; min-height: 44px; margin-top: 6px; padding: 8px 14px 8px 0; font-size: 18px; }
  .collection-panel-link > svg { width: 16px; height: 16px; }
  .collection-empty-slot { grid-template-columns: 32px minmax(0, 1fr); justify-items: start; gap: 4px 12px; min-height: 88px; padding: 10px; text-align: left; }
  .collection-slot-outline { grid-row: 1 / 3; width: 32px; height: 44px; font-size: 24px; }
  .collection-empty-slot strong { font-size: 18px; }
  .collection-empty-slot > span:last-child { grid-column: 2; font-size: 13px; }
  .collection-book-foot { margin-top: 14px; padding: 10px; gap: 8px; font-size: 12px; }
  .collection-book-foot > span:last-child { font-size: 15px; }
  .collection-pagination { margin-top: 12px; padding: 10px; gap: 10px; }
}
