/* Ziyo Lite · Court Line page language (2026-11-10). Loaded after lite.css on every Lite page, with ../tokens.css
   loaded before lite.css (variables, display face, Z tail, main h1 and .panel>h2 rules). Same language as the Full
   site: dark court-line page header with a lime Z tail, lime pill primary action, pill tags, Z-tail dividers.
   Lite keeps its larger body text. See docs/design-system-v1.md. */

/* Page header: the .intro block (and the Z Rating page heading) becomes a dark court-line hero. */
.intro,.lite-hero{background:var(--z-court-lines) right -96px top 12px/300px 220px no-repeat,var(--z-brand);color:#fff;border-radius:20px;padding:20px 20px 22px;margin-bottom:20px}
main .intro h1,main .lite-hero h1{color:#fff;font-size:clamp(34px,10vw,46px);line-height:.98;letter-spacing:.4px;margin:0}
main .intro h1::after,main .lite-hero h1::after{color:var(--z-lime);--z-tail-h:11px;width:min(70%,280px);margin-top:8px}
.intro p,.lite-hero p,.intro .muted,.lite-hero .muted{color:rgba(255,255,255,.84);margin:10px 0 0;font-size:16px}
.intro a{color:#fff}
@media(min-width:600px){.intro,.lite-hero{padding:26px 26px 28px}}

/* Section titles outside panels (e.g. "Upcoming games"): display face with a short Z tail. */
.section-heading h2,.empty h2{font-family:var(--z-font-display);font-style:italic;font-weight:800;text-transform:uppercase;letter-spacing:.3px;line-height:1.05}
.section-heading h2{font-size:clamp(24px,6.5vw,28px)}
.section-heading h2::after{content:"";display:block;margin-top:4px;--z-tail-h:9px;width:48px;height:var(--z-tail-h);background:var(--z-brand);
  -webkit-mask:var(--z-tail-tip) right bottom/calc(var(--z-tail-h)*2.17) var(--z-tail-h) no-repeat,linear-gradient(#000 0 0) left bottom/calc(100% - var(--z-tail-h)*2.1) calc(var(--z-tail-h)/4) no-repeat;
          mask:var(--z-tail-tip) right bottom/calc(var(--z-tail-h)*2.17) var(--z-tail-h) no-repeat,linear-gradient(#000 0 0) left bottom/calc(100% - var(--z-tail-h)*2.1) calc(var(--z-tail-h)/4) no-repeat}
main .panel>h2{font-size:clamp(23px,6vw,27px)}
/* Game card titles stay in the body face: they are long, user-written and often mixed-language. */
.card h2{font-family:inherit;font-style:normal;text-transform:none}

/* Buttons: one lime pill for the main action, white pill for secondary, as on the Full site. */
.button{border-radius:999px;background:var(--z-lime);border-color:var(--z-lime);color:var(--z-ink);font-weight:700;box-shadow:none}
.button:active{background:var(--z-lime-strong);box-shadow:none}
.button.secondary{background:#fff;color:var(--z-brand);border-color:var(--z-line-strong)}
.button.secondary:active{background:var(--z-surface-alt)}
.button.light{background:var(--z-lime);color:var(--z-ink);border-color:var(--z-lime)}
.button.danger{color:var(--z-danger);background:#fff;border-color:#e2b9b9}
/* "View game" on a card: a quiet full-width row, not a second primary. */
.card .button{border-radius:999px;background:var(--z-surface-alt);border-color:transparent;color:var(--z-brand)}
.card .button:active{background:#e1eeca}

/* Tags and filter chips: pill shape; the selected chip is solid brand green. */
.badge,.availability{border-radius:999px;font-size:13px;font-weight:700;padding:5px 11px}
.badge{background:var(--z-level-tint);color:var(--z-level)}
.badge.confirmed{background:var(--z-success-tint);color:var(--z-success)}
.badge.waiting{background:var(--z-warning-tint);color:var(--z-warning)}
.availability{background:var(--z-success-tint);color:var(--z-success)}
.availability.is-full{background:var(--z-neutral-tint);color:var(--z-neutral)}
.chip[aria-pressed=true]{background:var(--z-brand);border-color:var(--z-brand);color:#fff}
.date-tag:before{background:var(--z-lime-strong)}

/* Game card: the price row sits under a Z-tail divider instead of a dashed line. */
.card-bottom{position:relative;border-top:0;padding-top:20px}
.card-bottom::before{content:"";position:absolute;left:0;right:0;top:0;--z-tail-h:7px;height:var(--z-tail-h);background:var(--z-line-strong);
  -webkit-mask:var(--z-tail-tip) right bottom/calc(var(--z-tail-h)*2.17) var(--z-tail-h) no-repeat,linear-gradient(#000 0 0) left bottom/calc(100% - var(--z-tail-h)*2.1) calc(var(--z-tail-h)/4) no-repeat;
          mask:var(--z-tail-tip) right bottom/calc(var(--z-tail-h)*2.17) var(--z-tail-h) no-repeat,linear-gradient(#000 0 0) left bottom/calc(100% - var(--z-tail-h)*2.1) calc(var(--z-tail-h)/4) no-repeat}

/* Place panel accent bar becomes a lime Z tail. */
.place-panel:before{width:56px;height:9px;border-radius:0;background:var(--z-brand);
  -webkit-mask:var(--z-tail-tip) right bottom/19.5px 9px no-repeat,linear-gradient(#000 0 0) left bottom/calc(100% - 19px) 2.25px no-repeat;
          mask:var(--z-tail-tip) right bottom/19.5px 9px no-repeat,linear-gradient(#000 0 0) left bottom/calc(100% - 19px) 2.25px no-repeat}

/* Bottom navigation: current tab in brand green with a lime marker. */
.bottom-nav a[aria-current=page]{background:var(--z-surface-alt);color:var(--z-brand);box-shadow:inset 0 -3px 0 var(--z-lime)}

/* Chinese and other non-Latin titles fall back to the system face; keep their weight and drop the forced italics. */
html[lang^="zh"] .intro h1,html[lang^="zh"] .lite-hero h1,html[lang^="ja"] .intro h1,html[lang^="ko"] .intro h1,html[lang^="ar"] .intro h1{font-style:normal}
