:root {
  --bg: #06090f;
  --panel: #0b1421;
  --panel2: #0d1928;
  --text: #f4f7fb;
  --muted: #91a5bd;
  --line: #1d354f;
  --blue: #4ea1ff;
  --green: #34e39a;
  --amber: #ffd45b;
}

/* RC11 structured requirements and feature category themes */
.requirements-table .requirement-row {
  display: block;
  padding: 0;
}
.requirement-summary {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.85rem;
}
.requirement-help {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #3174a2;
  border-radius: 999px;
  background: rgba(36, 130, 198, 0.13);
  color: #70c8ff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}
.requirement-help:focus-visible {
  outline: 3px solid rgba(112, 200, 255, 0.48);
  outline-offset: 2px;
}
.requirement-detail {
  display: none;
  border-top: 1px solid #25455d;
  padding: 0.8rem 0.9rem 0.9rem;
  color: #c8e2f4;
}
.requirement-row.is-open .requirement-detail {
  display: block;
}
@media (hover: hover) and (pointer: fine) {
  .requirement-row.has-details:hover .requirement-detail {
    display: block;
  }
}
.requirement-detail p {
  margin: 0;
  white-space: pre-wrap;
}
.requirement-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.requirement-detail-tags b {
  border: 1px solid #35637f;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: rgba(42, 102, 139, 0.13);
  color: #e7f7ff;
  font-size: 0.86rem;
}

.feature-category {
  --feature-accent: #38a5ff;
  --feature-soft: rgba(56, 165, 255, 0.13);
}
.feature-category[data-feature-theme="cyan"] {
  --feature-accent: #22d3ee;
  --feature-soft: rgba(34, 211, 238, 0.13);
}
.feature-category[data-feature-theme="purple"] {
  --feature-accent: #a78bfa;
  --feature-soft: rgba(167, 139, 250, 0.13);
}
.feature-category[data-feature-theme="amber"] {
  --feature-accent: #fbbf24;
  --feature-soft: rgba(251, 191, 36, 0.13);
}
.feature-category[data-feature-theme="teal"] {
  --feature-accent: #2dd4bf;
  --feature-soft: rgba(45, 212, 191, 0.13);
}
.feature-category[data-feature-theme="slate"] {
  --feature-accent: #94a3b8;
  --feature-soft: rgba(148, 163, 184, 0.13);
}
.feature-category > summary {
  border-left: 4px solid var(--feature-accent);
  background: linear-gradient(90deg, var(--feature-soft), rgba(4, 18, 29, 0.2));
}
.feature-category[open] > summary {
  color: #f4fbff;
  border-color: var(--feature-accent);
}

@media (max-width: 1200px) {
  .requirement-summary {
    grid-template-columns: 1fr auto;
  }
  .requirement-summary strong {
    grid-column: 1;
    grid-row: 2;
  }
  .requirement-help {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  background: radial-gradient(circle at 68% 8%, #0c2038 0, #06090f 34%);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}
.topbar {
  height: 64px;
  border-bottom: 1px solid #18283a;
  background: rgba(5, 9, 15, 0.86);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, 5vw);
  position: sticky;
  top: 0;
  z-index: 50;
}
.brand {
  font-weight: 900;
  letter-spacing: 0.08em;
}
.brand span {
  color: var(--blue);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-actions a,
.nav-actions button {
  font: inherit;
  color: #c7d6e6;
  background: #0a1420;
  border: 1px solid #253a52;
  border-radius: 9px;
  padding: 8px 12px;
  cursor: pointer;
}
.nav-actions a:hover,
.nav-actions button:hover {
  border-color: #4a89c9;
  color: #fff;
}
.shell {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 64px 0 90px;
}
.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #7690aa;
  font-size: 0.82rem;
  margin-bottom: 22px;
}
.crumbs a:hover {
  color: #fff;
}
.hero {
  position: relative;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #0a1420;
  display: flex;
  align-items: end;
  padding: 34px;
  margin-bottom: 34px;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 15, 0.96),
      rgba(5, 9, 15, 0.58) 58%,
      rgba(5, 9, 15, 0.8)
    ),
    linear-gradient(0deg, rgba(5, 9, 15, 0.92), transparent 75%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.eyebrow {
  color: #58aaff;
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
  margin: 10px 0;
}
.hero p {
  color: #c0cddd;
  margin: 0;
}
.account-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: #0a1420;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 17px;
  margin-bottom: 28px;
  color: #b8c7d8;
}
.account-strip strong {
  color: #fff;
}
.badge {
  display: inline-block;
  border: 1px solid #28557d;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.72rem;
  color: #8ec9ff;
  background: #081522;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin: 30px 0 18px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  margin: 0;
}
.section-head p {
  color: var(--muted);
  margin: 4px 0 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #0c1725, #09111b);
  border-radius: 17px;
  padding: 21px;
  transition: 0.2s;
  min-height: 165px;
}
.card.link {
  cursor: pointer;
}
.card.link:hover {
  transform: translateY(-2px);
  border-color: #3c78b1;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}
.card h3 {
  margin: 7px 0 5px;
  font-size: 1.06rem;
}
.card p {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 0.9rem;
}
.card .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.empty,
.notice {
  border: 1px dashed #29445f;
  border-radius: 16px;
  padding: 28px;
  color: #9db0c5;
  background: #08111c;
}
.notice.locked {
  border-style: solid;
  border-color: #6a5318;
  background: #1a1607;
  color: #e2c76f;
}
.notice.ok {
  border-style: solid;
  border-color: #176342;
  background: #071b13;
  color: #70e9b3;
}
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.8fr);
  gap: 20px;
}
.detail {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0a1420;
  padding: 26px;
}
.detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 4px 0 8px;
}
.detail h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.detail p {
  color: #abc0d4;
}
.features {
  margin: 0;
  padding-left: 20px;
  color: #d8e4ef;
}
.features li {
  margin: 5px 0;
}
.price-box {
  border: 1px solid #176342;
  background: #071b13;
  border-radius: 16px;
  padding: 20px;
  height: max-content;
  position: sticky;
  top: 84px;
}
.price-box h3 {
  color: #5be4a7;
  margin: 0 0 10px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(111, 230, 178, 0.16);
}
.price-row:last-child {
  border-bottom: 0;
}
.price-row strong {
  white-space: nowrap;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.media-item {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: #050a10;
}
.media-item img,
.media-item video,
.media-item iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 0;
}
.media-link {
  display: block;
  padding: 16px;
  color: #7fc0ff;
}
.sales {
  display: inline-flex;
  margin-top: 20px;
  padding: 11px 15px;
  border-radius: 10px;
  background: #257edb;
  color: #fff;
  font-weight: 750;
}
.loading {
  padding: 80px 0;
  text-align: center;
  color: #8ca2b9;
}
.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #20364e;
  border-top-color: #50a5ff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 850px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-layout {
    grid-template-columns: 1fr;
  }
  .price-box {
    position: static;
  }
  .hero {
    min-height: 230px;
  }
}
@media (max-width: 560px) {
  .shell {
    width: min(94vw, 1180px);
    padding-top: 36px;
  }
  .topbar {
    padding: 0 3vw;
  }
  .nav-actions a {
    display: none;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 23px;
    min-height: 210px;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .account-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* V2 product media */
.supported-variants {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.video-list {
  display: grid;
  gap: 18px;
  margin-top: 12px;
}
.video-block {
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  background: #050a10;
}
.video-block iframe,
.video-block > video,
.video-lazy {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #02060a;
}
.video-lazy {
  position: relative;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.video-lazy img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}
.video-lazy:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 55%);
}
.play-large {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.8rem;
  padding-left: 5px;
}
.video-lazy.placeholder {
  background: radial-gradient(circle at 50% 20%, #173250, #06101b 62%);
}
.video-placeholder-title {
  position: absolute;
  left: 22px;
  bottom: 18px;
  font-size: 1.2rem;
  font-weight: 850;
  color: #d8ebff;
  z-index: 2;
}
.video-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  color: #b8c8d8;
}
.video-meta a {
  color: #6ab8ff;
  font-size: 0.84rem;
}
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.gallery-thumb {
  border: 1px solid var(--line);
  background: #050a10;
  border-radius: 13px;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
}
.gallery-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.22s;
}
.gallery-thumb:hover img {
  transform: scale(1.025);
}
.locked-action {
  display: inline-block;
  margin-top: 12px;
  color: #7cc1ff;
}
.lightbox[hidden] {
  display: none;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: grid;
  place-items: center;
  padding: 42px 76px;
}
.lightbox img {
  max-width: min(1600px, 92vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.lightbox button {
  position: fixed;
  border: 1px solid #40546b;
  background: rgba(5, 12, 20, 0.8);
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-size: 2rem;
}
.lightbox-close {
  right: 24px;
  top: 22px;
  width: 46px;
  height: 46px;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 64px;
}
.lightbox-prev {
  left: 18px;
}
.lightbox-next {
  right: 18px;
}
.lightbox-count {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #07111c;
  border: 1px solid #344a61;
  border-radius: 999px;
  padding: 5px 11px;
  color: #c8d8e8;
}
.lightbox-open {
  overflow: hidden;
}
@media (max-width: 850px) {
  .image-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .video-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (max-width: 560px) {
  .image-gallery {
    grid-template-columns: 1fr;
  }
  .lightbox {
    padding: 56px 12px;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 52px;
  }
  .play-large {
    width: 58px;
    height: 58px;
    font-size: 1.4rem;
  }
}
.variant-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.variant-pill {
  border: 1px solid #29435e;
  background: #08131f;
  color: #a9bfd4;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
}
.variant-pill.active,
.variant-pill:hover {
  border-color: #4d92d0;
  background: #12304c;
  color: #fff;
}
/* V3 product cards */
.product-grid-v3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.product-card-v3 {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #0c1725, #08111b);
  transition: 0.22s;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.product-card-v3:hover {
  transform: translateY(-3px);
  border-color: #4385bd;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.product-card-cover {
  aspect-ratio: 16/9;
  background: #07111b;
  overflow: hidden;
}
.product-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #c6d7e7;
  background: radial-gradient(circle at 50% 30%, #17304a, #07111b 65%);
}
.product-fallback span {
  color: #4fa8ff;
  margin-right: 3px;
}
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-tags,
.product-tags-detail {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.product-tags span,
.product-tags-detail span {
  display: inline-flex;
  border: 1px solid #2d6387;
  background: #071b2b;
  color: #8fd0ff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 800;
}
.product-tags .status-tag {
  margin-left: auto;
  border-color: #2e7657;
  color: #7de5b0;
  background: #071d15;
}
.product-card-body h3 {
  margin: 9px 0 5px;
}
.product-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.view-link {
  margin-top: auto;
  padding-top: 13px;
  color: #6ab8ff;
  font-size: 0.84rem;
  font-weight: 800;
}
.tag-filter-wrap {
  margin-top: 12px;
}
/* V3 product detail layout */
.product-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: start;
}
.product-media-sticky {
  position: sticky;
  top: 84px;
}
.media-stage {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #03080d;
  aspect-ratio: 16/9;
}
.media-stage iframe,
.media-stage video,
.media-stage > button {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.media-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-stage-image {
  padding: 0;
  background: #02060a;
  cursor: zoom-in;
}
.media-stage-video {
  position: relative;
  padding: 0;
  background: #02060a;
  cursor: pointer;
}
.media-stage-video img {
  opacity: 0.9;
}
.media-stage-video:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.28), transparent 55%);
}
.media-stage-native {
  object-fit: contain;
  background: #000;
}
.media-empty {
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #d6e5f4;
}
.media-empty span {
  color: #4da7ff;
}
.media-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}
.media-switch {
  aspect-ratio: 16/9;
  border: 1px solid #27435c;
  border-radius: 9px;
  background: #07111b;
  color: #c7d8e8;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.media-switch.active {
  border-color: #58aaff;
  box-shadow: 0 0 0 2px rgba(88, 170, 255, 0.12);
}
.media-switch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-switch span {
  font-size: 1.25rem;
}
.media-switch small {
  display: block;
  font-size: 0.62rem;
}
.media-source-link {
  display: inline-block;
  margin-top: 9px;
  color: #68b8ff;
  font-size: 0.82rem;
}
.product-info {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #0a1420;
  padding: 25px;
}
.product-info h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  margin: 6px 0 10px;
}
.product-description {
  color: #b5c9da;
  line-height: 1.75;
}
.info-block {
  margin-top: 24px;
}
.info-block h2 {
  font-size: 1.1rem;
  margin: 0 0 10px;
}
.requirements-table {
  border: 1px solid #1d3a52;
  border-radius: 12px;
  overflow: hidden;
}
.requirements-table > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.75fr) 1.25fr;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #17344b;
}
.requirements-table > div:last-child {
  border: 0;
}
.requirements-table span {
  color: #7ea1bb;
}
.requirements-table strong {
  font-weight: 650;
}
.pricing-stack {
  display: grid;
  gap: 12px;
}
.price-box.plan {
  position: static;
  padding: 14px;
  border-radius: 12px;
}
.feature-section-full {
  margin-top: 28px;
}
.feature-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature-category {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #091421;
  padding: 18px;
}
.feature-category h3 {
  margin: 0 0 10px;
  color: #eaf5ff;
}
.feature-category ul {
  margin: 0;
  padding-left: 19px;
  color: #c7d8e7;
}
.feature-category li {
  margin: 5px 0;
}
@media (max-width: 950px) {
  .product-grid-v3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-showcase {
    grid-template-columns: 1fr;
  }
  .product-media-sticky {
    position: static;
  }
  .feature-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .product-grid-v3 {
    grid-template-columns: 1fr;
  }
  .media-switcher {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .feature-category-grid {
    grid-template-columns: 1fr;
  }
  .requirements-table > div {
    grid-template-columns: 1fr;
  }
  .product-info {
    padding: 18px;
  }
}

/* V4 shared navigation / language picker */
.nav-actions,
[data-bw-nav] {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-actions > a,
[data-bw-nav] > a {
  border: 1px solid #25445f;
  background: #071522;
  color: #d6e9f7;
  border-radius: 8px;
  padding: 8px 11px;
  text-decoration: none;
}
.nav-actions > a.admin-link,
[data-bw-nav] > a.admin-link {
  border-color: #267456;
  color: #7cecb8;
  background: #071d17;
}
.bw-language-picker {
  position: relative;
}
.language-trigger {
  display: flex !important;
  align-items: center;
  gap: 7px;
  border: 1px solid #2c526f !important;
  background: #071522 !important;
  color: #dff1ff !important;
  border-radius: 9px !important;
  padding: 7px 10px !important;
  cursor: pointer;
}
.language-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 1px;
  color: #4bb8ff;
}
.language-mark b {
  font-size: 13px;
}
.language-mark i {
  font-size: 11px;
  font-style: normal;
  color: #71ebc0;
}
.lang-caret {
  opacity: 0.65;
}
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 120;
  min-width: 178px;
  border: 1px solid #2a4c67;
  border-radius: 11px;
  background: #07131f;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
  padding: 7px;
}
.language-menu-title {
  padding: 6px 9px;
  color: #809fb7;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.language-menu button {
  width: 100%;
  display: flex;
  gap: 9px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #d9ebf8;
  padding: 9px;
  border-radius: 7px;
  text-align: left;
  cursor: pointer;
}
.language-menu button:hover,
.language-menu button.selected {
  background: #0d2940;
}
.lang-check {
  width: 14px;
  color: #56dca7;
  opacity: 0;
}
.language-menu button.selected .lang-check {
  opacity: 1;
}
/* V4 statuses */
.status-tag,
.badge[class*="status-"] {
  display: inline-flex;
  align-items: center;
  border: 1px solid;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 800;
}
.status-working {
  color: #66efad !important;
  border-color: #25885e !important;
  background: #061f17 !important;
}
.status-updating {
  color: #ffd56b !important;
  border-color: #927421 !important;
  background: #241d07 !important;
}
.status-caution {
  color: #ffb35d !important;
  border-color: #9b5a20 !important;
  background: #281607 !important;
}
.status-frozen {
  color: #69bcff !important;
  border-color: #2a75aa !important;
  background: #071c2c !important;
}
.status-checking {
  color: #ff7f87 !important;
  border-color: #a43f48 !important;
  background: #290d12 !important;
}
.status-description {
  margin: 10px 0 4px;
  border-left: 3px solid currentColor;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 0.86rem;
  opacity: 0.92;
}
/* V4 custom tag colors */
.custom-tag,
.custom-tag-filter {
  --tag-color: #3b82f6 !important;
  border-color: var(--tag-color) !important;
  color: var(--tag-color) !important;
  background: color-mix(in srgb, var(--tag-color) 11%, #07131f) !important;
}
.product-tags-detail .custom-tag,
.product-tags .custom-tag {
  display: inline-flex;
  border: 1px solid var(--tag-color);
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 800;
}
/* V4 notices */
.product-notices {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.product-notice {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 10px;
}
.product-notice strong {
  font-size: 0.85rem;
}
.product-notice span {
  line-height: 1.55;
}
.notice-info {
  border-color: #2872a6;
  background: #071c2c;
  color: #9fd7ff;
}
.notice-notice {
  border-color: #90701e;
  background: #241d07;
  color: #ffe08b;
}
.notice-warning {
  border-color: #9a581d;
  background: #281607;
  color: #ffc078;
}
.notice-critical {
  border-color: #a64049;
  background: #290d12;
  color: #ffafb5;
}
@media (max-width: 760px) {
  .nav-actions,
  [data-bw-nav] {
    gap: 5px;
  }
  .nav-actions > a,
  [data-bw-nav] > a,
  .language-trigger {
    padding: 7px 8px !important;
    font-size: 0.78rem;
  }
  .language-trigger [data-bw-lang-current] {
    display: none;
  }
}

/* V5 product detail: related media + left features + sticky product info */
.product-showcase.v5 {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 24px;
  align-items: start;
}
.product-media-column {
  min-width: 0;
}
.product-info-sticky {
  position: sticky;
  top: 84px;
  align-self: start;
}
.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.section-title-row h2 {
  margin: 4px 0 0;
  font-size: 1.35rem;
}
.media-count {
  font-size: 0.78rem;
  color: #8199b0;
  border: 1px solid #203c55;
  border-radius: 999px;
  padding: 5px 9px;
  background: #07131f;
  white-space: nowrap;
}
.media-stage-video .video-click-label,
.media-stage-image .media-action-hint {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(3, 8, 13, 0.82);
  color: #f4f9ff;
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
  opacity: 0.9;
  transition: 0.18s;
}
.media-stage-video:hover .video-click-label,
.media-stage-image:hover .media-action-hint {
  background: rgba(18, 73, 120, 0.92);
  border-color: #5caeff;
}
.media-stage-image {
  position: relative;
}
.media-stage-image .media-action-hint {
  left: auto;
  right: 14px;
  transform: none;
  bottom: 14px;
}
.product-quick-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 4px;
}
.product-quick-nav a {
  border: 1px solid #285174;
  background: #081827;
  color: #9fd2ff;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}
.product-quick-nav a:hover {
  border-color: #54a8f6;
  color: #fff;
  background: #102941;
}
#media,
#features,
#requirements,
#pricing {
  scroll-margin-top: 92px;
}
.feature-section-full {
  margin-top: 30px;
  border-top: 1px solid #183149;
  padding-top: 24px;
}
.section-head.compact {
  margin: 0 0 14px;
  align-items: end;
}
.section-head.compact h2 {
  font-size: 1.45rem;
}
.feature-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.feature-actions button {
  border: 1px solid #26445e;
  background: #081522;
  color: #a9c8e3;
  border-radius: 8px;
  padding: 7px 9px;
  cursor: pointer;
}
.feature-category {
  padding: 0;
  overflow: hidden;
}
.feature-category summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  color: #eaf5ff;
  font-weight: 800;
  list-style: none;
}
.feature-category summary::-webkit-details-marker {
  display: none;
}
.feature-category summary:after {
  content: "⌄";
  color: #6da8d7;
}
.feature-category[open] summary:after {
  transform: rotate(180deg);
}
.feature-category summary small {
  margin-left: auto;
  color: #7390a7;
  border: 1px solid #284058;
  border-radius: 999px;
  padding: 2px 7px;
}
.feature-category ul {
  padding: 0 34px 16px;
  margin: 0;
}
.feature-category:not([open]) ul {
  display: none;
}
@media (max-width: 950px) {
  .product-showcase.v5 {
    grid-template-columns: 1fr;
  }
  .product-info-sticky {
    position: static;
    order: 1;
  }
  .product-media-column {
    order: 2;
  }
  .section-title-row {
    margin-top: 4px;
  }
  .feature-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .media-count {
    white-space: normal;
  }
  .product-quick-nav {
    position: sticky;
    top: 58px;
    z-index: 8;
    background: rgba(7, 17, 28, 0.94);
    padding: 8px;
    border: 1px solid #1f3549;
    border-radius: 10px;
    backdrop-filter: blur(10px);
  }
  .feature-category-grid {
    grid-template-columns: 1fr;
  }
  .feature-actions {
    width: 100%;
  }
  .video-click-label {
    font-size: 0.72rem !important;
  }
  .media-stage-image .media-action-hint {
    display: none;
  }
}

/* V6 - independent feature cards + content issue report */
.feature-category-grid {
  align-items: start;
}
.feature-category {
  align-self: start;
  overflow: hidden;
}
.feature-category summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}
.feature-category summary::-webkit-details-marker {
  display: none;
}
.feature-category summary small {
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #12263a;
  color: #9fc7e8;
  font-size: 0.72rem;
}
.feature-category[open] summary {
  margin-bottom: 12px;
}
.report-issue-btn {
  width: 100%;
  margin-top: 18px;
  border: 1px solid #365067;
  background: #09131e;
  color: #a9bdd0;
  border-radius: 11px;
  padding: 11px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}
.report-issue-btn:hover {
  border-color: #6295bd;
  color: #e4f3ff;
  background: #0d1b29;
}
.report-modal[hidden] {
  display: none !important;
}
.report-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 5, 10, 0.78);
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}
.report-dialog {
  position: relative;
  width: min(620px, 100%);
  border: 1px solid #26445e;
  border-radius: 18px;
  background: #09131f;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
  padding: 25px;
}
.report-dialog h2 {
  margin: 7px 0 8px;
}
.report-dialog > p {
  color: #93aabd;
  margin: 0 0 20px;
  line-height: 1.6;
}
.report-close {
  position: absolute;
  right: 15px;
  top: 13px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 9px;
  background: #101f2d;
  color: #c8d9e8;
  font-size: 1.5rem;
  cursor: pointer;
}
.report-field {
  display: grid;
  gap: 8px;
  margin-top: 15px;
  color: #bcd1e2;
  font-weight: 700;
  font-size: 0.86rem;
}
.report-field select,
.report-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #28465f;
  border-radius: 10px;
  background: #07111b;
  color: #e9f4fd;
  padding: 11px 12px;
  font: inherit;
  outline: none;
}
.report-field textarea {
  resize: vertical;
  min-height: 110px;
}
.report-field select:focus,
.report-field textarea:focus {
  border-color: #5ba9e8;
  box-shadow: 0 0 0 3px rgba(91, 169, 232, 0.12);
}
.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}
.report-actions button {
  border-radius: 10px;
  padding: 10px 15px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.report-cancel {
  border: 1px solid #31475b;
  background: #0d1823;
  color: #bdcfde;
}
.report-submit {
  border: 1px solid #2c8bea;
  background: #1474c9;
  color: #fff;
}
.report-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}
.report-message {
  display: none;
  margin-top: 13px;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 0.86rem;
}
.report-message.show {
  display: block;
  background: #102131;
  color: #bed4e6;
}
.report-message.ok {
  background: rgba(37, 153, 104, 0.12);
  border: 1px solid rgba(68, 194, 137, 0.35);
  color: #9fe2c2;
}
.report-message.bad {
  background: rgba(203, 66, 66, 0.12);
  border: 1px solid rgba(224, 85, 85, 0.35);
  color: #ffb1b1;
}
body.report-open {
  overflow: hidden;
}
.store-meta {
  margin-top: 18px;
}
@media (max-width: 600px) {
  .report-dialog {
    padding: 20px 16px;
  }
  .report-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .report-actions button {
    width: 100%;
  }
}

/* V6 Store */
.store-hero {
  border: 1px solid #1e3852;
  border-radius: 22px;
  background: radial-gradient(
    circle at 80% 20%,
    #123658 0,
    #091522 46%,
    #070f19 100%
  );
  padding: 38px;
  margin-bottom: 22px;
  min-height: 210px;
  display: flex;
  align-items: end;
}
.store-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  margin: 8px 0 12px;
}
.store-hero p {
  max-width: 760px;
  margin: 0;
  color: #a9bfd3;
}
.store-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}
.store-category {
  position: relative;
  text-align: left;
  border: 1px solid #1d3850;
  background: #0a1420;
  color: #dceafa;
  border-radius: 16px;
  padding: 18px;
  cursor: pointer;
  min-height: 165px;
  transition: 0.18s;
}
.store-category:hover,
.store-category.active {
  border-color: #4d9fe6;
  background: #0d2032;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}
.store-category-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid #315a7c;
  border-radius: 10px;
  background: #0b1b29;
  color: #6cbdff;
  margin-bottom: 12px;
}
.store-category strong {
  display: block;
  font-size: 1.02rem;
}
.store-category small {
  display: block;
  color: #8fa9bf;
  margin-top: 5px;
  line-height: 1.45;
}
.store-category em {
  position: absolute;
  right: 14px;
  top: 14px;
  border: 1px solid #2c5473;
  background: #081522;
  color: #85c8ff;
  border-radius: 999px;
  padding: 3px 8px;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
}
.store-list {
  margin-top: 34px;
}
.store-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.store-product-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #0c1725, #08111b);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: 0.2s;
}
.store-product-card[hidden],
.store-product-card.is-filtered {
  display: none !important;
}
.store-product-card:hover {
  transform: translateY(-3px);
  border-color: #4385bd;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.store-product-cover {
  aspect-ratio: 16/9;
  background: #07111b;
  overflow: hidden;
}
.store-product-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.store-product-body {
  padding: 17px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.store-type-badge {
  align-self: flex-start;
  border: 1px solid #2a5a7e;
  background: #071a29;
  color: #8bcfff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 850;
}
.store-product-body h3 {
  margin: 10px 0 5px;
}
.store-product-body p {
  color: #8fa6ba;
  font-size: 0.88rem;
  margin: 0;
}
.store-meta-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.store-meta-chips span {
  border: 1px solid #273f54;
  border-radius: 7px;
  background: #09131e;
  color: #a9bfd0;
  padding: 3px 7px;
  font-size: 0.68rem;
}
.store-view {
  margin-top: auto;
  padding-top: 16px;
  color: #6ab8ff;
  font-size: 0.82rem;
}
.store-product-summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .store-category-grid,
  .store-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .store-category-grid,
  .store-product-grid {
    grid-template-columns: 1fr;
  }
  .store-hero {
    padding: 26px 20px;
    min-height: 180px;
  }
}
.store-category-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.guest-store-card {
  cursor: default;
}
.guest-store-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}
.guest-card-note {
  margin-top: auto;
  padding-top: 16px;
  color: #728ba1;
}
.store-status-available {
  border-color: #24845b !important;
  color: #68e5ad !important;
}
.store-status-out_of_stock {
  border-color: #8e5e27 !important;
  color: #ffbc73 !important;
}
.store-status-preorder {
  border-color: #376fa9 !important;
  color: #80c1ff !important;
}
.store-status-unavailable {
  border-color: #606b75 !important;
  color: #b7c0c9 !important;
}
.store-status-contact {
  border-color: #8064ad !important;
  color: #d2adff !important;
}
.store-detail .product-media-column {
  min-width: 0;
}
.store-description-view {
  font-size: 1rem;
  line-height: 1.9;
  margin-top: 22px;
}
.store-detail .status-tag {
  display: inline-flex;
  margin-top: 5px;
}
.store-category-controls {
  display: flex;
  margin: 16px 0 13px;
}
.store-all-products {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid #294a65;
  border-radius: 12px;
  background: #091522;
  color: #dceafa;
  padding: 10px 14px;
  cursor: pointer;
  min-width: 230px;
}
.store-all-products > span {
  grid-row: 1/3;
  color: #70bfff;
  font-size: 1.3rem;
}
.store-all-products strong {
  font-size: 0.9rem;
}
.store-all-products small {
  color: #7893a9;
  font-size: 0.7rem;
}
.store-all-products:hover,
.store-all-products.active {
  border-color: #4d9fe6;
  background: #10283d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* RC.2 - expanded feature masonry, category artwork and purchase CTA */
.feature-category-grid {
  display: block;
  columns: 3;
  column-gap: 14px;
}
.feature-category {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  break-inside: avoid-column;
  background: linear-gradient(155deg, #0a1826, #07121d);
  border-color: #23445f;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}
.feature-category summary {
  min-height: 58px;
  padding: 16px 17px;
}
.feature-category summary:after {
  transition: transform 0.18s ease;
}
.feature-category[open] summary {
  margin-bottom: 0;
  border-bottom: 1px solid #19374e;
}
.feature-category ul {
  list-style: none;
  padding: 14px 18px 17px;
  margin: 0;
}
.feature-category li {
  position: relative;
  padding-left: 15px;
  margin: 7px 0;
  line-height: 1.55;
}
.feature-category li:before {
  content: "›";
  position: absolute;
  left: 0;
  color: #55aff7;
  font-weight: 900;
}
.feature-actions button {
  min-width: 112px;
  font-weight: 750;
}
.purchase-cta {
  margin-top: 30px;
  border: 1px solid #285276;
  border-radius: 22px;
  padding: 30px;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(45, 125, 196, 0.28),
      transparent 40%
    ),
    linear-gradient(135deg, #0c2033, #08131f);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.purchase-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 7px 0 10px;
}
.purchase-cta p {
  max-width: 720px;
  color: #b6cadb;
  margin: 0;
}
.purchase-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}
.purchase-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
}
.store-category.has-cover {
  overflow: hidden;
  isolation: isolate;
}
.store-category.has-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  z-index: -2;
}
.store-category.has-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 12, 20, 0.95),
    rgba(4, 12, 20, 0.58)
  );
  z-index: -1;
}
.store-category > span {
  position: relative;
  display: block;
  padding-right: 18px;
}
.store-category.has-cover strong,
.store-category.has-cover small {
  color: #fff;
  text-shadow: 0 2px 8px #000;
}
.store-media-placeholder {
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, #0a1e30, #07121d);
}
.store-media-placeholder small {
  display: block;
  color: #8ea9bf;
  overflow-wrap: anywhere;
}
@media (max-width: 950px) {
  .feature-category-grid {
    columns: 2;
  }
  .purchase-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .purchase-actions {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .feature-category-grid {
    columns: 1;
  }
  .purchase-cta {
    padding: 23px 18px;
  }
  .purchase-actions {
    width: 100%;
  }
  .purchase-actions .btn {
    flex: 1 1 150px;
  }
}

/* RC.3 - wide three-column details, search and clearer actions */
.shell {
  width: min(1680px, 92vw);
}
.product-showcase.detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(300px, 1fr) minmax(
      310px,
      0.78fr
    );
  gap: 22px;
  align-items: start;
}
.product-showcase.detail-grid.no-media {
  grid-template-columns: minmax(420px, 1.35fr) minmax(330px, 0.8fr);
}
.product-detail-column {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, #091724, #07111c);
  padding: 24px;
}
.product-detail-column > .feature-section-full {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}
.product-detail-column .section-head {
  margin-top: 0;
}
.product-detail-column h2,
.product-long-description h2 {
  margin: 6px 0 16px;
  font-size: 1.5rem;
}
.rich-description {
  color: #c4d7e7;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.product-long-description {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #081521;
  padding: 26px;
}
.decision-column {
  padding: 22px;
}
.decision-column h1 {
  font-size: clamp(2rem, 3.2vw, 3.1rem);
}
.decision-column .purchase-cta-compact {
  margin-top: 24px;
}
.purchase-cta-compact {
  display: block;
  padding: 20px;
  border-radius: 16px;
}
.purchase-cta-compact h2 {
  font-size: 1.55rem;
  margin: 6px 0 9px;
}
.purchase-cta-compact p {
  font-size: 0.9rem;
  line-height: 1.6;
}
.purchase-cta-compact .purchase-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: stretch;
}
.purchase-cta-compact .purchase-actions .btn {
  min-width: 0;
  width: 100%;
  min-height: 44px;
  border: 1px solid #3f83bb;
  background: #0b2740;
  color: #eaf7ff;
  font-weight: 850;
  border-radius: 10px;
}
.purchase-cta-compact .purchase-actions .btn.primary {
  background: #218ee5;
  border-color: #48adff;
  color: #fff;
}
.purchase-cta-compact .purchase-actions .btn.inquiry {
  grid-column: 1/-1;
  background: #17344b;
  border-color: #5eb7f8;
}
.feature-category-grid {
  columns: 2;
}
.feature-category summary small {
  display: none !important;
}
.store-search {
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #315878;
  border-radius: 14px;
  background: #081827;
  padding: 9px 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}
.store-search > span {
  color: #6ebcff;
  font-size: 1.35rem;
}
.store-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #eef8ff;
  font-size: 1rem;
  padding: 7px;
}
.store-search button {
  border: 1px solid #356587;
  border-radius: 8px;
  background: #0b2438;
  color: #aedafa;
  padding: 7px 11px;
  cursor: pointer;
}
.store-category strong {
  color: #eef8ff !important;
}
.store-category small {
  color: #9eb9cf !important;
}
.store-category {
  color: #eef8ff;
}
@media (max-width: 1250px) {
  .product-showcase.detail-grid {
    grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr);
  }
  .product-showcase.detail-grid .decision-column {
    grid-column: 1/-1;
    position: static;
  }
  .product-showcase.detail-grid.no-media .decision-column {
    grid-column: auto;
  }
  .feature-category-grid {
    columns: 2;
  }
}
@media (max-width: 820px) {
  .shop-shell,
  .product-shell {
    width: min(100% - 28px, 1680px);
  }
  .product-showcase.detail-grid,
  .product-showcase.detail-grid.no-media {
    grid-template-columns: 1fr;
  }
  .product-showcase.detail-grid .decision-column {
    grid-column: auto;
  }
  .product-media-column {
    order: 1;
  }
  .product-detail-column {
    order: 2;
  }
  .decision-column {
    order: 3;
  }
  .feature-category-grid {
    columns: 1;
  }
  .purchase-cta-compact .purchase-actions {
    grid-template-columns: 1fr;
  }
}

/* Store item details use a wider decision panel and a calmer two-column flow. */
.product-showcase.store-detail-grid,
.product-showcase.store-detail-grid.no-media {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 460px);
  gap: 28px;
}
.store-detail-grid .product-media-column {
  grid-column: 1;
  grid-row: 1;
}
.store-detail-grid .product-detail-column {
  grid-column: 1;
  grid-row: 2;
}
.store-detail-grid .decision-column {
  grid-column: 2;
  grid-row: 1 / span 2;
  position: sticky;
  top: 92px;
}
.store-detail-grid.no-media .product-detail-column {
  grid-row: 1;
}
.store-detail-grid.no-media .decision-column {
  grid-row: 1;
}
@media (max-width: 1050px) {
  .product-showcase.store-detail-grid,
  .product-showcase.store-detail-grid.no-media {
    grid-template-columns: 1fr;
  }
  .store-detail-grid .product-media-column {
    grid-column: 1;
    grid-row: auto;
    order: 1;
  }
  .store-detail-grid .decision-column {
    grid-column: 1;
    grid-row: auto;
    order: 2;
    position: static;
  }
  .store-detail-grid .product-detail-column {
    grid-column: 1;
    grid-row: auto;
    order: 3;
  }
}
.firmware-limited {
  max-width: 760px;
  margin: 0 auto;
}
.firmware-limited .notice {
  margin-top: 22px;
}

/* RC4: clearer category covers, unified eyebrows, custom action colors */
.store-category.has-cover > img {
  opacity: 0.86 !important;
  transition:
    opacity 0.2s,
    transform 0.25s;
}
.store-category.has-cover:after {
  background: linear-gradient(
    90deg,
    rgba(4, 12, 20, 0.58),
    rgba(4, 12, 20, 0.28) 62%,
    rgba(4, 12, 20, 0.16)
  ) !important;
}
.store-category.has-cover:hover > img,
.store-category.has-cover.active > img {
  opacity: 1 !important;
  transform: scale(1.018);
}
.store-category.has-cover strong,
.store-category.has-cover small {
  text-shadow:
    0 2px 8px #000,
    0 1px 2px #000;
}
.detail-eyebrow {
  display: block;
  color: #58aaff;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.12em;
  font-weight: 900;
  margin: 0 0 11px;
  overflow-wrap: anywhere;
}
.section-title-row .detail-eyebrow {
  margin-bottom: 0;
}
.feature-section-full .section-head.compact {
  align-items: center;
  margin-top: 0;
}
.info-block > .detail-eyebrow {
  margin-bottom: 10px;
}
.purchase-actions .btn.colored {
  --action-color: #257edb;
  background: color-mix(in srgb, var(--action-color) 72%, #071522) !important;
  border-color: color-mix(in srgb, var(--action-color) 88%, #fff) !important;
  color: #fff !important;
}
.purchase-actions .btn.colored:hover {
  background: var(--action-color) !important;
  box-shadow: 0 8px 24px
    color-mix(in srgb, var(--action-color) 28%, transparent);
}
.store-pricing-box {
  border: 1px solid #176342;
  background: #071b13;
  border-radius: 12px;
  padding: 14px;
}
.store-pricing-box .price-row:first-child {
  padding-top: 4px;
}
.store-pricing-box .price-row:last-child {
  padding-bottom: 4px;
}
@media (max-width: 600px) {
  .detail-eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
}

/* RC5 feature explanations */
.feature-help-item {
  z-index: 1;
}
.feature-help-item:before {
  top: 0.72em;
}
.feature-help {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
  font: inherit;
  line-height: 1.55;
  cursor: help;
}
.feature-help > b {
  flex: 0 0 auto;
  color: #67b8f7;
  font-size: 0.78rem;
}
.feature-help-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 7px);
  z-index: 35;
  display: none;
  width: min(330px, calc(100vw - 54px));
  border: 1px solid #3b7197;
  border-radius: 10px;
  background: #0b2031;
  color: #e7f4fc;
  padding: 10px 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.6;
}
.feature-help:hover .feature-help-popover,
.feature-help:focus-visible .feature-help-popover,
.feature-help.is-open .feature-help-popover {
  display: block;
}
.feature-help:focus-visible {
  outline: 2px solid #58aaff;
  outline-offset: 4px;
  border-radius: 4px;
}
.feature-category[open] {
  overflow: visible;
}
@media (max-width: 600px) {
  .feature-help {
    cursor: pointer;
  }
  .feature-help-popover {
    position: fixed;
    left: 14px;
    right: 14px;
    top: auto;
    bottom: 18px;
    width: auto;
    font-size: 0.84rem;
  }
}

/* RC6: unified product detail, compact media rail, content tabs and crisp feature help */
.product-showcase.detail-grid.unified-detail-grid,
.product-showcase.store-detail-grid.unified-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
  gap: 28px;
  align-items: start;
}
.product-showcase.detail-grid.unified-detail-grid.no-media,
.product-showcase.store-detail-grid.unified-detail-grid.no-media {
  grid-template-columns: minmax(320px, 440px);
  justify-content: end;
}
.product-showcase.unified-detail-grid .product-media-column,
.product-showcase.store-detail-grid.unified-detail-grid .product-media-column {
  grid-column: auto;
  grid-row: auto;
  order: 1;
}
.product-showcase.unified-detail-grid .decision-column,
.product-showcase.store-detail-grid.unified-detail-grid .decision-column {
  grid-column: auto;
  grid-row: auto;
  order: 2;
  position: sticky;
  top: 84px;
}
.detail-content-area {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, #091724, #07111c);
  padding: 26px;
  min-width: 0;
}
.detail-content-area .feature-section-full {
  margin: 0;
  border: 0;
  padding: 0;
}
.detail-content-area .section-head.compact {
  margin-top: 0;
}
.detail-description-panel .detail-eyebrow {
  margin-bottom: 16px;
}
.detail-content-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1d3b52;
}
.detail-content-tabs button {
  min-width: 150px;
  border: 1px solid #31536f;
  border-radius: 11px;
  background: #081521;
  color: #9fb9cf;
  padding: 11px 18px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: 0.18s;
}
.detail-content-tabs button:hover {
  border-color: #58aaff;
  color: #e9f6ff;
}
.detail-content-tabs button.active {
  border-color: #58aaff;
  background: #123858;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(88, 170, 255, 0.11);
}
.detail-content-area [role="tabpanel"][hidden] {
  display: none !important;
}
.detail-content-area .feature-category-grid {
  display: grid;
  columns: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.detail-content-area .feature-category {
  display: block;
  width: auto;
  margin: 0;
  break-inside: auto;
}
.media-carousel {
  position: relative;
  margin-top: 10px;
  padding: 0 2px;
}
.media-carousel .media-switcher {
  display: flex;
  grid-template-columns: none;
  gap: 8px;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #315a78 transparent;
  padding: 2px 0 7px;
}
.media-carousel .media-switch {
  flex: 0 0 112px;
  width: 112px;
  aspect-ratio: 16/9;
  scroll-snap-align: start;
}
.media-rail-btn {
  position: absolute;
  z-index: 8;
  top: 50%;
  transform: translateY(-55%);
  width: 36px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #4d83a8;
  border-radius: 9px;
  background: rgba(5, 18, 29, 0.94);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.36);
}
.media-rail-btn[hidden] {
  display: none !important;
}
.media-rail-btn.prev {
  left: 5px;
}
.media-rail-btn.next {
  right: 5px;
}
.media-rail-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-category li {
  padding-left: 0;
}
.feature-category li:before {
  display: none !important;
}
.feature-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 20px;
  align-items: start;
  column-gap: 7px;
  width: 100%;
  min-width: 0;
}
.feature-arrow {
  color: #62b9ff;
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1.45;
  text-align: center;
}
.feature-label {
  min-width: 0;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.feature-help {
  display: block;
  width: 100%;
  max-width: none;
}
.feature-help .feature-row {
  pointer-events: none;
}
.feature-info-icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  fill: #0a263b;
  stroke: #67c1ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 3px rgba(71, 178, 255, 0.22));
}
.feature-help-popover {
  left: 19px;
  top: calc(100% + 7px);
}
@media (max-width: 1180px) {
  .product-showcase.detail-grid.unified-detail-grid,
  .product-showcase.store-detail-grid.unified-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  }
  .detail-content-area .feature-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .product-showcase.detail-grid.unified-detail-grid,
  .product-showcase.detail-grid.unified-detail-grid.no-media,
  .product-showcase.store-detail-grid.unified-detail-grid,
  .product-showcase.store-detail-grid.unified-detail-grid.no-media {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
  .product-showcase.unified-detail-grid .decision-column,
  .product-showcase.store-detail-grid.unified-detail-grid .decision-column {
    position: static;
  }
  .detail-content-area {
    padding: 21px;
  }
  .detail-content-tabs button {
    flex: 1;
    min-width: 0;
  }
}
@media (max-width: 600px) {
  .detail-content-area {
    padding: 18px 14px;
  }
  .detail-content-area .feature-category-grid {
    grid-template-columns: 1fr;
  }
  .media-carousel .media-switch {
    flex-basis: 96px;
    width: 96px;
  }
  .media-rail-btn {
    width: 32px;
    height: 42px;
  }
  .feature-row {
    grid-template-columns: 11px minmax(0, 1fr) 20px;
  }
  .feature-help-popover {
    left: 14px;
  }
}

/* RC7: content follows the media height instead of the taller decision sidebar */
.product-showcase.detail-grid.unified-detail-grid.no-media,
.product-showcase.store-detail-grid.unified-detail-grid.no-media {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
  justify-content: stretch;
}
.product-showcase.unified-detail-grid .product-primary-column,
.product-showcase.store-detail-grid.unified-detail-grid
  .product-primary-column {
  grid-column: 1;
  grid-row: 1;
  order: 1;
  min-width: 0;
}
.product-showcase.unified-detail-grid .decision-column,
.product-showcase.store-detail-grid.unified-detail-grid .decision-column {
  grid-column: 2;
  grid-row: 1;
  order: 2;
}
.product-primary-column > .detail-content-area {
  margin-top: 28px;
}
.product-primary-column > .detail-content-area:first-child {
  margin-top: 0;
}
@media (max-width: 1180px) {
  .product-showcase.detail-grid.unified-detail-grid.no-media,
  .product-showcase.store-detail-grid.unified-detail-grid.no-media {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 400px);
  }
}
@media (max-width: 860px) {
  .product-showcase.detail-grid.unified-detail-grid.no-media,
  .product-showcase.store-detail-grid.unified-detail-grid.no-media {
    grid-template-columns: 1fr;
  }
  .product-showcase.unified-detail-grid .product-primary-column,
  .product-showcase.store-detail-grid.unified-detail-grid
    .product-primary-column {
    display: contents;
  }
  .product-showcase.unified-detail-grid .product-media-column,
  .product-showcase.store-detail-grid.unified-detail-grid .product-media-column,
  .product-showcase.unified-detail-grid .decision-column,
  .product-showcase.store-detail-grid.unified-detail-grid .decision-column,
  .product-showcase.unified-detail-grid .detail-content-area,
  .product-showcase.store-detail-grid.unified-detail-grid .detail-content-area {
    grid-column: 1;
    grid-row: auto;
  }
  .product-showcase.unified-detail-grid .product-media-column,
  .product-showcase.store-detail-grid.unified-detail-grid
    .product-media-column {
    order: 1;
  }
  .product-showcase.unified-detail-grid .decision-column,
  .product-showcase.store-detail-grid.unified-detail-grid .decision-column {
    order: 2;
  }
  .product-showcase.unified-detail-grid .detail-content-area,
  .product-showcase.store-detail-grid.unified-detail-grid .detail-content-area {
    order: 3;
    margin-top: 0;
  }
}

/* RC7: preserve shared navigation links on narrow Store and Dashboard headers */
@media (max-width: 600px) {
  .topbar {
    min-height: 62px;
    height: auto;
    gap: 10px;
    padding: 8px 3vw;
  }
  .topbar .brand {
    flex: 0 1 auto;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.2;
  }
  .topbar [data-bw-nav] {
    min-width: 0;
    max-width: 68vw;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .topbar [data-bw-nav]::-webkit-scrollbar {
    display: none;
  }
  .topbar .nav-actions > a,
  .topbar [data-bw-nav] > a {
    display: inline-flex !important;
    flex: 0 0 auto;
  }
}
/* RC9 administrator shortcuts and grouped feature options */
.admin-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-edit-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2d8ed7;
  background: #0c3553;
  color: #dff2ff !important;
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.admin-edit-product:hover {
  background: #124c75;
  border-color: #58b6ff;
}
.feature-option-group {
  list-style: none !important;
  padding: 12px !important;
  margin: 8px 0 !important;
  border: 1px solid #244c68;
  border-radius: 10px;
  background: #061827;
}
.feature-option-group > strong {
  display: block;
  color: #d9efff;
  margin-bottom: 9px;
}
.feature-option-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.feature-option-tags span {
  display: inline-flex;
  border: 1px solid #36546a;
  border-radius: 999px;
  background: #102333;
  color: #dce9f2;
  padding: 5px 10px;
  font-size: 0.86rem;
  font-weight: 800;
}
.feature-option-tags .rarity-common {
  border-color: #6c7c88;
  background: #1c2932;
}
.feature-option-tags .rarity-uncommon {
  border-color: #52a867;
  background: #12361e;
  color: #baf1c5;
}
.feature-option-tags .rarity-rare {
  border-color: #378ee0;
  background: #102d4d;
  color: #bfe0ff;
}
.feature-option-tags .rarity-purple {
  border-color: #9863e8;
  background: #2b1647;
  color: #e2caff;
}
.feature-option-tags .rarity-gold {
  border-color: #d6aa2f;
  background: #40320b;
  color: #ffe78d;
}
.feature-option-tags .rarity-red {
  border-color: #e44f5b;
  background: #48151a;
  color: #ffc9cd;
}
@media (max-width: 720px) {
  .admin-detail-head {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-edit-product {
    width: 100%;
  }
}

/* RC9 game-page actions, independent banners and in-flow expandable content */
.game-hero img {
  opacity: 1;
  object-position: center center;
}
.game-hero.banner-position-left img {
  object-position: left center;
}
.game-hero.banner-position-center img {
  object-position: center center;
}
.game-hero.banner-position-right img {
  object-position: right center;
}
.game-hero:after,
.game-hero.banner-overlay-standard:after {
  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 15, 0.78),
      rgba(5, 9, 15, 0.36) 52%,
      rgba(5, 9, 15, 0.16)
    ),
    linear-gradient(0deg, rgba(5, 9, 15, 0.6), transparent 72%);
}
.game-hero.banner-overlay-light:after {
  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 15, 0.66),
      rgba(5, 9, 15, 0.22) 52%,
      rgba(5, 9, 15, 0.08)
    ),
    linear-gradient(0deg, rgba(5, 9, 15, 0.45), transparent 72%);
}
.game-hero.banner-overlay-dark:after {
  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 15, 0.88),
      rgba(5, 9, 15, 0.52) 52%,
      rgba(5, 9, 15, 0.28)
    ),
    linear-gradient(0deg, rgba(5, 9, 15, 0.72), transparent 72%);
}

.product-card-body .product-game-name {
  color: #9eb4c9;
  font-size: 0.9rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.game-product-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-add-product {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2d8ed7;
  background: #0c3553;
  color: #dff2ff;
  border-radius: 9px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}
.admin-add-product:hover {
  background: #124c75;
  border-color: #58b6ff;
}

.feature-help-item {
  z-index: auto;
}
.feature-help {
  cursor: pointer;
}
.feature-help-popover {
  position: static;
  inset: auto;
  z-index: auto;
  display: none;
  width: 100%;
  margin: 8px 0 2px;
  border: 1px solid #3b7197;
  border-radius: 10px;
  background: #0b2031;
  color: #e7f4fc;
  padding: 10px 12px;
  box-shadow: none;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.6;
  white-space: normal;
  overflow-wrap: anywhere;
}
.feature-help:hover .feature-help-popover,
.feature-help:focus-visible .feature-help-popover,
.feature-help.is-open .feature-help-popover {
  display: block;
}
.feature-category:has(.feature-help.is-open)
  .feature-help:not(.is-open):hover
  .feature-help-popover,
.feature-category:has(.feature-help.is-open)
  .feature-help:not(.is-open):focus-visible
  .feature-help-popover {
  display: none;
}
.feature-category[open] {
  overflow: hidden;
}

.product-notice-message {
  display: block;
  min-width: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.product-notice-message.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}
.notice-expand-toggle {
  justify-self: start;
  border: 0;
  background: transparent;
  color: currentColor;
  padding: 4px 0 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.notice-expand-toggle:hover {
  color: #fff;
}
.notice-expand-toggle[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  .game-products-heading {
    align-items: stretch;
    flex-direction: column;
  }
  .game-product-head-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
  .game-product-head-actions .badge {
    align-self: flex-start;
  }
  .admin-add-product {
    width: 100%;
    min-height: 44px;
  }
}
/* RC10 structured rich content and feature details */
.rich-content-toc {
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(66, 130, 178, 0.55);
  border-radius: 12px;
  background: rgba(4, 18, 30, 0.72);
}
.rich-content-toc strong {
  color: #fff;
}
.rich-content-toc ol {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-left: 22px;
}
.rich-content-toc .toc-h3 {
  margin-left: 18px;
}
.rich-content-toc a {
  color: #8fd1ff;
}
.rich-content-body {
  color: #dbeeff;
  line-height: 1.78;
  overflow-wrap: anywhere;
}
.rich-content-body h2,
.rich-content-body h3 {
  scroll-margin-top: 100px;
  color: #fff;
  line-height: 1.28;
}
.rich-content-body h2 {
  margin: 1.65em 0 0.65em;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}
.rich-content-body h3 {
  margin: 1.35em 0 0.55em;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
}
.rich-content-body [data-align="center"] {
  text-align: center;
}
.rich-content-body a {
  color: #74c6ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rich-content-body aside {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 4px solid #38a5ff;
  border-radius: 10px;
  background: rgba(37, 126, 219, 0.14);
}
.rich-content-body aside > :first-child {
  margin-top: 0;
}
.rich-content-body aside > :last-child {
  margin-bottom: 0;
}
.rich-content-body aside[data-callout="advantage"] {
  border-color: #2fd38a;
  background: rgba(47, 211, 138, 0.12);
}
.rich-content-body aside[data-callout="notice"],
.rich-content-body aside[data-callout="steps"] {
  border-color: #f0bf3e;
  background: rgba(240, 191, 62, 0.12);
}
.rich-content-body aside[data-callout="critical"] {
  border-color: #ff5964;
  background: rgba(255, 89, 100, 0.13);
}
.rich-content-body aside[data-callout="compatibility"] {
  border-color: #9d7bff;
  background: rgba(157, 123, 255, 0.13);
}
.rich-content-body figure {
  margin: 24px 0;
}
.rich-content-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.rich-content-body figcaption {
  margin-top: 8px;
  color: #8fb2d1;
  text-align: center;
  font-size: 0.9rem;
}
.rich-content-body table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 20px 0;
}
.rich-content-body th,
.rich-content-body td {
  min-width: 150px;
  padding: 10px 13px;
  border: 1px solid #2a4a65;
}
.rich-content-body th {
  background: #0b2032;
  color: #fff;
}
.feature-help-popover > span {
  display: block;
}
.feature-detail-tags {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.feature-detail-tags b {
  padding: 4px 8px;
  border: 1px solid rgba(100, 181, 239, 0.55);
  border-radius: 999px;
  background: rgba(37, 126, 219, 0.14);
  color: #dff3ff;
  font-size: 0.82rem;
}
.product-notice.notice-before_purchase {
  border-color: #f0bf3e;
}
.product-notice.notice-compatibility {
  border-color: #9d7bff;
}
.product-notice.notice-delivery {
  border-color: #2fd38a;
}

@media (max-width: 640px) {
  .rich-content-toc {
    padding: 13px 14px;
  }
  .rich-content-body aside {
    padding: 13px 14px;
  }
}

/* Final RC11 theme overrides follow every legacy feature-card rule. */
.feature-category > summary {
  border-left: 4px solid var(--feature-accent);
  background: linear-gradient(90deg, var(--feature-soft), rgba(4, 18, 29, 0.2));
}
.feature-category[open] > summary {
  color: #f4fbff;
  border-color: var(--feature-accent);
}
