@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700-vi.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Noto Sans Vietnamese";
  src: url("/assets/fonts/noto-sans-vi.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

:root {
  color-scheme: light;
  --paper: #f7e9e7;
  --plum: #281536;
  --muted: #654f63;
  --lilac: #dcd0fc;
  --light: #fff8f4;
  --rule: #cbbac5;
  --native-font: system-ui;
  --body-font: "DM Sans", "Noto Sans Vietnamese", var(--native-font), Helvetica, Arial, sans-serif;
  --display-font: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --gutter: clamp(32px, 6.111vw, 88px);
  --hero-image-width: 630px;
}

:root:lang(ja) {
  --native-font: "Hiragino Sans", "Yu Gothic", Meiryo, "Noto Sans CJK JP", system-ui;
}

:root:lang(ko) {
  --native-font: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", system-ui;
}

:root:lang(zh-Hans) {
  --native-font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui;
}

:root:lang(th) {
  --native-font: "Thonburi", "Leelawadee UI", "Noto Sans Thai", system-ui;
}

:root:lang(hi) {
  --native-font: "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari", system-ui;
}

:root:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(th), :lang(hi)) {
  --display-font: var(--native-font), sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--plum);
  font: 400 1rem/1.45 var(--body-font);
}

h1, h2, h3, p, figure {
  margin: 0;
}

h1, h2, h3 {
  font: 700 1em/1 var(--display-font);
}

h1 {
  font-size: clamp(52px, 6.39vw, 92px);
  line-height: .97;
  letter-spacing: -.015em;
}

h2 {
  font-size: clamp(48px, 4.45vw, 64px);
  letter-spacing: -.012em;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.shell {
  width: min(1264px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 5;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-150%);
  border-radius: 6px;
  background: var(--plum);
  color: var(--light);
}

.skip-link:focus {
  transform: none;
}

.site-header__inner {
  display: grid;
  grid-template-columns: .7fr 1fr auto auto;
  align-items: center;
  min-height: 81px;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  min-height: 44px;
  width: fit-content;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: clamp(20px, 3.2vw, 46px);
}

.site-nav a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-nav a {
  font-weight: 700;
}

.site-nav a:hover,
.site-footer a:hover,
.missing-page a:not(.brand):hover {
  text-underline-offset: .22em;
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  text-underline-offset: .22em;
  text-decoration: underline;
}

.language-switcher {
  position: relative;
  z-index: 3;
  margin-inline-start: clamp(7px, 1.3vw, 18px);
  font-size: 14px;
  font-weight: 700;
}

.language-switcher summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
}

.language-switcher summary::-webkit-details-marker {
  display: none;
}

.language-switcher summary::after {
  width: 6px;
  height: 6px;
  margin-top: -3px;
  transform: rotate(45deg);
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  content: "";
}

.language-switcher[open] summary::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

.language-switcher ul {
  position: absolute;
  inset: calc(100% + 4px) 0 auto auto;
  min-width: 171px;
  max-height: min(540px, 100dvh - 90px);
  width: max-content;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--light);
  box-shadow: 0 8px 22px rgb(40 21 54 / .14);
  list-style: none;
}

.language-switcher a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 10px;
  border-radius: 5px;
  text-decoration: none;
}

.language-switcher a:is(:hover, [aria-current="page"]) {
  background: var(--lilac);
}

.language-switcher a:focus-visible {
  outline-offset: -2px;
}

.play-badge {
  position: relative;
  display: inline-block;
  width: 152px;
  height: 46px;
  vertical-align: top;
}

/* Match the visible badge size while keeping Google's original padded asset. */
.play-badge img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 174px;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

html:not(:lang(en)) .play-badge img {
  width: 152px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(34px, 5.35vw, 77px);
  padding-block: 30px 39px;
}

.hero__copy {
  padding-bottom: 59px;
}

html:not(:lang(en)) .hero h1 {
  font-size: clamp(48px, 5.7vw, 82px);
  line-height: 1.04;
  overflow-wrap: break-word;
}

:root:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(th), :lang(hi)) .hero h1 {
  font-size: clamp(37px, 4.35vw, 62px);
  line-height: 1.16;
  letter-spacing: normal;
}

:root:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(th), :lang(hi)) .home-page h2 {
  font-size: clamp(37px, 3.75vw, 54px);
  line-height: 1.18;
}

.hero__copy p {
  max-width: 445px;
  margin-block: 24px 37px;
  color: var(--muted);
  font-size: clamp(18px, 1.53vw, 22px);
  line-height: 1.4;
}

.hero__figure {
  margin: 0;
}

.hero__figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.hero__preview {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  min-height: 44px;
  border-radius: 50%;
  cursor: zoom-in;
}

.hero__preview:is(:hover, :focus-visible) .preview-icon {
  background: var(--lilac);
  color: var(--plum);
}

.compare {
  --split: 47%;
  --handle-size: 46px;
  --handle-radius: calc(var(--handle-size) / 2);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 24px;
  background: var(--lilac);
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare__original {
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.compare__label {
  position: absolute;
  top: 20px;
  z-index: 1;
  padding: 7px 13px;
  border-radius: 5px;
  background: var(--plum);
  color: var(--light);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.compare__label--original {
  left: 20px;
}

.compare__label--cartoon {
  right: 20px;
}

.compare__line {
  position: absolute;
  inset-block: 0;
  left: var(--split);
  width: 2px;
  transform: translateX(-50%);
  background: var(--light);
  pointer-events: none;
}

.compare__handle {
  position: absolute;
  top: 50%;
  left: clamp(var(--handle-radius), var(--split), 100% - var(--handle-radius));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: var(--handle-size);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--light);
  color: var(--plum);
  pointer-events: none;
}

.chevron {
  width: .45em;
  height: .45em;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
}

.chevron--left {
  transform: rotate(135deg);
}

.chevron--right {
  transform: rotate(-45deg);
}

.compare__range {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
}

.compare__range:focus-visible ~ .compare__handle {
  outline: 3px solid var(--plum);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--light);
}

.styles,
.site-footer {
  background: var(--plum);
  color: var(--light);
}

.styles {
  padding-block: 43px 34px;
}

.styles__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.styles__header p {
  margin-top: 4px;
  color: var(--lilac);
  font-size: 18px;
}

.styles__swipe {
  display: none;
}

.styles__controls {
  display: flex;
  gap: 8px;
}

.styles__button {
  display: grid;
  place-items: center;
  width: 44px;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: transparent;
  color: var(--light);
  font: inherit;
  cursor: pointer;
}

.styles__button[aria-disabled="true"] {
  color: var(--lilac);
  opacity: .5;
  cursor: default;
}

.styles__button:not([aria-disabled="true"]):hover {
  border-color: var(--lilac);
  background: var(--lilac);
  color: var(--plum);
}

.styles__viewport {
  --card-width: 264px;
  --card-gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.styles__viewport[data-enhanced] {
  scrollbar-width: none;
}

.styles__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--card-width);
  gap: var(--card-gap);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.styles__track li {
  min-width: 0;
  scroll-snap-align: start;
}

.styles__track img {
  width: 100%;
  aspect-ratio: 264 / 244;
  height: auto;
  border-radius: 14px;
  background: var(--muted);
  object-fit: cover;
}

.style-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  cursor: zoom-in;
}

.style-link:focus-visible {
  outline-offset: -3px;
  outline-color: var(--light);
}

.preview-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(40 21 54 / .9);
  color: var(--light);
}

.style-link .preview-icon {
  position: absolute;
  right: 9px;
  bottom: 9px;
}

.preview-icon::before {
  width: 10px;
  aspect-ratio: 1;
  margin: 0 3px 3px 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}

.preview-icon::after {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 6px;
  height: 1.5px;
  transform: rotate(45deg);
  background: currentColor;
  content: "";
}

.styles__track h3[lang="en"] {
  font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .style-link img {
    transition: transform 200ms ease;
  }

  .style-link:hover img {
    transform: scale(1.035);
  }
}

.styles__track h3 {
  margin-top: 11px;
  font-size: 28px;
  line-height: 1.1;
}

.steps {
  padding-block: 55px 63px;
}

.steps__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.steps__list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 13px;
  padding-top: 19px;
  border-top: 1px solid var(--rule);
}

.steps__number {
  font: 700 42px/1 var(--display-font);
}

.steps h3 {
  font-size: 34px;
  line-height: 1.08;
}

.steps p {
  max-width: 39ch;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.4;
}

.download {
  padding-block: 54px;
  background: var(--lilac);
  text-align: center;
}

.download h2 {
  font-size: clamp(56px, 5.56vw, 80px);
}

.download p {
  margin-block: 15px 30px;
  color: var(--muted);
  font-size: 18px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding-right: 28px;
}

.site-footer a {
  font-weight: 700;
}

.site-footer a:last-child {
  font-size: 14px;
}

.missing-page {
  padding-block: 36px;
}

.missing-page h1 {
  margin-block: 65px 20px;
}

.editorial-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.editorial-page main {
  flex: 1;
}

.article-teasers {
  padding-block: 12px 64px;
}

.article-teasers__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.article-teasers__heading h2,
.article-related h2 {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-weight: 700;
  text-underline-offset: .22em;
}

.editorial-link:hover {
  text-decoration-thickness: 2px;
}

.editorial-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.editorial-list li {
  min-width: 0;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.editorial-list :is(h2, h3) {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.13;
  letter-spacing: normal;
  overflow-wrap: break-word;
}

.editorial-list a {
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
  text-decoration-color: var(--muted);
}

.editorial-list a:is(:hover, :focus-visible) {
  text-decoration-thickness: 2px;
  text-decoration-color: currentColor;
}

.editorial-list p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.articles-index,
.article-page {
  padding-block: clamp(32px, 6vw, 80px);
}

.articles-index h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.09;
}

.articles-index__intro {
  max-width: 57ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
}

.articles-index .editorial-list {
  margin-top: 42px;
}

.article-page {
  max-width: 760px;
}

.article h1 {
  font-size: clamp(43px, 6vw, 78px);
  line-height: 1.08;
  overflow-wrap: break-word;
}

.article__breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 23px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.article__breadcrumb li + li::before {
  margin-right: 10px;
  content: "/" / "";
}

.article__breadcrumb a,
.article__sources a {
  text-underline-offset: .18em;
}

.article__byline {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.article__byline time {
  white-space: nowrap;
}

.article__intro {
  margin-top: 24px;
  font-size: clamp(18px, 2.15vw, 22px);
  line-height: 1.55;
}

.article__body {
  margin-top: 35px;
}

.article__body section + section {
  margin-top: 37px;
}

.article__body h2,
.article-cta h2 {
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.15;
  letter-spacing: normal;
}

.article__body section > p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.article__sources {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 9px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.article__sources p {
  font-weight: 700;
}

.article__sources ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-cta {
  margin-top: 45px;
  padding: clamp(20px, 4.5vw, 32px);
  border-radius: 14px;
  background: var(--lilac);
}

.article-cta p {
  margin-top: 8px;
  color: var(--muted);
}

.article-cta a {
  margin-top: 5px;
}

.article-related {
  margin-top: 48px;
}

.article-related .editorial-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.privacy-theme {
  color-scheme: dark;
  --paper: #18171c;
  --plum: #f1edf4;
  --muted: #c2bbc7;
  --rule: #403946;
  --light: #24212b;
  --lilac: #dacbff;
  background: var(--paper);
}

.privacy-theme .language-switcher a:is(:hover, [aria-current="page"]) {
  background: #383044;
  color: var(--lilac);
}

.privacy-theme .site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  color: var(--muted);
}

.privacy-theme .site-footer a:last-child,
.privacy-copy a {
  color: var(--lilac);
  text-decoration: underline;
  text-underline-offset: .22em;
}

.privacy-theme :focus-visible {
  outline-color: var(--lilac);
}

.privacy-page {
  max-width: 880px;
  padding-block: clamp(36px, 5vw, 70px) clamp(52px, 7vw, 94px);
}

.privacy-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.privacy-heading h1,
.privacy-copy h2 {
  font-family: var(--body-font);
  color: var(--plum);
}

.privacy-heading h1 {
  font-size: clamp(31px, 4.3vw, 43px);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.privacy-updated {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.privacy-copy {
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.privacy-copy h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  line-height: 1.3;
  letter-spacing: -.016em;
}

.privacy-copy h2 span {
  color: var(--muted);
}

.privacy-copy section + section {
  margin-top: 30px;
}

.privacy-copy section[id] {
  scroll-margin-block-start: 24px;
}

.privacy-copy p {
  margin-top: 12px;
}

.privacy-copy strong {
  color: var(--plum);
}

.privacy-copy .privacy-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 12px;
  margin-top: 8px;
}

.privacy-links {
  margin: 12px 0 0;
  padding-inline-start: 22px;
}

.privacy-links li + li {
  margin-top: 6px;
}

html:has(.photo-viewer[open]) {
  overflow: hidden;
}

.photo-viewer {
  --viewer-inset: clamp(65px, 5.5vw, 90px);
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: max(8px, env(safe-area-inset-top)) var(--viewer-inset) max(8px, env(safe-area-inset-bottom));
  overflow: hidden;
  border: 0;
  background: transparent;
  color: var(--light);
}

.photo-viewer[open] {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 44px minmax(0, 1fr) 46px;
}

.photo-viewer::backdrop {
  background: rgb(35 17 44 / .96);
}

.photo-viewer__stage {
  grid-row: 2;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  container-type: size;
  touch-action: pan-y pinch-zoom;
}

.photo-viewer__frame {
  grid-area: 1 / 1;
  width: min(100cqw, calc(100cqh * var(--photo-ratio, 1)));
  height: auto;
  aspect-ratio: var(--photo-ratio, 1);
  object-fit: contain;
  user-select: none;
}

.photo-viewer__outgoing {
  pointer-events: none;
}

.photo-viewer__button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: var(--plum);
  color: var(--light);
  font: inherit;
  cursor: pointer;
}

.photo-viewer__button[aria-disabled="true"] {
  opacity: .48;
  cursor: default;
}

.photo-viewer__button:not([aria-disabled="true"]):hover {
  background: var(--lilac);
  color: var(--plum);
}

.photo-viewer__close {
  position: absolute;
  z-index: 1;
  inset-block-start: max(10px, env(safe-area-inset-top));
  inset-inline-end: max(12px, env(safe-area-inset-right));
}

.photo-viewer__cross {
  position: relative;
  width: 17px;
  height: 17px;
}

.photo-viewer__cross::before,
.photo-viewer__cross::after {
  position: absolute;
  inset: 8px 0 auto;
  height: 2px;
  transform: rotate(45deg);
  background: currentColor;
  content: "";
}

.photo-viewer__cross::after {
  transform: rotate(-45deg);
}

.photo-viewer__navigation {
  display: contents;
}

.photo-viewer__navigation .photo-viewer__button {
  position: absolute;
  inset-block-start: 50%;
  translate: 0 -50%;
}

.photo-viewer__navigation [data-previous] {
  inset-inline-start: 16px;
}

.photo-viewer__navigation [data-next] {
  inset-inline-end: 16px;
}

.photo-viewer__position {
  grid-row: 3;
  align-self: center;
  color: var(--lilac);
  text-align: center;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.photo-viewer__status {
  grid-area: 1 / 1;
  margin-inline: 12px;
  color: var(--lilac);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .photo-viewer[open]::backdrop {
    animation: photo-backdrop-in 180ms ease-out both;
  }
}

@keyframes photo-backdrop-in {
  from { background: rgb(35 17 44 / 0); }
}

@media (max-width: 839px) {
  :root {
    --gutter: 24px;
  }

  h1 {
    font-size: clamp(42px, 13.33vw, 52px);
    line-height: .99;
  }

  h2 {
    font-size: clamp(33px, 9.74vw, 38px);
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 74px;
  }

  .site-nav a {
    padding-inline: 5px;
    font-size: 14px;
  }

  .site-header__badge {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 33px;
    max-width: var(--hero-image-width);
    padding-block: 32px 14px;
  }

  .hero__copy {
    padding-bottom: 0;
  }

  html:not(:lang(en)) .hero h1 {
    font-size: clamp(34px, 11.8vw, 49px);
  }

  :root:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(th), :lang(hi)) .hero h1 {
    font-size: clamp(29px, 9.2vw, 42px);
  }

  :root:is(:lang(ja), :lang(ko), :lang(zh-Hans), :lang(th), :lang(hi)) .home-page h2 {
    font-size: clamp(27px, 8.2vw, 37px);
  }

  .hero__copy p {
    margin-block: 15px 23px;
    font-size: 17px;
    line-height: 1.48;
  }

  .hero__figure figcaption {
    margin-top: 2px;
    font-size: 12px;
  }

  .compare {
    --handle-size: 36px;
    border-radius: 16px;
  }

  .compare__label {
    top: 12px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .compare__label--original {
    left: 12px;
  }

  .compare__label--cartoon {
    right: 12px;
  }

  .styles {
    padding-block: 36px 43px;
  }

  .styles__header {
    margin-bottom: 19px;
  }

  .styles__header p {
    margin-top: 10px;
    font-size: 15px;
  }

  .styles__controls {
    display: none;
  }

  .styles__viewport {
    --card-width: 156px;
    --card-gap: 12px;
    margin-right: calc(-1 * var(--gutter));
  }

  .styles__track {
    padding-right: var(--gutter);
  }

  .styles__track img,
  .style-link {
    border-radius: 8px;
  }

  .styles__track h3 {
    margin-top: 7px;
    font-size: 18px;
  }

  .steps {
    padding-block: 37px 34px;
  }

  .steps__list {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 28px;
  }

  .steps__list li {
    grid-template-columns: 28px 1fr;
    gap: 13px;
    min-height: 78px;
    padding-top: 10px;
  }

  .steps__number {
    font-size: 34px;
  }

  .steps h3 {
    font-size: 27px;
  }

  .steps p {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.3;
  }

  .download {
    padding-block: 35px 43px;
  }

  .download h2 {
    max-width: 560px;
    margin-inline: auto;
    font-size: clamp(43px, 13.33vw, 52px);
    text-wrap: balance;
  }

  .download p {
    margin-block: 13px 38px;
    font-size: 15px;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 116px;
    padding: 10px 0 14px;
  }

  .site-footer a {
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .photo-viewer {
    --viewer-inset: max(8px, env(safe-area-inset-left), env(safe-area-inset-right));
  }

  .photo-viewer[open] {
    grid-template-rows: 44px minmax(0, 1fr) 50px;
  }

  .photo-viewer__navigation {
    grid-row: 3;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    justify-self: center;
    width: min(100%, 184px);
  }

  .photo-viewer__position {
    grid-row: auto;
  }

  .photo-viewer__navigation .photo-viewer__button {
    position: static;
    translate: none;
  }
}

@media (max-width: 650px) {
  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 50px 44px;
    min-height: 0;
  }

  .site-header .site-nav {
    grid-area: 2 / 1 / 3 / -1;
    justify-self: stretch;
    justify-content: space-between;
    gap: 3px;
  }

  .site-header .language-switcher {
    grid-area: 1 / 2;
  }

  .article-teasers {
    padding-block: 18px 39px;
  }

  .editorial-list,
  .article-related .editorial-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
    margin-top: 15px;
  }

  .articles-index .editorial-list {
    margin-top: 28px;
  }

  .article__sources {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }
}

@media (max-width: 375px) {
  .brand {
    gap: 7px;
    font-size: 18px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .site-nav a {
    font-size: 13px;
  }
}

@media (max-width: 839px) and (pointer: coarse) {
  .styles__scroll {
    display: none;
  }

  .styles__swipe {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .styles__viewport {
    scroll-behavior: auto;
  }
}
