.hero-platform { width: 100%; min-width: 0; margin: 0; }
.platform-tabs.tab-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 16px;
  border-bottom: 1px solid #465348;
}
.platform-tabs.tab-list button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 52px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #c5cec2;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  transition: color 160ms, border-color 160ms;
}
.platform-tabs.tab-list button[aria-selected="true"] { color: #edf2e5; border-bottom-color: var(--signal); background: transparent; }
.platform-tabs.tab-list button:hover { color: #fff; border-bottom-color: #84957c; }
.platform-tabs.tab-list button:focus-visible { outline: 2px solid var(--signal); outline-offset: -3px; }
.platform-tabs .icon { width: 17px; height: 17px; flex-shrink: 0; }
.platform-stage { min-width: 0; }
.platform-screen {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid #708173;
  border-radius: 4px;
  background: #f8f8fa;
  box-shadow: 0 18px 40px -24px #000b;
  cursor: zoom-in;
}
.platform-screen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.platform-enlarge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #26372b;
  background: #f5f6f2;
  border: 1px solid #aab9a7;
  border-radius: 3px;
}
.platform-screen:hover .platform-enlarge { background: #dde6d3; }
.platform-view-title { margin: 12px 0 0; color: #edf2e5; font-size: 13px; font-weight: 600; line-height: 1.5; }
.hero-platform figcaption { margin-top: 2px; color: #bac4b9; font-size: 12px; line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .platform-view:not([hidden]) .platform-screen { animation: platform-view-enter 180ms ease-out; }
  @keyframes platform-view-enter { from { opacity: .7; } to { opacity: 1; } }
}
@media (max-width: 480px), (min-width: 761px) and (max-width: 1100px) {
  .platform-tabs.tab-list { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 12px; }
  .platform-tabs.tab-list button { grid-column: span 2; min-height: 44px; }
  .platform-tabs.tab-list button:nth-child(n + 4) { grid-column: span 3; }
}
@media (forced-colors: active) {
  .platform-tabs.tab-list button[aria-selected="true"] { border-bottom-color: Highlight; }
}
