@font-face {
  font-family: "Vaillant16";
  src: url("../assets/fonts/Vaillant16-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vaillant16";
  src: url("../assets/fonts/Vaillant16-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vaillant16";
  src: url("../assets/fonts/Vaillant16-Demi.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Vaillant16";
  src: url("../assets/fonts/Vaillant16-Heavy.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #010a11;
  --bg-deep: #00070c;
  --panel: rgba(0, 18, 27, 0.82);
  --panel-solid: #00121b;
  --line: rgba(17, 151, 152, 0.35);
  --teal: #119798;
  --teal-bright: #1cc4c6;
  --teal-soft: #8fd7d8;
  --gold: #f5a948;
  --gold-soft: #ffc56d;
  --green: #6fdf6a;
  --text: #ffffff;
  --muted: #9bb4bc;
  --radius: 10px;
  --max: 1280px;
  --layout-pad: 24px;
  --content-inset: max(var(--layout-pad), calc((100vw - var(--max)) / 2 + var(--layout-pad)));
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg-deep);
  font-family: "Vaillant16", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- Gate ---------- */

.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, rgba(28, 196, 198, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(245, 169, 72, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 45% 35% at 15% 75%, rgba(17, 151, 152, 0.16) 0%, transparent 50%),
    linear-gradient(160deg, #02080e 0%, #031820 42%, #010a11 100%);
}

.gate-glow {
  position: absolute;
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 196, 198, 0.18) 0%, transparent 70%);
  filter: blur(20px);
  animation: gate-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

.gate-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: min(360px, 100%);
  animation: gate-in 0.7s ease both;
}

.gate-logo {
  width: min(220px, 70vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gate-lead {
  margin: -12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-align: center;
  line-height: 1.45;
}

.gate-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.gate-input {
  width: 100%;
  padding: 16px 18px;
  color: #fff;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-align: center;
  background: rgba(0, 14, 22, 0.72);
  border: 1px solid rgba(28, 196, 198, 0.4);
  border-radius: 10px;
  outline: none;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gate-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.gate-input:focus {
  border-color: var(--teal-bright);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(28, 196, 198, 0.18);
}

.gate-input.is-error {
  border-color: #e25b5b;
  animation: gate-shake 0.35s ease;
}

.gate-submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px 18px;
  color: #001018;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--teal-bright);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

.gate-submit:hover {
  background: #37d7d9;
}

.gate-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.gate-error {
  margin: 4px 0 0;
  color: #ff8b8b;
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
}

.gate.is-leaving {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.gate-variants {
  position: relative;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(920px, 100%);
  animation: gate-in 0.7s ease both;
}

.gate[data-step="password"] .gate-form {
  display: flex;
}

.gate[data-step="password"] .gate-variants {
  display: none !important;
}

.gate[data-step="variant"] .gate-form {
  display: none !important;
}

.gate[data-step="variant"] .gate-variants {
  display: flex;
}

.gate-form[hidden],
.gate-variants[hidden] {
  display: none !important;
}

.gate-variants-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-align: center;
}

.gate-variant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}

.gate-variant-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 20px;
  text-align: left;
  color: #fff;
  background: rgba(0, 14, 22, 0.72);
  border: 1px solid rgba(28, 196, 198, 0.35);
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gate-variant-card:hover:not(:disabled) {
  transform: translateY(-4px);
  border-color: rgba(28, 196, 198, 0.65);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.gate-variant-card strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gate-variant-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #001018;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  border-radius: 10px;
}

.gate-variant-card.is-soon {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 760px) {
  .gate-variant-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes gate-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gate-pulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes gate-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}

.app[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: #000b12;
  border-bottom: 1px solid rgba(17, 151, 152, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.qualify-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  border-bottom: 1px solid rgba(245, 169, 72, 0.35);
  background: linear-gradient(90deg, rgba(20, 12, 4, 0.96), rgba(0, 18, 27, 0.96) 55%, rgba(0, 14, 22, 0.96));
}

.qualify-bar.is-ok,
.qualify-bar.is-stable {
  border-bottom-color: rgba(28, 196, 198, 0.45);
  background: linear-gradient(90deg, rgba(0, 28, 32, 0.96), rgba(0, 18, 27, 0.96) 60%);
}

.qualify-bar.is-pulse {
  border-bottom-color: rgba(245, 169, 72, 0.45);
}

.qualify-bar.is-fight {
  border-bottom-color: rgba(255, 122, 69, 0.5);
  background: linear-gradient(90deg, rgba(32, 14, 6, 0.96), rgba(0, 18, 27, 0.96) 60%);
}

.qualify-bar.is-out {
  border-bottom-color: rgba(155, 180, 188, 0.35);
  background: linear-gradient(90deg, rgba(8, 14, 18, 0.96), rgba(0, 18, 27, 0.96) 60%);
}

.qualify-bar-copy {
  min-width: 0;
}

.qualify-bar-account {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.qualify-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px var(--layout-pad);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-sizing: border-box;
}

.qualify-bar-mark {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(245, 169, 72, 0.7);
}

.qualify-bar.is-ok .qualify-bar-mark,
.qualify-bar.is-stable .qualify-bar-mark {
  background: var(--teal-bright);
  box-shadow: 0 0 12px rgba(28, 196, 198, 0.7);
}

.qualify-bar.is-fight .qualify-bar-mark {
  background: #ff7a45;
  box-shadow: 0 0 12px rgba(255, 122, 69, 0.7);
}

.qualify-bar.is-out .qualify-bar-mark {
  background: var(--muted);
  box-shadow: none;
}

.qualify-bar-text {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.header-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand img {
  height: 32px;
  width: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--teal-bright);
}

.main-nav a.nav-gold {
  color: var(--gold);
}

.main-nav a.nav-gold:hover,
.main-nav a.nav-gold.is-active {
  color: var(--gold-soft);
}

.main-nav a.nav-gold.is-active::after {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(245, 169, 72, 0.55);
}

.main-nav a.is-active {
  color: var(--teal-bright);
}

.main-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal-bright);
  box-shadow: 0 0 10px rgba(28, 196, 198, 0.7);
}

.user-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.user-logout {
  padding: 0;
  color: var(--teal-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.user-logout:hover {
  color: #fff;
}

.user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(28, 196, 198, 0.55);
}

.user-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-text strong {
  font-size: 13px;
  font-weight: 600;
}

.user-text small {
  color: #c5d5db;
  font-size: 11px;
}

.chevron {
  width: 10px;
  height: 8px;
  opacity: 0.75;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url("../assets/images/hero-bg.jpg") center 40% / cover no-repeat;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 6, 12, 0.82) 0%,
      rgba(0, 10, 18, 0.68) 32%,
      rgba(0, 12, 20, 0.35) 58%,
      rgba(0, 8, 14, 0.25) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 6, 12, 0.35) 0%,
      rgba(0, 8, 14, 0.12) 40%,
      transparent 62%
    );
}

.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(
    180deg,
    rgba(1, 10, 17, 0) 0%,
    rgba(1, 12, 20, 0.28) 30%,
    rgba(1, 12, 20, 0.72) 65%,
    #010a11 100%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  min-height: 420px;
  padding: 40px var(--layout-pad) 100px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
  justify-self: start;
  text-align: left;
  animation: copy-in 0.9s ease 0.1s both;
}

.hero-copy h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-lead {
  max-width: 520px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.hero-logo-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.program-logo {
  width: min(100%, 300px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
  animation: logo-in 0.9s ease both;
}

.countdown-label {
  margin-bottom: 10px;
  color: var(--teal-bright);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.countdown-grid {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.countdown-cell {
  position: relative;
  min-width: 88px;
  padding: 10px 18px;
  text-align: center;
  background: rgba(0, 8, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.countdown-cell + .countdown-cell {
  border-left: 0;
}

.countdown-cell:first-child {
  border-radius: 8px 0 0 8px;
}

.countdown-cell:last-child {
  border-radius: 0 8px 8px 0;
}

.countdown-cell + .countdown-cell::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.countdown-value {
  display: block;
  color: var(--gold);
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(245, 169, 72, 0.35);
}

.countdown-unit {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Main panel ---------- */

.main-panel {
  position: relative;
  isolation: isolate;
  padding: 0 0 40px;
  background: linear-gradient(
    180deg,
    #010a11 0%,
    #021820 18%,
    #04222c 42%,
    #031820 72%,
    #010a11 100%
  );
}

.progress-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: -72px auto 0;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
}

.progress-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px 18px;
  overflow: hidden;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(2, 24, 34, 0.97), rgba(1, 16, 24, 0.96));
  border: 1px solid rgba(28, 196, 198, 0.4);
  border-radius: var(--radius);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(28, 196, 198, 0.08),
    0 0 36px rgba(17, 151, 152, 0.12);
  backdrop-filter: blur(14px);
}

.content-grid,
.end-cta {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-pad);
  padding-right: var(--layout-pad);
  box-sizing: border-box;
}

.progress-head,
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.progress-head {
  padding: 0;
}

.progress-head h2,
.panel h2 {
  color: var(--teal-bright);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  color: var(--teal-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.text-link:hover {
  color: #fff;
}

.progress-body {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 0;
  min-width: 0;
}

.progress-meter {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ring {
  --p: 72;
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-track,
.ring-value {
  fill: none;
  stroke-width: 8;
}

.ring-track {
  stroke: rgba(255, 255, 255, 0.1);
}

.ring-value {
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: calc(326.7 - (326.7 * var(--p) / 100));
  filter: drop-shadow(0 0 6px rgba(245, 169, 72, 0.45));
}

.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  line-height: 1.1;
}

.ring-pct {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ring-unit {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meter-sub {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.meter-points {
  margin-top: 2px;
  color: var(--teal-bright);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.meter-points span {
  font-size: 14px;
}

.meter-total {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: start;
  position: relative;
  min-width: 0;
}

.stages--season {
  --season-icon-size: 44px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

/* Poziomy pasek między środkami ikon (Październik → Grudzień) */
.stages--season::before {
  content: none;
  display: none;
}

.stages--season::after {
  content: "";
  position: absolute;
  top: calc(var(--season-icon-size) / 2);
  left: calc(100% / 8);
  right: calc(100% / 8);
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(28, 196, 198, 0.75) 0%,
    rgba(245, 169, 72, 0.55) 50%,
    rgba(28, 196, 198, 0.45) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.stages--season .stage-icon {
  position: relative;
  z-index: 1;
  width: var(--season-icon-size);
  height: var(--season-icon-size);
}

.stages--season .stage:not(:last-child)::after {
  content: none;
  display: none;
}

.panel-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 48px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.ranking--empty li {
  grid-template-columns: 36px 1fr;
}

.ranking--empty .rank-name {
  color: var(--muted);
  font-style: normal;
}

.modal-ranking-lead {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.ring-label .ring-pct {
  font-size: clamp(22px, 3vw, 28px);
}

.stages::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--teal) 0%,
    var(--teal) 45%,
    var(--gold) 50%,
    rgba(255, 255, 255, 0.15) 55%,
    rgba(255, 255, 255, 0.15) 100%
  );
  z-index: 0;
}

.stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.stage-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-bright);
  background: rgba(0, 12, 18, 0.9);
  border: 2px solid var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 12, 18, 0.65);
}

.stage-icon svg {
  width: 22px;
  height: 22px;
}

.stage.is-done .stage-icon {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
}

.stage.is-active .stage-icon {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow:
    0 0 0 4px rgba(0, 12, 18, 0.65),
    0 0 18px rgba(245, 169, 72, 0.55);
}

.stage:not(.is-done):not(.is-active) .stage-icon {
  color: #6d7d86;
  border-color: #44545c;
}

.stage-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stage-meta strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stage.is-active .stage-meta strong {
  color: var(--gold);
}

.stage.is-done .stage-meta strong {
  color: var(--teal-bright);
}

.stage:not(.is-done):not(.is-active) .stage-meta strong {
  color: #8a9aa2;
}

.stage-meta span {
  color: var(--muted);
  font-size: 10px;
}

/* ---------- Content grid ---------- */

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 18px;
  margin-top: 18px;
  align-items: stretch;
}

.panel--news {
  min-height: 0;
}

.news-list--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  flex: 1;
}

.news-list--grid .news-item {
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding-bottom: 0;
  border-bottom: 0;
  align-content: start;
}

.news-list--grid .news-item img {
  width: 88px;
  height: 64px;
}

.panel {
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.panel > h2,
.panel-head {
  margin-bottom: 14px;
}

.news-list,
.achievements,
.ranking {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.news-item:hover {
  transform: translateX(2px);
}

.news-item:focus-visible {
  outline: 1px solid var(--teal-bright);
  outline-offset: 4px;
  border-radius: 6px;
}

.news-item:last-child {
  border-bottom: 0;
}

.news-item img {
  width: 108px;
  height: 68px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  background: #0a1a22;
}

.news-item h3 {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.news-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
}

.news-item a,
.news-more {
  color: var(--teal-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-item a:hover,
.news-item:hover .news-more {
  color: #fff;
}

.achievements li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.achievements li:last-child {
  border-bottom: 0;
}

.ach-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-bright);
  background: rgba(17, 151, 152, 0.15);
  border: 1px solid rgba(28, 196, 198, 0.35);
}

.ach-icon svg {
  width: 20px;
  height: 20px;
}

.ach-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ach-body strong {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ach-body span {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ach-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.ach-meta em {
  color: var(--green);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}

.ach-meta time {
  color: var(--muted);
  font-size: 10px;
}

.ranking li {
  display: grid;
  grid-template-columns: 28px 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.ranking li.is-top {
  background: rgba(17, 151, 152, 0.12);
  border-color: rgba(28, 196, 198, 0.45);
  box-shadow: inset 0 0 18px rgba(28, 196, 198, 0.08);
}

.ranking li.is-you {
  background: rgba(245, 169, 72, 0.1);
  border-color: rgba(245, 169, 72, 0.5);
  box-shadow:
    inset 0 0 20px rgba(245, 169, 72, 0.08),
    0 0 24px rgba(245, 169, 72, 0.1);
}

.ranking li.is-you .rank-name {
  color: var(--gold-soft);
}

.ranking li.is-cutoff {
  border-color: rgba(245, 169, 72, 0.32);
}

.ranking li.ranking-gap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.ranking-gap-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(28, 196, 198, 0.35) 50%,
    transparent 100%
  );
}

.ranking-gap-dots {
  display: inline-flex;
  gap: 6px;
  color: var(--teal-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: 0.85;
}

.ranking-gap-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px rgba(28, 196, 198, 0.55);
}

.ranking--snapshot {
  gap: 6px;
}

.panel#ranking .ranking--snapshot {
  flex: 1;
  justify-content: center;
}

.rank-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #dff7f7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(0, 18, 27, 0.9);
  border: 1px solid rgba(28, 196, 198, 0.35);
}

.ranking li.is-you .rank-avatar {
  color: #1a1208;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  border-color: rgba(245, 169, 72, 0.65);
}

.rank-num {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  font-weight: 700;
}

.ranking .rank-item--place-1 .rank-num {
  color: #1a1208;
  background: linear-gradient(180deg, #ffd27a, #f5a948);
  border-color: transparent;
}

.ranking .rank-item--place-2 .rank-num {
  color: #111;
  background: linear-gradient(180deg, #e8eef2, #aeb8bf);
  border-color: transparent;
}

.ranking .rank-item--place-3 .rank-num {
  color: #1a1208;
  background: linear-gradient(180deg, #e0a070, #b87333);
  border-color: transparent;
}

.ranking img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  border: 1px solid rgba(28, 196, 198, 0.35);
}

.rank-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rank-pts {
  color: var(--teal-soft);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  padding: 11px 14px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  background: rgba(28, 196, 198, 0.12);
  border-color: var(--teal-bright);
  color: #fff;
}

/* ---------- End CTA ---------- */

.end-cta {
  margin-top: 48px;
  padding-bottom: 8px;
}

.end-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background:
    linear-gradient(120deg, rgba(0, 28, 36, 0.95) 0%, rgba(0, 14, 22, 0.98) 55%, rgba(20, 28, 10, 0.9) 100%);
  border: 1px solid rgba(28, 196, 198, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.end-cta-inner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.1;
}

.end-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.end-cta-primary,
.end-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.end-cta-primary {
  color: #001018;
  background: var(--teal-bright);
}

.end-cta-primary:hover {
  background: #fff;
}

.end-cta-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.2);
}

.end-cta-ghost:hover {
  border-color: var(--teal-bright);
  color: var(--teal-bright);
}

/* legacy goal pillars (unused) */
.goal-pillars {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-bright);
}

.pillar svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.pillar strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pillar span {
  display: block;
  color: var(--teal-soft);
  font-size: 11px;
}

.goal-cta {
  margin-top: 0;
  white-space: nowrap;
}

.goal-cta.btn-outline {
  width: auto;
}

/* ---------- Modals ---------- */

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-root[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 4, 10, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.modal {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: 28px;
  color: #fff;
  background: linear-gradient(180deg, #071821 0%, #031018 100%);
  border: 1px solid rgba(28, 196, 198, 0.35);
  border-radius: 14px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(17, 151, 152, 0.12);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.32s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-root.is-open .modal-backdrop {
  opacity: 1;
}

.modal-root.is-open .modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-root.is-wide .modal {
  width: min(860px, 100%);
}

.modal-root.is-news-detail .modal {
  animation: news-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes news-pop {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
  background: rgba(28, 196, 198, 0.18);
  color: var(--teal-bright);
}

.modal-achievements {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.modal-achievements li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(28, 196, 198, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.panel#aktualnosci,
.panel#osiagniecia,
.panel#ranking {
  cursor: pointer;
}

.modal-back:hover {
  color: #fff;
}

.modal-body h2,
.modal-title {
  margin: 0 0 16px;
  padding-right: 36px;
  color: var(--teal-bright);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.modal-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.modal-article-cover {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
  background: #0a1a22;
}

.modal-article-date {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.modal-article-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
}

.modal-article-text p + p {
  margin-top: 12px;
}

.modal-news-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-news-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  text-align: left;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(28, 196, 198, 0.18);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.modal-news-item:hover {
  background: rgba(28, 196, 198, 0.08);
  border-color: rgba(28, 196, 198, 0.45);
  transform: translateY(-1px);
}

.modal-news-item img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.modal-news-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.modal-news-item span {
  color: var(--muted);
  font-size: 12px;
}

.modal-ranking {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-ranking li {
  display: grid;
  grid-template-columns: 28px 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.modal-ranking li.is-top {
  border-color: rgba(28, 196, 198, 0.45);
  background: rgba(17, 151, 152, 0.12);
}

.modal-ranking img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-regulamin {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.65;
}

.modal-regulamin h3 {
  margin: 18px 0 8px;
  color: var(--teal-bright);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal-regulamin ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.modal-regulamin li + li {
  margin-top: 4px;
}

.modal-regulamin p + p {
  margin-top: 10px;
}

body.modal-open {
  overflow: hidden;
}

/* ---------- Motion ---------- */

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes copy-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.progress-card,
.panel,
.end-cta-inner {
  animation: rise 0.7s ease both;
}

.panel:nth-child(2) {
  animation-delay: 0.08s;
}

.panel:nth-child(3) {
  animation-delay: 0.16s;
}

.end-cta-inner {
  animation-delay: 0.22s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 11px;
  }

  .progress-body {
    grid-template-columns: 1fr;
  }

  .stages:not(.stages--season) {
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .news-list--grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: 1fr;
    justify-content: stretch;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .site-header {
    height: auto;
  }

  .main-nav {
    display: flex;
    order: 3;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
  }

  .brand,
  .user-menu,
  .user-box {
    justify-self: stretch;
  }

  .header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .hero-logo-wrap {
    justify-content: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
    min-height: 0;
    padding: 32px 20px 88px;
  }

  .hero-copy {
    justify-self: stretch;
    max-width: none;
  }

  .hero-logo-wrap {
    order: -1;
  }

  .progress-shell {
    margin-top: -56px;
  }

  .countdown-grid {
    justify-content: center;
  }

  .progress-meter {
    justify-content: center;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .user-text small {
    display: none;
  }

  .user-box {
    gap: 8px;
  }

  .qualify-bar-text {
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .countdown-cell {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 4px;
  }

  .countdown-value {
    font-size: 22px;
  }

  .countdown-unit {
    font-size: 8px;
    letter-spacing: 0.05em;
  }

  .user-text strong {
    font-size: 11px;
  }

  .goal-cta {
    width: 100%;
  }

  .gate {
    padding: 16px;
  }

  .gate-form {
    gap: 28px;
  }

  .gate-input {
    font-size: 16px;
    letter-spacing: 0.12em;
    padding: 14px 12px;
  }
}

/* ---------- Immersive journey sections ---------- */

.journey {
  position: relative;
  margin-top: 64px;
  padding-bottom: 0;
}

.program-video {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 36px;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-video.is-inview {
  opacity: 1;
  transform: none;
}

.program-video-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.program-video-lead {
  margin: 0 0 16px;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.5;
}

.program-video-shell {
  position: relative;
  padding: 3px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(
    135deg,
    rgba(28, 196, 198, 0.55) 0%,
    rgba(245, 169, 72, 0.35) 48%,
    rgba(28, 196, 198, 0.45) 100%
  );
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(17, 151, 152, 0.14);
}

.program-video-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 196, 198, 0.2) 0%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.program-video-frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: #00070c;
  border: 1px solid rgba(0, 0, 0, 0.45);
}

.program-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.journey-intro {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 28px;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
}

.journey-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-intro h2,
.stay-intro h2,
.play-intro h2,
.rank-cta-copy h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.journey-intro-text {
  margin: 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.55;
}

.journey-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.journey-panel {
  position: relative;
  display: grid;
  min-height: min(78vh, 760px);
  overflow: hidden;
  background: #00070c;
}

.journey-panel-media {
  position: absolute;
  inset: 0;
}

.journey-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-panel:hover .journey-panel-media img {
  transform: scale(1.12);
}

.journey-panel-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 6, 12, 0.92) 0%, rgba(0, 6, 12, 0.72) 38%, rgba(0, 6, 12, 0.28) 68%, rgba(0, 6, 12, 0.45) 100%),
    linear-gradient(0deg, rgba(0, 6, 12, 0.88) 0%, rgba(0, 6, 12, 0.2) 42%, rgba(0, 18, 27, 0.35) 100%);
  pointer-events: none;
}

.journey-panel.is-reverse .journey-panel-shade {
  background:
    linear-gradient(270deg, rgba(0, 6, 12, 0.92) 0%, rgba(0, 6, 12, 0.72) 38%, rgba(0, 6, 12, 0.28) 68%, rgba(0, 6, 12, 0.45) 100%),
    linear-gradient(0deg, rgba(0, 6, 12, 0.88) 0%, rgba(0, 6, 12, 0.2) 42%, rgba(0, 18, 27, 0.35) 100%);
}

.journey-panel-index {
  position: absolute;
  right: var(--content-inset);
  top: clamp(20px, 4vw, 40px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  pointer-events: none;
}

.journey-panel.is-reverse .journey-panel-index {
  right: auto;
  left: var(--content-inset);
  align-items: flex-start;
}

.journey-panel-num {
  color: rgba(255, 255, 255, 0.18);
  font-size: clamp(96px, 16vw, 220px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.journey-panel-label {
  color: var(--teal-bright);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.journey-panel-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  margin: 0;
  min-height: min(78vh, 760px);
  padding: clamp(28px, 5vw, 64px) var(--content-inset);
  box-sizing: border-box;
}

.journey-panel-copy > * {
  max-width: min(560px, 100%);
}

.journey-panel.is-reverse .journey-panel-copy {
  text-align: right;
  align-items: flex-end;
}

.journey-panel-date {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-panel-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.journey-panel-lead {
  margin: 0;
  color: var(--teal-soft);
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 600;
  line-height: 1.35;
}

.journey-panel-copy > p:not(.journey-panel-lead) {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.6;
  max-width: 48ch;
}

.journey-panel.is-reverse .journey-panel-copy > p:not(.journey-panel-lead) {
  margin-left: auto;
}

.journey-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.journey-panel.is-reverse .journey-chips {
  justify-content: flex-end;
}

.journey-chip {
  display: inline-flex;
  padding: 8px 12px;
  color: #dff7f7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(28, 196, 198, 0.38);
  border-radius: 999px;
  background: rgba(0, 18, 27, 0.45);
  backdrop-filter: blur(8px);
}

/* ---------- Zakwaterowanie: contained rail cards ---------- */

.stay {
  margin-top: 72px;
  padding-bottom: 8px;
}

.stay-intro,
.play-intro {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto 28px;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
}

.stay-rail {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
  --stay-marker-col: 40px;
}

/* Linia tylko między środkami kół 01 → 03 (nie ponad / pod markerami) */

.stay-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  background: transparent;
  border: 0;
  overflow: visible;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.stay-card.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.stay-marker {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 28px;
  overflow: visible;
  --stay-step-size: 38px;
  --stay-step-center: calc(28px + var(--stay-step-size) / 2);
}

.stay-card:not(:last-child) .stay-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--stay-step-center);
  width: 2px;
  height: calc(100% - var(--stay-step-center) + 16px + var(--stay-step-center));
  margin-left: -1px;
  background: linear-gradient(
    180deg,
    rgba(28, 196, 198, 0.65) 0%,
    rgba(245, 169, 72, 0.45) 55%,
    rgba(28, 196, 198, 0.35) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.stay-step {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--stay-step-size, 38px);
  height: var(--stay-step-size, 38px);
  margin: 0;
  color: #001018;
  font-size: 12px;
  font-weight: 700;
  background: var(--teal-bright);
  border: 3px solid #00070c;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(28, 196, 198, 0.35);
}

.stay-card-main {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
  background: rgba(0, 18, 27, 0.78);
  border: 1px solid rgba(28, 196, 198, 0.22);
  transition: border-color 0.25s ease;
}

.stay-card:hover .stay-card-main {
  border-color: rgba(28, 196, 198, 0.45);
}

.stay-card.is-flip .stay-card-main {
  flex-direction: row-reverse;
}

.stay-card-media {
  position: relative;
  flex: 0 0 clamp(160px, 34%, 380px);
  width: clamp(160px, 34%, 380px);
  min-height: 0;
  align-self: stretch;
  overflow: hidden;
  background: #0a1a22;
}

.stay-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.stay-card:hover .stay-card-media img {
  transform: scale(1.05);
}

.stay-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px 22px 24px;
  min-width: 0;
  min-height: 0;
}

.stay-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.stay-nights {
  color: var(--gold-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stay-card-meta time {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stay-city {
  color: var(--teal-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.stay-card-body h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.2;
}

.stay-lead {
  margin: 0;
  color: var(--teal-soft);
  font-size: 14px;
  font-weight: 600;
}

.stay-card-body > p:not(.stay-lead) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.5;
  max-width: 62ch;
}

.stay-list {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.stay-list li {
  position: relative;
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.stay-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
}

/* ---------- Rank CTA ---------- */

.rank-cta {
  width: 100%;
  max-width: var(--max);
  margin: 56px auto 8px;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
}

.rank-cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
  background:
    linear-gradient(120deg, rgba(0, 28, 36, 0.95) 0%, rgba(0, 14, 22, 0.98) 55%, rgba(20, 28, 10, 0.9) 100%);
  border: 1px solid rgba(28, 196, 198, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.rank-cta-copy p:last-child {
  margin: 0;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.5;
}

.rank-cta-copy h2 {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 10px;
}

.rank-cta-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rank-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rank-stat.is-accent {
  border-color: rgba(245, 169, 72, 0.45);
  background: rgba(245, 169, 72, 0.08);
}

.rank-stat-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rank-stat-value {
  color: #fff;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1;
}

.rank-stat-value em {
  margin-left: 4px;
  color: var(--teal-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.rank-stat-note {
  color: var(--gold-soft);
  font-size: 11px;
}

.rank-cta-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.rank-gaps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-gap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(28, 196, 198, 0.18);
}

.rank-gap strong {
  color: var(--gold-soft);
  font-weight: 700;
  white-space: nowrap;
}

.rank-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  color: #001018;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--teal-bright);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-cta-btn:hover {
  background: #37d7d9;
  transform: translateY(-1px);
}

/* ---------- Atrakcje: contained mosaic ---------- */

.play {
  margin-top: 64px;
  padding-bottom: 24px;
}

.play-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 14px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--layout-pad);
  box-sizing: border-box;
}

.play-tile {
  position: relative;
  grid-column: span 4;
  grid-row: span 2;
  overflow: hidden;
  background: #00070c;
  border: 1px solid rgba(28, 196, 198, 0.18);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.play-tile.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.play-tile--hero {
  grid-column: span 8;
  grid-row: span 3;
}

.play-tile--side {
  grid-column: span 4;
  grid-row: span 3;
}

.play-tile--wide {
  grid-column: span 8;
  grid-row: span 2;
}

.play-tile--sm {
  grid-column: span 4;
  grid-row: span 2;
}

.play-tile--half {
  grid-column: span 6;
  grid-row: span 2;
}

.play-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1s ease;
}

.play-tile:hover > img {
  transform: scale(1.08);
}

.play-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 6, 12, 0.1) 0%, rgba(0, 6, 12, 0.45) 45%, rgba(0, 6, 12, 0.92) 100%);
}

.play-tile-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  height: 100%;
  padding: 20px;
}

.play-tile-tag {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.play-tile-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  max-width: 16ch;
}

.play-tile--hero .play-tile-copy h3,
.play-tile--wide .play-tile-copy h3,
.play-tile--half .play-tile-copy h3 {
  max-width: 20ch;
  font-size: clamp(22px, 2.6vw, 32px);
}

.play-tile-copy p {
  margin: 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.45;
}


/* ---------- Variant switcher widget ---------- */

.variant-switcher {
  position: fixed;
  left: 10px;
  top: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: 44px;
  padding: 10px 6px;
  background: rgba(0, 14, 22, 0.88);
  border: 1px solid rgba(28, 196, 198, 0.35);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  transform: translateY(-50%);
}

body.is-locked .variant-switcher {
  display: none;
}

.variant-switcher-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(28, 196, 198, 0.22);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.variant-switcher-btn:hover:not(:disabled) {
  color: #fff;
  border-color: rgba(28, 196, 198, 0.55);
  background: rgba(17, 151, 152, 0.2);
}

.variant-switcher-btn.is-active {
  color: #001018;
  background: var(--teal-bright);
  border-color: var(--teal-bright);
}

.variant-switcher-btn.is-soon {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .variant-switcher {
    top: auto;
    bottom: 16px;
    left: 12px;
    transform: none;
    flex-direction: row;
    width: auto;
    padding: 8px 10px;
  }

  .variant-switcher-btn {
    min-width: 36px;
    min-height: 32px;
  }
}

.journey-panel {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-panel.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .journey-panel-copy,
  .journey-panel.is-reverse .journey-panel-copy {
    width: 100%;
    min-height: 70vh;
    margin: 0;
    padding-inline: var(--layout-pad);
    text-align: left;
    align-items: flex-start;
  }

  .journey-panel.is-reverse .journey-chips,
  .journey-panel.is-reverse .journey-panel-copy > p:not(.journey-panel-lead) {
    justify-content: flex-start;
    margin-left: 0;
  }

  .journey-panel-index {
    right: var(--layout-pad);
    align-items: flex-end;
  }

  .journey-panel.is-reverse .journey-panel-index {
    right: auto;
    left: var(--layout-pad);
    align-items: flex-start;
  }

  .stay-card-main,
  .stay-card.is-flip .stay-card-main {
    flex-direction: column;
  }

  .stay-card-media {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: 220px;
  }

  .stay-card-media img {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .stay-card-body {
    padding: 18px 20px 20px;
  }

  .rank-cta-inner {
    grid-template-columns: 1fr;
  }

  .rank-cta-btn {
    width: 100%;
  }

  .play-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .play-tile,
  .play-tile--hero,
  .play-tile--side,
  .play-tile--wide,
  .play-tile--sm,
  .play-tile--half {
    grid-column: span 1;
    grid-row: span 2;
  }

  .play-tile--hero,
  .play-tile--wide,
  .play-tile--half {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  :root {
    --layout-pad: 16px;
  }

  .brand img {
    height: 28px;
  }

  .main-nav {
    gap: 4px;
    padding-bottom: 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 10px 0;
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .user-avatar {
    width: 34px;
    height: 34px;
  }

  .user-menu .chevron {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
    padding: 20px var(--layout-pad) 64px;
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .hero-lead {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .program-logo {
    width: min(100%, 220px);
  }

  .countdown-grid {
    width: 100%;
    max-width: 100%;
  }

  .countdown-cell {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 6px;
  }

  .countdown-value {
    font-size: 26px;
  }

  .progress-shell {
    margin-top: -44px;
  }

  .progress-card {
    padding: 14px 12px;
  }

  .progress-meter {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .meter-points {
    font-size: 22px;
  }

  .stages--season {
    --season-icon-size: 40px;
    gap: 6px;
  }

  .stages--season .stage-icon svg {
    width: 18px;
    height: 18px;
  }

  .stages--season .stage-meta {
    width: 100%;
    max-width: 100%;
  }

  .stages--season .stage-meta strong {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.04em;
  }

  .stages--season .stage-meta span {
    font-size: 9px;
    line-height: 1.25;
    display: block;
    margin-top: 2px;
  }

  .content-grid {
    gap: 12px;
    margin-top: 14px;
  }

  .panel {
    min-height: 0;
    padding: 14px 12px;
  }

  .panel-head {
    flex-wrap: wrap;
    gap: 8px;
  }

  .text-link {
    white-space: normal;
  }

  .panel-empty {
    padding: 32px 12px;
    font-size: 12px;
  }

  .journey {
    margin-top: 36px;
  }

  .program-video {
    margin-bottom: 28px;
  }

  .program-video-lead {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .program-video-shell {
    padding: 2px;
  }

  .journey-intro,
  .stay-intro,
  .play-intro {
    margin-bottom: 18px;
  }

  .journey-intro h2,
  .stay-intro h2,
  .play-intro h2 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .journey-intro-text {
    font-size: 14px;
  }

  .journey-panel {
    min-height: 0;
  }

  .journey-panel-num {
    font-size: 64px;
  }

  .journey-panel-label {
    font-size: 11px;
  }

  .journey-panel-copy,
  .journey-panel.is-reverse .journey-panel-copy {
    min-height: 0;
    padding: 18px var(--layout-pad) 24px;
    gap: 10px;
  }

  .journey-panel-copy h3 {
    font-size: clamp(21px, 6.2vw, 26px);
  }

  .journey-panel-lead {
    font-size: 15px;
  }

  .journey-panel-copy > p:not(.journey-panel-lead) {
    font-size: 14px;
    line-height: 1.55;
  }

  .journey-chip {
    padding: 6px 10px;
    font-size: 10px;
  }

  .stay {
    margin-top: 44px;
  }

  .stay-marker {
    padding-top: 22px;
    --stay-step-size: 32px;
  }

  .stay-rail {
    --stay-marker-col: 32px;
    gap: 12px;
  }

  .stay-card {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 10px;
  }

  .stay-card-body {
    padding: 16px 14px 18px;
  }

  .stay-card-body h3 {
    font-size: 17px;
  }

  .stay-card-meta time,
  .stay-nights,
  .stay-city {
    font-size: 10px;
  }

  .rank-cta {
    margin-top: 36px;
  }

  .rank-cta-inner {
    padding: 18px 14px;
    gap: 16px;
  }

  .rank-cta-copy h2 {
    font-size: clamp(20px, 6vw, 26px);
  }

  .rank-cta-stats {
    grid-template-columns: 1fr;
  }

  .rank-stat-value {
    font-size: 22px;
  }

  .play {
    margin-top: 40px;
  }

  .play-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    grid-auto-rows: minmax(0, auto);
  }

  .play-tile,
  .play-tile--hero,
  .play-tile--side,
  .play-tile--wide,
  .play-tile--sm,
  .play-tile--half {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .play-tile-copy {
    padding: 16px;
  }

  .play-tile-copy h3 {
    font-size: 18px;
  }

  .end-cta {
    margin-top: 36px;
  }

  .end-cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 16px;
  }

  .end-cta-inner h2 {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .end-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .end-cta-primary,
  .end-cta-ghost {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .modal-root {
    padding: 0;
    align-items: flex-end;
  }

  .modal {
    width: 100%;
    max-height: min(92vh, 100%);
    padding: 22px 16px 20px;
    border-radius: 14px 14px 0 0;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }

  .main-panel {
    padding-bottom: 28px;
  }
}
