/* Collect It All v28 */
#v21MobileCapture,#v25DuplicateCenter,#v19DuplicateBanner{display:none!important}
.v28-selection-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:12px 0;padding:12px 14px;border:1px solid rgba(111,97,255,.55);background:linear-gradient(135deg,rgba(111,97,255,.14),rgba(67,215,255,.08));border-radius:14px;position:sticky;top:68px;z-index:18;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.v28-selection-bar>div:first-child{display:flex;flex-direction:column;gap:2px}.v28-selection-bar .btnrow{margin:0;justify-content:flex-end}.v28-selection-bar.hidden{display:none!important}
.v28-pager{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 2px;margin:6px 0}.v28-page-summary{color:var(--muted,#9ba8bf);font-size:13px}.v28-page-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.v28-page-controls label{display:flex;align-items:center;gap:7px;color:var(--muted,#9ba8bf);font-size:13px}.v28-page-controls .select{width:auto;min-width:76px;padding-top:8px;padding-bottom:8px}.v28-page-controls>span{font-size:13px;color:var(--muted,#9ba8bf);min-width:84px;text-align:center}
.v28-check-col{width:42px!important;text-align:center!important}.v28-check-col input,.v28-card-check input,.v28-select-page-check{width:18px;height:18px;accent-color:#7867ff;cursor:pointer}.v28-row-selected{background:rgba(111,97,255,.08)}
.v28-action-menu{position:relative;display:inline-block}.v28-action-menu>summary{list-style:none;cursor:pointer;white-space:nowrap}.v28-action-menu>summary::-webkit-details-marker{display:none}.v28-action-menu>summary:after{content:' ▾';font-size:10px}.v28-action-menu[open]>summary{border-color:#7867ff;background:rgba(120,103,255,.12)}
.v28-action-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:35;display:grid;min-width:165px;padding:7px;background:#111827;border:1px solid #303b55;border-radius:12px;box-shadow:0 18px 45px rgba(0,0,0,.45)}.v28-action-popover button{appearance:none;border:0;background:transparent;color:#eaf0ff;text-align:left;padding:10px 11px;border-radius:8px;font:inherit;font-size:13px;cursor:pointer}.v28-action-popover button:hover{background:rgba(120,103,255,.14)}.v28-action-popover button.danger{color:#ff9f9f}.v28-action-popover button.danger:hover{background:rgba(255,92,92,.12)}
.v28-collection-table td:last-child,.v28-collection-table th:last-child{width:104px}.v28-collection-table .find-book-link{min-width:108px}.v28-collection-table .comic-row-meta{margin-top:7px}.v28-collection-table .row-keynotes{margin-top:7px;max-width:520px}
.v28-book-card{position:relative;padding-top:48px}.v28-book-card.selected{outline:2px solid rgba(120,103,255,.72);outline-offset:-2px}.v28-card-check{position:absolute;top:13px;left:14px;z-index:2;display:flex;align-items:center;gap:7px;font-size:12px;color:#cbd5e1;cursor:pointer}.v28-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.v28-card-footer .find-book-link{flex:1;max-width:240px}
.v28-modalback{display:none;position:fixed;inset:0;z-index:1000;background:rgba(2,6,15,.78);backdrop-filter:blur(8px);align-items:center;justify-content:center;padding:20px}.v28-modalback.show{display:flex}.v28-confirm-modal{width:min(650px,96vw);max-height:88vh;overflow:auto}.v28-bulk-sale-modal{width:min(940px,97vw);max-height:92vh;overflow:auto}.v28-modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid var(--line,#273249)}
.v28-delete-list{display:grid;gap:7px;max-height:330px;overflow:auto;margin-top:12px;padding-right:4px}.v28-delete-list>div{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--line,#273249);border-radius:10px;background:rgba(255,255,255,.025)}.v28-delete-list img{width:38px;height:55px;object-fit:cover;border-radius:6px;background:#0b1020}
.v28-sale-header{grid-template-columns:minmax(180px,.4fr) minmax(260px,1fr)}.v28-bulk-sale-rows{display:grid;gap:10px;margin-top:14px;max-height:55vh;overflow:auto;padding-right:5px}.v28-bulk-sale-row{display:grid;grid-template-columns:54px minmax(0,1fr) minmax(150px,190px);align-items:center;gap:12px;padding:10px;border:1px solid var(--line,#273249);border-radius:12px;background:rgba(255,255,255,.025)}.v28-bulk-sale-row img{width:54px;height:76px;object-fit:cover;border-radius:7px;background:#0b1020}.v28-bulk-sale-row>div:nth-child(2){display:flex;flex-direction:column;gap:4px;min-width:0}.v28-bulk-sale-row>div:nth-child(2) b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v28-bulk-sale-row>div:nth-child(2) span{font-size:12px;color:var(--muted,#9ba8bf)}.v28-bulk-sale-row .field{margin:0}
.v28-source-links{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.v28-source-links a{display:inline-flex;padding:7px 10px;border:1px solid var(--line,#273249);border-radius:999px;color:#b8c7ff;text-decoration:none;font-size:12px}.v28-source-links a:hover{border-color:#7867ff}.pricing-listing>span{color:var(--muted,#9ba8bf);font-size:11px;margin-left:auto}.pricing-listing>b{margin-left:10px}
.v28-catalog-head{margin-bottom:12px}.v28-catalog-form{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:10px;margin-top:14px}.v28-catalog-filters{grid-template-columns:repeat(3,minmax(150px,1fr));margin-top:10px}.v28-catalog-results{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:14px}.v28-catalog-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;min-height:180px;padding:12px;border:1px solid var(--line,#273249);border-radius:15px;background:linear-gradient(145deg,rgba(18,25,40,.95),rgba(11,16,31,.95));box-shadow:0 8px 25px rgba(0,0,0,.12)}.v28-catalog-cover{position:relative;width:112px;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:#0b1020;border:1px solid #26324b}.v28-catalog-cover img{width:100%;height:100%;object-fit:cover;display:block}.v28-cover-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:8px;text-align:center;font-size:11px;color:#8290a8;background:linear-gradient(145deg,#151d2c,#0b1020);z-index:0}.v28-catalog-cover img{position:relative;z-index:1}.v28-catalog-cover.failed img{display:none}.v28-catalog-cover.missing .v28-cover-fallback{z-index:2}.v28-catalog-copy{display:flex;flex-direction:column;min-width:0}.v28-catalog-copy h3{font-size:16px;line-height:1.25;margin:1px 0 6px}.v28-catalog-copy .muted{font-size:12px;line-height:1.45;min-height:34px}.v28-catalog-copy .sourcechips{margin-top:9px}.v28-catalog-copy .btnrow{margin-top:auto;padding-top:10px}.v28-catalog-more{display:flex;justify-content:center;margin:16px 0}
#v28TestAccessBadge{margin-bottom:14px}
@media(max-width:1050px){.v28-collection-table th:nth-child(8),.v28-collection-table td:nth-child(8){display:none}.v28-selection-bar{top:58px}}
@media(max-width:760px){.v28-selection-bar{position:static;align-items:stretch;flex-direction:column}.v28-selection-bar .btnrow{display:grid;grid-template-columns:1fr 1fr}.v28-pager{align-items:flex-start;flex-direction:column}.v28-page-controls{width:100%;justify-content:space-between}.v28-page-controls label{width:100%;justify-content:space-between}.v28-page-controls .select{min-width:110px}.v28-catalog-form{grid-template-columns:1fr}.v28-catalog-filters{grid-template-columns:1fr}.v28-catalog-results{grid-template-columns:1fr}.v28-bulk-sale-row{grid-template-columns:44px minmax(0,1fr)}.v28-bulk-sale-row img{width:44px;height:64px}.v28-bulk-sale-row .field{grid-column:1/-1}.v28-sale-header{grid-template-columns:1fr}.v28-card-footer{align-items:stretch;flex-direction:column}.v28-card-footer .find-book-link{max-width:none}.v28-action-menu,.v28-action-menu>summary{width:100%}.v28-action-popover{left:0;right:auto;width:100%}}
@media(max-width:520px){.v28-catalog-card{grid-template-columns:88px minmax(0,1fr)}.v28-catalog-cover{width:88px}.v28-page-controls>span{order:-1;width:100%;text-align:left}.v28-selection-bar .btnrow{grid-template-columns:1fr}.v28-modalback{padding:8px}.v28-bulk-sale-modal,.v28-confirm-modal{max-height:96vh}}


/* v30 verified collection alignment and money fields */
.tablewrap{overflow-x:auto;max-width:100%;}
.v30-collection-table{width:100%;min-width:1220px;table-layout:fixed;border-collapse:collapse;}
.v30-collection-table .v30-col-check{width:44px;}
.v30-collection-table .v30-col-cover{width:92px;}
.v30-collection-table .v30-col-book{width:300px;}
.v30-collection-table .v30-col-grade{width:110px;}
.v30-collection-table .v30-col-purchase{width:130px;}
.v30-collection-table .v30-col-market{width:130px;}
.v30-collection-table .v30-col-pl{width:112px;}
.v30-collection-table .v30-col-roi{width:92px;}
.v30-collection-table .v30-col-find{width:138px;}
.v30-collection-table .v30-col-actions{width:116px;}
.v30-collection-table th,.v30-collection-table td{vertical-align:middle;box-sizing:border-box;}
.v30-collection-table th.number,.v30-collection-table td.number{text-align:right;}
.v30-collection-table td:nth-child(5),.v30-collection-table td:nth-child(6){overflow:visible;}
.v30-money-field{display:flex;align-items:center;width:100%;min-width:0;border:1px solid var(--line,#334155);border-radius:10px;background:var(--input,#0f172a);overflow:hidden;}
.v30-money-prefix{flex:0 0 auto;padding-left:10px;font-weight:800;line-height:1;color:inherit;opacity:.9;}
.v30-money-field .v30-money-input{width:100%;min-width:0;border:0!important;background:transparent!important;border-radius:0!important;padding-left:4px!important;box-shadow:none!important;text-align:right;}
.v30-money-field:focus-within{outline:2px solid rgba(109,94,252,.38);outline-offset:1px;}
.v30-collection-table .row-keynotes{max-width:100%;}
@media(max-width:1050px){
  .v30-collection-table th:nth-child(8),.v30-collection-table td:nth-child(8),
  .v30-collection-table th:nth-child(9),.v30-collection-table td:nth-child(9),
  .v30-collection-table th:nth-child(10),.v30-collection-table td:nth-child(10){display:table-cell!important;}
}

/* v40.2 catalog search and owned-cover hotfix */
.v40-2-catalog-loading{grid-column:1/-1;min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:11px;padding:34px;border:1px solid rgba(103,128,255,.32);border-radius:16px;background:radial-gradient(circle at 50% 15%,rgba(78,115,255,.15),transparent 45%),linear-gradient(145deg,rgba(17,25,43,.96),rgba(8,13,25,.96));text-align:center;color:#edf3ff;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.v40-2-catalog-loading b{font-size:16px}.v40-2-catalog-loading small{max-width:480px;color:var(--muted,#9ba8bf);line-height:1.5}
.v40-2-spinner{display:inline-block;width:34px;height:34px;border:3px solid rgba(133,153,255,.22);border-top-color:#7c8fff;border-right-color:#49d8ef;border-radius:50%;animation:v40-2-spin .78s linear infinite;flex:0 0 auto}
.v40-2-spinner-small{width:16px;height:16px;border-width:2px}
.v40-2-inline-search{display:inline-flex;align-items:center;gap:8px}
#v28CatalogForm button[type="submit"]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:142px}
.v28-catalog-cover.owned{border-color:rgba(87,219,181,.7);box-shadow:0 0 0 1px rgba(87,219,181,.14),0 8px 22px rgba(0,0,0,.24)}
.v40-2-owned-cover-label{color:#d7fff0;background:rgba(6,61,49,.92);border:1px solid rgba(92,238,193,.38)}
.v40-2-owned-chip{color:#baf6df!important;border-color:rgba(87,219,181,.36)!important;background:rgba(48,170,132,.12)!important}
@keyframes v40-2-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.v40-2-spinner{animation-duration:1.8s}}


/* v40.4 catalog detail modal */
.v404-detail-backdrop{position:fixed;inset:0;z-index:10050;background:rgba(2,7,18,.78);backdrop-filter:blur(5px);display:grid;place-items:center;padding:24px}.v404-detail-backdrop.hidden{display:none}.v404-detail-modal{position:relative;width:min(880px,96vw);max-height:90vh;overflow:auto;border:1px solid #2b3b5c;border-radius:18px;background:#0d1526;box-shadow:0 30px 90px rgba(0,0,0,.55);padding:24px}.v404-detail-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#dce7ff;font-size:32px;cursor:pointer}.v404-detail-head{display:grid;grid-template-columns:150px 1fr;gap:22px;align-items:start;padding-right:35px}.v404-detail-head img,.v404-detail-no-cover{width:150px;min-height:210px;object-fit:cover;border-radius:10px;border:1px solid #334564;background:#111b30;display:grid;place-items:center;text-align:center}.v404-detail-head h2{font-size:28px;margin:6px 0 8px}.v404-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}.v404-detail-item{border:1px solid #263754;border-radius:10px;padding:10px;background:#101b2f}.v404-detail-item span{display:block;font-size:11px;text-transform:uppercase;color:#8fa5c8;margin-bottom:4px}.v404-story-list article{border-top:1px solid #243653;padding:10px 0;display:grid;gap:4px}.v404-story-list article span,.v404-story-list article p{color:#aabbd5;font-size:13px;margin:0}.v404-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 12px}@media(max-width:700px){.v404-detail-head{grid-template-columns:90px 1fr}.v404-detail-head img,.v404-detail-no-cover{width:90px;min-height:126px}.v404-detail-grid{grid-template-columns:1fr 1fr}.v404-detail-modal{padding:18px}}

/* v40.5 catalog cover repair and premium search cards */
.v28-catalog-results{grid-template-columns:repeat(auto-fill,minmax(315px,1fr));gap:16px}
.v28-catalog-card{position:relative;grid-template-columns:120px minmax(0,1fr);min-height:205px;padding:13px;border-color:rgba(116,140,191,.22);background:radial-gradient(circle at 0 0,rgba(94,76,224,.11),transparent 42%),linear-gradient(145deg,rgba(17,28,48,.97),rgba(8,15,28,.98));box-shadow:0 14px 38px rgba(0,0,0,.17);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.v28-catalog-card:hover{transform:translateY(-2px);border-color:rgba(114,111,255,.48);box-shadow:0 20px 50px rgba(0,0,0,.25)}
.v28-catalog-cover{width:120px;border-radius:12px;border-color:rgba(126,151,202,.3);box-shadow:0 10px 27px rgba(0,0,0,.28)}
.v28-catalog-cover img{background:linear-gradient(145deg,#17233b,#0b1120)}
.v28-catalog-copy h3{font-size:17px;letter-spacing:-.015em}
.v28-catalog-copy .sourcechips{display:flex;flex-wrap:wrap;gap:6px}
.v28-catalog-copy .btnrow{display:grid;grid-template-columns:1fr 1.25fr;gap:8px}
.v28-catalog-copy .btnrow .btn{width:100%;min-height:38px;padding:0 10px;white-space:nowrap}
.v28-catalog-copy .btnrow .btn.primary{background:linear-gradient(135deg,#735eff,#4e8eff);border-color:transparent;box-shadow:0 9px 22px rgba(76,84,255,.2)}
.v28-catalog-copy .btnrow .btn:disabled{opacity:.65;cursor:wait}
.v28-cover-fallback{background:radial-gradient(circle at 50% 22%,rgba(85,103,221,.2),transparent 42%),linear-gradient(145deg,#151f35,#090f1d)}
@media(max-width:520px){.v28-catalog-card{grid-template-columns:92px minmax(0,1fr);padding:10px;gap:11px}.v28-catalog-cover{width:92px}.v28-catalog-copy .btnrow{grid-template-columns:1fr}.v28-catalog-copy .btnrow .btn{min-height:36px}}

/* Collect It All v40.6 — cleaner catalog cards and non-overflowing actions */
.v28-catalog-results{
  grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));
  align-items:stretch;
}
.v28-catalog-card{
  min-width:0;
  min-height:232px;
  overflow:hidden;
}
.v28-catalog-copy{
  min-width:0;
  overflow:hidden;
}
.v28-catalog-copy h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  overflow-wrap:anywhere;
}
.v406-credit-line{
  min-height:34px;
  margin-top:7px;
}
.v28-catalog-copy .v406-catalog-actions{
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.35fr);
  gap:8px;
  width:100%;
  margin-top:auto;
  padding-top:12px;
}
.v28-catalog-copy .v406-catalog-actions .btn{
  width:100%;
  min-width:0;
  min-height:40px;
  height:auto;
  padding:8px 9px;
  white-space:normal;
  text-align:center;
  line-height:1.15;
  overflow-wrap:anywhere;
}
.v406-details-button{
  background:rgba(16,27,47,.85);
}
@media(max-width:1200px){
  .v28-catalog-results{grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr))}
}
@media(max-width:520px){
  .v28-catalog-copy .v406-catalog-actions{grid-template-columns:1fr}
  .v28-catalog-card{min-height:0}
}


/* v40.15 shared creator portraits on every matching catalog result */
.v4015-catalog-creators{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
  margin-top:8px;
}
.v4015-catalog-creator{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  max-width:100%;
  padding:3px 8px 3px 3px;
  border:1px solid rgba(130,151,196,.22);
  border-radius:999px;
  background:rgba(10,20,38,.62);
  color:var(--text,#eef4ff);
  font-size:11px;
  line-height:1.1;
}
.v4015-catalog-creator img{
  width:26px;
  height:26px;
  flex:0 0 26px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(122,105,255,.5);
  background:#101a2d;
}
.v4015-catalog-creator span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:150px;
}
