:root {
  --bg: #ffffff;
  --accent: #0078d4;
  --accent-light: #1e90ff;
  --text: #1c1e26;
  --card-bg: #f4f5f9;
  --accent-rgb: 0, 120, 212;
  --accent-light-rgb: 30, 144, 255;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --text: #e0e0e0;
    --card-bg: #2d2d2d;
  }
}

html.dark-mode {
  --bg: #1a1a1a;
  --text: #e0e0e0;
  --card-bg: #2d2d2d;
}

html.light-mode {
  --bg: #ffffff;
  --text: #1c1e26;
  --card-bg: #f4f5f9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 2rem;
  background: rgba(29, 30, 32, 0.95);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 120, 212, 0.5), 0 0 30px rgba(0, 120, 212, 0.2);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: #ffffff;
  text-decoration: none;
}

.nav-logo-img {
  height: 3.5rem;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-logo-text {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: #cccccc;
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.nav-links a:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.nav-links a.active {
  color: #cccccc;
}

.nav-quote {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  font-style: italic;
  color: #cccccc;
  opacity: 0.8;
  margin-top: 0.1rem;
  margin-bottom: 0;
}

.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-item-dropdown > a {
  position: relative;
}

.nav-item-dropdown > a::after {
  content: "⮟";
  margin-left: 0.3rem;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
  display: inline-block;
  vertical-align: middle;
}

.nav-item-dropdown:hover > a::after {
  transform: scale(1.1);
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: rgba(51, 51, 51, 0.95);
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: calc(100% + 0.25rem);
  left: 0;
  border-radius: 6px;
  margin-top: 0;
}

.dropdown-menu a {
  color: #cccccc;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  transition: color 0.2s ease, background-color 0.2s ease;
  border-radius: 0;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: none;
}

.dropdown-menu a.active {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 769px) {
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Nested Submenu Styles */
.dropdown-submenu {
  position: relative;
}

.submenu-toggle {
  display: block !important;
  color: var(--accent) !important;
  border-bottom: 2px solid var(--accent) !important;
  text-decoration: none !important;
  padding-bottom: 0.25rem !important;
}

.submenu-toggle::after {
  display: none;
}

.submenu-items {
  display: block;
  background-color: rgba(40, 40, 40, 0.8);
}

.submenu-items a {
  padding-left: 2.5rem;
  font-size: 0.95rem;
  color: #aaaaaa;
}

.submenu-items a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
}

@media (min-width: 769px) {
  .dropdown-submenu:hover .submenu-items {
    display: block;
  }
}

.page-hero {
  min-height: 25vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  background: var(--bg);
  padding: 2.5rem 1rem;
}

.page-hero-compact {
  min-height: 0;
  padding: 1rem 1rem 0;
}

.page-hero-compact + main > .section {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.page-hero-compact + main .article-intro {
  margin-bottom: 0 !important;
}

.page-icon {
  width: clamp(140px, 20vw, 220px);
  filter: drop-shadow(0 0 15px var(--accent)) drop-shadow(0 0 30px var(--accent-light));
}

.page-icon-emoji {
  font-size: clamp(6rem, 20vw, 11rem);
  line-height: 1;
  filter: drop-shadow(0 0 15px var(--accent)) drop-shadow(0 0 30px var(--accent-light));
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--accent-light);
}

.page-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin: 0;
}

.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
  text-align: left;
}

.section h2 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.section h2.blink {
  animation: heading-blink 0.5s ease-in-out 3;
}

@keyframes heading-blink {
  50% {
    opacity: 0.1;
  }
}

.construction {
  font-size: 3rem;
  font-weight: bold;
  color: #000000;
  text-align: center;
}

html.dark-mode .construction {
  color: #e0e0e0;
}

@media (prefers-color-scheme: dark) {
  .construction {
    color: #e0e0e0;
  }
}

.article-intro {
  margin-bottom: 1.5rem;
}

.article-intro a {
  color: #000000;
}

html.dark-mode .article-intro a {
  color: #e0e0e0;
}

@media (prefers-color-scheme: dark) {
  .article-intro a {
    color: #e0e0e0;
  }
}

/* Games Table Styles */
.games-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  border: 1px solid var(--accent);
  border-radius: 6px;
  overflow: hidden;
}

.games-table thead {
  background-color: var(--accent);
  color: #ffffff;
}

.games-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--accent);
}

.games-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0, 120, 212, 0.2);
}

.games-table tbody tr:hover {
  background-color: var(--card-bg);
  transition: background-color 0.2s ease;
}

.games-table tbody tr:last-child td {
  border-bottom: none;
}

/* Game Header Image in Table */
.game-header-img {
  padding: 0.5rem !important;
  max-width: 180px;
  vertical-align: middle;
}

.game-header-img img {
  width: 100%;
  height: auto;
  max-width: 180px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: block;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Burger Menu Button */
.burger-menu {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 11;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
    margin-left: auto;
  }

  .navbar {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 1rem;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-logo-img {
    height: 2.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: rgba(51, 51, 51, 0.98);
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 9;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a,
  .nav-links .nav-item-dropdown > a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: none;
  }

  .nav-item-dropdown {
    position: static;
    display: block;
    width: 100%;
  }

  .nav-item-dropdown > a::after {
    content: none;
  }

  .nav-links .dropdown-menu {
    display: block;
    position: static;
    min-width: auto;
    background-color: rgba(30, 30, 30, 0.98);
    box-shadow: none;
    border-radius: 0;
    margin: 0;
  }

  .nav-links .dropdown-menu a {
    padding: 0.6rem 1.5rem 0.6rem 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
  }

  .dropdown-submenu {
    position: static;
  }

  .nav-links .dropdown-submenu > .submenu-toggle {
    display: block !important;
    color: #ffffff !important;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.6rem 1.5rem 0.6rem 3rem !important;
  }

  .dropdown-submenu > .submenu-items {
    display: block;
    background-color: rgba(40, 40, 40, 0.8);
  }

  .nav-links .dropdown-submenu .submenu-items a {
    padding: 0.6rem 1.5rem 0.6rem 4rem;
    color: #aaaaaa;
    font-size: 0.95rem;
  }

  .nav-quote {
    display: none;
  }

  .section {
    padding: 1rem;
  }

  .section h2 {
    font-size: 1.5rem;
  }
}

/* Dark Mode Toggle Button */
.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #cccccc;
  padding: 0.25rem 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  width: 32px;
  height: 32px;
}

.theme-toggle:hover {
  color: #ffffff;
  transform: scale(1.2);
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
  fill: currentColor;
}

/* Improved Text Formatting */
.section p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}

.section h3 {
  color: var(--accent);
  margin-top: 1.8rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.section h4 {
  color: #aaaaaa;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.section code {
  background-color: rgba(0, 120, 212, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  color: var(--accent);
}

html.dark-mode .section code {
  background-color: rgba(30, 144, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  .section code {
    background-color: rgba(30, 144, 255, 0.2);
  }
}

/* List Formatting */
.section ol,
.section ul {
  margin: 1.2rem 0;
  padding-left: 2.5rem;
  line-height: 1.9;
}

.section li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.section li strong {
  color: var(--accent);
}

html.dark-mode .section li strong,
.dark-mode .section li strong {
  color: #1e90ff;
}

@media (prefers-color-scheme: dark) {
  .section li strong {
    color: #1e90ff;
  }
}

/* Link Formatting in Lists */
.section li a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.section li a:hover {
  border-bottom-style: solid;
}

/* Article intro text */
.article-intro {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-light);
  margin-bottom: 1.5rem !important;
  line-height: 1.8;
}

/* Global Link Styling */
.section p a,
.section ul a,
.section ol a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  transition: border-color 0.2s ease;
}

.section p a:hover,
.section ul a:hover,
.section ol a:hover {
  border-bottom-style: solid;
}

/* ProtonDB Badges */
.proton-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  min-width: 100px;
  text-align: center;
}

.proton-badge-platinum {
  background: linear-gradient(135deg, #e5e4e2, #d9d8d4);
  color: #1a1a1a;
}

.proton-badge-gold {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #1a1a1a;
}

.proton-badge-silver {
  background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
  color: #1a1a1a;
}

.proton-badge-bronze {
  background: linear-gradient(135deg, #cd7f32, #d9a574);
  color: #ffffff;
}

.proton-badge-unsupported {
  background: linear-gradient(135deg, #ff6b6b, #ff8787);
  color: #ffffff;
}

.proton-badge-unknown {
  background: linear-gradient(135deg, #9e9e9e, #bdbdbd);
  color: #ffffff;
}

/* Games table styling */
.games-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.games-table thead {
  background: var(--accent);
  color: #ffffff;
}

.games-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.games-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  vertical-align: middle;
}

.games-table tr:last-child td {
  border-bottom: none;
}

.games-table tr:hover {
  background: rgba(var(--accent-rgb), 0.05);
}

.games-table a {
  text-decoration: none;
  color: inherit;
}

.game-header-img {
  padding: 0.5rem !important;
  max-width: 1800px;
  vertical-align: middle;
}

.game-header-img img {
  width: 100%;
  height: auto;
  max-width: 1800px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: block;
}

@media (max-width: 768px) {
  .game-header-img {
    max-width: 120px;
    padding: 0.3rem !important;
  }

  .game-header-img img {
    max-width: 120px;
  }
}

/* Startseite: Abschnitt-Titel als blaue Leiste, Liste als Container */
.section.compact:has(> .entry-list) > h2 {
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 12px 12px 0 0;
}

.section.compact:has(> .entry-list) > h2 .section-meta {
  color: #ffffff;
}

.section.compact:has(> .entry-list) > .entry-list {
  border-top: none;
  border-radius: 0 0 12px 12px;
}

#projekte .entry-list,
#artikel .entry-list {
  gap: 0;
  padding: 0 1rem;
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#projekte .entry-list .entry,
#artikel .entry-list .entry {
  padding: 0.75rem 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

#projekte .entry-list .entry + .entry,
#artikel .entry-list .entry + .entry {
  border-top: 1px solid rgba(127, 127, 127, 0.3);
}

#projekte .entry-list .entry-head,
#artikel .entry-list .entry-head {
  padding: 0;
  background: none;
  color: inherit;
}

/* Spiel-Karten (Gaming-Highlights) */
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.game-card-header {
  background: var(--accent);
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.game-card-header a {
  color: #ffffff;
  text-decoration: none;
}

.game-card-body {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 1rem;
  align-items: flex-start;
}

.game-card-info {
  flex: 1 1 0;
  min-width: 0;
}

.game-card-info p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
}

.game-card-image {
  flex: 0 1 60%;
  max-width: 920px;
}

.game-card-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.game-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.game-card-meta-end {
  justify-content: flex-end;
}

.game-card-body:has(.game-card-meta-end) .game-card-image {
  flex: 0 0 auto;
  max-width: none;
}

.steam-button {
  display: inline-block;
  padding: calc(0.5rem - 1px) calc(1rem - 1px);
  min-width: 100px;
  border: 1px solid var(--accent-light);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: inherit;
  text-align: center;
  white-space: nowrap;
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.steam-button:hover {
  background: var(--accent-light);
  color: #ffffff;
}

@media (max-width: 768px) {
  .game-card-body {
    flex-direction: column;
  }

  .game-card-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

/* Kompakte Abschnitte und Eintragslisten (Startseite) */
.section.compact {
  padding: 0.75rem 1.5rem;
  scroll-margin-top: 8rem;
}

.section.compact h2 {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-meta {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  opacity: 0.6;
}

.section.compact p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.section .entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section .entry-list .entry {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.entry-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

.entry-icon {
  height: 1.5rem;
  width: auto;
}

.section .entry-list .entry-name {
  font-weight: 600;
  color: var(--accent-light);
}

#projekte .entry-list .entry-name,
#artikel .entry-list .entry-name {
  color: var(--text);
}

.entry-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-left: auto;
  font-size: 0.9rem;
}

.section .entry-list a {
  padding: 0.1rem 0.6rem;
  color: var(--accent-light);
  border: 1px solid var(--accent-light);
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.section .entry-list a:hover {
  background: var(--accent-light);
  color: var(--bg);
  border-bottom-style: solid;
}

#projekte .entry-list a,
#artikel .entry-list a {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  font-weight: 700;
}

#projekte .entry-list a:hover,
#artikel .entry-list a:hover {
  background: var(--accent-light);
  color: #ffffff;
}

.section .entry-list .entry-desc {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
}

.section .connection-list {
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.section .connection-list .entry {
  display: grid;
  grid-template-columns: 1.4rem 6rem 1fr;
  align-items: start;
  gap: 0 1rem;
  padding: 0;
  line-height: 1.4rem;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.connection-label {
  min-width: 6rem;
  font-size: 0.9rem;
  color: var(--text);
}

.connection-icon {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  color: var(--text);
}

.connection-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.section.compact .connection-card > h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  color: #ffffff;
  background: var(--accent);
}

.section .connection-card .connection-list {
  padding: 1.5rem 1.25rem;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.connection-body {
  display: flex;
  align-items: stretch;
}

.connection-body .connection-list {
  flex: 1;
}

.connection-items span {
  display: block;
  position: relative;
  padding-left: 1rem;
}

.connection-items span::before {
  content: "•";
  position: absolute;
  left: 0;
}

.section .connection-list.task-list .entry {
  grid-template-columns: 1.4rem 13rem 1fr;
}

.section .connection-list.distro-list .entry {
  grid-template-columns: 1.4rem 7rem 1fr;
}

@media (max-width: 600px) {
  .section .connection-list.distro-list .entry {
    grid-template-columns: 1.4rem 1fr;
  }

  .distro-list .entry > span {
    grid-column: 2;
  }
  .section .connection-list.task-list .entry {
    grid-template-columns: 1.4rem 1fr;
  }

  .task-list .connection-items {
    grid-column: 2;
  }
}

.section .connection-list a {
  padding: 0;
  border: none;
  border-radius: 0;
  color: var(--text);
}

.section .connection-list a:hover {
  background: none;
  border: none;
  color: var(--text);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .section.compact .entry-list,
  .section.compact .entry-list .entry,
  .section.compact .entry-head,
  .section.compact .connection-list .entry,
  .section.compact .connection-items {
    min-width: 0;
    max-width: 100%;
  }

  .section.compact .entry-list .entry,
  .section.compact .entry-desc,
  .section.compact .entry-name {
    overflow-wrap: anywhere;
  }

  .section.compact .entry-links {
    margin-left: 0;
  }
}

/* GOG-Tabelle */
.table-scroll {
  overflow-x: auto;
}

.table-search {
  width: 100%;
  max-width: 28rem;
  padding: 0.6rem 0.9rem;
  font: inherit;
  color: var(--text);
  background: var(--card-bg);
  border: 1px solid var(--accent);
  border-radius: 6px;
}

.table-count {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

.gog-table td,
.gog-table th {
  padding: 0.6rem 0.8rem;
  vertical-align: top;
}

.gog-table .gog-flag {
  text-align: center;
  white-space: nowrap;
}

.gog-table td:last-child {
  overflow-wrap: anywhere;
}

.gog-table a {
  color: var(--accent);
  text-decoration: underline;
}

.gog-broken {
  margin-left: 0.4rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.8rem;
  color: #ffffff;
  background: #ff6b6b;
  border-radius: 999px;
}
