/* WebCounter widget styles v1. Injected by counter.js on the host page, so every rule is scoped
   under .webcounter and resets what a host stylesheet is likely to leak in.
   A style = base (.wc-b-*) + font (.wc-f-*) + effects (.wc-fx-*) + colour variables set inline from the server catalogue
   (Services/CounterStyles.cs). The root is a transparent wrapper; .wc-main is the box. Trust and sponsor lines sit
   under the box in the host page's own text colour. */
.webcounter{--wc-bg:#fff;--wc-fg:#1b2430;--wc-label:#4f5b6b;--wc-border:#e3e7ec;--wc-accent:#2f6fde;--wc-cell:#1f45a0;--wc-radius:12px;
  display:inline-flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:100%;box-sizing:border-box;vertical-align:middle;
  font-family:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:14px;font-weight:400;line-height:1.3;
  font-style:normal;text-align:left;letter-spacing:0;text-transform:none}
.webcounter *{box-sizing:border-box;margin:0;padding:0;border:0;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;background:none;text-decoration:none}
.webcounter .wc-main{display:inline-flex;align-items:center;gap:10px;max-width:100%;cursor:default}
.webcounter a.wc-main{cursor:pointer;transition:transform .12s ease,filter .12s ease}
.webcounter a.wc-main:hover{filter:brightness(1.05);transform:translateY(-1px)}
.webcounter a.wc-main:focus-visible{outline:2px solid var(--wc-accent);outline-offset:3px}
.webcounter .wc-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.webcounter .wc-count{font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--wc-fg)}
.webcounter .wc-label{font-size:12px;color:var(--wc-label)}
.webcounter .wc-trust{display:inline-flex;align-items:center;gap:4px;font-size:11px;opacity:.8}
.webcounter .wc-trust svg{width:12px;height:12px;flex:none;fill:none;stroke:var(--wc-accent);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.webcounter .wc-sponsor,.webcounter a.wc-sponsor{font-size:11px;text-decoration:underline;text-underline-offset:2px;opacity:.75}
.webcounter .wc-sponsor:hover{opacity:1}

/* fonts - system stacks only, nothing is downloaded onto the host page */
.wc-f-sans{font-family:"Public Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.webcounter.wc-f-mono{font-family:ui-monospace,"Cascadia Mono","SFMono-Regular",Consolas,"Liberation Mono","Courier New",monospace}
.webcounter.wc-f-serif{font-family:Georgia,"Iowan Old Style","Times New Roman",serif}
.webcounter.wc-f-round{font-family:ui-rounded,"SF Pro Rounded","Nunito","Varela Round","Segoe UI",system-ui,sans-serif}
.webcounter.wc-f-condensed{font-family:"Roboto Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif;font-stretch:condensed}
.webcounter.wc-f-slab{font-family:Rockwell,"Roboto Slab","Courier New",serif}
.webcounter.wc-f-impact{font-family:Impact,Haettenschweiler,"Arial Narrow Bold","Arial Black",sans-serif}
.webcounter.wc-f-inherit{font:inherit}

/* tile - one big number, a quiet label */
.wc-b-tile .wc-main{background:var(--wc-bg);border:1px solid var(--wc-border);border-radius:var(--wc-radius);padding:12px 16px 10px;min-width:150px}
.wc-b-tile .wc-count{font-size:30px;line-height:1.05;letter-spacing:-.02em}

/* stack - small caps label above, big number, accent underline */
.wc-b-stack .wc-main{background:var(--wc-bg);border:1px solid var(--wc-border);border-radius:var(--wc-radius);padding:12px 16px}
.wc-b-stack .wc-text{flex-direction:column-reverse;gap:4px}
.wc-b-stack .wc-label{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.wc-b-stack .wc-count{font-size:34px;line-height:1;letter-spacing:-.01em;padding-bottom:5px;box-shadow:inset 0 -3px 0 var(--wc-accent)}

/* bar - a strip: label left, number right, accent edge */
.wc-b-bar .wc-main{background:var(--wc-bg);border:1px solid var(--wc-border);border-left:4px solid var(--wc-accent);border-radius:var(--wc-radius);padding:7px 14px 7px 12px}
.wc-b-bar .wc-text{flex-direction:row-reverse;align-items:baseline;gap:12px}
.wc-b-bar .wc-count{font-size:19px}

/* pill - a compact badge for footers and sidebars */
.wc-b-pill .wc-main{background:var(--wc-bg);border:1px solid var(--wc-border);border-radius:var(--wc-radius);padding:5px 12px 5px 9px;gap:7px}
.wc-b-pill .wc-dot{width:9px;height:9px;border-radius:50%;flex:none;background:var(--wc-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--wc-accent) 22%,transparent)}
.wc-b-pill .wc-text{flex-direction:row;align-items:baseline;gap:5px}
.wc-b-pill .wc-count{font-size:14px}

/* cells - each digit in its own box: odometer, flip clock, retro */
.wc-b-cells .wc-main{background:var(--wc-bg);border:1px solid var(--wc-border);border-radius:var(--wc-radius);padding:7px 9px}
.wc-b-cells .wc-text{gap:5px}
.wc-b-cells .wc-count{display:inline-flex;gap:3px}
.wc-b-cells .wc-d{position:relative;display:inline-grid;place-items:center;width:1.22em;height:1.55em;font-size:22px;font-weight:700;line-height:1;
  background-color:var(--wc-cell);color:var(--wc-fg);border-radius:calc(var(--wc-radius) / 2);box-shadow:inset 0 0 0 1px var(--wc-border)}
.wc-b-cells .wc-sep{display:inline-block;width:.3em;font-size:22px;font-weight:700;align-self:flex-end;color:var(--wc-fg)}

/* lcd - digits on a screen, unlit segments showing behind */
.wc-b-lcd .wc-main{background:var(--wc-bg);border:1px solid var(--wc-border);border-radius:var(--wc-radius);padding:8px 10px}
.wc-b-lcd .wc-text{gap:5px}
.wc-b-lcd .wc-count{display:inline-flex;gap:1px;background:var(--wc-cell);padding:5px 8px;border-radius:calc(var(--wc-radius) / 2);box-shadow:inset 0 2px 4px rgba(0,0,0,.35)}
.wc-b-lcd .wc-d,.wc-b-lcd .wc-sep{position:relative;z-index:0;display:inline-block;font-size:28px;line-height:1;font-weight:700;color:var(--wc-fg)}
.wc-b-lcd .wc-d::before{content:"8";position:absolute;inset:0;z-index:-1;color:var(--wc-accent);opacity:.16}
.wc-b-lcd .wc-label{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase}

/* ring - the pulled-slice mark beside the number */
.wc-b-ring .wc-main{background:var(--wc-bg);border-radius:var(--wc-radius);padding:4px 8px 4px 4px}
.wc-b-ring .wc-ring{width:34px;height:34px;flex:none}
.wc-b-ring .wc-count{font-size:24px;letter-spacing:-.02em;line-height:1}

/* minimal - inherits the host page's type, just the number and a word */
.wc-b-minimal .wc-text{flex-direction:row;align-items:baseline;gap:6px}
.wc-b-minimal .wc-count{font-weight:700}
.wc-b-minimal .wc-label{font-size:inherit;opacity:.75}

/* shield - two-part badge: label | number */
.wc-b-shield .wc-main{gap:0;border:1px solid var(--wc-border);border-radius:var(--wc-radius);overflow:hidden}
.wc-b-shield .wc-text{flex-direction:row;gap:0}
.wc-b-shield .wc-label,.wc-b-shield .wc-count{font-size:11.5px;line-height:1.75;padding:0 8px;white-space:nowrap}
.wc-b-shield .wc-label{order:-1;background:var(--wc-accent)}
.wc-b-shield .wc-count{background:var(--wc-bg);font-weight:700}

/* circle - a round seal */
.wc-b-circle .wc-main{justify-content:center;min-width:104px;aspect-ratio:1;padding:10px;border-radius:50%;background:var(--wc-bg);border:2px solid var(--wc-border)}
.wc-b-circle .wc-text{align-items:center;text-align:center}
.wc-b-circle .wc-count{font-size:22px;line-height:1}
.wc-b-circle .wc-label{font-size:10px}

/* effects */
.wc-fx-caps .wc-label{text-transform:uppercase;letter-spacing:.1em;font-size:10.5px;font-weight:700}
.wc-fx-caps.wc-b-minimal .wc-label{font-size:.75em}
.wc-fx-big.wc-b-shield .wc-label,.wc-fx-big.wc-b-shield .wc-count{font-size:12.5px;line-height:2.2;padding:0 11px;letter-spacing:.08em}
.wc-fx-glow .wc-count,.wc-fx-glow .wc-d{text-shadow:0 0 6px var(--wc-accent),0 0 14px color-mix(in srgb,var(--wc-accent) 55%,transparent)}
.wc-fx-gradient .wc-main{background:linear-gradient(135deg,var(--wc-bg),var(--wc-accent))}
.wc-fx-stripe .wc-main{box-shadow:inset 0 3px 0 var(--wc-accent)}
.wc-fx-shadow .wc-main{box-shadow:0 8px 22px -8px rgba(15,23,42,.35),0 2px 6px rgba(15,23,42,.08)}
.wc-fx-outline .wc-main{border-width:2px}
.wc-fx-thin .wc-count{font-weight:300}
.wc-fx-italic .wc-count{font-style:italic}
.wc-fx-dashed .wc-main{border-style:dashed;border-width:3px}
.wc-fx-tilt .wc-main{transform:rotate(-6deg)}
.wc-fx-tilt a.wc-main:hover{transform:rotate(-6deg) translateY(-1px)}
.wc-fx-gloss .wc-d{background-image:linear-gradient(180deg,rgba(255,255,255,.16) 0 49%,rgba(0,0,0,.14) 51% 100%);box-shadow:inset 0 -2px 0 rgba(0,0,0,.25),inset 0 0 0 1px var(--wc-border)}
.wc-fx-flip .wc-d{box-shadow:0 2px 0 rgba(0,0,0,.3),inset 0 0 0 1px var(--wc-border)}
.wc-fx-flip .wc-d::after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--wc-accent);opacity:.75}
