/* A neutral gallery surface lets each film establish its own colour palette. */
:root {
  --ms-ink:#1b1a19;
  --ms-muted:#565450;
  --ms-accent:#702b43;
  --ms-paper:#ffffff;
  --ms-line:#e5e3de;
  --ms-gutter:clamp(20px,3.7vw,60px);
}
html:has(body:is([data-view=intro],[data-view=gallery],:not([data-view]))) { background:var(--ms-paper); }
body:is([data-view=intro],[data-view=gallery],:not([data-view])) { min-height:100vh; min-height:100dvh; background:var(--ms-paper); }
body:is([data-view=intro],:not([data-view])) main { max-width:none; padding:0; }
.site-header:has(.ms-nav), .ms-wrap { box-sizing:border-box; max-width:1480px; width:100%; padding-inline:var(--ms-gutter); margin:auto; }
.site-header:has(.ms-nav) { display:flex; align-items:center; min-height:0; height:76px; gap:35px; background:transparent; }
.site-header:has(.ms-nav) .header-actions { display:flex; align-items:center; flex:1; gap:19px; }
.site-header:has(.ms-nav) .header-tools { display:flex; gap:7px; margin:0; }
.ms-nav { display:flex; align-items:center; gap:26px; margin:auto; }
.ms-nav a,.ms-nav button { font:inherit; font-size:17px; font-weight:540; text-decoration:none; background:none; border:0; color:inherit; opacity:.96; padding:12px 0; }
.ms-nav a:hover,.ms-nav button:hover { opacity:1; text-decoration:underline; text-underline-offset:5px; }
.ms-nav-create { display:inline-flex; align-items:center; justify-content:center; gap:9px; text-decoration:none; font-weight:550; line-height:1.3; }
.ms-nav-create { border:0; border-radius:999px; padding:11px 17px; min-height:40px; background:#efefef; color:#1b1a19; }
body:is([data-view=intro],[data-view=space],:not([data-view])) .site-header { color:var(--ms-ink); }
body:is([data-view=intro],[data-view=space],:not([data-view])) .site-header .brand-name { color:var(--ms-ink); }
body:is([data-view=intro],[data-view=space],:not([data-view])) .site-header .brand-mark { background:#161514; border-radius:8px; }
body:is([data-view=intro],[data-view=space],:not([data-view])) .site-header :is(.account-button,.language-button) { background:#fff; color:var(--ms-ink); border:1px solid var(--ms-line); box-shadow:none; }
body:is([data-view=intro],[data-view=space],:not([data-view])) .language-menu { color:#eeedeb; }
body:is([data-view=intro],[data-view=space],:not([data-view])) .ms-nav-create { background:var(--ms-ink); color:white; }
body:is([data-view=intro],[data-view=space],:not([data-view])) .reward-banner {
  isolation:isolate; overflow:hidden; background:#211435; color:#fcf8ff; border-bottom:1px solid #564068; min-height:38px;
}
.reward-banner::before,.reward-banner::after {
  content:""; position:absolute; inset:-90% -12%; pointer-events:none; z-index:-1;
}
.reward-banner::before {
  background:radial-gradient(ellipse 36% 240% at 26% 240%,transparent 58%,#b58afa99 74%,#7243ac9c 84%,transparent 98%),
             radial-gradient(ellipse 31% 230% at 81% -150%,transparent 60%,#8e62ca9c 80%,transparent 100%);
}
.reward-banner::after {
  background:radial-gradient(ellipse 28% 140% at 57% 120%,#723ea96e,transparent 85%);
}
body:is([data-view=intro],[data-view=space],:not([data-view])) .reward-banner-link { min-height:38px; padding-block:7px; color:inherit; font-size:15px; line-height:1.45; }
body:is([data-view=intro],[data-view=space],:not([data-view])) .reward-banner-action { color:white; border-color:#c7ade16e; font-size:14px; }
body:is([data-view=intro],[data-view=space],:not([data-view])) .reward-banner-gift { background:transparent; color:#e9d5ff; border:0; box-shadow:none; }
.reward-banner-link:focus-visible { outline:2px solid white; }
.merchant-studio { color:var(--ms-ink); overflow:clip; }
.ms-work-card { min-width:0; position:relative; }
.ms-motion-control { position:absolute; top:9px; left:9px; z-index:2; display:grid; place-items:center; width:34px; height:34px; border:0; border-radius:50%; color:#fff; background:#171514ba; }
.ms-motion-control svg { width:16px; height:16px; }
@media(pointer:coarse) { .ms-motion-control { width:40px; height:40px; } }
.ms-cover { background:#e8e6e2; position:relative; display:block; width:100%; padding:0; border:0; border-radius:12px; overflow:hidden; isolation:isolate; aspect-ratio:9/16; color:white; }
.ms-cover>img,.ms-cover>video { position:absolute; width:100%; height:100%; inset:0; object-fit:cover; display:block; }
.ms-cover>img { z-index:0; }
.ms-cover video { opacity:0; z-index:1; pointer-events:none; }
.ms-cover video.is-playing { opacity:1; }
.ms-film-control { position:absolute; right:10px; bottom:11px; z-index:2; display:flex; align-items:center; gap:4px; padding:6px 9px; line-height:1; border-radius:100px; background:#171514ba; color:white; font-size:11px; font-weight:550; font-variant-numeric:tabular-nums; }
.ms-film-control svg { width:13px; height:13px; }
.ms-icon { display:inline-flex; align-items:center; }
.ms-notice { position:fixed; z-index:55; bottom:18px; left:50%; transform:translateX(-50%); border-radius:8px; background:#352e30; color:#fff; padding:12px; }
.ms-dialog { color-scheme:light; box-sizing:border-box; width:min(490px,calc(100vw - 28px)); max-height:calc(100dvh - 24px); padding:0; background:#ffffff; color:var(--ms-ink); border:0; border-radius:15px; overflow:auto; box-shadow:0 24px 80px #0005; }
.ms-dialog:not(.ms-choice) { width:min(calc(100vw - 24px),calc((100dvh - 48px) * var(--viewer-ratio,.5625))); background:#151413; overflow:hidden; }
.ms-dialog::backdrop { background:#111010df; }
.ms-dialog-close { position:absolute; top:12px; right:12px; z-index:4; width:40px; height:40px; border:0; border-radius:50%; display:grid; place-items:center; background:#211e1dcc; color:white; }
.ms-viewer { position:relative; display:grid; place-items:center; width:100%; aspect-ratio:var(--viewer-ratio,.5625); background:#151413 center/contain no-repeat; }
.ms-viewer video,.ms-viewer img { width:100%; height:100%; min-height:0; min-width:0; object-fit:contain; }
.ms-dialog.ms-choice { width:min(810px,calc(100vw - 32px)); padding:clamp(19px,3vw,32px); border:1px solid #dcd3ca; border-radius:22px; background:#faf8f5; color:#27221e; box-shadow:0 24px 85px #291b1c42; }
.ms-choice::backdrop { background:#261e20a6; }
.ms-choice-header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.ms-choice h2 { margin:0; font:inherit; font-size:clamp(24px,3vw,34px); font-weight:570; line-height:1.15; letter-spacing:-.045em; }
.ms-choice .ms-dialog-close { position:static; flex:none; width:42px; height:42px; border:1px solid #dcd3ca; background:transparent; color:#51463e; cursor:pointer; }
.ms-choice-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:24px 0 18px; }
.ms-choice-row { display:grid; grid-template-rows:auto 1fr; width:100%; min-width:0; padding:0; isolation:isolate; overflow:hidden; border:1px solid #dcd3ca; border-radius:13px; background:#fff; color:#27221e; cursor:pointer; text-align:start; }
.ms-choice-photo { display:block; width:100%; height:auto; aspect-ratio:1.12; object-fit:cover; object-position:center 39%; background:#eee8e1; }
.ms-choice-row[data-studio-format="ugc"] .ms-choice-photo { object-position:center 40%; }
.ms-choice-caption { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:9px; min-height:65px; padding:12px; }
.ms-choice-caption strong { font:inherit; font-size:16px; font-weight:560; line-height:1.3; letter-spacing:-.02em; overflow-wrap:anywhere; }
.ms-choice-mark { display:inline-grid; place-items:center; width:26px; height:28px; color:inherit; }
.ms-choice-mark:empty { display:none; }
.ms-choice-mark svg { display:block; width:24px; height:24px; }
.ms-choice-caption::after,.ms-choice-ref::after {
  content:""; display:block; width:7px; height:7px; margin-inline:2px;
  border-top:1.6px solid currentColor; border-right:1.6px solid currentColor; transform:rotate(45deg); opacity:.68;
}
.ms-choice-ref {
  display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:12px;
  box-sizing:border-box; width:100%; min-height:52px; padding:8px 16px 8px 10px;
  border:1px solid #dfd6d4; border-radius:12px; background:#fffdfb; color:#31272b;
  text-align:start; text-decoration:none; font-family:inherit; font-size:15px; font-weight:570; line-height:1.35; cursor:pointer;
}
.ms-choice-ref + .ms-choice-ref { margin-top:7px; }
.ms-choice-row:focus-visible,.ms-choice-ref:focus-visible { outline:2px solid #762d48; outline-offset:3px; }
@media (hover:hover) {
  .ms-choice-ref:hover,.ms-choice-row:hover { background:#f9f4f5; border-color:#ad8896; }
  .ms-choice .ms-dialog-close:hover { background:#efe9e4; }
}
@media (max-width:620px) {
  .ms-dialog.ms-choice { width:min(440px,calc(100vw - 24px)); padding:18px; border-radius:17px; }
  .ms-choice-list { grid-template-columns:1fr; gap:9px; margin:17px 0 9px; }
  .ms-choice-row { grid-template-columns:84px minmax(0,1fr); grid-template-rows:auto; align-items:stretch; border-radius:10px; }
  .ms-choice-photo { width:84px; height:100%; min-height:77px; aspect-ratio:1.09; }
  .ms-choice-caption { padding:10px 11px 10px 14px; }
  .ms-choice-caption strong { font-size:15px; }
}
.ms-media-feedback { position:absolute; bottom:18px; text-align:center; background:#252220eb; color:#fff; border-radius:8px; padding:10px 16px; }
.ms-media-feedback p { margin:0 0 8px; }
.ms-quiet { background:#fff; color:#1b1a19; border:0; border-radius:100px; padding:7px 14px; }
:where(.merchant-studio,.ms-dialog,.ms-nav) :focus-visible { outline:3px solid #853853; outline-offset:3px; }
@media(max-width:900px) {
  .ms-nav { gap:16px; }
  .site-header:has(.ms-nav) { gap:14px; height:65px; }
  .site-header:has(.ms-nav) .header-actions { gap:10px; }
}
@media(max-width:740px) {
  .site-header:has(.ms-nav) { display:grid; grid-template-columns:1fr auto auto; gap:0 8px; height:auto; padding-top:8px; }
  .site-header:has(.ms-nav) .brand { grid-column:1; grid-row:1; }
  .site-header:has(.ms-nav) .header-actions { display:contents; }
  .site-header:has(.ms-nav) .header-tools { grid-column:3; grid-row:1; gap:3px; }
  .site-header:has(.ms-nav) .header-tools :is(.icon-button,.account-button) { width:34px; height:35px; }
  .ms-nav-create { grid-column:2; grid-row:1; min-height:34px; padding:7px 12px; font-size:12px; }
  .ms-nav-create svg { width:14px; }
  .ms-nav { width:100%; grid-column:1/-1; grid-row:2; gap:clamp(12px,4vw,22px); flex-wrap:wrap; row-gap:0; margin:5px 0 0; }
  .ms-nav a,.ms-nav button { font-size:15px; padding-block:8px; }
  .ms-cover { border-radius:9px; }
  body:is([data-view=intro],[data-view=space],:not([data-view])) .reward-banner-link { flex-wrap:wrap; column-gap:9px; row-gap:2px; padding:7px 12px; text-align:center; font-size:14px; }
  body:is([data-view=intro],[data-view=space],:not([data-view])) .reward-banner-action { padding-left:0; border-left:0; font-size:14px; }
  body:is([data-view=intro],[data-view=space],:not([data-view])) .reward-banner-gift { display:none; }
}
@media(max-width:370px) {
  .site-header:has(.ms-nav) { padding-inline:10px; column-gap:4px; }
  .site-header:has(.ms-nav) .brand { gap:5px; }
  .site-header:has(.ms-nav) .brand-name { font-size:21px; }
  .site-header:has(.ms-nav) .ms-nav-create { padding-inline:8px; }
}
@media(prefers-reduced-motion:reduce) {html:focus-within,html {scroll-behavior:auto}}

/* Keep destinations together and give creation and account controls their own group. */
body[data-view=gallery] .site-header {
  color-scheme:light;
  color:var(--ms-ink);
  background:var(--ms-paper);
  border-bottom:1px solid var(--ms-line);
  height:76px;
  padding:0 var(--ms-gutter);
  gap:clamp(32px,4vw,64px);
}
body[data-view=gallery] .site-header .brand { color:inherit; }
body[data-view=gallery] .brand-mark { background:#211f1c; }
body[data-view=gallery] .site-header .header-actions { gap:14px; }
body[data-view=gallery] .ms-nav {
  gap:clamp(18px,2.1vw,34px);
  margin:0 auto 0 0;
}
body[data-view=gallery] .ms-nav > :is(a,button) {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  min-height:44px;
  padding:8px 0;
  color:#655c55;
  font-size:16px;
  line-height:1.4;
  white-space:nowrap;
  text-decoration:none;
  opacity:1;
}
body[data-view=gallery] .ms-nav > :is(a,button):hover { color:#30251f; }
body[data-view=gallery] .ms-nav [aria-current=page] { color:#762d48; font-weight:640; }
body[data-view=gallery] .ms-nav [aria-current=page]::after {
  content:"";
  position:absolute;
  inset:auto 0 2px;
  height:2px;
  border-radius:2px;
  background:currentColor;
}
body[data-view=gallery] .ms-nav-create {
  flex:none;
  gap:9px;
  min-height:42px;
  padding:9px 16px;
  background:#292420;
  color:white;
  font-size:15px;
  white-space:nowrap;
}
body[data-view=gallery] .ms-nav-create:hover { background:#493b33; }
body[data-view=gallery] .site-header .header-tools { gap:4px; }
body[data-view=gallery] .site-header .header-tools :is(.language-button,.account-button) {
  width:44px;
  height:44px;
  border:1px solid transparent;
  border-radius:50%;
  background:transparent;
  color:#403933;
  box-shadow:none;
}
body[data-view=gallery] .site-header .header-tools .account-button { border-color:#dcd5cf; background:#fff; }
body[data-view=gallery] .site-header .header-tools :is(.language-button,.account-button):hover { border-color:#bdb1aa; }
body[data-view=gallery] .site-header .language-menu {
  background:#fff;
  border-color:#ddd6d0;
  box-shadow:0 12px 32px #3628191a;
}
body[data-view=gallery] .language-menu button { color:#4e4640; font-size:14px; }
body[data-view=gallery] .language-menu button:is(:hover,[aria-pressed=true]) { background:#f6edef; color:#762d48; }
body[data-view=gallery] .site-header :focus-visible { outline:2px solid #762d48; outline-offset:2px; }
@media(max-width:880px) {
  body[data-view=gallery] .site-header {
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:2px 10px;
    height:auto;
    padding-block:10px 0;
  }
  body[data-view=gallery] .site-header .brand { grid-area:1 / 1; justify-self:start; }
  body[data-view=gallery] .site-header .header-actions { display:contents; }
  body[data-view=gallery] .ms-nav-create { grid-area:1 / 2; }
  body[data-view=gallery] .site-header .header-tools { grid-area:1 / 3; }
  body[data-view=gallery] .ms-nav {
    grid-area:2 / 1 / 3 / -1;
    flex-wrap:nowrap;
    width:100%;
    gap:26px;
    margin:0;
  }
  body[data-view=gallery] .ms-nav [aria-current=page]::after { bottom:-1px; }
}
@media(max-width:540px) {
  body[data-view=gallery] .site-header { column-gap:4px; }
  body[data-view=gallery] .site-header .brand { gap:6px; }
  body[data-view=gallery] .site-header .brand-name { font-size:22px; }
  body[data-view=gallery] .site-header .ms-nav-create { font-size:14px; padding-inline:13px; }
  body[data-view=gallery] .ms-nav-create svg { display:none; }
  body[data-view=gallery] .site-header .header-tools { gap:0; }
  body[data-view=gallery] .ms-nav { justify-content:flex-start; gap:clamp(22px,6vw,32px); }
  body[data-view=gallery] .ms-nav > :is(a,button) { flex:none; font-size:15px; }
}
@media(max-width:374px) {
  body[data-view=gallery] .site-header .brand-mark { display:none; }
  body[data-view=gallery] .site-header .ms-nav-create { padding-inline:10px; }
}
@media(max-width:340px) {
  body[data-view=gallery] .site-header .brand-mark { display:block; }
  body[data-view=gallery] .site-header .brand-name { display:none; }
  body[data-view=gallery] .ms-nav > :is(a,button) { font-size:14px; }
}

/* The primary destinations share one quiet icon family. */
.site-header .ms-nav > [data-nav-action] {
  display:inline-flex; align-items:center; justify-content:center; gap:7px;
  min-height:44px; padding:7px 5px; border-radius:6px; line-height:1.24;
  white-space:nowrap; text-decoration:none; opacity:1; box-sizing:border-box;
}
.site-header [data-nav-action] > .merchant-action-icon {
  display:block; flex:none; width:20px; height:20px; pointer-events:none;
}
.site-header .ms-nav > [data-nav-action]:hover {
  background:color-mix(in srgb,currentColor 6%,transparent); text-decoration:none;
}
.site-header [data-nav-action]:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.site-header .ms-nav-create[data-nav-action] {
  min-height:44px; gap:7px; white-space:nowrap; box-sizing:border-box;
}
.site-header .ms-nav-create[data-nav-action] > svg { display:block; width:18px; height:18px; }
.site-header .ms-nav-create[data-nav-action]:focus-visible { outline:2px solid var(--ms-accent); }
@media (min-width:1181px) {
  .site-header .ms-nav:has([data-nav-action]) { gap:clamp(10px,1.6vw,24px); }
}
@media (max-width:1180px) {
  .site-header:has(.ms-nav > [data-nav-action]) {
    display:grid; grid-template-columns:minmax(0,1fr) auto auto; height:auto;
    padding-block:8px 0; gap:0 8px;
  }
  .site-header:has(.ms-nav > [data-nav-action]) .brand { grid-area:1/1; justify-self:start; }
  .site-header:has(.ms-nav > [data-nav-action]) .header-actions { display:contents; }
  .site-header:has(.ms-nav > [data-nav-action]) .header-tools { grid-area:1/3; }
  .site-header .ms-nav-create[data-nav-action] { grid-area:1/2; }
  .site-header .ms-nav:has(> [data-nav-action]) {
    grid-area:2/1/3/-1; justify-content:center; margin:2px 0 0; width:100%;
  }
}
@media (max-width:740px) {
  body .site-header .ms-nav:has(> [data-nav-action]) {
    display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); align-items:stretch;
    gap:0; margin-top:4px;
  }
  .site-header .ms-nav > [data-nav-action],
  .site-header .ms-nav #home-feature-guide {
    flex-direction:column; justify-content:flex-start; gap:4px;
    min-width:0; min-height:52px; padding:6px 2px;
    border:0; border-radius:6px; background:transparent; color:inherit;
    font-size:13px; line-height:1.24; white-space:normal; text-align:center;
  }
  .site-header .ms-nav #home-feature-guide svg { width:20px; height:20px; }
  .site-header .ms-nav [data-nav-action] span,
  .site-header .ms-nav #home-feature-guide span { text-wrap:balance; }
}

.ms-hero-copy { text-align:center; padding-block:clamp(30px,5vh,66px) clamp(23px,2.8vw,36px); }
.ms-hero h1 { margin:0 auto; max-width:21ch; font-size:clamp(43px,4.9vw,76px); font-weight:625; letter-spacing:-.058em; line-height:1.04; text-wrap:balance; }
.ms-hero h1 em { font-style:normal; color:var(--ms-accent); white-space:nowrap; }
html:is(:lang(zh),:lang(ja),:lang(ko),:lang(th)) .ms-hero h1 { max-width:none; font-size:clamp(34px,4.7vw,68px); line-height:1.18; letter-spacing:-.045em; }
/* Touch-sized studio shortcuts. Each kind reads as a different silhouette at a glance. */
.ms-formats { margin-top:clamp(16px,2vw,24px); display:flex; flex-wrap:wrap; justify-content:center; align-items:stretch; gap:10px; }
.ms-formats button {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:52px; padding:8px 17px; border:1px solid #d9d7d4; border-radius:12px;
  background:#fdfcfb; color:#292624;
  font-size:15px; font-weight:560; line-height:1.35; cursor:pointer;
}
.ms-format-emblem {
  flex:none; display:inline-flex; align-items:center; justify-content:center;
}
.ms-format-emblem svg { display:block; width:27px; height:27px; }
@media (hover:hover) {
  .ms-formats button:hover { border-color:#a29c96; background:#f4f2ef; }
}
.ms-formats button:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
.ms-formats button:active { background:#eceae7; }
@media (prefers-reduced-motion:no-preference) {
  .ms-formats button { transition:border-color .16s,background-color .16s; }
}
.ms-stage {
  --film-gap:clamp(10px,1.1vw,17px);
  --stage-gutter:clamp(16px,2vw,40px);
  /* First view: a 16:9 film between two 9:16 covers, framed as a single group. */
  --opening-ratio:calc(16 / 9 + 2 * 9 / 16);
  --film-height:min(clamp(320px,54dvh,555px),calc((100vw - 2 * var(--stage-gutter) - 2 * var(--film-gap)) / var(--opening-ratio)));
  position:relative;
  width:min(calc(100% - 2 * var(--stage-gutter)),calc(var(--film-height) * var(--opening-ratio) + 2 * var(--film-gap)));
  margin-inline:auto;
  padding-block:0 clamp(30px,4vw,60px);
}
.ms-lead-rail { display:flex; gap:var(--film-gap); width:100%; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; padding-block:4px 8px; scrollbar-width:none; }
.ms-lead-rail::-webkit-scrollbar { display:none; }
.ms-cover { -webkit-user-select:none; user-select:none; }
@media (any-pointer:fine) {
  .ms-lead-rail { scroll-snap-type:none; }
  .ms-lead-rail,.ms-lead-rail .ms-cover { cursor:grab; }
  .ms-lead-rail.is-dragging,.ms-lead-rail.is-dragging * { cursor:grabbing; user-select:none; }
}
.ms-lead-rail .ms-work-card { --ratio:.5625; flex:none; align-self:center; width:calc(var(--film-height) * var(--ratio)); scroll-snap-align:start; }
.ms-lead-rail [data-aspect="16:9"] { --ratio:1.777778; }
.ms-lead-rail [data-aspect="2:3"] { --ratio:.666667; }
.ms-lead-rail [data-aspect="3:4"] { --ratio:.75; }
.ms-lead-rail [data-aspect="1:1"] { --ratio:1; }
.ms-image-control { padding:8px; border-radius:50%; }
.ms-lead-rail .ms-cover { aspect-ratio:var(--ratio); }
.ms-rail-arrow { position:absolute; z-index:3; display:grid; place-items:center; top:calc(var(--film-height) / 2); transform:translateY(-50%); width:40px; height:40px; border:1px solid #dedbd6; border-radius:50%; box-shadow:0 3px 14px #28221f22; background:#fff; color:var(--ms-ink); }
.ms-rail-arrow[data-rail-step="-1"] { left:10px; }
.ms-rail-arrow[data-rail-step="-1"] svg { transform:rotate(180deg); }
.ms-rail-arrow[data-rail-step="1"] { right:10px; }
.ms-rail-arrow:disabled { opacity:.44; cursor:default; }
@media(min-width:1150px) { .ms-hero h1 { max-width:none; } }
@media(min-width:621px) and (max-width:880px) {
 .ms-hero-copy .ms-formats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; max-width:750px; margin-inline:auto; }
 .ms-hero-copy .ms-formats button { min-width:0; justify-content:flex-start; padding:6px 9px 6px 7px; gap:8px; text-align:start; }
}
@media(max-width:620px) {
 .ms-hero-copy { padding-block:22px 16px; }
 .ms-hero h1 { max-width:16ch; font-size:clamp(33px,8.6vw,48px); }
 html:is(:lang(zh),:lang(ja),:lang(ko),:lang(th)) .ms-hero h1 { font-size:clamp(29px,7.1vw,40px); }
 .ms-formats { max-width:470px; margin:16px auto 0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
 .ms-formats button { flex-direction:column; align-self:stretch; justify-content:flex-start; min-width:0; gap:5px; padding:8px 4px; min-height:70px; border-radius:12px; font-size:12.5px; text-wrap:balance; overflow-wrap:anywhere; }
 .ms-format-emblem svg { width:27px; height:27px; }
 .ms-rail-arrow { width:32px; height:32px; }
 .ms-lead-rail:is([data-edition="zh"],[data-edition="th"]) ~ .ms-rail-arrow { top:calc(var(--film-height) * .77); }
}

/* The light sits behind a single editorial spread. The copy is also visible without JS. */
.ms-director {
  isolation:isolate; position:relative; overflow:hidden; color:#faf7ff;
  background:linear-gradient(105deg,#0d091b 8%,#17102b 62%,#0c0819);
}
.ms-aurora { position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; contain:paint; }
.ms-aurora::before,.ms-aurora::after { content:""; position:absolute; inset:-18% -6%; }
.ms-aurora::before {
  background:
    radial-gradient(ellipse 55% 91% at 29% 111%,transparent 40%,#b574ff45 56%,#af81ff94 61%,#9368fa73 64%,#7645d65c 70%,transparent 90%),
    radial-gradient(ellipse 43% 110% at 84% -52%,transparent 59%,#8651e575 76%,#a782ee6e 81%,transparent 96%);
  transform:rotate(-7deg);
}
.ms-aurora::after {
  background:
    radial-gradient(ellipse 56% 75% at 16% 123%,transparent 50%,#daabf99e 63%,#d3a4ff5b 67%,transparent 88%),
    radial-gradient(ellipse 31% 82% at 54% 98%,#6435ca70,transparent 75%);
  transform:rotate(-10deg);
}
.ms-director-spread {
  position:relative; display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,.98fr); align-items:center;
  max-width:1360px; min-height:clamp(262px,24vw,345px);
  gap:clamp(28px,5.8vw,88px); padding-block:clamp(52px,6vw,88px);
}
.ms-director h2 {
  margin:0; font:inherit; font-size:clamp(36px,4vw,64px); font-weight:555; letter-spacing:-.055em; line-height:1.1;
}
.ms-director h2 span { display:block; text-wrap:balance; }
html:is(:lang(zh),:lang(ko),:lang(ja),:lang(th)) .ms-director h2 { letter-spacing:-.035em; line-height:1.23; }
.ms-director-strengths { list-style:none; padding:0; margin:0; }
.ms-director-strengths li {
  padding-block:clamp(13px,1.26vw,20px); font:inherit; font-size:clamp(17px,1.48vw,22px);
  font-weight:480; line-height:1.45; color:#f4eefc; letter-spacing:-.015em;
}
.ms-director-strengths li + li { border-top:1px solid #d1b8f43d; }
.ms-director-strengths li > strong { display:block; font-weight:590; }
.ms-director-strengths li > span { display:block; margin-top:3px; color:#d9cde9; font-size:clamp(14px,1.08vw,16px); line-height:1.45; letter-spacing:normal; }
@media(prefers-reduced-motion:no-preference) {
  .ms-director .ms-aurora::before { animation:ms-aurora-rise 8s ease-in-out infinite alternate paused; }
  .ms-director .ms-aurora::after { animation:ms-aurora-sweep 11s ease-in-out infinite alternate paused; }
  .reward-banner::before { animation:ms-banner-flow 9s ease-in-out infinite alternate paused; }
  .reward-banner::after { animation:ms-banner-flow 13s ease-in-out infinite alternate-reverse paused; }
  .ms-aurora-lit .ms-aurora::before,.ms-aurora-lit .ms-aurora::after,
  .reward-banner.ms-aurora-lit::before,.reward-banner.ms-aurora-lit::after { animation-play-state:running; }
}
@keyframes ms-aurora-rise {
  from { transform:translate(-5%,8%) rotate(-12deg); }
  to { transform:translate(5%,-7%) rotate(-2deg); }
}
@keyframes ms-aurora-sweep {
  from { transform:translate(5%,6%) rotate(-15deg); }
  to { transform:translate(-6%,-5%) rotate(-6deg); }
}
@keyframes ms-banner-flow {
  from { transform:translate(-6%,11%) rotate(-1deg); }
  to { transform:translate(7%,-10%) rotate(1deg); }
}
@media(max-width:740px) {
  .ms-director-spread { grid-template-columns:1fr; gap:22px; min-height:0; padding-block:40px 32px; }
  .ms-director h2 { font-size:clamp(30px,7.9vw,46px); }
  .ms-director-strengths li { font-size:clamp(16px,3.7vw,19px); padding-block:12px; }
  .ms-aurora::before { background-position:center; inset:-18% -35%; }
}
@media(max-width:400px) {
  .ms-director-spread { padding-bottom:66px; }
}

.ms-lead-rail [data-home-spotlight] { scroll-snap-align:center; scroll-initial-target:nearest; }
@media(max-width:900px) {
  .ms-stage { width:100%; --film-height:min(45vw,395px); }
}
@media(max-width:620px) {
  .ms-stage { --film-gap:8px; --film-height:calc((100vw - 32px) * .5625); }
}

.ms-nav a[aria-current="location"] { color:#763e58; text-decoration:underline; text-underline-offset:6px; }
.ms-planner { scroll-margin-block-start:14px; color:var(--ms-ink); background:var(--ms-paper); }
.ms-planner-layout {
  width:min(100%,1360px); display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);
  align-items:center; gap:clamp(36px,5vw,85px); padding-block:clamp(30px,4.8vw,78px) clamp(44px,6vw,88px);
  position:relative;
}
.ms-planner-layout::before { content:""; position:absolute; top:0; inset-inline:var(--ms-gutter); border-top:1px solid var(--ms-line); }
.ms-planner-intro { min-width:0; }
#planner-heading { margin:0; font:inherit; font-size:clamp(44px,4.5vw,66px); line-height:1.04; letter-spacing:-.05em; font-weight:600; text-wrap:balance; outline:none; }
html:is(:lang(zh),:lang(ja),:lang(ko),:lang(th)) #planner-heading { letter-spacing:-.045em; line-height:1.18; }
.ms-planner-description { max-width:42ch; color:var(--ms-muted); margin:18px 0 0; font-size:clamp(16px,1.27vw,20px); line-height:1.55; text-wrap:pretty; }
.ms-planner-actions { display:flex; align-items:center; flex-wrap:wrap; gap:6px 19px; margin-top:26px; }
.ms-planner-actions button,.ms-case-link {
  font:inherit; font-size:15px; font-weight:560; min-height:44px; display:inline-flex; align-items:center;
  justify-content:center; gap:9px; line-height:1.3; cursor:pointer;
}
.ms-planner-start { padding:13px 18px; background:var(--ms-ink); border:0; border-radius:999px; color:white; }
.ms-planner-start:hover { background:var(--ms-accent); }
.ms-tour-trigger,.ms-case-link { padding:4px 0; border:0; color:inherit; background:transparent; }
.ms-tour-trigger:hover span,.ms-case-link:hover span { text-decoration:underline; text-underline-offset:4px; }
.ms-case { min-width:0; margin:0; }
.ms-case-stage { position:relative; overflow:hidden; border-radius:12px; background:var(--ms-ink); aspect-ratio:16/9; isolation:isolate; }
.ms-case-stage video { width:100%; height:100%; background:transparent; display:block; object-fit:contain; }
.ms-spot-retry:not([hidden]) { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); min-height:44px; padding:9px 18px; border:0; border-radius:999px; background:white; color:var(--ms-ink); font:inherit; cursor:pointer; }
.ms-case-stage video::cue { font-family:system-ui,sans-serif; background:#151519db; color:white; }
.ms-case figcaption { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-block:11px 0; }
.ms-case-product { display:flex; align-items:center; gap:10px; min-width:0; }
.ms-case-product img { width:43px; height:43px; object-fit:cover; border-radius:7px; }
.ms-case-product strong { font-weight:565; font-size:clamp(15px,1.2vw,18px); line-height:1.3; }
.ms-case-link { text-align:end; color:var(--ms-accent); }
.ms-case-link svg { flex:none; transform:rotate(-40deg); width:16px; height:16px; }
.ms-case-stage:fullscreen { width:100vw; height:100vh; }
.ms-tour-dialog {
  max-width:calc(100vw - 32px); width:min(900px,calc((100dvh - 118px) * 1.333333));
  padding:0; max-height:calc(100dvh - 28px); border:1px solid #6a6269; border-radius:14px;
  color:#f8f7f9; background:#1c191d; box-shadow:0 26px 95px #17111a66;
}
.ms-tour-dialog::backdrop { background:#140f19b8; }
.ms-tour-heading { display:flex; justify-content:space-between; align-items:center; padding:8px 12px 8px 18px; gap:10px; }
.ms-tour-heading h2 { font:inherit; font-size:16px; font-weight:550; line-height:1.3; margin:0; }
.ms-tour-heading button,.ms-tour-dialog [data-tour-retry] { cursor:pointer; font:inherit; }
.ms-tour-heading button { width:44px; height:44px; display:grid; place-items:center; border:0; border-radius:50%; color:inherit; background:#ffffff0f; }
.ms-tour-heading button:hover { background:#ffffff26; }
.ms-tour-screen { width:100%; aspect-ratio:4/3; overflow:hidden; background:#161417; }
.ms-tour-screen video { width:100%; height:100%; display:block; object-fit:contain; }
.ms-tour-dialog [data-tour-error] { font-size:14px; margin:9px 14px; }
.ms-tour-dialog [data-tour-retry] { min-height:44px; margin:0 14px 12px; padding:6px 16px; border-radius:8px; border:1px solid #726a74; background:transparent; color:inherit; }
.ms-tour-dialog button:focus-visible { outline:2px solid #d5bddc; outline-offset:1px; }
.ms-tour-dialog video::cue { background:rgba(22,18,22,.9); color:#fff; }
@media(max-width:900px) {
  .ms-planner-layout { gap:24px; grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr); }
  #planner-heading { font-size:clamp(38px,5.1vw,50px); }
  .ms-planner-actions { margin-top:18px; gap:2px 12px; }
}
@media(max-width:680px) {
  .ms-planner-layout { grid-template-columns:minmax(0,1fr); gap:24px; padding-block:32px 42px; }
  #planner-heading { font-size:clamp(38px,8.2vw,52px); }
  .ms-planner-description { max-width:44ch; margin-top:10px; }
  .ms-planner-actions { gap:4px 15px; margin-top:15px; }
  .ms-planner-start { padding:10px 15px; }
  .ms-case-stage { border-radius:8px; }
  .ms-case figcaption { padding-top:6px; }
  .ms-case-product { gap:7px; }
  .ms-case-product img { width:34px; height:36px; }
  .ms-case-link { font-size:14px; gap:4px; }
  .ms-tour-dialog { max-width:calc(100vw - 16px); border-radius:10px; }
}
@media(max-width:540px) {
  body[data-view=gallery] .ms-nav { gap:clamp(10px,3vw,17px); flex-wrap:wrap; row-gap:0; }
}

/* First visit: one real product photographed two ways. */
.mf-start.ms-wrap { max-width:1408px; padding-inline:clamp(24px,4.6vw,72px); }
.mf-lead { display:grid; grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr); align-items:center; gap:clamp(26px,4vw,68px); padding-block:clamp(24px,3.3vw,51px) clamp(24px,3.2vw,46px); }
.mf-copy { min-width:0; text-align:start; }
.ms-hero .mf-copy h1,html:is(:lang(zh),:lang(ja),:lang(ko),:lang(th)) .ms-hero .mf-copy h1 { max-width:100%; margin:0; font-family:inherit; font-size:clamp(42px,4.4vw,72px); font-weight:610; letter-spacing:-.058em; line-height:1.04; text-wrap:initial; color:var(--ms-ink); }
.ms-hero .mf-copy h1 em { display:block; margin:0; color:#72324a; white-space:normal; }
html:is(:lang(zh),:lang(ja),:lang(ko),:lang(th)) .ms-hero .mf-copy h1 { font-size:clamp(36px,3.9vw,65px); letter-spacing:-.047em; line-height:1.17; }
.mf-intro { margin:22px 0 0; max-width:39ch; color:#585455; font-size:clamp(16px,1.18vw,19px); font-weight:400; line-height:1.55; text-wrap:pretty; }
.mf-actions { margin-top:26px; display:flex; flex-wrap:wrap; gap:10px 20px; align-items:center; }
.mf-actions button,.mf-tour { display:inline-flex; align-items:center; justify-content:center; gap:9px; min-height:46px; border:0; font:inherit; font-size:15px; font-weight:575; line-height:1.28; cursor:pointer; }
.mf-actions .mf-primary { padding:12px 18px; border-radius:11px; background:#252024; color:white; box-shadow:0 2px 4px #321c281a; }
.mf-primary svg,.mf-tour svg { flex:none; }
.mf-actions .mf-primary:hover { background:#492c3a; }
.mf-actions .mf-sample { padding:10px 1px; color:#422c36; border-radius:4px; background:transparent; text-decoration:underline; text-decoration-color:#b9a7af; text-underline-offset:5px; }
.mf-actions .mf-sample:hover { text-decoration-color:currentColor; }
.mf-start button:focus-visible { outline:3px solid #9d5379; outline-offset:3px; }
.mf-start [aria-busy=true] { cursor:progress; opacity:.78; }
.mf-error { color:#81334b; font-size:1rem; margin:0 0 1rem; }
.mf-diptych { isolation:isolate; display:grid; grid-template-columns:36% 64%; align-items:stretch; position:relative; margin:0; min-width:0; height:clamp(275px,28.3vw,394px); overflow:hidden; border-radius:15px; background:#e8e3dc; }
.mf-photo { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:13px; padding:12px; background:radial-gradient(ellipse at 20% 22%,#f7f3ed 0%,#e8e2d8 64%,#d9d1c5 100%); }
.mf-original { width:min(77%,146px); aspect-ratio:3/4; transform:rotate(-4deg); border:4px solid #fcfaf4; box-shadow:2px 7px 15px #4b392b30; }
.mf-original img,.mf-result img { display:block; height:100%; width:100%; object-fit:cover; }
.mf-original-caption { color:#4c443e; font-size:14px; font-weight:525; text-align:center; }
.mf-result { position:relative; overflow:hidden; background:#452c30; }
.mf-result img { object-position:55% 60%; }
.mf-result-caption { position:absolute; top:13px; right:13px; padding:5px 10px; border-radius:100px; color:#fff; background:#251c20c9; font-size:13px; font-weight:540; }
.mf-tour { position:absolute; z-index:1; bottom:15px; right:15px; min-height:39px; padding:7px 12px; font-size:14px; color:white; background:#211a1de8; border:1px solid #ffffff54; border-radius:30px; }
.mf-tour:hover { background:#170d12; }
.mf-tour time { font-size:12px; font-variant-numeric:tabular-nums; color:#e7dde2; }
.mf-direct { display:flex; flex-wrap:wrap; align-items:center; gap:12px 19px; padding:16px 0 20px; border-top:1px solid var(--ms-line); }
.mf-direct-label { color:var(--ms-muted); font-size:15px; font-weight:500; }
.mf-direct .ms-formats { display:flex; flex-wrap:wrap; justify-content:start; max-width:none; margin:0; gap:7px; }
.mf-direct .ms-formats button { flex-direction:row; min-height:48px; }
@media(max-width:900px) and (min-width:701px) {
  .mf-lead { grid-template-columns:1fr 1fr; gap:24px; }
  .mf-start.ms-wrap { padding-inline:26px; }
  .mf-actions { gap:4px 14px; }
  .mf-diptych { height:280px; grid-template-columns:34% 66%; }
}
@media(max-width:700px) {
  .mf-start.ms-wrap { padding-inline:clamp(16px,4.5vw,30px); }
  .mf-lead { grid-template-columns:minmax(0,1fr); gap:22px; padding-block:24px 19px; }
  .ms-hero .mf-copy h1,html:is(:lang(zh),:lang(ja),:lang(ko),:lang(th)) .ms-hero .mf-copy h1 { font-size:clamp(36px,9vw,53px); }
  .mf-intro { margin-top:12px; max-width:43ch; font-size:16px; line-height:1.46; }
  .mf-actions { margin-top:16px; gap:5px 15px; }
  .mf-actions button { font-size:14px; }
  .mf-actions .mf-primary { padding-inline:13px; }
  .mf-diptych { grid-template-columns:36% 64%; height:clamp(215px,58vw,314px); border-radius:12px; }
  .mf-photo { gap:10px; }
  .mf-original { width:min(86%,120px); border-width:3px; }
  .mf-result-caption { top:9px; right:9px; font-size:12px; }
  .mf-tour { bottom:8px; right:8px; min-height:40px; }
  .mf-direct { gap:8px 16px; padding:13px 0 16px; }
  .mf-direct .ms-formats { gap:6px; }
  .mf-direct .ms-formats button { align-items:center; font-size:13px; padding:6px 8px; }
}
.mf-direct .am-entry-replay { order:3; margin-inline-start:auto; min-height:40px; padding:7px 2px; border:0; background:transparent; color:var(--ms-muted); font:inherit; font-size:14px; text-decoration:underline; text-underline-offset:4px; text-decoration-color:#c5bdc1; cursor:pointer; }
@media(max-width:700px){.mf-direct .am-entry-replay{margin-inline-start:0}}

/* Chinese format names are short enough to pair with their marks on a single line. */
html:lang(zh) .merchant-action-icon > .ms-format-standard { display:none; }
html:lang(zh) .merchant-action-icon > .ms-format-zh { display:inline; }
html:lang(zh) .ms-hero-copy .ms-formats {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:min(100%, 526px);
  margin-inline:auto;
  gap:8px;
}
html:lang(zh) .ms-hero-copy .ms-formats button {
  flex-direction:row;
  justify-content:center;
  align-items:center;
  gap:9px;
  min-width:0;
  min-height:48px;
  padding:7px 10px;
  border:1px solid #dcd9d6;
  border-radius:9px;
  background:#fff;
  color:#292522;
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  font-size:15px;
  font-weight:500;
  line-height:1.4;
  letter-spacing:.02em;
  white-space:nowrap;
}
html:lang(zh) .ms-hero-copy .ms-format-emblem > svg,
html:lang(zh) .ms-choice-row .ms-choice-mark > svg { width:22px; height:22px; }
html:lang(zh) .ms-choice-row .ms-choice-caption strong {
  font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;
  font-weight:500;
  letter-spacing:.02em;
}
html:lang(zh) .ms-hero-copy .ms-formats button:focus-visible { outline:2px solid var(--ms-accent); outline-offset:3px; }
@media(hover:hover) {
  html:lang(zh) .ms-hero-copy .ms-formats button:hover { background:#f8f5f4; border-color:#bcaeaf; }
}
html:lang(zh) .ms-hero-copy .ms-formats button:active { background:#f0eae9; }
@media(max-width:740px) {
  html:lang(zh) .site-header .ms-nav > [data-nav-action] > svg,
  html:lang(zh) .site-header .ms-nav #home-feature-guide > svg { display:none; }
  html:lang(zh) .site-header .ms-nav > [data-nav-action],
  html:lang(zh) .site-header .ms-nav #home-feature-guide {
    min-height:44px;
    justify-content:center;
    font-size:14px;
    line-height:1.35;
    font-weight:500;
  }
}
@media(max-width:620px) {
  html:lang(zh) .ms-hero-copy .ms-formats { gap:6px; }
  html:lang(zh) .ms-hero-copy .ms-formats button {
    min-height:46px;
    gap:5px;
    padding:6px 3px;
    font-size:13px;
    letter-spacing:0;
  }
  html:lang(zh) .ms-hero-copy .ms-format-emblem > svg { width:20px; height:20px; }
}
@media(max-width:359px) {
  html:lang(zh) .ms-hero-copy .ms-formats button {
    flex-direction:column;
    min-height:58px;
    gap:3px;
  }
}
