/* Four Color Comic v40.31.60 — readability, login fit, marketplace clarity, shipping preview */

/* ---------- Global readability ---------- */
html{font-size:16px!important}
body{font-size:16px!important;line-height:1.5!important}
body .muted{font-size:.875rem!important;line-height:1.45!important}
body .tiny,body small{font-size:.78rem!important;line-height:1.4!important}
body .field>label,body .field label,body .auth-label-row label{font-size:.75rem!important;line-height:1.25!important;letter-spacing:.035em}
body .input,body .select,body .textarea{font-size:.9rem!important}
body .btn,body button.btn,body .seg{font-size:.84rem!important;line-height:1.15!important}
body table{font-size:.86rem!important}
body th{font-size:.75rem!important}
body td{font-size:.86rem!important}
body .badge{font-size:.72rem!important}

/* ---------- Login: cover the painted/non-functional form in the supplied artwork ----------
   The source image already contains a decorative login panel. The real form must occupy
   that entire panel so users see one functional card instead of a card inside a card. */
#authGate .auth-shell,
#authGate .auth-shell-v4011{
  left:50%!important;
  top:66.1%!important;
  transform:translate(-50%,-50%)!important;
  width:min(59.6vw,940px)!important;
  max-width:940px!important;
  min-width:760px!important;
  margin:0!important;
}
#authGate .auth-card,
#authGate .auth-card-v4011{
  width:100%!important;
  max-width:none!important;
  min-height:590px!important;
  box-sizing:border-box!important;
  padding:34px clamp(105px,9vw,155px)!important;
  border-radius:18px!important;
  background:linear-gradient(#02080d,#02080d) padding-box,
             linear-gradient(105deg,#11bdf6 0%,#12b8f2 21%,#ee146d 52%,#ffd518 100%) border-box!important;
  border:2px solid transparent!important;
  box-shadow:0 30px 90px rgba(0,0,0,.78)!important;
  backdrop-filter:none!important;
}
#authGate .auth-card-v4011>div,
#authGate .auth-card-v4011>#authStatus{
  width:100%!important;
  max-width:640px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
#authGate .auth-card-v4011 h1{font-size:3rem!important;line-height:.94!important;margin:.35rem 0 .65rem!important}
#authGate .auth-card-v4011 .input{font-size:1rem!important;min-height:50px!important}
#authGate .auth-card-v4011 .btn{font-size:.95rem!important;min-height:48px!important}
@media(max-width:1000px){
  #authGate .auth-shell,#authGate .auth-shell-v4011{width:min(92vw,840px)!important;min-width:0!important;top:66%!important}
  #authGate .auth-card,#authGate .auth-card-v4011{min-height:540px!important;padding:30px clamp(44px,8vw,96px)!important}
}
@media(max-width:760px){
  #authGate .auth-shell,#authGate .auth-shell-v4011{width:min(94vw,560px)!important;top:58%!important}
  #authGate .auth-card,#authGate .auth-card-v4011{min-height:0!important;padding:26px 22px!important}
  #authGate .auth-card-v4011 h1{font-size:2.35rem!important}
}

/* ---------- Marketplace home: solid panels + complete covers ---------- */
#marketplace .fcc59-feature-section,
#marketplace .fcc59-feature-section.hot,
#marketplace .fcc59-feature-section.promo{
  background:#050c12!important;
  background-image:none!important;
  border-color:#314653!important;
  box-shadow:0 18px 55px rgba(0,0,0,.46)!important;
}
#marketplace .fcc59-feature-section.hot{border-color:#8a6a25!important}
#marketplace .fcc59-feature-section.promo{border-color:#6c3d67!important}
#marketplace .fcc59-market-card{background:#071018!important;box-shadow:0 8px 24px rgba(0,0,0,.28)!important}
#marketplace .fcc59-card-cover{
  height:310px!important;
  padding:8px!important;
  background:#020609!important;
  overflow:hidden!important;
}
#marketplace .fcc59-card-cover>img,
#marketplace .fcc59-card-cover .fcc59-mature-cover>img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#020609!important;
}
#marketplace .fcc59-card-copy b{font-size:.9rem!important;line-height:1.3!important}
#marketplace .fcc59-card-copy small{font-size:.76rem!important}
#marketplace .fcc59-card-copy strong{font-size:1.25rem!important}
#marketplace .fcc60-card-shipping,
#marketplace .fcc60-shipping-live{
  font-size:.86rem!important;
  font-weight:750!important;
  color:#dce7ee!important;
  line-height:1.35!important;
}
#marketplace .fcc59-feature-head p{font-size:.84rem!important}
#marketplace .fcc59-browse-count{font-size:.82rem!important}

/* ---------- Price & prepare selected: editable pricing is visually obvious ---------- */
.fcc59-prep-modal{background:#061018!important}
.fcc59-prep-row{background:#0a151d!important}
.fcc59-prep-book b{font-size:.92rem!important}.fcc59-prep-book small{font-size:.75rem!important}
.fcc59-prep-fields .field label{font-size:.7rem!important}
.fcc59-prep-fields .price{padding:7px;border:2px solid #d1a83d;border-radius:10px;background:#151207}
.fcc59-prep-fields .price label{color:#f2d36f!important;font-weight:900!important}
.fcc59-prep-fields .price input{font-size:1.35rem!important;font-weight:950!important;border-color:#e1b73c!important;min-height:48px!important;background:#071018!important}
.fcc59-prep-fields input{min-height:44px!important;font-size:.88rem!important}
.fcc59-18{font-size:.76rem!important;min-height:46px!important}
.fcc59-row-status{font-size:.75rem!important;line-height:1.35!important}
.fcc60-shipping-setup{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(150px,.55fr) minmax(150px,.55fr);gap:10px;align-items:center;border:1px solid #355161;border-radius:12px;background:#09151d;padding:12px;margin:12px 0}
.fcc60-shipping-setup>div{display:flex;flex-direction:column;gap:3px}.fcc60-shipping-setup b{font-size:.95rem}.fcc60-shipping-setup span{font-size:.77rem;color:#aebdc7;line-height:1.4}

/* ---------- My Listings price / marketplace state ---------- */
#marketplace .fcc59-inline-price{background:#171307!important}
#marketplace .fcc59-inline-price>label{font-size:.75rem!important}
#marketplace .fcc59-inline-price input{font-size:1.45rem!important;min-height:48px!important}
.fcc60-market-state{display:inline-flex;align-items:center;width:max-content;margin-top:6px;padding:4px 8px;border-radius:999px;border:1px solid #3d4d57;background:#101820;color:#becbd3;font-size:.7rem;font-weight:850;letter-spacing:.02em}
.fcc60-market-state.live{border-color:#347d5a;background:#0b2118;color:#80e4b5}.fcc60-market-state.frozen{border-color:#846c2d;background:#211b0c;color:#f1d575}.fcc60-market-state.off{color:#9eabb2}

/* ---------- Shipping preview ---------- */
.fcc60-manual-shipping{display:grid;grid-template-columns:minmax(260px,1fr) minmax(360px,1.25fr);gap:14px;align-items:center;padding:13px;border:1px solid #355161;border-radius:12px;background:#08131a;margin:0 0 14px}
.fcc60-manual-shipping>div:first-child{display:flex;flex-direction:column;gap:4px}.fcc60-manual-shipping b{font-size:.95rem}.fcc60-manual-shipping span{font-size:.78rem;color:#aebbc4;line-height:1.4}
.fcc60-ship-zips{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fcc60-ship-zips span{grid-column:1/-1;color:#d0dce3!important;font-size:.78rem!important}

/* ---------- Quick edit: owner editing stays in context ---------- */
.fcc60-quick-back{position:fixed;z-index:18000;inset:0;background:rgba(0,0,0,.78);display:grid;place-items:center;padding:20px}
.fcc60-quick-modal{width:min(900px,96vw);max-height:92vh;overflow:auto;border:1px solid #3b5360;border-radius:16px;background:#061018;color:#edf4f7;padding:20px;box-shadow:0 35px 100px rgba(0,0,0,.72)}
.fcc60-quick-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:12px;margin:16px 0}.fcc60-quick-price{grid-column:span 2;padding:12px;border:2px solid #d5ad35;border-radius:12px;background:#171307}.fcc60-quick-price>label{display:block;color:#f5d36f;font-size:.76rem;font-weight:950;letter-spacing:.06em}.fcc60-quick-price>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px}.fcc60-quick-price span{font-size:1.55rem;font-weight:900;color:#f5d36f}.fcc60-quick-price input{font-size:1.55rem!important;font-weight:950!important;min-height:52px!important}.fcc60-quick-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}

/* ---------- Collection table default and marketplace badge readability ---------- */
#collection table .fcc60-market-state{margin-left:0}

@media(max-width:1250px){
  #marketplace .fcc59-card-cover{height:290px!important}
  .fcc60-quick-grid{grid-template-columns:1fr 1fr}
  .fcc60-shipping-setup{grid-template-columns:1fr 1fr}.fcc60-shipping-setup>div{grid-column:1/-1}
}
@media(max-width:760px){
  #marketplace .fcc59-card-cover{height:250px!important}
  .fcc60-manual-shipping{grid-template-columns:1fr}.fcc60-ship-zips{grid-template-columns:1fr}
  .fcc60-shipping-setup{grid-template-columns:1fr}
  .fcc60-quick-grid{grid-template-columns:1fr}.fcc60-quick-price{grid-column:auto}
}
@media(max-width:460px){#marketplace .fcc59-card-cover{height:225px!important}}

/* ---------- Same-seller cart + combined shipping ---------- */
.fcc60-cart-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#ec4e88;color:#fff;font-style:normal;font-size:.7rem;vertical-align:middle}.fcc60-cart-count.hidden{display:none}
.fcc60-cart-back{position:fixed;z-index:19000;inset:0;background:rgba(0,0,0,.8);display:grid;place-items:center;padding:20px}
.fcc60-cart-modal{width:min(960px,96vw);max-height:92vh;overflow:auto;border:1px solid #38515e;border-radius:16px;background:#061018;color:#eef4f7;padding:20px;box-shadow:0 35px 100px rgba(0,0,0,.75)}
.fcc60-cart-group{border:1px solid #2d4653;border-radius:14px;background:#09141c;padding:14px;margin:12px 0}.fcc60-cart-group-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #243843;padding-bottom:10px;margin-bottom:8px}.fcc60-cart-group-head>div{display:flex;flex-direction:column;gap:2px}.fcc60-cart-group-head b{font-size:1rem}.fcc60-cart-group-head span{font-size:.8rem;color:#aab9c2}
.fcc60-cart-item{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #1f303a}.fcc60-cart-item>div{display:flex;flex-direction:column;gap:2px}.fcc60-cart-item b{font-size:.9rem}.fcc60-cart-item span{font-size:.78rem;color:#aab9c2}
.fcc60-cart-checkout{display:grid;grid-template-columns:180px minmax(260px,1fr) auto;gap:10px;align-items:end;padding-top:12px}.fcc60-cart-rate{font-size:.8rem;line-height:1.4;color:#d3dfe5;padding:10px;border:1px solid #2b4655;border-radius:9px;background:#071119}
@media(max-width:760px){.fcc60-cart-checkout{grid-template-columns:1fr}.fcc60-cart-group-head{align-items:flex-start;flex-direction:column}}
