/* WOSC 2026 – Chrome-Leiste + A11y (unten, mobilfreundlich, kein Konflikt mit App-Headern) */
:root {
  --wosc-chrome-bg: rgba(6, 10, 18, 0.94);
  --wosc-chrome-border: rgba(125, 211, 252, 0.25);
  --wosc-chrome-text: #eaf2ff;
  --wosc-chrome-accent: #7dd3fc;
  --wosc-safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-reduced-motion: reduce) {
  .wosc-dock__link {
    transition: none !important;
  }
}

#wosc-dock {
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  position: fixed;
  z-index: 2147483000;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: var(--wosc-safe-bottom);
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.wosc-dock__inner {
  pointer-events: auto;
  display: flex;
  align-items: stretch;
  gap: 2px;
  margin: 0 6px 10px;
  padding: 5px 6px;
  max-width: min(520px, 100%);
  background: var(--wosc-chrome-bg);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid var(--wosc-chrome-border);
  border-radius: 22px;
  box-shadow:
    0 -10px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 40px rgba(125, 211, 252, 0.1);
}

.wosc-dock__link {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 7px 4px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--wosc-chrome-text);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

@media (min-width: 480px) {
  .wosc-dock__link {
    font-size: 10px;
    padding: 8px 8px;
  }
}

.wosc-dock__link:hover,
.wosc-dock__link:focus-visible {
  background: rgba(125, 211, 252, 0.14);
  color: #fff;
  outline: none;
}

.wosc-dock__link:focus-visible {
  box-shadow: 0 0 0 2px var(--wosc-chrome-accent);
}

.wosc-dock__link:active {
  transform: scale(0.96);
}

.wosc-dock__link[aria-current="page"] {
  background: rgba(125, 211, 252, 0.2);
  color: var(--wosc-chrome-accent);
}

.wosc-dock__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.wosc-dock__label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 64px;
}

@media (min-width: 400px) {
  .wosc-dock__label {
    max-width: 76px;
  }
}

html.wosc-chrome-active body {
  padding-bottom: calc(72px + var(--wosc-safe-bottom));
}

#wosc-skip {
  position: fixed;
  z-index: 2147483646;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--wosc-chrome-accent);
  color: #050810;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
  border-radius: 10px;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

#wosc-skip:focus {
  transform: translateY(0);
  outline: 3px solid #fff;
}
