/* ============================================
   Club720 Panel — Base
   ============================================ */

*, *::before, *::after { box-sizing: border-box; }

/* Keep [hidden] working even when a class sets display (e.g. .kv > div { display:flex }) */
[hidden] { display: none !important; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-md);        /* 15px */
  line-height: var(--lh-body);    /* 25px — Eleken's generous body rhythm */
  letter-spacing: var(--ls-none);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: var(--lh-title);
  letter-spacing: var(--ls-heading);
}

p { margin: 0; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

button { font: inherit; }

::selection { background: var(--primary-tint-2); }

/* Focus visibility */
:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-sm);
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}