/* Play-off Gabes — design system (Apple-style). Propriétés logiques partout (RTL natif).
   Aucun style en ligne : la CSP impose style-src 'self'. */

@font-face { font-family: "Noto Sans Arabic"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/fonts/NotoSansArabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("/fonts/NotoSansArabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Noto Sans Arabic"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/fonts/NotoSansArabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  color-scheme: light dark;

  --brand-blue: #1B35A3;
  --brand-blue-deep: #0F1F6B;
  --brand-blue-light: #4F6FE8;
  --brand-gold: #F5B83D;

  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --text: #1D1D1F;
  --text-secondary: #6E6E73;
  --separator: rgba(60, 60, 67, .12);
  --success: #34C759;
  --warning: #FF9F0A;
  --danger: #FF3B30;

  /* Jetons de texte accessibles (WCAG AA) — vérifiés par scripts/check-contrast.js */
  --btn-bg: #1B35A3;            --on-btn: #FFFFFF;
  --link: #1B35A3;
  --on-gold: #1D1D1F;
  --field-bg: #EEEEF1;
  --placeholder: #636366;
  --danger-text: #C4271D;
  --badge-success-bg: #E3F6E8;  --badge-success-fg: #1B6B2F;
  --badge-warning-bg: #FFF1D6;  --badge-warning-fg: #8A4B00;
  --badge-danger-bg:  #FFE5E3;  --badge-danger-fg:  #B3261E;
  --badge-info-bg:    #E6EBFC;  --badge-info-fg:    #1B35A3;
  --wa-bg: #E3F6E8;             --wa-fg: #1B6B2F;
  --glass-bg: rgba(255, 255, 255, .72);
  --card-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  --focus-ring: rgba(27, 53, 163, .35);

  --radius-card: 20px;
  --radius-ctl: 12px;
  --space: 8px;
  --maxw: 1080px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Noto Sans Arabic", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand-blue: #6E8BFF;
    --bg: #000000;
    --surface: #1C1C1E;
    --text: #F5F5F7;
    --text-secondary: #A1A1A6;
    --separator: rgba(84, 84, 88, .45);

    --btn-bg: #3F5DD6;          --on-btn: #FFFFFF;
    --link: #8FA6FF;
    --field-bg: #2C2C2E;
    --placeholder: #A1A1A6;
    --danger-text: #FF8A80;
    --badge-success-bg: #12301B; --badge-success-fg: #7BE495;
    --badge-warning-bg: #3A2A07; --badge-warning-fg: #FFC857;
    --badge-danger-bg:  #3F1513; --badge-danger-fg:  #FF8A82;
    --badge-info-bg:    #1B2547; --badge-info-fg:    #A9BBFF;
    --wa-bg: #12301B;            --wa-fg: #7BE495;
    --glass-bg: rgba(28, 28, 30, .72);
    --card-shadow: 0 2px 12px rgba(0, 0, 0, .5);
    --focus-ring: rgba(143, 166, 255, .45);
  }
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-block-size: 100vh;
  background: var(--bg); color: var(--text);
  font: 400 17px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  text-align: start;
}
:lang(ar) body, html[lang="ar"] body { line-height: 1.7; letter-spacing: 0; }
html[lang="ar"] * { letter-spacing: 0 !important; }
[hidden] { display: none !important; }
img, svg { max-inline-size: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 34px; font-weight: 700; line-height: 1.2; }
h2 { font-size: 22px; font-weight: 600; line-height: 1.3; }
:lang(fr) h1, :lang(fr) h2 { letter-spacing: -0.02em; }
.caption { font-size: 13px; color: var(--text-secondary); }
.num, time, [data-num] { font-variant-numeric: tabular-nums; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
a { color: var(--link); }

.skip-link {
  position: absolute; inset-inline-start: 8px; inset-block-start: -64px;
  background: var(--btn-bg); color: var(--on-btn); padding: 8px 16px; border-radius: var(--radius-ctl); z-index: 100;
}
.skip-link:focus { inset-block-start: 8px; }

:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------ boutons */
.btn {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-block-size: 44px; padding-inline: 20px;
  border-radius: var(--radius-ctl);
  font: 600 17px/1 var(--font);
  background: var(--btn-bg); color: var(--on-btn);
  transition: transform .2s var(--ease), opacity .2s var(--ease), background-color .2s var(--ease);
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn--block { inline-size: 100%; }
.btn--secondary { background: var(--badge-info-bg); color: var(--badge-info-fg); }
.btn--destructive { background: transparent; color: var(--danger-text); }
.btn--whatsapp { background: var(--wa-bg); color: var(--wa-fg); }
.btn--ghost { background: transparent; color: var(--link); }
.icon { inline-size: 20px; block-size: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--mirror:dir(rtl) { transform: scaleX(-1); }

/* ------------------------------------------------------------ champs */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.input {
  appearance: none; inline-size: 100%; min-block-size: 44px; padding-inline: 14px;
  border: 0; border-radius: var(--radius-ctl);
  background: var(--field-bg); color: var(--text);
  font: 400 17px/1.4 var(--font);
  text-align: start;
  transition: box-shadow .2s var(--ease);
}
.input::placeholder { color: var(--placeholder); opacity: 1; }
.input:focus { outline: 0; box-shadow: 0 0 0 3px var(--focus-ring); }
.input--ltr { direction: ltr; text-align: start; }
html[dir="rtl"] .input--ltr { text-align: right; }
.input-wrap { position: relative; }
.input-wrap .input { padding-inline-end: 52px; }
.input-wrap .toggle {
  position: absolute; inset-inline-end: 4px; inset-block-start: 0; inline-size: 44px; block-size: 44px;
  display: grid; place-items: center; border: 0; background: transparent; color: var(--placeholder); cursor: pointer; border-radius: var(--radius-ctl);
}
.hint { font-size: 13px; color: var(--text-secondary); }
.form-error {
  background: var(--badge-danger-bg); color: var(--badge-danger-fg);
  padding: 12px 14px; border-radius: var(--radius-ctl); font-size: 15px;
}
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ------------------------------------------------------------ cartes, badges, contrôles */
.card { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4;
}
.badge--success { background: var(--badge-success-bg); color: var(--badge-success-fg); }
.badge--warning { background: var(--badge-warning-bg); color: var(--badge-warning-fg); }
.badge--danger  { background: var(--badge-danger-bg);  color: var(--badge-danger-fg); }
.badge--info    { background: var(--badge-info-bg);    color: var(--badge-info-fg); }

.segmented { display: inline-flex; padding: 2px; background: var(--field-bg); border-radius: 10px; gap: 2px; }
.segmented button {
  appearance: none; border: 0; cursor: pointer; min-block-size: 32px; min-inline-size: 44px; padding-inline: 14px;
  border-radius: 8px; background: transparent; color: var(--placeholder); font: 600 14px/1 var(--font);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.segmented button.is-active { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.segmented--glass { background: rgba(255, 255, 255, .18); }
.segmented--glass button { color: #FFFFFF; }
.segmented--glass button.is-active { background: #FFFFFF; color: #0F1F6B; }

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--surface); }
}

.skeleton {
  border-radius: 8px; min-block-size: 16px;
  background: linear-gradient(90deg, var(--field-bg) 25%, var(--separator) 50%, var(--field-bg) 75%);
  background-size: 200% 100%; animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.toast {
  position: fixed; inset-inline: 16px; inset-block-end: 24px; margin-inline: auto; max-inline-size: 420px;
  padding: 14px 18px; border-radius: 16px; font-weight: 600; text-align: center;
}
.toast--success { background: var(--badge-success-bg); color: var(--badge-success-fg); }
.toast--error { background: var(--badge-danger-bg); color: var(--badge-danger-fg); }

/* ------------------------------------------------------------ connexion */
.auth {
  min-block-size: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background: linear-gradient(160deg, var(--brand-blue-deep), #1B35A3);
  color: #FFFFFF;
}
.auth__inner { inline-size: 100%; max-inline-size: 420px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.auth__top { inline-size: 100%; display: flex; justify-content: flex-end; }
.auth__logo { inline-size: 96px; block-size: 96px; }
.auth__brand { text-align: center; }
.auth__brand h1 { color: #FFFFFF; font-size: 34px; }
.auth__brand p { color: #DDE4FF; font-size: 15px; margin-block-start: 4px; }
.auth__card { inline-size: 100%; color: var(--text); padding: 24px; }
.auth__card h2 { margin-block-end: 16px; }
.auth__note { color: #DDE4FF; font-size: 13px; text-align: center; }

/* ------------------------------------------------------------ pages provisoires */
.shell { max-inline-size: var(--maxw); margin-inline: auto; padding: 24px 16px; display: flex; flex-direction: column; gap: 24px; }
.topbar { position: sticky; inset-block-start: 0; z-index: 10; border-block-end: 1px solid var(--separator); }
.topbar__inner { max-inline-size: var(--maxw); margin-inline: auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }

/* ------------------------------------------------------------ application (admin) */
.app { display: grid; grid-template-columns: 1fr; min-block-size: 100vh; }
.sidebar {
  position: sticky; inset-block-start: 0; z-index: 10; display: flex; gap: 8px; align-items: center; justify-content: space-between;
  padding: 8px 12px; border-block-end: 1px solid var(--separator); overflow-x: auto;
}
.sidebar__brand { display: none; align-items: center; gap: 10px; font-weight: 700; }
.sidebar__nav { display: flex; gap: 4px; }
.sidebar__link {
  display: inline-flex; align-items: center; min-block-size: 44px; padding-inline: 14px; border-radius: var(--radius-ctl);
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap;
}
.sidebar__link[aria-current="page"] { background: var(--badge-info-bg); color: var(--badge-info-fg); }
.sidebar__tools { display: flex; gap: 8px; align-items: center; }
.content { max-inline-size: var(--maxw); inline-size: 100%; margin-inline: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 840px) {
  .app { grid-template-columns: 240px 1fr; }
  .sidebar {
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 16px; padding: 24px 12px;
    block-size: 100vh; border-block-end: 0; border-inline-end: 1px solid var(--separator);
  }
  .sidebar__brand { display: flex; padding-inline: 8px; }
  .sidebar__nav { flex-direction: column; }
  .sidebar__tools { margin-block-start: auto; flex-direction: column; align-items: stretch; }
  .content { padding: 32px; }
}
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar .input { inline-size: auto; min-inline-size: 160px; flex: 1 1 160px; }
.list { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--card-shadow); overflow: hidden; list-style: none; margin: 0; padding: 0; }
.list__row {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-block-size: 56px;
  border-block-end: 1px solid var(--separator); color: var(--text); text-decoration: none; inline-size: 100%;
  background: transparent; border-inline: 0; border-block-start: 0; text-align: start; font: inherit; cursor: pointer;
}
.list > li:last-child > .list__row { border-block-end: 0; }
.list__main { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; gap: 2px; }
.list__title { font-weight: 600; overflow-wrap: anywhere; }
.list__sub { font-size: 13px; color: var(--text-secondary); overflow-wrap: anywhere; }
.list__end { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.section { display: flex; flex-direction: column; gap: 12px; }
.section > h2 { font-size: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi__value { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
progress { inline-size: 100%; block-size: 8px; border-radius: 999px; overflow: hidden; appearance: none; border: 0; background: var(--field-bg); }
progress::-webkit-progress-bar { background: var(--field-bg); }
progress::-webkit-progress-value { background: var(--btn-bg); }
progress::-moz-progress-bar { background: var(--btn-bg); }
.empty { background: var(--surface); border-radius: var(--radius-card); padding: 32px 16px; text-align: center; color: var(--text-secondary); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.skeleton--row { block-size: 56px; border-radius: var(--radius-card); }
.check { display: flex; align-items: center; gap: 10px; min-block-size: 44px; }
.check input { inline-size: 22px; block-size: 22px; accent-color: var(--btn-bg); }
.avatar { inline-size: 56px; block-size: 56px; border-radius: 50%; object-fit: cover; background: var(--field-bg); flex: none; }
.avatar--lg { inline-size: 88px; block-size: 88px; }
.secret { font: 600 22px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--field-bg); border-radius: var(--radius-ctl); padding: 14px; overflow-wrap: anywhere; user-select: all; }
.btn--sm { min-block-size: 36px; padding-inline: 14px; font-size: 15px; }
a.btn { text-decoration: none; }

/* dialogues : feuille basse (mobile), centrée (desktop) */
dialog.sheet {
  border: 0; padding: 0; color: var(--text); background: var(--surface); box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
  inline-size: 100%; max-inline-size: 100%; margin: auto 0 0; margin-inline: 0; border-radius: 20px 20px 0 0; max-block-size: 92vh; overflow: auto;
}
dialog.sheet::backdrop { background: rgba(0, 0, 0, .45); }
@media (min-width: 640px) { dialog.sheet { margin: auto; max-inline-size: 520px; border-radius: var(--radius-card); } }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
.sheet__x { min-inline-size: 44px; padding-inline: 0; font-size: 28px; }
.sheet__body { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.sheet__actions { display: flex; gap: 8px; justify-content: flex-end; padding: 0 20px 20px; flex-wrap: wrap; }

/* reçu imprimable */
.receipt { max-inline-size: 720px; margin-inline: auto; background: var(--surface); color: var(--text); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 32px; position: relative; display: flex; flex-direction: column; gap: 20px; }
.receipt__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-block-end: 2px solid var(--text); padding-block-end: 16px; }
.receipt__club { font-weight: 700; font-size: 20px; }
.receipt__rows { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
.receipt__rows dt { color: var(--text-secondary); }
.receipt__rows dd { margin: 0; font-weight: 600; }
.receipt table { inline-size: 100%; border-collapse: collapse; }
.receipt th, .receipt td { text-align: start; padding: 8px 4px; border-block-end: 1px solid var(--separator); font-variant-numeric: tabular-nums; }
.receipt__total { font-size: 24px; font-weight: 700; text-align: end; }
.receipt__void {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; font-size: 64px; font-weight: 800; text-align: center;
  color: var(--badge-danger-fg); opacity: .28; transform: rotate(-18deg); line-height: 1.4;
}
.noprint { display: flex; gap: 8px; justify-content: center; margin-block-end: 16px; }
@media print {
  body { background: #fff; color: #000; }
  .noprint, .toast { display: none !important; }
  .receipt { box-shadow: none; padding: 0; max-inline-size: none; background: #fff; color: #000; }
  .receipt__void { color: #b3261e; opacity: .35; }
  @page { margin: 16mm; }
}

/* ------------------------------------------------------------ coach : barre d'onglets */
body.has-tabbar { padding-block-end: calc(72px + env(safe-area-inset-bottom, 0px)); }
.tabbar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 20; display: flex; justify-content: space-around;
  padding-block: 6px calc(6px + env(safe-area-inset-bottom, 0px)); border-block-start: 1px solid var(--separator);
}
.tabbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-block-size: 52px; min-inline-size: 64px;
  color: var(--placeholder); text-decoration: none; font-size: 12px; font-weight: 600; border-radius: var(--radius-ctl);
}
.tabbar a[aria-current="page"] { color: var(--link); }
.tabbar .icon { inline-size: 24px; block-size: 24px; }
.num { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ calendrier */
.cal__nav { justify-content: space-between; }
.cal__title { flex: 1; text-align: center; text-transform: capitalize; }
.cal__daytitle { font-size: 17px; margin-block-start: 8px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--separator); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--card-shadow); }
.cal__dow { background: var(--surface); padding: 8px 4px; text-align: center; font-size: 12px; font-weight: 600; color: var(--placeholder); }
.cal__day { background: var(--surface); min-block-size: 88px; padding: 4px; display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
.cal__day.is-out { background: var(--bg); }
.cal__day.is-out .cal__num { color: var(--placeholder); }
.cal__num { appearance: none; border: 0; background: transparent; color: var(--text); font: 600 13px/1 var(--font); inline-size: 28px; block-size: 28px; border-radius: 50%; cursor: pointer; align-self: flex-start; }
.cal__day.is-today .cal__num { background: var(--btn-bg); color: var(--on-btn); }
.cal__ev {
  appearance: none; border: 0; cursor: pointer; text-align: start; font: 600 11px/1.3 var(--font); padding: 2px 4px; border-radius: 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-block-size: 20px; inline-size: 100%;
}
.cal__ev--training { background: var(--badge-info-bg); color: var(--badge-info-fg); }
.cal__ev--match { background: var(--badge-success-bg); color: var(--badge-success-fg); }
.cal__ev--other { background: var(--badge-warning-bg); color: var(--badge-warning-fg); }
.cal__ev.is-cancelled { background: var(--badge-danger-bg); color: var(--badge-danger-fg); text-decoration: line-through; }
@media (max-width: 560px) { .cal__day { min-block-size: 64px; } .cal__ev .num { display: none; } }

/* ------------------------------------------------------------ présence */
.roster { flex-wrap: wrap; }
.roster__btns { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.roster__btn { min-inline-size: 72px; }

/* ------------------------------------------------------------ scanner */
.scanner { position: relative; inline-size: 100%; max-block-size: 62vh; aspect-ratio: 3 / 4; background: #000; border-radius: var(--radius-card); overflow: hidden; margin-inline: auto; max-inline-size: 520px; }
.scanner__video { inline-size: 100%; block-size: 100%; object-fit: cover; }
.scanner__frame { position: absolute; inset: 14%; border: 4px solid #FFFFFF; border-radius: 28px; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .35); pointer-events: none; }
.scan-result { padding: 18px; border-radius: var(--radius-card); background: var(--field-bg); color: var(--text); font-size: 20px; font-weight: 700; text-align: center; min-block-size: 64px; display: grid; place-items: center; transition: background-color .2s var(--ease); }
.scan-result--ok { background: var(--badge-success-bg); color: var(--badge-success-fg); }
.scan-result--err { background: var(--badge-danger-bg); color: var(--badge-danger-fg); }

/* ------------------------------------------------------------ cartes QR (impression) */
.qr-controls { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 12px; }
.qr-sheet { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.qr-card { background: #FFFFFF; color: #000000; border: 1px dashed #6E6E73; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; break-inside: avoid; page-break-inside: avoid; }
.qr-card__head { display: flex; align-items: center; gap: 8px; inline-size: 100%; text-align: start; }
.qr-card__logo { inline-size: 36px; block-size: 36px; flex: none; }
.qr-card__club { font-weight: 700; font-size: 13px; line-height: 1.3; }
.qr-card .qr { inline-size: 100%; max-inline-size: 180px; block-size: auto; }
.qr-card__name { font-weight: 700; font-size: 16px; display: flex; flex-direction: column; }
.qr-card__ar { font-size: 15px; font-weight: 600; }
.qr-card__meta { font-size: 13px; color: #3A3A3C; }
@media print {
  .qr-sheet { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .qr-card { border-radius: 0; border: 1px dashed #000; padding: 4mm; }
  .qr-card__meta { color: #000; }
  .topbar, .tabbar { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:active:not(:disabled) { transform: none; }
}
