
:root {
  --bg: #f5f4ef;
  --paper: #faf9f5;

  --text: #111210;
  --muted: #74756f;
  --soft: #a7a7a0;

  --line: rgba(20,20,18,.18);
  --line-soft: rgba(20,20,18,.09);

  --accent: #ff4d2e;
}


* {
  box-sizing: border-box;
}


html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
}


body {
  color: var(--text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background:
    linear-gradient(
      rgba(20,20,18,.026) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(20,20,18,.026) 1px,
      transparent 1px
    ),
    var(--bg);

  background-size:
    42px 42px;

  overflow: hidden;
}


.dashboard {
  position: relative;

  width: 100vw;
  height: 100vh;

  min-height: 720px;

  overflow: hidden;
}



/* ============================================================
   HEADER
============================================================ */

.header {
  position: absolute;

  z-index: 100;

  top: 0;
  left: 0;
  right: 0;

  height: 76px;

  padding:
    0 34px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  border-bottom:
    1px solid var(--line-soft);
}


.logo {
  font-size: 20px;

  font-weight: 900;

  letter-spacing: -.09em;
}


.logo span {
  color: var(--accent);
}


.header-meta {
  display: flex;

  gap: 30px;

  align-items: center;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 10px;

  letter-spacing: .12em;

  color: var(--muted);
}


.online {
  display: flex;

  align-items: center;

  gap: 9px;
}


.online i {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);
}



/* ============================================================
   BACKGROUND NAME
============================================================ */

.name-bg {
  position: absolute;

  z-index: 0;

  left: 42px;
  bottom: 70px;

  pointer-events: none;

  user-select: none;

  color:
    rgba(20,20,18,.045);

  font-weight: 800;

  font-size:
    clamp(110px, 12.5vw, 210px);

  line-height: .68;

  letter-spacing: -.085em;
}


.name-bg span {
  display: block;
}



/* ============================================================
   SYSTEM MAP
============================================================ */

.system-map {
  position: absolute;

  z-index: 10;

  left: 2.5vw;
  top: 80px;

  width: min(64vw, 1050px);
  height: calc(100vh - 145px);

  min-height: 600px;

  isolation: isolate;
}



/* ============================================================
   PORTRAIT
============================================================ */

.portrait {
  position: absolute;

  z-index: 3;

  left: 47%;
  top: 54%;

  width: 66%;
  height: 88%;

  transform:
    translate(-50%,-50%);

  background-image:
    url("/assets/pavel-ghost.webp");

  background-repeat: no-repeat;

  background-position:
    center center;

  background-size:
    contain;

  opacity: .72;

  mix-blend-mode: multiply;

  pointer-events: none;

  filter:
    grayscale(1)
    contrast(.92);
}



/* ============================================================
   ORBIT LINES
============================================================ */

.orbit-line {
  position: absolute;

  z-index: 1;

  border-radius: 50%;

  pointer-events: none;
}


.orbit-a {
  width: 64%;
  aspect-ratio: 1;

  left: 18%;
  top: 17%;

  border:
    1px solid rgba(20,20,18,.28);
}


.orbit-b {
  width: 78%;
  aspect-ratio: 1;

  left: 10%;
  top: 8%;

  border:
    1px dotted rgba(20,20,18,.19);
}


.orbit-c {
  width: 52%;
  aspect-ratio: 1;

  left: 24%;
  top: 25%;

  border:
    1px solid rgba(20,20,18,.11);
}


.orbit-d {
  width: 89%;
  aspect-ratio: 1;

  left: 4%;
  top: -1%;

  border:
    1px dashed rgba(20,20,18,.12);
}



/* ============================================================
   SMALL NODES
============================================================ */

.node {
  position: absolute;

  z-index: 8;

  display: block;

  border-radius: 50%;

  background: var(--text);

  box-shadow:
    0 0 0 5px var(--bg),
    0 0 0 6px rgba(20,20,18,.35);
}


.node-1 {
  width: 11px;
  height: 11px;

  left: 23%;
  top: 17%;
}


.node-2 {
  width: 9px;
  height: 9px;

  left: 71%;
  top: 35%;
}


.node-3 {
  width: 10px;
  height: 10px;

  left: 76%;
  top: 70%;
}


.node-4 {
  width: 6px;
  height: 6px;

  left: 19%;
  top: 56%;

  box-shadow: none;
}


.node-5 {
  width: 6px;
  height: 6px;

  left: 78%;
  top: 84%;

  box-shadow: none;
}



/* ============================================================
   PLANET TRACKS
============================================================ */

.planet-track {
  position: absolute;

  z-index: 20;

  left: 50%;
  top: 50%;

  pointer-events: none;
}


.track-3p {
  width: 72%;
  aspect-ratio: 1;

  margin:
    -36% 0 0 -36%;

  animation:
    orbit3p 155s linear infinite;
}


.track-geit {
  width: 82%;
  aspect-ratio: 1;

  margin:
    -41% 0 0 -41%;

  animation:
    orbitGeit 195s linear infinite reverse;
}


.track-house {
  width: 68%;
  aspect-ratio: 1;

  margin:
    -34% 0 0 -34%;

  animation:
    orbitHouse 135s linear infinite;
}


.track-aut {
  width: 92%;
  aspect-ratio: 1;

  margin:
    -46% 0 0 -46%;

  animation:
    orbitAut 225s linear infinite reverse;
}



/* initial positions */

.track-3p {
  transform:
    rotate(-50deg);
}


.track-geit {
  transform:
    rotate(38deg);
}


.track-house {
  transform:
    rotate(132deg);
}


.track-aut {
  transform:
    rotate(205deg);
}



/* ============================================================
   PLANETS
============================================================ */

.planet {
  position: absolute;

  pointer-events: auto;

  display: block;

  border-radius: 50%;

  color: var(--text);

  text-decoration: none;

  background:
    rgba(250,249,245,.96);

  border:
    1px solid rgba(20,20,18,.32);

  transition:
    transform .25s ease,
    background .25s ease,
    color .25s ease;
}


.planet-face {
  position: relative;

  width: 100%;
  height: 100%;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  border-radius: 50%;
}



/* 3P */

.planet-3p {
  width: 205px;
  height: 205px;

  left: 50%;
  top: -15px;

  transform:
    translate(-50%,-50%)
    rotate(50deg);
}



/* GEIT */

.planet-geit {
  width: 190px;
  height: 190px;

  right: -25px;
  top: 50%;

  transform:
    translate(50%,-50%)
    rotate(-38deg);
}



/* HOUSELAB */

.planet-house {
  width: 155px;
  height: 155px;

  left: 50%;
  bottom: -8px;

  transform:
    translate(-50%,50%)
    rotate(-132deg);
}



/* AUT */

.planet-aut {
  width: 180px;
  height: 180px;

  left: -5px;
  top: 50%;

  transform:
    translate(-50%,-50%)
    rotate(-205deg);
}



/* DARK PLANET */

.planet.dark {
  background:
    #161715;

  color:
    #f6f5f0;

  border-color:
    #161715;
}



/* PLANET CONTENT */

.planet-no {
  position: absolute;

  top: 19%;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 8px;

  color: var(--muted);
}


.dark .planet-no {
  color:
    rgba(255,255,255,.55);
}


.planet strong {
  font-size: 30px;

  line-height: .9;

  letter-spacing: -.07em;
}


.planet b {
  margin-top: 3px;

  font-size: 12px;

  letter-spacing: -.02em;
}


.planet small {
  margin-top: 17px;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 8px;

  letter-spacing: .08em;

  color: var(--muted);
}


.dark small {
  color:
    rgba(255,255,255,.55);
}


.planet em {
  position: absolute;

  right: 16%;
  bottom: 15%;

  font-size: 20px;

  font-style: normal;
}



/* ============================================================
   TEXT AROUND PLANETS
============================================================ */

.ring-text {
  position: absolute;

  width: 122%;
  height: 122%;

  left: -11%;
  top: -11%;

  overflow: visible;

  pointer-events: none;
}


.ring-text text {
  fill: var(--text);

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 8px;

  font-weight: 600;

  letter-spacing: 2.2px;
}


.dark .ring-text text {
  fill: var(--text);
}



/* ============================================================
   HOVER
============================================================ */

.planet:hover {
  background:
    var(--accent);

  color:
    white;

  border-color:
    var(--accent);
}


.planet:hover small,
.planet:hover .planet-no {
  color:
    rgba(255,255,255,.7);
}


.planet:hover .ring-text text {
  fill:
    var(--accent);
}



/* ============================================================
   ANIMATION
============================================================ */

@keyframes orbit3p {

  from {
    transform: rotate(-50deg);
  }

  to {
    transform: rotate(310deg);
  }

}


@keyframes orbitGeit {

  from {
    transform: rotate(38deg);
  }

  to {
    transform: rotate(398deg);
  }

}


@keyframes orbitHouse {

  from {
    transform: rotate(132deg);
  }

  to {
    transform: rotate(492deg);
  }

}


@keyframes orbitAut {

  from {
    transform: rotate(205deg);
  }

  to {
    transform: rotate(565deg);
  }

}



/* keep planets readable while track rotates */

.track-3p .planet {
  animation:
    counter3p 155s linear infinite;
}


.track-geit .planet {
  animation:
    counterGeit 195s linear infinite reverse;
}


.track-house .planet {
  animation:
    counterHouse 135s linear infinite;
}


.track-aut .planet {
  animation:
    counterAut 225s linear infinite reverse;
}


@keyframes counter3p {

  from {
    transform:
      translate(-50%,-50%)
      rotate(50deg);
  }

  to {
    transform:
      translate(-50%,-50%)
      rotate(-310deg);
  }

}


@keyframes counterGeit {

  from {
    transform:
      translate(50%,-50%)
      rotate(-38deg);
  }

  to {
    transform:
      translate(50%,-50%)
      rotate(-398deg);
  }

}


@keyframes counterHouse {

  from {
    transform:
      translate(-50%,50%)
      rotate(-132deg);
  }

  to {
    transform:
      translate(-50%,50%)
      rotate(-492deg);
  }

}


@keyframes counterAut {

  from {
    transform:
      translate(-50%,-50%)
      rotate(-205deg);
  }

  to {
    transform:
      translate(-50%,-50%)
      rotate(-565deg);
  }

}



/* PAUSE WHOLE SYSTEM */

.system-map:hover .planet-track,
.system-map:hover .planet {
  animation-play-state: paused;
}



/* ============================================================
   TERMINAL
============================================================ */

.terminal {
  position: absolute;

  z-index: 60;

  right: 3.2vw;
  top: 50%;

  width:
    min(31vw, 450px);

  transform:
    translateY(-46%);

  background:
    rgba(250,249,245,.90);

  border:
    1px solid rgba(20,20,18,.28);

  backdrop-filter:
    blur(4px);
}


.terminal-head {
  height: 46px;

  padding:
    0 17px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  border-bottom:
    1px solid var(--line);

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: .11em;
}


.terminal-head div {
  display: flex;

  align-items: center;

  gap: 8px;

  color: var(--muted);
}


.terminal-head i {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background:
    var(--accent);
}


.terminal-body {
  padding:
    8px 22px 19px;
}


.terminal article {
  padding:
    22px 0 23px;

  border-bottom:
    1px solid var(--line-soft);
}


.terminal time {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 8px;

  letter-spacing: .08em;

  color: #999a94;
}


.terminal p {
  margin:
    9px 0 7px;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 13px;

  font-weight: 600;
}


.terminal p b {
  margin-right: 7px;

  color: var(--accent);

  font-weight: 400;
}


.terminal article > span {
  display: block;

  padding-left: 20px;

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 11px;

  color: var(--muted);
}


.prompt {
  height: 38px;

  padding-top: 18px;

  display: flex;

  align-items: center;

  gap: 8px;

  color: var(--accent);

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}


.prompt i {
  width: 7px;
  height: 13px;

  background:
    var(--text);

  animation:
    cursor 1.1s step-end infinite;
}


@keyframes cursor {

  50% {
    opacity: 0;
  }

}



/* ============================================================
   FOOTER
============================================================ */

footer {
  position: absolute;

  z-index: 100;

  left: 34px;
  right: 34px;
  bottom: 0;

  height: 55px;

  display: grid;

  grid-template-columns:
    1fr 1fr 1fr;

  align-items: center;

  border-top:
    1px solid var(--line-soft);

  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;

  font-size: 9px;

  letter-spacing: .07em;

  color: var(--muted);
}


footer a {
  color: var(--text);

  text-decoration: none;
}


footer a:hover {
  color: var(--accent);
}


footer span:nth-child(2) {
  text-align: center;
}


footer span:last-child {
  text-align: right;
}



/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {

  body {
    overflow: auto;
  }


  .dashboard {
    width: 100%;

    height: auto;

    min-height: 100vh;

    padding-bottom: 60px;
  }


  .system-map {
    position: relative;

    left: auto;
    top: auto;

    width: min(96vw,850px);
    height: 760px;

    margin:
      80px auto 0;
  }


  .terminal {
    position: relative;

    right: auto;
    top: auto;

    width: calc(100% - 40px);

    max-width: 700px;

    margin:
      20px auto 70px;

    transform: none;
  }


  footer {
    position: relative;

    left: auto;
    right: auto;

    width:
      calc(100% - 40px);

    margin: auto;
  }

}


@media (max-width: 650px) {

  .header {
    padding:
      0 20px;
  }


  .header-meta > span:first-child {
    display: none;
  }


  .name-bg {
    display: none;
  }


  .system-map {
    height: 590px;
  }


  .portrait {
    width: 78%;
    height: 72%;

    left: 48%;
    top: 52%;

    opacity: .60;
  }


  .planet-3p {
    width: 145px;
    height: 145px;
  }


  .planet-geit {
    width: 135px;
    height: 135px;
  }


  .planet-house {
    width: 115px;
    height: 115px;
  }


  .planet-aut {
    width: 125px;
    height: 125px;
  }


  .planet strong {
    font-size: 21px;
  }


  .planet b {
    font-size: 9px;
  }


  .planet small {
    display: none;
  }


  .planet-no {
    top: 15%;
  }


  .ring-text {
    display: none;
  }


  footer {
    grid-template-columns:
      1fr auto;
  }


  footer span:nth-child(2) {
    display: none;
  }

}


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

  .planet-track,
  .planet {
    animation-play-state:
      paused !important;
  }

}



/* ============================================================
   V3.1 — PLANET HIERARCHY + SEPARATE ORBITS
============================================================ */


/* ---------- 3P / největší / střední orbita ---------- */

.track-3p {
  width: 67%;
  margin: -33.5% 0 0 -33.5%;
}

.planet-3p {
  width: 235px;
  height: 235px;
}


/* ---------- GEIT / výrazná černá / nejvzdálenější ---------- */

.track-geit {
  width: 91%;
  margin: -45.5% 0 0 -45.5%;
}

.planet-geit {
  width: 195px;
  height: 195px;
}


/* ---------- AUTORIZACE / menší ---------- */

.track-aut {
  width: 78%;
  margin: -39% 0 0 -39%;
}

.planet-aut {
  width: 145px;
  height: 145px;
}


/* ---------- HOUSELAB / malý satelit / vnitřní orbita ---------- */

.track-house {
  width: 52%;
  margin: -26% 0 0 -26%;
}

.planet-house {
  width: 115px;
  height: 115px;
}


/* ============================================================
   TYPOGRAPHY ACCORDING TO PLANET SIZE
============================================================ */

.planet-3p strong {
  font-size: 38px;
}

.planet-3p b {
  font-size: 13px;
}

.planet-3p small {
  font-size: 8px;
  margin-top: 19px;
}


.planet-geit strong {
  font-size: 32px;
}

.planet-geit b {
  font-size: 11px;
}

.planet-geit small {
  font-size: 7px;
  margin-top: 16px;
}


.planet-aut strong {
  font-size: 25px;
}

.planet-aut b {
  font-size: 9px;
}

.planet-aut small {
  font-size: 7px;
  margin-top: 12px;
}


.planet-house strong {
  font-size: 20px;
}

.planet-house b {
  font-size: 8px;
}

.planet-house small {
  font-size: 6px;
  margin-top: 9px;
}


/* čísla přizpůsobit velikosti */

.planet-house .planet-no,
.planet-aut .planet-no {
  font-size: 6px;
}


/* šipky */

.planet-3p em {
  font-size: 22px;
}

.planet-geit em {
  font-size: 19px;
}

.planet-aut em {
  font-size: 16px;
}

.planet-house em {
  font-size: 14px;
}


/* kruhový text trochu jemnější u malých planet */

.planet-house .ring-text text {
  font-size: 7px;
  letter-spacing: 1.8px;
}

.planet-aut .ring-text text {
  font-size: 7px;
  letter-spacing: 1.9px;
}


/* ============================================================
   MOBILE — vlastní poměry, desktop overrides nesmí přerůst
============================================================ */

@media (max-width: 650px) {

  .planet-3p {
    width: 155px;
    height: 155px;
  }

  .planet-geit {
    width: 130px;
    height: 130px;
  }

  .planet-aut {
    width: 100px;
    height: 100px;
  }

  .planet-house {
    width: 82px;
    height: 82px;
  }

}



/* ============================================================
   V3.2 — START POSITIONS
   3P = NE
   GEIT = SE
   HOUSELAB = SW
   AUTORIZACE = NW
============================================================ */


/* 3P — pravý horní sektor */

.track-3p {
  animation-name: orbit3p-v32;
}

.track-3p .planet {
  animation-name: counter3p-v32;
}


/* GEIT — pravý spodní sektor */

.track-geit {
  animation-name: orbitGeit-v32;
}

.track-geit .planet {
  animation-name: counterGeit-v32;
}


/* HOUSELAB — levý spodní sektor */

.track-house {
  animation-name: orbitHouse-v32;
}

.track-house .planet {
  animation-name: counterHouse-v32;
}


/* AUTORIZACE — levý horní sektor */

.track-aut {
  animation-name: orbitAut-v32;
}

.track-aut .planet {
  animation-name: counterAut-v32;
}



/* ============================================================
   TRACK ROTATION
============================================================ */

@keyframes orbit3p-v32 {
  from { transform: rotate(35deg); }
  to   { transform: rotate(395deg); }
}

@keyframes orbitGeit-v32 {
  from { transform: rotate(125deg); }
  to   { transform: rotate(485deg); }
}

@keyframes orbitHouse-v32 {
  from { transform: rotate(215deg); }
  to   { transform: rotate(575deg); }
}

@keyframes orbitAut-v32 {
  from { transform: rotate(305deg); }
  to   { transform: rotate(665deg); }
}



/* ============================================================
   COUNTER ROTATION
   planeta zůstává rovně
============================================================ */

@keyframes counter3p-v32 {
  from {
    transform:
      translate(-50%,-50%)
      rotate(-35deg);
  }

  to {
    transform:
      translate(-50%,-50%)
      rotate(-395deg);
  }
}


@keyframes counterGeit-v32 {
  from {
    transform:
      translate(50%,-50%)
      rotate(-125deg);
  }

  to {
    transform:
      translate(50%,-50%)
      rotate(-485deg);
  }
}


@keyframes counterHouse-v32 {
  from {
    transform:
      translate(-50%,50%)
      rotate(-215deg);
  }

  to {
    transform:
      translate(-50%,50%)
      rotate(-575deg);
  }
}


@keyframes counterAut-v32 {
  from {
    transform:
      translate(-50%,-50%)
      rotate(-305deg);
  }

  to {
    transform:
      translate(-50%,-50%)
      rotate(-665deg);
  }
}



/* ============================================================
   V3.3 — TRUE INDEPENDENT ORBIT STARTS
   všechny planety mají STEJNÝ anchor na horní straně své dráhy
============================================================ */


/* ------------------------------------------------------------
   SAME ANCHOR FOR EVERY PLANET
------------------------------------------------------------ */

.planet-3p,
.planet-geit,
.planet-house,
.planet-aut {
  left: 50% !important;
  right: auto !important;

  top: 0 !important;
  bottom: auto !important;
}


/* ------------------------------------------------------------
   START POSITIONS

   3P          35°   = pravý horní sektor
   GEIT       135°   = pravý spodní sektor
   HOUSELAB   220°   = levý spodní sektor
   AUT        300°   = levý horní sektor
------------------------------------------------------------ */


/* 3P */

.track-3p {
  animation:
    orbit3p-v33 155s linear infinite;
}

.track-3p .planet {
  animation:
    counter3p-v33 155s linear infinite;
}


/* GEIT */

.track-geit {
  animation:
    orbitGeit-v33 195s linear infinite reverse;
}

.track-geit .planet {
  animation:
    counterGeit-v33 195s linear infinite reverse;
}


/* HOUSELAB */

.track-house {
  animation:
    orbitHouse-v33 135s linear infinite;
}

.track-house .planet {
  animation:
    counterHouse-v33 135s linear infinite;
}


/* AUTORIZACE */

.track-aut {
  animation:
    orbitAut-v33 225s linear infinite reverse;
}

.track-aut .planet {
  animation:
    counterAut-v33 225s linear infinite reverse;
}



/* ------------------------------------------------------------
   TRACK ROTATIONS
------------------------------------------------------------ */

@keyframes orbit3p-v33 {
  from { transform: rotate(35deg); }
  to   { transform: rotate(395deg); }
}


@keyframes orbitGeit-v33 {
  from { transform: rotate(135deg); }
  to   { transform: rotate(495deg); }
}


@keyframes orbitHouse-v33 {
  from { transform: rotate(220deg); }
  to   { transform: rotate(580deg); }
}


@keyframes orbitAut-v33 {
  from { transform: rotate(300deg); }
  to   { transform: rotate(660deg); }
}



/* ------------------------------------------------------------
   COUNTER ROTATIONS
   všechny používají stejný translate,
   protože všechny mají stejný anchor
------------------------------------------------------------ */

@keyframes counter3p-v33 {
  from {
    transform: translate(-50%,-50%) rotate(-35deg);
  }
  to {
    transform: translate(-50%,-50%) rotate(-395deg);
  }
}


@keyframes counterGeit-v33 {
  from {
    transform: translate(-50%,-50%) rotate(-135deg);
  }
  to {
    transform: translate(-50%,-50%) rotate(-495deg);
  }
}


@keyframes counterHouse-v33 {
  from {
    transform: translate(-50%,-50%) rotate(-220deg);
  }
  to {
    transform: translate(-50%,-50%) rotate(-580deg);
  }
}


@keyframes counterAut-v33 {
  from {
    transform: translate(-50%,-50%) rotate(-300deg);
  }
  to {
    transform: translate(-50%,-50%) rotate(-660deg);
  }
}


/* hover = stop */

.system-map:hover .planet-track,
.system-map:hover .planet {
  animation-play-state: paused;
}



/* ============================================================
   V3.4 — PLANET TYPOGRAPHY
============================================================ */


/* ---------- společné ---------- */

.planet strong {
  font-weight: 800;
  line-height: .88;
}

.planet b {
  font-weight: 800;
  line-height: 1;
}

.planet small {
  font-weight: 500;
}


/* ---------- 3P ---------- */

.planet-3p strong {
  font-size: 42px;
}

.planet-3p b {
  font-size: 14px;
  margin-top: 5px;
}

.planet-3p small {
  font-size: 9px;
  margin-top: 21px;
}


/* ---------- GEIT ---------- */

.planet-geit strong {
  font-size: 35px;
}

.planet-geit b {
  font-size: 11px;
  margin-top: 4px;
}

.planet-geit small {
  font-size: 8px;
  margin-top: 18px;
}


/* ---------- AUTORIZACE.EU ---------- */

.planet-aut strong {
  font-size: 18px;
  letter-spacing: -.055em;
}

.planet-aut b {
  font-size: 12px;
  margin-top: 2px;
}

.planet-aut small {
  font-size: 7px;
  margin-top: 14px;
}


/* ---------- HOUSELAB ---------- */

.planet-house strong {
  font-size: 23px;
  letter-spacing: -.065em;
}

.planet-house b {
  font-size: 10px;
  margin-top: 2px;
}

.planet-house small {
  font-size: 7px;
  margin-top: 11px;
}


/* ---------- čísla 01–04 ---------- */

.planet-3p .planet-no {
  font-size: 8px;
}

.planet-geit .planet-no {
  font-size: 8px;
}

.planet-aut .planet-no,
.planet-house .planet-no {
  font-size: 7px;
}


/* ---------- text po obvodu ---------- */

.planet-3p .ring-text text {
  font-size: 8px;
  letter-spacing: 2.2px;
}

.planet-geit .ring-text text {
  font-size: 8px;
  letter-spacing: 2px;
}

.planet-aut .ring-text {
  width: 128%;
  height: 128%;
  left: -14%;
  top: -14%;
}

.planet-aut .ring-text text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.7px;
}

.planet-house .ring-text {
  width: 132%;
  height: 132%;
  left: -16%;
  top: -16%;
}

.planet-house .ring-text text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
}


/* ---------- jemná linka uvnitř planet ---------- */

.planet-face::after {
  content: "";
  position: absolute;

  width: 28%;
  height: 1px;

  left: 36%;
  top: 65%;

  background: rgba(20,20,18,.15);
}

.planet.dark .planet-face::after {
  background: rgba(255,255,255,.20);
}


/* small popis posunout pod linku */

.planet small {
  position: relative;
  z-index: 2;
}


/* ---------- hover ---------- */

.planet:hover .planet-face::after {
  background: rgba(255,255,255,.35);
}


/* na malých displejích linku nepotřebujeme */

@media (max-width: 650px) {
  .planet-face::after {
    display: none;
  }
}


/* V3.5 — 3P domain name */

.planet-3p .domain-name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.065em;
  white-space: nowrap;
}


/* V3.6 — 3P identity */

.planet-3p .brand-3p {
  font-size: 46px;
  font-weight: 850;
  line-height: .78;
  letter-spacing: -.07em;
}

.planet-3p .domain-3p {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .025em;
  margin-top: 9px;
}


/* V3.8 — spojení 3P + PROJEKT.CZ */

.planet-3p .domain-3p {
  margin-left: 0;
}


/* V3.9 — 3P + PROJEKT.CZ skutečně bez mezery */

.planet-3p .planet-face {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

/* oba názvy spojit do jednoho řádku */
.planet-3p .brand-3p {
  margin-right: 0;
}

.planet-3p .domain-3p {
  margin-left: 0;
}

/* odstranění mezery vzniklé HTML whitespace */
.planet-3p .brand-3p + .domain-3p {
  margin-left: -1px;
}


/* V3.10 — definitivní 3P název */

.planet-3p .name-3p {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

.planet-3p .name-3p strong {
  display: block;
  margin: 0;
  padding: 0;

  font-size: 46px;
  font-weight: 850;
  line-height: .78;
  letter-spacing: -.07em;
}

.planet-3p .name-3p b {
  display: block;
  margin: 0;
  padding: 0;

  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .025em;
}

/* lehce přitáhnout PROJEKT.CZ k optické hraně P */
.planet-3p .name-3p b {
  margin-left: -2px;
}


/* ============================================================
   V3.11 — HOUSELAB.CZ + GEIT.CZ
============================================================ */

/* HOUSELAB.CZ */

.planet-house .name-house {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

.planet-house .name-house strong {
  font-size: 20px;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.065em;
  margin: 0;
  padding: 0;
}

.planet-house .name-house b {
  font-size: 7px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 0 1px;
  padding: 0;
}


/* GEIT.CZ */

.planet-geit .name-geit {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

.planet-geit .name-geit strong {
  font-size: 35px;
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.055em;
  margin: 0;
  padding: 0;
}

.planet-geit .name-geit i {
  font-family: inherit;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  margin-left: 2px;
  padding: 0;
  color: inherit;
}


/* V3.12 — domain suffix GEIT + HOUSELAB */

.planet-geit .brand-geit,
.planet-house .brand-house {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}

/* GEIT.cz */
.planet-geit .brand-geit strong {
  font-size: 35px;
  line-height: .88;
  margin: 0;
  padding: 0;
}

.planet-geit .brand-geit i {
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  margin-left: 1px;
}

/* HOUSELAB.cz */
.planet-house .brand-house strong {
  font-size: 20px;
  line-height: .9;
  letter-spacing: -.065em;
  margin: 0;
  padding: 0;
}

.planet-house .brand-house i {
  font-style: normal;
  font-size: 6px;
  font-weight: 800;
  line-height: 1;
  margin-left: 1px;
}


/* V3.13 — HOUSE / LAB.cz */

.planet-house .brand-house-lab {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

.planet-house .brand-house-lab b {
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  margin: 2px 0 0;
  padding: 0;
}

.planet-house .brand-house-lab i {
  font-style: normal;
  font-size: 6px;
  font-weight: 800;
  line-height: 1;
  margin-left: 1px;
  padding: 0;
}


/* ============================================================
   V3.14 — INDIVIDUAL PLANET TEXTURES
============================================================ */

/* 3P — technický výkres / jemná mřížka */
.planet-3p .planet-face {
  background-color: #faf9f5;
  background-image:
    linear-gradient(rgba(20,20,18,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,18,.045) 1px, transparent 1px);
  background-size: 16px 16px;
}


/* GEIT — černá + velmi jemná technologická síť */
.planet-geit .planet-face {
  background-color: #161715;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.16) 1px, transparent 1.2px);
  background-size: 14px 14px;
}


/* HOUSELAB — laboratorní / experimentální tečky */
.planet-house .planet-face {
  background-color: #faf9f5;
  background-image:
    radial-gradient(circle, rgba(20,20,18,.10) .8px, transparent 1px);
  background-size: 9px 9px;
}


/* AUTORIZACE — jemné vodorovné řádky */
.planet-aut .planet-face {
  background-color: #faf9f5;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 10px,
      rgba(20,20,18,.055) 10px,
      rgba(20,20,18,.055) 11px
    );
}


/* textura nesmí přebít obsah */
.planet .planet-face {
  background-position: center;
}


/* hover zůstane čistě oranžový */
.planet:hover .planet-face {
  background-color: var(--accent);
  background-image: none;
}


/* ============================================================
   V3.15 — DIGITAL CLOCK
============================================================ */

.digital-clock {
  position: absolute;
  z-index: 60;

  right: 3.2vw;
  top: calc(50% - 285px);

  width: min(31vw, 450px);

  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  text-align: right;

  pointer-events: none;
}

.clock-time {
  font-size: clamp(38px, 3.5vw, 58px);
  font-weight: 300;
  line-height: .9;

  letter-spacing: -.07em;

  font-variant-numeric: tabular-nums;
  color: #111210;
}

.clock-meta {
  display: flex;
  justify-content: flex-end;
  gap: 18px;

  margin-top: 9px;

  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;

  color: #74756f;
}

.clock-meta span:first-child {
  color: #111210;
}

/* krátká technická linka pod hodinami */
.digital-clock::after {
  content: "";
  display: block;

  width: 72px;
  height: 1px;

  margin: 11px 0 0 auto;

  background: #111210;
  opacity: .25;
}

@media (max-width: 1100px) {
  .digital-clock {
    position: relative;
    right: auto;
    top: auto;
    width: auto;
    margin: 20px 34px 8px;
  }
}


/* ============================================================
   V3.16 — CLOCK SMALLER + ORBITS ALWAYS RUNNING
============================================================ */

/* digitální čas cca o 1/3 menší */
.clock-time {
  font-size: clamp(28px, 2.35vw, 40px);
  letter-spacing: -.06em;
}

/* planety se nikdy nezastavují při hoveru */
.system-map:hover .planet-track,
.system-map:hover .planet,
.planet-track:hover,
.planet:hover {
  animation-play-state: running !important;
}



/* ============================================================
   V3.17 — LINKEDIN SATELLITE
============================================================ */

/* nová orbita mezi AUTORIZACE a GEIT */

.track-linkedin {
  width: 84%;
  margin: -42% 0 0 -42%;

  animation:
    orbitLinkedin-v317 260s linear infinite;
}

.track-linkedin .planet {
  animation:
    counterLinkedin-v317 260s linear infinite;
}


/* start: vlastní sektor */

@keyframes orbitLinkedin-v317 {
  from { transform: rotate(250deg); }
  to   { transform: rotate(610deg); }
}

@keyframes counterLinkedin-v317 {
  from { transform: rotate(-250deg); }
  to   { transform: rotate(-610deg); }
}


/* stejný top-center anchor jako ostatní */

.planet-linkedin {
  left: 50% !important;
  right: auto !important;
  top: 0 !important;
  bottom: auto !important;

  width: 95px;
  height: 95px;
}


/* jemná diagonální síť */

.planet-linkedin .planet-face {
  background-color: #faf9f5;

  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 8px,
      rgba(20,20,18,.045) 8px,
      rgba(20,20,18,.045) 9px
    );

  background-position: center;
}


/* typografie */

.planet-linkedin strong {
  font-size: 15px;
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.055em;
}

.planet-linkedin b {
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  margin-top: 2px;
}

.planet-linkedin small {
  font-size: 6px;
  font-weight: 600;
  margin-top: 8px;
  letter-spacing: .10em;
}


/* kruhový text — u malé planety ho vytáhneme ven */

.planet-linkedin .ring-text {
  width: 136%;
  height: 136%;
  left: -18%;
  top: -18%;
}

.planet-linkedin .ring-text text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}


/* hover stejně jako zbytek systému */

.planet-linkedin:hover .planet-face {
  background-color: var(--accent);
  background-image: none;
}


/* nonstop — ani hover ji nezastaví */

.system-map:hover .track-linkedin,
.system-map:hover .track-linkedin .planet,
.track-linkedin:hover,
.track-linkedin:hover .planet,
.planet-linkedin:hover {
  animation-play-state: running !important;
}


@media (max-width: 1100px) {
  .planet-linkedin {
    width: 72px;
    height: 72px;
  }
}


/* ============================================================
   V3.18 — LINKEDIN ORBIT FIX
============================================================ */

.track-linkedin {
  width: 84% !important;
  margin: -42% 0 0 -42% !important;

  animation-name: orbitLinkedin-v318 !important;
  animation-duration: 260s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-direction: normal !important;
  animation-play-state: running !important;
}

.track-linkedin .planet {
  animation-name: counterLinkedin-v318 !important;
  animation-duration: 260s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  animation-direction: normal !important;
  animation-play-state: running !important;
}

@keyframes orbitLinkedin-v318 {
  from { transform: rotate(250deg); }
  to   { transform: rotate(610deg); }
}

@keyframes counterLinkedin-v318 {
  from { transform: rotate(-250deg); }
  to   { transform: rotate(-610deg); }
}

.track-linkedin:hover,
.track-linkedin:hover .planet,
.planet-linkedin:hover,
.system-map:hover .track-linkedin,
.system-map:hover .track-linkedin .planet {
  animation-play-state: running !important;
}


/* ============================================================
   V3.19 — LINKEDIN ORBIT GEOMETRY FIX
============================================================ */

.track-linkedin {
  width: 84% !important;
  aspect-ratio: 1 !important;
  margin: -42% 0 0 -42% !important;

  animation:
    orbitLinkedin-v319 120s linear infinite !important;
}

.track-linkedin .planet {
  animation:
    counterLinkedin-v319 120s linear infinite !important;
}

@keyframes orbitLinkedin-v319 {
  from {
    transform: rotate(250deg);
  }
  to {
    transform: rotate(610deg);
  }
}

@keyframes counterLinkedin-v319 {
  from {
    transform: translate(-50%,-50%) rotate(-250deg);
  }
  to {
    transform: translate(-50%,-50%) rotate(-610deg);
  }
}

/* ============================================================
   ANALYTICS CONSENT — DASHBOARD
============================================================ */

.analytics-consent[hidden] {
  display: none !important;
}

.analytics-consent {
  position: absolute;
  z-index: 100000;

  top: 92px;
  right: 34px;

  width: 300px;
  box-sizing: border-box;
  padding: 16px;

  background: #faf9f5;
  border: 1px solid #111210;

  color: #111210;

  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.consent-label {
  margin-bottom: 8px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}

.consent-label::before {
  content: "●";
  margin-right: 7px;
  color: var(--accent);
  font-size: 7px;
}

.analytics-consent p {
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  color: var(--muted);
}

.consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 12px;
}

.consent-actions button {
  appearance: none;
  padding: 7px 10px;

  border: 1px solid rgba(20,20,18,.25);
  background: transparent;

  font: inherit;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .10em;

  color: var(--text);
  cursor: pointer;
}

.consent-actions button.primary {
  background: var(--text);
  border-color: var(--text);
  color: var(--paper);
}

.consent-actions button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width:700px) {
  .analytics-consent {
    top: 70px;
    left: 14px;
    right: 14px;
    width: auto;
  }
}



/* ============================================================
   ANALYTICS CONSENT — SUBTLE SYSTEM PULSE
============================================================ */

#plConsent {
  animation: consentPulse 4.8s ease-in-out infinite;
}

#plConsent .pl-consent-head i {
  animation: consentDotPulse 2.4s ease-in-out infinite;
}

@keyframes consentPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(17,18,16,0);
    border-color: rgba(17,18,16,.28);
  }

  50% {
    box-shadow: 0 0 0 2px rgba(17,18,16,.055);
    border-color: rgba(17,18,16,.58);
  }
}

@keyframes consentDotPulse {
  0%, 100% {
    opacity: .55;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #plConsent,
  #plConsent .pl-consent-head i {
    animation: none;
  }
}


/* ============================================================
   ANALYTICS CONSENT — BORDER SCAN
============================================================ */

#plConsent {
  overflow: hidden;
  border-color: rgba(17,18,16,.42) !important;
  animation: none;
}

/* scanovací čára */
#plConsent::after {
  content: "";
  position: absolute;

  top: 0;
  left: -45%;

  width: 42%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(17,18,16,.15) 25%,
    rgba(17,18,16,.95) 70%,
    transparent 100%
  );

  pointer-events: none;

  animation: consentScan 4s ease-in-out infinite;
}

@keyframes consentScan {
  0%,
  68% {
    left: -45%;
    opacity: 0;
  }

  72% {
    opacity: 1;
  }

  92% {
    left: 103%;
    opacity: 1;
  }

  100% {
    left: 103%;
    opacity: 0;
  }
}

/* zelená stavová tečka zůstává živá */
#plConsent .pl-consent-head i {
  animation: consentDotPulseStrong 2s ease-in-out infinite;
}

@keyframes consentDotPulseStrong {
  0%, 100% {
    opacity: .35;
    transform: scale(.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  #plConsent::after,
  #plConsent .pl-consent-head i {
    animation: none;
  }
}


/* ============================================================
   CONSENT — RECOVERY AFTER SNAKE TEST
============================================================ */

#plConsent {
  overflow: visible !important;
  animation: none !important;
}

#plConsent::after {
  display: none !important;
  content: none !important;
}

#plConsent .pl-consent-snake {
  display: none !important;
}

#plConsent .pl-consent-head i {
  animation: consentDotPulseStrong 2s ease-in-out infinite;
}


/* ============================================================
   ANALYTICS CONSENT — ATTENTION PULSE
============================================================ */

#plConsent {
  animation: consentAttention 3.6s ease-in-out infinite !important;
}

@keyframes consentAttention {
  0%, 72%, 100% {
    border-color: rgba(17,18,16,.28);
    box-shadow: 0 0 0 0 rgba(17,18,16,0);
  }

  80% {
    border-color: rgba(17,18,16,.95);
    box-shadow: 0 0 0 1px rgba(17,18,16,.12);
  }

  88% {
    border-color: rgba(17,18,16,.28);
    box-shadow: 0 0 0 0 rgba(17,18,16,0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #plConsent {
    animation: none !important;
  }
}


/* ============================================================
   ANALYTICS CONSENT — SNAKE V2
============================================================ */

#plConsent {
  animation: none !important;
  overflow: hidden !important;
}

/* vypnutí starých pokusů */
#plConsent::after {
  display: none !important;
  content: none !important;
}

#plConsent .pl-snake {
  position: absolute;
  display: block;
  z-index: 20;
  background: #111210;
  pointer-events: none;
}

/* HORNÍ HRANA */
#plConsent .pl-snake-top {
  top: 0;
  left: -32%;
  width: 32%;
  height: 2px;
  animation: snakeTop 4s linear infinite;
}

/* PRAVÁ HRANA */
#plConsent .pl-snake-right {
  top: -32%;
  right: 0;
  width: 2px;
  height: 32%;
  animation: snakeRight 4s linear infinite;
}

/* SPODNÍ HRANA */
#plConsent .pl-snake-bottom {
  bottom: 0;
  right: -32%;
  width: 32%;
  height: 2px;
  animation: snakeBottom 4s linear infinite;
}

/* LEVÁ HRANA */
#plConsent .pl-snake-left {
  bottom: -32%;
  left: 0;
  width: 2px;
  height: 32%;
  animation: snakeLeft 4s linear infinite;
}


@keyframes snakeTop {
  0%   { left:-32%; opacity:1; }
  25%  { left:100%; opacity:1; }
  25.1%,100% { left:100%; opacity:0; }
}

@keyframes snakeRight {
  0%,24.9% { top:-32%; opacity:0; }
  25%      { top:-32%; opacity:1; }
  50%      { top:100%; opacity:1; }
  50.1%,100% { top:100%; opacity:0; }
}

@keyframes snakeBottom {
  0%,49.9% { right:-32%; opacity:0; }
  50%      { right:-32%; opacity:1; }
  75%      { right:100%; opacity:1; }
  75.1%,100% { right:100%; opacity:0; }
}

@keyframes snakeLeft {
  0%,74.9% { bottom:-32%; opacity:0; }
  75%      { bottom:-32%; opacity:1; }
  100%     { bottom:100%; opacity:1; }
}

@media (prefers-reduced-motion: reduce) {
  #plConsent .pl-snake {
    display:none;
  }
}


/* ============================================================
   ANALYTICS CONSENT — SNAKE NEON GREEN
============================================================ */

#plConsent .pl-snake {
  background: #39ff88 !important;
  box-shadow:
    0 0 3px rgba(57,255,136,.95),
    0 0 7px rgba(57,255,136,.65),
    0 0 12px rgba(57,255,136,.30);
}


/* ============================================================
   ANALYTICS CONSENT — SNAKE ORANGE
============================================================ */

#plConsent .pl-snake {
  background: #ff7a18 !important;
  box-shadow:
    0 0 3px rgba(255,122,24,.95),
    0 0 7px rgba(255,122,24,.65),
    0 0 12px rgba(255,122,24,.32);
}


/* ============================================================
   ANALYTICS CONSENT — SNAKE TURQUOISE
============================================================ */

#plConsent .pl-snake {
  background: #00d9c7 !important;
  box-shadow:
    0 0 3px rgba(0,217,199,.95),
    0 0 7px rgba(0,217,199,.68),
    0 0 12px rgba(0,217,199,.35);
}


/* ============================================================
   STATUS.LOG / SCROLL
============================================================ */

#statusLog {
  height: 288px;
  overflow-y: auto;
  overflow-x: hidden;

  padding-right: 5px;

  scrollbar-width: thin;
  scrollbar-color:
    rgba(17,18,16,.20)
    transparent;
}

#statusLog::-webkit-scrollbar {
  width: 3px;
}

#statusLog::-webkit-scrollbar-track {
  background: transparent;
}

#statusLog::-webkit-scrollbar-thumb {
  background: rgba(17,18,16,.20);
  border-radius: 10px;
}

#statusLog::-webkit-scrollbar-thumb:hover {
  background: rgba(17,18,16,.38);
}


/* ============================================================
   STATUS.LOG / FIXED TERMINAL
============================================================ */

@media (min-width: 1101px) {

  .terminal-body {
    height: 420px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
  }

  #statusLog {
    height: auto;
    min-height: 0;
    flex: 1 1 auto;

    overflow-y: auto;
    overflow-x: hidden;
  }

  .prompt {
    flex: 0 0 38px;
    box-sizing: border-box;
  }

}


/* ============================================================
   V3.20 — HOUSEOS.CZ PLANET
============================================================ */


/* vlastní orbita */

.track-houseos {
  width: 61%;
  aspect-ratio: 1;
  margin: -30.5% 0 0 -30.5%;

  animation:
    orbitHouseOS-v320 175s linear infinite !important;
}


/* planeta */

.planet-houseos {
  left: 50% !important;
  right: auto !important;

  top: 0 !important;
  bottom: auto !important;

  width: 125px;
  height: 125px;
}


/* planeta zůstává při oběhu rovně */

.track-houseos .planet {
  animation:
    counterHouseOS-v320 175s linear infinite !important;
}


/* startovní pozice */

@keyframes orbitHouseOS-v320 {
  from { transform: rotate(92deg); }
  to   { transform: rotate(452deg); }
}

@keyframes counterHouseOS-v320 {
  from {
    transform:
      translate(-50%,-50%)
      rotate(-92deg);
  }

  to {
    transform:
      translate(-50%,-50%)
      rotate(-452deg);
  }
}


/* ============================================================
   HOUSEOS / VISUAL
============================================================ */

.planet-houseos .planet-face {
  background-color: #101412;

  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255,255,255,.07), transparent 58%);

  background-size:
    12px 12px,
    12px 12px,
    100% 100%;
}


/* název */

.planet-houseos .brand-houseos {
  display: flex;
  justify-content: center;
  align-items: baseline;

  gap: 0;
  white-space: nowrap;
}

.planet-houseos .brand-houseos strong {
  margin: 0;
  padding: 0;

  font-size: 20px;
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.065em;
}

.planet-houseos .brand-houseos i {
  margin-left: 1px;
  padding: 0;

  font-style: normal;
  font-size: 6px;
  font-weight: 800;
  line-height: 1;
}


/* číslo */

.planet-houseos .planet-no {
  font-size: 7px;
  color: rgba(255,255,255,.55);
}


/* spodní text */

.planet-houseos small {
  margin-top: 12px;

  font-size: 6px;
  font-weight: 600;

  color: rgba(255,255,255,.55);
}


/* šipka */

.planet-houseos em {
  font-size: 14px;
}


/* text kolem planety */

.planet-houseos .ring-text {
  width: 132%;
  height: 132%;

  left: -16%;
  top: -16%;
}

.planet-houseos .ring-text text {
  fill: var(--text);

  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}


/* hover */

.planet-houseos:hover .planet-face {
  background-color: var(--accent);
  background-image: none;
}


/* nonstop */

.system-map:hover .track-houseos,
.system-map:hover .track-houseos .planet,
.track-houseos:hover,
.track-houseos:hover .planet,
.planet-houseos:hover {
  animation-play-state: running !important;
}


/* mobil */

@media (max-width: 650px) {

  .planet-houseos {
    width: 88px;
    height: 88px;
  }

  .planet-houseos .brand-houseos strong {
    font-size: 14px;
  }

  .planet-houseos .brand-houseos i {
    font-size: 5px;
  }

  .planet-houseos small {
    display: none;
  }

}


/* reduced motion */

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

  .track-houseos,
  .track-houseos .planet {
    animation-play-state: paused !important;
  }

}



/* ============================================================
   V3.22 — PLANET COLOR SYSTEM
============================================================ */

/* 3P PROJEKT — světlejší firemní modrá */
.planet-3p,
.planet-3p .planet-face {
  background-color: #9fcce8;
  color: #10222d;
}

.planet-3p .planet-face {
  background-image:
    linear-gradient(rgba(16,34,45,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,34,45,.065) 1px, transparent 1px);
}

.planet-3p .ring-text text {
  fill: #416b84;
}


/* GEIT — Loxone green */
.planet-geit,
.planet-geit .planet-face {
  background-color: #6fbe44;
  color: #10150d;
  border-color: #579c32;
}

.planet-geit .planet-face {
  background-image:
    radial-gradient(circle, rgba(10,30,8,.17) 1px, transparent 1.2px);
}

.planet-geit .planet-no,
.planet-geit small {
  color: rgba(10,25,8,.62);
}

.planet-geit .ring-text text {
  fill: #477f2c;
}


/* HOUSELAB — magenta / experiment */
.planet-house,
.planet-house .planet-face {
  background-color: #d968a8;
  color: #24101c;
}

.planet-house .planet-face {
  background-image:
    radial-gradient(circle, rgba(45,8,30,.14) .8px, transparent 1px);
}

.planet-house .ring-text text {
  fill: #9f3e77;
}


/* AUTORIZACE — amber / learning */
.planet-aut,
.planet-aut .planet-face {
  background-color: #e8b94f;
  color: #271d08;
}

.planet-aut .planet-face {
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 10px,
      rgba(55,39,5,.09) 10px,
      rgba(55,39,5,.09) 11px
    );
}

.planet-aut .ring-text text {
  fill: #9b741d;
}


/* HouseOS — technická šedá */
.planet-houseos,
.planet-houseos .planet-face {
  background-color: #737a7c;
  color: #f6f7f5;
  border-color: #62696b;
}

.planet-houseos .planet-face {
  background-image:
    linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(255,255,255,.07), transparent 58%);
}

.planet-houseos .ring-text text {
  fill: #555d60;
}


/* LINKEDIN — modrobílá */
.planet-linkedin,
.planet-linkedin .planet-face {
  background-color: #d8eaf5;
  color: #0a4f7a;
  border-color: #8dbbd7;
}

.planet-linkedin .planet-face {
  background-image:
    repeating-linear-gradient(
      135deg,
      transparent 0,
      transparent 8px,
      rgba(10,79,122,.07) 8px,
      rgba(10,79,122,.07) 9px
    );
}

.planet-linkedin .ring-text text {
  fill: #397fa9;
}


/* ------------------------------------------------------------
   HOVER — sjednotit systém
------------------------------------------------------------ */

.planet-3p:hover .planet-face,
.planet-geit:hover .planet-face,
.planet-house:hover .planet-face,
.planet-aut:hover .planet-face,
.planet-houseos:hover .planet-face,
.planet-linkedin:hover .planet-face {
  background-color: var(--accent);
  background-image: none;
  color: #fff;
}

.planet-3p:hover,
.planet-geit:hover,
.planet-house:hover,
.planet-aut:hover,
.planet-houseos:hover,
.planet-linkedin:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}



/* ============================================================
   V3.23 — PLANET COLORS / CONTRAST TUNING
============================================================ */


/* ------------------------------------------------------------
   3P PROJEKT — ORIGINAL DARKER BLUE
------------------------------------------------------------ */

.planet-3p,
.planet-3p .planet-face {
  background-color: #4f9fce;
  color: #0b1c27;
}

.planet-3p .planet-face {
  background-image:
    linear-gradient(rgba(5,25,38,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(5,25,38,.08) 1px, transparent 1px);
}

.planet-3p .planet-no,
.planet-3p small {
  color: #214e68;
}

.planet-3p .ring-text text {
  fill: #255f80;
}


/* ------------------------------------------------------------
   GEIT — LOXONE GREEN
------------------------------------------------------------ */

.planet-geit,
.planet-geit .planet-face {
  color: #10200b;
}

.planet-geit .planet-no,
.planet-geit small {
  color: #315c1d;
}

.planet-geit .ring-text text {
  fill: #3f7726;
}


/* ------------------------------------------------------------
   HOUSELAB — MAGENTA
------------------------------------------------------------ */

.planet-house,
.planet-house .planet-face {
  color: #321025;
}

.planet-house .planet-no,
.planet-house small {
  color: #762753;
}

.planet-house .ring-text text {
  fill: #9a376e;
}


/* ------------------------------------------------------------
   AUTORIZACE — AMBER
------------------------------------------------------------ */

.planet-aut,
.planet-aut .planet-face {
  color: #332306;
}

.planet-aut .planet-no,
.planet-aut small {
  color: #785615;
}

.planet-aut .ring-text text {
  fill: #966b16;
}


/* ------------------------------------------------------------
   HOUSEOS — GRAPHITE
------------------------------------------------------------ */

.planet-houseos,
.planet-houseos .planet-face {
  background-color: #686e70;
  color: #ffffff;
}

.planet-houseos .planet-no,
.planet-houseos small {
  color: rgba(255,255,255,.68);
}

.planet-houseos .ring-text text {
  fill: #4e5557;
}


/* ------------------------------------------------------------
   LINKEDIN — LIGHT BLUE / WHITE
------------------------------------------------------------ */

.planet-linkedin,
.planet-linkedin .planet-face {
  background-color: #dcecf5;
  color: #07527e;
}

.planet-linkedin .planet-no,
.planet-linkedin small {
  color: #427a99;
}

.planet-linkedin .ring-text text {
  fill: #397fa9;
}


/* ------------------------------------------------------------
   INNER DIVIDER — vždy podle kontrastu planety
------------------------------------------------------------ */

.planet-3p .planet-face::after,
.planet-geit .planet-face::after,
.planet-house .planet-face::after,
.planet-aut .planet-face::after,
.planet-linkedin .planet-face::after {
  background: rgba(0,0,0,.18);
}

.planet-houseos .planet-face::after {
  background: rgba(255,255,255,.28);
}


/* ------------------------------------------------------------
   HOVER — všechno bílé
------------------------------------------------------------ */

.planet:hover,
.planet:hover strong,
.planet:hover b,
.planet:hover i,
.planet:hover small,
.planet:hover .planet-no {
  color: #fff;
}

.planet:hover .ring-text text {
  fill: var(--accent);
}



/* ============================================================
   STATUS.LOG / TYPE
============================================================ */

.terminal time .status-type{
  display:inline-block;
  margin-left:7px;
  padding-left:8px;
  border-left:1px solid rgba(20,20,18,.20);

  font:inherit;
  font-weight:700;
  letter-spacing:.10em;
  color:#555650;
}



/* ============================================================
   BÝKEV.EU — OCTAGON / REVERSE ORBIT
============================================================ */

.track-bykev {
  width: 72% !important;
  aspect-ratio: 1 !important;
  margin: -36% 0 0 -36% !important;

  animation: orbitBykev 210s linear infinite reverse !important;
  animation-play-state: running !important;
}

.track-bykev .planet {
  animation: counterBykev 210s linear infinite reverse !important;
  animation-play-state: running !important;
}

@keyframes orbitBykev {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes counterBykev {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to   { transform: translate(-50%,-50%) rotate(-360deg); }
}

.planet-bykev {
  width: 145px;
  height: 145px;

  background: #DCCBFA !important;
  color: #24202D !important;

  border: 1px solid #BBA6E2 !important;
  border-radius: 0 !important;

  clip-path: polygon(
    29.3% 0%,
    70.7% 0%,
    100% 29.3%,
    100% 70.7%,
    70.7% 100%,
    29.3% 100%,
    0% 70.7%,
    0% 29.3%
  );
}

.planet-bykev .planet-face {
  color: #24202D !important;
}

.planet-bykev .planet-no,
.planet-bykev small {
  color: #65557B !important;
}

@media (max-width: 600px) {
  .planet-bykev {
    width: 105px;
    height: 105px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .track-bykev,
  .track-bykev .planet {
    animation-play-state: paused !important;
  }
}


/* BÝKEV.EU — LOWER OCTAGON EDGE LABEL */

.planet-bykev {
  position: relative;
}

.planet-bykev .bykev-edge-label {
  position: absolute;
  bottom: 12px;
  left: 50%;

  transform: translateX(-50%);

  white-space: nowrap;

  font-family:
    ui-monospace, SFMono-Regular, Menlo, monospace;

  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;

  color: #65557B;

  pointer-events: none;
}

@media (max-width: 600px) {
  .planet-bykev .bykev-edge-label {
    bottom: 9px;
    font-size: 7px;
  }
}


/* ============================================================
   BÝKEV.EU — REMOVE INNER CIRCLE
============================================================ */

.planet-bykev,
.planet-bykev .planet-face {
  background: #DCCBFA !important;
  background-image: none !important;
  border-radius: 0 !important;
}

.planet-bykev .planet-face {
  border: none !important;
  box-shadow: none !important;
}

.planet-bykev::before,
.planet-bykev::after,
.planet-bykev .planet-face::before,
.planet-bykev .planet-face::after {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.planet-bykev .planet-face strong,
.planet-bykev .planet-face b {
  color: #24202D !important;
}


/* BÝKEV.EU — PURPLE HOVER */

.planet-bykev:hover,
.planet-bykev:hover .planet-face {
  background: #9B73D9 !important;
  background-image: none !important;
}

.planet-bykev:hover .planet-face,
.planet-bykev:hover .planet-face strong,
.planet-bykev:hover .planet-face b,
.planet-bykev:hover .planet-face small,
.planet-bykev:hover .planet-no,
.planet-bykev:hover .bykev-edge-label {
  color: #FFFFFF !important;
}

