.market-page button,.market-page input,.market-page select{font:inherit}
.market-page button{cursor:pointer}
.market-page a{color:inherit;text-decoration:none}
.market-page main{padding-top:24px!important;padding-bottom:60px!important}
.market-page .crumb{font-size:12px;color:var(--muted);margin-bottom:22px}
.market-page .hero{display:flex;align-items:center;gap:18px;margin-bottom:22px}
.market-page .steam{width:70px;height:70px;border-radius:15px;background:linear-gradient(150deg,#182735,#173f64);display:grid;place-items:center;color:white;flex:none}
.market-page .steam svg{width:54px}
.market-page .eyebrow{font-size:11px;font-weight:700;letter-spacing:.13em;color:var(--accent);text-transform:uppercase}
.market-page h1{font-size:34px;letter-spacing:-1.2px;line-height:1.15;margin:3px 0 7px}
.market-page p{margin:0;color:var(--muted)}
.market-page .tabs{display:flex;gap:8px;overflow:auto;white-space:nowrap;margin:0 0 20px}
.market-page .tab{padding:8px 14px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--ink);font-size:13px}
.market-page .tab.active{background:var(--dark);color:white;border-color:var(--dark)}
.market-page .panel,.market-page .offer,.market-page .side,.market-page .textblock{background:var(--card);border:1px solid var(--line);border-radius:13px}
.market-page .panel{padding:18px 20px;margin-bottom:18px}
.market-page .panel h2{font-size:17px;margin:0 0 13px}
.market-page .fields{display:grid;grid-template-columns:1.05fr 1fr 1fr auto;gap:10px;align-items:end}
.market-page .field label{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}
.market-page .field input,.market-page .field select,.market-page .sort{background:var(--card);border:1px solid #62565b;border-radius:8px;color:var(--ink);padding:10px 11px;width:100%;height:43px}
.market-page .primary{border:0;background:var(--accent);color:white;font-weight:600;border-radius:8px;padding:11px 20px;white-space:nowrap}
.market-page .primary:hover{background:#a9241d}
.market-page .checks{display:flex;gap:22px;margin-top:14px;flex-wrap:wrap;font-size:13px}
.market-page .checks label{display:flex;gap:6px;align-items:center}
.market-page .checks input{accent-color:var(--accent)}
.market-page .reset{border:0;background:none;color:var(--muted);font-size:13px;margin-left:auto}
.market-page .layout{display:grid;grid-template-columns:minmax(0,1fr) 246px;gap:18px}
.market-page .bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.market-page .bar strong{font-size:17px}
.market-page .bar .sort{width:auto;font-size:13px;height:38px}
.market-page .demo{font-size:12px;color:var(--muted);margin-bottom:12px}
.market-page .offer{padding:18px 19px;margin-bottom:10px}
.market-page .offerhead{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.market-page .mark{width:45px;height:45px;display:grid;place-items:center;border-radius:11px;color:#fff;font-weight:800;font-size:20px;flex:none}
.market-page .identity{flex:1}
.market-page .identity strong{font-size:18px;display:block;line-height:1.2}
.market-page .identity small{color:var(--muted);font-size:12px}
.market-page .rating{font-size:13px;font-weight:600;color:#f0c36b;white-space:nowrap}
.market-page .metrics{display:grid;grid-template-columns:.8fr 1.15fr 1fr 1fr;gap:12px;align-items:start;border-top:1px solid var(--line);padding:14px 0}
.market-page .metric span{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}
.market-page .metric b{display:block;font-size:14px;font-weight:600}
.market-page .metric .fee{font-size:27px;line-height:1.15;letter-spacing:-.7px;color:var(--ink)}
.market-page .actions{display:flex;align-items:center;gap:8px}
.market-page .compare{font-size:12px;color:var(--muted);margin-right:auto;display:flex;align-items:center;gap:5px}
.market-page .compare input{accent-color:var(--accent)}
.market-page .secondary{background:var(--card);border:1px solid #62565b;padding:9px 15px;border-radius:8px;font-weight:600;font-size:13px}
.market-page .actions .primary{font-size:13px;padding:10px 18px}
.market-page .side{padding:17px;margin-bottom:12px}
.market-page .side h3{font-size:15px;margin:0 0 10px}
.market-page .side p{font-size:13px}
.market-page .side .link{display:block;padding:10px 0;border-top:1px solid var(--line);font-size:13px}
.market-page .side .link:first-of-type{margin-top:12px}
.market-page .textblock{padding:20px;margin-top:20px}
.market-page .textblock h2{font-size:20px;margin:0 0 12px}
.market-page .textblock details{padding:12px 0;border-top:1px solid var(--line)}
.market-page summary{cursor:pointer;font-weight:600}
.market-page .textblock p{margin-top:8px;font-size:14px}
.market-page dialog{border:1px solid var(--line);border-radius:14px;max-width:calc(100vw - 24px);width:650px;padding:24px;box-shadow:0 20px 80px #0003}
.market-page dialog::backdrop{background:#21191ccc}
.market-page dialog h2{margin-top:0}
.market-page dialog table{border-collapse:collapse;width:100%;font-size:13px}
.market-page dialog th,.market-page dialog td{text-align:left;padding:10px 7px;border-bottom:1px solid var(--line)}
.market-page .comparetray{position:sticky;bottom:10px;background:var(--dark);color:white;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 16px;border-radius:10px;box-shadow:0 4px 16px #0003;z-index:4}
.market-page .comparetray[hidden]{display:none}
.market-page .comparetray button{background:var(--card);color:var(--dark);border:0;border-radius:7px;padding:8px 12px;font-weight:600}
.market-page .empty{padding:24px;background:var(--card);border:1px solid var(--line);border-radius:13px}
.market-page .note{font-size:11px;color:var(--muted);margin:8px 0 0}
.market-page .demo-badge{font-size:11px;color:var(--muted);font-weight:400}
.market-page .modalclose{margin-top:18px}
.market-page .hint{display:none}
@media(max-width:800px){.market-page .layout{grid-template-columns:1fr}
.market-page aside{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.market-page .fields{grid-template-columns:1fr 1fr}
.market-page h1{font-size:28px}}
@media(max-width:520px){.market-page main{padding-top:15px!important}
.market-page .hero{gap:12px}
.market-page .steam{width:54px;height:54px}
.market-page .steam svg{width:42px}
.market-page h1{font-size:25px}
.market-page .panel{padding:14px}
.market-page .fields{gap:8px}
.market-page .checks{gap:10px}
.market-page .reset{margin-left:0}
.market-page .offer{padding:14px}
.market-page .metrics{grid-template-columns:1fr 1fr;gap:13px}
.market-page .actions{flex-wrap:wrap}
.market-page .compare{width:100%;margin-bottom:3px}
.market-page .actions .primary,.market-page .actions .secondary{flex:1}
.market-page .bar strong{font-size:14px}
.market-page .bar .sort{max-width:53%}
.market-page aside{grid-template-columns:1fr}
.market-page .crumb{margin-bottom:15px}
.market-page .tabs{margin-bottom:14px}}
/* 1Lag Market preview only */
.market-page{--ink:#fff;--muted:#c9bec2;--line:#51464b;--accent:#e85b50;--dark:#3c3034;color-scheme:dark;min-height:70vh;color:var(--ink)}
.market-page main.wrap{padding-top:24px;padding-bottom:60px}
.market-page button,.market-page input,.market-page select{font:inherit}
.market-page .primary{background:#b92b24;color:white}
.market-page .primary:hover{background:#a9241d;color:white}
.market-page .secondary{color:var(--ink)}
.market-page dialog{background:var(--card);color:var(--ink)}
.market-page .comparetray button{background:#e8e3e4;color:#2e292a}
.market-page .tab.active{background:#59302f;border-color:#a94c46}
.market-page a:hover{color:#ff8176}
.market-page [hidden]{display:none!important}
.market-page :focus-visible{outline:2px solid #ff8176;outline-offset:3px}
.market-page .preview-warning{color:#e8e3e4;background:#3b292d;border:1px solid #74504e;border-radius:10px;padding:10px 14px;margin:0 0 18px;font-size:13px}
.market-page .eyebrow,.market-page .inline-link{color:#ff8176}
.market-page .tile:hover{color:#fff;background:#443739}
.market-page .field input,.market-page .field select,.market-page .sort,.market-page .searchline{background:#252125;color:#fff}
.market-page .secondary:hover{background:#443739}
.market-page .rating{color:#f0c36b}
.market-page .field{min-width:0}
@media(max-width:380px){.market-page .platforms{grid-template-columns:1fr}.market-page .fields{grid-template-columns:1fr}.market-page .serviceid{flex-wrap:wrap}}

/* V2 — scoped to private preview, production header.css remains untouched. */
.market-preview .site-header{background:linear-gradient(to bottom,#60201e,#19171b);}
.market-page .crumb a:hover{text-decoration:underline}
.market-page .offer{padding:13px 16px;margin-bottom:10px}
.market-page .offerhead{gap:10px;margin-bottom:10px}
.market-page .metrics{padding:10px 0;gap:10px}
.market-page .rating{font-size:16px;font-weight:700}
.market-page .identity{min-width:0;overflow-wrap:anywhere}
.market-page .actions .primary,.market-page .actions .secondary{min-height:36px;padding:8px 13px;font-size:13px}
.market-page .actions a.secondary{display:inline-flex;align-items:center;justify-content:center;color:var(--ink)}
.market-page .actions a.secondary:hover{color:#fff}
.market-page .offerflags{display:flex;flex-wrap:wrap;gap:5px;margin-top:4px}
.market-page .offerflags:empty{display:none}
.market-page .offerflag{font-size:11px;line-height:1.35;padding:2px 6px;border:1px solid #6b5755;border-radius:5px;color:#e8d4d1}
.market-page .service-description{font-size:14px;margin-top:7px}
.market-page .metric{min-width:0;overflow-wrap:anywhere}
.market-page .bar .sort{min-width:0}
.market-page .field input,.market-page .field select{min-width:0;max-width:100%}
@media(max-width:520px){
.market-page main.wrap{width:calc(100% - 24px);padding-bottom:36px!important}
.market-page h1{overflow-wrap:anywhere}
.market-page .offer{padding:12px}
.market-page .metrics,.market-page .offer .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.market-page .actions .primary,.market-page .actions .secondary{min-height:44px}
.market-page .mark{width:40px;height:40px}
.market-page .rating{font-size:14px}
.market-page .checks{gap:12px}
.market-page .fields{grid-template-columns:minmax(0,1fr)}
.market-page .fields .primary{min-height:44px}
.market-page .comparetray{flex-wrap:wrap}
.market-page .serviceid>div:last-child{min-width:0}
}
