/* web.css — web-edition chrome only. The app's own stylesheet (popup.css) is untouched. */
.web-banner{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:8px 14px;background:var(--bg2,#171c2e);
  border-bottom:1px solid var(--line,#38426b);color:var(--ink,#eef1f8);font-size:var(--fs-sm,.75rem);line-height:1.45}
.web-banner-msg{margin:0;flex:1 1 320px;color:var(--muted,#8b93ab)}
.web-banner-msg strong{color:var(--ink,#eef1f8)}
.web-banner a,.web-banner-btn{color:var(--focus,#9DD9F5);text-decoration:underline;background:none;border:0;padding:4px 2px;font:inherit;cursor:pointer;min-height:24px}
.web-banner a:focus-visible,.web-banner-btn:focus-visible{outline:2px solid var(--focus,#9DD9F5);outline-offset:2px}
.web-banner-err{margin:0;padding:8px 14px;background:var(--bg2,#171c2e);color:var(--lose,#FDA4AF);border-bottom:1px solid var(--line,#38426b);font-size:var(--fs-sm,.75rem)}
/* inventory value reads steamcommunity.com, which blocks browsers: it is extension-only, so no entry points here */
html[data-dc-web] #invBtn,html[data-dc-web] #invHeaderBtn,html[data-dc-web] #firstrun,html[data-dc-web] #showOnboard{display:none !important}

/* sparkline draw-on uses stroke-dasharray:1 with pathLength + non-scaling-stroke; Chrome reads the dash in px, so on wide surfaces the finished line stays dashed. Draw it solid here. */
html[data-dc-web] .spark-draw{animation:none !important;stroke-dasharray:none !important;stroke-dashoffset:0 !important}

/* light-theme contrast: popup.css colours match times with --op2 (#6EC6E8), 1.8:1 on the light surface. #1F6F95 is >=4.5:1 there. */
@media (prefers-color-scheme:light){:root:not([data-theme="dark"]) .mtime,:root:not([data-theme="dark"]) #hubLink{color:#1F6F95}}
:root[data-theme="light"] .mtime,:root[data-theme="light"] #hubLink{color:#1F6F95}
.web-howto{margin:0;padding:12px 24px 16px;color:var(--ink,#eef1f8);font-size:var(--fs-sm,.8125rem);line-height:1.55;max-width:46rem}
.web-howto[hidden]{display:none}
.web-howto h2{margin:0 0 6px;font-size:var(--fs-md,.9375rem)}
.web-howto ol{margin:0 0 8px;padding-left:1.25rem}.web-howto li{margin:3px 0}
.web-howto a{color:var(--focus,#1F6F95);text-decoration:underline;padding:4px 2px;display:inline-block;min-height:24px}
.web-howto-note{margin:6px 0 0;color:var(--muted,#8b93ab)}
.web-foot{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;padding:10px 24px;border-top:1px solid var(--line,#38426b);font-size:var(--fs-sm,.75rem)}
.web-foot a,.web-foot-btn{color:var(--link,var(--ink,#1F6F95));text-decoration:underline;background:none;border:0;font:inherit;cursor:pointer;padding:4px 2px;min-height:24px}
.web-foot a:focus-visible,.web-foot-btn:focus-visible,.web-foot-opt input:focus-visible{outline:2px solid var(--focus,#9DD9F5);outline-offset:2px}
.web-foot-opt{flex:1 1 100%;color:var(--muted,#8b93ab);display:flex;gap:6px;align-items:flex-start;min-height:24px}
/* narrow screens: the benchmark rows overflowed the card (popup.css lays them out for ~400px popups) */
@media (max-width:480px){html[data-dc-web] .web-banner{padding:6px 12px}
  html[data-dc-web] .pct-row{grid-template-columns:minmax(0,1fr) minmax(64px,40%) 44px;gap:6px}
  html[data-dc-web] .pct-row>*{min-width:0}
  html[data-dc-web] .web-howto,html[data-dc-web] .web-foot{padding-left:16px;padding-right:16px}}
.web-foot-opt input{flex:none;width:16px;height:16px;min-width:0;min-height:0;margin:3px 0 0;padding:0}
.web-foot-opt{justify-content:flex-start;text-align:left}
