body.public-redesign.android-page { background: #080a0f; }
.public-redesign.android-page::before {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(800px, 72vw, 1040px);
  background:
    radial-gradient(ellipse at 26% 20%, #283b8066, #2432653b 34%, transparent 70%),
    radial-gradient(ellipse at 74% 55%, #5236725c, #33255832 37%, transparent 72%);
  mask-image: linear-gradient(to bottom, #000 38%, #000b 70%, transparent 100%);
}
html[dir="rtl"] .public-redesign.android-page::before { transform: scaleX(-1); }
.public-redesign.android-page::after { content: none; }

.sx-android {
  --ad-text: #f4f5ff;
  --ad-muted: #acb4c9;
  --ad-blue: #9ab7ff;
  --ad-violet: #c7a6fa;
  --ad-line: #282e42;
  color: var(--ad-text);
}

.ad-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.ad-section { margin-block-start: clamp(76px, 11vw, 144px); scroll-margin-top: 24px; }
.sx-android :is(h1, h2, h3, p, figure) { margin: 0; }
.sx-android :is(h1, h2, h3) { text-wrap: balance; }
.sx-android p:not(.ad-kicker, .ad-demo-status) { color: var(--ad-muted); }
.sx-android :is(a, button, [tabindex]):focus-visible { outline: 2px solid #a9bfff; outline-offset: 4px; }
.sx-android button { font: inherit; }

.ad-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  min-height: clamp(590px, 53vw, 710px);
  isolation: isolate;
  padding: 36px 0 0;
}
.ad-hero-copy { z-index: 1; padding-inline-start: clamp(0px, 2vw, 26px); }
.ad-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ad-blue);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
}
.ad-signal {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #a0bfff;
  box-shadow: 0 0 0 4px #80a6ff22, 0 0 18px #80a6ff;
}
html[lang] body.public-redesign .sx-android h1 {
  margin-block: 19px 20px;
  font-size: clamp(3.2rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -.065em;
}
.sx-android h1 em { color: #b2bdff; font-style: normal; }
html[lang="fa"] body.public-redesign .sx-android h1 { font-size: clamp(3rem, 5.1vw, 4.55rem); line-height: 1.27; }
.ad-lede { max-width: 450px; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.85; }
.ad-hero-actions, .ad-demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ad-hero-actions { margin-block-start: 29px; }
.ad-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 750;
  font-size: .875rem;
  line-height: 1.4;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.ad-primary { background: #b0c2ff; color: #0d1531; }
.ad-primary:hover { background: #d3dcff; }
.ad-quiet { border-color: var(--ad-line); background: #131827a3; color: #e1e7fb; }
.ad-quiet:hover { border-color: #6474a0; background: #1d2844; }
.ad-glyph { display: inline-block; flex: none; }
.ad-glyph-play {
  width: 11px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
[data-playing="true"] .ad-glyph-play { clip-path: polygon(0 0, 34% 0, 34% 100%, 0 100%, 0 0, 66% 0, 100% 0, 100% 100%, 66% 100%, 66% 0); }
.ad-glyph-down { line-height: 1; font-size: 1rem; }

.ad-hero-art {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(480px, 47vw, 640px);
  direction: ltr;
}
.ad-hero-art::before {
  position: absolute;
  inset: 0;
  background:
    repeating-radial-gradient(circle at center, transparent 0 34px, #a4b2ff14 35px, transparent 36px 48px),
    linear-gradient(#a4b2ff0c 1px, transparent 1px) center / 29px 29px,
    linear-gradient(90deg, #a4b2ff0c 1px, transparent 1px) center / 29px 29px;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 72%);
  content: "";
  pointer-events: none;
}
.ad-phone {
  position: relative;
  z-index: 1;
  width: var(--ad-device-width, 235px);
  max-width: 100%;
  padding: 5px;
  direction: ltr;
  border: 1px solid #626e94;
  border-radius: 25px;
  background: linear-gradient(145deg, #252e47, #080a11 34%, #151b2c 85%);
  box-shadow: 0 20px 54px #03050dba, 0 0 32px #8395ff21, inset 0 0 0 1px #f0f0ff26;
}
.ad-phone img { display: block; width: 100%; height: auto; border-radius: 19px; background: #141822; }
.ad-hero-main { --ad-device-width: clamp(216px, 21vw, 282px); transform: translate(-13%, -1%) rotate(-7deg); }
.ad-hero-secondary {
  --ad-device-width: clamp(170px, 16vw, 224px);
  position: absolute;
  z-index: 0;
  transform: translate(57%, -2%) rotate(11deg);
  opacity: .71;
}
.ad-hero-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-block-start: -2px;
  border-block: 1px solid var(--ad-line);
}
.ad-hero-strip span {
  display: grid;
  place-items: center;
  min-height: 54px;
  padding: 8px;
  text-align: center;
  color: #c2cbe4;
  font-size: .82rem;
  font-weight: 650;
}
.ad-hero-strip span + span { border-inline-start: 1px solid var(--ad-line); }

html[lang] body.public-redesign .sx-android h2 {
  font-size: clamp(2rem, 4.15vw, 3.6rem);
  line-height: 1.17;
  letter-spacing: -.048em;
  font-weight: 800;
}
html[lang] body.public-redesign .sx-android h3 {
  font-size: clamp(1.35rem, 2.4vw, 2.08rem);
  line-height: 1.28;
  letter-spacing: -.026em;
  font-weight: 760;
}
html[lang="fa"] body.public-redesign .sx-android :is(h2, h3) { line-height: 1.35; }
.ad-section-intro { margin-block-end: 26px; }
.ad-section-intro .ad-kicker { margin-block-end: 10px; }
.ad-section-intro > p:last-child:not(.ad-kicker) { margin-block-start: 10px; }

.ad-workflow {
  overflow: clip;
  border: 1px solid var(--ad-line);
  border-radius: 17px;
  background: #101421;
}
.ad-workflow-controls {
  position: sticky;
  z-index: 3;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px 8px 0;
  gap: 4px;
  border-bottom: 1px solid var(--ad-line);
  background:
    repeating-linear-gradient(to right, transparent 0 19px, #4d56777a 20px, transparent 21px 28px) bottom / 100% 5px no-repeat,
    #141a29;
}
.ad-workflow-controls button {
  position: relative;
  min-width: 0;
  min-height: 51px;
  padding: 7px 6px 13px;
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: #aeb9d4;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 730;
  line-height: 1.35;
}
.ad-workflow-controls button:hover { color: #f3f4ff; background-color: #1c253c; }
.ad-workflow-controls button[aria-selected="true"] {
  border-color: #6578b1;
  border-bottom-color: #aec3ff;
  background: linear-gradient(0deg, #283759, #1c2640);
  color: #eef1ff;
}
.ad-workflow-controls button[aria-selected="true"]::after {
  position: absolute;
  z-index: 1;
  bottom: -1px;
  left: calc(50% - 5px);
  width: 10px;
  height: 7px;
  background: #aec3ff;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateY(100%);
  content: "";
}
.ad-workflow-controls button:focus-visible { outline-offset: -3px; }
.ad-workflow-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 472px;
  padding: clamp(24px, 6vw, 78px);
  padding-block: 20px;
  background:
    linear-gradient(0deg, #a1acf40c 1px, transparent 1px),
    radial-gradient(ellipse at center, #33407166, #111623 71%);
  background-size: 100% 26px, 100% 100%;
}
.ad-stage-copy { max-width: 405px; }
.ad-stage-copy p, .ad-library-copy > p:not(.ad-kicker) { margin-block-start: 12px; line-height: 1.8; }
.ad-stage-art { display: grid; place-items: center; }
.ad-stage-art .ad-phone { --ad-device-width: 206px; }
.ad-inline-link { display: inline-block; margin-block-start: 18px; color: var(--ad-blue); font-weight: 750; }
.ad-inline-link:hover { text-decoration: underline; }

.ad-demo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ad-demo {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(17px, 3vw, 30px);
  border: 1px solid var(--ad-line);
  border-radius: 15px;
  background: radial-gradient(ellipse at top left, #1e294a, #111523 65%);
}
.ad-mix { background: #111523; }
.ad-demo > p:not(.ad-demo-status) { margin-block: 8px 20px; font-size: .93rem; line-height: 1.75; }
.ad-spectrum {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: clamp(116px, 13vw, 155px);
  margin-block-start: auto;
  border: 1px solid #465378;
  border-radius: 9px;
  direction: ltr;
}
.ad-spectrum { background: #0a1022; }
.ad-spectrum img { display: block; width: 100%; height: 100%; }
.ad-playhead {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: 2px;
  background: #d7e4ff;
  box-shadow: 0 0 8px #afc6ff;
  opacity: 0;
  pointer-events: none;
}
[data-playing="true"] .ad-playhead { opacity: 1; }
.ad-demo-controls { justify-content: space-between; margin-block-start: 13px; }
.ad-segments {
  display: flex;
  padding: 3px;
  border: 1px solid #394466;
  border-radius: 9px;
  background: #0b1020;
}
.ad-segments button {
  min-height: 35px;
  padding: 4px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ad-muted);
  cursor: pointer;
  font-weight: 700;
  font-size: .81rem;
}
.ad-segments button[aria-pressed="true"] { background: #26365e; color: #edf1ff; }
.sx-android .ad-demo-play { border-color: #475581; background: #222d4b; color: #e3eaff; font-size: .82rem; cursor: pointer; }
.ad-demo-play:hover { background: #303f67; }
/* Liquid Glass styling adapted from Kokonut UI by Dorian Baffier (MIT). */
.ad-glass-stage {
  margin-block-start: auto;
  padding: 13px;
  border-radius: 16px;
  background:
    radial-gradient(ellipse at 9% 12%, #6a58ae9c, transparent 62%),
    radial-gradient(ellipse at 88% 87%, #3d65ad99, transparent 64%),
    #181a33;
}
.ad-glass-card {
  position: relative;
  isolation: isolate;
  padding: clamp(12px, 2.2vw, 22px);
  border: 1px solid #c5c8ff5e;
  border-radius: 20px;
  background: #12152bd1;
  box-shadow: 0 9px 24px #0a0c24a1, inset 1px 1px #edf1ff6b, inset -1px -1px #dbe0ff2b, inset 0 0 15px #ced5ff23;
}
@supports (backdrop-filter: blur(4px)) {
  .ad-glass-card { background: #13172c9c; backdrop-filter: blur(5px); }
}
.ad-glass-card::before {
  position: absolute;
  z-index: -1;
  inset: 3px;
  border-radius: 17px;
  background: linear-gradient(145deg, #c5caff24, transparent 40%, transparent 70%, #b3bfff20);
  backdrop-filter: url("#ad-glass-refraction") blur(3px);
  content: "";
  pointer-events: none;
}
.ad-glass-filter { position: absolute; pointer-events: none; }
.ad-record-row { display: flex; align-items: center; gap: clamp(12px, 2.7vw, 27px); }
.ad-turntable { position: relative; flex: 0 0 clamp(92px, 10vw, 142px); }
.ad-record {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #adb4d9a3;
  background:
    conic-gradient(from 14deg, #d1dcff22, transparent 22%, #c0c9ff25 45%, transparent 65%, #becdff2b 84%, #d1dcff22),
    repeating-radial-gradient(circle, #252942 0 1px, #151829 2px 3px);
  box-shadow: inset 0 0 0 3px #0b0d19, 0 9px 14px #080b1fb0;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.ad-record:active { cursor: grabbing; }
.ad-record > span {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: #151c40 url("/assets/android/film.webp") center / cover;
  box-shadow: 0 0 0 1px #a2abd6a1;
}
.ad-record > span::after {
  position: absolute;
  inset: 43%;
  border-radius: 50%;
  background: #050710;
  box-shadow: 0 0 0 1px #bbc9ff8a;
  content: "";
}
.ad-tonearm {
  position: absolute;
  top: -1%;
  right: -4%;
  height: 50%;
  width: 6px;
  border-radius: 9px;
  background: linear-gradient(to right, #929dbf, #e1e7fb 57%, #7b87a8);
  box-shadow: 1px 2px 5px #060817a6;
  transform-origin: center 4px;
  transform: rotate(20deg);
  transition: transform 230ms ease;
  pointer-events: none;
}
.ad-tonearm::before, .ad-tonearm::after { position: absolute; left: 50%; transform: translateX(-50%); content: ""; }
.ad-tonearm::before { top: 0; width: 13px; height: 13px; border: 2px solid #bbc5e9; border-radius: 50%; background: #53608b; }
.ad-tonearm::after { bottom: -2px; width: 9px; height: 12px; border-radius: 2px; background: #b9c2e4; }
.ad-mix[data-playing="true"] .ad-tonearm { transform: rotate(39deg); }
.ad-record-info { min-width: 0; }
.sx-android .ad-record-info .ad-record-title { color: #f3f2ff; font-size: clamp(1.05rem, 2.3vw, 1.55rem); font-weight: 790; line-height: 1.2; }
[dir="rtl"] .ad-record-title { text-align: right; }
.sx-android .ad-record-info .ad-record-caption { margin-block: 3px 11px; color: #c3cae6; font-size: .79rem; }
.sx-android .ad-record-play {
  min-height: 38px;
  padding: 6px 12px;
  border-color: #c5cfffaa;
  border-radius: 999px;
  background: #d1d8ff;
  color: #151c3a;
  font-size: .78rem;
  cursor: pointer;
}
.sx-android .ad-record-play:hover { background: #eef0ff; }
.ad-record-progress { margin-block: 13px 10px; }
.ad-record-progress input { display: block; width: 100%; min-height: 22px; margin: 0; accent-color: #d1d8ff; cursor: pointer; }
.ad-record-progress input:focus-visible { outline: 2px solid #a9bfff; outline-offset: 1px; border-radius: 4px; }
.ad-record-times {
  display: flex;
  justify-content: space-between;
  color: #d0d5ee;
  font-family: var(--sx-font-en);
  font-size: .73rem;
  font-variant-numeric: tabular-nums;
}
.ad-mix-layers { display: flex; flex-wrap: wrap; gap: 7px; }
.sx-android .ad-layer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 11px;
  border: 1px solid #b1baff61;
  border-radius: 999px;
  background: #a4a9ff25;
  color: #eeeaff;
  cursor: pointer;
  font-weight: 700;
  font-size: .78rem;
}
.ad-layer-light { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #c0a7ff; }
[data-track="effects"] .ad-layer-light { background: #7cdfc8; }
.sx-android .ad-layer[aria-pressed="false"] { border-color: #9fa6d333; background: #10142866; color: #bac0db; }
.ad-layer[aria-pressed="false"] .ad-layer-light { background: #8289a8; }
.ad-cleanup .ad-spectrum { height: clamp(155px, 19vw, 220px); }
@media (prefers-reduced-motion: reduce) {
  .ad-tonearm { transition: none; }
}
.ad-demo-status { color: #ffd0c3; font-size: .85rem; }
.sx-android .ad-demo-status { margin-block-start: 10px; }

.ad-library {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 6vw, 80px);
  padding: 34px clamp(24px, 6vw, 68px);
  border-block: 1px solid var(--ad-line);
  background: radial-gradient(ellipse at center, #26365659, transparent 70%);
}
.ad-library-art { display: grid; place-items: center; }
.ad-library-art .ad-phone { --ad-device-width: 204px; }
.ad-library-copy .ad-kicker { margin-block-end: 10px; }

.ad-release {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px 28px;
  margin-block: clamp(70px, 9vw, 110px) 60px;
  padding: clamp(20px, 4.5vw, 48px);
  border: 1px solid #35446b;
  border-radius: 16px;
  background: radial-gradient(ellipse at 80% 12%, #252f56, transparent 70%), #131a2e;
}
.ad-release-heading { display: flex; align-items: center; gap: 16px; min-width: 0; }
.ad-apk-mark {
  display: grid;
  flex: 0 0 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #6984c4;
  border-radius: 13px;
  background: #273b66;
  color: #d9e6ff;
  font: 750 .9rem/1 var(--sx-font-en);
}
.ad-release-heading > div { min-width: 0; }
.ad-release-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-block-start: 6px; }
html[lang] body.public-redesign .sx-android .ad-release h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.ad-release-version {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  max-inline-size: 100%;
  padding: 4px 11px;
  border: 1px solid #8099df80;
  border-radius: 8px;
  background: #253860;
  color: #d4e1ff;
  font-size: .78rem;
  font-weight: 700;
}
.ad-release-version bdi { min-inline-size: 0; overflow-wrap: anywhere; color: #f5f8ff; font: 750 1rem/1.5 var(--sx-font-en); }
.ad-release-action { grid-column: 2; grid-row: 1; display: grid; justify-items: center; gap: 8px; text-align: center; }
.ad-release-action p, .ad-release-notes { font-size: .8rem; }
.ad-release-notes { color: var(--ad-blue); }
.ad-release-notes:hover { text-decoration: underline; }
.sx-android .ad-download { font-size: .875rem; }
.sx-android .ad-download:disabled { border-color: #57648d; background: #263252; color: #c3cee9; }
.ad-release-specs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding-block-start: 19px;
  border-block-start: 1px solid #56658e75;
}
.ad-release-specs dt { color: var(--ad-muted); font-size: .82rem; }
.ad-release-specs dd { width: fit-content; margin: 4px 0 0; font-weight: 740; }
.ad-release-integrity { grid-column: 1 / -1; font-size: .82rem; }
.ad-release-integrity summary { width: fit-content; color: var(--ad-blue); cursor: pointer; }
.ad-release-integrity code { display: block; margin-block-start: 7px; overflow-wrap: anywhere; text-align: start; }

@media (max-width: 850px) {
  .ad-hero-copy { padding-inline-start: 0; }
  .ad-hero { min-height: 0; }
  .ad-hero-art { height: clamp(423px, 64vw, 490px); }
  .ad-hero-main { --ad-device-width: clamp(174px, 24vw, 214px); }
  .ad-hero-secondary { --ad-device-width: clamp(140px, 18vw, 164px); }
  html[lang] body.public-redesign .ad-hero h1 { font-size: clamp(2.7rem, 6.1vw, 4rem); }
  html[lang="fa"] body.public-redesign .ad-hero h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); }
}
@media (max-width: 680px) {
  .public-redesign.android-page::before {
    height: 1060px;
    background:
      radial-gradient(ellipse at 80% 13%, #283b8066, #2432653b 34%, transparent 70%),
      radial-gradient(ellipse at 18% 59%, #5236725c, #33255832 37%, transparent 72%);
  }
  html[dir="rtl"] .public-redesign.android-page::before { transform: none; }
  .ad-shell { width: calc(100% - 32px); }
  .ad-hero { grid-template-columns: 1fr; padding-block-start: 34px; }
  html[lang] body.public-redesign .ad-hero h1 { font-size: clamp(2.6rem, 9.6vw, 3.8rem); }
  html[lang="fa"] body.public-redesign .ad-hero h1 { font-size: clamp(2.5rem, 10vw, 3.65rem); }
  .ad-hero-art { height: clamp(388px, 93vw, 504px); }
  .ad-hero-main { --ad-device-width: clamp(158px, 45vw, 222px); }
  .ad-hero-secondary { --ad-device-width: clamp(122px, 34vw, 174px); }
  .ad-hero-actions { margin-block-start: 20px; }
  .ad-hero-actions .ad-button { padding-inline: 12px; }
  .ad-hero-strip span { min-height: 45px; font-size: .75rem; }
  .ad-workflow-panel, .ad-demo-grid, .ad-library { grid-template-columns: minmax(0, 1fr); }
  .ad-workflow-panel { gap: 20px; padding: 22px 17px; }
  .ad-workflow-controls { position: static; }
  .ad-workflow-controls button { min-height: 48px; font-size: .78rem; }
  .ad-stage-art .ad-phone { --ad-device-width: 208px; }
  .ad-library { padding: 24px 0; }
  .ad-library-copy { grid-row: 1; }
  .ad-release { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ad-release-action { grid-column: 1; grid-row: auto; justify-items: stretch; }
  .ad-release-heading { gap: 11px; }
  .ad-apk-mark { flex-basis: 44px; height: 44px; }
  .ad-release-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.android-page) { scroll-behavior: auto; }
  .ad-button { transition: none; }
}

.ad-features-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 20px;
  margin-block-end: 22px;
}
.ad-features-header a { color: var(--ad-blue); font-size: .875rem; font-weight: 700; }
.ad-features-header a:hover { text-decoration: underline; }

.ad-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.7vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ad-feature-card { min-inline-size: 0; }
.ad-feature-link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #314771;
  border-radius: 14px;
  background: #060c18;
  box-shadow: 0 8px 24px #02061180;
}
.ad-feature-image, .ad-feature-image img { display: block; width: 100%; }
.ad-feature-image { aspect-ratio: 2 / 1; }
.ad-feature-image img { height: 100%; object-fit: contain; }
.ad-feature-copy { padding: 12px clamp(10px, 2vw, 22px); }
.ad-feature-link:hover { border-color: #6ca9f7; }
.sx-android .ad-feature-link:focus-visible { outline-offset: -3px; }
#android-download { scroll-margin-top: 24px; }

html[lang] body.public-redesign .sx-android .ad-feature-copy h3 {
  font-size: clamp(.85rem, 2vw, 1.3rem);
  line-height: 1.26;
}
.sx-android .ad-feature-copy p { margin-block: 7px 12px; font-size: .88rem; }
.ad-feature-expand {
  position: absolute;
  inset-block-start: 7px;
  inset-inline-end: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #5f82b68f;
  border-radius: 7px;
  background: #07101fe8;
  color: #edf3ff;
}
.ad-feature-expand .sx-public-icon { width: 16px; height: 16px; }
.ad-feature-link:hover .ad-feature-expand { background: #164178; }

@media (max-width: 680px) {
  .ad-features-header { margin-block-end: 16px; }
  .ad-feature-copy { padding: 9px 10px 11px; }
  .ad-feature-copy p { display: none; }
}

body.android-page:has(.ad-feature-dialog[open]) { overflow: hidden; }
.ad-feature-dialog {
  width: min(1200px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: clamp(10px, 2vw, 20px);
  border: 1px solid #465c81;
  border-radius: 15px;
  background: #101827;
  color: var(--ad-text);
  overscroll-behavior: contain;
}
html[lang="en"] .ad-feature-dialog { width: min(900px, calc(100% - 24px)); }
.ad-feature-dialog::backdrop { background: #030711df; }
.ad-feature-dialog-head, .ad-feature-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.ad-feature-dialog-head { margin-block-end: 10px; }
.ad-feature-dialog-foot { flex-wrap: wrap; margin-block-start: 12px; }
.ad-feature-dialog img {
  display: block;
  width: 100%;
  max-height: 65dvh;
  object-fit: contain;
  border-radius: 8px;
}
.ad-feature-dialog .ad-feature-close {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #51678d;
  border-radius: 9px;
  background: #172540;
  color: #edf3ff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}
.ad-feature-dialog .ad-feature-close:hover { background: #243b62; }
