/* Court Duty public pages (/@handle). Ported from design/profiles/profiles.css (approved 20 Oct 2026); fonts are our own files. */
@font-face{font-family:"Big Shoulders Display";font-style:normal;font-weight:900;font-display:swap;src:url(/assets/fonts/big-shoulders-900-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Big Shoulders Display";font-style:normal;font-weight:900;font-display:swap;src:url(/assets/fonts/big-shoulders-900-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/inter-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 600;font-display:swap;src:url(/assets/fonts/inter-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root {
  --bg: #F7F7F3;
  --card: #FFFFFF;
  --ink: #10161C;
  --soft: #56616B;
  --faint: #697179; /* AA 4.6:1 on paper, 4.95 on white (QA 16 Nov 2026; was #8A939B, 2.9:1, drawn as small text) */
  --rule: #E4E6E0;
  --rule-strong: #D5D8D0;
  --shadow: 0 1px 2px rgba(16,22,28,.05), 0 8px 24px -12px rgba(16,22,28,.14);
  --shadow-lift: 0 2px 4px rgba(16,22,28,.06), 0 18px 40px -16px rgba(16,22,28,.26);

  /* owner accent (default: orange). Text on the accent uses --on-accent. */
  --accent: #FF5A1F;
  --on-accent: #10161C;
  --accent-wash: #FFEFE7;
  --accent-text: #B83A0A;   /* accent used as small text on light cards */

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --gutter: 20px;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

/* Accent variants (owner picks one) */
[data-accent="blue"]   { --accent: #2B59FF; --on-accent: #FFFFFF; --accent-wash: #ECF0FF; --accent-text: #2448D8; }
[data-accent="green"]  { --accent: #0E7A5C; --on-accent: #FFFFFF; --accent-wash: #E5F3EE; --accent-text: #0B6A50; }
[data-accent="orange"] { --accent: #FF5A1F; --on-accent: #10161C; --accent-wash: #FFEFE7; --accent-text: #B83A0A; }

/* Dark variant */
[data-theme="dark"] {
  --bg: #0D1013;
  --card: #161A1F;
  --ink: #F1F2EE;
  --soft: #A3ACB4;
  --faint: #7C858D;
  --rule: #23282E;
  --rule-strong: #2E343B;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 30px -14px rgba(0,0,0,.7);
  --shadow-lift: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 44px -16px rgba(0,0,0,.85);
  color-scheme: dark;
}
[data-theme="dark"][data-accent="green"] { --accent: #2BC48F; --on-accent: #06140F; --accent-wash: rgba(43,196,143,.12); --accent-text: #4FD6A6; }
[data-theme="dark"][data-accent="orange"] { --accent-wash: rgba(255,90,31,.13); --accent-text: #FF8A5E; }
[data-theme="dark"][data-accent="blue"] { --accent: #5B7FFF; --accent-wash: rgba(91,127,255,.14); --accent-text: #8EA6FF; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Shared atoms ---------- */
.demo-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 10px 7px 9px; border-radius: 999px;
  background: rgba(16,22,28,.42); color: #fff;
  backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.18);
}
.demo-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FFD23F; }
.demo-mini { font: 600 9.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); border: 1px solid var(--rule-strong); border-radius: 4px; padding: 3px 5px 2px; vertical-align: 2px; }

.glass-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(16,22,28,.38); color: #fff;
  backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s var(--ease-out), background-color .2s;
}
.glass-btn:active { transform: scale(.94); }
.glass-btn svg { width: 18px; height: 18px; }

.eyebrow {
  font: 600 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--soft); margin: 0 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.eyebrow a, .eyebrow button { letter-spacing: .02em; text-transform: none; font-weight: 600; font-size: 13px; color: var(--accent-text); }

.card {
  background: var(--card); border-radius: var(--r-lg);
  box-shadow: var(--shadow); border: 1px solid var(--rule);
}
.section { margin-top: 36px; }
.section:first-child { margin-top: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 13px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--rule-strong);
  font: 500 13px/1 var(--sans); color: var(--ink); white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; color: var(--accent-text); flex: none; }
.chip--accent { background: var(--accent-wash); border-color: transparent; color: var(--accent-text); font-weight: 600; }

/* ---------- Feed headings + highlights (shared) ---------- */
  .feed .eyebrow { font: 900 24px/1 var(--display); letter-spacing: .02em; color: var(--ink); align-items: baseline; }
  .feed .eyebrow a { font: 600 13px/1 var(--sans); }

  /* ---- Highlights (Instagram story circles) ---- */
  .stories { display: flex; gap: 14px; margin: 22px calc(-1 * var(--gutter)) 0; padding: 2px var(--gutter) 4px; overflow-x: auto; scrollbar-width: none; list-style: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
  .stories::-webkit-scrollbar { display: none; }
  .story { flex: none; width: 72px; text-align: center; scroll-snap-align: start; }
  .story__ring { display: block; width: 72px; height: 72px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, var(--accent), color-mix(in srgb, var(--accent) 45%, #FFD23F), var(--accent)); transition: transform .25s var(--ease-out); }
  .story__ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); }
  .story span:last-child { display: block; margin-top: 7px; font: 500 12px/1.2 var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  @media (min-width: 640px) { .stories { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; } }
  .story:active .story__ring { transform: scale(.94); }
  @media (hover: hover) { .story:hover .story__ring { transform: translateY(-2px); } }


/* ---------- Link buttons (Linktree, but considered) ---------- */
.links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.link {
  display: flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 10px 16px 10px 10px;
  background: var(--card); border: 1px solid var(--rule); border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .2s;
}
.link__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--bg); color: var(--ink); }
.link__icon svg { width: 21px; height: 21px; }
.link__text { flex: 1; min-width: 0; }
.link__label { display: block; font: 600 15px/1.25 var(--sans); }
.link__sub { display: block; font: 400 13px/1.3 var(--sans); color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link__go { width: 18px; height: 18px; color: var(--faint); flex: none; transition: transform .25s var(--ease-out), color .2s; }
.link--primary { border: 1.5px solid var(--ink); }
.link--primary .link__icon { background: var(--accent); color: var(--on-accent); }
.link--primary .link__go { color: var(--ink); }
@media (hover: hover) {
  .link:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
  .link:hover .link__go { transform: translateX(3px); color: var(--ink); }
}
.link:active { transform: scale(.985); }

/* ---------- Photo wall ---------- */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 18px; overflow: hidden; }
.wall__item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--rule); }
.wall__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), opacity .4s; }
.wall__item::after { content: ""; position: absolute; inset: 0; background: rgba(16,22,28,0); transition: background-color .3s; }
@media (hover: hover) {
  .wall__item:hover img { transform: scale(1.05); }
  .wall__item:hover::after { background: rgba(16,22,28,.12); }
}
.wall__badge { position: absolute; top: 8px; right: 8px; z-index: 1; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  background: rgba(8,10,12,.97);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility 0s .3s;
}
.lb.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
.lb__stage { position: relative; width: min(92vw, 1000px); height: min(78svh, 820px); display: grid; place-items: center; }
.lb__img {
  max-width: 100%; max-height: 100%; border-radius: 14px; object-fit: contain;
  transform: scale(.94); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease-out);
}
.lb.open .lb__img.ready { transform: none; opacity: 1; }
.lb__top { position: absolute; top: max(16px, env(safe-area-inset-top)); left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.lb__count { font: 500 13px/1 var(--sans); opacity: .8; font-variant-numeric: tabular-nums; }
.lb__cap { position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 20px; right: 20px; text-align: center; color: rgba(255,255,255,.82); font-size: 14px; }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; }
.lb__nav--prev { left: 16px; } .lb__nav--next { right: 16px; }
@media (max-width: 640px) { .lb__nav { display: none; } }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.rise { animation: rise .9s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.zoom-in { animation: zoomIn 1.6s var(--ease-out) both; }
@keyframes zoomIn { from { transform: scale(1.08); } to { transform: scale(1); } }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3.2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  translate: -50% 0; transform: translateY(20px); opacity: 0;
  background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 999px;
  font: 500 14px/1.2 var(--sans); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out); pointer-events: none; white-space: nowrap;
}
.toast.show { transform: none; opacity: 1; }

/* ---------- Footer: the only Court Duty trace ---------- */
.made-wrap { display: flex; justify-content: center; padding: 48px 0 32px; }
.made {
  display: inline-flex; align-items: center; gap: 9px; height: 36px; padding: 0 15px 0 14px;
  border-radius: 999px; background: var(--card); border: 1px solid var(--rule-strong);
  font: 500 11.5px/1 var(--sans); letter-spacing: .01em; color: var(--soft);
  transition: border-color .2s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.cd-logo { font: 900 17px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); translate: 0 1px; }
.cd-logo i { font-style: normal; color: #FF5A1F; }
@media (hover: hover) { .made:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); } }
.made:active { transform: scale(.97); }

/* ---------- Prototype-only controls (hidden with ?clean) ---------- */
.proto {
  position: fixed; right: 12px; bottom: 12px; z-index: 40;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  background: rgba(16,22,28,.86); color: #fff; border-radius: 999px;
  font: 500 11px/1 var(--sans); box-shadow: 0 8px 24px -8px rgba(0,0,0,.4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.proto span { padding: 0 6px 0 8px; opacity: .6; letter-spacing: .06em; text-transform: uppercase; }
.proto button { height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(255,255,255,.1); }
.proto button[aria-pressed="true"] { background: #fff; color: #10161C; }
.proto i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; vertical-align: -1px; margin-right: 5px; }
.is-clean .proto { display: none; }

/* ---------- Connected Instagram widget (shared) ---------- */
.ig { overflow: hidden; }
.ig__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; }
.ig__avatar { width: 52px; height: 52px; border-radius: 50%; padding: 2.5px; flex: none; background: conic-gradient(from 200deg, #FEDA75, #FA7E1E, #D62976, #962FBF, #4F5BD5, #FEDA75); }
.ig__avatar img, .ig__avatar span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--card); display: grid; place-items: center; }
.ig__who { flex: 1; min-width: 0; }
.ig__who strong { display: flex; align-items: center; gap: 5px; font: 600 15px/1.2 var(--sans); }
.ig__who strong svg { width: 15px; height: 15px; color: #0095F6; flex: none; }
.ig__who > span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--soft); font-variant-numeric: tabular-nums; }
.ig__who > span b { color: var(--ink); font-weight: 600; }
.ig__follow { flex: none; height: 34px; padding: 0 16px; border-radius: 10px; display: inline-flex; align-items: center; background: #0068D6; color: #fff; font: 600 13.5px/1 var(--sans); transition: background-color .2s, transform .2s var(--ease-out); }
.ig__follow:hover { background: #0058B8; }
.ig__follow:active { transform: scale(.96); }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.ig__post { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--rule); }
.ig__post img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.ig__post svg.ig__type { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }
.ig__post .ig__likes { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.34); color: #fff; font: 600 13.5px/1 var(--sans); opacity: 0; transition: opacity .25s; }
@media (hover: hover) { .ig__post:hover img { transform: scale(1.04); } .ig__post:hover .ig__likes { opacity: 1; } }
.ig__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.ig__conn { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--sans); color: var(--soft); }
.ig__conn svg { width: 14px; height: 14px; color: var(--good, #14613F); }
[data-theme="dark"] .ig__conn svg { color: #4FD6A6; }
.ig__foot a { font: 600 13px/1 var(--sans); color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.ig__foot a svg { width: 14px; height: 14px; }
@media (min-width: 1024px) { .ig__post { aspect-ratio: 1; } }

/* =====================================================================
   v4 — language, owner customisation, Now card, highlights, editor hooks
   ===================================================================== */
[data-accent="violet"] { --accent: #6B4EFF; --on-accent: #FFFFFF; --accent-wash: #F0EDFF; --accent-text: #5236E0; }
[data-accent="teal"]   { --accent: #0F8A8A; --on-accent: #FFFFFF; --accent-wash: #E3F4F3; --accent-text: #0B7070; }
[data-accent="ink"]    { --accent: #10161C; --on-accent: #FFFFFF; --accent-wash: #ECEDE8; --accent-text: #10161C; }
[data-theme="dark"][data-accent="violet"] { --accent: #8C76FF; --accent-wash: rgba(140,118,255,.14); --accent-text: #B2A4FF; }
[data-theme="dark"][data-accent="teal"] { --accent: #2BB5B0; --on-accent: #06201F; --accent-wash: rgba(43,181,176,.13); --accent-text: #5CD0CB; }
[data-theme="dark"][data-accent="ink"] { --accent: #F1F2EE; --on-accent: #10161C; --accent-wash: rgba(255,255,255,.08); --accent-text: #F1F2EE; }
/* red (13 Nov 2026, a brand red like Who Says Padel's #D60F19): white on it 5.3 : 1, the small text #B00D15 6.7 : 1 on paper; on Night a
   lighter red with ink on it. Checked in tools/brand.test.mjs. Only on the older looks: the templates keep the orange primary. */
[data-accent="red"]    { --accent: #D60F19; --on-accent: #FFFFFF; --accent-wash: #FDECEC; --accent-text: #B00D15; }
[data-theme="dark"][data-accent="red"] { --accent: #FF5A63; --on-accent: #10161C; --accent-wash: rgba(255,90,99,.13); --accent-text: #FF8A91; }

/* Language switch (glass, sits on the cover) */
.top-r { display: flex; align-items: center; gap: 8px; }
.lang-sw { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(16,22,28,.38); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); }
.lang-sw button { height: 32px; min-width: 38px; padding: 0 9px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .04em; color: rgba(255,255,255,.75); transition: background-color .2s, color .2s; }
.lang-sw button[aria-pressed="true"] { background: #fff; color: #10161C; }

/* "Translated automatically · See original" */
.tr-note { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; font: 500 11.5px/1.3 var(--sans); color: var(--faint); }
.tr-note[hidden] { display: none; }
.tr-note svg { width: 13px; height: 13px; flex: none; }
.tr-note button { font: inherit; font-weight: 600; color: var(--soft); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: 2px; }
.on-photo .tr-note, .tr-note.on-photo { color: rgba(255,255,255,.66); }
.on-photo .tr-note button, .tr-note.on-photo button { color: rgba(255,255,255,.9); text-decoration-color: rgba(255,255,255,.4); }

/* Sections as an ordered stack (owner reorders) */
[data-sections] { display: flex; flex-direction: column; gap: 40px; }
[data-sections] > .section { margin-top: 0; }
[data-sec][hidden] { display: none !important; }

/* Now card — the headline fact, right under the name */
.nowcard { position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; border-radius: 22px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow-lift); transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
/* Playing now: the same card, with the label in the live red, so a visitor reads it before anything else on the page */
.nowcard--live .nowcard__label { color: #C42620; }
[data-theme="dark"] .nowcard--live .nowcard__label { color: #FF6B61; }
.nowcard--live .nowcard__label .pulse { background: #E5322D; }
.nowcard--live .nowcard__label .pulse::after { background: #E5322D; }
a.nowcard:active { transform: scale(.985); }
@media (hover: hover) { a.nowcard:hover { transform: translateY(-2px); } }
.nowcard__logo { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; flex: none; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--rule); }
.nowcard__logo img { width: 100%; height: 100%; object-fit: cover; }
.nowcard__text { flex: 1; min-width: 0; }
.nowcard__label { display: flex; align-items: center; gap: 7px; font: 600 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.nowcard__label .pulse { width: 7px; height: 7px; }
.nowcard__main { display: block; margin-top: 7px; font: 600 16.5px/1.25 var(--sans); letter-spacing: -.005em; }
.nowcard__main b { font-weight: 700; }
.nowcard__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; font-size: 13px; color: var(--soft); }
.nowcard__go { width: 18px; height: 18px; color: var(--faint); flex: none; }
.cdcheck { display: inline-flex; align-items: center; gap: 4px; font: 600 11.5px/1 var(--sans); color: var(--ink); }
.cdcheck svg { width: 13px; height: 13px; color: #FF5A1F; }
/* checks Court Duty itself made (lib/pagedata.js setMarks): small, quiet, one line of badges under the chips */
.vmarks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; }
.vmarks__t { flex-basis: 100%; font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.vmark { display: inline-flex; align-items: center; gap: 5px; font: 600 12.5px/1.2 var(--sans); color: var(--ink); }
.vmark svg { width: 14px; height: 14px; color: #FF5A1F; flex: none; }
.nowcard__also { display: flex; align-items: center; gap: 10px; margin: 10px 4px 0; font-size: 13.5px; color: var(--soft); }
.nowcard__also svg { width: 16px; height: 16px; color: var(--accent-text); flex: none; }

/* Brand-new page (only name + photo) */
[data-state="new"] [data-sec]:not(.on), [data-state="new"] [data-new-hide] { display: none !important; }
[data-state="new"] .hl-more, [data-state="new"] .hl-list, [data-state="new"] .hl-all { display: none !important; }

/* Customise sheet (owner/demo only) */
.proto-pill { position: fixed; right: 12px; bottom: 12px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 13px; border-radius: 999px; background: #10161C; color: #fff; font: 600 13px/1 var(--sans); box-shadow: 0 10px 28px -8px rgba(0,0,0,.45); }
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #FFD23F; }
.is-clean .proto-pill { display: none; }
.cust { position: fixed; z-index: 45; left: 50%; bottom: 0; width: min(100%, 420px); translate: -50% 0; transform: translateY(105%); transition: transform .45s var(--ease-out); background: var(--card); color: var(--ink); border-radius: 24px 24px 0 0; border: 1px solid var(--rule); box-shadow: 0 -20px 50px -20px rgba(0,0,0,.35); padding: 8px 18px max(18px, env(safe-area-inset-bottom)); max-height: 80svh; overflow: auto; }
.cust.is-open { transform: none; }
@media (min-width: 1024px) { .cust { left: auto; right: 20px; bottom: 20px; translate: none; border-radius: 22px; transform: translateY(calc(100% + 40px)); } .cust.is-open { transform: none; } }
.cust__head { display: flex; align-items: center; gap: 10px; padding: 12px 0 10px; }
.cust__head strong { font: 900 22px/1 var(--display); text-transform: uppercase; }
.cust__x { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); font-size: 20px; line-height: 1; }
.cust__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); font: 600 13.5px/1.2 var(--sans); }
.cust__row--col { flex-direction: column; align-items: stretch; }
.cust__row small { font-weight: 500; color: var(--faint); margin-left: 6px; }
.cust__sw { display: flex; gap: 8px; }
.cust__sw button { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .2s var(--ease-out); }
.cust__sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--bg); border: 1px solid var(--rule); }
.seg button { height: 32px; padding: 0 12px; border-radius: 9px; font: 600 12.5px/1 var(--sans); color: var(--soft); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.cust__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.cust__list li { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 12px; background: var(--bg); font-weight: 500; }
.cust__list label { display: flex; align-items: center; gap: 8px; }
.cust__list input { accent-color: var(--ink); width: 16px; height: 16px; }
.cust__list button { width: 30px; height: 30px; border-radius: 8px; color: var(--soft); }
.cust__list button:hover { background: var(--card); color: var(--ink); }

/* =========== Highlights =========== */
.hl-pin { position: relative; display: block; width: 100%; border-radius: 26px; overflow: hidden; color: #fff; isolation: isolate; aspect-ratio: 4 / 5; background: #14191F; box-shadow: var(--shadow-lift); text-align: left; }
.hl-pin > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.hl-pin::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,10,12,.9) 0%, rgba(8,10,12,.5) 34%, rgba(8,10,12,0) 60%), linear-gradient(to bottom, rgba(8,10,12,.35), rgba(8,10,12,0) 26%); }
@media (hover: hover) { .hl-pin:hover > img { transform: scale(1.03); } }
.hl-pin__top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: flex-start; }
.hl-logo { height: 52px; min-width: 52px; padding: 0 12px; border-radius: 14px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 18px -8px rgba(0,0,0,.5); }
.hl-logo img { max-height: 30px; max-width: 96px; object-fit: contain; }
.hl-logo--dark { background: #10161C; }
.hl-logo--red { background: #E11A2F; }
.hl-tag { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font: 600 11px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hl-tag svg { width: 13px; height: 13px; }
.hl-pin__body { position: absolute; left: 20px; right: 20px; bottom: 20px; }
.hl-result { display: block; font: 900 clamp(64px, 19vw, 92px)/.82 var(--display); text-transform: uppercase; letter-spacing: .003em; }
.hl-result i { font-style: normal; color: var(--accent); }
[data-accent="ink"] .hl-result i { color: #fff; }
.hl-event { display: block; margin-top: 12px; font: 600 18px/1.25 var(--sans); }
.hl-meta { display: block; margin-top: 4px; font-size: 13.5px; color: rgba(255,255,255,.75); }
.hl-cap { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.9); max-width: 36ch; }

.hl-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); margin: 12px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 10px; scrollbar-width: none; list-style: none; }
.hl-row::-webkit-scrollbar { display: none; }
.hl-card { position: relative; flex: none; width: 62%; max-width: 250px; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; isolation: isolate; text-align: left; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.hl-card--photo { color: #fff; background: #14191F; }
.hl-card--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hl-card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,10,12,.88), rgba(8,10,12,.05) 62%); }
.hl-card--plain { background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.hl-card .hl-logo { position: absolute; top: 14px; left: 14px; height: 40px; min-width: 40px; padding: 0 9px; border-radius: 11px; }
.hl-card .hl-logo img { max-height: 22px; max-width: 74px; }
.hl-card--plain .hl-logo { box-shadow: inset 0 0 0 1px var(--rule); }
.hl-card--plain .hl-big { position: absolute; top: 0; left: 0; right: 0; height: 58%; display: grid; place-items: center; background: var(--bg); border-bottom: 1px solid var(--rule); }
.hl-card--plain .hl-big img { max-width: 62%; max-height: 46%; object-fit: contain; }
.hl-card--plain .hl-big.is-dark { background: #10161C; }
.hl-card__res { font: 900 34px/.9 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.hl-card__ev { margin-top: 6px; font: 600 14px/1.25 var(--sans); }
.hl-card__meta { margin-top: 3px; font-size: 12.5px; opacity: .72; }
.hl-card--plain .hl-card__meta { color: var(--soft); opacity: 1; }
.hl-card .play { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.92); color: #10161C; }
.hl-card .play svg { width: 14px; height: 14px; margin-left: 2px; }
@media (hover: hover) { .hl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); } }
.hl-arrows { display: none; gap: 6px; }
.hl-arrows button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--rule-strong); background: var(--card); }
.hl-arrows svg { width: 15px; height: 15px; }
@media (min-width: 1024px) {
  .hl-row { margin: 12px 0 0; padding: 4px 0 10px; scroll-padding-inline: 0; }
  .hl-card { width: calc((100% - 24px) / 3); max-width: none; }
  .hl-arrows { display: inline-flex; }
  .hl-pin { aspect-ratio: 16 / 11; }
}
.hl-list { list-style: none; margin: 10px 0 0; padding: 0; display: none; gap: 8px; }
.hl-list.expanded { display: grid; }
.hl-list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--rule); font-size: 14px; }
.hl-list .hl-logo { height: 36px; min-width: 56px; padding: 0 8px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); }
.hl-list .hl-logo img { max-height: 20px; max-width: 48px; }
.hl-list strong { flex: 1; font-weight: 600; min-width: 0; }
.hl-list em { font-style: normal; font: 700 11px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--soft); }
.hl-list time { font: 800 15px/1 var(--display); color: var(--faint); width: 34px; text-align: right; }
.hl-titles { margin: -2px 0 10px; font: 500 12.5px/1.3 var(--sans); color: var(--soft); }
.hl-titles b { font: 800 13px/1 var(--display); color: var(--ink); }
.hl-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; height: 40px; font: 600 13.5px/1 var(--sans); color: var(--soft); }
.hl-all:hover { color: var(--ink); }
.cust__covers { display: flex; gap: 8px; }
.cust__covers button { width: 44px; height: 44px; border-radius: 10px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.cust__covers button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }

/* Provenance: verified (official source) vs added by the person */
.src { display: inline-flex; align-items: center; gap: 4px; font: 500 11.5px/1.2 var(--sans); color: var(--soft); white-space: nowrap; }
.src svg { width: 12px; height: 12px; flex: none; }
.src--ok svg { color: #14613F; }
[data-theme="dark"] .src--ok svg { color: #4FD6A6; }
.src--own { color: var(--faint); }
.src--own svg { color: var(--faint); }
.on-photo .src, .src.on-photo { color: rgba(255,255,255,.78); }
.on-photo .src--ok svg { color: #6EE7B0; }
/* read from the sport's own site (lib/rankings.js): the line names the site and links to it, and never says we verified anything */
.src--off { color: var(--soft); }
.src--off svg { color: var(--soft); }
.src--off a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.src--off a:hover { color: var(--ink); }
.src--off i { font-style: normal; color: var(--faint); }
.on-photo .src--off a, .src--off.on-photo a, .on-photo .src--off i, .src--off.on-photo i { color: inherit; }

/* Playing now (auto-detected) */
.live { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); }
.live__dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #E5322D; flex: none; margin: 0 4px 0 2px; }
.live__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #E5322D; animation: ping 1.8s var(--ease-out) infinite; }
.live__text { flex: 1; min-width: 0; }
.live__text b { display: block; font: 700 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #C42620; }
[data-theme="dark"] .live__text b { color: #FF6B61; }
.live__text strong { display: block; margin-top: 5px; font: 600 14.5px/1.3 var(--sans); }
.live__text .src { margin-top: 5px; }
.live .hl-logo { height: 40px; min-width: 52px; padding: 0 8px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--rule); }
.live .hl-logo img { max-height: 22px; max-width: 56px; }

/* Official rankings */
.ranks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rank { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); min-height: 132px; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
a.rank:active { transform: scale(.98); }
@media (hover: hover) { a.rank:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); } }
.rank .hl-logo { height: 34px; min-width: 0; width: fit-content; padding: 0 9px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); }
.rank .hl-logo img { max-height: 20px; max-width: 78px; }
.rank__n { font: 900 40px/.9 var(--display); letter-spacing: .005em; }
.rank__n small { font-size: 20px; color: var(--faint); margin-right: 1px; }
.rank__l { font-size: 12.5px; color: var(--soft); line-height: 1.3; }
.rank .src { margin-top: auto; }
.rank__go { position: absolute; top: 14px; right: 14px; width: 15px; height: 15px; color: var(--faint); }
.rank--none { background: transparent; box-shadow: none; border-style: dashed; }
.rank--none .hl-logo { opacity: .55; filter: grayscale(1); }
.rank--none .rank__l { color: var(--faint); }
/* the ranking that filled itself: it leads the row and spans both columns on a phone, because it is the one real number */
.rank--auto { grid-column: 1 / -1; }
.rank--auto .rank__n { font-size: 48px; }
@media (min-width: 1024px) { .rank--auto { grid-column: span 2; } }
@media (min-width: 1024px) { .ranks { grid-template-columns: repeat(4, 1fr); } }
/* logo sizing: SVGs without width need an explicit height */
.hl-logo img { height: 26px; width: auto; max-width: 104px; max-height: none; }
.hl-card .hl-logo img { height: 20px; max-width: 76px; }
.hl-list .hl-logo img, .live .hl-logo img { height: 18px; max-width: 52px; }
.rank .hl-logo img { height: 18px; max-width: 80px; }
.hl-card--plain .hl-big img { width: 64%; height: auto; max-height: 44%; max-width: none; }
.is-clean .cust { display: none; }
.rank__n { display: block; }
.rank__l { display: block; margin-top: 6px; }
/* the Instagram grid with fewer than 3 photos, or 4: never a gap (lib/pages/pubpage.js igBlock) */
.ig__grid.n1 { grid-template-columns: 1fr; }
.ig__grid.n1 .ig__post { aspect-ratio: 16 / 10; }
.ig__grid.n2, .ig__grid.n4 { grid-template-columns: repeat(2, 1fr); }
.ig__grid.n2 .ig__post, .ig__grid.n4 .ig__post { aspect-ratio: 1; }
/* Highlight cards without a photo (owner, 21 Oct 2026: "QUARTERFINAL" was cut). The logo tile was absolute over the top 58% and the
   text stacked up from the bottom, so a two-line event pushed the result word under the tile. Now the tile is in the flow and takes
   what the text leaves; the event is held to two lines. */
.hl-card--plain { justify-content: flex-start; padding: 0; }
.hl-card--plain .hl-big { position: relative; top: auto; left: auto; right: auto; height: auto; flex: 1 1 0; min-height: 38%; }
.hl-card--plain > :not(.hl-big):not(.hl-logo) { margin-inline: 16px; }
.hl-card--plain .hl-card__res { margin-top: 14px; }
.hl-card--plain > :last-child { margin-bottom: 16px; }
.hl-card__ev { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* the pinned card with no photo shows its competition's mark large instead of an empty dark field */
.hl-pin__mark { position: absolute; top: 18%; left: 50%; transform: translateX(-50%); width: 44%; z-index: -1; display: grid; place-items: center; }
.hl-pin__mark img { width: 100%; height: auto; max-height: 120px; object-fit: contain; }
.hl-pin__mark--light { padding: 16px 20px; border-radius: 18px; background: #fff; }
/* The links list is a grid: its items would not shrink below their content, so a long address under a link label made a club
   page 536px wide on a 390px phone (Android then zooms the whole page out). One column that may shrink, and the address ellipsises. */
.links { grid-template-columns: minmax(0, 1fr); }
.links > li { min-width: 0; }

/* ==========================================================================================================================
   Design B "court light" (owner strategy 4 Nov 2026, design/linkinbio/2026-11-04/b-*.html): the default look of every person and
   club page. Airy paper, faint court lines behind the header, white rounded cards, ONE orange button. Shared by pp-site.css (a person)
   and pp-club.css (a club): the centred identity, the club card, the chips, the buttons and the "Made with" footer.
   ========================================================================================================================== */
.b-col { max-width: 580px; margin: 0 auto; padding: 0 16px calc(28px + env(safe-area-inset-bottom)); }
.hero, .bhero { position: relative; isolation: isolate; text-align: center; padding-bottom: 6px; }
.hero::before, .bhero::before { content: ""; position: absolute; z-index: -1; left: -50vw; right: -50vw; top: 0; height: 270px; pointer-events: none;
  background: linear-gradient(#DADDD6, #DADDD6) 50% 0 / 1px 100% no-repeat, linear-gradient(#DADDD6, #DADDD6) 0 64% / 100% 1px no-repeat,
    linear-gradient(#E6E8E2, #E6E8E2) 0 22% / 100% 1px no-repeat, linear-gradient(180deg, #F1F2EC, rgba(251,251,248,0));
  -webkit-mask: linear-gradient(#000 55%, transparent); mask: linear-gradient(#000 55%, transparent); }
.hero__top { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.hero__top .lang-sw { background: #fff; border: 1px solid #DADDD6; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hero__top .lang-sw button { color: var(--soft); height: 30px; }
.hero__top .lang-sw button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.hero__share { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: #fff; border: 1px solid #DADDD6; color: var(--ink); }
.hero__share svg { width: 18px; height: 18px; }
/* the photo slot: a real photo when there is one, else the monogram with its orange dot */
.av { width: 104px; height: 104px; margin: 4px auto 0; border-radius: 999px; display: grid; place-items: center; overflow: hidden; position: relative;
  background: #fff; border: 1px solid #DADDD6; box-shadow: 0 0 0 6px #FBFBF8, 0 0 0 7px #E6E8E2, 0 10px 24px -14px rgba(16,22,28,.35); }
.av span { font: 900 40px/1 var(--display); color: var(--ink); letter-spacing: .01em; }
.av:not(.av--photo)::after { content: ""; position: absolute; right: 18px; top: 18px; width: 9px; height: 9px; border-radius: 999px; background: #FF5A1F; }
.av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.av--logo img { object-fit: contain; padding: 14px; background: #fff; }
.hero .name, .bhero .name { margin: 16px 0 0; font: 900 clamp(40px, 11.5vw, 54px)/.92 var(--display); text-transform: uppercase; letter-spacing: .005em; color: var(--ink); overflow-wrap: anywhere; text-wrap: balance; }
.hero .role, .bhero .role { margin: 8px 0 0; font: 500 15px/1.4 var(--sans); color: var(--soft); }
.hero .headline, .bhero .headline { margin: 10px auto 0; max-width: 38ch; font: 400 15px/1.5 var(--sans); color: var(--ink); text-wrap: pretty; }
.hero .tr-note, .bhero .tr-note { justify-content: center; }
/* the club card: where they coach now, and where that link comes from */
.anc { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 14px 10px 10px; min-height: 64px; text-align: left; border-radius: 14px;
  background: #fff; border: 1px solid #E3E5DF; box-shadow: 0 6px 16px -12px rgba(16,22,28,.18); color: var(--ink); }
.anc__l { width: 44px; height: 44px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 999px; background: #F3F4EF; border: 1px solid #E3E5DF; font: 900 18px/1 var(--display); }
.anc__l img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.anc__t { flex: 1; min-width: 0; display: grid; }
.anc__t small { font: 400 12px/1.3 var(--sans); color: var(--soft); }
.anc__t b { font: 600 16px/1.25 var(--sans); overflow-wrap: anywhere; }
.anc__go { width: 18px; height: 18px; flex: none; color: #8A939B; }
a.anc:hover { border-color: #C8CCC4; }
.vf { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font: 600 12px/1.2 var(--sans); color: #14613F; }
.vf svg { width: 13px; height: 13px; flex: none; }
.vf--added { font-weight: 500; color: var(--soft); } /* AA (QA 16 Nov 2026) */
.stk { display: flex; flex: none; }
.stk i { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; overflow: hidden; font: 900 13px/1 var(--display); font-style: normal; background: var(--ink); color: #fff; border: 2px solid #fff; }
.stk i img { width: 100%; height: 100%; object-fit: cover; }
.stk i + i { margin-left: -9px; }
/* the chips: credentials, never a bare "Verified" */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid #DADDD6; font: 500 12.5px/1.15 var(--sans); color: var(--ink); max-width: 100%; overflow-wrap: anywhere; }
.chips svg { width: 14px; height: 14px; flex: none; color: #FF5A1F; }
.hero .hero__seals, .bhero .hero__seals { justify-content: center; margin-top: 14px; }
.hero .hero__seal { border-width: 1px; border-color: #DADDD6; font-size: 12.5px; }
/* the buttons: white rounded cards, the primary in orange */
.lib { margin: 20px 0 0; text-align: left; }
.lib__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lib__a { display: flex; align-items: center; gap: 14px; min-height: 62px; padding: 8px 14px 8px 8px; border-radius: 14px; background: #fff; border: 1px solid #E3E5DF;
  box-shadow: 0 1px 2px rgba(16,22,28,.04), 0 6px 16px -12px rgba(16,22,28,.18); color: var(--ink); transition: border-color 140ms ease, background-color 140ms ease, transform 120ms ease; }
.lib__ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #FFEFE7; color: #B83A0A; }
.lib__ic svg { width: 20px; height: 20px; }
.lib__t { flex: 1; min-width: 0; display: grid; }
.lib__t b { font: 600 16px/1.25 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib__t small { font: 400 13px/1.35 var(--sans); color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib__go { width: 18px; height: 18px; flex: none; color: #8A939B; transition: transform 140ms ease; }
.lib__a--pri { background: #FF5A1F; border-color: #FF5A1F; color: #10161C; box-shadow: 0 10px 24px -14px rgba(255,90,31,.8); }
.lib__a--pri .lib__ic { background: #10161C; color: #fff; }
.lib__a--pri small { color: #3B2416; }
.lib__a--pri .lib__go { color: #10161C; }
.lib__a:active { transform: scale(.97); }
.lib__a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .lib__a:hover { border-color: #C8CCC4; } .lib__a--pri:hover { background: #FF6A33; border-color: #FF6A33; } .lib__a:hover .lib__go { transform: translate(1px, -1px); } }
@media (prefers-reduced-motion: reduce) { .lib__a, .lib__go { transition: none; } }
/* white rounded cards for every block below */
.bcard { margin-top: 16px; background: #fff; border: 1px solid #E3E5DF; border-radius: 14px; padding: 20px 18px; }
.bcard__h { margin: 0 0 12px; font: 600 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
/* the footer: "Made with Court Duty · Make your free padel page" */
.mlinks { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px 14px; max-width: 640px; margin: 36px auto 0; padding: 0 16px; font: 500 13px/1.5 var(--sans); text-align: center; }
.mlinks__k { color: var(--soft, #5C6670); }
.mlinks a { color: inherit; text-decoration: underline; text-decoration-color: rgba(16,22,28,.28); text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.mlinks a:hover { text-decoration-color: currentColor; }
[data-look="night"] .mlinks a { text-decoration-color: rgba(255,255,255,.35); }
/* a name, club, country or city that has a page here (lib/links.js, 10 Nov 2026): the text's own colour, a quiet underline that firms up on hover */
a.lnk { color: inherit; font-weight: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; transition: text-decoration-color .15s; }
a.lnk:hover { text-decoration-color: var(--accent); }
/* the page's network ("Jugó con", "Entrena a", "Jugadores del club", "Mencionado en"): small chips above "Más de" */
.netl { max-width: 640px; margin: 40px auto 0; padding: 0 16px; display: grid; gap: 14px; }
.netl__k { margin: 0 0 8px; font: 600 12px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--soft); text-align: center; }
.netl__l { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.netl__p { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 5px 14px 5px 5px; border: 1px solid var(--rule-strong); border-radius: 999px; background: var(--card); color: var(--ink); font: 500 14px/1.2 var(--sans); text-decoration: none; transition: border-color .15s, transform .12s; }
.netl__p i { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--bg, #F7F7F3); font: 900 12px/1 var(--display); font-style: normal; color: var(--soft); }
.netl__p img { width: 100%; height: 100%; object-fit: cover; }
.netl__p:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .netl__p:hover { border-color: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .netl__p, a.lnk { transition: none; } }
.made-b { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 40px 0 8px; text-align: center; }
.made-b .made { height: 44px; }
.made-b__mk { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font: 600 13px/1 var(--sans); color: #B83A0A; }
.made-b__mk svg { width: 15px; height: 15px; }
@media (min-width: 900px) { .hero .name, .bhero .name { font-size: 58px; } }
/* the court lines fade out at every edge, so the 580 px column never shows a box on a wide screen */
.hero::before, .bhero::before { left: -16px; right: -16px; -webkit-mask: linear-gradient(#000 55%, transparent), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(#000 55%, transparent), linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-composite: intersect; }

/* ---------- the titles strip (5 Nov 2026): the wins, proud, in the hero; each with its circuit's own logo, or a name tile ---------- */
.tt { margin: 18px 0 0; padding: 14px 14px 8px; text-align: left; border-radius: 14px; background: #10161C; color: #fff; box-shadow: 0 14px 30px -18px rgba(16,22,28,.55); }
.tt__h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 4px; font: 800 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.tt__h b { font: 900 34px/.9 var(--display); letter-spacing: 0; color: #FF5A1F; }
.tt__l { display: grid; margin: 0; padding: 0; list-style: none; }
.tt__i { display: flex; align-items: center; gap: 12px; padding: 9px 0; }
.tt__i + .tt__i { border-top: 1px solid rgba(255,255,255,.1); }
.tt__lg { width: 56px; height: 40px; flex: none; display: grid; place-items: center; padding: 6px; border-radius: 8px; background: #fff; overflow: hidden; }
.tt__lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tt__lg--dark { background: #222A31; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.tt__lg--name { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); color: #fff; font: 900 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.tt__lg--mono { font-size: 17px; }
.tt__t { min-width: 0; display: grid; gap: 3px; }
.tt__t b { font: 600 15px/1.25 var(--sans); color: #fff; overflow-wrap: anywhere; }
.tt__t small { font: 600 12px/1.2 var(--sans); color: #FF8A5E; letter-spacing: .02em; }
.tt__more { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font: 600 13px/1 var(--sans); color: rgba(255,255,255,.78); }
.tt__more svg { width: 14px; height: 14px; }
/* a coach's club is the headline: a bigger crest, the city after the name, the clubs before on one quiet line */
.anc--lead { padding: 12px 16px 12px 12px; min-height: 76px; }
.anc--lead .anc__l { width: 52px; height: 52px; border-radius: 12px; }
.anc--lead .anc__t b { font-size: 17px; }
.anc__city { font-weight: 500; color: var(--soft); }
.anc__past { margin: 8px 0 0; font: 500 12.5px/1.4 var(--sans); color: var(--faint); text-align: center; }
/* an Instagram or TikTok clip: a poster card in the platform's colours, with the play button */
.video--out { background: linear-gradient(160deg, #1B2127 0%, #10161C 100%); }
.video--ig { background: radial-gradient(120% 90% at 20% 110%, #FFC15A 0%, #FF5A1F 35%, #C2185B 70%, #6A2CC9 100%); }
.video--tiktok { background: linear-gradient(160deg, #10161C 30%, #1F2A33 100%); box-shadow: inset 4px 0 0 #25F4EE, inset -4px 0 0 #FE2C55; }

/* ---------- the pro card (5 Nov 2026): partner + next tournament, open to, the people they work with, an amateur's level ---------- */
.pcs { display: grid; gap: 8px; margin-top: 10px; text-align: left; }
.pcs--2 { grid-template-columns: 1fr 1fr; }
.pc { position: relative; display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 64px; padding: 10px 12px 10px 10px; border-radius: 14px; background: #fff; border: 1px solid #E3E5DF;
  box-shadow: 0 6px 16px -12px rgba(16,22,28,.18); color: var(--ink); }
a.pc:hover { border-color: #C8CCC4; }
.pc__m { flex: none; display: grid; place-items: center; }
.pc__mono, .pc__cal { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: #10161C; color: #fff; font: 900 16px/1 var(--display); font-style: normal; letter-spacing: .02em; }
.pc__cal { border-radius: 10px; background: #FF5A1F; color: #10161C; font-size: 20px; }
.pc__lg { width: 44px; height: 40px; display: grid; place-items: center; padding: 5px; border-radius: 8px; background: #fff; border: 1px solid #E3E5DF; }
.pc__lg--dark { background: #10161C; border-color: #10161C; }
.pc__lg img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pc__t { min-width: 0; display: grid; gap: 1px; }
.pc__t small { font: 700 10.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #B83A0A; }
.pc__t b { font: 600 14.5px/1.2 var(--sans); overflow-wrap: anywhere; }
.pc__t > span { font: 500 12px/1.3 var(--sans); color: var(--soft); }
.pc__go { position: absolute; right: 8px; top: 8px; width: 14px; height: 14px; color: #8A939B; }
.pcs--2 .pc { flex-direction: column; align-items: flex-start; gap: 8px; }
.ot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; }
.ot__k { margin-right: 2px; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.ot__c { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 999px; background: #FFF3EC; border: 1px solid #FFC9B0; font: 600 12.5px/1 var(--sans); color: #8C2B05; }
.ot__c::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #FF5A1F; }
.ppl { margin-top: 14px; text-align: left; }
.ppl__k { margin: 0 0 6px; font: 700 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); text-align: center; }
.ppl__l { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ppl__p { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 3px 12px 3px 3px; border-radius: 999px; background: #fff; border: 1px solid #DADDD6; font: 600 13px/1 var(--sans); color: var(--ink); }
.ppl__p i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: #10161C; color: #fff; font: 900 11.5px/1 var(--display); font-style: normal; }
.ppl__p svg { width: 12px; height: 12px; color: #8A939B; }
/* the network (5 Nov 2026): a small tick once the other side confirmed; past partners carry years · circuit; the owner alone sees
   who is not on Court Duty yet (dashed, never on a visitor's page) */
.ppl__p span small { display: block; margin-top: 2px; font: 500 11px/1.1 var(--sans); color: var(--soft); }
.ppl__p span:has(small) { padding: 2px 0; }
.ppl__p .ppl__ok { width: 14px; height: 14px; color: #14613F; }
.ppl__p.is-ok { border-color: #B9D8C6; }
.ppl__p--off { border-style: dashed; background: transparent; }
.ppl__p em { font: 500 11px/1 var(--sans); font-style: normal; color: var(--faint); }
.pc .vf { margin-top: 2px; font-size: 11.5px; }
.pc.is-ok { border-color: #B9D8C6; }
.lv { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #E3E5DF; text-align: left; box-shadow: 0 6px 16px -12px rgba(16,22,28,.18); }
.lv__n { flex: none; min-width: 64px; height: 64px; padding: 0 10px; display: grid; place-items: center; border-radius: 12px; background: #FF5A1F; color: #10161C; font: 900 38px/1 var(--display); }
.lv__t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.lv__t small { font: 700 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.lv__t b { font: 600 14px/1.25 var(--sans); }
.lv__t a { font: 600 12.5px/1.3 var(--sans); color: #B83A0A; }
.lv__shots { display: flex; flex: none; }
.lv__shot { width: 40px; height: 64px; padding: 0; border-radius: 7px; overflow: hidden; border: 2px solid #fff; box-shadow: 0 0 0 1px #DADDD6; background: #F3F4EF; cursor: zoom-in; }
.lv__shot + .lv__shot { margin-left: -14px; }
.lv__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ---------- Open to collabs (5 Nov 2026): a card, prominent, with the brands button inside ---------- */
.ot { display: grid; justify-items: center; gap: 10px; margin: 14px 0 0; padding: 14px 14px 12px; border-radius: 14px; background: #FFF7F2; border: 1px solid #FFC9B0; }
.ot__k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 800 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8C2B05; }
.ot__k .pulse { --accent: #FF5A1F; width: 7px; height: 7px; }
.ot__l { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.ot__c { background: #fff; }
.ot .brandbtn-w { margin: 2px 0 0; }
.ot .brandbtn { min-height: 40px; background: #10161C; border-color: #10161C; color: #fff; }
.ot .brandbtn svg { color: #FF8A5E; }
/* a freelance coach: the same card as a club, a pin instead of a crest */
.anc--free .anc__l { background: #10161C; border-color: #10161C; color: #fff; }
.anc--free .anc__l svg { width: 22px; height: 22px; }

/* ---------- the amateur's numbers, from their own screenshots (5 Nov 2026) ---------- */
.st { margin-top: 14px; padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #E3E5DF; text-align: left; box-shadow: 0 6px 16px -12px rgba(16,22,28,.18); }
.st__top { display: flex; align-items: stretch; gap: 12px; }
.st__lv { flex: none; min-width: 76px; display: grid; align-content: center; justify-items: center; gap: 4px; padding: 8px 10px; border-radius: 12px; background: #FF5A1F; color: #10161C; }
.st__lv small { font: 800 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.st__lv b { font: 900 40px/.9 var(--display); }
.st__n { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; }
.st__n div { display: grid; align-content: center; gap: 4px; padding: 8px 6px; border-radius: 10px; background: #F3F4EF; text-align: center; }
.st__n dd { margin: 0; font: 900 26px/1 var(--display); color: var(--ink); }
.st__n dt { font: 700 10px/1.1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.st__bar { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: #EDEFE9; overflow: hidden; }
.st__bar i { display: block; height: 100%; border-radius: inherit; background: #14613F; }
.st__row { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; }
.st__k { flex: none; width: 64px; margin: 0; padding-top: 8px; font: 700 10.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.st__rec { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.st__r { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 8px 0 3px; border-radius: 7px; background: #F3F4EF; font: 600 11.5px/1 var(--sans); color: var(--ink); white-space: nowrap; }
.st__r b { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 5px; font: 900 12px/1 var(--display); color: #fff; background: #8A939B; }
.st__r.is-w b { background: #14613F; }
.st__r.is-l b { background: #B3261E; }
.st__clubs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.st__clubs span { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 7px; border: 1px solid #DADDD6; font: 600 12px/1 var(--sans); color: var(--ink); }
.st__src { display: grid; gap: 6px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #EDEFE9; list-style: none; }
.st__src li { display: flex; align-items: center; gap: 10px; }
.st__shot { flex: none; width: 34px; height: 54px; padding: 0; border-radius: 6px; overflow: hidden; border: 0; box-shadow: 0 0 0 1px #DADDD6; background: #F3F4EF; cursor: zoom-in; }
.st__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.st__src li > span { display: grid; gap: 2px; min-width: 0; }
.st__src b { font: 600 13.5px/1.2 var(--sans); color: var(--ink); }
.st__src small { font: 500 12px/1.2 var(--sans); color: var(--soft); }
.st__note { margin: 10px 0 0; font: 500 11.5px/1.35 var(--sans); color: var(--faint); }
/* the way back + visible breadcrumbs (owner, 10 Nov 2026; lib/pages/pubpage.js crumbsNav): quiet, one line, never wraps the page */
.crumbs { max-width: 580px; margin: 0 auto; padding: 12px 16px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font: 500 13.5px/1.3 var(--sans); color: var(--soft); position: relative; z-index: 2; }
.site > .crumbs { padding: 12px 0 0; }
@media (min-width: 900px) { .site > .crumbs { padding-top: 0; margin-bottom: 30px; } } /* the hero's band reaches 24px above the hero there */
.crumbs a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs__back { color: var(--ink) !important; font-weight: 600; }
.crumbs__back svg { width: 16px; height: 16px; flex: none; }
.crumbs__sep { color: var(--soft); }
