/* Four Color Comic v40.31.59 — login fit + marketplace hot/promoted/browse/seller flow */

/* Login: completely cover the non-functional form painted into the supplied background art. */
#authGate .auth-shell,#authGate .auth-shell-v4011{
  left:50%!important;top:65.4%!important;transform:translate(-50%,-50%)!important;
  width:min(94vw,max(790px,86vh))!important;max-width:980px!important;
}
#authGate .auth-card,#authGate .auth-card-v4011{
  width:100%!important;min-height:min(58vh,590px)!important;
  padding:36px clamp(70px,7vw,120px)!important;
  background:linear-gradient(rgba(2,7,11,.992),rgba(2,7,11,.992)) padding-box,linear-gradient(105deg,#10b9f1 0%,#10b9f1 18%,#ef146b 51%,#ffd517 100%) border-box!important;
}
#authGate .auth-card-v4011>div,#authGate .auth-card-v4011>#authStatus{max-width:650px!important}
@media(max-width:760px){#authGate .auth-shell,#authGate .auth-shell-v4011{width:min(96vw,540px)!important}#authGate .auth-card,#authGate .auth-card-v4011{min-height:0!important;padding:26px 22px!important}}

/* Marketplace navigation grows to six clear destinations. */
#marketplace .fcc58-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important}
#marketplace .fcc59-feature-section{border:1px solid #263a46;border-radius:14px;background:rgba(4,10,15,.94);padding:16px;margin-bottom:16px;box-shadow:0 16px 45px rgba(0,0,0,.18)}
#marketplace .fcc59-feature-section.hot{border-color:#6c5527;background:linear-gradient(135deg,rgba(87,52,9,.17),rgba(4,10,15,.96) 36%)}
#marketplace .fcc59-feature-section.promo{border-color:#4d3152;background:linear-gradient(135deg,rgba(87,24,72,.15),rgba(4,10,15,.96) 36%)}
#marketplace .fcc59-feature-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:13px}
#marketplace .fcc59-feature-head h2{margin:3px 0 2px;font-size:25px}
#marketplace .fcc59-feature-head p{margin:0;max-width:800px;color:#a8b3bb;font-size:12px;line-height:1.45}
#marketplace .fcc59-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
#marketplace .fcc59-market-card{position:relative;min-width:0;border:1px solid #293b47;border-radius:12px;background:#071018;overflow:hidden;display:flex;flex-direction:column}
#marketplace .fcc59-market-card:hover{border-color:#4d6a7a;transform:translateY(-1px)}
#marketplace .fcc59-card-badge{position:absolute;z-index:3;left:8px;top:8px;padding:4px 8px;border-radius:999px;background:#d94b83;color:#fff;font-size:8px;font-weight:900;letter-spacing:.08em}
#marketplace .fcc59-feature-section.hot .fcc59-card-badge{background:#d89525;color:#120d03}
#marketplace .fcc59-card-cover{height:230px;border:0;padding:0;background:#03070a;display:grid;place-items:center;cursor:pointer;overflow:hidden}
#marketplace .fcc59-card-cover>img{width:100%;height:100%;object-fit:contain;display:block;background:#03070a}
#marketplace .fcc59-card-copy{display:flex;flex-direction:column;gap:5px;padding:10px;flex:1}
#marketplace .fcc59-card-copy>div{display:flex;flex-direction:column;gap:2px}
#marketplace .fcc59-card-copy b{font-size:12px;line-height:1.25}.fcc59-card-copy small{color:#95a5af;font-size:9px;line-height:1.35}
#marketplace .fcc59-card-copy strong{font-size:18px;color:#fff;margin-top:auto}
#marketplace .fcc59-card-copy .btn{margin-top:5px}
#marketplace .fcc59-no-cover{display:grid;place-items:center;width:100%;height:100%;min-height:150px;color:#6c7b85;background:#071018}
#marketplace .fcc59-mature-cover{position:relative;width:100%;height:100%;overflow:hidden;background:#090b0e}.fcc59-mature-cover img{width:100%;height:100%;object-fit:cover;filter:blur(18px) brightness(.38);transform:scale(1.08)}.fcc59-mature-cover span{position:absolute;inset:0;display:grid;place-items:center;font-size:20px;font-weight:950;color:#fff;background:rgba(0,0,0,.25)}
#marketplace .fcc59-browse-cta{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px!important;margin-top:4px}
#marketplace .fcc59-browse-cta h3{margin:0 0 3px}.fcc59-browse-cta p{margin:0;color:#9dadb6}
#marketplace .fcc59-browse-view{padding-top:4px}
#marketplace .fcc59-search{display:grid;grid-template-columns:minmax(280px,1fr) 170px 190px;gap:12px;align-items:end;margin-bottom:12px;padding:14px!important}
#marketplace .fcc59-browse-count{padding:5px 2px 10px;color:#9dabb4;font-size:11px}
#marketplace .fcc59-browse-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
#marketplace .fcc59-pages{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;padding:18px 0 4px}

/* Sell flow: collection first, pricing popup second, advanced form only for manual/edit. */
#marketplace #marketSell:not(.fcc59-advanced-open) .fcc59-legacy-sell{display:none!important}
#marketplace #marketSell.fcc59-advanced-open .fcc59-legacy-sell{display:grid!important}
#marketplace #marketSell.fcc59-advanced-open .fcc58-selected-panel{display:grid!important}
#marketplace .fcc58-book-copy [data-fcc58-pick-one]{display:none!important}
#marketplace .fcc58-book-cover{cursor:pointer}
#marketplace .fcc59-package-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 12px}
.fcc59-prep-back{position:fixed;z-index:15000;inset:0;background:rgba(0,0,0,.76);display:grid;place-items:center;padding:20px}
.fcc59-prep-modal{width:min(1280px,96vw);max-height:92vh;overflow:auto;border:1px solid #34505f;border-radius:15px;background:#071018;color:#eef3f6;padding:18px;box-shadow:0 30px 90px rgba(0,0,0,.65)}
.fcc59-prep-list{display:flex;flex-direction:column;gap:10px;margin:14px 0}
.fcc59-prep-row{border:1px solid #293e4a;border-radius:12px;background:#0a141b;padding:11px;display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.7fr);gap:13px;align-items:center}
.fcc59-prep-row.ok{border-color:#2f765a}.fcc59-prep-row.error{border-color:#973e52}
.fcc59-prep-book{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center;min-width:0}.fcc59-prep-book img{width:72px;height:98px;object-fit:contain;background:#03070a;border-radius:5px}.fcc59-prep-book div{display:flex;flex-direction:column;gap:4px;min-width:0}.fcc59-prep-book b{font-size:13px}.fcc59-prep-book small{font-size:9px;color:#9cabb4}
.fcc59-prep-fields{display:grid;grid-template-columns:1.2fr .9fr repeat(4,.8fr) .85fr;gap:8px;align-items:end}.fcc59-prep-fields .field label{font-size:8px!important}.fcc59-prep-fields .price input{font-size:20px!important;font-weight:900!important;border-color:#d1a83d!important}.fcc59-18{display:flex;gap:7px;align-items:center;min-height:42px;border:1px solid #584a28;border-radius:8px;padding:8px;background:#16130b;font-size:10px;font-weight:800;color:#f2d27b}.fcc59-18 input{width:18px;height:18px}
.fcc59-row-status{grid-column:1/-1;color:#9fb0ba;font-size:9px}.fcc59-prep-row.error .fcc59-row-status{color:#ff8fa5}.fcc59-prep-row.ok .fcc59-row-status{color:#79e1b4}
.fcc59-prep-terms{margin:12px 0!important}.fcc59-prep-actions{display:flex;justify-content:flex-end}

/* My Listings: selection + inline sale price. */
#marketplace .fcc59-mine-bulk{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0;padding:12px 14px!important}#marketplace .fcc59-mine-bulk>div:first-child{display:flex;flex-direction:column;gap:2px}#marketplace .fcc59-mine-bulk span{font-size:10px;color:#9cabb4}
#marketplace [data-fcc54-mine]{position:relative}
#marketplace .fcc59-mine-check{position:absolute;z-index:4;left:8px;top:8px;padding:5px 8px;border:1px solid #41535e;border-radius:8px;background:rgba(3,9,13,.94);display:flex;gap:5px;align-items:center;font-size:9px;font-weight:800;cursor:pointer}#marketplace .fcc59-mine-check input{width:15px;height:15px;margin:0}
#marketplace .fcc59-inline-price{margin:8px 0;padding:10px;border:2px solid #d1a83d;border-radius:10px;background:rgba(92,68,11,.12)}#marketplace .fcc59-inline-price>label{display:block;color:#f5ce65;font-size:9px;font-weight:950;letter-spacing:.08em;margin-bottom:5px}#marketplace .fcc59-inline-price>div{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;gap:6px;align-items:center}#marketplace .fcc59-inline-price>div>span{font-size:20px;color:#f5ce65;font-weight:900}#marketplace .fcc59-inline-price input{font-size:22px!important;font-weight:900!important;min-height:44px!important}
#marketplace .fcc56-my-row .fcc59-inline-price{min-width:245px;margin:0 6px}

@media(max-width:1250px){#marketplace .fcc58-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}#marketplace .fcc59-five,#marketplace .fcc59-browse-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fcc59-prep-fields{grid-template-columns:repeat(4,minmax(110px,1fr))}.fcc59-prep-row{grid-template-columns:1fr}}
@media(max-width:760px){#marketplace .fcc58-nav{grid-template-columns:1fr 1fr!important}#marketplace .fcc59-five,#marketplace .fcc59-browse-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#marketplace .fcc59-search{grid-template-columns:1fr}#marketplace .fcc59-feature-head,#marketplace .fcc59-browse-cta,#marketplace .fcc59-mine-bulk{align-items:stretch;flex-direction:column}#marketplace .fcc59-package-fields{grid-template-columns:1fr 1fr}.fcc59-prep-fields{grid-template-columns:1fr 1fr}.fcc59-prep-book{grid-template-columns:60px 1fr}.fcc59-prep-book img{width:60px;height:82px}}
@media(max-width:460px){#marketplace .fcc59-five,#marketplace .fcc59-browse-grid{grid-template-columns:1fr 1fr}#marketplace .fcc59-card-cover{height:190px}.fcc59-prep-fields{grid-template-columns:1fr}}
