.orloj-guide-launch,
.orloj-reading-guide {
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.9rem;
  border: 1px solid rgba(236, 195, 103, 0.34);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(42, 54, 57, 0.74), rgba(7, 18, 26, 0.9)),
    rgba(6, 16, 24, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 207, 0.06),
    0 18px 46px -34px rgba(0, 0, 0, 0.95);
}

.orloj-guide-launch {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  min-height: 64px;
  padding: 0.75rem 0.85rem;
  color: #f8e8b8;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.orloj-guide-launch:hover,
.orloj-guide-launch:focus-visible {
  border-color: rgba(255, 220, 132, 0.76);
  background:
    linear-gradient(145deg, rgba(83, 66, 31, 0.74), rgba(9, 22, 31, 0.94)),
    rgba(7, 18, 27, 0.94);
  outline: none;
}

.orloj-guide-launch:active {
  transform: translateY(1px);
}

.orloj-guide-launch span {
  min-width: 0;
}

.orloj-guide-launch strong,
.orloj-guide-launch small {
  display: block;
}

.orloj-guide-launch strong {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.1;
}

.orloj-guide-launch small {
  margin-top: 0.22rem;
  color: rgba(231, 221, 195, 0.64);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.68rem;
  line-height: 1.25;
}

.orloj-reading-guide {
  padding: 0.9rem;
}

.orloj-guide-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.orloj-guide-heading span {
  display: block;
  color: #d9ae5c;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.orloj-guide-heading h3 {
  margin: 0.18rem 0 0;
  color: #ffe9a7;
  font-family: var(--font-display);
  font-size: 1.14rem;
  line-height: 1.08;
}

.orloj-guide-heading button {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 176, 85, 0.28);
  border-radius: 999px;
  background: rgba(5, 13, 20, 0.72);
  color: rgba(242, 229, 194, 0.72);
  cursor: pointer;
}

.orloj-guide-heading button:hover,
.orloj-guide-heading button:focus-visible {
  border-color: rgba(255, 219, 128, 0.72);
  color: #fff0bd;
  outline: none;
}

.orloj-guide-progress {
  height: 5px;
  margin-top: 0.7rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(220, 180, 93, 0.14);
}

.orloj-guide-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #92702d, #f3ca65, #fff0a8);
  transition: width 180ms ease;
}

.orloj-reading-guide > p {
  margin: 0.8rem 0 0;
  color: rgba(239, 231, 210, 0.82);
  font-family: "Cormorant Garamond", ui-serif, serif;
  font-size: 1rem;
  line-height: 1.38;
}

.orloj-guide-value {
  display: block;
  margin-top: 0.7rem;
  border: 1px solid rgba(232, 190, 95, 0.22);
  border-radius: 0.78rem;
  background: rgba(2, 10, 16, 0.56);
  padding: 0.65rem 0.72rem;
  color: #fff0bd;
  font-family: "Cormorant Garamond", ui-serif, serif;
  font-size: 1.02rem;
  line-height: 1.22;
}

.orloj-reading-guide > small {
  display: block;
  margin-top: 0.55rem;
  color: rgba(225, 212, 179, 0.62);
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.67rem;
  line-height: 1.45;
}

.orloj-guide-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.orloj-guide-actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 1px solid rgba(219, 176, 87, 0.32);
  border-radius: 0.78rem;
  background: rgba(19, 35, 46, 0.72);
  color: #f4e6bf;
  cursor: pointer;
  font-family: Inter, ui-sans-serif, sans-serif;
  font-size: 0.74rem;
}

.orloj-guide-actions button:last-child {
  background: rgba(91, 66, 29, 0.76);
}

.orloj-guide-actions button:hover:not(:disabled),
.orloj-guide-actions button:focus-visible:not(:disabled) {
  border-color: rgba(250, 211, 117, 0.76);
  color: #fff2c4;
  outline: none;
}

.orloj-guide-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

@media (min-width: 1181px) {
  .orloj-learning-layout > .orloj-panel {
    max-height: calc(100dvh - 138px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(218, 174, 84, 0.5) rgba(4, 12, 19, 0.34);
    scrollbar-width: thin;
  }

  .orloj-learning-layout > .orloj-panel::-webkit-scrollbar {
    width: 8px;
  }

  .orloj-learning-layout > .orloj-panel::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(4, 12, 19, 0.34);
  }

  .orloj-learning-layout > .orloj-panel::-webkit-scrollbar-thumb {
    border: 2px solid rgba(4, 12, 19, 0.34);
    border-radius: 999px;
    background: rgba(218, 174, 84, 0.5);
  }
}

@media (max-width: 760px) {
  .orloj-guide-launch,
  .orloj-reading-guide {
    margin-top: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orloj-guide-launch,
  .orloj-guide-progress span {
    transition: none;
  }
}
