.trade-portal-head{padding:12px 22px 24px;background:linear-gradient(110deg,#0b367e,#176fe0)}
.trade-portal-shell{width:min(1240px,100%);margin:0 auto}
.trade-portal-head .portal-topbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px;padding:18px 22px;border:1px solid rgba(255,255,255,.7);border-radius:22px;background:linear-gradient(135deg,#f7fbff,#eaf4ff);box-shadow:0 14px 34px rgba(0,31,89,.2)}
.trade-portal-head .back-home{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border-radius:999px;background:linear-gradient(135deg,#2077ff,#0758dc);color:#fff;text-decoration:none;font-weight:950;white-space:nowrap;box-shadow:0 8px 20px rgba(10,87,214,.25)}
.trade-portal-head .back-home:hover{background:linear-gradient(135deg,#126ceb,#064dc4)}
.trade-portal-head .homeicon{font-size:.78rem}
.trade-portal-head .portal-title{flex:1 1 290px;min-width:220px}
.trade-portal-head .portal-title h1{margin:0;color:#083780;font-size:clamp(1.8rem,4vw,2.55rem);line-height:1.05;letter-spacing:-.035em}
.trade-portal-head .portal-title p{margin:5px 0 0;color:#506b8f;font-weight:800}
.trade-portal-head .portal-account-link{justify-self:auto}
.trade-portal-head+.seller-contact-wrap{margin:0}
.hero .eyebrow{margin-top:0}

.tcg-trade-note{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:center;margin:20px 0;padding:14px 16px;border:1px solid rgba(255,255,255,.24);border-radius:14px;background:rgba(255,255,255,.1)}
.tcg-trade-note strong{color:#fff}
.tcg-trade-note span{color:#dce9fa}
.tcg-trade-note a{color:var(--yellow);font-weight:900}
.hardware-picker{margin:18px 0 10px;padding:16px;border:1px solid #cbd9ea;border-radius:14px;background:#f7faff}
.hardware-picker-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hardware-picker label{display:block;margin-bottom:7px;color:#516987;font-size:.77rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.hardware-picker select{width:100%;padding:13px 14px;border:2px solid #bfcfe2;border-radius:12px;background:#fff;color:var(--ink);font:inherit}
.hardware-picker p{margin:9px 2px 0;color:var(--muted);font-size:.82rem}
.selected-hardware{margin-top:8px;padding:9px 10px;border:1px solid #c3d2e4;border-radius:9px;background:#f6f9fd;color:var(--ink);font-size:.82rem;font-weight:800}
.controller-confirm{display:block;margin-top:8px;padding:8px;border-radius:8px;background:#fff8dc;color:#654e12;font-size:.75rem;font-weight:850}
.controller-confirm input{margin-right:6px;accent-color:var(--royal)}
.equipment-confirm{display:grid;gap:6px;margin-top:8px}
.equipment-confirm label{display:block;padding:8px;border-radius:8px;background:#eef5ff;color:#24466f;font-size:.75rem;font-weight:850}
.equipment-confirm input{margin-right:6px;accent-color:var(--royal)}
.shortfall-options{margin:12px 0;padding:12px;border:1px solid rgba(255,216,61,.45);border-radius:12px;background:rgba(255,255,255,.07)}
.shortfall-options>strong{display:block;color:var(--yellow);font-size:.86rem;margin-bottom:9px}
.shortfall-choice{display:flex;align-items:flex-start;gap:8px;padding:9px;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:rgba(255,255,255,.04);cursor:pointer}
.shortfall-choice+.shortfall-choice{margin-top:8px}
.shortfall-choice:has(input:checked){border-color:var(--yellow);background:rgba(255,216,61,.1)}
.shortfall-choice input{margin-top:3px;accent-color:var(--yellow);flex:none}
.shortfall-choice span,.shortfall-choice b,.shortfall-choice small{display:block}
.shortfall-choice b{color:#fff;font-size:.79rem}
.shortfall-choice small{color:#b9cdea;font-size:.71rem;line-height:1.35;margin-top:2px}
.seller-portal-link{display:block;margin:7px 0 9px;padding:8px 10px;border-radius:8px;background:var(--yellow);color:var(--deep);text-align:center;font-size:.78rem;font-weight:950;text-decoration:none}
.card-payment-estimate{margin:9px 2px 0;color:#ffe88b;font-size:.73rem;line-height:1.4}
.balance-due-warning{margin:10px 0 0;padding:11px;border:2px solid #ffd83d;border-radius:10px;background:#fff7d1;color:#4a3300;font-size:.76rem;line-height:1.45}
.balance-due-warning strong{display:block;margin-bottom:3px;color:#9c250d;font-size:.82rem}
.balance-consent{display:flex;align-items:flex-start;gap:8px;margin-top:9px;padding-top:9px;border-top:1px solid rgba(74,51,0,.25);font-weight:850;cursor:pointer}
.balance-consent input{flex:none;margin-top:3px;accent-color:#0a6d3b}
.meter{position:relative}
.meter span{position:absolute!important;top:0;background:none!important}
.meter #meter-fill{left:0;background:linear-gradient(90deg,var(--cyan),#32d39a)!important;z-index:2}
.meter #meter-payment-fill{background:linear-gradient(90deg,#f5b82e,var(--yellow))!important;z-index:1}
.label-condition-note{border-color:#efc34f;background:#fff9e8}
.label-condition-note strong{color:#6b4a00}
.label-condition-note p{color:#5f5439}
.totals [hidden]{display:none!important}
.result-qty,.cart-qty{display:inline-flex;align-items:center;justify-content:center;gap:0;border:1px solid #c5d4e5;border-radius:9px;overflow:hidden;background:#fff}
.result-qty{margin:0 0 8px auto}
.result-qty button,.cart-qty button{border:0;background:#edf4fc;color:#173e70;width:32px;height:31px;font-weight:950;cursor:pointer}
.result-qty span,.cart-qty span{min-width:34px;text-align:center;color:#173e70;font-weight:900;font-size:.83rem}
.cart-row-actions{display:flex;align-items:center;gap:5px}
.cart-qty{border-color:rgba(255,255,255,.22);background:#fff}
.cart-qty button{width:27px;height:27px}
.cart-qty span{min-width:27px}
.surplus-note{margin:9px 0 0;color:#c9dcf6;font-size:.76rem;line-height:1.4;text-align:center}
.next-steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.next-steps-grid>div{padding:16px;border:1px solid #dbe6f3;border-radius:14px;background:#f7faff}
.next-steps-grid strong,.next-steps-grid span{display:block}
.next-steps-grid strong{color:#123f79;margin-bottom:5px}
.next-steps-grid span{color:#637a98;font-size:.84rem}
.form-grid label small{display:block;margin-top:4px;color:#718198;font-weight:600;line-height:1.35}
.final-policy-note{margin:15px 0;padding:12px 14px;border-left:4px solid #efc34f;border-radius:0 10px 10px 0;background:#fff9e8;color:#5f5439;font-size:.82rem}
@media(max-width:650px){.hardware-picker-grid{grid-template-columns:1fr}}
@media(max-width:850px){.next-steps-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.next-steps-grid{grid-template-columns:1fr}}
@media(max-width:800px){
  .trade-portal-head{padding:10px 12px 16px}
  .trade-portal-head .portal-topbar{gap:11px;padding:14px}
  .trade-portal-head .back-home{min-height:46px;padding:0 17px}
  .trade-portal-head .portal-title{flex:1 1 calc(100% - 190px)}
  .trade-portal-head .portal-account-link,.trade-portal-head .important-info,.trade-portal-head .language-switch{flex:1 1 auto}
  .trade-portal-head .portal-account-link{min-height:44px}
  .trade-portal-head .important-info__toggle{min-height:44px}
  .trade-portal-head .language-switch{justify-content:center}
}
@media(max-width:560px){
  .trade-portal-head .portal-title{flex-basis:100%;order:-1}
  .trade-portal-head .portal-title h1{font-size:1.75rem}
  .trade-portal-head .back-home{flex:1 1 100%}
  .trade-portal-head .portal-account-link,.trade-portal-head .important-info{flex-basis:100%}
  .trade-portal-head .language-switch{flex-basis:100%}
}
