/* ============================================================
   PROBELIKA — STUDENT COCKPIT V2
   ============================================================ */

.pb-cockpit {
  --pc-ink: #071426;
  --pc-navy: #0a2139;
  --pc-sky: #68ddff;
  --pc-cyan: #20d4e8;
  --pc-coral: #ff7163;
  --pc-orange: #ffa547;
  --pc-lime: #b9eb55;
  --pc-cloud: #f4f8fc;
  --pc-muted: #6c7c91;

  position: relative;
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 36px;
  background:
    radial-gradient(
      circle at 82% 10%,
      rgba(32,212,232,.26),
      transparent 22rem
    ),
    radial-gradient(
      circle at 14% 100%,
      rgba(255,113,99,.16),
      transparent 24rem
    ),
    linear-gradient(
      135deg,
      #06182c,
      #0a2945 64%,
      #103c54
    );
  color: white;
  box-shadow:
    0 32px 76px
    rgba(5,25,48,.22);
}

.pb-cockpit::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(
      rgba(255,255,255,.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.08) 1px,
      transparent 1px
    );
  background-size:
    44px 44px;
  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 92%
    );
}

.pb-cockpit-inner {
  position: relative;
  z-index: 2;
  padding: 34px;
}

.pb-cockpit-top {
  display: grid;
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(280px, .8fr);
  gap: 34px;
  align-items: center;
}

.pb-cockpit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  color: #a9efff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pb-cockpit-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pc-lime);
  box-shadow:
    0 0 18px
    rgba(185,235,85,.60);
}

.pb-cockpit h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(
    34px,
    5vw,
    59px
  );
  line-height: 1.02;
  letter-spacing: -.045em;
}

.pb-cockpit h1 span {
  color: var(--pc-sky);
}

.pb-cockpit-lead {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.70);
  font-size: 16px;
  line-height: 1.55;
}

.pb-cockpit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pb-cockpit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 51px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.pb-cockpit-btn:hover {
  transform:
    translateY(-2px);
}

.pb-cockpit-btn-main {
  color: #061426;
  background:
    linear-gradient(
      135deg,
      #7ee8ff,
      #b9f5ff
    );
  box-shadow:
    0 15px 34px
    rgba(32,212,232,.25);
}

.pb-cockpit-btn-ghost {
  color: white;
  border:
    1px solid
    rgba(255,255,255,.14);
  background:
    rgba(255,255,255,.07);
}


/* ORB */

.pb-cockpit-orb-zone {
  position: relative;
  min-height: 250px;
}

.pb-cockpit-orb-aura {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 245px;
  height: 245px;
  transform:
    translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(32,212,232,.30),
      transparent 66%
    );
}

.pb-cockpit-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 185px;
  height: 185px;
  transform:
    translate(-50%, -50%)
    rotate(-4deg);
  border-radius:
    48% 52% 55% 45% /
    44% 48% 52% 56%;
  background:
    radial-gradient(
      circle at 28% 20%,
      rgba(255,255,255,.95),
      transparent 16%
    ),
    radial-gradient(
      circle at 70% 77%,
      rgba(255,165,71,.95),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #72edff,
      #21bce9 42%,
      #116db9 75%,
      #07385e
    );
  box-shadow:
    inset -18px -22px 34px
    rgba(3,20,43,.30),
    inset 12px 12px 20px
    rgba(255,255,255,.17),
    0 31px 50px
    rgba(0,0,0,.27);
  animation:
    pbCockpitFloat
    4s ease-in-out infinite;
}

.pb-cockpit-eye {
  position: absolute;
  top: 46%;
  width: 21px;
  height: 28px;
  border-radius: 50%;
  background: #071426;
}

.pb-cockpit-eye::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 7px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.pb-cockpit-eye-a {
  left: 50px;
}

.pb-cockpit-eye-b {
  right: 50px;
}

.pb-cockpit-smile {
  position: absolute;
  top: 62%;
  left: 50%;
  width: 47px;
  height: 20px;
  transform:
    translateX(-50%);
  border-bottom:
    5px solid
    rgba(7,20,38,.80);
  border-radius:
    0 0 50% 50%;
}


/* STATS */

.pb-cockpit-stats {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0,1fr));
  gap: 12px;
  margin-top: 27px;
}

.pb-cockpit-stat {
  min-height: 116px;
  padding: 18px;
  border:
    1px solid
    rgba(255,255,255,.10);
  border-radius: 20px;
  background:
    rgba(255,255,255,.075);
  backdrop-filter:
    blur(12px);
}

.pb-cockpit-stat-label {
  color:
    rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.pb-cockpit-stat-value {
  margin-top: 9px;
  font-size: 31px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.04em;
}

.pb-cockpit-stat-note {
  margin-top: 7px;
  color:
    rgba(255,255,255,.58);
  font-size: 12px;
}


/* PROGRESS / RING */

.pb-cockpit-progress {
  display: grid;
  grid-template-columns:
    128px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 18px;
  border-radius: 23px;
  background:
    rgba(255,255,255,.95);
  color: var(--pc-ink);
}

.pb-cockpit-ring {
  --progress: 0%;

  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      white 58%,
      transparent 60%
    ),
    conic-gradient(
      var(--pc-cyan)
      var(--progress),
      #e7edf3 0
    );
}

.pb-cockpit-ring strong {
  font-size: 25px;
}

.pb-cockpit-progress h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.pb-cockpit-progress p {
  margin: 0;
  color: var(--pc-muted);
  line-height: 1.45;
  font-size: 13px;
}


/* QUICK NAV */

.pb-cockpit-nav {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0,1fr));
  gap: 11px;
  margin-top: 13px;
}

.pb-cockpit-nav a {
  min-height: 72px;
  padding: 14px;
  border-radius: 18px;
  background: white;
  color: var(--pc-ink);
  text-decoration: none;
  box-shadow:
    0 11px 25px
    rgba(5,25,48,.08);
}

.pb-cockpit-nav strong {
  display: block;
  font-size: 14px;
}

.pb-cockpit-nav span {
  display: block;
  margin-top: 4px;
  color: var(--pc-muted);
  font-size: 12px;
}


/* EMPTY STATE */

.pb-cockpit-empty {
  display: grid;
  grid-template-columns:
    1fr auto;
  gap: 20px;
  align-items: center;
  padding: 25px;
  border-radius: 23px;
  background:
    rgba(255,255,255,.08);
}


/* MOBILE */

@keyframes pbCockpitFloat {
  0%,
  100% {
    transform:
      translate(-50%, -50%)
      translateY(0)
      rotate(-4deg);
  }

  50% {
    transform:
      translate(-50%, -50%)
      translateY(-10px)
      rotate(3deg);
  }
}

@media (
  max-width: 900px
) {

  .pb-cockpit-top {
    grid-template-columns: 1fr;
  }

  .pb-cockpit-orb-zone {
    min-height: 225px;
  }

  .pb-cockpit-stats {
    grid-template-columns:
      repeat(2, 1fr);
  }

}

@media (
  max-width: 600px
) {

  .pb-cockpit {
    border-radius: 25px;
  }

  .pb-cockpit-inner {
    padding: 23px 17px;
  }

  .pb-cockpit h1 {
    font-size: 38px;
  }

  .pb-cockpit-actions {
    display: grid;
  }

  .pb-cockpit-btn {
    width: 100%;
  }

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

  .pb-cockpit-ring {
    margin-inline: auto;
  }

  .pb-cockpit-nav {
    grid-template-columns: 1fr;
  }

  .pb-cockpit-empty {
    grid-template-columns: 1fr;
  }

}

@media (
  prefers-reduced-motion: reduce
) {

  .pb-cockpit-orb {
    animation: none;
  }

}

/* PB_SUBJECTS_PALETTE_SYNC_20260921 */
.pb-cockpit {
  --pc-ink: #f7fbff;
  --pc-navy: #071326;
  --pc-sky: #65e5ca;
  --pc-cyan: #62cfee;
  --pc-cloud: #13243a;
  --pc-muted: rgba(205,218,237,.66);
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 100% 0, rgba(95,224,194,.10), transparent 30%),
    radial-gradient(circle at 0 100%, rgba(98,207,238,.07), transparent 34%),
    linear-gradient(145deg, #13243a, #0c1a2d);
  color: #f7fbff;
  box-shadow: 0 18px 52px rgba(0,0,0,.18);
}
.pb-cockpit-kicker,
.pb-cockpit h1 span {
  color: #65e5ca;
}
.pb-cockpit-lead,
.pb-cockpit-stat-label,
.pb-cockpit-stat-note {
  color: rgba(205,218,237,.66);
}
.pb-cockpit-btn-main {
  color: #071b20;
  background: linear-gradient(135deg, #65e5ca, #62cfee);
  box-shadow: 0 12px 28px rgba(98,207,238,.18);
}
.pb-cockpit-btn-ghost,
.pb-cockpit-stat,
.pb-cockpit-empty {
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.045);
  color: #f7fbff;
}
.pb-cockpit-progress,
.pb-cockpit-nav a {
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 100% 0, rgba(95,224,194,.07), transparent 34%),
    linear-gradient(145deg, rgba(19,36,58,.98), rgba(12,26,45,.98));
  color: #f7fbff;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
}
.pb-cockpit-progress p,
.pb-cockpit-nav span {
  color: rgba(205,218,237,.66);
}
.pb-cockpit-ring {
  color: #f7fbff;
  background:
    radial-gradient(circle, #13243a 58%, transparent 60%),
    conic-gradient(#65e5ca var(--progress), rgba(255,255,255,.10) 0);
}
