@page {
  size: A4;
  margin: 14mm;
}

.scrabble-guide.de-guide .toc > summary::after {
  content: "Abschnitte anzeigen";
}

.scrabble-guide.de-guide .toc[open] > summary::after {
  content: "Abschnitte ausblenden";
}

.de-guide .guide-kicker {
  margin: 0 0 0.35rem;
  color: var(--guide-gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.de-guide .mode-label {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  color: #fff;
  background: var(--guide-blue-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.de-guide .mode-label.home {
  background: #37784a;
}

.de-guide .mode-label.tournament {
  background: #654278;
}

.de-guide .control-button {
  min-height: 44px;
}

.de-guide .de-helper-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid color-mix(in srgb, var(--guide-blue) 42%, var(--guide-line));
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--guide-blue) 10%, var(--guide-paper));
}

.de-guide .de-helper-card h2,
.de-guide .de-helper-card p {
  margin: 0;
}

.de-guide .de-helper-card h2 {
  color: var(--guide-ink);
}

.de-guide .de-helper-card p {
  margin-top: 0.35rem;
  color: color-mix(in srgb, var(--guide-ink) 82%, var(--guide-paper));
}

.de-guide .de-helper-card a {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  color: #fff;
  background: #263c6a;
  font-weight: 800;
  text-decoration: none;
}

.de-guide .de-helper-card a:hover,
.de-guide .de-helper-card a:focus-visible {
  background: #193f59;
  text-decoration: underline;
}

@media (max-width: 680px) {
  .scrabble-guide.de-guide .toc a {
    min-height: 2.75rem;
  }

  .de-guide .de-helper-card {
    align-items: stretch;
    flex-direction: column;
  }

  .de-guide .de-helper-card a {
    text-align: center;
  }
}

@media print {
  .scrabble-guide.de-guide .mode-label {
    border: 1px solid #555;
    color: #111;
    background: transparent;
  }

  .de-guide .de-helper-card {
    display: none;
  }
}
