@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-400.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-600.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-700.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/inter-800.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/assets/fonts/inter-900.ttf") format("truetype");
}
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --text: #122033;
  --muted: #5d6b7d;
  --line: #d9e2ec;
  --green: #16a34a;
  --green-dark: #0f8a3d;
  --blue: #2563eb;
  --purple: #7c3aed;
  --orange: #f97316;
  --yellow: #facc15;
  --shadow: 0 18px 48px rgba(22, 32, 54, 0.12);
  --radius: 24px;
  --wrap: min(1180px, calc(100% - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #eef6ff 0%, #f8fafc 100%);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 120;
  transform: translateY(-160%);
  background: #111827;
  color: white;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 850;
}
.skip-link:focus {
  transform: translateY(0);
}
:focus-visible {
  outline: 3px solid #f97316;
  outline-offset: 3px;
}
.wrap { width: var(--wrap); margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .76rem;
}
.section { padding: 28px 0 64px; }
.home-banner-section { padding-bottom: 28px; }
.generator-section { padding-top: 8px; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(18, 32, 51, .08);
}
.nav-bar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 900;
  color: #0f172a;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.96));
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  text-decoration: none;
}
.logo::before {
  content: "SLD";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #16a34a);
  color: white;
  font-size: .86rem;
  letter-spacing: .06em;
}
.logo-slot { display: none; }
.logo-slot.is-active { display: inline; }
.logo-slot.is-final { background: linear-gradient(135deg, #2563eb, #16a34a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #475569;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a.is-active { background: #eff6ff; color: var(--blue); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 15px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 999px;
  background: #122033;
  transition: transform .2s ease, opacity .2s ease, background .2s ease;
}
.menu-toggle span {
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
}
.menu-toggle span::before { transform: translateY(-7px); }
.menu-toggle span::after { transform: translateY(7px); }
.nav-bar.is-menu-open .menu-toggle span {
  background: transparent;
}
.nav-bar.is-menu-open .menu-toggle span::before {
  transform: rotate(45deg);
}
.nav-bar.is-menu-open .menu-toggle span::after {
  transform: rotate(-45deg);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { background: var(--green); color: white; box-shadow: 0 14px 28px rgba(22,163,74,.22); }
.button.primary:hover { background: var(--green-dark); }
.button.orange { background: var(--orange); color: white; }
.button.blue { background: var(--blue); color: white; }
.button.ghost { background: #eef4ff; color: var(--blue); }
.button.soft { background: #fff7ed; color: #c2410c; }
.button.full { width: 100%; }
.hero {
  padding: 70px 0 34px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.hero-card, .card {
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy { padding: 34px; }
.hero h1, .page-hero h1 {
  margin: 0 0 16px;
  line-height: 1.02;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}
.hero h1 span, .accent { color: var(--green); }
.hero p { font-size: 1.08rem; color: var(--muted); max-width: 58ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-preview { padding: 18px; }
.preview-wide { padding: 20px; overflow-x: auto; }
.preview-wide h3 { margin-bottom: 16px; }
.banner-grid, .features-grid, .content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.banner {
  padding: 24px;
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.banner h3, .card h3, .card h4 { margin: 0 0 12px; }
.banner.blue-purple { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.banner.green-cyan { background: linear-gradient(135deg, #059669, #0ea5e9); }
.banner .cta { margin-top: 18px; display: inline-flex; background: rgba(255,255,255,.18); color: white; padding: 12px 16px; border-radius: 14px; font-weight: 800; }
.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .75fr);
  gap: 24px;
  align-items: start;
}
.card { padding: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.generator-options { margin: 18px 0; }
.generator-toggle-stack {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.input-group label, .label-title { display: block; font-weight: 700; margin-bottom: 8px; }
.input, select, input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: white;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 1rem;
  color: var(--text);
}
textarea { min-height: 160px; resize: vertical; }
input[type="range"] { width: 100%; }
.category-blocks { display: grid; gap: 18px; }
.category-block {
  border: 1px solid #dbeafe;
  background: #f8fbff;
  border-radius: 18px;
  padding: 14px;
}
.category-block h4 {
  margin: 0 0 12px;
  color: #1e293b;
}
.category-block.is-single .category-grid {
  grid-template-columns: 1fr;
}
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.category-field { position: relative; }
.field-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: .7rem;
  background: #ecfeff;
  color: #0f766e;
  padding: 4px 7px;
  border-radius: 999px;
  font-weight: 800;
}
.toggle-card {
  border-radius: 18px;
  padding: 16px;
  border: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.toggle-card.purple { background: linear-gradient(135deg, #faf5ff, #fdf2f8); border-color: #d8b4fe; }
.toggle-card.green { background: linear-gradient(135deg, #ecfdf5, #ecfeff); border-color: #86efac; }
.toggle-card.orange-soft { background: linear-gradient(135deg, #fff7ed, #fffbeb); border-color: #fed7aa; }
.toggle-meta h4 { display: flex; gap: 10px; align-items: center; margin: 0 0 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: .72rem;
  font-weight: 900;
}
.tag.premium { background: var(--purple); color: white; }
.tag.free { background: var(--green); color: white; }
.switch {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: inline-block;
  flex: 0 0 52px;
  width: 52px;
  inline-size: 52px;
  min-width: 52px;
  max-width: 52px;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  block-size: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  line-height: 0;
  transition: .2s ease;
  vertical-align: middle;
}
.switch::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  transition: .2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,.14);
}
.switch:checked { background: var(--green); }
.switch:checked::after { transform: translateX(22px); }
.switch:disabled { cursor: not-allowed; opacity: .45; }
.notice {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 18px;
  padding: 16px;
}
.mini { font-size: .92rem; }
.stack { display: grid; gap: 16px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { display: flex; justify-content: space-between; gap: 10px; }
.search-links, .letter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
}
.search-links a, .letter-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 800;
  line-height: 1.18;
  color: #1d4ed8;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.letter-grid a[aria-current="page"],
.letter-grid a.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
  box-shadow: 0 10px 22px rgba(29,78,216,.18);
}
.compact-letter-card {
  gap: 12px;
}
.compact-letter-grid {
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
  gap: 6px;
}
.compact-letter-grid a {
  min-height: 38px;
  padding: 8px 6px;
  border-radius: 10px;
  font-size: .88rem;
  line-height: 1.1;
  white-space: nowrap;
}
.popular-search-links {
  grid-template-columns: 1fr;
}
.related-category-links {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.related-category-card .print-actions {
  margin-top: 12px;
}
.popular-search-links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  text-align: left;
}
.popular-search-links small {
  color: #64748b;
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}
.sheet-frame {
  width: 1060px;
  max-width: none;
  background: #f8fafc;
  border: 3px solid #1f2937;
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sheet-frame.design-party .sheet-top,
.sheet-frame.design-party .sheet-footer-strip {
  background: #3b0764;
}
.sheet-frame.design-party .preview-table th {
  background: #db2777;
}
.sheet-frame.design-party .sheet-top {
  border-bottom-color: #facc15;
}
.sheet-frame.design-kinder .sheet-top,
.sheet-frame.design-kinder .sheet-footer-strip {
  background: #075985;
}
.sheet-frame.design-kinder .preview-table th {
  background: #16a34a;
}
.sheet-frame.design-kinder .sheet-top {
  border-bottom-color: #facc15;
}
.sheet-frame.design-minimal {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 10px;
}
.sheet-frame.design-minimal .sheet-top,
.sheet-frame.design-minimal .sheet-footer-strip {
  background: #ffffff;
  color: #000000;
  border-color: #000000;
}
.sheet-frame.design-minimal .preview-table th {
  background: #ffffff;
  color: #000000;
}
.sheet-frame.design-notizblock {
  background: #fff8df;
  border-color: #78350f;
}
.sheet-frame.design-notizblock .sheet-top,
.sheet-frame.design-notizblock .sheet-footer-strip {
  background: #78350f;
}
.sheet-frame.design-notizblock .preview-table th {
  background: #b45309;
}
.sheet-frame.design-notizblock .sheet-top {
  border-bottom-color: #f59e0b;
}
.sheet-frame.design-schule {
  background: #f7fafc;
  border-color: #14532d;
}
.sheet-frame.design-schule .sheet-top,
.sheet-frame.design-schule .sheet-footer-strip {
  background: #166534;
}
.sheet-frame.design-schule .preview-table th {
  background: #15803d;
}
.sheet-frame.design-schule .sheet-top {
  border-bottom-color: #facc15;
}
.sheet-frame.design-reise {
  background: #f0fdfa;
  border-color: #0f766e;
}
.sheet-frame.design-reise .sheet-top,
.sheet-frame.design-reise .sheet-footer-strip {
  background: #0f766e;
}
.sheet-frame.design-reise .preview-table th {
  background: #0ea5e9;
}
.sheet-frame.design-reise .sheet-top {
  border-bottom-color: #fb923c;
}
.sheet-frame.design-spielabend {
  background: #f8fafc;
  border-color: #4338ca;
}
.sheet-frame.design-spielabend .sheet-top,
.sheet-frame.design-spielabend .sheet-footer-strip {
  background: #4c1d95;
}
.sheet-frame.design-spielabend .preview-table th {
  background: #2563eb;
}
.sheet-frame.design-spielabend .sheet-top {
  border-bottom-color: #22c55e;
}
.sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
  color: white;
  padding: 18px 20px 12px;
  border-bottom: 3px solid #fb923c;
}
.sheet-top .eyebrow { color: #fb923c; margin-bottom: 6px; font-size: .72rem; }
.sheet-url { color: #fb923c; }
.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;
}
.sheet-title {
  font-size: clamp(2.3rem, 3.4vw, 3.5rem);
  margin: 0 0 4px;
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: .9;
}
.sheet-subtitle {
  margin: 0;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 1rem;
}
.sheet-player-fields {
  min-width: 240px;
  display: grid;
  grid-template-columns: 1fr;
}
.sheet-player-fields span {
  display: block;
  color: #111827;
  background: white;
  border: 2px solid #cbd5e1;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: .04em;
}
.letter-box {
  min-width: 230px;
  text-align: center;
  font-weight: 900;
  border: 3px dashed #fb923c;
  background: white;
  color: #111827;
  border-radius: 14px;
  padding: 16px 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
  box-shadow: inset 0 0 0 2px rgba(251,146,60,.1);
}
.sheet-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  background: #111827;
  color: white;
  padding: 0 18px 14px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .84rem;
}
.sheet-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 18px 0;
}
.sheet-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 900;
  font-size: .74rem;
  text-transform: uppercase;
  border: 1px solid #fdba74;
}
.preview-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: white;
  margin-top: 12px;
}
.preview-table th, .preview-table td {
  border: 2px solid #334155;
  text-align: left;
  padding: 4px 5px;
}
.preview-table th {
  background: #ea7a28;
  color: white;
  font-size: .69rem;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1.02;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: top;
}
.preview-header-row th {
  border-top-width: 2px;
}
.preview-table tbody tr:first-child th {
  border-top-width: 0;
}
.preview-table th.shrink-1 { font-size: .66rem; }
.preview-table th.shrink-2 { font-size: .58rem; }
.preview-table th.shrink-3 { font-size: .52rem; }
.preview-table th.score-col,
.preview-table td.score-col {
  width: 58px;
  text-align: center;
  font-size: .58rem;
  font-weight: 900;
}
.preview-table th.score-col {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.preview-table td {
  height: 24px;
  background: #f8fafc;
  font-size: .72rem;
}
.preview-table tbody tr:nth-child(even) td { background: #eef2f7; }
.preview-table td.has-round-watermark,
.preview-table td.deins-watermark {
  position: relative;
  overflow: hidden;
}
.round-watermark {
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(51, 65, 85, .22);
  font-weight: 950;
  font-size: .76rem;
  line-height: 1;
  pointer-events: none;
}
.preview-table tbody tr:nth-child(even) .round-watermark {
  color: rgba(255, 255, 255, .78);
}
.deins-mark {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: min-content min-content;
  place-items: center;
  align-content: center;
  gap: 0;
  text-align: center;
  font-weight: 950;
  text-transform: uppercase;
  pointer-events: none;
}
.deins-mark span {
  color: rgba(249, 115, 22, .24);
  font-size: .66rem;
  letter-spacing: .08em;
  line-height: .9;
}
.deins-mark em {
  display: grid;
  gap: 0;
  font-style: normal;
}
.deins-mark small {
  color: rgba(100, 116, 139, .48);
  font-size: .28rem;
  letter-spacing: .04em;
  line-height: .92;
  white-space: nowrap;
}
.category-switch-row td {
  height: 30px;
  background: #fff7ed !important;
  color: #9a3412;
  border-color: #fb923c;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.category-mix-output {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.category-mix-output span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-weight: 850;
}
.sheet-footer-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 172px;
  align-items: center;
  gap: 10px;
  background: #111827;
  color: white;
  padding: 10px 14px;
  font-size: .72rem;
  font-weight: 900;
}
.finger-letter-row { display: grid; gap: 5px; min-width: 0; }
.letter-strip-label {
  color: #fb923c;
  font-size: .66rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.25;
}
.letter-strip-letters {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  min-width: 0;
}
.letter-strip-letters span {
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f8fafc;
  color: #111827;
  font-size: .64rem;
  line-height: 1;
}
.sheet-total-box {
  background: #fff7ed;
  color: #111827;
  border: 2px solid #fb923c;
  border-radius: 12px;
  padding: 8px 10px;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: .66rem;
  text-align: center;
}
.sheet-frame.design-minimal .sheet-top {
  padding: 12px 16px 8px;
  border-bottom: 1px solid #000000;
}
.sheet-frame.design-minimal .sheet-top .eyebrow,
.sheet-frame.design-minimal .sheet-url,
.sheet-frame.design-minimal .letter-strip-label {
  color: #000000;
}
.sheet-frame.design-minimal .sheet-title {
  color: #000000;
  font-size: clamp(1.9rem, 2.7vw, 2.8rem);
}
.sheet-frame.design-minimal .sheet-subtitle {
  color: #3f3f46;
  font-weight: 600;
}
.sheet-frame.design-minimal .sheet-player-fields span,
.sheet-frame.design-minimal .sheet-total-box {
  color: #000000;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 4px;
  box-shadow: none;
}
.sheet-frame.design-minimal .preview-table {
  margin-top: 8px;
}
.sheet-frame.design-minimal .preview-table th,
.sheet-frame.design-minimal .preview-table td {
  border: 1px solid #000000;
}
.sheet-frame.design-minimal .preview-table td,
.sheet-frame.design-minimal .preview-table tbody tr:nth-child(even) td {
  background: #ffffff;
}
.sheet-frame.design-minimal .preview-table th {
  color: #000000;
  font-weight: 900;
}
.sheet-frame.design-minimal .preview-table th.score-col,
.sheet-frame.design-minimal .preview-table td.score-col {
  width: 54px;
}
.sheet-frame.design-minimal .round-watermark,
.sheet-frame.design-minimal .preview-table tbody tr:nth-child(even) .round-watermark {
  color: rgba(0, 0, 0, .22);
}
.sheet-frame.design-minimal .deins-mark span {
  color: rgba(0, 0, 0, .18);
}
.sheet-frame.design-minimal .deins-mark small {
  color: rgba(0, 0, 0, .34);
}
.sheet-frame.design-minimal .sheet-footer-strip {
  border-top: 1px solid #000000;
  padding: 8px 12px;
}
.sheet-frame.design-minimal .letter-strip-letters span {
  background: #ffffff;
  color: #000000;
  border: 1px solid #000000;
}
.preview-rules { padding: 10px 18px 18px; margin: 0; font-size: .88rem; }
.print-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.footer {
  background: #0f172a;
  color: white;
  padding: 44px 0;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
.footer a { color: #cbd5e1; display: block; margin: 8px 0; }
.breadcrumb-nav {
  padding-top: 18px;
}
.breadcrumb-nav ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}
.breadcrumb-nav li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-nav li:not(:last-child)::after {
  content: "/";
  color: #94a3b8;
}
.breadcrumb-nav a {
  color: var(--blue);
}
.breadcrumb-nav a:hover {
  text-decoration: underline;
}
.breadcrumb-nav [aria-current="page"] {
  color: #475569;
}
.page-hero {
  padding: 56px 0 28px;
}
.breadcrumb-nav + main .page-hero {
  padding-top: 28px;
}
.page-hero p { max-width: 62ch; color: var(--muted); }
.icon-row { display:flex; align-items:center; gap:10px; }
.inline-note {
  margin-top: 10px;
  color: #047857;
  font-size: .88rem;
  font-weight: 700;
}
.search-card { display: grid; gap: 18px; }
.search-card ul { margin: 0; padding-left: 18px; color: #334155; }
.letter-step-actions {
  margin-top: 2px;
}
.letter-step-actions .button {
  flex: 1 1 190px;
}
.seo-grid, .rules-grid, .shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-link-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(15,23,42,.08);
}
.seo-link-card strong { display: block; margin-bottom: 6px; color: #0f172a; }
.seo-link-card span { color: var(--muted); font-size: .92rem; }
.example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.example-list li {
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #1d4ed8;
  font-weight: 800;
  padding: 8px 12px;
}
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.keyword-cloud a {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: #1d4ed8;
  font-weight: 800;
  padding: 9px 12px;
}
.category-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.category-chip-list a,
.category-chip-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  color: #1d4ed8;
}
.category-chip-list span {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}
.category-group-card {
  min-height: 220px;
}
.product-card {
  overflow: hidden;
  background: white;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
  background: #f8fafc;
}
.product-body { padding: 18px; }
.product-body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}
.badge-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.soft-badge {
  background: #ecfdf5;
  color: #047857;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: .75rem;
  font-weight: 900;
}
.pod-order-card {
  border-color: #fed7aa;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
}
.pod-controls {
  display: grid;
  grid-template-columns: 1fr 84px;
  gap: 10px;
  align-items: end;
}
.pod-controls label {
  font-weight: 800;
  color: #334155;
  font-size: .86rem;
}
.pod-controls label:nth-of-type(1) { grid-column: 1; grid-row: 1; }
.pod-controls select { grid-column: 1; grid-row: 2; }
.pod-controls label:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.pod-controls input { grid-column: 2; grid-row: 2; }
.pod-price {
  margin: 16px 0 8px;
  display: grid;
  gap: 2px;
}
.pod-price strong {
  font-size: 1.85rem;
  line-height: 1;
  color: #c2410c;
}
.pod-price span {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 750;
}
.pod-payload {
  margin-top: 12px;
  color: var(--muted);
  font-size: .9rem;
}
.pod-payload summary {
  cursor: pointer;
  font-weight: 850;
  color: #9a3412;
}
.pod-payload textarea {
  min-height: 180px;
  margin-top: 10px;
  font-size: .76rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.flow-list {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #334155;
  display: grid;
  gap: 8px;
}
.flow-list li::marker {
  color: var(--orange);
  font-weight: 900;
}
.tool-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}
.tool-head h2,
.tool-head h3 {
  margin: 0;
}
.count-badge,
.room-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #111827;
  color: #ffffff;
  font-weight: 900;
  white-space: nowrap;
}
.room-code-stack {
  display: grid;
  justify-items: end;
  gap: 6px;
}
.sync-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: .72rem;
  font-weight: 900;
  background: #f1f5f9;
  color: #475569;
  white-space: nowrap;
}
.sync-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  margin-right: 6px;
  background: currentColor;
}
.sync-status[data-sync-mode="online"] {
  background: #dcfce7;
  color: #166534;
}
.sync-status[data-sync-mode="pending"] {
  background: #fff7ed;
  color: #9a3412;
}
.sync-status[data-sync-mode="local"] {
  background: #f1f5f9;
  color: #64748b;
}
.online-room-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.45fr);
  gap: 22px;
  align-items: start;
}
.online-control-panel,
.online-score-card {
  position: sticky;
  top: 98px;
}
.online-stage {
  grid-row: span 2;
  display: grid;
  gap: 16px;
}
.inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  gap: 8px;
}
.join-box {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.join-box label {
  font-weight: 800;
}
.join-form {
  grid-template-columns: minmax(0, 1fr) auto;
}
.share-box {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.share-box label {
  font-weight: 800;
}
.player-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.player-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-weight: 850;
  padding: 8px 10px;
}
.player-pill.is-current {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
}
.player-pill button {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  background: #dbeafe;
  color: #1e40af;
  cursor: pointer;
  font-weight: 900;
}
.online-letter {
  min-height: 230px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: radial-gradient(circle at top, #ffffff 0%, #dcfce7 42%, #bfdbfe 100%);
  border: 1px solid rgba(37,99,235,.16);
  box-shadow: var(--shadow);
}
.online-letter span {
  align-self: end;
  color: var(--muted);
  font-weight: 850;
}
.online-letter > strong {
  align-self: start;
  font-size: clamp(5rem, 18vw, 9rem);
  line-height: 1;
  color: #16a34a;
  text-shadow: 0 10px 30px rgba(22,163,74,.18);
}
.online-table-wrap {
  overflow-x: auto;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.online-answer-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}
.online-answer-table th,
.online-answer-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 10px;
  text-align: left;
}
.online-answer-table thead th {
  background: #111827;
  color: #ffffff;
  font-size: .82rem;
  text-transform: uppercase;
}
.online-answer-table tbody th {
  width: 110px;
  color: #0f172a;
}
.online-answer-table tr.is-current-player th,
.online-answer-table tr.is-current-player td {
  background: #f0fdf4;
}
.online-answer-table input {
  min-width: 110px;
  padding: 9px 10px;
  border-radius: 10px;
}
.online-answer-table .online-score-input {
  min-width: 82px;
}
.scoreboard-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}
.scoreboard-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 12px;
  font-weight: 850;
}
.scoreboard-row strong {
  color: #16a34a;
}
.dispute-tool {
  grid-column: 1 / -1;
}
.dispute-controls {
  margin-bottom: 14px;
}
.dispute-filter-buttons {
  margin-bottom: 16px;
}
.dispute-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.dispute-card {
  display: grid;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #f8fafc;
  padding: 16px;
}
.dispute-card[hidden] {
  display: none;
}
.dispute-card h3 {
  margin: 8px 0;
}
.verdict-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: .76rem;
  font-weight: 900;
}
.verdict-badge.yes {
  background: #dcfce7;
  color: #166534;
}
.verdict-badge.ask {
  background: #fff7ed;
  color: #9a3412;
}
.verdict-badge.no {
  background: #fee2e2;
  color: #991b1b;
}
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 22px;
  align-items: start;
}
.lead-card {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}
.lead-form-card {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}
.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #334155;
  font-weight: 750;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 900;
}
.lead-result {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid #86efac;
  background: #ecfdf5;
  padding: 16px;
}
.lead-result[hidden] {
  display: none;
}
.check-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #334155;
  font-size: .92rem;
  line-height: 1.45;
}
.check-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.feature-disabled-notice {
  padding-bottom: 48px;
}
.external-link-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.external-link-list a {
  display: block;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 12px 14px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 850;
}
.legal-card p {
  line-height: 1.65;
}
.not-found-hero h1 {
  max-width: 980px;
}
.not-found-card {
  display: grid;
  gap: 14px;
  align-content: start;
}
.private-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f8fafc;
}
.private-body.admin-body {
  display: block;
  place-items: initial;
}
.private-shell {
  padding: 42px 0;
}
.admin-body .private-shell {
  padding: 32px 0 56px;
}
.private-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 26px;
}
.admin-shell {
  display: grid;
  gap: 22px;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}
.admin-top h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.admin-card {
  display: grid;
  gap: 14px;
}
.admin-card h2 {
  margin: 0;
}
.admin-legal-card textarea {
  min-height: 320px;
}
.admin-crm-card {
  grid-column: 1 / -1;
}
.admin-update-card {
  grid-column: 1 / -1;
}
.admin-analytics-card {
  grid-column: 1 / -1;
}
.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.admin-stat-tile {
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 16px;
}
.admin-stat-tile span {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-stat-tile strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1;
  color: #0f172a;
}
.admin-analytics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 16px;
  align-items: start;
}
.admin-mini-tables {
  display: grid;
  gap: 12px;
}
.admin-mini-tables > div {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px;
  background: #ffffff;
}
.admin-mini-tables h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.admin-search-clicks-panel {
  background: #f8fbff;
  border-color: #bfdbfe;
}
.admin-ranking-list {
  display: grid;
  gap: 8px;
}
.admin-ranking-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  background: #f8fafc;
  padding: 9px 10px;
  font-size: .9rem;
}
.admin-ranking-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-ranking-row strong {
  color: var(--blue);
}
.admin-search-click-row {
  color: #0f172a;
  text-decoration: none;
}
.admin-search-click-row:hover {
  background: #eff6ff;
}
.admin-search-click-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.admin-search-click-row small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: .74rem;
  font-weight: 900;
}
.admin-update-lists {
  align-items: start;
}
.admin-update-lists h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}
.admin-path-list {
  display: grid;
  gap: 7px;
  max-height: 280px;
  overflow: auto;
  margin: 0;
  padding: 12px;
  list-style: none;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #f8fbff;
}
.admin-path-list.protected {
  border-color: #fed7aa;
  background: #fff7ed;
}
.admin-path-list li {
  min-width: 0;
}
.admin-path-list code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0f172a;
  font-size: .82rem;
}
.admin-switch-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #f8fbff;
  padding: 16px;
}
.admin-switch-row span {
  display: grid;
  gap: 4px;
}
.admin-switch-row small {
  color: var(--muted);
}
.admin-filter-row {
  align-items: end;
}
.admin-code-preview {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: #0f172a;
  color: #dbeafe;
  font-size: .82rem;
  line-height: 1.45;
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 760px;
}
.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 12px;
  text-align: left;
  vertical-align: top;
  font-size: .9rem;
}
.admin-table th {
  background: #f8fafc;
  color: #334155;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.admin-table tr:last-child td {
  border-bottom: 0;
}
.admin-lead-contact {
  display: grid;
  gap: 4px;
}
.admin-lead-contact strong {
  color: #0f172a;
}
.admin-lead-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-lead-actions .button {
  padding: 9px 10px;
  border-radius: 12px;
  font-size: .78rem;
}
.app-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  z-index: 80;
  background: #111827;
  color: white;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(15,23,42,.22);
  padding: 12px 16px;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
}
.app-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 100;
  width: min(780px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(15, 23, 42, .12);
  box-shadow: 0 22px 60px rgba(15, 23, 42, .22);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.cookie-banner a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 980px) {
  .hero-grid, .main-grid, .banner-grid, .features-grid, .content-grid, .footer-grid, .seo-grid, .rules-grid, .shop-grid, .grid-3, .online-room-grid, .lead-grid, .dispute-grid, .admin-grid { grid-template-columns: 1fr; }
  .admin-stat-grid,
  .admin-analytics-layout { grid-template-columns: 1fr; }
  .online-control-panel,
  .online-score-card { position: static; }
  .nav-bar { align-items: start; padding: 14px 0; }
  .nav-links { gap: 8px; }
  .admin-top { flex-direction: column; }
}
@media (max-width: 680px) {
  .category-grid, .grid-2, .sheet-meta { grid-template-columns: 1fr; }
  .admin-switch-row { align-items: start; flex-direction: column; }
  .pod-controls { grid-template-columns: 1fr; }
  .pod-controls label:nth-of-type(1),
  .pod-controls select,
  .pod-controls label:nth-of-type(2),
  .pod-controls input { grid-column: 1; grid-row: auto; }
  .nav-bar {
    min-height: 66px;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
    position: relative;
  }
  .logo {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: calc(100% - 58px);
    justify-content: flex-start;
    font-size: .98rem;
    padding: 8px 11px;
  }
  .logo::before { width: 34px; height: 34px; font-size: .72rem; }
  .logo-slot.is-active {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .menu-toggle {
    display: inline-flex;
    flex: 0 0 46px;
  }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(15, 23, 42, .1);
    box-shadow: 0 24px 60px rgba(15,23,42,.18);
    z-index: 35;
  }
  .nav-bar.is-menu-open .nav-links {
    display: grid;
  }
  .nav-links a {
    width: 100%;
    padding: 13px 14px;
    border-radius: 14px;
    color: #334155;
  }
  .sheet-frame { aspect-ratio: auto; }
  .sheet-top { flex-direction: column; }
  .sheet-player-fields { min-width: 0; width: 100%; }
  .sheet-footer-strip { grid-template-columns: 1fr; }
  .sheet-total-box { white-space: normal; }
  .letter-box { min-width: 0; width: 100%; }
  .cookie-banner { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .button { flex: 1 1 150px; }
}
.letter-generator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
  gap: 20px;
  align-items: stretch;
}
.letter-output {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 360px;
  padding: 24px;
  border-radius: 28px;
  background: radial-gradient(circle at top, #ffffff 0%, #ecfeff 43%, #dbeafe 100%);
  border: 1px solid rgba(37,99,235,.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.letter-wheel-shell {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  touch-action: none;
  cursor: grab;
  user-select: none;
}
.letter-wheel-shell:active {
  cursor: grabbing;
}
.letter-wheel-shell:focus-visible {
  outline: 4px solid #f97316;
  outline-offset: 8px;
  border-radius: 50%;
}
.letter-wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, transparent 0 27%, rgba(255,255,255,.88) 28% 30%, transparent 31%),
    repeating-conic-gradient(from -6.923deg, #16a34a 0deg 13.846deg, #2563eb 13.846deg 27.692deg, #f97316 27.692deg 41.538deg, #7c3aed 41.538deg 55.384deg);
  border: 10px solid #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .22), inset 0 0 0 2px rgba(15, 23, 42, .12);
  transform: rotate(var(--wheel-rotation, 0deg));
  transition: transform 2.2s cubic-bezier(.13,.82,.18,1);
  will-change: transform;
}
.letter-wheel.is-dragging {
  transition: none;
}
.letter-wheel::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.72);
}
.letter-wheel-chip {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #111827;
  font-size: .82rem;
  font-weight: 950;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .16);
  transform: rotate(calc(var(--i) * 360deg / var(--total))) translateY(calc(-1 * min(126px, 32vw))) rotate(calc(var(--i) * -360deg / var(--total)));
  z-index: 1;
}
.letter-wheel-pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 28px solid #111827;
  transform: translateX(-50%);
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(15,23,42,.26));
}
.letter-wheel-center {
  position: relative;
  z-index: 3;
  width: min(128px, 34vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border-radius: 50%;
  background: #ffffff;
  border: 6px solid #eff6ff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .18);
  pointer-events: none;
}
.letter-wheel-center span {
  color: #64748b;
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}
.letter-output strong,
.letter-wheel-center strong {
  font-size: clamp(3.4rem, 13vw, 5.4rem);
  line-height: 1;
  color: #1d4ed8;
  text-shadow: 0 8px 24px rgba(37,99,235,.18);
}
.letter-wheel-center.is-spinning strong {
  color: #94a3b8;
  text-shadow: none;
  animation: letter-wait-pulse .7s ease-in-out infinite alternate;
}
@keyframes letter-wait-pulse {
  from { opacity: .35; transform: scale(.94); }
  to { opacity: .9; transform: scale(1.02); }
}
.letter-wheel-hint {
  margin: 0;
  color: #475569;
  font-weight: 850;
  text-align: center;
  font-size: .92rem;
}
.used-letters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.used-letters span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 900;
  border: 1px solid #bfdbfe;
}
.letter-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.letter-stat {
  flex: 1 1 120px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.timer-card {
  grid-column: 1 / -1;
}
.timer-output {
  display: grid;
  place-items: center;
  min-height: 120px;
  margin: 0;
  border-radius: 20px;
  background: #111827;
  color: #ffffff;
  font-size: clamp(3.2rem, 12vw, 6rem);
  font-weight: 950;
  line-height: 1;
}
@media (max-width: 760px) {
  .letter-generator { grid-template-columns: 1fr; }
  .letter-output { min-height: 330px; padding: 18px; }
  .letter-wheel-shell { width: min(292px, 82vw); }
  .letter-wheel-chip {
    width: 24px;
    height: 24px;
    margin: -12px;
    font-size: .72rem;
    transform: rotate(calc(var(--i) * 360deg / var(--total))) translateY(calc(-1 * min(118px, 34vw))) rotate(calc(var(--i) * -360deg / var(--total)));
  }
  .letter-wheel-center { width: min(116px, 34vw); }
}
.letter-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  gap: 8px;
}
.letter-chip {
  min-height: 44px;
  border-radius: 14px;
  background: #eef4ff;
  border: 1px solid #c7d2fe;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #1d4ed8;
  user-select: none;
}
.letter-chip.is-active {
  background: linear-gradient(135deg, #2563eb, #16a34a);
  color: white;
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.merch-grid img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: var(--shadow);
}
@media (max-width: 900px) {
  .merch-grid { grid-template-columns: 1fr; }
}
@media print {
  @page { size: A4 landscape; margin: 6mm; }
  html, body, #print-preview, #print-preview * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  body * { visibility: hidden !important; }
  #print-preview, #print-preview * { visibility: visible !important; }
  body { background: white; }
  #print-preview {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
  .wrap, .card, .sheet-frame { width: 100%; margin: 0; box-shadow: none; }
  .preview-table th, .preview-table td {
    border: 2px solid #334155 !important;
  }
  .preview-table th {
    background: #ea7a28 !important;
    color: #ffffff !important;
  }
  .preview-table td {
    background: #f8fafc !important;
  }
  .preview-table tbody tr:nth-child(even) td {
    background: #eef2f7 !important;
  }
  .sheet-top, .sheet-footer-strip {
    background: #111827 !important;
    color: #ffffff !important;
  }
  .sheet-frame.design-party .sheet-top,
  .sheet-frame.design-party .sheet-footer-strip { background: #3b0764 !important; }
  .sheet-frame.design-party .preview-table th { background: #db2777 !important; }
  .sheet-frame.design-kinder .sheet-top,
  .sheet-frame.design-kinder .sheet-footer-strip { background: #075985 !important; }
  .sheet-frame.design-kinder .preview-table th { background: #16a34a !important; }
  .sheet-frame.design-minimal .sheet-top,
  .sheet-frame.design-minimal .sheet-footer-strip {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
  }
  .sheet-frame.design-minimal {
    background: #ffffff !important;
    border-color: #000000 !important;
  }
  .sheet-frame.design-minimal .sheet-title,
  .sheet-frame.design-minimal .sheet-subtitle,
  .sheet-frame.design-minimal .sheet-url,
  .sheet-frame.design-minimal .letter-strip-label {
    color: #000000 !important;
  }
  .sheet-frame.design-minimal .preview-table th,
  .sheet-frame.design-minimal .preview-table td,
  .sheet-frame.design-minimal .preview-table tbody tr:nth-child(even) td {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
  }
  .sheet-frame.design-minimal .letter-strip-letters span,
  .sheet-frame.design-minimal .sheet-total-box,
  .sheet-frame.design-minimal .sheet-player-fields span {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
  }
  .sheet-frame.design-notizblock .sheet-top,
  .sheet-frame.design-notizblock .sheet-footer-strip { background: #78350f !important; }
  .sheet-frame.design-notizblock .preview-table th { background: #b45309 !important; }
  .sheet-frame.design-schule .sheet-top,
  .sheet-frame.design-schule .sheet-footer-strip { background: #166534 !important; }
  .sheet-frame.design-schule .preview-table th { background: #15803d !important; }
  .sheet-frame.design-reise .sheet-top,
  .sheet-frame.design-reise .sheet-footer-strip { background: #0f766e !important; }
  .sheet-frame.design-reise .preview-table th { background: #0ea5e9 !important; }
  .sheet-frame.design-spielabend .sheet-top,
  .sheet-frame.design-spielabend .sheet-footer-strip { background: #4c1d95 !important; }
  .sheet-frame.design-spielabend .preview-table th { background: #2563eb !important; }
  .site-header, .hero, .banner-grid, .sidebar, .footer, .print-actions, .no-print, .page-hero, .subnav, .breadcrumb-nav { display: none !important; }
}
