﻿:root {
  --orbx-bg-top: #1a1426;
  --orbx-bg-bottom: #110d1a;
  --orbx-ink: #f7f7f8;
  --orbx-muted: #d8d9de;
  --orbx-chip: rgba(255, 255, 255, 0.16);
  --orbx-panel: rgba(10, 10, 14, 0.46);
  --orbx-lime: #c9ff48;
  --orbx-outline: rgba(255, 255, 255, 0.24);
}

body.page-orbx {
  margin: 0;
  background:
    radial-gradient(1000px 380px at 8% 0%, rgba(255, 176, 96, 0.28), transparent 62%),
    radial-gradient(760px 320px at 92% 14%, rgba(174, 255, 53, 0.18), transparent 66%),
    linear-gradient(180deg, var(--orbx-bg-top) 0%, var(--orbx-bg-bottom) 100%);
  color: var(--orbx-ink);
}

.orbx-page {
  min-height: 100dvh;
}

.orbx-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
  background: linear-gradient(180deg, rgba(10, 10, 14, 0.82) 0%, rgba(10, 10, 14, 0.28) 70%, transparent 100%);
  backdrop-filter: blur(6px);
}

.orbx-topbar a {
  color: var(--orbx-ink);
  text-decoration: none;
  font-weight: 700;
}

.orbx-topbar__home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}

.orbx-inline-icon {
  width: 18px;
  text-align: center;
  opacity: 0.95;
}

.orbx-topbar__center {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.orbx-topbar__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(201, 255, 72, 0.78);
  background: rgba(201, 255, 72, 0.13);
  color: var(--orbx-lime);
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.orbx-topbar__catalog {
  border-radius: 999px;
  border: 1px solid var(--orbx-outline);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 11px;
  font-size: 0.82rem;
}

.orbx-live-summaries {
  width: min(520px, 100%);
  margin: calc(62px + env(safe-area-inset-top, 0px)) auto 12px;
  padding: 0 10px;
  display: grid;
  gap: 10px;
}

.orbx-live-summaries__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #f2dbbf;
  font-size: 0.78rem;
}

.orbx-live-summaries__head strong {
  color: var(--orbx-lime);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.orbx-live-summaries__grid {
  display: grid;
  gap: 10px;
}

.orbx-live-card {
  border: 1px solid rgba(255, 232, 198, 0.24);
  border-radius: 16px;
  padding: 11px;
  background:
    linear-gradient(160deg, rgba(255, 193, 122, 0.16), rgba(201, 255, 72, 0.12)),
    rgba(8, 8, 12, 0.76);
}

.orbx-live-card__store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff6e8;
  text-decoration: none;
}

.orbx-live-card__store img,
.orbx-live-card__store span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  object-fit: cover;
}

.orbx-live-card__store span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 255, 72, 0.2);
  color: #202f06;
  font-size: 0.8rem;
  font-weight: 800;
}

.orbx-live-card__store b {
  font-size: 0.86rem;
  line-height: 1.2;
}

.orbx-live-card__summary {
  margin: 8px 0 0;
  color: #fff0db;
  font-size: 0.84rem;
  line-height: 1.4;
}

.orbx-live-card__benefits {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 4px;
}

.orbx-live-card__benefits li {
  color: #dbff8f;
  font-size: 0.78rem;
  line-height: 1.34;
}

.orbx-live-card__actions {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.orbx-live-card__actions a {
  border-radius: 999px;
  border: 1px solid var(--orbx-outline);
  background: rgba(255, 255, 255, 0.06);
  color: #fff2df;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 10px;
}

.orbx-live-card__actions a:hover {
  border-color: rgba(201, 255, 72, 0.86);
  color: var(--orbx-lime);
}

.orbx-feed {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
}

.orbx-feed::-webkit-scrollbar {
  width: 8px;
}

.orbx-feed::-webkit-scrollbar-thumb {
  background: rgba(201, 255, 72, 0.56);
  border-radius: 999px;
}

.orbx-clip {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

.orbx-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(96% 62% at 50% 76%, rgba(255, 130, 60, 0.2), transparent 66%),
    linear-gradient(180deg, #181422 0%, #100d18 100%);
}

.orbx-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbx-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 14, 0.36) 0%, rgba(10, 10, 14, 0.04) 24%, rgba(10, 10, 14, 0.64) 82%, rgba(10, 10, 14, 0.9) 100%);
}

.orbx-video-btn {
  position: absolute;
  z-index: 10;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--orbx-outline);
  background: rgba(9, 9, 12, 0.54);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.orbx-video-btn:hover {
  transform: translateY(-1px);
  background: rgba(9, 9, 12, 0.74);
}

.orbx-video-btn--play {
  top: calc(86px + env(safe-area-inset-top, 0px));
}

.orbx-video-btn--mute {
  top: calc(138px + env(safe-area-inset-top, 0px));
}

.orbx-actions {
  position: absolute;
  z-index: 10;
  right: 12px;
  bottom: max(124px, calc(104px + env(safe-area-inset-bottom, 0px)));
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.orbx-action {
  width: 54px;
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid var(--orbx-outline);
  background: rgba(9, 9, 12, 0.54);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 0.66rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.orbx-action:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 255, 72, 0.72);
}

.orbx-action__icon {
  font-size: 18px;
  line-height: 1;
}

.orbx-like-btn.is-active {
  border-color: rgba(201, 255, 72, 0.9);
  color: var(--orbx-lime);
}

.orbx-info {
  position: absolute;
  z-index: 10;
  left: 12px;
  right: 76px;
  bottom: max(14px, calc(10px + env(safe-area-inset-bottom, 0px)));
  display: grid;
  gap: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.44);
}

.orbx-comments-panel {
  position: absolute;
  z-index: 14;
  left: 12px;
  right: 12px;
  bottom: max(140px, calc(120px + env(safe-area-inset-bottom, 0px)));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(9, 9, 12, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 10px;
  padding: 12px;
  max-height: min(56dvh, 420px);
  overflow: hidden;
}

.orbx-comments-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.orbx-comments-panel__header strong {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.orbx-comments-panel__close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--orbx-outline);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.orbx-comments-panel__status {
  font-size: 0.75rem;
  color: var(--orbx-muted);
}

.orbx-comments-panel__status.is-error {
  color: #ffb9b9;
}

.orbx-comments-panel__status.is-ok {
  color: #dcff8b;
}

.orbx-comments-panel__list {
  display: grid;
  gap: 8px;
  overflow-y: auto;
  padding-right: 2px;
}

.orbx-comments-panel__list::-webkit-scrollbar {
  width: 6px;
}

.orbx-comments-panel__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.orbx-comment-item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 9px;
  display: grid;
  gap: 4px;
}

.orbx-comment-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.72rem;
  color: #f3f4f8;
}

.orbx-comment-item__meta small {
  color: var(--orbx-muted);
}

.orbx-comment-item__text {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.36;
  color: #eef0f5;
}

.orbx-comment-item__stars {
  color: #ffd67a;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.orbx-comments-panel__empty {
  font-size: 0.8rem;
  color: var(--orbx-muted);
}

.orbx-comments-panel__form {
  display: grid;
  gap: 8px;
}

.orbx-comments-panel__form textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 0.8rem;
  resize: vertical;
  min-height: 70px;
  max-height: 140px;
  padding: 8px 10px;
}

.orbx-comments-panel__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.orbx-comments-panel__form textarea:focus {
  outline: none;
  border-color: rgba(201, 255, 72, 0.78);
}

.orbx-comments-panel__form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.orbx-comments-panel__form-row select,
.orbx-comments-panel__form-row button {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.76rem;
}

.orbx-comments-panel__form-row select {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 7px 10px;
}

.orbx-comments-panel__form-row button {
  background: linear-gradient(140deg, #deff89, #c9ff48);
  color: #131c08;
  font-weight: 800;
  min-width: 95px;
  cursor: pointer;
}

.orbx-comments-panel__form-row button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.orbx-comments-panel__link {
  font-size: 0.75rem;
  color: #dffb98;
  font-weight: 700;
  text-decoration: none;
}

.orbx-comments-panel__link:hover {
  text-decoration: underline;
}

.orbx-store {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.orbx-store img,
.orbx-store__placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.orbx-store__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 255, 72, 0.24);
  color: #10180a;
  font-weight: 800;
}

.orbx-store__name {
  font-size: 0.92rem;
}

.orbx-title {
  margin: 0;
  font-size: clamp(1rem, 2.7vw, 1.2rem);
  line-height: 1.25;
}

.orbx-title a {
  color: #fff;
  text-decoration: none;
}

.orbx-title a:hover {
  text-decoration: underline;
}

.orbx-meta {
  margin: 0;
  color: var(--orbx-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.orbx-stats {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--orbx-panel);
  color: #f2f2f4;
  font-size: 0.8rem;
}

.orbx-price {
  color: var(--orbx-lime);
  font-weight: 800;
}

.orbx-empty {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.orbx-empty__card {
  width: min(520px, 92vw);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(13, 11, 20, 0.74);
  color: #fff;
  text-align: center;
  padding: 26px 20px;
}

.orbx-empty__card h1 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 4.6vw, 1.9rem);
}

.orbx-empty__card p {
  margin: 0 0 14px;
  color: var(--orbx-muted);
}

.orbx-empty__card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(201, 255, 72, 0.78);
  color: #11190a;
  background: linear-gradient(135deg, #d7ff74, #c9ff48);
  text-decoration: none;
  font-weight: 800;
  padding: 10px 18px;
}

@media (min-width: 980px) {
  .orbx-feed,
  .orbx-topbar {
    width: min(520px, 100%);
    margin: 0 auto;
    left: 0;
    right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 720px) {
  .orbx-topbar__catalog {
    display: none;
  }

  .orbx-actions {
    right: 10px;
  }

  .orbx-action {
    width: 50px;
    min-height: 50px;
    border-radius: 16px;
  }

  .orbx-info {
    left: 10px;
    right: 68px;
  }

  .orbx-comments-panel {
    left: 8px;
    right: 8px;
    bottom: max(132px, calc(112px + env(safe-area-inset-bottom, 0px)));
    max-height: min(58dvh, 440px);
    padding: 10px;
  }

  .orbx-comments-panel__form-row {
    grid-template-columns: 1fr;
  }

  .orbx-comments-panel__form-row button {
    min-height: 36px;
  }
}

