/* Homepage frame cleanup */
.os-home-hero .os-connect-panel {
  border: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(168, 85, 247, 0.16), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(96, 165, 250, 0.12), transparent 28%);
  box-shadow: none;
}

.os-home-hero .os-stat,
.os-home-hero .os-connect-list div {
  border: 0;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.os-home-hero .os-connect-list div {
  border-radius: 18px;
}

.os-home-hero .os-connect-footer {
  border-top: 0;
}

.os-app-orbit-section .os-app-use-card,
.os-feature-section .os-card {
  border: 0;
  background: linear-gradient(145deg, rgba(18, 18, 29, 0.58), rgba(9, 9, 17, 0.5));
  box-shadow: none;
}

.os-app-orbit-section .os-app-use-card:hover,
.os-feature-section .os-card:hover {
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.os-app-orbit-section .os-access-image {
  border: 0;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

.os-app-orbit-section .os-icon,
.os-feature-section .os-icon {
  border-color: transparent;
}

.os-app-orbit-section .os-icon::after,
.os-feature-section .os-icon::after {
  border-color: transparent;
}

.os-app-console {
  position: relative;
  display: grid;
  gap: 1rem;
  min-height: 420px;
  margin-top: 0.35rem;
  border: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.16), transparent 28%),
    radial-gradient(circle at 84% 16%, rgba(244, 114, 182, 0.13), transparent 30%),
    linear-gradient(145deg, rgba(15, 18, 31, 0.82), rgba(7, 8, 14, 0.78));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
  padding: clamp(1rem, 2.4vw, 1.4rem);
  overflow: hidden;
}

.os-app-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.42;
  pointer-events: none;
}

.os-app-console-top,
.os-app-stream,
.os-app-detail {
  position: relative;
  z-index: 1;
}

.os-app-console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(237, 229, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.os-app-console-top strong {
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
  padding: 0.42rem 0.7rem;
  text-transform: none;
}

.os-app-stream {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.os-app-tile {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  cursor: pointer;
  font: inherit;
  padding: 0.78rem;
  text-align: left;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.os-app-tile:hover,
.os-app-tile:focus-visible,
.os-app-tile.is-active {
  border-color: rgba(125, 211, 252, 0.46);
  background: rgba(125, 211, 252, 0.11);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.16);
  transform: translateY(-2px);
  outline: 0;
}

.os-app-code {
  display: grid;
  flex: 0 0 42px;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.92), rgba(168, 85, 247, 0.76));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.os-app-tile span:last-child {
  display: grid;
  min-width: 0;
  gap: 0.2rem;
}

.os-app-tile strong,
.os-app-tile small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.os-app-tile strong {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
}

.os-app-tile small {
  color: rgba(230, 227, 238, 0.62);
  font-size: 0.76rem;
  line-height: 1.35;
}

.os-app-detail {
  align-self: end;
  min-height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.28);
  padding: 1.1rem;
}

.os-app-detail-kicker {
  color: #a5f3fc;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.os-app-detail h3 {
  margin: 0.45rem 0 0;
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 950;
}

.os-app-detail p {
  margin: 0.58rem 0 0;
  color: rgba(237, 229, 255, 0.72);
  line-height: 1.7;
}

.os-service-spotlight .os-service-panel,
.os-scenario-section .os-server-hero {
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 74% 24%, rgba(139, 92, 246, 0.13), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(96, 165, 250, 0.07), transparent 36%);
  box-shadow: none;
}

.os-service-spotlight .os-service-points div,
.os-scenario-section .os-server-stats div,
.os-scenario-section .os-map-caption span {
  border: 0;
  background: rgba(255, 255, 255, 0.045);
}

.os-map-marker {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.os-map-marker:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.75);
  outline-offset: 8px;
}

.os-map-marker.is-active i {
  background: #facc15;
  box-shadow: 0 0 0 7px rgba(250, 204, 21, 0.16), 0 0 28px rgba(250, 204, 21, 0.95);
}

.os-map-marker.is-active b,
.os-map-marker:focus-visible b {
  opacity: 1;
}

.os-map-detail {
  max-width: min(100%, 390px);
}

.os-map-detail span {
  white-space: normal;
  text-align: center;
}

.os-map-detail span:first-child {
  color: #fff;
}

.os-scenario-section .os-operation-card {
  border: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(96, 165, 250, 0.09), transparent 36%),
    rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.os-trust-section .os-trust-box {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.os-trust-section .os-trust-box::before {
  display: none;
}

.os-trust-section .os-provider-card,
.os-trust-section .os-trust-copy-grid p {
  border: 0;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: none;
}

.os-trust-section .os-provider-card:hover {
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

@media (max-width: 760px) {
  .os-home-hero .os-connect-panel {
    border-radius: 28px;
  }

  .os-service-spotlight .os-service-panel,
  .os-scenario-section .os-server-hero {
    border-radius: 0;
  }

  .os-app-console {
    min-height: auto;
    border-radius: 24px;
  }

  .os-app-stream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-app-tile {
    min-height: 78px;
  }
}

@media (max-width: 520px) {
  .os-app-stream {
    grid-template-columns: 1fr;
  }

  .os-app-tile {
    min-height: 72px;
  }
}
