/* The reference library and homepage share the studio's paper, ink and gutter. */
[data-featured-discovery] {
  --fd-ink:var(--ms-ink,#1b1a19); --fd-wine:var(--ms-accent,#702b43); --fd-line:var(--ms-line,#e5e3de);
  --fd-gap:clamp(9px,1vw,16px); --fd-width:clamp(188px,17.6vw,268px); --fd-height:clamp(284px,23vw,352px);
  color:var(--fd-ink); color-scheme:light; padding:clamp(20px,2.4vw,35px) 0 0; min-width:0;
}
[data-featured-home][hidden],html:not([data-featured-home-active]) [data-featured-home],
html[data-featured-home-active] :is(#intro-view,#gallery-view,#home-feature-guide) {display:none!important}
html[data-featured-home-active] #main {padding:0;max-width:none}
html[data-featured-home-active] body {background:var(--ms-paper,#fff);color:var(--ms-ink,#211f1d)}
[data-featured-home] {width:min(calc(100% - 2 * var(--ms-gutter,24px)),1440px);margin-inline:auto;padding-bottom:clamp(36px,6vw,80px)}
[data-featured-discovery] * {box-sizing:border-box}
.fd-intro {display:flex; align-items:center; justify-content:space-between; gap:24px}
.fd-intro-copy {min-width:0}
#featured-heading {
  margin:0; font-family:inherit; color:var(--fd-ink); font-weight:570; font-size:clamp(34px,3.75vw,59px);
  line-height:1.07; letter-spacing:-.055em; text-wrap:balance;
}
#featured-heading em {font-family:inherit;font-style:normal; font-weight:410; letter-spacing:-.055em; color:var(--fd-wine)}
:lang(zh) #featured-heading em,:lang(ja) #featured-heading em,:lang(ko) #featured-heading em,:lang(th) #featured-heading em {
  font:inherit; letter-spacing:inherit;
}
:lang(zh) #featured-heading,:lang(ja) #featured-heading,:lang(ko) #featured-heading,:lang(th) #featured-heading {line-height:1.22;letter-spacing:-.035em}
.fd-intro p {color:#5d5857;margin:10px 0 0;font-family:inherit;font-size:clamp(14px,1.12vw,17px);font-weight:400;line-height:1.5}
.fd-director,.fd-foot button,.fd-remake,.fd-round,.fd-categories button {font-family:inherit; cursor:pointer}
.fd-director {
  display:inline-flex; align-items:center; justify-content:center; gap:10px; flex:none; min-height:43px; padding:8px 15px;
  border:1px solid #dccfd3; border-radius:30px; background:#faf5f6; color:#662b43; text-decoration:none;
  font-size:14px; font-weight:560; white-space:nowrap;
}
.fd-director svg {width:21px;height:21px}
.fd-director svg:last-child {width:15px;height:15px}
.fd-track::-webkit-scrollbar {display:none}
.fd-controls {display:flex; align-items:center; gap:5px; flex:none}
.fd-round {display:grid;place-items:center;border:1px solid var(--fd-line);border-radius:50%;width:34px;height:34px;padding:0;background:#fff;color:#292724}
.fd-round svg {width:15px;height:15px}
.fd-round:disabled {opacity:.35; cursor:default}
.fd-round[hidden] {display:none}
.fd-motion {margin-right:6px}
.fd-motion[aria-pressed=true] svg:last-child,.fd-motion[aria-pressed=false] svg:first-child {display:none}
.fd-track {
  display:flex; gap:var(--fd-gap); align-items:stretch; position:relative; min-width:0; margin:0; padding:0 0 3px;
  overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; scroll-snap-type:x proximity;
  scrollbar-width:none; scroll-padding-inline:0; -webkit-overflow-scrolling:touch;
}
.fd-film {
  position:relative; flex:0 0 var(--fd-width); height:var(--fd-height); min-width:0; overflow:hidden;
  scroll-snap-align:start; border-radius:13px; background:#e9e5e1; isolation:isolate;
}
.fd-film:first-child {flex-basis:calc(var(--fd-width) * 1.18)}
.fd-screen,.fd-screen img,.fd-screen .featured-motion,.fd-watch {position:absolute;inset:0;display:block;width:100%;height:100%}
.fd-screen img,.fd-screen .featured-motion {object-fit:cover;object-position:center}
.fd-screen .featured-motion {pointer-events:none; opacity:0}
.fd-screen .featured-motion[data-playing] {opacity:1}
.fd-watch {z-index:2;cursor:pointer;border:0;padding:0;background:linear-gradient(to bottom,rgba(0,0,0,.11),transparent 24%,transparent 65%,rgba(0,0,0,.38));color:white}
.fd-watch span {
  display:grid; place-items:center; position:absolute; top:11px; left:11px; width:32px;height:32px;
  border:1px solid #fff8;border-radius:50%;background:#15141869;backdrop-filter:blur(4px);
}
.fd-watch svg {width:15px;height:15px; margin-left:1px}
.fd-duration {position:absolute;pointer-events:none;z-index:3;right:11px;top:14px;padding:2px 5px;border-radius:4px;color:#fff;background:#100e1099;font-size:11px;line-height:1.25;font-variant-numeric:tabular-nums}
.fd-remake {
  position:absolute;z-index:4;bottom:10px;left:10px;right:10px; display:flex; align-items:center; justify-content:space-between;
  gap:5px; min-height:39px; padding:8px 12px; border:1px solid #ffffff48; border-radius:8px;
  color:white; background:#191617df; font-size:clamp(12px,.92vw,14px); font-weight:530; line-height:1.28; text-align:left;
}
.fd-remake svg {width:16px;height:16px;flex:none}
.fd-foot {display:flex;align-items:center;justify-content:flex-end;padding:9px 0 12px;border-bottom:1px solid var(--fd-line)}
.fd-foot button {display:inline-flex; align-items:center; gap:7px; border:0; background:transparent;color:#53474a;padding:8px 0 8px 8px;font-size:13px;font-weight:540}
.fd-foot svg {width:14px;height:14px}
[data-featured-discovery] :focus-visible {outline:2px solid var(--fd-wine); outline-offset:2px}
.fd-track:focus-visible,.fd-categories button:focus-visible {outline-offset:-2px}
.fd-film button:focus-visible {outline:2px solid white; outline-offset:-3px}
.fd-film .fd-watch:focus-visible {box-shadow:inset 0 0 0 5px #662b43;border-radius:13px}
#gallery-title {scroll-margin-top:18px}
@media(hover:hover) {
  .fd-director:hover {background:#f2e6eb;border-color:#c4a2ae;color:#4f2034}
  .fd-round:not(:disabled):hover {background:#f4efee;color:#562a3a}
  .fd-remake:hover {background:#fff;color:#211c1f}
  .fd-watch:hover span {background:#121014b3}
  .fd-foot button:hover {color:var(--fd-wine); text-decoration:underline; text-underline-offset:3px}
}
@media(max-width:950px) {
  [data-featured-discovery] {--fd-width:clamp(187px,24vw,221px);--fd-height:clamp(265px,34vw,325px)}
  #featured-heading {font-size:clamp(32px,4.45vw,43px)}
  .fd-categories button {padding:8px 10px}
  .fd-intro {gap:14px}
  .fd-director {padding:8px 12px;gap:6px;font-size:13px}
}
@media(max-width:640px) {
  [data-featured-discovery] {--fd-width:clamp(158px,49vw,212px);--fd-height:clamp(244px,65vw,287px);padding-top:17px}
  .fd-intro {display:block}
  #featured-heading {font-size:clamp(30px,7.4vw,39px);max-width:425px;text-wrap:pretty}
  .fd-intro p {margin-top:7px;font-size:14px;max-width:440px}
  .fd-director {margin-top:10px;min-height:36px;font-size:13px}
  .fd-director svg:first-child {width:18px;height:18px}
  .fd-toolbar {gap:8px;margin:12px 0 7px}
  .fd-categories {flex:1;scrollbar-width:none}
  .fd-categories button {font-size:13px;padding:8px 10px}
  .fd-controls {gap:2px}
  .fd-round {height:30px;width:30px}
  .fd-motion {margin:0}
  .fd-controls [data-featured-previous],.fd-controls [data-featured-next] {display:none}
  .fd-track {margin-inline-end:calc(-1 * var(--ms-gutter,20px));padding-right:var(--ms-gutter,20px)}
  .fd-film {border-radius:10px}
  .fd-film:first-child {flex-basis:var(--fd-width)}
  .fd-remake {left:7px;right:7px;bottom:7px;padding:7px 9px;min-height:36px}
  .fd-foot {padding:4px 0 7px}
}
@media(prefers-reduced-motion:no-preference) {
  .fd-round,.fd-director,.fd-remake {transition:background .16s,color .16s,border-color .16s}
}

/* A grid teaser is decorative. The existing hit targets, duration, native
   controls and focus indicators remain above it at every masonry breakpoint. */
#gallery-view [data-video-preview] > video.featured-motion {
  position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%;
  object-fit:cover; object-position:center; pointer-events:none; opacity:0;
}
#gallery-view [data-video-preview]:not(.is-inline-active) > video.featured-motion[data-playing] {opacity:1}

.fd-intro {align-items:flex-end;padding:clamp(8px,1.2vw,22px) 0 clamp(20px,2.4vw,34px);border-bottom:1px solid var(--fd-line)}
.fd-intro-actions {display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.fd-intro-actions .fd-library {display:inline-flex;gap:6px;align-items:center;color:var(--fd-ink);text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap}
.fd-library svg {width:15px;height:15px}
.fd-intro-actions .fd-director {min-height:38px;padding:6px 12px}
.fd-shelf {margin-top:clamp(20px,2.1vw,32px);min-width:0}
.fd-shelf-heading,.fd-library-heading {display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 11px}
.fd-shelf-heading h2 {margin:0;color:var(--fd-ink);font:inherit;font-size:clamp(22px,2.05vw,30px);font-weight:620;line-height:1.12;letter-spacing:-.035em}
.fd-shelf-actions {display:flex;align-items:center;gap:clamp(8px,1vw,16px);flex:none}
.fd-browse {display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--fd-wine);font:inherit;font-size:14px;line-height:1.35;font-weight:560;text-decoration:none;white-space:nowrap}
.fd-browse svg {width:15px;height:15px}
.fd-browse:focus-visible {outline:2px solid var(--fd-wine);outline-offset:2px;border-radius:4px}
.fd-colophon {display:flex;align-items:center;justify-content:space-between;margin:clamp(24px,4vw,52px) 0 0;padding:12px 0 0;padding-inline-end:max(0px,calc(90px - (100vw - 100%)/2));border-top:1px solid var(--fd-line);color:#706865;font:inherit;font-size:13px;line-height:1.4}
.fd-colophon button {display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:3px 0 3px 9px;border:0;background:transparent;color:var(--fd-ink);font:inherit;cursor:pointer}
.fd-colophon button svg {width:15px;height:15px}
.fd-colophon button:focus-visible {outline:2px solid var(--fd-wine);outline-offset:2px;border-radius:4px}
.fd-shelf-actions .fd-controls {position:relative;padding-inline-start:clamp(9px,1vw,16px)}
.fd-shelf-actions .fd-controls::before {content:"";position:absolute;inset-inline-start:0;inset-block:50% auto;width:1px;height:16px;transform:translateY(-50%);background:var(--fd-line)}
@media(hover:hover) {
  .fd-browse:hover span,.fd-colophon button:hover span {text-decoration:underline;text-underline-offset:4px}
}
.fd-shelf .fd-film,.fd-shelf .fd-film:first-child {flex:0 0 clamp(182px,15.25vw,237px);height:clamp(220px,18.6vw,299px)}
.fd-shelf .fd-remake {width:auto;left:8px;right:8px;bottom:8px}
.fd-library-heading #gallery-title {margin:0}
.fd-library-heading .fd-round {--fd-line:#dfdbd7}
#nav-create-menu {position:fixed;z-index:180;box-sizing:border-box;min-width:218px;max-width:calc(100vw - 16px);padding:6px;background:#fff;color:#211d1e;border:1px solid #dfdbd9;border-radius:14px;box-shadow:0 16px 48px #28202429}
#nav-create-menu[hidden] {display:none!important}
#nav-create-menu button {display:flex;align-items:center;gap:12px;font:inherit;font-size:15px;font-weight:540;text-align:left;width:100%;min-height:44px;padding:9px 11px;color:inherit;background:transparent;border:none;border-radius:8px;cursor:pointer}
#nav-create-menu button:hover,#nav-create-menu button:focus-visible {background:#f4eff1;color:#662c47;outline:none}
#nav-create-menu .merchant-action-icon {width:21px;height:21px;flex-shrink:0}
@media(max-width:1100px) {
  .fd-intro {display:block}
  .fd-intro-actions {margin-top:13px;justify-content:flex-start}
}
@media(max-width:640px) {
  [data-featured-home] {width:calc(100% - 32px)}
  .fd-shelf {margin-top:21px}
  .fd-intro {padding:0 0 13px}
  .fd-intro-actions {margin-top:10px;gap:12px}
  .fd-intro-actions .fd-director {margin:0;min-height:32px}
  .fd-intro-actions .fd-library {font-size:13px}
  .fd-shelf .fd-track {margin-right:-16px;padding-right:16px}
  .fd-shelf .fd-film,.fd-shelf .fd-film:first-child {flex-basis:clamp(148px,42vw,220px);height:clamp(194px,54vw,260px)}
  .fd-shelf-heading {gap:8px;margin-bottom:6px}
  .fd-shelf-heading h2 {min-width:0;font-size:22px;line-height:1.24;text-wrap:balance}
  .fd-shelf-actions {gap:6px}
  .fd-shelf-actions .fd-controls {gap:0;padding-inline-start:6px}
  .fd-shelf .fd-controls button {display:grid;width:33px;height:36px}
  .fd-shelf .fd-controls .fd-motion {margin-inline-end:3px}
  .fd-browse {font-size:13px;gap:3px}
  .fd-browse svg {width:13px;height:13px}
}
@media(max-width:640px) and (hover:none) and (pointer:coarse) {
  /* The visible edge of the next film invites a swipe. Leave the heading
     for the collection link; the rail also supports the keyboard arrows. */
  .fd-shelf .fd-controls :is([data-featured-previous],[data-featured-next]) {display:none}
  .fd-shelf .fd-controls:not(:has(.fd-motion)) {display:none}
  .fd-shelf .fd-controls .fd-motion {width:40px;height:40px;margin:0}
  .fd-shelf .fd-browse {padding-inline:5px}
}
@media(min-width:1101px) and (max-width:1450px) {
  #featured-heading {font-size:clamp(37px,3.35vw,49px)}
}

/* The Christmas collection is a film rail beneath the homepage scene. */
.fd-shelf.fd-holiday {margin:0;padding-block:clamp(26px,3.2vw,48px) clamp(28px,3.6vw,56px);scroll-margin-top:12px}
.fd-holiday .fd-shelf-heading {margin-bottom:16px}
.fd-holiday .fd-shelf-heading h2 {font-size:clamp(25px,2.9vw,43px);font-weight:570;letter-spacing:-.044em}
.fd-holiday .fd-shelf-heading h2:lang(zh),.fd-holiday .fd-shelf-heading h2:lang(ja),.fd-holiday .fd-shelf-heading h2:lang(ko) {letter-spacing:0}
.fd-holiday .fd-film,.fd-holiday .fd-film:first-child {flex-basis:clamp(172px,15.8vw,236px);height:auto;aspect-ratio:4 / 5}
.fd-holiday .fd-controls {gap:7px}
.fd-holiday .fd-controls .fd-motion {margin-inline-end:8px}
@media(max-width:640px) {
  .fd-holiday .fd-shelf-heading {margin-bottom:12px}
  .fd-holiday .fd-film,.fd-holiday .fd-film:first-child {flex-basis:clamp(146px,43vw,208px)}
  .fd-holiday .fd-controls .fd-motion {margin:0}
}
.site-header .ms-nav a[data-holiday-link] {color:var(--ms-ink,inherit)}
.site-header .ms-nav a[data-holiday-link] svg {width:20px;height:24px;display:block;flex:none}
html body .reward-banner:has(.reward-banner-link) {background:#8f2033;color:#fff5e7;border-color:#771b2b}
html body .reward-banner:has(.reward-banner-link)::before {
  inset:0;opacity:1;filter:none;transform:none;animation:none;
  background:linear-gradient(100deg,#741629,#a52539 48%,#811c30);
}
html body .reward-banner:has(.reward-banner-link)::after {content:none}
html body .reward-banner .reward-banner-link .reward-banner-gift {color:#f1c7a6}
@media(max-width:740px) {
  .site-header .ms-nav a[data-holiday-link] svg {height:20px}
  html:lang(zh) .site-header .ms-nav > a[data-holiday-link] {flex-direction:row;gap:3px;padding-inline:0;justify-content:center}
  html:lang(zh) .site-header .ms-nav > a[data-holiday-link] > svg {display:block;width:14px;height:17px}
}
@media(max-width:350px) {
  html:lang(zh) .site-header .ms-nav > a[data-holiday-link] {font-size:12px;gap:2px}
}
