/* REPPTRADE 4.4.23 — recording header hierarchy & pack NFT visibility. */
/* Preserve the bespoke per-show colors; only rearrange two header labels. */
body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme>.rc440-head{
 grid-template-rows:auto auto!important;
 align-content:center!important;
 row-gap:5px!important;
}
body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme>.rc440-head:before{
 grid-row:1 / span 2!important;
 align-self:center!important;
}
body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme>.rc440-head .rc423-show-name{
 grid-column:2!important;grid-row:1!important;
 display:block!important;min-width:0;overflow-wrap:anywhere;
 color:var(--show-title-ink,#fff)!important;
 font:850 clamp(21px,2.4vw,29px)/1.1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
 letter-spacing:.025em!important;text-transform:uppercase!important;
}
body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme>.rc440-head #rc440Kind{
 grid-column:2!important;grid-row:2!important;
 color:var(--show-title-ink,#fff)!important;
 font:750 clamp(13px,1.35vw,16px)/1.1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;
 letter-spacing:.09em!important;text-transform:uppercase!important;
 opacity:.9;
}
body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme>.rc440-head #rc440Close{
 grid-column:3!important;grid-row:1 / span 2!important;align-self:center!important;
}
body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme:not(.rc420-has-logo)>.rc440-head .rc423-show-name,
body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme:not(.rc420-has-logo)>.rc440-head #rc440Kind{grid-column:1!important}
body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme:not(.rc420-has-logo)>.rc440-head #rc440Close{grid-column:2!important}
body[data-ui-theme="modern"] #rc440Overlay .rc440-head .rc423-show-name[hidden]{display:none!important}
/* NFT is a restriction marker, irrespective of the red/highlight display mode
   used for the rest of the NFT Manager. Never hide a real date in packs. */
#page-packs .rc423-nft{
 display:inline-flex;gap:3px;align-items:center;flex-wrap:wrap;
 width:fit-content;max-width:100%;border:1px solid #e65b6d;
 background:#410e1a;color:#ffe3e7!important;padding:4px 7px;
 font:850 11px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere;
}
#page-packs .rc423-nft-prefix{color:#ff7889!important;text-transform:uppercase}
#page-packs .rc423-pack-identity{min-width:0;overflow-wrap:anywhere}
#page-packs .rc423-pack-identity strong{display:block;font-size:12px;line-height:1.45}
#page-packs .rc423-pack-identity .rc423-nft{margin-top:6px}
#page-packs .rc423-pack-actions{display:flex;align-items:center;justify-content:end;flex-wrap:wrap;gap:4px}
#page-packs .packitem{grid-template-columns:20px minmax(0,1fr) auto;min-width:0;gap:9px}
#page-packs .packitem .drag{font-size:13px}
#page-packs .packitem .rc423-pack-actions .btn{margin:0;min-height:30px}
/* Requested and selected titles may be much longer than the proposed-order
   column. Keep Details within its own grid cell at every viewport. */
#page-packs .split{grid-template-columns:repeat(2,minmax(0,1fr))}
#page-packs .panel,#packtab-scan,#matchRows,#page-packs .matchgroup{min-width:0;max-width:100%}
#page-packs .matchgroup .matchrow{
 display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;gap:8px!important;min-width:0;
}
#page-packs .matchgroup .matchrow .req{
 grid-column:1 / -1!important;grid-row:1!important;
 min-width:0;overflow-wrap:anywhere;line-height:1.45;
}
#page-packs .matchgroup .matchrow .matchselect{
 grid-column:1!important;grid-row:2!important;
 display:block;min-width:0!important;width:100%!important;max-width:100%!important;
 overflow:hidden;text-overflow:ellipsis;
}
#page-packs .matchgroup .matchrow .match-detail-btn{
 grid-column:2!important;grid-row:2!important;white-space:nowrap;
 min-height:37px;max-width:100%;
}
#page-packs .matchgroup .matchrow .score{
 grid-column:2!important;grid-row:3!important;text-align:right!important;
}
#page-packs .rc423-match-nft{grid-column:1!important;grid-row:3!important;min-width:0;}
#page-packs .matchdetails,#page-packs .matchdetail-grid{min-width:0;max-width:100%;overflow-wrap:anywhere}
#page-packs .matchdetail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:950px){
 #page-packs .split{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:600px){
 body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme>.rc440-head .rc423-show-name{font-size:17px!important}
 body[data-ui-theme="modern"] #rc440Overlay .rc419-full-show-theme>.rc440-head #rc440Kind{font-size:12px!important}
 #page-packs .packitem{grid-template-columns:18px minmax(0,1fr)!important}
 #page-packs .rc423-pack-actions{grid-column:2!important;justify-content:start!important}
 #page-packs .matchdetail-grid{grid-template-columns:minmax(0,1fr)}
}
