/* ========== Farben: Kiersper SC (Blau / Rot / Weiß) ========== */
:root {
  --ksc-blue: #1d3c8f;
  --ksc-blue-dark: #0f2260;
  --ksc-blue-deep: #0a1840;
  --ksc-red: #d7192a;
  --ksc-red-dark: #a8101e;

  --bg: #eef1f7;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --line: #dde3ee;
  --text: #121a2f;
  --muted: #5d6882;

  --offer: var(--ksc-blue);
  --offer-soft: #e6ecfa;
  --need: var(--ksc-red);
  --need-soft: #fde8ea;
  --glitter: #e0a800;
  --glitter-soft: #fff6d6;
  --ok: #138a4a;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(10, 24, 64, .06), 0 8px 24px rgba(10, 24, 64, .08);
  --shadow-lg: 0 20px 50px rgba(10, 24, 64, .18);
  --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --nav-h: 68px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: .01em; line-height: 1.1; margin: 0; }
.muted { color: var(--muted); }
.hidden { display: none !important; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--ksc-blue) 45%, transparent); outline-offset: 2px; }

.boot { min-height: 100vh; display: grid; place-items: center; }
.spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 4px solid var(--line); border-top-color: var(--ksc-red);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== Hero (Registrierung) ========== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 500px at 110% -10%, rgba(215, 25, 42, .55), transparent 60%),
    radial-gradient(900px 500px at -20% 0%, rgba(80, 120, 230, .45), transparent 60%),
    linear-gradient(170deg, var(--ksc-blue) 0%, var(--ksc-blue-deep) 70%);
  color: #fff;
  padding: max(28px, env(safe-area-inset-top)) 16px 32px;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: auto -20% -38% -20%; height: 60%;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 18px, transparent 18px 40px);
  transform: skewY(-6deg); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; flex: 1; }
.crest-wrap { display: flex; align-items: center; gap: 14px; }
.crest { width: 64px; height: 64px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); flex: none; object-fit: contain; }
.crest-wrap .kicker { font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; opacity: .8; }
.crest-wrap .club { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.hero h1 { font-size: clamp(40px, 11vw, 56px); font-weight: 800; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: #ffd84d; }
.hero p.lead { margin: 0; font-size: 17px; opacity: .9; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.steps li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 12px; font-weight: 600; line-height: 1.2; }
.steps li b { display: block; font-family: var(--font-display); font-size: 22px; color: #ffd84d; }

.card-form {
  background: #fff; color: var(--text); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 12px;
}
.card-form h2 { font-size: 24px; }
.card-form .hint { font-size: 14px; color: var(--muted); margin: 0; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.input {
  width: 100%; border: 2px solid var(--line); background: var(--surface); border-radius: 12px;
  padding: 13px 14px; font-size: 17px; transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--ksc-blue); box-shadow: 0 0 0 4px var(--offer-soft); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 12px; padding: 13px 18px; font-weight: 700; font-size: 16px;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line);
  transition: transform .08s, background .15s, box-shadow .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .55; cursor: default; }
.btn-primary { background: var(--ksc-red); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(215, 25, 42, .35); }
.btn-primary:hover { background: var(--ksc-red-dark); }
.btn-blue { background: var(--ksc-blue); color: #fff; border-color: transparent; }
.btn-blue:hover { background: var(--ksc-blue-dark); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-danger { background: #fff; color: var(--ksc-red); border-color: #f3c2c7; }
.btn-sm { padding: 8px 12px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

.error-box { background: var(--need-soft); color: var(--ksc-red-dark); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; }

/* ========== App-Rahmen ========== */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: linear-gradient(120deg, var(--ksc-blue) 0%, var(--ksc-blue-dark) 100%);
  color: #fff; padding: max(10px, env(safe-area-inset-top)) 16px 10px;
  box-shadow: 0 2px 12px rgba(10, 24, 64, .25);
}
.topbar::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ksc-red); }
.topbar-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.topbar .crest { width: 38px; height: 38px; box-shadow: none; }
.topbar .title { flex: 1; min-width: 0; }
.topbar .title b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .title span { font-size: 12px; opacity: .8; }
.me-chip {
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px; padding: 4px 12px 4px 4px; color: #fff; max-width: 48vw; text-decoration: none; flex: none;
}
.me-chip .avatar { width: 30px; height: 30px; font-size: 13px; }
.me-chip .who { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; text-align: left; }
.me-chip .who b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-chip .who small { font-size: 11px; opacity: .85; }

.avatar {
  flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: var(--ksc-red); font-family: var(--font-display); letter-spacing: .02em;
}

main.view { max-width: 960px; margin: 0 auto; padding: 18px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); }
.view-head { margin-bottom: 16px; }
.view-head h1 { font-size: 30px; font-weight: 800; text-transform: uppercase; color: var(--ksc-blue-deep); }
.view-head p { margin: 4px 0 0; color: var(--muted); }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.bottom-nav .inner { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); height: var(--nav-h); }
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--muted); font-size: 12px; font-weight: 600; position: relative;
}
.bottom-nav a svg { width: 24px; height: 24px; }
.bottom-nav a.active { color: var(--ksc-blue); }
.bottom-nav a.active::before { content: ''; position: absolute; top: 0; width: 36px; height: 3px; border-radius: 0 0 3px 3px; background: var(--ksc-red); }
.bottom-nav .badge {
  position: absolute; top: 8px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ksc-red); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
}

.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card + .card, .card + .section, .section + .card, .section + .section, .stats + .card { margin-top: 14px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.section-title h2 { font-size: 21px; font-weight: 800; text-transform: uppercase; color: var(--ksc-blue-deep); }

/* ========== Tische ========== */
.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.table-btn {
  position: relative; aspect-ratio: 1 / .8; border-radius: 16px; border: 2px solid var(--line); background: var(--surface);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: var(--shadow); transition: transform .1s, border-color .15s;
}
.table-btn:active { transform: scale(.97); }
.table-btn .lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.table-btn .no { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--ksc-blue-deep); line-height: 1; }
.table-btn.selected { border-color: var(--ksc-red); background: linear-gradient(160deg, #fff 0%, var(--need-soft) 100%); }
.table-btn.selected::after {
  content: '✓'; position: absolute; top: 6px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ksc-red); color: #fff; font-size: 13px; font-weight: 800; display: grid; place-items: center;
}

/* ========== Sticker-Auswahl ========== */
.mode-switch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--surface);
  border-radius: 16px; box-shadow: var(--shadow); position: sticky; top: 64px; z-index: 10;
}
.mode-switch button {
  border: 0; border-radius: 12px; padding: 10px 8px; background: transparent; font-weight: 700; font-size: 15px;
  display: flex; flex-direction: column; align-items: center; gap: 1px; color: var(--muted);
}
.mode-switch button .count { font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1; }
.mode-switch button[data-mode="offer"].active { background: var(--offer); color: #fff; }
.mode-switch button[data-mode="need"].active { background: var(--need); color: #fff; }

.mode-explain { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 14px 2px 10px; }
.mode-explain .dot { flex: none; width: 12px; height: 12px; border-radius: 4px; margin-top: 4px; }

.quick-add { display: flex; gap: 8px; }
.quick-add .input { padding: 11px 12px; font-size: 16px; }

.blocks { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0 4px; scrollbar-width: none; }
.blocks::-webkit-scrollbar { display: none; }
.blocks button {
  flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px;
  font-weight: 700; font-size: 14px; color: var(--muted); position: relative;
}
.blocks button.active { background: var(--ksc-blue-deep); border-color: var(--ksc-blue-deep); color: #fff; }
.blocks button .pip {
  display: inline-block; min-width: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; font-size: 11px; line-height: 18px;
  background: var(--surface-2); color: var(--text);
}
.blocks button.active .pip { background: rgba(255,255,255,.2); color: #fff; }

.grid-tools { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }

.sticker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.tile {
  position: relative; aspect-ratio: 1 / 1.12; border-radius: 10px; border: 2px solid var(--line);
  background: var(--surface); font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: var(--ksc-blue-deep); display: grid; place-items: center; padding: 0;
  transition: transform .08s, background .12s, border-color .12s;
  user-select: none;
}
.tile:active { transform: scale(.93); }
.tile.offer { background: var(--offer); border-color: var(--offer); color: #fff; box-shadow: 0 4px 10px rgba(29, 60, 143, .3); }
.tile.need { background: var(--need); border-color: var(--need); color: #fff; box-shadow: 0 4px 10px rgba(215, 25, 42, .3); }
.tile.other { color: #b4bccc; background: var(--surface-2); border-style: dashed; }
.tile.glitter::after {
  content: '✦'; position: absolute; top: 2px; right: 4px; font-size: 13px; color: #ffd84d; text-shadow: 0 0 6px rgba(255, 216, 77, .9);
}

/* Liste der angebotenen Sticker mit Glitzer-Haken */
.offer-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 8px; }
.offer-row {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 6px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.offer-row.is-glitter { background: linear-gradient(135deg, var(--glitter-soft), #fff 70%); border-color: #f1d37a; }
.num-badge {
  flex: none; min-width: 44px; height: 38px; padding: 0 6px; border-radius: 9px; background: var(--offer); color: #fff;
  font-family: var(--font-display); font-size: 21px; font-weight: 800; display: grid; place-items: center;
}
.num-badge.need { background: var(--need); }
.glitter-check { flex: 1; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; cursor: pointer; min-width: 0; }
.glitter-check input { position: absolute; opacity: 0; pointer-events: none; }
.glitter-check .box {
  flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid #c7cfde; background: #fff;
  display: grid; place-items: center; transition: background .12s, border-color .12s;
}
.glitter-check input:checked + .box { background: var(--glitter); border-color: var(--glitter); }
.glitter-check input:checked + .box::after { content: '✓'; color: #fff; font-weight: 800; font-size: 15px; }
.glitter-check input:focus-visible + .box { outline: 3px solid color-mix(in srgb, var(--glitter) 50%, transparent); outline-offset: 2px; }
.icon-btn {
  flex: none; width: 34px; height: 34px; border-radius: 9px; border: 0; background: transparent; color: var(--muted);
  display: grid; place-items: center; font-size: 20px; line-height: 1;
}
.icon-btn:hover { background: #e9edf5; color: var(--ksc-red); }

.need-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; gap: 2px; border-radius: 999px; padding: 3px 3px 3px 11px;
  background: var(--need-soft); color: var(--ksc-red-dark); font-weight: 800; font-family: var(--font-display); font-size: 18px;
}
.chip button { border: 0; background: transparent; color: inherit; width: 26px; height: 26px; border-radius: 50%; font-size: 16px; display: grid; place-items: center; }
.chip button:hover { background: rgba(215, 25, 42, .12); }

.empty { text-align: center; padding: 22px 12px; color: var(--muted); font-size: 15px; }
.empty .big { font-size: 34px; display: block; margin-bottom: 4px; }

.save-pill {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--nav-h) + 12px + env(safe-area-inset-bottom)); z-index: 25;
  background: var(--ksc-blue-deep); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow); opacity: 0; transition: opacity .25s; pointer-events: none;
}
.save-pill.show { opacity: .95; }
.save-pill.error { background: var(--ksc-red); }

/* ========== Tauschpartner ========== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--surface); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 10px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--ksc-blue-deep); line-height: 1; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; }

.lookup { display: flex; gap: 8px; }
.lookup .input { max-width: 140px; }
.lookup-result { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.lookup-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.lookup-row .grow { flex: 1; min-width: 0; font-weight: 600; }

.seg { display: inline-flex; background: #e3e8f2; border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.seg button.active { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }

.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.partner { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.partner-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 10px; }
.partner-head .avatar { width: 42px; height: 42px; font-size: 17px; background: var(--ksc-blue); }
.partner-head .name { flex: 1; min-width: 0; }
.partner-head .name b { display: block; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partner-head .name small { color: var(--muted); font-size: 13px; }
.table-tag {
  flex: none; text-align: center; background: var(--ksc-blue-deep); color: #fff; border-radius: 12px; padding: 6px 10px; min-width: 62px;
}
.table-tag small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.table-tag b { font-family: var(--font-display); font-size: 26px; line-height: 1; }
.table-tag.none b { font-size: 16px; }
.mutual { display: inline-flex; align-items: center; gap: 4px; background: #e3f5ea; color: var(--ok); border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 800; }
.swap-row { padding: 10px 14px; border-top: 1px solid var(--line); }
.swap-row h4 { margin: 0 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.swap-row.for-me h4 { color: var(--ksc-blue); }
.swap-row.from-me h4 { color: var(--ksc-red); }
.pills { display: flex; flex-wrap: wrap; gap: 5px; }
.pill {
  font-family: var(--font-display); font-weight: 800; font-size: 17px; min-width: 36px; text-align: center;
  border-radius: 8px; padding: 2px 7px; background: var(--offer-soft); color: var(--ksc-blue-dark);
}
.from-me .pill { background: var(--need-soft); color: var(--ksc-red-dark); }
.pill.glitter { background: linear-gradient(135deg, #ffe37a, #f5b700); color: #4a3700; box-shadow: 0 0 0 1px #e0a800 inset; }
.pill.glitter::after { content: ' ✦'; font-size: 12px; }
.none-line { font-size: 14px; color: var(--muted); }

.refresh-note { font-size: 12px; color: var(--muted); }

/* ========== Profil ========== */
.profile-head { display: flex; align-items: center; gap: 14px; }
.profile-head .avatar { width: 58px; height: 58px; font-size: 24px; }
.kv { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); gap: 10px; }
.kv:last-child { border-bottom: 0; }

/* ========== Toast ========== */
#toast {
  position: fixed; left: 50%; top: max(14px, env(safe-area-inset-top)); transform: translate(-50%, -150%); z-index: 100;
  background: var(--ksc-blue-deep); color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-lg); transition: transform .3s cubic-bezier(.2, .9, .3, 1.2); max-width: calc(100vw - 32px);
}
#toast.show { transform: translate(-50%, 0); }
#toast.error { background: var(--ksc-red); }

@media (min-width: 700px) {
  .sticker-grid { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
  .mode-switch { top: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ========== Abmelde-Seite ========== */
.hero-checkout {
  background:
    radial-gradient(1000px 500px at 110% -10%, rgba(255, 255, 255, .18), transparent 60%),
    radial-gradient(900px 500px at -20% 0%, rgba(29, 60, 143, .55), transparent 60%),
    linear-gradient(170deg, var(--ksc-red) 0%, #7a0a14 75%);
}
.hero-checkout .hero-inner { justify-content: center; }
.hero-checkout h1 { font-size: clamp(38px, 10vw, 52px); font-weight: 800; text-transform: uppercase; }

/* ========== Tausch austragen ========== */
button.pill { border: 0; cursor: pointer; font-family: var(--font-display); transition: transform .08s, background .12s; }
button.pill:active { transform: scale(.94); }
.pill.picked, .from-me .pill.picked {
  background: var(--ok); color: #fff; box-shadow: none;
}
.pill.picked::before { content: '✓ '; font-size: 13px; }
.partner.trading { box-shadow: 0 0 0 2px var(--ok), var(--shadow); }
.trade-hint { padding: 8px 14px 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.trade-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 12px;
  border-top: 1px solid var(--line); background: #e9f7ef; margin-top: auto;
}
.trade-bar .trade-sum { flex: 1 0 100%; font-weight: 700; font-size: 14px; color: var(--ok); }
.btn-ok { background: var(--ok); color: #fff; border-color: transparent; }
.btn-ok:hover { background: #0e6e3a; }

/* ========== Rechtliches ========== */
.legal-foot { margin: auto 0 0; padding-top: 18px; text-align: center; font-size: 13px; opacity: .8; }
.legal-foot a { color: inherit; }
.legal-foot-dark { color: var(--muted); opacity: 1; margin-top: 18px; }
.legal { max-width: 720px; margin: 0 auto; padding: 24px 16px 60px; }
.legal h1 { font-size: 38px; font-weight: 800; text-transform: uppercase; color: var(--ksc-blue-deep); margin: 14px 0 10px; }
.legal h2 { font-family: var(--font); font-size: 17px; font-weight: 700; margin: 22px 0 6px; color: var(--ksc-blue-deep); letter-spacing: 0; }
.legal p, .legal li { font-size: 15px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--ksc-blue); }
.legal-back { font-weight: 600; text-decoration: none; }
.legal-links { margin-top: 28px; }
