
/* OUJI home bundle: addon149.css */
/* Add-on 149 reuses the live bag-band and bag-card geometry. */
#ouji-addon149-section[hidden] { display: none !important; }
#ouji-addon149-section { scroll-margin-top: 125px; }
#ouji-addon149-section.ouji-addon149--home {
  --bag-tint: #ecf3f6;
  --bag-teal: #36728a;
  --bag-muted: #5a6a70;
  --bag-brand: #5289a2;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}
#ouji-addon149-section .ouji-addon149-prices {
  display: grid;
  align-items: start;
  gap: 2px;
  font-size: 10.5px;
  line-height: 1.25;
  white-space: normal;
}
#ouji-addon149-section .ouji-addon149-price {
  display: flex;
  flex-direction: column;
  color: #b92e38;
  font-size: 11px;
  line-height: 1.2;
}
#ouji-addon149-section .ouji-addon149-limit {
  margin-top: 5px;
  color: #a82636;
  font-size: 10px;
  font-weight: 700;
}
#ouji-addon149-section .ouji-addon149-add:disabled {
  background: #e4ecef;
  color: #526c76;
  cursor: not-allowed;
}
#ouji-addon149-section .ouji-addon149-add.is-done { background: var(--bag-teal); }
#ouji-addon149-section.ouji-linked-offer {
  position: relative;
  box-sizing: border-box;
  border: 1px dashed var(--ouji-addon149-accent, #b64b6b);
  border-radius: 18px;
}
#ouji-addon149-section.ouji-linked-offer[data-unlocked="true"] {
  border-style: solid;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ouji-addon149-accent, #b64b6b) 15%, transparent);
}
#ouji-addon149-section.ouji-linked-offer .bag-band__title,
#ouji-addon149-section.ouji-linked-offer .bag-band__more { color: var(--ouji-addon149-ink, #a23d5b); }
#ouji-addon149-section.ouji-linked-offer .bag-band__sub { color: var(--ouji-addon149-sub, #9e526b); }
#ouji-addon149-section .ouji-addon149-origin {
  position: absolute;
  left: 20px;
  top: -10px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--ouji-addon149-accent, #b64b6b);
  color: var(--ouji-addon149-badge-ink, #fff);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-decoration: none;
}
#ouji-addon149-progress { scroll-margin-top: 125px; }
#ouji-addon149-progress .bag-goal__perks { display: flex; flex-wrap: wrap; gap: 6px; }
#ouji-addon149-progress .bag-goal__perks li { flex: 1 1 auto; justify-content: center; }
#ouji-addon149-progress .ouji-addon149-jump { color: inherit; text-decoration: none; font: inherit; }
#ouji-addon149-progress .ouji-addon149-milestone { outline: 1px solid currentColor; outline-offset: 2px; }
#ouji-addon149-progress .ouji-addon149-milestone.is-won { font-weight: 800; }
.bag-band--sd .bag-card.is-expired .bag-card__expiry { color: #a82636; }

@media (max-width: 375px) {
  #ouji-addon149-section .ouji-addon149-prices { white-space: normal; }
}

@media (max-width: 768px) {
  #ouji-addon149-section .ouji-addon149-track { grid-auto-columns: 100px; }
}

@media (max-width: 480px) {
  #ouji-addon149-progress .bag-goal__perks { gap: 4px; }
  #ouji-addon149-progress .bag-goal__perks li {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    height: auto;
    min-height: 26px;
    padding: 4px 6px;
    white-space: normal;
    line-height: 1.25;
  }
  #ouji-addon149-progress .bag-goal__perks i { flex: 0 0 18px; }
}


/* OUJI home bundle: home-top.css */
/* 首頁頂部三段（品牌海報、免運門檻、商品分類）。
   2026-10-12 由設計預覽（ouji-design-review）逐條抽出實際作用喺呢三段嘅規則，
   全部包喺 .home-top 入面，唔影響首頁其他部分。改樣式改呢個檔。 */
.home-top {
  --content-width: 1440px;
  --page-gutter: clamp(18px, 4.5vw, 68px);
  --sans: 'Manrope', 'PingFang TC', 'Microsoft JhengHei', -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--sans);
}
@media (max-width: 760px) { .home-top { --page-gutter: 20px; } }
.home-top .content-wrap { width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width)); margin-inline: auto; }
.home-top .sr-only { width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; border: 0px; position: absolute !important; }
.home-categories { box-sizing: border-box; padding: 10px 0px; background: rgb(252, 250, 248); color: rgb(38, 61, 82); }
.home-categories .home-categories__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0px 0px 5px; }
.home-categories .home-categories__heading h2 { margin: 0px; color: rgb(38, 61, 82); font-size: 15px; font-weight: 700; line-height: 20px; }
.home-categories .home-categories__heading > a { flex: 0 0 auto; color: rgb(73, 111, 131); font-size: 12px; font-weight: 650; line-height: 18px; text-decoration: underline; text-underline-offset: 3px; }
.home-categories .home-categories__hint { margin-left: auto; color: rgb(122, 144, 155); font-size: 10px; font-weight: 500; line-height: 16px; letter-spacing: 0.04em; white-space: nowrap; }
.home-categories .home-categories__hint[hidden] { display: none !important; }
.home-categories .home-categories__viewport { position: relative; min-width: 0px; }
.home-categories .home-categories__viewport::before, .home-categories .home-categories__viewport::after { position: absolute; z-index: 1; top: 0px; bottom: 6px; width: 30px; pointer-events: none; content: ""; }
.home-categories .home-categories__links { display: flex; flex-wrap: nowrap; align-items: flex-start; gap: 8px; overflow: auto hidden; padding: 0px 2px 3px; overscroll-behavior-x: contain; scroll-snap-type: x; scroll-padding-inline: 2px; scrollbar-width: thin; scrollbar-color: rgba(73, 111, 131, 0.2) transparent; }
.home-categories .home-categories__link { position: relative; box-sizing: border-box; border: 0px; outline: none; display: flex; flex: 0 0 clamp(145px, -51.4286px + 14.2857vw, 165px); min-width: 0px; flex-direction: column; align-items: center; gap: 4px; color: rgb(52, 73, 90); font-size: 15px; font-weight: 650; line-height: 1.25; text-align: center; text-decoration: none; scroll-snap-align: start; }
.home-categories .home-categories__art { position: relative; isolation: isolate; display: grid; width: 100%; height: 92px; place-items: center; }
.home-categories .home-categories__art::before { position: absolute; z-index: -1; width: 76px; height: 72px; border-radius: 48% 52% 55% 45% / 50% 44% 56% 50%; background: var(--category-wash, rgba(206, 217, 211, .48)); content: ""; transform: rotate(var(--wash-tilt, -3deg)); }
.home-categories .home-categories__link:nth-child(4n+1) { --category-wash: rgba(231, 205, 199, .48); --wash-tilt: -4deg; }
.home-categories .home-categories__link:nth-child(4n+2) { --category-wash: rgba(212, 204, 229, .46); --wash-tilt: 3deg; }
.home-categories .home-categories__link:nth-child(4n+3) { --category-wash: rgba(203, 220, 199, .5); --wash-tilt: -2deg; }
.home-categories .home-categories__link:nth-child(4n) { --category-wash: rgba(197, 216, 230, .52); --wash-tilt: 4deg; }
.home-categories .home-categories__photo { display: block; width: 92px; height: 92px; min-width: 0px; min-height: 0px; object-fit: contain; object-position: center center; transition: transform 180ms; }
.home-categories .home-categories__illustration { mix-blend-mode: normal; }
.home-categories .home-categories__label { position: relative; display: block; max-width: 100%; color: inherit; font-size: 15px; line-height: 1.25; overflow-wrap: normal; }
.home-categories .home-categories__link.home-categories__link--primary { --category-wash: rgba(190, 218, 237, .78); color: rgb(33, 75, 103); }
.home-categories .home-categories__link.home-categories__link--primary:nth-child(2) { --category-wash: rgba(241, 199, 210, .76); }
.home-categories .home-categories__link--primary .home-categories__label::after { position: absolute; right: 15%; bottom: -3px; left: 15%; height: 1px; background: currentcolor; content: ""; opacity: 0.52; }
@media (min-width: 761px) {
  .home-categories > .content-wrap { width: calc(100% - clamp(32px, 5vw, 80px)); max-width: none; margin-inline: auto; }
}
@media (min-width: 761px) {
  .home-categories .home-categories__links { display: grid; grid-template-columns: repeat(12, minmax(0px, 1fr)); gap: clamp(4px, 0.7vw, 12px); overflow: visible; scroll-snap-type: none; }
}
@media (min-width: 761px) {
  .home-categories .home-categories__art { width: 100%; }
}
@media (min-width: 761px) {
  .home-categories .home-categories__photo { width: min(100%, 92px); }
}
@media (min-width: 761px) {
  .home-categories .home-categories__label { font-size: clamp(12px, 1.05vw, 15px); }
}
@media (min-width: 761px) {
  .home-categories .home-categories__viewport::before, .home-categories .home-categories__viewport::after { display: none; }
}
@media (min-width: 761px) and (max-width: 1099px) {
  .home-categories .home-categories__links { grid-template-columns: repeat(6, minmax(0px, 1fr)); row-gap: 14px; }
}
@media (max-width: 760px) {
  .home-categories { padding: 8px 0px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__heading { margin-bottom: 4px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__heading h2 { font-size: 14px; line-height: 18px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__links { gap: 8px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__link { flex-basis: clamp(72px, 22.4719% - 7.19101px, 92px); gap: 3px; font-size: 13px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__art { height: 64px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__photo { width: 64px; height: 64px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__art::before { width: 56px; height: 52px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__label { font-size: 13px; line-height: 1.3; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__links::-webkit-scrollbar { height: 3px; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__links::-webkit-scrollbar-track { background: transparent; }
}
@media (max-width: 760px) {
  .home-categories .home-categories__links::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(73, 111, 131, 0.2); }
}
@media (max-width: 760px) {
  .home-categories .home-categories__links::-webkit-scrollbar-button { display: none; width: 0px; height: 0px; }
}
@media (hover: hover) and (pointer: fine) {
  .home-categories .home-categories__link:hover .home-categories__photo { transform: translateY(-2px); }
}
@media (hover: hover) and (pointer: fine) {
  .home-categories .home-categories__heading > a:hover { color: rgb(41, 79, 102); }
}
@media (prefers-reduced-motion: reduce) {
  .home-categories .home-categories__photo { transition: none; }
}
.home-delivery, .home-delivery * { box-sizing: border-box; }
.home-delivery { padding: 6px 0px; border-block: 1px solid rgba(109, 163, 181, 0.18); background: linear-gradient(105deg, rgb(238, 246, 248) 0%, rgb(244, 242, 248) 54%, rgb(250, 240, 243) 100%); color: rgb(43, 76, 88); }
.home-delivery__grid { display: grid; grid-template-columns: repeat(3, minmax(0px, 1fr)); }
.home-delivery__item { position: relative; min-width: 0px; padding-inline: 8px; text-align: center; }
.home-delivery__item + .home-delivery__item::before { position: absolute; inset-inline-start: 0px; top: 50%; width: 1px; height: 28px; background: rgba(109, 163, 181, 0.22); transform: translateY(-50%); content: ""; }
.home-delivery__heading { display: flex; align-items: center; justify-content: center; gap: 5px; height: 24px; }
.home-delivery__mark { display: inline-flex; flex: 0 0 18px; align-items: center; justify-content: center; color: rgb(107, 152, 168); }
.home-delivery__mark svg { display: block; width: 18px; height: 18px; }
.home-delivery__mark--van { flex-basis: 34px; }
.home-delivery__van { display: block; width: 34px; height: 34px; object-fit: contain; }
.home-delivery__method { margin: 0px; color: rgb(52, 85, 97); font: 600 12px/1.3 var(--sans); white-space: nowrap; }
.home-delivery__offer { display: flex; align-items: baseline; justify-content: center; gap: 5px; margin: 2px 0px 0px; min-height: 18px; }
.home-delivery__amount { color: rgb(75, 106, 118); font: 500 10px/1.15 var(--sans); white-space: nowrap; }
.home-delivery__price { color: rgb(49, 95, 113); font-size: 17px; font-weight: 650; letter-spacing: -0.025em; }
.home-delivery__badge { color: rgb(84, 119, 131); font: 500 10px/1.2 var(--sans); white-space: nowrap; }
@media (max-width: 760px) {
  .home-delivery { padding: 5px 0px; }
}
@media (max-width: 760px) {
  .home-delivery__item { padding-inline: 3px; }
}
@media (max-width: 760px) {
  .home-delivery__heading { gap: 3px; height: 22px; }
}
@media (max-width: 760px) {
  .home-delivery__mark { flex-basis: 14px; }
}
@media (max-width: 760px) {
  .home-delivery__mark svg { width: 14px; height: 14px; }
}
@media (max-width: 760px) {
  .home-delivery__mark--van { flex-basis: 29px; }
}
@media (max-width: 760px) {
  .home-delivery__van { width: 32px; height: 32px; }
}
@media (max-width: 760px) {
  .home-delivery__method { font-size: 10.25px; }
}
@media (max-width: 760px) {
  .home-delivery__offer { gap: 3px; margin-top: 2px; height: 18px; }
}
@media (max-width: 760px) {
  .home-delivery__qualifier { display: none; }
}
@media (max-width: 760px) {
  .home-delivery__price { font-size: 15px; }
}
@media (max-width: 760px) {
  .home-delivery__badge { font-size: 9px; }
}
@media (max-width: 350px) {
  .home-delivery__item { padding-inline: 2px; }
}
@media (max-width: 350px) {
  .home-delivery__heading { gap: 2px; }
}
@media (max-width: 350px) {
  .home-delivery__mark { flex-basis: 12px; }
}
@media (max-width: 350px) {
  .home-delivery__mark svg { width: 12px; height: 12px; }
}
@media (max-width: 350px) {
  .home-delivery__mark--van { flex-basis: 25px; }
}
.home-page.home-unified .home-campaign-hero, .home-page.home-unified .home-campaign-hero * { box-sizing: border-box; }
.home-page.home-unified .home-campaign-hero.content-wrap { width: 100%; max-width: none; margin: 0px; padding: 0px; border: 0px; box-shadow: none; color: rgb(40, 70, 83); font-family: var(--sans); }
.home-page.home-unified .home-campaign-hero__track { display: flex; overflow: hidden; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; touch-action: pan-y pinch-zoom; border-radius: 0px; background: rgb(197, 216, 226); outline-offset: 3px; }
.home-page.home-unified .home-campaign-hero__track::-webkit-scrollbar { display: none; }
.home-page.home-unified .home-campaign-hero__slide { --hero-paper: #c5d8e2; --hero-ink: #284653; position: relative; display: grid; grid-template-columns: minmax(0px, 1fr); flex: 0 0 100%; min-width: 0px; scroll-snap-align: start; scroll-snap-stop: always; background: var(--hero-paper); color: var(--hero-ink); }
.home-page.home-unified .home-campaign-hero__slide--red { --hero-paper: #86110e; --hero-ink: #fff7ef; }
.home-page.home-unified .home-campaign-hero__slide--aqua { --hero-paper: #0b8f9c; --hero-ink: #f2fbfb; }
.home-page.home-unified .home-campaign-hero__slide--peach { --hero-paper: #e6c8a9; --hero-ink: #564233; }
.home-page.home-unified .home-campaign-hero__slide--sage { --hero-paper: #b4c4b2; --hero-ink: #304b3d; }
.home-page.home-unified .home-campaign-hero__media { display: block; grid-area: 1 / 1; position: relative; min-width: 0px; aspect-ratio: 1920 / 873; align-self: stretch; }
.home-page.home-unified .home-campaign-hero__media::after { content: ""; position: absolute; inset: 0px; pointer-events: none; background: none; }
.home-page.home-unified .home-campaign-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
/* 桌面海報：闊高比 ≤1.81 維持手提電腦限高；超闊屏使用 3:1 短版素材，按比例顯示完整畫面。 */
@media (min-width: 761px) and (max-aspect-ratio: 181/100) {
  .home-page.home-unified .home-campaign-hero__media { width: 100%; max-height: clamp(460px, 70vh, 740px); }
  .home-page.home-unified .home-campaign-hero__slide--blue .home-campaign-hero__media img,
  .home-page.home-unified .home-campaign-hero__slide--red .home-campaign-hero__media img,
  .home-page.home-unified .home-campaign-hero__slide--sage .home-campaign-hero__media img { object-position: 50% 0%; }
  .home-page.home-unified .home-campaign-hero__slide--peach .home-campaign-hero__media img { object-position: 50% 70%; }
}
.home-page.home-unified .home-campaign-hero__copy { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; position: absolute; z-index: 2; top: 5%; left: 7%; width: 34%; min-width: 0px; padding: 0px; }
.home-page.home-unified .home-campaign-hero__eyebrow { font: 600 10px/1.5 var(--sans); letter-spacing: 0.08em; opacity: 0.78; }
.home-page.home-unified .home-campaign-hero__eyebrow > span { padding-inline: 3px; }
.home-page.home-unified .home-campaign-hero__title { margin: 16px 0px 12px; font: 650 clamp(28px, 2.55vw, 38px)/1.28 var(--sans); letter-spacing: -0.045em; color: inherit; }
.home-page.home-unified .home-campaign-hero__description { margin: 0px 0px 12px; max-width: 21ch; font: 400 12px/1.7 var(--sans); opacity: 0.83; }
.home-page.home-unified .home-campaign-hero__link { display: inline-flex; align-items: center; align-self: flex-start; gap: 14px; min-height: 44px; color: inherit; font: 700 13px/1.4 var(--sans); text-decoration: none; border-bottom: 1px solid; }
.home-page.home-unified .home-campaign-hero__link svg { width: 21px; height: 21px; }
.home-page.home-unified .home-campaign-hero__signature { display: flex; position: absolute; left: 28px; bottom: 13px; align-items: center; gap: 6px; }
.home-page.home-unified .home-campaign-hero__signature img { display: block; width: 48px; height: 48px; object-fit: contain; }
.home-page.home-unified .home-campaign-hero__signature span { font: 500 9px/1.35 var(--sans); letter-spacing: 0.03em; opacity: 0.64; }
.home-page.home-unified .home-campaign-hero.content-wrap { position: relative; }
.home-page.home-unified .home-campaign-hero__controls, .home-page.home-unified .home-campaign-hero__navigation { display: contents; }
.home-page.home-unified .home-campaign-hero__caption { display: none; }
.home-page.home-unified .home-campaign-hero__pages { position: absolute; z-index: 4; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; }
.home-page.home-unified .home-campaign-hero__page { display: grid; place-items: center; width: 26px; height: 40px; padding: 0px; border: 0px; background: transparent; cursor: pointer; }
.home-page.home-unified .home-campaign-hero__dot { display: block; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.48); transition: transform 160ms, background-color 160ms; }
.home-page.home-unified .home-campaign-hero__page[aria-current] .home-campaign-hero__dot { background: rgb(255, 255, 255); transform: scale(1.4); }
.home-page.home-unified .home-campaign-hero__arrow, .home-page.home-unified .home-campaign-hero__pause { position: absolute; z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; padding: 0px; border: 0px; background: transparent; color: rgba(255, 255, 255, 0.55); cursor: pointer; transition: color 250ms, transform 250ms; }
.home-page.home-unified .home-campaign-hero__arrow { top: 50%; transform: translateY(-50%); filter: drop-shadow(rgba(0, 0, 0, 0.3) 0px 1px 4px); }
.home-page.home-unified .home-campaign-hero__arrow--previous { left: 16px; }
.home-page.home-unified .home-campaign-hero__arrow--next { right: 16px; }
.home-page.home-unified .home-campaign-hero__arrow svg { width: 28px; height: 28px; }
.home-page.home-unified .home-campaign-hero__arrow--previous svg { transform: rotate(180deg); }
.home-page.home-unified .home-campaign-hero__pause { right: 14px; bottom: 8px; }
.home-page.home-unified .home-campaign-hero__pause svg { width: 14px; height: 14px; }
.home-page.home-unified .home-campaign-hero:is([data-hero-tone="blue"], [data-hero-tone="peach"], [data-hero-tone="sage"]) .home-campaign-hero__dot { background: rgba(40, 70, 83, 0.28); }
.home-page.home-unified .home-campaign-hero:is([data-hero-tone="blue"], [data-hero-tone="peach"], [data-hero-tone="sage"]) .home-campaign-hero__page[aria-current] .home-campaign-hero__dot { background: rgb(40, 70, 83); }
.home-page.home-unified .home-campaign-hero:is([data-hero-tone="blue"], [data-hero-tone="peach"], [data-hero-tone="sage"]) .home-campaign-hero__pause { color: rgb(40, 70, 83); }
@media (hover: hover) and (pointer: fine) {
  .home-page.home-unified .home-campaign-hero__arrow:hover { color: rgba(255, 255, 255, 0.95); transform: translateY(-50%) scale(1.1); }
}
@media (hover: hover) and (pointer: fine) {
  .home-page.home-unified .home-campaign-hero__pause:hover { opacity: 0.75; }
}
@media (hover: hover) and (pointer: fine) {
  .home-page.home-unified .home-campaign-hero__link:hover { opacity: 0.7; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__copy { color: rgb(255, 250, 243); text-shadow: rgba(0, 0, 0, 0.15) 0px 1px 2px; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__eyebrow { opacity: 0.9; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__title { margin: 12px 0px 8px; font-size: clamp(24px, 2.5vw, 44px); line-height: 1.2; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__description { display: none; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__link { min-height: 38px; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__slide--red .home-campaign-hero__copy { left: 53%; top: 6%; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__slide--peach .home-campaign-hero__copy { top: auto; bottom: 10%; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__slide--sage .home-campaign-hero__copy { left: 44%; top: 3%; width: 27%; color: rgb(33, 60, 48); text-shadow: none; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__slide--sage .home-campaign-hero__eyebrow { display: none; }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__slide--sage .home-campaign-hero__title { margin-top: 0px; font-size: clamp(22px, 2.1vw, 36px); }
}
@media (min-width: 901px) {
  .home-page.home-unified .home-campaign-hero__signature { color: rgb(255, 250, 243); text-shadow: rgba(0, 0, 0, 0.15) 0px 1px 2px; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__slide { grid-template-columns: minmax(0px, 1fr); }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__media { grid-area: 1 / 1; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__media::after { background: linear-gradient(0deg, var(--hero-paper), transparent 9%); }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__copy { grid-row: 2; position: relative; top: auto; left: auto; width: auto; padding: 18px 24px 20px; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__title { margin: 9px 0px 6px; font-size: 27px; line-height: 1.23; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__description { display: none; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__link { min-height: 38px; font-size: 12px; gap: 16px; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__signature { left: auto; right: 21px; bottom: 20px; flex-direction: column; gap: 1px; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__signature img { width: 53px; height: 53px; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__signature span { text-align: center; font-size: 8px; }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__arrow { top: calc(22.75vw); }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__pages { left: 50%; bottom: auto; top: calc(-46px + 45.47vw); }
}
@media (max-width: 900px) {
  .home-page.home-unified .home-campaign-hero__pause { bottom: auto; top: calc(-46px + 45.47vw); }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero.content-wrap { width: 100%; max-width: none; margin: 0px; padding: 0px; border: 0px; box-shadow: none; }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__track { border: 0px; border-radius: 0px; box-shadow: none; }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__media { aspect-ratio: 3 / 4; }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__media img { object-fit: cover; }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__arrow { top: calc(66.6667vw); }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__arrow--previous { left: 16px; }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__arrow--next { right: 16px; }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__page { height: 28px; }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__pages { top: calc(-28px + 133.333vw); }
}
@media (max-width: 760px) {
  .home-page.home-unified .home-campaign-hero__pause { top: calc(-44px + 133.333vw); }
}
@media (max-width: 360px) {
  .home-page.home-unified .home-campaign-hero__copy { padding-inline: 18px; }
}
@media (max-width: 360px) {
  .home-page.home-unified .home-campaign-hero__title { font-size: 24px; }
}
@media (max-width: 360px) {
  .home-page.home-unified .home-campaign-hero__signature { right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page.home-unified .home-campaign-hero__dot { transition: none; }
}

/* 同舊 hero 一樣：海報向上伸入透明頁頭後面，未碌之前頂部冇白色頁頭底。
   頂部加一層淡陰影，白色頁頭字喺淺色海報上面都睇得清；桌面版文案由頁頭底開始排，避開相入面印住嘅字。 */
.home-top { margin-top: calc(-1 * var(--hdr-h, var(--header-height))); }
.home-top .home-campaign-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: calc(var(--hdr-h, var(--header-height)) + 48px);
  background: linear-gradient(rgba(24, 44, 54, 0.34), rgba(24, 44, 54, 0));
  pointer-events: none;
}
@media (min-width: 901px) {
  .home-top.home-page.home-unified .home-campaign-hero__slide:not(.home-campaign-hero__slide--peach) .home-campaign-hero__copy { top: calc(var(--hdr-h, var(--header-height)) + 2%); }
}

/* ===== SEOUL BEAUTY 跑馬燈＋行路芝麻 =====
   原本靠 html[data-motion] 開關動畫；live 冇呢個屬性，改成掛喺 .home-play-strip 自己身上，由 home-top.js 切換。 */
.home-play-strip { position: relative; isolation: isolate; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0px; height: 88px; min-height: 88px; flex: 0 0 auto; overflow: hidden; color: var(--primary-deep, #2b4c58); background: rgb(220, 233, 236); border-bottom: 1px solid var(--line, rgba(43, 76, 88, .16)); }
.home-play-strip__scene { position: absolute; inset: 0px; isolation: isolate; min-width: 0px; overflow: hidden; pointer-events: none; }
.home-play-strip__marquee { position: absolute; inset: 0px; z-index: 0; display: flex; align-items: center; overflow: hidden; }
.home-play-strip__marquee-track { display: flex; width: max-content; animation: 48s linear 0s infinite normal none paused home-play-strip-marquee; will-change: transform; }
.home-play-strip__marquee-group { display: flex; flex: 0 0 auto; align-items: center; gap: 35px; padding-inline-end: 35px; color: var(--primary-deep, #2b4c58); font: 700 clamp(38px, 5.2vw, 72px)/1 var(--brand, "League Spartan", sans-serif); letter-spacing: -0.04em; white-space: nowrap; }
.home-play-strip__marquee-group i { color: inherit; font: normal 42px/1 var(--hand, serif); }
.home-play-strip__star { display: block; width: 1em; height: 1em; flex: 0 0 auto; background: currentcolor; mask: url("assets/images/decorative-star.svg") center center / contain no-repeat; }
.home-play-strip__marquee-outline { color: transparent; -webkit-text-stroke: 1px var(--primary-deep, #2b4c58); }
.home-play-strip__cat-route { position: absolute; inset: 0px; z-index: 2; transform: translateX(8%); opacity: 1; animation: 32s linear 0s infinite normal none paused home-play-strip-cat-route; }
.home-play-strip__cat-window { position: absolute; bottom: 0px; left: 0px; display: block; width: 78px; height: 78px; overflow: hidden; }
.home-play-strip__cat-sprite { position: absolute; top: 0px; left: 0px; display: block; width: 400%; max-width: none; height: 200%; object-fit: fill; transform: translate(0px, 0px); animation: 1.2s steps(1) 0s infinite normal none paused home-play-strip-cat-frames; }
.home-play-strip__scene * { animation-play-state: paused; }
.home-play-strip__scene[data-active="true"] * { animation-play-state: running; }
.home-play-strip__motion { position: absolute; top: 2px; right: 4px; z-index: 5; display: grid; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0px; place-items: center; border: 0px; border-radius: 50%; color: var(--primary-deep, #2b4c58); background: transparent; cursor: pointer; }
.home-play-strip__motion > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgb(120, 152, 165); border-radius: 50%; background: rgba(255, 255, 255, 0.91); font: 700 11px/1 var(--sans, sans-serif); }
@media (hover: hover) and (pointer: fine) {
  .home-play-strip__motion:hover > span { background: rgb(255, 255, 255); }
}
.home-play-strip[data-motion="off"] .home-play-strip__scene *, .home-play-strip[data-motion="off"] .home-play-strip__scene ::before, .home-play-strip[data-motion="off"] .home-play-strip__scene ::after { animation: auto ease 0s 1 normal none running none !important; }
.home-play-strip[data-motion="off"] .home-play-strip__marquee-track { transform: translateX(0px) !important; }
.home-play-strip[data-motion="off"] .home-play-strip__cat-route { transform: translateX(8%) !important; opacity: 1 !important; }
.home-play-strip[data-motion="off"] .home-play-strip__cat-sprite { transform: translate(0px, 0px) !important; }
@media (max-width: 760px) {
  .home-play-strip { height: 88px; min-height: 88px; }
}
@media (max-width: 760px) {
  .home-play-strip__marquee-group { gap: 20px; padding-inline-end: 20px; font-size: 38px; }
}
@media (max-width: 760px) {
  .home-play-strip__marquee-group i { font-size: 26px; }
}
@media (max-width: 760px) {
  .home-play-strip__motion { right: 2px; }
}
@media (max-width: 350px) {
  .home-play-strip__marquee-group { gap: 18px; padding-inline-end: 18px; font-size: 36px; }
}
@media (max-width: 350px) {
  .home-play-strip__marquee-group i { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-play-strip__scene *, .home-play-strip__scene ::before, .home-play-strip__scene ::after { animation: auto ease 0s 1 normal none running none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .home-play-strip__marquee-track { transform: translateX(0px) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .home-play-strip__cat-route { transform: translateX(8%) !important; opacity: 1 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .home-play-strip__cat-sprite { transform: translate(0px, 0px) !important; }
}
.home-page.home-unified .home-play-strip__cat-window { width: 96px; height: 96px; }
@keyframes home-play-strip-marquee { 
  100% { transform: translateX(-50%); }
}
@keyframes home-play-strip-cat-route { 
  0% { transform: translateX(8%); opacity: 0; }
  0.5%, 98% { opacity: 1; }
  100% { transform: translateX(calc(82% - 75px)); opacity: 0; }
}
@keyframes home-play-strip-cat-frames { 
  0% { transform: translate(0%, 0%); }
  12.5% { transform: translate(-25%, 0%); }
  25% { transform: translate(-50%, 0%); }
  37.5% { transform: translate(-75%, 0%); }
  50% { transform: translate(0%, -50%); }
  62.5% { transform: translate(-25%, -50%); }
  75% { transform: translate(-50%, -50%); }
  87.5% { transform: translate(-75%, -50%); }
  100% { transform: translate(0px, 0px); }
}

/* 今期著數（Winston 2026-10-17 批）：取代 10-13「好物，有禮。」長橫幅。
   桌面（≥761）：四張 4:5 直身封面並排，下面一行說明（同首頁 IG 段一樣讀法）；唔夠闊就左右掃，唔會壓細到字睇唔到。
   手機（≤760）：Winston 原手機設計稿做大卡，下面三條橫額（短效期／轉季潤唇／Threads 熱話）。
   封面入面嘅字用 cqw，卡幾闊字就跟住縮放，排位唔走樣。 */
/* 闊度跟首頁統一內容線（同 home-codex.css .content-wrap：兩邊留 page-gutter、最闊 1440） */
.little-perks { --perks-gutter: clamp(18px, 4.5vw, 68px); width: min(calc(100% - 2 * var(--perks-gutter)), 1440px); max-width: none; margin: 24px auto 8px; padding-inline: 0; color: #22384a; }
@media (max-width: 700px) { .little-perks { --perks-gutter: 20px; } }
@media (max-width: 360px) { .little-perks { --perks-gutter: 16px; } }
.little-perks__head { margin: 0 0 16px; }
.little-perks__kicker { display: block; font: 600 12px/1.4 'Manrope', 'PingFang TC', sans-serif; letter-spacing: .16em; color: #647784; text-transform: uppercase; }
.little-perks__title { margin: 4px 0 0; font: 400 clamp(28px, 2.5vw, 36px)/1.15 'Cormorant Garamond', 'Noto Serif TC', Georgia, serif; letter-spacing: .04em; color: #22384a; }
.little-perks__terms { margin: 12px 2px 0; color: #5f7482; font: 400 12px/1.5 'Manrope', 'PingFang TC', 'Microsoft JhengHei', sans-serif; }

.little-perks__covers { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.little-perks__covers::-webkit-scrollbar { display: none; }
.little-perks__cv { display: flex; flex-direction: column; gap: 12px; min-width: 0; color: inherit; text-decoration: none; scroll-snap-align: start; }
.little-perks__art { position: relative; aspect-ratio: 4 / 5; container-type: inline-size; border-radius: 24px; overflow: hidden; background: #eef2f5; box-shadow: 0 1px 2px rgba(40, 60, 80, .06), 0 10px 26px rgba(40, 60, 80, .1); transition: transform .25s ease, box-shadow .25s ease; }
a.little-perks__cv:hover .little-perks__art { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(40, 60, 80, .08), 0 18px 36px rgba(40, 60, 80, .16); }
a.little-perks__cv:focus-visible { outline: none; }
a.little-perks__cv:focus-visible .little-perks__art { outline: 3px solid #4b6377; outline-offset: 3px; }
.little-perks__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.little-perks__cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 0 4px; }
.little-perks__t { margin: 0; font: 700 15px/1.35 'Manrope', 'PingFang TC', sans-serif; letter-spacing: .02em; }
.little-perks__s { margin: 4px 0 0; font: 400 13px/1.45 'Manrope', 'PingFang TC', sans-serif; color: #647784; }
.little-perks__go { flex: none; width: 32px; height: 32px; border-radius: 99px; border: 1px solid rgba(34, 56, 74, .18); display: grid; place-items: center; font: 600 14px/1 'Manrope', sans-serif; transition: background .2s ease, color .2s ease; }
a.little-perks__cv:hover .little-perks__go { background: #22384a; color: #fff; border-color: #22384a; }

/* 封面 3：轉季潤唇（AMUSE × Sanrio 原圖做底） */
.little-perks__lip::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(244, 236, 250, .92) 0%, rgba(244, 236, 250, .6) 30%, rgba(244, 236, 250, 0) 46%); }
.little-perks__lip-txt { position: absolute; z-index: 2; left: 7.6cqw; right: 7.6cqw; top: 7.6cqw; }
.little-perks__lip-k { margin: 0; font: 700 3.5cqw/1.3 'Manrope', sans-serif; letter-spacing: .18em; color: #6b5a86; text-transform: uppercase; }
.little-perks__lip-h { margin: 3cqw 0 0; font: 600 12cqw/1.12 'Noto Serif TC', serif; color: #2c2442; letter-spacing: .04em; }
.little-perks__lip-h em { font-style: normal; color: #b0457a; }
.little-perks__lip-tag { position: absolute; z-index: 2; left: 5cqw; bottom: 5cqw; display: flex; align-items: center; gap: 2.5cqw; padding: 2.5cqw 3.8cqw 2.5cqw 2.5cqw; border-radius: 999px; background: rgba(255, 255, 255, .88); box-shadow: 0 4px 14px rgba(80, 50, 110, .16); font: 600 3.6cqw/1.25 'Manrope', 'PingFang TC', sans-serif; color: #2c2442; }
.little-perks__lip-tag b { display: block; font-weight: 700; }
.little-perks__lip-tag i { flex: none; width: 7cqw; height: 7cqw; border-radius: 99px; background: linear-gradient(135deg, #f5b4d4, #c9b3f2); }

/* 封面 4：Threads 熱話榜（黑底；每件直接連產品頁） */
.little-perks__thr { background: #0b0b0c; color: #f5f5f5; }
/* cqw 要喺容器入面先計到卡闊，所以 padding 放喺內層 */
.little-perks__thr-in { position: absolute; inset: 0; padding: 7cqw 6.3cqw 5.7cqw; display: flex; flex-direction: column; }
.little-perks__thr-top { display: flex; align-items: center; gap: 2.5cqw; font: 700 4.7cqw/1 'Manrope', sans-serif; }
.little-perks__thr-top svg { width: 8.2cqw; height: 8.2cqw; fill: #fff; }
.little-perks__thr-pill { margin-left: auto; font: 700 3.3cqw/1 'Manrope', 'PingFang TC', sans-serif; letter-spacing: .12em; color: #0b0b0c; background: #fff; padding: 1.6cqw 2.5cqw; border-radius: 99px; }
.little-perks__thr-h { margin: 5cqw 0 0; font: 700 9.5cqw/1.1 'Manrope', 'PingFang TC', sans-serif; letter-spacing: -.01em; }
.little-perks__thr-s { margin: 1.9cqw 0 0; font: 500 4cqw/1.45 'Manrope', 'PingFang TC', sans-serif; color: #a1a1a6; }
.little-perks__thr-list { list-style: none; margin: 4.4cqw 0 0; padding: 0; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.little-perks__thr-list li { border-top: 1px solid #26262a; }
.little-perks__thr-row { display: grid; grid-template-columns: 5.7cqw 15.2cqw 1fr; align-items: center; gap: 3.2cqw; padding: 2.2cqw 0; color: #f5f5f5; text-decoration: none; }
.little-perks__thr-n { font: 700 4.4cqw/1 'Manrope', sans-serif; color: #8e8e93; text-align: center; }
.little-perks__thr-list img { width: 15.2cqw; height: 15.2cqw; border-radius: 3.8cqw; object-fit: cover; background: #fff; display: block; }
.little-perks__thr-p { font: 600 4cqw/1.35 'Manrope', 'PingFang TC', sans-serif; }
.little-perks__thr-p small { display: block; font-weight: 500; font-size: 3.5cqw; color: #8e8e93; margin-top: .6cqw; }

/* 手機：原設計稿大卡＋三條橫額 */
/* 中英各一套圖／句：html[lang] 由 shopify.js initLangToggle 設定；隱藏嗰套 lazy 圖唔會下載 */
html[lang="en"] .little-perks .little-perks__zh, html:not([lang="en"]) .little-perks .little-perks__en { display: none !important; }
.little-perks__mob { display: none; }
@media (max-width: 760px) {
  .little-perks__covers { display: none; }
  .little-perks__head { margin-bottom: 12px; }
  .little-perks__mob { display: flex; flex-direction: column; gap: 10px; }
}
.little-perks__hero { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 28px rgba(70, 96, 114, .1); }
.little-perks__hero img { display: block; width: 100%; height: auto; }
.little-perks__row { position: relative; display: block; height: 100px; border-radius: 16px; overflow: hidden; color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(40, 60, 80, .06), 0 6px 16px rgba(40, 60, 80, .08); }
.little-perks__row--short img { display: block; width: 100%; height: 100%; object-fit: cover; }
.little-perks__row--lip { background: linear-gradient(100deg, #f6eefb 0%, #efe2f6 55%, #e9d9f3 100%); }
.little-perks__row--lip img { position: absolute; right: 0; top: 0; height: 100%; width: 52%; object-fit: cover; object-position: 62% 46%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
.little-perks__row-txt { position: absolute; z-index: 1; left: 18px; top: 50%; transform: translateY(-50%); max-width: 58%; }
.little-perks__row-k { margin: 0; font: 700 10px/1.3 'Manrope', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #6b5a86; }
.little-perks__row-h { margin: 4px 0 0; font: 600 21px/1.15 'Noto Serif TC', serif; letter-spacing: .03em; color: #2c2442; }
.little-perks__row-h em { font-style: normal; color: #b0457a; }
html[lang="en"] .little-perks__row--lip .little-perks__row-h { font-size: 18px; line-height: 1.12; }
.little-perks__row-s { margin: 4px 0 0; font: 600 11.5px/1.35 'Manrope', 'PingFang TC', sans-serif; color: #4f4466; }
.little-perks__row-go { position: absolute; right: 12px; bottom: 10px; z-index: 2; width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; font: 700 12px/1 'Manrope', sans-serif; background: rgba(255, 255, 255, .9); color: #22384a; }
.little-perks__row--thr { background: #0b0b0c; }
.little-perks__row--thr .little-perks__row-txt { max-width: 52%; }
.little-perks__row--thr .little-perks__row-k { display: flex; align-items: center; gap: 6px; color: #fff; font: 700 13px/1 'Manrope', 'PingFang TC', sans-serif; letter-spacing: 0; text-transform: none; }
.little-perks__row--thr .little-perks__row-k svg { width: 18px; height: 18px; fill: #fff; }
.little-perks__row--thr .little-perks__row-h { font: 700 20px/1.15 'Manrope', 'PingFang TC', sans-serif; color: #fff; letter-spacing: 0; margin-top: 6px; }
html[lang="en"] .little-perks__row--thr .little-perks__row-h { font-size: 17px; } /* 英文「Hot on Threads」20px 會撞到右邊四張縮圖 */
.little-perks__row--thr .little-perks__row-s { color: #a1a1a6; font-weight: 500; }
.little-perks__faces { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); display: flex; }
.little-perks__faces span { display: block; margin-left: -8px; border-radius: 12px; }
.little-perks__faces img { width: 44px; height: 44px; border-radius: 12px; border: 2px solid #0b0b0c; background: #fff; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .little-perks__art, .little-perks__go { transition: none; } }

@media (min-width: 1800px) and (min-aspect-ratio: 181/100) {
  .home-page.home-unified .home-campaign-hero__media { aspect-ratio: 3 / 1; max-height: none; }
  .home-page.home-unified .home-campaign-hero__slide--peach .home-campaign-hero__copy { top: 7%; bottom: auto; color: #564233; text-shadow: none; }
  .home-top.home-page.home-unified .home-campaign-hero__slide.home-campaign-hero__slide--blue .home-campaign-hero__copy { top: calc(var(--hdr-h, var(--header-height, 68px)) + 2%); }
  .home-top.home-page.home-unified .home-campaign-hero__slide.home-campaign-hero__slide--red .home-campaign-hero__copy { left: 53%; top: calc(var(--hdr-h, var(--header-height, 68px)) + 2%); }
  .home-top.home-page.home-unified .home-campaign-hero__slide.home-campaign-hero__slide--sage .home-campaign-hero__copy { left: 44%; top: calc(var(--hdr-h, var(--header-height, 68px)) + 2%); width: 27%; }
  .home-page.home-unified .home-campaign-hero__title { font-size: clamp(30px, 2vw, 40px); }
  .home-page.home-unified .home-campaign-hero__slide--sage .home-campaign-hero__title { font-size: clamp(28px, 2vw, 36px); }
}

/* 福袋 section（index.html .home-lucky，喺 .home-codex 入面「美妝精選」之後、「美妝品牌」之前）：一行兩張卡（福袋、盲盒），卡內用細色點列出類別。
   手機：兩格直卡；761px 起：橫卡加「去揀」掣。中英用 .hl-zh／.hl-en 切換。 */
.home-lucky{padding-block:32px}
.home-lucky .hl-en{display:none}
html[lang="en"] .home-lucky .hl-en{display:inline}
html[lang="en"] .home-lucky .hl-zh{display:none}
.home-lucky__head{margin-bottom:16px}
.home-lucky__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.home-lucky__card{display:flex;flex-direction:column;background:#fff;border-radius:16px;overflow:hidden;color:inherit;text-decoration:none;box-shadow:0 1px 2px rgba(30,48,56,.08),0 8px 24px -16px rgba(30,48,56,.25)}
.home-lucky__card img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.home-lucky__body{padding:12px;display:grid;gap:4px;align-content:start}
.home-lucky__name{margin:0;font-size:16px;line-height:1.3;color:#2b4c58}
.home-lucky__desc{margin:0;font-size:12px;line-height:1.45;color:#5b6b72}
.home-lucky__chips{display:flex;flex-wrap:wrap;gap:4px 8px;margin:4px 0 0;padding:0;list-style:none}
.home-lucky__chip{display:inline-flex;align-items:center;gap:4px;font-size:12px;line-height:1.4;color:#1e3038;white-space:nowrap}
.home-lucky__dot{display:block;width:8px;height:8px;border-radius:50%;flex:none}
.home-lucky__price{margin:4px 0 0;font-weight:800;font-size:16px;color:#1e3038;font-variant-numeric:tabular-nums}
.home-lucky__cta{display:none}
/* 福袋 section 而家喺 .home-codex 入面（Threads 熱門／美妝精選之後）。home-codex.css 有 `.home-codex h2/h3 {font-weight:500}`、
   `.home-codex p {margin-top:0}`（specificity 0,1,1），會改到本段標題粗幼同 p 嘅上邊距；呢度用 0,2,0 以上抵消，值同原本（喺 .home-codex 外面）一樣。 */
.home-lucky .heading-lg{font-weight:400}
.home-lucky .home-lucky__name{font-weight:700}
.home-lucky .label{margin-top:1em}
.home-lucky .home-lucky__price{margin-top:4px}
.home-lucky .home-lucky__maxv{display:inline-block;justify-self:start;margin:6px 0 0;background:#ffd60a;color:#141414;font-weight:700;font-size:13px;line-height:1;padding:4px 10px;border-radius:999px;white-space:nowrap;font-variant-numeric:tabular-nums}
@media (min-width:761px){
  .home-lucky{padding-block:48px}
  .home-lucky__grid{gap:24px}
  .home-lucky__card{flex-direction:row;align-items:center}
  .home-lucky__card img{width:44%;flex:none}
  .home-lucky__body{padding:24px 32px;gap:8px}
  .home-lucky__name{font-size:24px}
  .home-lucky__desc{font-size:14px}
  .home-lucky__chips{gap:6px 12px}
  .home-lucky__chip{font-size:13px}
  .home-lucky__price{font-size:20px}
  .home-lucky__cta{display:inline-flex;justify-self:start;margin-top:8px;padding:10px 20px;border-radius:999px;background:#397f93;color:#fff;font-weight:700;font-size:14px}
}
.home-lucky__was{margin-left:4px;font-weight:500;font-size:.75em;color:#8a979c}
.home-lucky__sub{margin:8px 0 0;font-size:14px;line-height:1.5;color:#5b6b72}


/* OUJI home bundle: home-member.css */
/* 首頁「加入 OUJI Member」（2026-10-13 由設計預覽搬上嚟，取代舊會員段）。
   手機用 Codex 原版（插畫按闊度定高，卡變高向下長、唔遮芝麻）；桌面固定 500px：左邊玻璃資訊卡、右邊芝麻同鋪面做主角。
   段底只係地磚色，唯一嘅圓弧由頁尾畫（向上疊 30px）；手機卡底留 48px，圓弧頂唔會被卡切走。 */
body:has(#ouji-member) .footer { margin-top: -30px; }
/* Membership follows the supplied illustration and compact welcome card. */
#ouji-member,
#ouji-member * { box-sizing: border-box; }
#ouji-member { position: relative; isolation: isolate; width: 100%; margin: 0; overflow: hidden; background: #fbf9f5; color: #2b4c58; font-family: var(--font-body); }
#ouji-member .home-member-scene__art { position: absolute; inset: 0; z-index: 0; display: block; pointer-events: none; }
#ouji-member .home-member-scene__art img { display: block; width: 100%; max-width: none; height: 100%; object-fit: cover; object-position: center; }
#ouji-member .home-member-scene__inner { position: relative; z-index: 1; display: grid; grid-template-rows: auto minmax(100px,1fr) auto; width: 100%; max-width: 1576px; min-height: 640px; margin-inline: auto; padding: 40px clamp(18px,4.5vw,68px); }
#ouji-member .home-member-scene__heading { grid-row: 1; max-width: min(440px,48%); min-width: 0; }
#ouji-member .home-member-scene__eyebrow { margin: 0; color: #54727c; font: 500 11px/1.4 var(--font-body); letter-spacing: .045em; }
#ouji-member .home-member-scene__title { margin: 10px 0 0; color: #2b4c58; font: 500 clamp(40px,3.8vw,54px)/1.06 var(--font-display); letter-spacing: -.025em; }
#ouji-member .home-member-scene__intro { margin: 13px 0 0; color: #405d68; font: 400 14px/1.6 var(--font-body); letter-spacing: .04em; }
#ouji-member .home-member-scene__panel { grid-row: 3; width: 100%; max-width: min(520px,48%); min-width: 0; padding: 24px 28px; border: 1px solid rgba(255,255,255,.66); border-radius: 22px; background: rgba(251,249,245,.96); box-shadow: none; overflow-wrap: break-word; }
#ouji-member .home-member-scene__gift { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
#ouji-member .home-member-scene__gift-amount { min-width: 0; }
#ouji-member .home-member-scene__gift-label { margin: 0 0 3px; color: #54727c; font: 400 11px/1.4 var(--font-body); letter-spacing: .025em; }
#ouji-member .home-member-scene__gift-value { display: flex; align-items: baseline; gap: 7px; margin: 0; color: #2b4c58; line-height: 1; white-space: nowrap; }
#ouji-member .home-member-scene__gift-value strong { font: 500 58px/.93 var(--font-display); letter-spacing: -.035em; font-variant-numeric: lining-nums tabular-nums; }
#ouji-member .home-member-scene__gift-value > span { font: 400 17px/1.3 var(--font-display); }
#ouji-member .home-member-scene__gift-message { display: flex; align-items: center; gap: 9px; padding-left: 15px; border-left: 1px solid rgba(84,114,124,.16); color: #54727c; font: 400 12px/1.5 var(--font-body); }
#ouji-member .home-member-scene__gift-icon,
#ouji-member .home-member-scene__benefit-icon { display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #628491; background: #edf0ef; }
#ouji-member .home-member-scene__gift-icon { width: 38px; height: 38px; }
#ouji-member .home-member-scene__gift-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
#ouji-member .home-member-scene__description { margin: 12px 0 0; color: #54727c; font: 400 12px/1.6 var(--font-body); }
#ouji-member .home-member-scene__benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
#ouji-member .home-member-scene__benefits li { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 56px; padding: 8px 10px; border: 1px solid rgba(84,114,124,.12); border-radius: 12px; background: rgba(255,255,255,.32); }
#ouji-member .home-member-scene__benefit-icon { width: 32px; height: 32px; }
#ouji-member .home-member-scene__benefit-icon svg { width: 21px; height: 21px; stroke-width: 1.5; }
#ouji-member .home-member-scene__benefit-copy { display: grid; min-width: 0; gap: 1px; }
#ouji-member .home-member-scene__benefit-copy strong { color: #344f59; font: 500 13px/1.4 var(--font-body); }
#ouji-member .home-member-scene__benefit-copy > span { color: #54727c; font: 400 12px/1.4 var(--font-body); }
#ouji-member .home-member-scene__join { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 44px; margin: 10px 0 0; padding: 8px 16px; border: 0; border-radius: 999px; background: #7d9eac; color: #fff; font: 500 14px/1.4 var(--font-body); letter-spacing: .075em; text-align: center; text-decoration: none; box-shadow: none; }
#ouji-member .home-member-scene__join svg { flex: 0 0 auto; width: 19px; height: 19px; stroke-width: 1.5; }
#ouji-member .home-member-scene__fineprint { margin: 8px 0 0; color: #54727c; font: 400 10px/1.5 var(--font-body); text-align: center; }
#ouji-member .home-member-scene__fineprint a { margin-left: .45em; color: inherit; white-space: nowrap; text-underline-offset: 3px; text-decoration-thickness: 1px; }
#ouji-member a:focus-visible { outline: 2px solid #397f93; outline-offset: 4px; }
@media (hover:hover) {
  #ouji-member .home-member-scene__join:hover { background: #6d909f; color: #fff; }
  #ouji-member .home-member-scene__fineprint a:hover { color: #2b4c58; }
}
@media (min-width:761px) and (max-width:1000px) {
  #ouji-member .home-member-scene__panel { padding: 20px; max-width: 49%; }
  #ouji-member .home-member-scene__gift { gap: 8px; }
  #ouji-member .home-member-scene__gift-message { gap: 7px; padding-left: 10px; font-size: 11px; }
  #ouji-member .home-member-scene__gift-value strong { font-size: 52px; }
  #ouji-member .home-member-scene__gift-value > span { font-size: 15px; }
  #ouji-member .home-member-scene__benefits li { gap: 7px; padding-inline: 8px; }
  #ouji-member .home-member-scene__benefit-copy strong { font-size: 11.5px; }
}
@media (max-width:760px) {
  /* 插畫按闊度定高、唔跟段落拉伸；卡變高時向下長，唔會向上遮芝麻（腳底約 77.4vw） */
  #ouji-member .home-member-scene__art { background: #faf6f1; }
  #ouji-member .home-member-scene__art img { height: auto; object-position: center top; -webkit-mask-image: linear-gradient(#000 88%, transparent 92.5%); mask-image: linear-gradient(#000 88%, transparent 92.5%); }
  #ouji-member .home-member-scene__inner { grid-template-rows: auto minmax(130px,1fr) auto; min-height: max(506px,144.3vw); padding: clamp(34px,10.5vw,46px) 13px 48px; }
  #ouji-member .home-member-scene__heading { min-height: calc(78.5vw - clamp(34px,10.5vw,46px) - 130px); max-width: 64%; margin-left: 8px; }
  #ouji-member .home-member-scene__eyebrow { font-size: 10px; }
  #ouji-member .home-member-scene__title { margin-top: 9px; font-size: clamp(28px,8vw,34px); line-height: 1.06; }
  #ouji-member .home-member-scene__intro { margin-top: 8px; font-size: 12px; }
  #ouji-member .home-member-scene__panel { max-width: none; padding: 15px 16px 12px; border-radius: 18px; }
  #ouji-member .home-member-scene__gift { gap: 8px; }
  #ouji-member .home-member-scene__gift-label { margin-bottom: 2px; font-size: 10px; }
  #ouji-member .home-member-scene__gift-value strong { font-size: 43px; }
  #ouji-member .home-member-scene__gift-value > span { font-size: 14px; }
  #ouji-member .home-member-scene__gift-message { gap: 7px; padding-left: 10px; font-size: 10.5px; }
  #ouji-member .home-member-scene__gift-icon { width: 33px; height: 33px; }
  #ouji-member .home-member-scene__gift-icon svg { width: 21px; height: 21px; }
  #ouji-member .home-member-scene__description { margin-top: 7px; font-size: 11px; line-height: 1.5; }
  #ouji-member .home-member-scene__benefits { gap: 9px; margin-top: 8px; }
  #ouji-member .home-member-scene__benefits li { min-height: 44px; gap: 8px; padding: 6px 9px; border-radius: 11px; }
  #ouji-member .home-member-scene__benefit-icon { width: 27px; height: 27px; }
  #ouji-member .home-member-scene__benefit-icon svg { width: 18px; height: 18px; }
  #ouji-member .home-member-scene__benefit-copy strong,
  #ouji-member .home-member-scene__benefit-copy > span { font-size: 11.5px; line-height: 1.3; }
  #ouji-member .home-member-scene__join { min-height: 36px; margin-top: 7px; padding: 7px 16px; font-size: 13px; }
  #ouji-member .home-member-scene__fineprint { margin-top: 6px; font-size: 9.5px; line-height: 1.5; }
}
@media (max-width:360px) {
  #ouji-member .home-member-scene__art { background: #fbf9f5; }
  #ouji-member .home-member-scene__art img { clip-path: inset(0 0 6% 0); -webkit-mask-image: none; mask-image: none; }
  #ouji-member .home-member-scene__inner { padding-inline: 12px; }
  #ouji-member .home-member-scene__heading { max-width: 66%; margin-left: 7px; }
  #ouji-member .home-member-scene__panel { padding-inline: 14px; }
  #ouji-member .home-member-scene__gift-value strong { font-size: 42px; }
  #ouji-member .home-member-scene__gift-value > span { font-size: 12px; }
  #ouji-member .home-member-scene__gift-message { gap: 6px; padding-left: 8px; font-size: 10px; }
  #ouji-member .home-member-scene__gift-icon { width: 30px; height: 30px; }
  #ouji-member .home-member-scene__benefits li { gap: 6px; padding-inline: 7px; }
  #ouji-member .home-member-scene__benefit-copy strong,
  #ouji-member .home-member-scene__benefit-copy > span { font-size: 10px; }
  #ouji-member .home-member-scene__description { font-size: 10px; }
  #ouji-member .home-member-scene__fineprint { font-size: 8.5px; }
}

@media (min-width:761px) {
  #ouji-member .home-member-scene__intro::after { content: ""; display: block; width: 130px; height: 17px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 24'%3E%3Cpath d='M2 18C48 1 87 0 79 16C107 7 139 5 177 7' fill='none' stroke='%237996a1' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
}

/* 桌面會員段（2026-10-13 Claude 按 Winston 要求重排）：高度跟 Codex 原本 500px，唔加高。
   原本資料卡 660×185、字 10–12px，同 1440×500 嘅背景比例唔夾；改成左邊一塊玻璃卡（標題＋禮遇＋掣一齊），
   卡差唔多佔滿段落高度，字級放大，主掣深色；右邊芝麻、藍門口、燈塔留做主角。
   手機唔郁（.home-member-scene__card 喺手機 display: contents，同 Codex 版一模一樣）。 */
#ouji-member .home-member-scene__card { display: contents; }
@media (min-width:761px) {
  /* 插畫唔再 cover 成條（闊 mon 會裁走芝麻隻腳）：原比例 500px 高靠右，左邊用插畫左緣抽色（淡入只 96px，收喺卡底，唔好淡化帆船）（天→遠山→海→石欄→地磚）延伸，地平線同插畫對齊 54.7% */
  #ouji-member { background: linear-gradient(90deg,rgba(247,243,239,.5),rgba(247,243,239,0) 35%), linear-gradient(180deg,#bcdefc 0,#c8e4fb 18%,#dcecfb 33%,#e3eefa 44%,#cfdeee 49%,#c4d6ea 54.5%,#94c6ea 54.8%,#a2cdec 66%,#b9d8ee 69.4%,#efe7df 69.8%,#ebe3dc 79%,#f7f2ec 80.5%,#f7f3ef 100%); }
  #ouji-member .home-member-scene__art { inset: 0 0 0 auto; width: auto; height: 100%; aspect-ratio: 1672 / 941; -webkit-mask-image: linear-gradient(90deg,transparent,#000 96px); mask-image: linear-gradient(90deg,transparent,#000 96px); }
  #ouji-member .home-member-scene__art img { object-fit: contain; }
  #ouji-member .home-member-scene__inner { display: flex; align-items: center; height: 500px; min-height: 0; padding-block: 26px 50px; }
  #ouji-member .home-member-scene__card {
    display: block; width: min(560px, 52%); padding: 24px 32px 20px;
    border: 1px solid rgba(255,255,255,.8); border-radius: 26px;
    background: rgba(251,249,245,.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(43,76,88,.14);
  }
  #ouji-member .home-member-scene__heading { max-width: none; display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 18px; }
  #ouji-member .home-member-scene__eyebrow { grid-column: 1 / -1; font-size: 12px; letter-spacing: .08em; }
  #ouji-member .home-member-scene__title { margin-top: 6px; font-size: clamp(34px,2.8vw,40px); line-height: 1.08; white-space: nowrap; }
  #ouji-member .home-member-scene__title br { display: none; }
  #ouji-member .home-member-scene__intro { margin: 0 0 6px; font-size: 14px; line-height: 1.4; }
  #ouji-member .home-member-scene__intro::after { width: 96px; height: 10px; margin-top: 2px; }
  #ouji-member .home-member-scene__panel { max-width: none; margin-top: 14px; padding: 14px 0 0; border: 0; border-top: 1px solid rgba(84,114,124,.16); border-radius: 0; background: none; }
  #ouji-member .home-member-scene__gift { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
  #ouji-member .home-member-scene__gift-label { font-size: 12px; letter-spacing: .06em; }
  #ouji-member .home-member-scene__gift-value strong { font-size: 62px; }
  #ouji-member .home-member-scene__gift-value > span { font-size: 18px; }
  #ouji-member .home-member-scene__gift-message { margin-bottom: 6px; padding-left: 16px; font-size: 14px; color: #3f5f6a; }
  #ouji-member .home-member-scene__gift-icon { width: 34px; height: 34px; }
  #ouji-member .home-member-scene__description { margin-top: 8px; font-size: 14px; line-height: 1.55; }
  #ouji-member .home-member-scene__benefits { gap: 12px; margin-top: 10px; }
  #ouji-member .home-member-scene__benefits li { min-height: 56px; gap: 10px; padding: 8px 12px; border-radius: 14px; background: rgba(255,255,255,.55); }
  #ouji-member .home-member-scene__benefit-icon { width: 34px; height: 34px; }
  #ouji-member .home-member-scene__benefit-icon svg { width: 21px; height: 21px; }
  #ouji-member .home-member-scene__benefit-copy strong { font-size: 15px; }
  #ouji-member .home-member-scene__benefit-copy > span { font-size: 13px; }
  #ouji-member .home-member-scene__join { min-height: 48px; margin-top: 12px; background: #34505c; font-size: 15px; letter-spacing: .08em; }
  #ouji-member .home-member-scene__fineprint { margin-top: 8px; font-size: 12px; text-align: left; }
}
@media (hover:hover) and (min-width:761px) {
  #ouji-member .home-member-scene__join:hover { background: #2a4450; }
}
@media (min-width:761px) and (max-width:1100px) {
  /* 窄桌面插畫比畫面闊：向右推走部分鋪面，芝麻唔會縮入卡底 */
  #ouji-member .home-member-scene__art { right: calc(-1 * clamp(0px, (1000px - 100vw) * .55, 140px)); }
  #ouji-member .home-member-scene__card { width: min(500px, 62%); padding: 20px 24px 16px; }
  #ouji-member .home-member-scene__heading { display: block; }
  #ouji-member .home-member-scene__title { font-size: 32px; }
  #ouji-member .home-member-scene__intro { margin-top: 4px; }
  #ouji-member .home-member-scene__intro::after { display: none; }
  #ouji-member .home-member-scene__gift-value strong { font-size: 52px; }
  #ouji-member .home-member-scene__description { display: none; }
  #ouji-member .home-member-scene__benefit-copy strong { font-size: 14px; }
}
@media (min-width:1441px) {
  /* 超過 1440：圓角畫框置中，兩邊係頁面底色（2026-10-14 Winston 話闊 mon 用色帶硬拉闊好怪）；底部留 30px 畀頁尾圓弧疊上嚟。
     2026-10-15 改用 5:1 超闊插畫（member-scene-ultra.webp，左右延伸、冇加植物）：畫框高度照舊 500px，只係左右多咗插畫。
     中間佈局同 1440 屏一樣（Winston：當佢左右冇嘢咁做）；卡對齊首頁統一內容線（同其他段左邊一條線，Winston 2026-10-15）：
     內容區 = 1440 + 兩邊 page-gutter，所以畫框最少要咁闊（1576），否則卡會比其他段縮入。
     插畫跟住卡：1440 屏時原圖左邊喺卡右邊 487px；原圖喺超闊圖 500px 高時由 779px 開始 → left = 50% − 720 + 487 − 779 = 50% − 1012px。
     原圖左邊延伸只得咁多，畫框最闊 2016px（再闊左邊會冇圖） */
  #ouji-member { max-width: max(min(100%, 1576px), min(calc(100% - 64px), 2016px)); margin: 0 auto 30px; border-radius: 28px; }
  #ouji-member .home-member-scene__art { inset: 0 auto 0 calc(50% - 1012px); aspect-ratio: 3654 / 724; -webkit-mask-image: none; mask-image: none; }
  #ouji-member .home-member-scene__art img { object-fit: cover; }
}


/* OUJI home bundle: home-instagram.css */
/* 首頁「喺觀塘，遇見 OUJI。」門市 Instagram 段（2026-10-13 由設計預覽搬上嚟，取代舊 ig-wall）。
   由預覽逐條抽出實際作用喺呢段嘅規則，次序同權重照原版；外層包 .home-page.home-unified.home-ig
   （唔好用 .home-top：佢有向上縮入 header 嘅負邊距）。
   桌面一排 5 張直圖、手機橫掃（約 2 張）都係預覽原設計。 */
.home-ig {
  --content-width: 1440px;
  --page-gutter: clamp(18px, 4.5vw, 68px);
  --sans: 'Manrope', 'PingFang TC', 'Microsoft JhengHei', -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--sans);
}
@media (max-width: 760px) { .home-ig { --page-gutter: 20px; } }
.home-ig .content-wrap { width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width)); margin-inline: auto; }
.home-ig .home-instagram {
  --primary: #6da3b5; --paper: #f7f9f9; --unified-ink: #2b4c58; --primary-dark: #4e8497; --primary-deep: #2b4c58;
  --line: rgba(43, 76, 88, .16); --ink-soft: #4a5e66;
  --serif: "Cormorant Garamond", "Noto Serif TC", Georgia, serif; --hand: "Klee One", "Noto Serif TC", serif;
}
/* 預覽嘅全站基本樣式，只套落呢段 */
.home-instagram a { color: inherit; text-decoration: none; }
.home-instagram img { display: block; max-width: 100%; }
.home-instagram h2, .home-instagram p { margin-top: 0; }
.home-instagram h2 { font-weight: 500; }
.home-instagram ul { margin: 0; }

.home-instagram .joy-kicker { display: block; font: 600 10px/1.6 var(--sans); letter-spacing: 0.13em; }
@media (max-width: 760px) { .home-instagram .joy-kicker { font-size: 8px; letter-spacing: 0.07em; } }
.home-instagram, .home-instagram * { box-sizing: border-box; }
.home-instagram { padding: 32px 0px 42px; border-top: 1px solid var(--line); color: var(--primary-deep); }
.home-instagram__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.home-instagram h2 { font: 600 clamp(28px,3.1vw,40px)/1.25 var(--hand); margin: 8px 0px; color: var(--primary-deep); }
.home-instagram__header p { font-size: 12px; line-height: 1.7; margin: 0px; color: var(--ink-soft); }
.home-instagram__profile { display: inline-flex; align-items: center; gap: 9px; flex: 0 0 auto; padding: 10px 15px; border: 1px solid rgb(174, 203, 216); border-radius: 999px; color: var(--primary-deep); font-size: 12px; text-decoration: none; background: rgba(255, 255, 255, 0.533); }
.home-instagram__profile svg { width: 17px; height: 17px; }
.home-instagram__gallery { display: flex; flex-wrap: nowrap; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x; scrollbar-width: thin; scrollbar-color: #aecbd8 var(--paper); list-style: none; margin: 0px; padding: 4px 0px 10px; }
.home-instagram__gallery > li { flex: 0 0 calc(20% - 11.2px); min-width: 0px; scroll-snap-align: start; }
.home-instagram__card { display: block; text-decoration: none; color: var(--primary-deep); }
.home-instagram__photo { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; background: rgb(234, 240, 243); box-shadow: rgba(43, 76, 88, 0.04) 0px 4px 12px; }
.home-instagram__photo img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.2s; }
.home-instagram__badge { position: absolute; right: 10px; top: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(247, 249, 249, 0.933); color: var(--primary-deep); }
.home-instagram__badge svg { width: 17px; height: 17px; }
.home-instagram__caption { display: flex; gap: 8px; margin-top: 10px; }
.home-instagram__number { font-size: 9px; letter-spacing: 0.06em; padding-top: 3px; color: var(--primary); }
.home-instagram__caption strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.35; font-weight: 600; }
.home-instagram__caption small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.4; color: var(--ink-soft); }
.home-instagram__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.home-instagram__footer p { font-size: 12px; line-height: 1.7; margin: 0px; color: var(--ink-soft); }
.home-instagram__footer a { display: inline-flex; padding: 10px 16px; border: 1px solid rgb(174, 203, 216); border-radius: 999px; color: var(--primary-deep); font-size: 12px; text-decoration: none; }
.home-instagram a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .home-instagram__card:hover .home-instagram__photo img { transform: scale(1.015); } }
@media (hover: hover) and (pointer: fine) { .home-instagram__profile:hover, .home-instagram__footer a:hover { background: rgb(234, 240, 243); } }
@media (min-width: 601px) and (max-width: 1000px) { .home-instagram__gallery > li { flex-basis: calc(31.25% - 11.25px); } }
@media (max-width: 600px) { .home-instagram { padding: 26px 0px 32px; } }
@media (max-width: 600px) { .home-instagram__header { display: block; margin-bottom: 16px; } }
@media (max-width: 600px) { .home-instagram h2 { font-size: 28px; } }
@media (max-width: 600px) { .home-instagram__profile { margin-top: 12px; } }
@media (max-width: 600px) { .home-instagram__gallery { gap: 12px; } }
@media (max-width: 600px) { .home-instagram__gallery > li { flex-basis: min(58vw, 220px); } }
@media (max-width: 600px) { .home-instagram__caption strong { font-size: 13px; } }
@media (max-width: 600px) { .home-instagram__footer { gap: 12px; margin-top: 16px; } }
@media (max-width: 600px) { .home-instagram__footer p { font-size: 11px; } }
@media (max-width: 350px) { .home-instagram h2 { font-size: 25px; } }
@media (prefers-reduced-motion: reduce) { .home-instagram__photo img { transition: none; } }
@media (prefers-reduced-motion: reduce) { .home-instagram__card:hover .home-instagram__photo img { transform: none; } }
.home-page .home-instagram .joy-kicker { font-size: 10px; letter-spacing: 0.1em; }
.home-page .home-instagram { padding-top: 38px; border-top-color: rgba(43, 76, 88, 0.16); }
.home-page .home-instagram h2 { color: var(--primary-deep); font: 500 clamp(30px, 3.5vw, 44px)/1.12 var(--serif); letter-spacing: -0.025em; }
.home-page .home-instagram__gallery { gap: 14px; padding: 9px 0px 16px; }
.home-page .home-instagram__gallery > li:nth-child(2), .home-page .home-instagram__gallery > li:nth-child(4) { transform: translateY(4px); }
.home-page .home-instagram__gallery > li:nth-child(2) .home-instagram__photo::before, .home-page .home-instagram__gallery > li:nth-child(4) .home-instagram__photo::before { position: absolute; z-index: 2; top: 7px; left: 15px; width: 48px; height: 9px; border: 1px solid rgba(255, 255, 255, 0.7); background: rgba(255, 250, 234, 0.72); box-shadow: rgba(43, 76, 88, 0.08) 0px 1px 4px; content: ""; pointer-events: none; transform: rotate(-4deg); }
.home-page .home-instagram__gallery > li:nth-child(4) .home-instagram__photo::before { right: 15px; left: auto; background: rgba(239, 222, 224, 0.72); transform: rotate(3deg); }
.home-page .home-instagram a:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 3px; }
@media (max-width: 760px) { .home-page .home-instagram { padding: 28px 0px 33px; } }
@media (max-width: 760px) { .home-page .home-instagram__gallery { gap: 12px; padding-top: 9px; padding-bottom: 15px; } }
@media (prefers-reduced-motion: reduce) { .home-page .home-instagram__photo img { transition: none; } }
@media (prefers-reduced-motion: reduce) { .home-page .home-instagram__card:hover .home-instagram__photo img { transform: none; } }
.home-page.home-unified .home-instagram { padding-block: 28px 32px; }
.home-page.home-unified .home-instagram h2 { color: var(--unified-ink); font-family: var(--serif); }
.home-page.home-unified .home-instagram__header { margin-bottom: 14px; }
.home-page.home-unified .home-instagram__gallery { gap: 12px; }
.home-page.home-unified .home-instagram__photo { border-radius: 9px; }
@media (max-width: 760px) { .home-page.home-unified .home-instagram { padding-block: 23px 26px; } }
@media (max-width: 760px) { .home-page.home-unified .home-instagram__gallery { padding-bottom: 11px; } }
@media (prefers-reduced-motion: reduce) { .home-page.home-unified .home-instagram__photo img { scroll-behavior: auto; transition: none !important; } }
.home-page.home-unified .home-instagram h2 { font: 500 32px/1.2 var(--serif); }
.home-page.home-unified .home-instagram__photo { border-radius: 6px; }
.home-page.home-unified .home-instagram__footer { margin-top: 12px; }
@media (max-width: 760px) { .home-page.home-unified .home-instagram h2 { font-size: 27px; } }
@media (max-width: 760px) { .home-page.home-unified .home-instagram__gallery > li { flex-basis: 47%; } }
@media (max-width: 760px) { .home-page.home-unified .home-instagram__header { margin-bottom: 12px; } }
@media (max-width: 760px) { .home-page.home-unified .home-instagram__profile { padding: 7px 10px; margin-top: 8px; } }
.home-page.home-unified .home-instagram__photo { border-radius: 24px; overflow: hidden; }


/* OUJI home bundle: home-codex.css */
/* 首頁 Codex 新設計段落：美妝精選、美妝品牌、妝感同護膚、獲獎好物、按需要選購、換季美妝精選、明星同款、好物啱價、美妝以外、玩妝靈感。
   2026-10-15 由 Codex 預覽逐條抽出（port/build_live.py），全部包喺 .home-codex 入面，唔影響首頁其他段落同其他頁面。
   - 規則先後次序同 Codex 一樣；剷走咗嘅頁面前綴（.home-page.home-unified 等）用 .home-codex 重複／:not(#cx-pad) 補返同等優先次序。
   - button／a／img／* 呢類會掂到產品卡入面嘅通用規則用 :where()，同預覽一樣輸畀新卡（product-card-lc.css）。
   - 貨架白框叫 .cx-slot（唔准叫 product-card：分析會重複計曝光、hover 會雙重浮起）。卡入面一律由 product-card-lc.css 負責。
   要改樣式就改呢個檔。 */
.home-codex { --brand: "League Spartan", sans-serif; --brand-tint: #e7f1f4; --content-width: 1440px; --ease-out: cubic-bezier(.23, 1, .32, 1); --hand: "Klee One", "Noto Serif TC", serif; --ink: #1e3038; --ink-soft: #4a5e66; --line: rgba(43, 76, 88, .16); --page-gutter: clamp(18px, 4.5vw, 68px); --paper: #f7f9f9; --primary-dark: #4e8497; --primary-deep: #2b4c58; --sans: "Manrope", "PingFang TC", "Microsoft JhengHei", -apple-system, BlinkMacSystemFont, sans-serif; --serif: "Cormorant Garamond", "Noto Serif TC", Georgia, serif; --unified-ink: #2b4c58; --unified-muted: #63777d; --unified-paper: #fbf9f5; --unified-rule: rgba(43, 76, 88, .16); }
/* 首頁內容區底色：預覽成個首頁（.home-page.joy-world）係米色 #fbf9f5，冇自己底色嘅段（品牌雙卡、按需要、明星同款、門市 IG、玩色彩、小筆記）
   都係透出呢個米色；live 之前透出 body 嘅灰藍 #f7f9f9，同預覽唔夾（Winston 2026-10-15）。只限首頁（呢個檔淨係 index.html 載入）。 */
#main-content:has(> .home-codex) { background: #fbf9f5; }
@media (max-width: 700px) { .home-codex { --page-gutter: 20px; } }
@media (max-width: 360px) { .home-codex { --page-gutter: 16px; } }
:where(.home-codex) * { box-sizing: border-box; }
:where(.home-codex) button { color: inherit; font: inherit; }
:where(.home-codex) button { -webkit-tap-highlight-color: transparent; }
:where(.home-codex) button { cursor: pointer; }
:where(.home-codex) button:disabled { cursor: not-allowed; opacity: .48; }
:where(.home-codex) a { color: inherit; text-decoration: none; }
:where(.home-codex) img { display: block; max-width: 100%; }
.home-codex h2, .home-codex h3, .home-codex p { margin-top: 0; }
.home-codex h2, .home-codex h3 { font-weight: 500; }
:where(.home-codex) ::selection { color: var(--ink); background: var(--brand-tint); }
/* 首頁統一內容線（Winston 2026-10-15：段落有闊有窄要統一）：每段外框左右邊都用呢個闊度——兩邊留 --page-gutter、最闊 1440。
   獲獎好物、美妝以外、好物有禮（home-top.css）、會員卡（home-member.css）都跟呢條線；成條色帶可以去到盡，但入面內容要對返呢條線。 */
.home-codex .content-wrap { width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width)); margin-inline: auto; }
.home-codex .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:where(.home-codex) :focus-visible { outline: 2px solid #397f93; outline-offset: 3px; }
.home-codex .text-link { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 13px; font-weight: 600; text-underline-offset: 4px; }
.home-codex .text-link:hover { text-decoration: underline; }
.home-codex .icon-button { width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); transition: color .2s ease, background .2s ease, transform .2s var(--ease-out); }
:where(.home-codex) .cx-slot { min-width: 0; }
@media (prefers-reduced-motion: reduce) {
:where(.home-codex) *, :where(.home-codex) ::before, :where(.home-codex) ::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
:where(.home-codex) .cx-slot { border: 1px solid var(--line); border-radius: 22px; background: #fff; overflow: hidden; padding: 9px; box-shadow: 0 5px 15px #2b4c5805; }
@media (max-width: 700px) {
:where(.home-codex) .cx-slot { padding: 6px; border-radius: 17px; }
}
.home-codex .joy-kicker { display:block; font:600 10px/1.6 var(--sans); letter-spacing:.13em; }
.home-codex .joy-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:25px; margin-bottom:40px; }
.home-codex .joy-heading h2 { font:600 clamp(30px,3.7vw,54px)/1.28 var(--hand); letter-spacing:0; margin:13px 0 0; color:var(--primary-deep); }
:where(.home-codex) .cx-slot { border:0; padding:0; box-shadow:none; background:transparent; border-radius:0; overflow:visible; }
.home-codex .joy-explore { display:grid; grid-template-columns:1fr 1fr; gap:24px; padding-block:80px; }
.home-codex .joy-feature { display:block; min-height:430px; padding:35px; position:relative; overflow:hidden; border:1px solid #aecbd8; border-radius:12px; background:#e7f1f4; }
.home-codex .joy-feature > div { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; }
.home-codex .joy-feature h2 { font:600 clamp(28px,3.5vw,48px)/1.32 var(--hand); margin-top:24px; color:var(--primary-deep); }
.home-codex .joy-feature > p { font-size:11px; max-width:240px; position:relative; z-index:1; }
.home-codex .joy-feature > img { position:absolute; width:220px; height:220px; object-fit:contain; bottom:12px; right:5%; transition:transform .5s var(--ease-out); }
.home-codex .joy-feature:hover > img { transform:rotate(8deg) translateY(-10px); }
.home-codex .feature-note { position:absolute; left:35px; bottom:35px; font:600 25px/1.25 var(--hand); color:var(--primary-dark); rotate:-8deg; }
@media (max-width: 1100px) {
.home-codex .joy-feature { padding:25px; min-height:400px; }
.home-codex .joy-feature > img { width:180px; height:180px; }
.home-codex .joy-feature > p { max-width:190px; }
.home-codex .feature-note { left:25px; font-size:22px; }
}
@media (max-width: 760px) {
.home-codex .joy-heading { margin-bottom:25px; gap:20px; }
.home-codex .joy-heading h2 { font-size:29px; margin-top:12px; }
.home-codex .joy-kicker { font-size:8px; letter-spacing:.07em; }
.home-codex .joy-explore { grid-template-columns:1fr; padding-block:47px; gap:18px; }
.home-codex .joy-feature { min-height:340px; padding:24px; }
.home-codex .joy-feature h2 { font-size:33px; margin-top:20px; }
.home-codex .joy-feature > p { font-size:10px; max-width:180px; }
.home-codex .joy-feature > img { width:165px; height:165px; right:5%; bottom:8px; }
.home-codex .feature-note { font-size:22px; bottom:32px; left:24px; }
}
@media (max-width: 370px) {
.home-codex .joy-heading h2 { font-size:26px; }
.home-codex .joy-feature > p { max-width:140px; }
.home-codex .feature-note { font-size:19px; }
.home-codex .joy-feature > img { width:150px; }
}
@media (prefers-reduced-motion: reduce) {
:where(.home-codex) .joy-world * { animation-duration: auto !important; animation-timing-function: ease !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; animation-direction: normal !important; animation-fill-mode: none !important; animation-play-state: running !important; animation-name: none !important; animation-timeline: auto !important; animation-range-start: normal !important; animation-range-end: normal !important; transition-behavior: normal !important; transition-duration: 0s !important; transition-timing-function: ease !important; transition-delay: 0s !important; transition-property: none !important; }
}
.home-codex .need-studio { padding-block:86px 84px; }
.home-codex .need-heading { display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:35px; }
.home-codex .need-heading h2 { font:700 clamp(34px,4vw,60px)/1.15 var(--brand);color:var(--primary-deep);margin:20px 0 0;letter-spacing:-.04em; }
.home-codex .need-heading > div:last-child { max-width:330px; }
.home-codex .need-heading p { font-size:12px;line-height:1.85;color:var(--ink-soft);margin:0 0 20px; }
.home-codex .need-cards { display:grid;grid-template-columns:repeat(4,1fr);gap:22px; }
.home-codex .need-card { display:block;background:#edf4f5;padding:24px 22px 22px;border:1px solid #d5e3e6;border-radius:18px 18px 70px 18px;transition:transform .3s,background .3s; }
.home-codex .need-card:nth-child(2) { background:#f1f4f8 }
.home-codex .need-card:nth-child(3) { background:#f3f2f4 }
.home-codex .need-card:nth-child(4) { background:#eef2ed }
.home-codex .need-card__index { font-size:8px;letter-spacing:.1em;color:var(--primary-dark); }
.home-codex .need-card > img { width:100%;height:145px;object-fit:contain;transition:transform .5s cubic-bezier(.16,1,.3,1); }
.home-codex .need-card > div { display:flex;gap:12px;justify-content:space-between;align-items:center;margin:8px 0; }
.home-codex .need-card h3 { font:500 20px var(--hand);color:var(--primary-deep);margin:0; }
.home-codex .need-card > p { font-size:10px;line-height:1.75;color:var(--ink-soft);margin:0;min-height:34px;max-width:180px; }
@media (hover: hover) {
.home-codex .need-card:hover { transform:translateY(-6px);background:#e3eff2; }
.home-codex .need-card:hover > img { transform:translateY(-6px) rotate(-4deg); }
}
@media (max-width: 1080px) {
.home-codex .need-card h3 { font-size:17px; }
.home-codex .need-card { padding:18px 15px; }
.home-codex .need-card > img { height:125px; }
}
@media (max-width: 760px) {
.home-codex .need-studio { padding-block:55px; }
.home-codex .need-heading { align-items:flex-start;gap:22px;flex-direction:column; }
.home-codex .need-heading h2 { font-size:35px;margin-top:16px; }
.home-codex .need-heading p { font-size:11px;margin-bottom:12px; }
.home-codex .need-heading .text-link { font-size:10px; }
.home-codex .need-cards { grid-template-columns:repeat(2,1fr);gap:12px; }
.home-codex .need-card { border-radius:13px 13px 45px 13px;padding:17px 14px; }
.home-codex .need-card > img { height:125px; }
.home-codex .need-card__index { font-size:6px; }
.home-codex .need-card h3 { font-size:17px; }
.home-codex .need-card > p { font-size:8px;min-height:42px; }
}
@media (max-width: 360px) {
.home-codex .need-card { padding:15px 12px; }
.home-codex .need-card h3 { font-size:15px; }
.home-codex .need-card > img { height:105px; }
}
@media (prefers-reduced-motion: reduce) {
.home-codex .need-card, .home-codex .need-card > img { transition:none!important }
}
@media (max-width: 760px) {
.home-codex .need-card > p { font-size:12px;line-height:1.7;min-height:64px }
.home-codex .need-card__index { font-size:8px }
}
.home-codex .home-brand-rail, .home-codex .home-brand-rail * { box-sizing:border-box }
.home-codex .home-brand-rail { position:relative;padding:22px 0 26px;background:var(--primary-deep);color:#fff;overflow:hidden;font-family:var(--sans) }
.home-codex .home-brand-rail__heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px }
.home-codex .home-brand-rail__kicker { display:block;font-size:10px;letter-spacing:.13em;color:#dce9ec;line-height:1.4 }
.home-codex .home-brand-rail__heading h2 { font:600 26px/1.2 var(--sans);margin:7px 0 0;letter-spacing:0;color:#fff;white-space:nowrap }
.home-codex .home-brand-rail__all { display:flex;flex:0 0 54px;align-items:center;justify-content:center;width:54px;height:54px;border:1px solid #aecbd8;border-radius:50%;text-align:center;font-size:12px;font-weight:600;line-height:1.45;color:#fff;text-decoration:none }
.home-codex .home-brand-rail__track { position:relative;container-type:inline-size;display:grid;grid-template-rows:64px 64px;gap:0;border:0 }
.home-codex .home-brand-rail__row { --brand-cell:calc((100cqw - 90px)/6);display:flex;gap:18px;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch;touch-action:pan-x }
.home-codex .home-brand-rail__row::-webkit-scrollbar { display:none }
.home-codex .home-brand-rail__group { display:grid;grid-template-rows:64px;grid-auto-flow:column;grid-auto-columns:var(--brand-cell);column-gap:18px;flex:none;width:max-content }
.home-codex .home-brand-rail__item { min-width:0;min-height:0;display:flex;align-items:center;padding:8px 0;color:#fff;text-decoration:none }
.home-codex .home-brand-rail__item strong { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font:700 20px/1.12 var(--sans);letter-spacing:-.035em;overflow-wrap:anywhere }
.home-codex .home-brand-rail__all:focus-visible, .home-codex .home-brand-rail__item:focus-visible, .home-codex .home-brand-rail__row:focus-visible { outline:2px solid #aecbd8;outline-offset:-2px }
.home-codex .home-brand-rail__wave { position:absolute;bottom:-1px;left:-5%;width:110%;height:13px;border-radius:50% 50% 0 0 /100% 100% 0 0;background:var(--paper) }
@media (min-width: 601px) and (max-width: 999px) {
.home-codex .home-brand-rail__row { --brand-cell:calc((100cqw - 54px)/4) }
}
@media (max-width: 600px) {
.home-codex .home-brand-rail { padding:18px 0 22px }
.home-codex .home-brand-rail__heading { gap:12px;margin-bottom:12px }
.home-codex .home-brand-rail__heading h2 { font-size:17px;margin-top:6px }
.home-codex .home-brand-rail__kicker { font-size:8px;letter-spacing:.09em }
.home-codex .home-brand-rail__all { width:44px;height:44px;flex-basis:44px;font-size:10px }
.home-codex .home-brand-rail__track { grid-template-rows:60px 60px }
.home-codex .home-brand-rail__row { --brand-cell:calc((100cqw - 24px)/3);gap:12px }
.home-codex .home-brand-rail__group { grid-template-rows:60px;column-gap:12px }
.home-codex .home-brand-rail__item strong { font-size:17px }
}
@media (hover: hover) and (pointer: fine) {
.home-codex .home-brand-rail__item:hover strong { text-decoration:underline;text-underline-offset:4px }
.home-codex .home-brand-rail__all:hover { background:#fff;color:var(--primary-deep) }
}
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail { padding-block:30px 36px }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail__stats { display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);max-width:560px;margin:12px 0 16px;gap:16px }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail__stat { display:flex;flex-direction:column }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail__stat dd { order:0;margin:0;font:500 20px/1.2 var(--sans);font-variant-numeric:lining-nums tabular-nums;color:#d0e1e5;letter-spacing:0;display:flex;align-items:baseline;gap:5px }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail__stat dd small { font:400 11px/1.2 var(--sans);color:#c4d8de }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail__stat dt { order:1;margin-top:3px;font:400 11px/1.4 var(--sans);color:#c4d8de;letter-spacing:.02em }
@media (max-width: 600px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail { padding-block:24px 30px }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail__stats { width:100%;max-width:none;margin:12px 0 14px;gap:10px }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail__stat dd { font-size:18px }
}
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail { --brand-lineup-row-size: 68px; padding-block: 22px calc(16px + var(--brand-curve-height, 26px)); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; column-gap: 12px; row-gap: 0; margin: 0 0 10px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading > div { display: grid; grid-template-rows: auto auto; grid-column: 1; grid-row: 1; align-items: center; row-gap: 4px; min-width: 0; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading--has-stats { grid-template-columns: minmax(0, 1fr) max-content; grid-template-rows: auto auto; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__kicker { font: 400 10px/1.3 var(--sans); letter-spacing: .08em; color: #bdcfd4; white-space: normal; overflow-wrap: anywhere; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading > div > .home-brand-rail__kicker { grid-column: 1; grid-row: 1; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading h2 { grid-column: 1; grid-row: 2; min-width: 0; margin: 0; font: 500 26px/1.25 var(--sans); letter-spacing: 0; color: #ebf3f5; white-space: normal; overflow-wrap: anywhere; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__all { display: inline-flex; align-items: center; justify-content: center; justify-self: end; flex: none; width: auto; height: auto; min-width: 0; min-height: 32px; padding: 6px 10px; border: 1px solid rgb(255 255 255 / .28); border-radius: 999px; background: transparent; box-shadow: none; grid-column: 2; grid-row: 1; font: 400 11px/1.2 var(--sans); color: #dce9ec; white-space: nowrap; text-decoration: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading--has-stats .home-brand-rail__all { grid-column: 2; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__all br { display: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; margin: 12px 0 0; padding: 10px 0 0; gap: 14px; --home-brand-stat-divider-offset: -7px; border: 0; border-top: 1px solid rgb(255 255 255 / .16); border-radius: 0; background: transparent; box-shadow: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat { display: flex; flex-direction: column; align-items: flex-start; position: relative; min-width: 0; padding: 0; gap: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat + .home-brand-rail__stat::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: var(--home-brand-stat-divider-offset); width: 1px; background: rgb(255 255 255 / .16); pointer-events: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat dd { display: flex; align-items: baseline; order: 0; margin: 0; gap: 4px; font: 500 clamp(36px, 3vw, 42px)/1.05 var(--sans); font-variant-numeric: lining-nums tabular-nums; letter-spacing: 0; color: #d0e1e5; white-space: nowrap; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat dd small { font: 400 13px/1.2 var(--sans); color: #b8cbd1; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat dt { order: 1; margin: 1px 0 0; font: 400 13px/1.25 var(--sans); letter-spacing: 0; color: #b8cbd1; overflow-wrap: anywhere; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__track { grid-template-rows: repeat(2, var(--brand-lineup-row-size)); border-block: 0; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__group, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__item { min-height: var(--brand-lineup-row-size); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__item strong { font-size: 27px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail :is(.home-brand-rail__all, .home-brand-rail__arrow, .home-brand-rail__item, .home-brand-rail__row):focus-visible { outline: 2px solid #e8f2f4; outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__all:hover { border-color: rgb(255 255 255 / .45); background: rgb(255 255 255 / .06); color: #fff; }
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail { --brand-lineup-row-size: 60px; padding-block: 18px calc(12px + var(--brand-curve-height, 20px)); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading { grid-template-columns: minmax(0, 1fr) max-content; grid-template-rows: auto auto; align-items: start; column-gap: 10px; row-gap: 0; margin-bottom: 10px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading > div { display: grid; grid-template-rows: auto auto; grid-column: 1; grid-row: 1; align-items: start; row-gap: 4px; min-width: 0; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading--has-stats { grid-template-columns: minmax(0, 1fr) max-content; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__kicker { grid-column: 1; grid-row: 1; font-size: 9px; letter-spacing: .06em; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading h2 { grid-column: 1; grid-row: 2; font-size: 18px; white-space: nowrap; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__all { grid-column: 2; grid-row: 1; align-self: center; min-height: 28px; padding: 5px 8px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__heading--has-stats .home-brand-rail__all { grid-column: 2; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stats { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-top: 12px; margin-bottom: 0; padding: 10px 0 0; gap: 8px; --home-brand-stat-divider-offset: -4px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat { padding: 0; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat dd { font-size: 22px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat dd small, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__stat dt { font-size: 10px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-rail .home-brand-rail__item strong { font-size: 23px; }
}
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; column-gap: 12px; row-gap: 0; margin: 0 0 10px; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading > div { display: grid; grid-template-rows: auto auto; grid-column: 1; grid-row: 1; align-items: center; row-gap: 4px; min-width: 0; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading--has-stats { grid-template-columns: minmax(0, 1fr) max-content; grid-template-rows: auto auto; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading > div > .home-brand-rail__kicker { grid-column: 1; grid-row: 1; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading h2 { grid-column: 1; grid-row: 2; min-width: 0; margin: 0; font: 500 26px/1.25 var(--sans); color: #ebf3f5; white-space: normal; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; margin: 12px 0 0; padding: 10px 0 0; gap: 14px; --home-brand-stat-divider-offset: -7px; border: 0; border-top: 1px solid rgb(255 255 255 / .16); background: transparent; box-shadow: none; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stat { display: flex; flex-direction: column; align-items: flex-start; position: relative; min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stat + .home-brand-rail__stat::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: var(--home-brand-stat-divider-offset); width: 1px; background: rgb(255 255 255 / .16); pointer-events: none; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stat dd { display: flex; align-items: baseline; order: 0; margin: 0; gap: 4px; color: #d0e1e5; font: 500 clamp(36px, 3vw, 42px)/1.05 var(--sans); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stat dd small { color: #b8cbd1; font: 400 13px/1.2 var(--sans); }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stat dt { order: 1; margin: 1px 0 0; color: #b8cbd1; font: 400 13px/1.25 var(--sans); }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__all { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; justify-content: center; justify-self: end; width: auto; height: auto; min-width: 0; min-height: 32px; padding: 6px 10px; border: 1px solid rgb(255 255 255 / .28); border-radius: 999px; background: transparent; box-shadow: none; color: #dce9ec; font: 400 11px/1.2 var(--sans); white-space: nowrap; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading--has-stats .home-brand-rail__all { grid-column: 2; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__all br { display: none; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__track { border: 0; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-brand-rail { --brand-lineup-row-size: 60px; padding-block: 18px calc(12px + var(--brand-curve-height, 20px)); }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading { grid-template-columns: minmax(0, 1fr) max-content; grid-template-rows: auto auto; align-items: start; column-gap: 10px; row-gap: 0; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading > div { display: grid; grid-template-rows: auto auto; grid-column: 1; grid-row: 1; align-items: start; row-gap: 4px; min-width: 0; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading--has-stats { grid-template-columns: minmax(0, 1fr) max-content; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading--has-stats .home-brand-rail__all { grid-column: 2; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__kicker { grid-column: 1; grid-row: 1; font: 400 9px/1.3 var(--sans); }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__heading h2 { grid-column: 1; grid-row: 2; font-size: 18px; white-space: nowrap; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__all { grid-column: 2; grid-row: 1; align-self: center; min-height: 28px; padding: 5px 8px; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stats { grid-column: 1 / -1; grid-row: 2; max-width: none; margin-top: 12px; padding-top: 10px; gap: 8px; --home-brand-stat-divider-offset: -4px; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stat dd { font-size: 22px; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stat dd small { font-size: 11px; }
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__stat dt { font-size: 10px; }
}
.home-codex .home-commerce { padding:48px 0 32px; color:#2b4c58; border-top:1px solid #c6d9df; }
.home-codex .home-commerce--sale { background:#f7efef; border-color:#e6d6d8; }
.home-codex .home-commerce--clio { background:#f4f0ed; }
.home-codex .home-commerce--torriden { background:#eef6f8; }
.home-codex .commerce-heading { flex:1; min-width:0; }
.home-codex .home-commerce:not(.home-commerce--brand) .commerce-heading { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:24px; }
.home-codex .home-commerce:not(.home-commerce--brand) .commerce-heading > :not(.commerce-more) { grid-column:1; }
.home-codex .home-commerce:not(.home-commerce--brand) .commerce-more { grid-column:2; grid-row:2/4; align-self:center; }
.home-codex .commerce-kicker { font:500 10px/1.5 var(--sans); letter-spacing:.12em; color:#527988; }
.home-codex .commerce-heading h2 { margin:12px 0 9px; font:400 clamp(28px,3.4vw,43px)/1.3 var(--serif); }
.home-codex .commerce-heading p { margin:0 0 15px; font-size:13px; line-height:1.6; color:#526971; }
.home-codex .commerce-more { display:inline-block; font-size:12px; font-weight:700; border-bottom:1px solid currentColor; padding-bottom:3px; }
.home-codex .commerce-poster { display:block; flex:0 0 52%; overflow:hidden; border-radius:14px; }
.home-codex .commerce-poster img { display:block; width:100%; height:auto; }
.home-codex .commerce-rail { display:flex; gap:22px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:#99b6c1 transparent; padding-bottom:12px; }
.home-codex .commerce-rail > .cx-slot { flex:0 0 calc((100% - 66px)/4); scroll-snap-align:start; opacity:1; transform:none; }
.home-codex .commerce-foot { display:flex; justify-content:space-between; gap:10px; margin-top:10px; color:#637d87; font-size:10px; line-height:1.5; }
@media (max-width: 1080px) and (min-width: 761px) {
.home-codex .commerce-rail > .cx-slot { flex-basis:calc((100% - 44px)/3); }
}
@media (max-width: 760px) {
.home-codex .home-commerce { padding:28px 0 24px; }
.home-codex .commerce-poster { flex:auto; border-radius:10px; }
.home-codex .commerce-heading h2 { font-size:26px; margin:8px 0; }
.home-codex .commerce-kicker { font-size:9px; }
.home-codex .commerce-heading p { font-size:12px; margin-bottom:10px; }
.home-codex .commerce-more { font-size:12px; }
.home-codex .home-commerce:not(.home-commerce--brand) .commerce-heading { column-gap:10px; }
.home-codex .home-commerce:not(.home-commerce--brand) .commerce-heading h2 { grid-column:1/-1; }
.home-codex .home-commerce:not(.home-commerce--brand) .commerce-more { grid-row:3; align-self:start; font-size:10px; }
.home-codex .home-commerce:not(.home-commerce--brand) .commerce-heading p { font-size:11px; }
.home-codex .commerce-rail { gap:12px; }
.home-codex .commerce-rail > .cx-slot { flex-basis:calc((100% - 18px)/2.15); }
.home-codex .commerce-foot { font-size:9px; flex-wrap:wrap; }
}
.home-codex.home-codex section.home-commerce:not(.commerce-listing) { padding:56px 0 40px; color:#263f48; background:#fbfaf7; border-color:rgba(38,63,72,.12); }
.home-codex.home-codex section.home-commerce--sale { background:#f1e6e7; border-color:#e8d7da; }
.home-codex.home-codex section.home-commerce--clio { background:#fbfaf7; }
.home-codex.home-codex section.home-commerce--torriden { background:#e7f1f4; border-color:#d5e4e8; }
.home-codex.home-codex section.home-commerce:not(.commerce-listing) .commerce-heading h2 { margin:9px 0 8px; color:#263f48; font:700 clamp(32px,4.2vw,52px)/1.1 var(--sans); letter-spacing:-.035em; }
.home-codex.home-codex section.home-commerce:not(.commerce-listing) .commerce-kicker { color:#617a81; font-size:10px; letter-spacing:.11em; }
.home-codex.home-codex section.home-commerce:not(.commerce-listing) .commerce-heading p { color:#52676d; font-size:14px; line-height:1.65; }
.home-codex.home-codex section.home-commerce:not(.commerce-listing) .commerce-more { color:#263f48; font-size:12px; }
.home-codex.home-codex section.home-commerce--brand .commerce-poster { flex:1 1 0; width:auto; min-width:0; border-radius:4px; }
.home-codex.home-codex > section.home-offers.home-commerce { padding:52px 0 42px; background:#fbfaf7; color:#263f48; border-color:rgba(38,63,72,.12); }
.home-codex .home-offers__header { display:flex; align-items:flex-end; justify-content:space-between; gap:32px; margin-bottom:26px; }
.home-codex .home-offers__intro { min-width:0; }
.home-codex .home-offers__kicker { color:#617a81; font:500 10px/1.5 var(--sans); letter-spacing:.11em; }
.home-codex .home-offers__title { margin:9px 0 8px; color:#263f48; font:700 clamp(30px,4vw,48px)/1.1 var(--sans); letter-spacing:-.035em; }
.home-codex .home-offers__copy { max-width:42rem; margin:0; color:#52676d; font-size:14px; line-height:1.65; }
.home-codex .home-offers__tabs { display:flex; flex:0 0 auto; gap:clamp(18px,3vw,36px); border-bottom:1px solid #d8e0df; }
.home-codex .home-offers__tab { min-height:42px; padding:0 1px 10px; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; background:transparent; color:#64777b; font:600 13px/1.4 var(--sans); cursor:pointer; }
.home-codex .home-offers__tab[aria-selected="true"] { border-bottom-color:#263f48; color:#263f48; }
.home-codex .home-offers__tab:focus-visible { outline:2px solid #526f78; outline-offset:4px; }
.home-codex .home-offers [hidden] { display:none; }
.home-codex .home-offers__panel .commerce-rail { margin-top:0; }
@media (max-width: 760px) {
.home-codex.home-codex section.home-commerce:not(.commerce-listing) { padding:32px 0 26px; }
.home-codex.home-codex section.home-commerce:not(.commerce-listing) .commerce-heading h2 { font-size:32px; }
.home-codex.home-codex section.home-commerce:not(.commerce-listing) .commerce-heading p { font-size:12px; }
.home-codex.home-codex section.home-commerce--brand .commerce-poster { flex:initial; border-radius:4px; }
.home-codex.home-codex > section.home-offers.home-commerce { padding:32px 0 28px; }
.home-codex .home-offers__header { display:block; margin-bottom:22px; }
.home-codex .home-offers__title { margin:8px 0; font-size:30px; }
.home-codex .home-offers__copy { font-size:12px; }
.home-codex .home-offers__tabs { margin-top:18px; gap:24px; }
.home-codex .home-offers__tab { min-height:40px; font-size:12px; }
}
.home-codex.home-codex .home-brand-rail { background:#263f48;padding-block:26px 30px }
.home-codex.home-codex .home-brand-rail__heading h2 { font:600 24px/1.25 var(--sans) }
.home-codex.home-codex .home-brand-rail__wave { height:0 }
.home-codex.home-codex .need-studio { padding-block:64px 42px }
.home-codex.home-codex .need-heading { align-items:center;margin-bottom:26px }
.home-codex.home-codex .need-heading h2 { font:650 clamp(28px,3.5vw,42px)/1.2 var(--sans);letter-spacing:-.03em;margin-top:12px }
.home-codex.home-codex .need-card { border-radius:6px;border:0;background:#efe9e6;padding:20px }
.home-codex.home-codex .need-card:nth-child(2) { background:#efe3e7 }
.home-codex.home-codex .need-card:nth-child(3) { background:#e6eff2 }
.home-codex.home-codex .need-card:nth-child(4) { background:#e8ece6 }
.home-codex.home-codex .need-card > img { height:125px }
.home-codex.home-codex .need-card h3 { font:600 16px/1.4 var(--sans) }
.home-codex.home-codex .need-card > p { font-size:12px;min-height:42px }
.home-codex.home-codex .joy-explore { padding-block:56px 30px;gap:24px }
.home-codex.home-codex .joy-feature { border-radius:6px;min-height:340px;padding:28px;overflow:hidden }
.home-codex.home-codex .joy-feature h2 { font:650 clamp(29px,3vw,42px)/1.15 var(--sans) }
.home-codex.home-codex .joy-feature > img { width:175px;height:175px;object-fit:contain }
.home-codex.home-codex .joy-feature .feature-note { font-size:19px }
.home-codex.home-codex .joy-kicker { font-size:10px;letter-spacing:.1em }
@media (max-width: 760px) {
.home-codex.home-codex .home-brand-rail { padding-block:20px 24px }
.home-codex.home-codex .home-brand-rail__heading h2 { font-size:17px }
.home-codex.home-codex .need-studio { padding-block:36px 30px }
.home-codex.home-codex .need-heading { gap:18px;align-items:stretch }
.home-codex.home-codex .need-heading h2 { font-size:28px }
.home-codex.home-codex .need-heading p { font-size:12px }
.home-codex.home-codex .need-card { padding:16px 12px }
.home-codex.home-codex .need-card > img { height:96px }
.home-codex.home-codex .need-card h3 { font-size:14px }
.home-codex.home-codex .need-card > p { font-size:11px;min-height:58px }
.home-codex.home-codex .joy-explore { padding-block:36px 12px;gap:18px }
.home-codex.home-codex .joy-feature { min-height:295px;padding:24px }
.home-codex.home-codex .joy-feature h2 { font-size:30px }
.home-codex.home-codex .joy-feature > img { width:140px;height:140px }
}
.home-codex.home-codex.home-codex .curation-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; min-width: 0; margin: 0 0 16px; }
.home-codex.home-codex.home-codex .curation-head h2 { margin: 5px 0 0; color: var(--unified-ink); font: 500 clamp(32px, 3.1vw, 38px)/1.16 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.home-codex.home-codex.home-codex .curation-head p { max-width: 46ch; margin: 7px 0 0; color: var(--unified-muted); font: 400 13px/1.55 var(--sans); }
.home-codex.home-codex.home-codex .curation-head .commerce-kicker { color: #64828b; font: 700 10px/1.4 var(--sans); letter-spacing: .14em; }
.home-codex.home-codex.home-codex .curation-head a { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-height: 38px; padding: 7px 12px; border: 1px solid rgba(43, 76, 88, .24); border-radius: 7px; color: var(--unified-ink); background: rgba(255, 255, 255, .72); font: 600 12px/1.35 var(--sans); text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
.home-codex.home-codex.home-codex .curation-head a:hover { border-color: var(--unified-ink); color: #fff; background: var(--unified-ink); }
.home-codex.home-codex.home-codex .curation-sticker { flex: 0 0 auto; max-width: 76px; max-height: 68px; }
.home-codex.home-codex.home-codex .curation-sticker img { display: block; width: auto; max-width: 76px; max-height: 68px; object-fit: contain; }
.home-codex.home-codex.home-codex .commerce-feature { min-width: 0; color: var(--unified-ink); }
.home-codex.home-codex.home-codex .commerce-feature > .content-wrap, .home-codex.home-codex.home-codex .commerce-feature .commerce-feature__lineup, .home-codex.home-codex.home-codex .commerce-feature .commerce-feature__spotlight { min-width: 0; }
.home-codex.home-codex.home-codex .commerce-feature .commerce-rail { display: flex; align-items: stretch; gap: 14px; min-width: 0; margin: 0; padding: 3px 2px 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #9bb5bd #e9eeee; }
.home-codex.home-codex.home-codex .commerce-feature .commerce-rail > .cx-slot { flex: 0 0 22.2%; min-width: 0; padding: 7px; overflow: visible; border: 1px solid rgba(43, 76, 88, .13); border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgba(43, 76, 88, .045); scroll-snap-align: start; opacity: 1; transform: none; }
.home-codex.home-codex.home-codex .commerce-feature .commerce-foot { display: flex; justify-content: space-between; gap: 8px 16px; margin-top: 7px; color: #64787e; font: 400 11px/1.45 var(--sans); }
.home-codex.home-codex.home-codex .commerce-feature .commerce-foot > * { min-width: 0; }
.home-codex.home-codex.home-codex .home-beauty-picks.commerce-feature { padding: 36px 0 40px; border-top: 1px solid var(--unified-rule); background: var(--unified-paper); }
.home-codex.home-codex.home-codex .home-beauty-picks .curation-head { padding-bottom: 12px; border-bottom: 1px solid var(--unified-rule); }
.home-codex.home-codex.home-codex .home-beauty-picks .commerce-rail { gap: 14px; }
.home-codex.home-codex.home-codex .home-brand-edits.content-wrap { min-width: 0; padding-block: 38px 42px; }
.home-codex.home-codex.home-codex .home-brand-edits > .curation-head { margin-bottom: 16px; }
.home-codex.home-codex.home-codex .home-brand-edits__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; min-width: 0; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > .commerce-feature--brand { min-width: 0; padding: 12px; border: 1px solid rgba(43, 76, 88, .12); border-radius: 10px; background: #fff; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > .commerce-feature--brand:first-child { background: #fbf7f3; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > .commerce-feature--brand:nth-child(2) { background: #f5f9f9; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > .commerce-feature--brand > .content-wrap { width: 100%; max-width: none; margin: 0; padding: 0; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-poster { display: block; width: 100%; aspect-ratio: 2 / 1; margin: 0 0 10px; overflow: hidden; border: 1px solid rgba(43, 76, 88, .1); border-radius: 7px; background: #f7f4ef; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-poster img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-rail { gap: 10px; padding-bottom: 9px; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-rail > .cx-slot { flex-basis: 39%; padding: 6px; border-radius: 8px; box-shadow: none; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-foot { margin-top: 2px; font-size: 10px; }
.home-codex.home-codex.home-codex .home-commerce.commerce-feature--sale { padding: 38px 0 42px; border-top: 1px solid rgba(153, 91, 100, .18); background: #faf3f2; }
.home-codex.home-codex.home-codex .commerce-feature--sale .curation-head { margin-bottom: 16px; }
.home-codex.home-codex.home-codex .commerce-feature__body { display: grid; grid-template-columns: minmax(250px, 27%) minmax(0, 1fr); align-items: stretch; gap: 22px; min-width: 0; }
.home-codex.home-codex.home-codex .commerce-feature--sale .commerce-feature__lineup { min-width: 0; }
.home-codex.home-codex.home-codex .commerce-feature--sale .commerce-feature__lineup .commerce-rail { gap: 12px; padding-top: 2px; }
.home-codex.home-codex.home-codex .commerce-feature--sale .commerce-feature__lineup .commerce-rail > .cx-slot { flex-basis: 31.5%; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers { min-width: 0; padding: 36px 0 40px; border-top: 1px solid var(--unified-rule); background: #fbf9f5; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers > .content-wrap { min-width: 0; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; min-height: 100px; margin: 0 0 14px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__intro { min-width: 0; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__kicker { color: #64828b; font: 700 10px/1.4 var(--sans); letter-spacing: .13em; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__title { margin: 5px 0; color: var(--unified-ink); font: 500 clamp(32px, 3.1vw, 38px)/1.16 var(--serif); letter-spacing: -.025em; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__copy { max-width: 52ch; margin: 0; color: var(--unified-muted); font: 400 13px/1.45 var(--sans); }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__tabs { display: flex; gap: 8px; margin: 0 0 12px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 42px; padding: 7px 12px; border: 1px solid rgba(43, 76, 88, .18); border-radius: 7px; color: var(--unified-ink); background: #fff; font: 600 12px/1.35 var(--sans); }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__tab[aria-selected="true"] { border-color: #668993; background: #eaf2f4; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__panel { min-width: 0; padding: 13px; border: 1px solid rgba(43, 76, 88, .12); border-radius: 9px; background: #fff; }
.home-codex.home-codex.home-codex .need-studio { padding-block: 32px 36px; }
.home-codex.home-codex.home-codex .need-heading { align-items: flex-end; gap: 16px; margin-bottom: 15px; }
.home-codex.home-codex.home-codex .need-heading h2 { margin: 7px 0 0; color: var(--unified-ink); font: 500 clamp(30px, 3vw, 36px)/1.18 var(--serif); letter-spacing: -.02em; }
.home-codex.home-codex.home-codex .need-heading > div:last-child { max-width: 340px; }
.home-codex.home-codex.home-codex .need-heading > div:last-child p { display: none; }
.home-codex.home-codex.home-codex .need-heading .text-link { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 10px; border: 1px solid var(--unified-rule); border-radius: 7px; font-size: 12px; text-decoration: none; }
.home-codex.home-codex.home-codex .need-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.home-codex.home-codex.home-codex .need-card { min-width: 0; padding: 13px 14px 12px; border: 1px solid rgba(43, 76, 88, .12); border-radius: 9px; background: #edf3f4; }
.home-codex.home-codex.home-codex .need-card:nth-child(2) { background: #f1f3f6; }
.home-codex.home-codex.home-codex .need-card:nth-child(3) { background: #f5f0f1; }
.home-codex.home-codex.home-codex .need-card:nth-child(4) { background: #eef2ed; }
.home-codex.home-codex.home-codex .need-card__index { color: #607a82; font: 600 10px/1.35 var(--sans); }
.home-codex.home-codex.home-codex .need-card > img { display: block; height: 92px; margin: 5px 0; object-fit: contain; }
.home-codex.home-codex.home-codex .need-card > div { margin: 4px 0 0; }
.home-codex.home-codex.home-codex .need-card h3 { color: var(--unified-ink); font: 500 18px/1.3 var(--serif); }
.home-codex.home-codex.home-codex .need-card > p { display: none; }
.home-codex.home-codex.home-codex .joy-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-block: 34px; }
.home-codex.home-codex.home-codex .joy-feature { min-width: 0; min-height: 270px; padding: 22px; border: 1px solid rgba(43, 76, 88, .14); border-radius: 10px; background: #edf3f4; }
.home-codex.home-codex.home-codex .joy-feature h2 { margin-top: 12px; color: var(--unified-ink); font: 500 clamp(26px, 2.7vw, 34px)/1.2 var(--serif); }
.home-codex.home-codex.home-codex .joy-feature > p { max-width: 24ch; color: var(--unified-muted); font-size: 12px; line-height: 1.5; }
.home-codex.home-codex.home-codex .joy-feature > img { width: 110px; height: 110px; right: 14px; bottom: 10px; }
.home-codex.home-codex.home-codex .feature-note { left: 22px; bottom: 20px; font-size: 15px; }
.home-codex.home-codex.home-codex .joy-heading { align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.home-codex.home-codex.home-codex .joy-heading h2 { margin-top: 5px; color: var(--unified-ink); font: 500 clamp(30px, 3vw, 36px)/1.16 var(--serif); }
/* 美妝小筆記：Codex 筆記卡框（OUJI NOTE 編號、READ A LITTLE 尾標、手機左右掃），卡面係韓國品牌官方明星海報＋芝麻貼圖（Winston 2026-10-15；貼圖係而家首頁嘅白色水彩芝麻加白剪紙邊；位置係會員區正上面）；
   卡由 scripts/articles/build.js 寫入 index.html，最尾一張係目錄卡。標題／摘要嘅 max-height 唔好拎走：line-clamp 唔會縮細 grid 計行高用嘅內容高度。 */
.home-codex.home-codex.home-codex .joy-notes { padding-block: 22px 34px; }
.home-codex.home-codex.home-codex .joy-note-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; min-width: 0; }
.home-codex.home-codex.home-codex .joy-note { display: flex; flex-direction: column; min-width: 0; padding: 13px 14px 12px; border: 1px solid rgba(43, 76, 88, .14); border-radius: 9px; color: var(--unified-ink); background: #fff; box-shadow: 0 3px 10px rgba(43, 76, 88, .05); text-decoration: none; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.home-codex.home-codex.home-codex .joy-note:hover { transform: translateY(-5px); box-shadow: 0 14px 26px rgba(43, 76, 88, .1); }
.home-codex.home-codex.home-codex .joy-note:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: 3px; }
.home-codex.home-codex.home-codex .note-top, .home-codex.home-codex.home-codex .note-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: #71868b; font: 600 10px/1.35 var(--sans); letter-spacing: .1em; }
.home-codex.home-codex.home-codex .note-top { padding-bottom: 10px; border-bottom: 1px solid #dce9ec; }
.home-codex.home-codex.home-codex .note-meta { color: var(--primary-dark); letter-spacing: .04em; white-space: nowrap; }
.home-codex.home-codex.home-codex .note-poster { position: relative; display: block; margin-top: 12px; aspect-ratio: 4 / 3; }
.home-codex.home-codex.home-codex .note-poster__img { display: block; width: 100%; height: 100%; border-radius: 6px; background: #edf3f4; object-fit: cover; }
.home-codex.home-codex.home-codex .note-poster__tag { position: absolute; top: 8px; left: 8px; padding: 4px 9px; border-radius: 999px; color: var(--unified-ink); background: rgba(255, 255, 255, .92); box-shadow: 0 2px 6px rgba(43, 76, 88, .12); font: 700 11px/1.3 var(--sans); letter-spacing: .02em; }
.home-codex.home-codex.home-codex .note-sticker { position: absolute; right: -12px; bottom: -18px; width: 33%; height: auto; rotate: 6deg; filter: drop-shadow(0 5px 9px rgba(43, 76, 88, .28)); pointer-events: none; transition: transform .5s var(--ease-out); }
.home-codex.home-codex.home-codex .joy-note:hover .note-sticker { transform: rotate(-9deg) translateY(-4px) scale(1.05); }
.home-codex.home-codex.home-codex .joy-note h3 { display: -webkit-box; max-height: 2.8em; margin: 18px 0 5px; overflow: hidden; color: var(--unified-ink); font: 600 17px/1.4 var(--serif); font-variant-numeric: lining-nums; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-codex.home-codex.home-codex .note-nw { white-space: nowrap; }
.home-codex.home-codex.home-codex .joy-note p { display: -webkit-box; max-height: 3em; margin: 0 0 12px; overflow: hidden; color: var(--unified-muted); font-size: 12px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-codex.home-codex.home-codex .note-bottom { margin-top: auto; padding-top: 12px; border-top: 1px solid #dce9ec; font-weight: 500; letter-spacing: .06em; }
.home-codex.home-codex.home-codex .joy-note--index { display: none; background: #edf3f4; }
.home-codex.home-codex.home-codex .note-sticker-hero { display: block; width: 82%; max-width: 220px; height: auto; margin: auto auto 0; rotate: -4deg; filter: drop-shadow(0 6px 10px rgba(43, 76, 88, .2)); transition: transform .5s var(--ease-out); }
.home-codex.home-codex.home-codex .joy-note--index:hover .note-sticker-hero { transform: rotate(8deg) translateY(-4px); }
.home-codex.home-codex.home-codex .joy-note--index .note-bottom { justify-content: flex-start; gap: 6px; color: var(--unified-ink); font-weight: 600; letter-spacing: .02em; }
.home-codex.home-codex.home-codex .joy-note--index .note-hand { color: var(--unified-muted); font: 600 15px/1.45 var(--hand); text-wrap: balance; }
.home-codex.home-codex.home-codex .commerce-rail::-webkit-scrollbar, .home-codex.home-codex.home-codex .home-brand-edits__grid::-webkit-scrollbar, .home-codex.home-codex.home-codex .joy-note-grid::-webkit-scrollbar { height: 6px; }
.home-codex.home-codex.home-codex .commerce-rail::-webkit-scrollbar-track, .home-codex.home-codex.home-codex .home-brand-edits__grid::-webkit-scrollbar-track, .home-codex.home-codex.home-codex .joy-note-grid::-webkit-scrollbar-track { border-radius: 9px; background: #e8eeee; }
.home-codex.home-codex.home-codex .commerce-rail::-webkit-scrollbar-thumb, .home-codex.home-codex.home-codex .home-brand-edits__grid::-webkit-scrollbar-thumb, .home-codex.home-codex.home-codex .joy-note-grid::-webkit-scrollbar-thumb { border-radius: 9px; background: #9bb5bd; }
:where(.home-codex).home-codex.home-codex .commerce-feature a:focus-visible, :where(.home-codex).home-codex.home-codex .commerce-feature button:focus-visible, .home-codex.home-codex.home-codex .home-brand-edits__grid:focus-visible { outline: 2px solid #547783; outline-offset: 3px; }
@media (min-width: 761px) and (max-width: 1000px) {
.home-codex.home-codex.home-codex .home-brand-edits__grid { gap: 12px; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > .commerce-feature--brand { padding: 10px; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-rail > .cx-slot { flex-basis: 40%; }
.home-codex.home-codex.home-codex .commerce-feature--sale .commerce-feature__body { grid-template-columns: minmax(220px, 30%) minmax(0, 1fr); gap: 16px; }
.home-codex.home-codex.home-codex .commerce-feature--sale .commerce-feature__lineup .commerce-rail > .cx-slot { flex-basis: 31%; }
.home-codex.home-codex.home-codex .joy-note-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .curation-head { align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.home-codex.home-codex.home-codex .curation-head h2 { font-size: clamp(28px, 7.8vw, 34px); }
.home-codex.home-codex.home-codex .curation-head p { font-size: 12px; }
.home-codex.home-codex.home-codex .curation-head a { min-height: 36px; padding: 6px 9px; font-size: 11px; }
.home-codex.home-codex.home-codex .curation-sticker, .home-codex.home-codex.home-codex .curation-sticker img { max-width: 50px; max-height: 50px; }
.home-codex.home-codex.home-codex .commerce-feature .commerce-rail { gap: 12px; padding-bottom: 11px; }
.home-codex.home-codex.home-codex .commerce-feature .commerce-rail > .cx-slot { flex-basis: 46%; padding: 6px; border-radius: 8px; }
.home-codex.home-codex.home-codex .commerce-feature .commerce-foot { flex-wrap: wrap; font-size: 10px; }
.home-codex.home-codex.home-codex .home-beauty-picks.commerce-feature { padding-block: 28px 32px; }
.home-codex.home-codex.home-codex .home-beauty-picks .commerce-rail { gap: 12px; }
.home-codex.home-codex.home-codex .home-brand-edits.content-wrap { padding-block: 28px 30px; }
.home-codex.home-codex.home-codex .home-brand-edits__grid { display: grid; grid-auto-flow: column; grid-auto-columns: 92%; grid-template-columns: none; gap: 12px; padding: 0 6px 12px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #8daeb8 #e8eeee; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > .commerce-feature--brand { padding: 10px; scroll-snap-align: start; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-poster { margin-bottom: 8px; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-rail { gap: 9px; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-rail > .cx-slot { flex-basis: 45.5%; padding: 5px; }
.home-codex.home-codex.home-codex .home-commerce.commerce-feature--sale { padding-block: 30px 34px; }
.home-codex.home-codex.home-codex .commerce-feature--sale .commerce-feature__body { grid-template-columns: minmax(0, 1fr); gap: 13px; }
.home-codex.home-codex.home-codex .commerce-feature--sale .commerce-feature__lineup .commerce-rail { gap: 12px; }
.home-codex.home-codex.home-codex .commerce-feature--sale .commerce-feature__lineup .commerce-rail > .cx-slot { flex-basis: 46%; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers { padding-block: 28px 32px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header { grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; min-height: 60px; margin-bottom: 10px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__title { font-size: clamp(28px, 7.6vw, 34px); }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__copy { font-size: 12px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__tabs { gap: 7px; margin-bottom: 9px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__tab { flex: 1 1 0; min-height: 42px; gap: 6px; padding: 6px 7px; font-size: 12px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__panel { padding: 9px; }
.home-codex.home-codex.home-codex .need-studio { padding-block: 26px 28px; }
.home-codex.home-codex.home-codex .need-heading { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 7px 10px; margin-bottom: 11px; }
.home-codex.home-codex.home-codex .need-heading > div:first-child { flex: 1 1 100%; min-width: 0; }
.home-codex.home-codex.home-codex .need-heading > div:last-child { max-width: none; margin-left: auto; }
.home-codex.home-codex.home-codex .need-heading h2 { font-size: clamp(26px, 7vw, 32px); }
.home-codex.home-codex.home-codex .need-heading .text-link { min-height: 34px; padding: 5px 7px; font-size: 11px; text-align: center; }
.home-codex.home-codex.home-codex .need-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.home-codex.home-codex.home-codex .need-card { padding: 10px; border-radius: 8px; }
.home-codex.home-codex.home-codex .need-card__index { font-size: 9px; }
.home-codex.home-codex.home-codex .need-card > img { height: 70px; margin: 3px 0; }
.home-codex.home-codex.home-codex .need-card h3 { font-size: 17px; }
.home-codex.home-codex.home-codex .joy-explore { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-block: 24px; }
.home-codex.home-codex.home-codex .joy-feature { min-height: 205px; padding: 17px; }
.home-codex.home-codex.home-codex .joy-feature h2 { margin-top: 9px; font-size: 28px; }
.home-codex.home-codex.home-codex .joy-feature > p { font-size: 12px; }
.home-codex.home-codex.home-codex .joy-feature > img { width: 110px; height: 110px; right: 8px; bottom: 7px; }
.home-codex.home-codex.home-codex .feature-note { left: 17px; bottom: 14px; font-size: 13px; }
.home-codex.home-codex.home-codex .joy-heading { margin-bottom: 10px; }
.home-codex.home-codex.home-codex .joy-heading h2 { font-size: 29px; }
.home-codex.home-codex.home-codex .joy-notes { padding-block: 18px 24px; }
.home-codex.home-codex.home-codex .joy-note-grid { grid-auto-flow: column; grid-auto-columns: min(78%, 300px); grid-template-columns: none; gap: 12px; padding: 3px 5px 14px 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #9bb5bd #e8eeee; }
.home-codex.home-codex.home-codex .joy-note { padding: 11px; scroll-snap-align: start; }
.home-codex.home-codex.home-codex .joy-note--index { display: flex; }
.home-codex.home-codex.home-codex .joy-note:hover { transform: none; box-shadow: 0 3px 10px rgba(43, 76, 88, .05); }
.home-codex.home-codex.home-codex .joy-note:hover .note-sticker, .home-codex.home-codex.home-codex .joy-note--index:hover .note-sticker-hero { transform: none; }
.home-codex.home-codex.home-codex .note-sticker { right: -8px; bottom: -12px; width: 30%; }
.home-codex.home-codex.home-codex .joy-note h3 { margin: 16px 0 5px; font-size: 16px; }
.home-codex.home-codex.home-codex .joy-note p { margin: 0 0 10px; }
.home-codex.home-codex.home-codex .note-sticker-hero { width: 78%; }
}
@media (max-width: 360px) {
.home-codex.home-codex.home-codex .curation-head a { max-width: 115px; text-align: center; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header { grid-template-columns: minmax(0, 1fr) 96px; }
.home-codex.home-codex.home-codex .need-heading { align-items: flex-start; }
.home-codex.home-codex.home-codex .need-heading .text-link { max-width: 96px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
:where(.home-codex).home-codex.home-codex * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
.home-codex.home-codex.home-codex .curation-head > a, .home-codex.home-codex.home-codex .need-card, .home-codex.home-codex.home-codex .need-card > img, .home-codex.home-codex.home-codex .joy-feature, .home-codex.home-codex.home-codex .joy-feature > img, .home-codex.home-codex.home-codex .joy-note, .home-codex.home-codex.home-codex .note-sticker, .home-codex.home-codex.home-codex .note-sticker-hero { scroll-behavior: auto; transition: none !important; }
.home-codex.home-codex.home-codex .joy-note:hover, .home-codex.home-codex.home-codex .joy-note:hover .note-sticker, .home-codex.home-codex.home-codex .joy-note--index:hover .note-sticker-hero { transform: none; }
}
.home-codex.home-codex.home-codex .curation-sticker { margin-left: auto; }
.home-codex.home-codex.home-codex .need-card__index { display: none; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-brand-edits > .curation-head > p { display: none; }
.home-codex.home-codex.home-codex .curation-sticker, .home-codex.home-codex.home-codex .curation-sticker img { max-width: 48px; max-height: 54px; }
}
.home-codex.home-codex.home-codex section.home-commerce.commerce-feature .commerce-heading { display: block; }
.home-codex.home-codex.home-codex section.home-commerce.commerce-feature .commerce-heading h2 { margin: 5px 0 0; color: var(--unified-ink); font: 500 clamp(32px, 3.1vw, 38px)/1.16 var(--serif); letter-spacing: -.025em; }
.home-codex.home-codex.home-codex section.home-commerce.commerce-feature .commerce-heading p { margin: 7px 0 0; color: var(--unified-muted); font: 400 13px/1.5 var(--sans); }
.home-codex.home-codex.home-codex .home-brand-edits__grid > section.home-commerce.commerce-feature--brand { padding: 12px; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex section.home-commerce.commerce-feature .commerce-heading h2 { font-size: 28px; }
.home-codex.home-codex.home-codex section.home-commerce.commerce-feature .commerce-heading p { font-size: 12px; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > section.home-commerce.commerce-feature--brand { padding: 10px; }
}
.home-codex.home-codex.home-codex section.home-beauty-picks.home-commerce.commerce-feature { padding: 28px 0 30px; }
.home-codex.home-codex.home-codex .commerce-feature .commerce-rail > .cx-slot { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > section.home-commerce.commerce-feature--brand { padding: 12px 0 0; border: 0; border-top: 2px solid #ba9798; border-radius: 0; background: transparent; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > section.home-commerce.commerce-feature--brand:nth-child(2) { border-top-color: #96bdcb; }
.home-codex.home-codex.home-codex .commerce-feature--brand .commerce-poster { border: 0; border-radius: 6px; }
.home-codex.home-codex.home-codex .home-brand-edits.content-wrap { padding-block: 28px 30px; }
.home-codex.home-codex.home-codex .curation-sticker, .home-codex.home-codex.home-codex .curation-sticker img { max-width: 58px; max-height: 54px; }
.home-codex.home-codex.home-codex .commerce-feature .commerce-rail { background: transparent; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex section.home-beauty-picks.home-commerce.commerce-feature { padding-block: 24px 26px; }
.home-codex.home-codex.home-codex .home-brand-edits.content-wrap { padding-block: 24px 26px; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > section.home-commerce.commerce-feature--brand { padding: 10px 0 0; }
.home-codex.home-codex.home-codex .curation-sticker, .home-codex.home-codex.home-codex .curation-sticker img { max-width: 46px; max-height: 48px; }
}
.home-codex.home-codex.home-codex .home-brand-edits__tabs { display: none; }
.home-codex.home-codex.home-codex .home-brand-edits__tabs[hidden] { display: none !important; }
.home-codex.home-codex.home-codex .home-brand-edits__grid > [hidden] { display: none !important; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-brand-edits__tabs { display: flex; gap: 8px; margin: 0 0 14px; }
.home-codex.home-codex.home-codex .home-brand-edits__tabs button { flex: 1; min-height: 42px; padding: 8px 10px; border: 1px solid var(--unified-rule); border-radius: 6px; color: var(--unified-ink); background: #fff; font: 600 12px/1.3 var(--sans); }
.home-codex.home-codex.home-codex .home-brand-edits__tabs button[aria-selected="true"] { color: #fff; background: var(--unified-ink); border-color: var(--unified-ink); }
.home-codex.home-codex.home-codex .home-brand-edits__tabs button:focus-visible { outline: 2px solid #547783; outline-offset: 3px; }
.home-codex.home-codex.home-codex .home-brand-edits__grid { display: grid; grid-template-columns: minmax(0,1fr); grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; padding: 0; gap: 0; scroll-snap-type: none; }
}
.home-codex.home-codex.home-codex .home-beauty-picks__body { display: grid; grid-template-columns: minmax(0, 32fr) minmax(0, 68fr); align-items: start; gap: clamp(16px, 2.2vw, 28px); min-width: 0; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse { display: block; min-width: 0; color: inherit; text-decoration: none; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse > picture { display: block; overflow: hidden; background: #f2efeb; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse > picture > img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse__caption { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; padding-top: 13px; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse__caption > span:first-child { color: #687d82; font: 700 10px/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse__caption h3 { margin: 0; color: #2b454d; font: 500 clamp(20px, 2.1vw, 27px)/1.2 var(--serif); letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse__caption .text-link { margin-top: 2px; color: #536f78; font: 600 12px/1.4 var(--sans); text-underline-offset: 3px; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse:focus-visible { outline: 2px solid #547783; outline-offset: 4px; }
.home-codex.home-codex.home-codex .home-beauty-picks__products { min-width: 0; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-beauty-picks__body { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 12px; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse__caption { gap: 6px; padding: 8px 0; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse__caption h3 { font-size: clamp(17px, 5vw, 21px); }
.home-codex.home-codex.home-codex .home-beauty-picks__products { width: 100%; }
}
@media (max-width: 360px) {
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse { gap: 9px; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse__caption h3 { font-size: 17px; }
}
@media (min-width: 761px) {
.home-codex.home-codex.home-codex .home-beauty-picks__products .commerce-rail > .cx-slot { flex-basis: 31%; }
}
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__tabs, .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 10px; margin: 0; padding: 0; border: 0; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__tabs[hidden], .home-codex.home-codex.home-codex .home-offers [hidden] { display: none !important; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__grid > section[data-brand-edit][hidden], .home-codex.home-codex.home-codex .home-offers [hidden] { display: none !important; }
.home-codex.home-codex.home-codex .home-brand-edits[data-brand-edit-active="clio"] .home-brand-edits__tabs > button[data-brand-edit-tab="clio"][aria-selected="true"], .home-codex.home-codex.home-codex .home-offers[data-offer-campaign="sun"] .home-offers__tabs > button[data-campaign="sun"][aria-selected="true"] { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.home-codex.home-codex.home-codex .home-brand-edits[data-brand-edit-active="torriden"] .home-brand-edits__tabs > button[data-brand-edit-tab="torriden"][aria-selected="true"], .home-codex.home-codex.home-codex .home-offers[data-offer-campaign="sun"] .home-offers__tabs > button[data-campaign="sun"][aria-selected="true"] { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.home-codex.home-codex.home-codex .home-brand-edits[data-brand-edit-active="torriden"] .home-brand-edits__tabs > button[data-brand-edit-tab="torriden"][aria-selected="true"], .home-codex.home-codex.home-codex .home-offers[data-offer-campaign="expiring"] .home-offers__tabs > button[data-campaign="expiring"][aria-selected="true"] { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__grid { display: block; min-width: 0; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] { box-sizing: border-box; min-width: 0; margin: 0; padding: clamp(18px, 2.5vw, 34px); border: 0; border-radius: 22px; background-color: var(--campaign-paper, #fff); color: var(--campaign-copy, #344f59); box-shadow: none; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] > .content-wrap { display: grid; width: 100%; max-width: none; margin: 0; padding: 0; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "poster" "rail" "foot"; align-items: start; gap: clamp(16px, 2vw, 24px); }
.home-codex.home-codex.home-codex .home-brand-edits .commerce-poster { display: block; width: 100%; min-width: 0; grid-area: poster; overflow: hidden; border-radius: 22px; }
.home-codex.home-codex.home-codex .home-brand-edits .commerce-poster img { display: block; width: 100%; height: auto; }
.home-codex.home-codex.home-codex .home-brand-edits .commerce-rail { min-width: 0; grid-area: rail; }
.home-codex.home-codex.home-codex .home-brand-edits .commerce-foot { min-width: 0; grid-area: foot; color: var(--campaign-copy, #637d87); }
.home-codex.home-codex.home-codex .home-brand-edits[data-brand-edit-active="clio"] .home-brand-edits__grid > section[data-brand-edit="clio"] { border-top-left-radius: 22px; }
.home-codex.home-codex.home-codex .home-brand-edits[data-brand-edit-active="torriden"] .home-brand-edits__grid > section[data-brand-edit="torriden"] { border-top-left-radius: 22px; }
.home-codex.home-codex.home-codex .home-brand-edits[data-brand-edit-active="torriden"] .home-brand-edits__grid > section[data-brand-edit="torriden"] { border-top-left-radius: 22px; border-top-right-radius: 22px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__panel { box-sizing: border-box; min-width: 0; margin: 0; padding: clamp(18px, 2.5vw, 32px); border: 0; border-radius: 22px; background-color: var(--campaign-paper, #fff); color: var(--campaign-copy, #344f59); box-shadow: none; }
.home-codex.home-codex.home-codex .home-offers[data-offer-campaign="sun"] .home-offers__panel#home-offers-sun-panel { border-top-left-radius: 22px; }
.home-codex.home-codex.home-codex .home-offers[data-offer-campaign="expiring"] .home-offers__panel#home-offers-expiring-panel { border-top-left-radius: 22px; }
.home-codex.home-codex.home-codex .home-offers[data-offer-campaign="expiring"] .home-offers__panel#home-offers-expiring-panel { border-top-left-radius: 22px; border-top-right-radius: 22px; }
.home-codex.home-codex.home-codex .home-offers .home-offers__panel .commerce-rail { min-width: 0; margin: 0; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__tabs, .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__tabs { gap: 8px; margin-bottom: 0; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] { padding: 16px; border-radius: 18px; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] > .content-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "poster" "rail" "foot"; gap: 16px; }
.home-codex.home-codex.home-codex .home-brand-edits .commerce-poster { border-radius: 16px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__panel { padding: 16px; border-radius: 18px; }
}
@media (max-width: 360px) {
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__tabs, .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__tabs { gap: 6px; }
}
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__tabs > button[aria-selected="true"], .home-codex.home-codex.home-codex .home-offers .home-offers__tabs > button[aria-selected="true"] { overflow: visible; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__tabs > button[aria-selected="true"]::after, .home-codex.home-codex.home-codex .home-offers .home-offers__tabs > button[aria-selected="true"]::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: -24px; height: 30px; background: inherit; pointer-events: none; }
.home-codex.home-codex.home-codex .home-brand-edits .commerce-poster { aspect-ratio: auto; border: 0; margin: 0; }
.home-codex.home-codex.home-codex .home-brand-edits .commerce-poster img { height: auto; object-fit: contain; }
.home-codex.home-codex.home-codex .home-brand-edits .commerce-foot { display: none; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__tabs [data-brand-edit-tab="clio"], .home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__grid > section[data-brand-edit="clio"] { --campaign-base: #efedf0; --campaign-paper: #fbfafb; --campaign-pigment: 70 64 72; --campaign-accent: #2f2b30; --campaign-copy: #3a353b; }
.home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__tabs [data-brand-edit-tab="torriden"], .home-codex.home-codex.home-codex .home-brand-edits .home-brand-edits__grid > section[data-brand-edit="torriden"] { --campaign-base: #e8f2f6; --campaign-paper: #f8fcfd; --campaign-pigment: 91 165 188; --campaign-accent: #28647b; --campaign-copy: #344f59; }
.home-codex.home-codex.home-codex .home-offers .home-offers__tabs [data-campaign="sun"], .home-codex.home-codex.home-codex .home-offers .home-offers__panel#home-offers-sun-panel { --campaign-base: #f5f0df; --campaign-paper: #fffdf6; --campaign-pigment: 196 164 77; --campaign-accent: #746640; --campaign-copy: #514c3c; }
.home-codex.home-codex.home-codex .home-offers .home-offers__tabs [data-campaign="expiring"], .home-codex.home-codex.home-codex .home-offers .home-offers__panel#home-offers-expiring-panel { --campaign-base: #f0ebf6; --campaign-paper: #fdfbff; --campaign-pigment: 151 124 183; --campaign-accent: #695878; --campaign-copy: #4c4556; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] { background-color: var(--campaign-paper); background-image: radial-gradient(ellipse 76% 42% at 2% 0%, rgb(var(--campaign-pigment) / .14), transparent 90%), radial-gradient(ellipse 72% 38% at 100% 32%, rgb(var(--campaign-pigment) / .12), transparent 91%), radial-gradient(ellipse 88% 32% at 28% 100%, rgb(var(--campaign-pigment) / .1), transparent 92%), repeating-linear-gradient(117deg, rgb(92 76 68 / .018) 0 .5px, transparent .5px 5px), linear-gradient(138deg, rgb(255 255 255 / .5), transparent 68%); box-shadow: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button[data-brand-edit-tab] { background-color: var(--campaign-paper); background-image: radial-gradient(ellipse 78% 52% at 0% 4%, rgb(var(--campaign-pigment) / .14), transparent 90%), repeating-linear-gradient(117deg, rgb(92 76 68 / .018) 0 .5px, transparent .5px 5px), linear-gradient(142deg, rgb(255 255 255 / .48), transparent 78%); box-shadow: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers .home-offers__tabs > button[data-campaign], .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers .home-offers__panel { background-color: var(--campaign-paper); background-image: radial-gradient(ellipse 86% 58% at 4% 0%, rgb(var(--campaign-pigment) / .14), transparent 90%), linear-gradient(142deg, rgb(255 255 255 / .48), transparent 78%); box-shadow: none; }
@media (min-width: 761px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] > .content-wrap { grid-template-columns: minmax(0, 1.45fr) minmax(220px, .55fr); grid-template-areas: "head poster" "rail rail" "foot foot"; align-items: center; column-gap: clamp(24px, 4vw, 56px); row-gap: clamp(22px, 3vw, 36px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster { max-width: 100%; border-radius: 14px; }
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] > .content-wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "poster" "rail" "foot"; gap: 16px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster { width: 100%; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] > .content-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); grid-template-areas: "head poster" "rail rail" "foot foot"; align-items: center; gap: 18px 12px; }
}
@media (min-width: 761px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers .commerce-rail > .cx-slot { flex-basis:28%; }
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers .commerce-rail > .cx-slot { flex-basis:66%; }
}
.home-codex.home-codex.home-codex .home-brand-rail { --brand-curve-height: 26px; position: relative; z-index: 1; isolation: isolate; overflow: hidden; background: #263f48; margin-bottom: 0; -webkit-mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 26' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0H100V26Q50 -26 0 26Z'/%3E%3C/svg%3E"); mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 26' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0H100V26Q50 -26 0 26Z'/%3E%3C/svg%3E"); -webkit-mask-size: 100% calc(100% - var(--brand-curve-height)), 100% var(--brand-curve-height); mask-size: 100% calc(100% - var(--brand-curve-height)), 100% var(--brand-curve-height); -webkit-mask-position: top, bottom; mask-position: top, bottom; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.home-codex.home-codex.home-codex .home-brand-rail::after { content: none; }
.home-codex.home-codex.home-codex .home-brand-rail__wave { display: none; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-brand-rail { --brand-curve-height: 20px; }
}
.home-codex.home-codex.home-codex .home-brand-rail .home-brand-rail__track { border-block: 0; }
.home-codex.home-codex.home-codex .home-brand-rail__row { gap: clamp(24px, 3.6vw, 54px); }
.home-codex.home-codex.home-codex .home-brand-rail__group { display: flex; align-items: center; gap: clamp(24px, 3.6vw, 54px); }
.home-codex.home-codex.home-codex .home-brand-rail__item { flex: 0 0 auto; width: auto; min-height: 54px; }
.home-codex.home-codex.home-codex .home-brand-rail__item strong { display: block; white-space: nowrap; overflow-wrap: normal; overflow: visible; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse > picture { border-radius: 24px; overflow: hidden; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-brand-rail__row, .home-codex.home-codex.home-codex .home-brand-rail__group { gap: 24px; }
.home-codex.home-codex.home-codex .home-beauty-picks .beauty-muse > picture { border-radius: 18px; }
}
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs { width: min(100%, 360px); max-width: 100%; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="clio"] { --brand-chapter-surface: #2f2b30; --brand-chapter-accent: #111111; --brand-tab-wash: #ecebee; --brand-focus-ring: #2f2b30; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="torriden"] { --brand-chapter-surface: #24789e; --brand-chapter-accent: #24789e; --brand-tab-wash: #24789e; --brand-focus-ring: #24789e; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab] { box-sizing: border-box; position: relative; isolation: isolate; display: grid !important; width: 100%; min-width: 0; min-height: 64px; margin: 0; padding: 12px 18px; place-items: center; overflow: visible !important; border: 0 !important; --bookmark-fill: var(--brand-tab-wash); border-radius: 18px 18px 0 0 !important; background-color: var(--bookmark-fill) !important; background-image: none !important; color: transparent !important; box-shadow: inset 0 1px 1px rgb(255 255 255 / .58), inset 0 16px 24px -28px rgb(255 255 255 / .65) !important; opacity: 1 !important; text-align: center; font-size: 0 !important; line-height: 0; appearance: none; cursor: pointer; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab] > img.brand-logo-tab__logo { display: block; position: relative; z-index: 1; width: min(100%, 132px); max-height: 34px; height: auto; margin: 0 auto; object-fit: contain; object-position: center; filter: none; pointer-events: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="clio"][aria-selected="true"] { border-radius: 18px 18px 0 0 !important; --bookmark-fill: var(--brand-chapter-surface); background-color: var(--bookmark-fill) !important; color: #fff !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="torriden"][aria-selected="true"] { border-radius: 18px 18px 0 0 !important; --bookmark-fill: var(--brand-chapter-surface); background-color: var(--bookmark-fill) !important; color: #fff !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab][aria-selected]::after { content: "" !important; position: absolute; inset: 0; height: auto; z-index: 0; border-radius: inherit; background: radial-gradient(ellipse 120% 90% at -28% -40%, rgb(255 255 255 / .85), transparent 76%), linear-gradient(117deg, transparent 20%, rgb(255 255 255 / .2) 30%, transparent 42%, rgb(255 255 255 / .06) 62%, transparent 74%) !important; -webkit-mask-image: linear-gradient(#000 0% 20%, transparent 60%, transparent 100%); mask-image: linear-gradient(#000 0% 20%, transparent 60%, transparent 100%); pointer-events: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="clio"]:focus-visible, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="torriden"]:focus-visible { outline: 2px solid var(--brand-focus-ring); outline-offset: 3px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="clio"][aria-selected="true"] > img.brand-logo-tab__logo { filter: brightness(0) invert(1); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="torriden"][aria-selected="true"] > img.brand-logo-tab__logo { filter: brightness(0) invert(1); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="torriden"] > img.brand-logo-tab__logo { filter: brightness(0) invert(1); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit="clio"] { --brand-chapter-surface: #2f2b30; --brand-chapter-accent: #111111; --brand-tab-wash: #ecebee; background: var(--brand-chapter-surface) !important; border: 0 !important; border-radius: 0 26px 26px 26px !important; color: #fff !important; box-shadow: 0 20px 42px -34px rgb(35 14 20 / .5) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit="torriden"] { --brand-chapter-surface: #24789e; --brand-chapter-accent: #24789e; --brand-tab-wash: #e8f2f6; background: var(--brand-chapter-surface) !important; border: 0 !important; border-radius: 26px !important; color: #fff !important; box-shadow: 0 20px 42px -34px rgb(11 31 43 / .5) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] { background-color: var(--brand-chapter-surface) !important; background-image: radial-gradient(ellipse 112% 22% at 112% 44%, transparent 48%, rgb(255 255 255 / .22) 52%, rgb(255 255 255 / .05) 59%, transparent 68%), radial-gradient(ellipse 132% 28% at -28% 88%, transparent 47%, rgb(255 255 255 / .26) 52%, rgb(255 255 255 / .06) 61%, transparent 69%), linear-gradient(to bottom, transparent 0% 8%, rgb(255 255 255 / .15) 38%, rgb(255 255 255 / .38) 100%) !important; box-shadow: 0 18px 36px -32px rgb(43 76 88 / .35) !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section[data-brand-edit="clio"] .commerce-poster, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section[data-brand-edit="torriden"] .commerce-poster { overflow: hidden; border-radius: 22px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section[data-brand-edit="clio"] .commerce-rail > .cx-slot, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section[data-brand-edit="torriden"] .commerce-rail > .cx-slot { padding: 10px; border: 0 !important; border-radius: 18px !important; background: #fff !important; color: #18252b !important; box-shadow: 0 10px 24px rgb(15 25 32 / .16) !important; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs { width: 100%; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab] { min-height: 56px; padding: 10px 12px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab] > img.brand-logo-tab__logo { width: min(100%, 110px); max-height: 30px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs { column-gap: 42px !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits[data-brand-edit-active] .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] { border-radius: 0 0 26px 26px !important; }
}
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > .brand-logo-tab[data-brand-edit-tab]::before { content: ""; position: absolute; top: auto; bottom: -1px; left: auto; right: auto; width: 22px; height: 22px; z-index: -1; pointer-events: none; box-sizing: border-box; border: 0; border-radius: 0; box-shadow: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > .brand-logo-tab[data-brand-edit-tab="clio"]::before { right: -21px; background: radial-gradient(circle at top right, transparent 21px, var(--bookmark-fill) 22px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > .brand-logo-tab[data-brand-edit-tab="torriden"]::before { left: -21px; background: radial-gradient(circle at top left, transparent 21px, var(--bookmark-fill) 22px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] > .content-wrap { display:grid; grid-template-columns:minmax(0,1fr) !important; grid-template-areas:"poster" "rail" "foot" !important; align-items:start; gap:clamp(18px,2vw,28px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster { grid-area:poster; width:100% !important; max-width:none !important; height:auto; margin:0 !important; aspect-ratio:1920 / 950 !important; border:0; border-radius:20px; overflow:hidden; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster img { display:block; width:100%; height:100% !important; object-fit:cover; filter:none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-rail { grid-area:rail; min-width:0; max-height:none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster.commerce-poster--torriden-model { display:grid; grid-template-columns:38.5% 61.5%; align-items:stretch; background:#d9eef4; color:#244d5c; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy { display:flex; flex-direction:column; justify-content:center; gap:12px; position:relative; z-index:1; min-width:0; padding:clamp(14px,2vw,30px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy small { font:600 clamp(7px,.75vw,11px)/1.4 var(--sans); letter-spacing:.01em; white-space:nowrap; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy strong { font:600 clamp(33px,4.4vw,64px)/.85 var(--sans); letter-spacing:-.035em; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy > span { font:500 clamp(8px,.75vw,11px)/1.5 var(--sans); white-space:nowrap; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__portrait { display:block; position:relative; min-width:0; overflow:hidden; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster .commerce-poster__portrait img { position:absolute; display:block; width:100%; max-width:none; height:auto !important; left:0; top:-382.7%; transform:translateY(109.041%); border-radius:0; }
/* Torriden 海報（桌面，Winston 2026-10-15「要優化」）：字板底色跟相片嘅天藍、相片左邊淡入，冇咗中間條硬邊；
   相片裁窄少少，避開原圖卡邊同右下角暗位；字分三層（品牌合作／大標題／副題）再加「逛 Torriden」入口。手機版不變。 */
@media (min-width: 761px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster.commerce-poster--torriden-model { background: linear-gradient(90deg, #eef9fc 0%, #dcf2f9 58%, #c9eef7 100%); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy { gap: 10px; padding: clamp(18px, 2.2vw, 34px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy small { font: 700 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy strong { font-size: clamp(40px, 3.7vw, 58px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy > span { font: 500 13px/1.55 var(--sans); white-space: normal; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__cta { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: 4px; padding-bottom: 3px; border-bottom: 1px solid currentColor; font: 700 13px/1.4 var(--sans); letter-spacing: .02em; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__portrait { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits /* 圖已預先裁成原長圖 x 120–770、y 1990–3815（900×5782 → 650×1825）：width 100% 等於舊 138.46%／left -18.46%；top 照舊 -382.7%，translateY 補返裁走嘅 1990px。 */
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy { padding:14px 10px 14px 16px; gap:10px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__campaign-copy strong { font-size:38px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster__cta { display: none; }
}
@media (min-width: 761px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs { display: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: stretch; gap: clamp(16px, 2vw, 24px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] { display: flex; flex-direction: column; min-width: 0; width: 100%; margin: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 26px !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__chapter-logo { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: 56px; min-height: 56px; padding: 10px 14px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__chapter-logo img { display: block; width: min(100%, 132px); max-height: 34px; height: auto; object-fit: contain; filter: brightness(0) invert(1); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section.home-commerce.commerce-feature--brand[data-brand-edit] > .content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "poster" "rail" "foot" !important; align-items: start; gap: clamp(18px, 2vw, 26px); box-sizing: border-box; width: 100%; max-width: none; margin: 0; padding: 0 14px 16px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster { grid-area: poster; display: block; width: 100% !important; max-width: none !important; height: auto; margin: 0 !important; aspect-ratio: 1920 / 950 !important; overflow: hidden; border: 0; border-radius: 20px; background: var(--brand-chapter-surface); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-poster img { display: block; width: 100%; height: 100% !important; object-fit: cover; object-position: center; filter: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .commerce-rail { grid-area: rail; min-width: 0; max-height: none !important; }
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__chapter-logo { display: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs[hidden] { display: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid > section[data-brand-edit][hidden] { display: none !important; }
}
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > .brand-logo-tab[aria-selected="false"] > img.brand-logo-tab__logo { opacity: .72; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > .brand-logo-tab[aria-selected="true"] > img.brand-logo-tab__logo { opacity: 1; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs { gap: 0 !important; width: 100% !important; background: #24789e !important; border-radius: 18px 18px 0 0 !important; overflow: hidden !important; isolation: isolate; position: relative; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits[data-brand-edit-active="torriden"] .home-brand-edits__tabs { background: #2f2b30 !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__grid { margin-top: -1px !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab][aria-selected] { position: relative; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; filter: none !important; opacity: 1 !important; overflow: visible !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab][aria-selected][aria-selected="true"] { z-index: 3 !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab][aria-selected][aria-selected="false"] { z-index: 1 !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab][aria-selected] > img.brand-logo-tab__logo { position: relative; z-index: 2 !important; opacity: 1 !important; filter: brightness(0) invert(1) !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab][aria-selected]::before { display: block !important; content: "" !important; position: absolute !important; top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; height: auto !important; z-index: 0 !important; pointer-events: none !important; border-radius: 0 !important; background: var(--brand-chapter-surface) !important; box-shadow: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab][aria-selected]::after { display: block !important; content: "" !important; position: absolute !important; inset: 0 !important; width: 100% !important; height: auto !important; z-index: 1 !important; pointer-events: none !important; border-radius: 0 !important; background: radial-gradient(ellipse 110% 140% at 5% -85%, rgb(255 255 255 / .58), transparent 85%), linear-gradient(to bottom, rgb(255 255 255 / .12), transparent 72%) !important; box-shadow: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="clio"][aria-selected="true"] { filter: drop-shadow(2px 0 2px rgb(13 33 46 / .14)) !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="clio"][aria-selected="true"]::before, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="clio"][aria-selected="true"]::after { width: calc(100% + 28px) !important; left: 0 !important; right: auto !important; -webkit-mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-right.svg") !important; mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-right.svg") !important; -webkit-mask-size: calc(100% - 33px) 100%, 34px 100% !important; mask-size: calc(100% - 33px) 100%, 34px 100% !important; -webkit-mask-position: left top, right top !important; mask-position: left top, right top !important; -webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important; -webkit-mask-composite: source-over !important; mask-composite: add !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="torriden"][aria-selected="true"] { filter: drop-shadow(-2px 0 2px rgb(13 33 46 / .14)) !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="torriden"][aria-selected="true"]::before, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-brand-edits .home-brand-edits__tabs > button.brand-logo-tab[data-brand-edit-tab="torriden"][aria-selected="true"]::after { width: calc(100% + 28px) !important; left: -28px !important; right: 0 !important; -webkit-mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-left.svg") !important; mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-left.svg") !important; -webkit-mask-size: calc(100% - 33px) 100%, 34px 100% !important; mask-size: calc(100% - 33px) 100%, 34px 100% !important; -webkit-mask-position: right top, left top !important; mask-position: right top, left top !important; -webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important; -webkit-mask-composite: source-over !important; mask-composite: add !important; }
}
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] [data-campaign="sun"], .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] #home-offers-sun-panel { --offer-surface: #ddc48b; --offer-ink: #59451e; --offer-accent: #6b5119; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] [data-campaign="expiring"], .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] #home-offers-expiring-panel { --offer-surface: #b9a8d7; --offer-ink: #473754; --offer-accent: #695080; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 0 !important; width: 100%; margin: 0; padding: 0; overflow: hidden !important; isolation: isolate; border: 0; border-radius: 18px 18px 0 0; background: #b9a8d7; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign="expiring"] .home-offers__tabs { background: #ddc48b; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs > button.offer-category-tab { position: relative; z-index: 1; isolation: isolate; display: grid; place-items: center; box-sizing: border-box; width: 100%; min-width: 0; min-height: 64px; margin: 0; padding: 12px 18px; overflow: visible !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: var(--offer-ink) !important; opacity: 1 !important; box-shadow: none !important; filter: none; cursor: pointer; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs > button.offer-category-tab[aria-selected="true"] { z-index: 3; background-color: var(--offer-surface) !important; }  /* iPhone Safari：揀咗嗰格嘅遮罩形狀有時畫唔出，底色一定要係自己個色，唔好露出金色底（2026-10-17） */
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs > button.offer-category-tab[aria-selected="false"] { z-index: 1; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .offer-category-tab__label { position: relative; z-index: 2; color: inherit; font: 600 18px/1.2 var(--sans); letter-spacing: -.035em; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs > button.offer-category-tab::before { content: ""; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: auto; border-radius: 0; background: var(--offer-surface); box-shadow: none; pointer-events: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs > button.offer-category-tab::after { content: ""; position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: auto; border-radius: 0; background: radial-gradient(ellipse 110% 140% at 5% -85%, rgb(255 255 255 / .58), transparent 85%), linear-gradient(to bottom, rgb(255 255 255 / .12), transparent 72%); -webkit-mask-image: none; mask-image: none; pointer-events: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs:has(> button.offer-category-tab:not([hidden]) ~ button.offer-category-tab:not([hidden])) > button.offer-category-tab[data-campaign="sun"][aria-selected="true"] { filter: drop-shadow(2px 0 2px rgb(13 33 46 / .14)); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs:has(> button.offer-category-tab:not([hidden]) ~ button.offer-category-tab:not([hidden])) > button.offer-category-tab[data-campaign="sun"][aria-selected="true"]::before, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs:has(> button.offer-category-tab:not([hidden]) ~ button.offer-category-tab:not([hidden])) > button.offer-category-tab[data-campaign="sun"][aria-selected="true"]::after { width: calc(100% + 28px); left: 0; right: auto; -webkit-mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-right.svg"); mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-right.svg"); -webkit-mask-size: calc(100% - 33px) 100%, 34px 100%; mask-size: calc(100% - 33px) 100%, 34px 100%; -webkit-mask-position: left top, right top; mask-position: left top, right top; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-over; mask-composite: add; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs:has(> button.offer-category-tab:not([hidden]) ~ button.offer-category-tab:not([hidden])) > button.offer-category-tab[data-campaign="expiring"][aria-selected="true"] { filter: drop-shadow(-2px 0 2px rgb(13 33 46 / .14)); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs:has(> button.offer-category-tab:not([hidden]) ~ button.offer-category-tab:not([hidden])) > button.offer-category-tab[data-campaign="expiring"][aria-selected="true"]::before, .home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs:has(> button.offer-category-tab:not([hidden]) ~ button.offer-category-tab:not([hidden])) > button.offer-category-tab[data-campaign="expiring"][aria-selected="true"]::after { width: calc(100% + 28px); left: -28px; right: 0; -webkit-mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-left.svg"); mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-left.svg"); -webkit-mask-size: calc(100% - 33px) 100%, 34px 100%; mask-size: calc(100% - 33px) 100%, 34px 100%; -webkit-mask-position: right top, left top; mask-position: right top, left top; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-over; mask-composite: add; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs > button.offer-category-tab[aria-selected]::after { bottom: 0; height: auto; z-index: 1; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs > button.offer-category-tab:focus-visible { outline: 2px solid var(--offer-accent); outline-offset: -4px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-width: 0; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__panel:is(#home-offers-sun-panel, #home-offers-expiring-panel) { position: relative; z-index: 2; display: flex !important; flex-direction: column; box-sizing: border-box; min-width: 0; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 26px; background-color: var(--offer-surface); background-image: radial-gradient(ellipse 112% 22% at 112% 44%, transparent 48%, rgb(255 255 255 / .24) 52%, rgb(255 255 255 / .05) 59%, transparent 68%), radial-gradient(ellipse 132% 28% at -28% 88%, transparent 47%, rgb(255 255 255 / .3) 52%, rgb(255 255 255 / .06) 61%, transparent 69%), linear-gradient(to bottom, transparent 0% 8%, rgb(255 255 255 / .17) 38%, rgb(255 255 255 / .4) 100%); color: var(--offer-ink); box-shadow: 0 18px 36px -32px rgb(43 76 88 / .3); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__panel:is(#home-offers-sun-panel, #home-offers-expiring-panel)[hidden] { display: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__chapter-label { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 52px; padding: 10px 14px 4px; font: 600 18px/1.2 var(--sans); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__chapter-content { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "poster" "rail" "foot"; gap: clamp(18px, 2vw, 26px); min-width: 0; width: 100%; padding: 0 14px 16px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-poster { grid-area: poster; display: block; position: relative; width: 100%; max-width: none; height: auto; margin: 0; aspect-ratio: 2 / 1; overflow: hidden; border: 0; border-radius: 22px; background: #edf8fb; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-poster > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-rail { grid-area: rail; gap: 10px; padding: 3px 2px 11px; margin: 0; min-width: 0; max-height: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-rail > .cx-slot { flex-basis: 39%; padding: 10px; border: 0; border-radius: 18px; background: #fff; color: #18252b; box-shadow: 0 10px 24px rgb(15 25 32 / .16); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-foot { grid-area: foot; display: flex !important; align-items: start; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin: 0; color: var(--offer-ink); font-size: 10px; line-height: 1.5; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-foot p { flex: 1 1 120px; margin: 0; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-more { flex: 0 0 auto; margin: 0; padding: 0; border: 0; color: var(--offer-ink); background: transparent; font-size: 10px; line-height: 1.5; }
/* 短效期海報（Winston 2026-10-15：叫 ChatGPT 出靚圖介紹短效期優惠，「低至幾折」用網頁字疊、跟實時貨計）。底圖：ouji-20261015-0955-短效期海報底圖.png */
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-poster { display: block; padding: 0; color: #4a2f63; background: #f4eef9; text-decoration: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; width: 47%; height: 100%; min-width: 0; padding: clamp(14px, 2.2vw, 30px); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-copy > span { color: #8a5aa0; font: 700 11px/1.4 var(--sans); letter-spacing: .12em; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-copy h3 { margin: 6px 0 8px; color: #4a2f63; font: 800 clamp(22px, 2.2vw, 32px)/1.1 var(--sans); letter-spacing: -.02em; white-space: nowrap; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-copy h3 b { margin: 0 2px; color: #b4417a; font-size: 1.55em; letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-copy p { margin: 0; color: #5f4c70; font: 500 12px/1.55 var(--sans); }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-poster > .home-offers__expiry-art { position: absolute; inset: 0; object-position: right center; }
@media (min-width: 761px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs { display: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: clamp(16px, 2vw, 24px); }
}
@media (min-width: 761px) and (max-width: 1000px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-rail > .cx-slot { flex-basis: 40%; }
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs > button.offer-category-tab { min-height: 56px; padding: 10px 12px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__tabs[hidden] { display: none !important; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .offer-category-tab__label { font-size: 17px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__chapter-label { display: none; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__panel:is(#home-offers-sun-panel, #home-offers-expiring-panel) { margin-top: -1px; border-radius: 0 0 26px 26px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__chapter-content { padding: 16px; gap: 18px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-poster { aspect-ratio: 1920 / 860; border-radius: 22px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-rail { gap: 9px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .commerce-rail > .cx-slot { flex-basis: 45.5%; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-copy { width: 46%; padding: 12px 8px 12px 14px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-copy p { font-size: 10.5px; }
.home-codex.home-codex.home-codex.home-codex:not(cx-pad) .home-offers[data-offer-campaign] .home-offers__expiry-copy h3 { margin: 4px 0 6px; font-size: 18px; }
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds { --finds-ink: #963c52; position: relative; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) 168px; align-items: center; gap: 16px; width: 100%; min-width: 0; height: 172px; min-height: 172px; aspect-ratio: auto; margin: 0 0 22px; padding: 18px 32px; overflow: hidden; isolation: isolate; border: 1.5px solid #edbacb; border-radius: 24px; background: #fbe3eb url("assets/images/home-codex/offer-finds/good-finds-blush-background-v1.webp") center / cover no-repeat; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__intro { display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 2; min-width: 0; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker { display: flex; align-items: center; gap: 14px; color: var(--finds-ink); font: 700 11px/1.4 var(--sans); letter-spacing: .06em; white-space: nowrap; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker::after { content: ''; width: 64px; height: 1px; background: #cf7a95; flex: 0 1 64px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 7px 0 0; padding: 4px 12px; border-radius: 999px; color: #fff9fb; background: #bd526f; font: 700 11px/1.25 var(--sans); letter-spacing: .09em; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow svg { width: 1.12em; height: 1.12em; stroke-width: 2; transform: rotate(-12deg); }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title { display: block; margin: 7px 0 0; padding: 0 0 .08em; color: var(--finds-ink); font: 800 36px/1.12 var(--sans); letter-spacing: -.035em; white-space: nowrap; text-decoration: underline; text-decoration-color: #f1b3c9; text-decoration-thickness: .055em; text-underline-offset: .11em; text-decoration-skip-ink: none; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__copy { margin: 7px 0 0; color: var(--finds-ink); font: 600 14px/1.4 var(--sans); letter-spacing: .035em; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene { position: relative; z-index: 1; justify-self: end; align-self: start; width: 128px; max-width: 100%; height: 128px; aspect-ratio: auto; min-width: 0; overflow: visible; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__film { position: absolute; inset: 0; contain: layout paint; overflow: hidden; -webkit-mask-image: radial-gradient(ellipse 65% 65% at 45% 53%, #000 58%, transparent 80%); mask-image: radial-gradient(ellipse 65% 65% at 45% 53%, #000 58%, transparent 80%); }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__poster, .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; object-fit: contain; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__video { opacity: 0; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__film.is-showing-video .offer-finds__video { opacity: 1; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__film.is-showing-video .offer-finds__poster { opacity: 0; }
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds { grid-template-columns: minmax(0, 1fr) 110px; gap: 8px; height: 150px; min-height: 150px; padding: 16px 18px; border-radius: 22px; background-position: center; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker { font-size: 9px; letter-spacing: .045em; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker::after { display: none; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow { gap: 8px; margin-top: 6px; padding: 3px 10px; font-size: 10px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title { margin-top: 8px; font-size: 28px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__copy { margin-top: 8px; font-size: 11px; letter-spacing: 0; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene { width: 110px; height: 110px; align-self: start; }
}
@media (max-width: 340px) {
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds { grid-template-columns: minmax(0, 1fr) 90px; padding-inline: 15px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title { font-size: 24px; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene { width: 90px; height: 90px; }
}
.home-codex :is(.product-grid, .commerce-rail) { align-items: stretch; }
.home-codex :is(.product-grid, .commerce-rail) > .cx-slot { display: flex !important; flex-direction: column !important; align-self: stretch; min-inline-size: 0; margin-block-start: 0 !important; translate: none !important; transform: translateY(0) !important; }
.home-codex.home-codex.home-codex .home-lifestyle { --extras-ink: #263d42; --lifestyle-seasonal: #3f7487; --lifestyle-bath: #4f8596; --lifestyle-bodycare: #62929f; --lifestyle-toys: #9c5466; --lifestyle-fragrance: #ab6474; --lifestyle-kpop: #b87582; position: relative; min-width: 0; padding: clamp(38px, 5vw, 64px) 0 44px; overflow: hidden; color: var(--extras-ink); background: #fbfaf7; border: 0; }
.home-codex.home-codex.home-codex .home-lifestyle__inner { box-sizing: border-box; width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width)); margin-inline: auto; }
.home-codex.home-codex.home-codex .home-lifestyle__heading { margin: 0 0 25px; }
.home-codex.home-codex.home-codex .home-lifestyle__kicker { display: block; color: #536c70; font: 600 10px/1.5 var(--sans); letter-spacing: .12em; }
.home-codex.home-codex.home-codex .home-lifestyle__heading h2 { margin: 8px 0 0; color: var(--extras-ink); font: 700 clamp(27px, 3.6vw, 44px)/1.18 var(--sans); letter-spacing: -.035em; }
.home-codex.home-codex.home-codex .home-lifestyle__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; min-width: 0; }
.home-codex.home-codex.home-codex .home-lifestyle__chapter { --chapter-ink: #263d42; min-width: 0; overflow: hidden; border-radius: 26px; background: var(--chapter-surface); box-shadow: 0 12px 34px rgb(38 61 66 / .08); isolation: isolate; }
/* 美妝以外配色（Winston 2026-10-15 揀 B 版）：同品牌分頁一樣用深色＋白字。左邊護理用 OUJI 灰藍、右邊選物用玫瑰，每邊三個標籤用深淺分（白字對比全部 ≥3.4:1）。
   之前六隻淺色莫蘭迪（每格唔同色相）排埋似彩虹、標籤分界溶埋，唔似 TIRTIR／Torriden 嗰種一張張標籤。 */
.home-codex.home-codex.home-codex .home-lifestyle__chapter[data-lifestyle-chapter="care"] { --chapter-surface: #3f7487; }
.home-codex.home-codex.home-codex .home-lifestyle__chapter[data-lifestyle-chapter="extras"] { --chapter-surface: #9c5466; }
.home-codex.home-codex.home-codex .home-lifestyle__tabs { position: relative; z-index: 1; display: flex; align-items: stretch; gap: 0; min-width: 0; overflow: visible; isolation: isolate; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs { display: none; }
.home-codex.home-codex.home-codex .home-lifestyle__chapter[hidden] { display: none !important; }
.home-codex.home-codex.home-codex .home-lifestyle__tab { --tab-paper: #c85a74; --folder-tail: 22px; box-sizing: border-box; display: grid; position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; min-height: 56px; place-items: center; margin: 0; padding: 8px 5px 9px; border: 0; border-radius: 0; color: #fff; background: transparent; font: 700 clamp(16px, 1.2vw, 18px)/1.2 var(--sans); text-align: center; white-space: nowrap; text-shadow: none; cursor: pointer; transition: filter .18s ease; }
.home-codex.home-codex.home-codex .home-lifestyle [data-key="seasonal"], .home-codex.home-codex.home-codex .home-lifestyle [data-category="seasonal"] { --category-paper: var(--lifestyle-seasonal); }
.home-codex.home-codex.home-codex .home-lifestyle [data-key="bath"], .home-codex.home-codex.home-codex .home-lifestyle [data-category="bath"] { --category-paper: var(--lifestyle-bath); }
.home-codex.home-codex.home-codex .home-lifestyle [data-key="bodycare"], .home-codex.home-codex.home-codex .home-lifestyle [data-category="bodycare"] { --category-paper: var(--lifestyle-bodycare); }
.home-codex.home-codex.home-codex .home-lifestyle [data-key="toys"], .home-codex.home-codex.home-codex .home-lifestyle [data-category="toys"] { --category-paper: var(--lifestyle-toys); }
.home-codex.home-codex.home-codex .home-lifestyle [data-key="fragrance"], .home-codex.home-codex.home-codex .home-lifestyle [data-category="fragrance"] { --category-paper: var(--lifestyle-fragrance); }
.home-codex.home-codex.home-codex .home-lifestyle [data-key="kpop"], .home-codex.home-codex.home-codex .home-lifestyle [data-category="kpop"] { --category-paper: var(--lifestyle-kpop); }
.home-codex.home-codex.home-codex .home-lifestyle__tab[data-key] { --tab-paper: var(--category-paper); }
.home-codex.home-codex.home-codex .home-lifestyle__tab:hover { filter: brightness(1.08); }
.home-codex.home-codex.home-codex .home-lifestyle__tab:focus-visible { position: relative; z-index: 8; outline: 3px solid #fff; outline-offset: -5px; }
.home-codex.home-codex.home-codex .home-lifestyle__tab { z-index: 1; }
.home-codex.home-codex.home-codex .home-lifestyle__tab:nth-child(1) { z-index: 5; }
.home-codex.home-codex.home-codex .home-lifestyle__tab:nth-child(2) { z-index: 4; }
.home-codex.home-codex.home-codex .home-lifestyle__tab:nth-child(3) { z-index: 3; }
.home-codex.home-codex.home-codex .home-lifestyle__tab[aria-selected="true"] { z-index: 6; filter: none; }
.home-codex.home-codex.home-codex .home-lifestyle__tab::before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 0; width: calc(100% + var(--folder-tail)); background: radial-gradient(ellipse 85% 70% at 50% -35%, rgb(255 255 255 / .32), transparent 72%), linear-gradient(to bottom, rgb(255 255 255 / .12), transparent 72%), var(--tab-paper); -webkit-mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-right.svg"); mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-right.svg"); -webkit-mask-size: calc(100% - 33px) 100%, 34px 100%; mask-size: calc(100% - 33px) 100%, 34px 100%; -webkit-mask-position: left top, right top; mask-position: left top, right top; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-composite: source-over; mask-composite: add; pointer-events: none; }
.home-codex.home-codex.home-codex .home-lifestyle__tab:last-child::before { width: 100%; -webkit-mask-image: none; mask-image: none; }
.home-codex.home-codex.home-codex .home-lifestyle__tab:last-child[aria-selected="true"]::before { width: calc(100% + var(--folder-tail)); inset: 0 0 0 auto; -webkit-mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-left.svg"); mask-image: linear-gradient(#000, #000), url("assets/images/home-codex/brand/folder-corner-left.svg"); -webkit-mask-position: right top, left top; mask-position: right top, left top; }
.home-codex.home-codex.home-codex .home-lifestyle__tab > span { position: relative; z-index: 1; }
.home-codex.home-codex.home-codex .home-lifestyle__panels, .home-codex.home-codex.home-codex .home-lifestyle__panel { min-width: 0; }
.home-codex.home-codex.home-codex .home-lifestyle__panel { --panel-paper: #e9c5cd; box-sizing: border-box; padding: 14px; overflow: hidden; border-radius: 0 0 26px 26px; color: var(--chapter-ink); background-color: var(--panel-paper); background-image: radial-gradient(ellipse 112% 22% at 112% 44%, transparent 48%, rgb(255 255 255 / .26) 52%, rgb(255 255 255 / .08) 59%, transparent 68%), radial-gradient(ellipse 132% 28% at -28% 88%, transparent 47%, rgb(255 255 255 / .25) 52%, rgb(255 255 255 / .08) 61%, transparent 69%), linear-gradient(to bottom, transparent 0% 8%, rgb(255 255 255 / .07) 38%, rgb(255 255 255 / .18) 100%); }
.home-codex.home-codex.home-codex .home-lifestyle__panel[data-category] { --panel-paper: var(--category-paper); }
.home-codex.home-codex.home-codex .home-lifestyle__panel[hidden] { display: none !important; }
.home-codex.home-codex.home-codex .home-lifestyle__poster { position: relative; display: flex; align-items: center; gap: 8px; min-width: 0; aspect-ratio: 1920 / 950; margin: 0 0 14px; padding: 14px; overflow: hidden; border: 1px solid rgb(38 61 66 / .1); border-radius: 22px; background: linear-gradient(112deg, rgb(255 255 255 / .94), rgb(255 255 255 / .75) 48%, rgb(255 255 255 / .55)); isolation: isolate; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-lines { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgb(73 104 105 / .14); stroke-width: 1.2; pointer-events: none; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy { position: relative; z-index: 2; flex: 0 1 56%; min-width: 0; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy h3 { display: -webkit-box; max-width: 16em; margin: 0 0 7px; overflow: hidden; color: var(--extras-ink); font: 700 clamp(18px, 2.1vw, 27px)/1.3 var(--sans); letter-spacing: -.025em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy p { display: -webkit-box; max-width: 22em; margin: 0 0 10px; overflow: hidden; color: #425c61; font: 500 clamp(11px, 1vw, 14px)/1.55 var(--sans); -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy a { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 0; border: 0; border-bottom: 1px solid rgb(38 61 66 / .3); border-radius: 0; color: var(--extras-ink); background: transparent; font: 700 13px/1.3 var(--sans); text-decoration: none; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy a:hover { color: #527e8b; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-art { position: absolute; z-index: 1; top: 7%; right: 2%; width: 42%; height: 86%; min-width: 0; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-image { position: absolute; display: block; width: 75%; height: 105%; border-radius: 6px; object-fit: contain; filter: drop-shadow(0 12px 12px rgb(38 61 66 / .13)); }
.home-codex.home-codex.home-codex .home-lifestyle__poster-image--1 { right: 24%; bottom: -8%; transform: rotate(-5deg); }
.home-codex.home-codex.home-codex .home-lifestyle__poster-image--2 { right: 0; bottom: 12%; width: 57%; height: 85%; transform: rotate(5deg); }
.home-codex.home-codex.home-codex .home-lifestyle.home-commerce .home-lifestyle__rail { display: flex; align-items: stretch; gap: 12px; min-width: 0; margin: 0; padding: 2px 2px 12px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 2px; -webkit-overflow-scrolling: touch; }
.home-codex.home-codex.home-codex .home-lifestyle.home-commerce .home-lifestyle__rail > .cx-slot { box-sizing: border-box; flex: 0 0 calc((100% - 12px) / 2.2); min-width: 0; padding: 10px; overflow: hidden; border: 1px solid rgb(38 61 66 / .11); border-radius: 22px; background: #fff; box-shadow: 0 4px 16px rgb(38 61 66 / .07); scroll-snap-align: start; }
.home-codex.home-codex.home-codex .home-lifestyle.home-commerce .home-lifestyle__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; margin-top: 8px; color: rgb(255 255 255 / .94); font: 600 11px/1.5 var(--sans); }
.home-codex.home-codex.home-codex .home-lifestyle__foot > span { min-width: 0; }
.home-codex.home-codex.home-codex .home-lifestyle__foot a { flex: 0 0 auto; color: inherit; font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-codex.home-codex.home-codex .home-lifestyle__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 761px) {
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab { min-height: clamp(56px, 4.5vw, 66px); font-size: clamp(17px, 1.45vw, 22px); background: linear-gradient(to bottom, rgb(255 255 255 / .12), transparent 72%), var(--next-tab-paper, var(--tab-paper)); }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab[data-key="seasonal"] { --next-tab-paper: var(--lifestyle-bath); }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab[data-key="bath"] { --next-tab-paper: var(--lifestyle-bodycare); }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab[data-key="toys"] { --next-tab-paper: var(--lifestyle-fragrance); }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab[data-key="fragrance"] { --next-tab-paper: var(--lifestyle-kpop); }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab:nth-child(1) { z-index: 5; }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab:nth-child(2) { z-index: 4; }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab:nth-child(3) { z-index: 3; }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab[aria-selected="true"] { font-size: clamp(19px, 1.8vw, 27px); }
.home-codex.home-codex.home-codex .home-lifestyle__tabs > .home-lifestyle__tab:last-child[aria-selected="true"]::before { inset: 0; width: 100%; -webkit-mask-image: none; mask-image: none; }
.home-codex.home-codex.home-codex .home-lifestyle__panel { padding: 18px; }
.home-codex.home-codex.home-codex .home-lifestyle__poster { aspect-ratio: 12 / 5; margin-bottom: 18px; padding: 20px; }
.home-codex.home-codex.home-codex .home-lifestyle.home-commerce .home-lifestyle__foot { font-size: 12px; }
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-lifestyle { padding: 34px 0 28px; }
.home-codex.home-codex.home-codex .home-lifestyle__heading { margin-bottom: 19px; }
.home-codex.home-codex.home-codex .home-lifestyle__kicker { font-size: 9px; }
.home-codex.home-codex.home-codex .home-lifestyle__heading h2 { font-size: clamp(25px, 7.1vw, 32px); }
.home-codex.home-codex.home-codex .home-lifestyle__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
.home-codex.home-codex.home-codex .home-lifestyle__chapter { border-radius: 0 0 26px 26px; }
.home-codex.home-codex.home-codex .home-lifestyle__chapter > .home-lifestyle__tabs { display: none; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs { display: flex; overflow: hidden; border-radius: 26px 26px 0 0; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab { --folder-tail: 8px; min-height: 48px; padding-inline: 0; font-size: clamp(11.5px, 3.15vw, 13px); background: linear-gradient(to bottom, rgb(255 255 255 / .12), transparent 72%), var(--tab-paper); z-index: 1; }
/* 六個標籤一樣闊（2026-10-15 標籤改晒兩個字：當季／沐浴／潤膚／公仔／香氛／K-pop，唔再按舊名「季節性」「身體護理」加闊） */
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab:nth-child(1) { z-index: 7; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab:nth-child(2) { z-index: 6; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab:nth-child(3) { z-index: 5; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab:nth-child(4) { z-index: 4; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab:nth-child(5) { z-index: 3; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab:nth-child(6) { z-index: 2; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab[aria-selected="true"] { z-index: 8; }
.home-codex.home-codex.home-codex .home-lifestyle__mobile-tabs > .home-lifestyle__tab::before { -webkit-mask-size: calc(100% - 16px) 100%, 17px 100%; mask-size: calc(100% - 16px) 100%, 17px 100%; }
.home-codex.home-codex.home-codex .home-lifestyle__tab { --folder-tail: 20px; min-height: 54px; padding: 6px 4px 7px; font-size: 14px; }
.home-codex.home-codex.home-codex .home-lifestyle__tab::before { -webkit-mask-size: calc(100% - 28px) 100%, 29px 100%; mask-size: calc(100% - 28px) 100%, 29px 100%; }
.home-codex.home-codex.home-codex .home-lifestyle__panel { padding: 14px; }
.home-codex.home-codex.home-codex .home-lifestyle__poster { gap: 8px; padding: 14px; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy { flex-basis: 56%; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy h3 { margin-bottom: 5px; font-size: clamp(16px, 4.8vw, 20px); line-height: 1.25; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy p { margin-bottom: 6px; font-size: 11px; line-height: 1.45; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-copy a { min-height: 28px; padding: 4px 0; font-size: 10.5px; }
.home-codex.home-codex.home-codex .home-lifestyle__poster-art { right: 2%; width: 42%; }
.home-codex.home-codex.home-codex .home-lifestyle.home-commerce .home-lifestyle__rail { gap: 12px; padding: 2px 1px 10px; }
.home-codex.home-codex.home-codex .home-lifestyle.home-commerce .home-lifestyle__rail > .cx-slot { padding: 9px; border-radius: 20px; }
.home-codex.home-codex.home-codex .home-lifestyle__foot { font-size: 10px; }
}
.home-codex.home-codex.home-codex .home-award-picks { box-sizing: border-box; min-width: 0; color: #2b4c58; }
.home-codex.home-codex.home-codex .home-award-picks * { box-sizing: border-box; }
.home-codex.home-codex.home-codex .home-award-picks { position: relative; width: min(calc(100% - 2 * var(--page-gutter)), var(--content-width)); max-width: none; margin: 36px auto; padding: 0; border: 1px solid #dbe3e2; border-radius: 24px; color: #2b4c58; background: #f6f3eb; overflow: hidden; }
.home-codex.home-codex.home-codex .home-award-picks, .home-codex.home-codex.home-codex .home-award-picks * { box-sizing: border-box; }
.home-codex.home-codex.home-codex .home-award-picks__gateway { padding: 32px 36px 28px; }
.home-codex.home-codex.home-codex .home-award-picks__introduction { position: relative; min-height: 150px; padding-right: 175px; }
.home-codex.home-codex.home-codex .home-award-picks__kicker { color: #627f88; font: 500 11px/1.5 var(--sans); letter-spacing: .07em; }
.home-codex.home-codex.home-codex .home-award-picks__introduction h2 { margin: 8px 0 10px; color: #2b4c58; font: 500 clamp(32px,3vw,42px)/1.25 var(--serif); letter-spacing: -.025em; }
.home-codex.home-codex.home-codex .home-award-picks__introduction h2 > span { display: inline-block; }
.home-codex.home-codex.home-codex .home-award-picks__intro { margin: 0; color: #627981; font: 400 13px/1.65 var(--sans); }
.home-codex.home-codex.home-codex .home-award-picks__totals { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 13px 0 0; color: #627981; font: 400 12px/1.5 var(--sans); }
.home-codex.home-codex.home-codex .home-award-picks__totals > span + span { padding-left: 18px; border-left: 1px solid #c9d8d9; }
.home-codex.home-codex.home-codex .home-award-picks__totals b { color: #2b4c58; font-weight: 600; }
.home-codex.home-codex.home-codex .home-award-picks__mascot { position: absolute; right: 14px; bottom: 5px; width: 140px; height: 150px; object-fit: contain; }
.home-codex.home-codex.home-codex .home-award-picks__programs { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; min-width: 0; }
.home-codex.home-codex.home-codex .home-award-picks__program { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-width: 0; min-height: 135px; padding: 18px 8px 16px; border: 1px solid #dce5e3; border-radius: 14px; background: rgba(255,255,255,.7); color: #2b4c58; text-decoration: none; text-align: center; }
.home-codex.home-codex.home-codex .home-award-picks__logo-holder { display: flex; align-items: center; justify-content: center; width: 124px; max-width: 100%; height: 38px; }
.home-codex.home-codex.home-codex .home-award-picks__program-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-codex.home-codex.home-codex .home-award-picks__program--glowpick .home-award-picks__program-logo { height: 20px; }
.home-codex.home-codex.home-codex .home-award-picks__program--hwahae .home-award-picks__program-logo { height: 25px; }
.home-codex.home-codex.home-codex .home-award-picks__program--cosme .home-award-picks__program-logo { height: 25px; }
.home-codex.home-codex.home-codex .home-award-picks__program--allure-beauty .home-award-picks__logo-holder, .home-codex.home-codex.home-codex .home-award-picks__program--allure-readers .home-award-picks__logo-holder { width: 107px; height: 38px; padding: 7px 12px; border-radius: 9px; background: #7d9eac; }
.home-codex.home-codex.home-codex .home-award-picks__program-title { color: #52727f; font: 500 10px/1.45 var(--sans); letter-spacing: .025em; }
.home-codex.home-codex.home-codex .home-award-picks__program-count { display: inline-flex; align-items: center; gap: 8px; color: #627981; font: 400 12px/1.5 var(--sans); }
.home-codex.home-codex.home-codex .home-award-picks__program-count svg { width: 14px; height: 14px; stroke-width: 1.5; }
.home-codex.home-codex.home-codex .home-award-picks__gateway-footer { display: flex; justify-content: flex-end; margin-top: 22px; }
.home-codex.home-codex.home-codex .home-award-picks__explore { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 44px; padding: 10px 23px; border: 0; border-radius: 999px; background: #7d9eac; color: #fff; font: 500 13px/1.5 var(--sans); text-decoration: none; }
.home-codex.home-codex.home-codex .home-award-picks__explore svg { width: 18px; height: 18px; stroke-width: 1.5; }
.home-codex.home-codex.home-codex .home-award-picks a:focus-visible { outline: 2px solid #397f93; outline-offset: 4px; }
@media (hover: hover) {
.home-codex.home-codex.home-codex .home-award-picks__program:hover { background: #fff; border-color: #9dbac1; }
.home-codex.home-codex.home-codex .home-award-picks__explore:hover { background: #6d909f; }
}
@media (min-width: 761px) and (max-width: 1100px) {
.home-codex.home-codex.home-codex .home-award-picks__gateway { padding: 28px; }
.home-codex.home-codex.home-codex .home-award-picks__programs { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-codex.home-codex.home-codex .home-award-picks__program { min-height: 118px; padding-block: 14px; }
}
@media (max-width: 760px) {
.home-codex.home-codex.home-codex .home-award-picks { margin-block: 26px; border-radius: 20px; }
.home-codex.home-codex.home-codex .home-award-picks__gateway { padding: 21px 18px 20px; }
.home-codex.home-codex.home-codex .home-award-picks__introduction { min-height: 136px; padding-right: 0; }
.home-codex.home-codex.home-codex .home-award-picks__kicker { font-size: 10px; letter-spacing: .05em; }
.home-codex.home-codex.home-codex .home-award-picks__introduction h2 { margin: 7px 0 9px; font-size: clamp(23px,6.5vw,28px); }
.home-codex.home-codex.home-codex .home-award-picks__intro { max-width: calc(100% - 72px); font-size: 11px; }
.home-codex.home-codex.home-codex .home-award-picks__totals { max-width: calc(100% - 72px); gap: 6px 12px; margin-top: 10px; font-size: 11px; }
.home-codex.home-codex.home-codex .home-award-picks__totals > span + span { padding-left: 12px; }
.home-codex.home-codex.home-codex .home-award-picks__mascot { right: -3px; bottom: 6px; width: 79px; height: 86px; }
.home-codex.home-codex.home-codex .home-award-picks__programs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.home-codex.home-codex.home-codex .home-award-picks__program { min-height: 113px; gap: 7px; padding: 13px 6px 12px; border-radius: 12px; }
.home-codex.home-codex.home-codex .home-award-picks__logo-holder { width: 111px; height: 32px; }
.home-codex.home-codex.home-codex .home-award-picks__program--glowpick .home-award-picks__program-logo { height: 17px; }
.home-codex.home-codex.home-codex .home-award-picks__program--hwahae .home-award-picks__program-logo, .home-codex.home-codex.home-codex .home-award-picks__program--cosme .home-award-picks__program-logo { height: 22px; }
.home-codex.home-codex.home-codex .home-award-picks__program--allure-beauty .home-award-picks__logo-holder, .home-codex.home-codex.home-codex .home-award-picks__program--allure-readers .home-award-picks__logo-holder { width: 94px; height: 32px; padding: 6px 11px; }
.home-codex.home-codex.home-codex .home-award-picks__program-title { font-size: 9px; }
.home-codex.home-codex.home-codex .home-award-picks__program-count { gap: 6px; font-size: 11px; }
.home-codex.home-codex.home-codex .home-award-picks__gateway-footer { margin-top: 18px; }
.home-codex.home-codex.home-codex .home-award-picks__explore { width: 100%; min-height: 42px; font-size: 12px; }
}
.home-codex:not(#cx-pad) .cx-slot.cx-slot { display: flex !important; flex-direction: column !important; align-items: stretch !important; box-sizing: border-box !important; min-width: 0 !important; max-width: 100% !important; padding: 12px !important; border: 1px solid #e6edef !important; border-radius: 20px !important; background: #fff !important; box-shadow: none !important; overflow: hidden !important; color: #284653 !important; }
@media (min-width: 720px) {
.home-codex:not(#cx-pad) .cx-slot.cx-slot { padding: 16px !important; border-radius: 24px !important; }
}

/* ===== 新卡白框、「換季美妝精選」HINCE 式大位、「明星同款」三格（Winston 2026-10-14／15 喺預覽批咗）=====
   每條 selector 都係預覽 lc-home.css 嗰條加 .home-codex，優先次序同預覽一樣高過 Codex 規則一級。 */

/* 貨架白框：Codex 原本嘅白底卡框照用，入面放新卡（Winston：「只不過係將最新嗰個 cap 搬入去」） */
.home-codex article.cx-slot.cx-slot { display: flex; flex-direction: column; padding: 8px 8px 10px; }
.home-codex article.cx-slot.cx-slot > a.product-card.lc {
  width: 100%; min-width: 0; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; overflow: visible;
  opacity: 1 !important; animation: none !important; transform: none !important;
}
.home-codex article.cx-slot.cx-slot .lc .product-card__image-wrap { border-radius: 10px; }
.home-codex article.cx-slot.cx-slot .lc__body { padding: 0 2px; }

/* 「換季美妝精選」大位：同「美妝精選」HINCE 嗰格一樣（beauty-muse），唔做產品卡 */
.home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse { display: block; min-width: 0; color: inherit; text-decoration: none; }
.home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse > picture { display: block; overflow: hidden; border-radius: 24px; background: #f2efeb; }
.home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse > picture > img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; }
.home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse .beauty-muse__caption { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; padding-top: 13px; }
.home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse .beauty-muse__caption > span:first-child { color: #687d82; font: 700 10px/1.4 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse .beauty-muse__caption h3 { margin: 0; color: #2b454d; font: 500 clamp(20px, 2.1vw, 27px)/1.2 var(--serif); letter-spacing: -.02em; text-wrap: balance; overflow-wrap: anywhere; }
.home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse .beauty-muse__caption .text-link { margin-top: 2px; color: #536f78; font: 600 12px/1.4 var(--sans); text-underline-offset: 3px; }
.home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse:focus-visible { outline: 2px solid #547783; outline-offset: 4px; }
@media (max-width: 760px) {
  .home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 12px; }
  .home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse > picture { border-radius: 18px; }
  .home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse .beauty-muse__caption { gap: 6px; padding: 8px 0; }
  .home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse .beauty-muse__caption h3 { font-size: clamp(17px, 5vw, 21px); }
}
@media (max-width: 360px) {
  .home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse { gap: 9px; }
  .home-codex.home-codex.home-codex .commerce-feature__spotlight .cx-muse .beauty-muse__caption h3 { font-size: 17px; }
}

/* 「明星同款，一齊用。」三格。桌面：三格並排，每格三件貨；中間闊度每格兩件；手機：逐格左右碌，每格兩件；每格底「查看更多」 */
.home-codex .lc-picks { display: grid; gap: 18px; padding-block: clamp(28px, 4vw, 52px); }
.home-codex .lc-picks .joy-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.home-codex .lc-picks .joy-heading h2 { text-wrap: balance; }
.home-codex .lc-picks .joy-heading .text-link { white-space: nowrap; }
.home-codex .lc-picks__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-codex .lc-pick { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px; border-radius: 22px; background: #fff; box-shadow: 0 1px 2px rgba(30, 48, 56, .05), 0 8px 24px rgba(30, 48, 56, .06); }
.home-codex .lc-pick__hook { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 14px; background: #f3efe9; }
.home-codex .lc-pick__hook > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-codex .lc-pick__chip { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #2b454d; font: 700 11px/1.2 var(--sans); letter-spacing: .04em; }
.home-codex .lc-pick h3 { margin: 4px 2px 0; color: #2b454d; font: 500 clamp(19px, 1.6vw, 23px)/1.25 var(--serif); letter-spacing: -.01em; }
.home-codex .lc-pick > p { margin: 0 2px 4px; color: #687d82; font: 500 12.5px/1.45 var(--sans); }
.home-codex .lc-pick__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.home-codex .lc-pick__cards > a.product-card.lc { max-width: none; margin: 0; }
.home-codex .lc-pick__more { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; margin-top: 4px; border: 1px solid rgba(43, 69, 77, .16); border-radius: 999px; color: #2b454d; font: 600 13px/1 var(--sans); text-decoration: none; }
.home-codex .lc-pick__more:hover { background: #f4f7f7; }
.home-codex .lc-pick__more span { font-size: 16px; line-height: 1; }
@media (max-width: 1199px) {
  .home-codex .lc-pick__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-codex .lc-pick__cards > a.product-card.lc:nth-child(n+3) { display: none; }
}
@media (max-width: 760px) {
  .home-codex .lc-picks__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .home-codex .lc-picks__row::-webkit-scrollbar { display: none; }
  .home-codex .lc-pick { flex: 0 0 86%; scroll-snap-align: start; padding: 12px; border-radius: 18px; }
}

/* Homepage skin-concern navigation: image-led priorities and quieter utility links. */
#need-studio.skin-needs { padding-block:20px; scroll-margin-top:calc(var(--hdr-h, var(--header-height, 72px)) + 54px); }
#need-studio .skin-needs__heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; }
#need-studio .skin-needs__identity { display:flex; align-items:center; min-width:0; gap:10px; }
#need-studio .skin-needs__mascot { display:block; flex:none; width:40px; height:40px; object-fit:contain; }
#need-studio .skin-needs__title { margin:0; color:#263f47; font:650 24px/1.3 var(--sans,sans-serif); letter-spacing:0; }
#need-studio .skin-needs__all { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; gap:7px; min-height:44px; color:#35535e; font:500 13px/1.4 var(--sans,sans-serif); text-decoration:none; }
#need-studio .skin-needs__all svg { width:18px; height:18px; }
#need-studio .skin-needs__primary { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; margin-bottom:16px; }
#need-studio .skin-needs__feature { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:9px; min-width:0; padding:0 6px 4px; text-decoration:none; }
#need-studio .skin-needs__photo { display:grid; place-items:center; width:80px; height:80px; flex:none; overflow:hidden; border-radius:50%; background:var(--photo-tone,#eef4f5); transition:box-shadow .18s; }
#need-studio .skin-needs__photo img { display:block; width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
#need-studio .skin-needs__label { color:#263f47; font:600 15px/1.35 var(--sans,sans-serif); text-align:center; }
#need-studio .skin-needs__secondary { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; border-top:1px solid #e2e8e6; padding-top:12px; }
#need-studio .skin-needs__secondary a { display:flex; align-items:center; justify-content:center; min-height:44px; box-sizing:border-box; padding:5px 8px; color:#50656b; background:#f3f5f3; border-radius:5px; font:500 13px/1.4 var(--sans,sans-serif); text-decoration:none; text-align:center; }
#need-studio .skin-needs__feature:hover .skin-needs__photo { box-shadow:0 0 0 3px #dfe9e7; }
#need-studio .skin-needs__feature:hover .skin-needs__label { text-decoration:underline; text-underline-offset:4px; }
#need-studio .skin-needs__secondary a:hover { background:#e9efec; }
#need-studio a:focus-visible { outline:3px solid #497889; outline-offset:3px; border-radius:5px; }
@media (max-width:700px) {
  #need-studio.skin-needs { padding-block:16px; }
  #need-studio .skin-needs__heading { margin-bottom:14px; }
  #need-studio .skin-needs__identity { gap:7px; }
  #need-studio .skin-needs__mascot { width:30px; height:30px; }
  #need-studio .skin-needs__title { font-size:18px; }
  #need-studio .skin-needs__all { font-size:12px; gap:4px; }
  #need-studio .skin-needs__all svg { width:15px; height:15px; }
  #need-studio .skin-needs__primary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px 10px; margin-bottom:14px; }
  #need-studio .skin-needs__feature { gap:7px; padding:0; }
  #need-studio .skin-needs__photo { width:64px; height:64px; }
  #need-studio .skin-needs__label { font-size:14px; }
  #need-studio .skin-needs__secondary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; padding-top:12px; }
  #need-studio .skin-needs__secondary a { min-height:44px; font-size:12px; padding:5px 2px; }
  html[lang^="en"] #need-studio .skin-needs__title { font-size:16px; }
  html[lang^="en"] #need-studio .skin-needs__label { font-size:12px; }
  html[lang^="en"] #need-studio .skin-needs__secondary a { font-size:11px; }
}
@media (prefers-reduced-motion:reduce) {
  #need-studio .skin-needs__photo { transition:none; }
}


/* OUJI home bundle: skin-studio.css */
/* 同芝麻揀護膚 — one stylesheet for the invitation, the studio and the sheet.
   World: Shima's seaside shop. Paper ivory, the shop's deep sea blue for
   anything you can press, soft tones only inside the little pictures.
   Type: Noto Serif TC 600 for the one question on screen, the site sans for
   everything else. Nothing a shopper reads is set below 12px. */

#skin-studio.sr,.sr-studio,.sr-sheet,.ss-token{
  --sr-ink:#1e3038;--sr-ink-2:#4a5e66;--sr-ink-3:#5c6e75;
  --sr-brand:#2b4c58;--sr-brand-hover:#1f3a44;--sr-action:#397f93;--sr-tint:#e3eff2;--sr-tint-ink:#1f5a6b;
  --sr-paper:#f8f5ec;--sr-card:#fffdf8;--sr-sand:#f0eadc;--sr-line:#e3dfd3;--sr-line-strong:#cbd3cf;--sr-warm:#8a5f2e;
  --tone-dry:#d6e8ed;--tone-oil:#e4ecce;--tone-pore:#ebe1d0;--tone-acne:#f1d8cd;--tone-dull:#eee2c1;--tone-spot:#e9d6c1;
  --tone-sensitive:#f2d3d1;--tone-barrier:#d6e6da;--tone-wrinkle:#e2deec;--tone-steady:#f1ded1;
  --tone-remover:#f0e1c6;--tone-cleanse:#d8e9ee;--tone-toner:#dce9da;--tone-serum:#efe1c8;--tone-cream:#e6e0ef;--tone-sun:#f3e1c0;--tone-mask:#f1dcd6;
  --sr-ease:cubic-bezier(.16,1,.3,1);
  --sr-sans:Manrope,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif;
  --sr-serif:"Noto Serif TC","Songti TC",serif;
  font:400 15px/1.6 var(--sr-sans);color:var(--sr-ink);
}
#skin-studio *,#skin-studio *::before,#skin-studio *::after,.sr-studio *,.sr-studio *::before,.sr-studio *::after,.sr-sheet *,.sr-sheet *::before,.sr-sheet *::after{box-sizing:border-box}
/* Base rules sit at element weight so every class below wins without . */
:where(.sr-studio,.sr-sheet,#skin-studio) button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
:where(.sr-studio,.sr-sheet) button:disabled{cursor:default}
:where(.sr-studio,.sr-sheet,#skin-studio) :focus-visible{outline:2px solid var(--sr-brand);outline-offset:3px}
:where(.sr-studio) [tabindex="-1"]:focus{outline:none}
:where(.sr-studio,.sr-sheet) ::selection{background:#cfe3e8;color:var(--sr-ink)}
:where(.sr-studio,.sr-sheet,#skin-studio) :is(h2,h3){margin:0;font-family:var(--sr-serif);font-weight:600;color:var(--sr-brand);letter-spacing:.01em;text-wrap:balance}
:where(.sr-studio,.sr-sheet) p{margin:0;text-wrap:pretty}
:where(.sr-name,.sr-lead,.sr-why li,.sr-gap,.sr-receipt span,.sr-alt .sr-name){word-break:keep-all;overflow-wrap:anywhere}
:where(.sr-studio,.sr-sheet,#skin-studio) svg{flex:0 0 auto}
html.sr-locked,html.sr-locked body{overflow:hidden}
.sr-preview-note{max-width:1220px;margin:-14px auto 22px;color:#5c6e75;font:12.5px/1.6 Manrope,"PingFang TC",sans-serif}

/* ── the invitation ──────────────────────────────────────────────────── */
#skin-studio.sr{position:relative;isolation:isolate;overflow:hidden;width:min(1220px,100%);height:212px;margin:0 auto 26px;display:grid;grid-template-columns:330px minmax(0,1fr) auto;align-items:center;gap:28px;padding:0 40px 0 0;border-radius:20px;border:1px solid rgba(43,76,88,.16);background:#dbe8e0;box-shadow:0 18px 36px -28px rgba(31,58,68,.55);scroll-margin-top:122px}
.sr-entry-art,.ss-entry{position:absolute;inset:0;z-index:0}
.ss-panorama{position:absolute;inset:0;width:100%;height:100%;display:block}
.ss-panorama--mobile{display:none}
.ss-entry-mist{position:absolute;inset:0;background:linear-gradient(90deg,transparent 26%,rgba(246,244,233,.7) 40%,rgba(246,244,233,.78) 70%,rgba(246,244,233,.55))}
.ss-entry-cat{position:absolute;left:128px;bottom:-4px;width:158px;height:auto;transform-origin:50% 100%}
/* Shima's greeting is a clip over the painted shop; its right edge melts into the same sea. */
.ss-entry-video{position:absolute;left:0;top:0;height:100%;aspect-ratio:16/9;width:auto;object-fit:cover;-webkit-mask-image:linear-gradient(90deg,#000 72%,transparent);mask-image:linear-gradient(90deg,#000 72%,transparent)}
/* The clip brings its own shop; the drawn one would show beside a narrower tile. */
.ss-entry:has(.ss-entry-video) .ss-shop{display:none}
.sr-entry-copy{grid-column:2;position:relative;z-index:1;min-width:0}
#skin-studio .sr-entry-copy h2{font-size:28px;line-height:1.34}
.sr-entry-sub{margin:8px 0 0;font-size:15px;line-height:1.5;color:var(--sr-ink-2)}
.sr-nowrap{white-space:nowrap}
.sr-entry-action{grid-column:3;position:relative;z-index:1}
.sr-cta{display:inline-flex;align-items:center;gap:12px;min-height:54px;padding:0 28px 0 32px;border:0;border-radius:999px;background:var(--sr-brand);color:#fffaf0;font-size:17px;font-weight:700;letter-spacing:.02em;box-shadow:0 12px 22px -12px rgba(31,58,68,.7);transition:background-color .18s,transform .18s var(--sr-ease)}
.sr-cta svg{transition:transform .2s var(--sr-ease)}
.sr-motion{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--sr-brand)}
.sr-motion--entry{position:absolute;z-index:2;top:10px;right:10px;width:32px;height:32px;background:rgba(255,253,248,.72);border:1px solid rgba(43,76,88,.14)}

/* ── the stage: four rooms in one shop ───────────────────────────────── */
.ss-stage{position:absolute;inset:0;overflow:hidden;container:stage/size;background:#dbe6df}
.ss-scene{position:absolute;inset:0;opacity:0;visibility:hidden}
.ss-scene.is-current{opacity:1;visibility:visible;z-index:2}
.ss-scene.is-leaving{visibility:visible;z-index:1}
.ss-video{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:50% 50%;background:#dbe6df}
.ss-spark{position:absolute;left:52%;top:50%;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(255,250,232,.95),rgba(255,250,232,0) 70%);opacity:0;pointer-events:none;z-index:3}
/* The banner stays alive (asked for: it keeps moving). Inside the studio only
   the sea does; Shima moves when she has something to answer. */
[data-motion="on"] :is(.ss-entry,.ss-scene.is-current) .ss-water{animation:ss-water 7s ease-in-out infinite alternate}
[data-motion="on"] .ss-entry .ss-cloud--one{animation:ss-drift 18s ease-in-out infinite alternate}
[data-motion="on"] .ss-entry .ss-cloud--two{animation:ss-drift 24s ease-in-out infinite alternate-reverse}
[data-motion="on"] .ss-entry .ss-boat{animation:ss-bob 6s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:50% 100%}
[data-motion="on"] .ss-entry .ss-sign{animation:ss-swing 5s ease-in-out infinite alternate}
@keyframes ss-water{from{transform:translateX(-9px)}to{transform:translateX(9px)}}
@keyframes ss-drift{from{transform:translateX(-14px)}to{transform:translateX(14px)}}
@keyframes ss-bob{from{transform:translate(-10px,0) rotate(-1.5deg)}to{transform:translate(10px,-2px) rotate(1.5deg)}}
@keyframes ss-swing{from{transform:rotate(-2deg)}to{transform:rotate(2deg)}}

/* ── the studio window ──────────────────────────────────────────────── */
/* The site sets body > *{position:relative}, which beats the browser's
   fixed position for an open dialog; top-layer then computes it as absolute
   and the window sits at the top of the page, off screen once scrolled. */
dialog.sr-studio,dialog.sr-sheet{position:fixed;inset:0}
dialog.sr-studio{padding:0;margin:auto;border:0;max-width:none;max-height:none;width:min(1160px,calc(100vw - 64px));height:min(780px,calc(100dvh - 48px));border-radius:24px;background:var(--sr-paper);overflow:hidden;box-shadow:0 40px 120px -40px rgba(17,38,46,.6)}
dialog.sr-studio[open]{display:flex;flex-direction:column}
dialog.sr-studio::backdrop,dialog.sr-sheet::backdrop{background:rgba(20,40,48,.46);backdrop-filter:blur(4px)}
.sr-top{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 12px 0 22px;border-bottom:1px solid var(--sr-line)}
.sr-top-label{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:700;color:var(--sr-brand)}
.sr-top-label img{display:block;border-radius:50%}
.sr-top-tools{display:flex;gap:4px}
.sr-close{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--sr-brand)}

.sr-quiz{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:46% minmax(0,1fr);container-type:inline-size;transition:grid-template-columns .8s var(--sr-ease)}
.sr-art{position:relative;min-height:0;overflow:hidden}
/* Packing opens the shop up so the whole OUJI bag is in shot; the receipt
   keeps its final width from the start, so nothing reflows while it moves. */
.sr-quiz.is-packing{grid-template-columns:60% minmax(0,1fr)}
@media (min-width:761px){
  .sr-art{container-type:size}
  /* Shelf and packing share one fixed camera edge at the carton, so Shima
     sits mid-panel on the shelf and packing widens to reveal the whole bag.
     Clamped so a short window never runs past the frame. */
  .ss-scene:is([data-scene="s3"],[data-scene="pack"]) .ss-video{object-position:min(0px, max(100cqw - 177.78cqh, -38.9cqh)) 50%}
}
.sr-panel{position:relative;display:flex;flex-direction:column;min-height:0;background:var(--sr-paper)}

.sr-progress{flex:0 0 auto;padding:20px 40px 0}
.sr-progress ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.sr-progress button{display:grid;gap:9px;width:100%;padding:0 0 4px;border:0;background:none;text-align:left}
.sr-progress-bar{display:block;height:4px;border-radius:4px;background:#e2ddd0;overflow:hidden}
.sr-progress-bar::after{content:"";display:block;height:100%;width:100%;background:var(--sr-brand);border-radius:inherit;transform:scaleX(0);transform-origin:left;transition:transform .5s var(--sr-ease)}
.sr-progress .is-done .sr-progress-bar::after{transform:none}
.sr-progress .is-now .sr-progress-bar::after{transform:scaleX(.55);background:var(--sr-action)}
.sr-progress-label{display:flex;align-items:baseline;gap:6px;font-size:13px;font-weight:600;color:var(--sr-ink-3)}
.sr-progress-label b{font-variant-numeric:tabular-nums;font-weight:800}
.sr-progress .is-now .sr-progress-label{color:var(--sr-brand);font-weight:800}
.sr-progress .is-done .sr-progress-label{color:var(--sr-ink-2)}
.sr-progress button:disabled .sr-progress-label{color:var(--sr-ink-3);font-weight:500}

.sr-scroll{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:30px 40px 24px;scrollbar-width:thin;scrollbar-color:#cbd3cf transparent}
.sr-q.is-leaving{position:absolute;left:40px;right:40px;pointer-events:none}
.sr-q h2{font-size:30px;line-height:1.28}
.sr-help{margin-top:8px;font-size:15px;line-height:1.55;color:var(--sr-ink-2)}
.sr-help+*{margin-top:24px}
.sr-note{min-height:22px;margin-top:14px;font-size:13.5px;font-weight:600;line-height:1.5;color:var(--sr-warm)}

/* Choices. A picked tile changes colour, weight and badge at once. */
.sr-tiles{display:grid;gap:12px}
.sr-tiles--concern{grid-template-columns:repeat(3,minmax(0,1fr))}
.sr-tile{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:auto auto;column-gap:12px;align-items:center;min-height:78px;padding:14px 16px 14px 14px;border:1px solid var(--sr-line);border-radius:16px;background:var(--sr-card);box-shadow:0 1px 2px rgba(31,58,68,.05);text-align:left;transition:border-color .16s,background-color .16s,box-shadow .16s,transform .12s}
.sr-tile-art{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;color:var(--sr-brand)}
.sr-tile b{align-self:end;font-size:16px;font-weight:700;line-height:1.3;color:var(--sr-ink)}
:lang(en) .sr-tile b{font-size:15px;line-height:1.2;hyphens:auto}
.sr-tile small{align-self:start;margin-top:2px;font-size:13px;line-height:1.35;color:var(--sr-ink-3)}
.sr-badge{position:absolute;top:9px;right:9px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--sr-brand);color:#fffaf0;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;opacity:0;transform:scale(.5);transition:opacity .16s,transform .22s var(--sr-ease)}
.sr-tile:active{transform:scale(.98)}
.sr-tile.is-picked{border-color:var(--sr-action);background:var(--sr-tint);box-shadow:inset 0 0 0 1px var(--sr-action)}
.sr-tile.is-picked b{color:var(--sr-brand)}
.sr-tile.is-picked .sr-badge{opacity:1;transform:none}
.sr-tiles--concern .sr-quiet{grid-column:1/-1;margin-top:0}
.sr-quiet{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;margin-top:12px;padding:8px 14px;border:1px dashed var(--sr-line-strong);border-radius:14px;background:transparent;font-size:15px;font-weight:600;color:var(--sr-ink-2);transition:border-color .16s,background-color .16s}
.sr-quiet svg{color:var(--sr-brand)}
.sr-quiet.is-picked{border-style:solid;border-color:var(--sr-action);background:var(--sr-tint);color:var(--sr-brand)}

.sr-group{margin-bottom:26px;padding:0;border:0;min-width:0}
.sr-group legend,.sr-row-label{margin:0 0 12px;padding:0;font-size:15px;font-weight:700;color:var(--sr-ink)}
.sr-tiles--skin{grid-template-columns:repeat(4,minmax(0,1fr))}
.sr-tiles--skin .sr-tile,.sr-tiles--texture .sr-tile,.sr-tiles--routine .sr-tile{grid-template-columns:1fr;justify-items:center;text-align:center;row-gap:4px;padding:18px 10px 16px}
.sr-tiles--skin .sr-tile-art{grid-row:auto;height:48px}
.sr-tiles--skin .sr-tile small,.sr-tiles--texture .sr-tile small,.sr-tiles--routine .sr-tile small{margin-top:0}
.sr-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:6px;padding:0 2px;border:0;background:none;font-size:14px;font-weight:600;color:var(--sr-brand);text-decoration:underline;text-decoration-color:rgba(43,76,88,.35);text-underline-offset:4px}
.sr-link.is-picked{text-decoration:none}
.sr-segment{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
:lang(en) .sr-segment button{padding:0 4px;font-size:14px}
.sr-segment--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.sr-segment button{min-height:48px;border:1px solid var(--sr-line);border-radius:14px;background:var(--sr-card);font-size:15px;font-weight:600;color:var(--sr-ink-2);transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s}
.sr-segment .is-picked{border-color:var(--sr-action);background:var(--sr-tint);color:var(--sr-brand);font-weight:800;box-shadow:inset 0 0 0 1px var(--sr-action)}
.sr-check{display:flex;align-items:flex-start;gap:10px;margin-top:4px;font-size:14px;line-height:1.5;color:var(--sr-ink-2);cursor:pointer}
.sr-check input{width:18px;height:18px;margin:2px 0 0;flex:0 0 auto;accent-color:var(--sr-brand)}
.sr-safety .sr-check+.sr-check{margin-top:10px}
.sr-group--after{margin-top:28px}

.sr-tiles--texture{grid-template-columns:repeat(3,minmax(0,1fr))}
.sr-tiles--texture .sr-tile{padding:22px 10px 18px}
.sr-tiles--texture b{font-size:17px}
.sr-swatch{position:relative;display:block;width:84px;height:66px;margin-bottom:8px;transition:transform .3s var(--sr-ease)}
.sr-swatch i{position:absolute;inset:6px 8px;border-radius:55% 45% 52% 48%/52% 46% 54% 48%;transform:rotate(-12deg)}
.sr-swatch--1 i{background:radial-gradient(circle at 34% 28%,#fff 0 9%,rgba(222,240,242,.95) 22%,rgba(160,206,212,.8) 72%);box-shadow:inset 0 -3px 6px rgba(77,140,150,.25),0 6px 10px -6px rgba(60,110,120,.4)}
.sr-swatch--2 i{background:radial-gradient(circle at 36% 30%,#fff 0 12%,#f4efe1 32%,#e0d6bd 82%);box-shadow:inset 0 -3px 6px rgba(150,130,90,.2),0 6px 10px -6px rgba(110,95,60,.35)}
.sr-swatch--3 i{background:radial-gradient(circle at 36% 30%,#fffdf6 0 14%,#f5ead0 44%,#e2cfa6 90%);box-shadow:inset 0 -4px 7px rgba(150,120,70,.25),0 7px 12px -6px rgba(110,90,50,.4)}
.sr-swatch--3 i::after{content:"";position:absolute;inset:26% 30%;border-radius:50%;border:2px solid rgba(255,252,240,.85);border-left-color:transparent;transform:rotate(30deg)}
.sr-tile.is-picked .sr-swatch{transform:scale(1.06) translateY(-2px)}

.sr-tiles--routine{grid-template-columns:repeat(3,minmax(0,1fr))}
.sr-pictos{display:flex;align-items:flex-end;justify-content:center;height:44px;margin-bottom:6px}
.sr-pictos i{display:grid;place-items:center;width:30px;color:var(--sr-brand)}
.sr-pictos i+i{margin-left:-4px}
.sr-pictos svg{width:30px;height:30px}
.sr-pictos .sr-plus{color:var(--sr-ink-3)}
.sr-tiles--routine b{font-size:16px}
.sr-row{margin-top:24px}
.sr-row .sr-row-label{margin-bottom:10px}
.sr-chips{display:flex;flex-wrap:wrap;gap:8px}
.sr-chip{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 16px;border:1px solid var(--sr-line-strong);border-radius:999px;background:var(--sr-card);font-size:14.5px;font-weight:600;color:var(--sr-ink-2);transition:background-color .16s,border-color .16s,color .16s}
.sr-chip.is-picked{border-color:var(--sr-action);background:var(--sr-tint);color:var(--sr-brand);font-weight:700;box-shadow:inset 0 0 0 1px var(--sr-action)}
.sr-chip:disabled{opacity:.42;text-decoration:line-through;text-decoration-thickness:1px}
.sr-more{margin-top:26px;border-top:1px solid var(--sr-line)}
.sr-more summary{display:flex;align-items:center;gap:10px;min-height:56px;cursor:pointer;list-style:none}
.sr-more summary::-webkit-details-marker{display:none}
.sr-more summary b{font-size:15px;color:var(--sr-ink)}
.sr-more summary span{padding:2px 9px;border-radius:999px;background:var(--sr-sand);font-size:12px;font-weight:700;color:var(--sr-warm)}
.sr-more summary::after,.sr-method summary::after{content:"";width:9px;height:9px;margin:-4px 6px 0 auto;border-right:1.8px solid var(--sr-ink-2);border-bottom:1.8px solid var(--sr-ink-2);transform:rotate(45deg);transition:transform .2s var(--sr-ease)}
.sr-more[open] summary::after,.sr-method[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.sr-more .sr-row{margin-top:8px}
.sr-more .sr-row+.sr-row{margin-top:18px}
.sr-more .sr-check{margin-top:18px}
.sr-fine{margin-top:10px;font-size:13px;line-height:1.6;color:var(--sr-ink-3)}

.sr-foot{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 40px 18px;border-top:1px solid var(--sr-line);background:var(--sr-paper)}
.sr-back{min-height:48px;padding:0 4px;border:0;background:none;font-size:15px;font-weight:600;color:var(--sr-ink-2)}
.sr-next,.sr-add-all{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 28px;border:0;border-radius:999px;background:var(--sr-brand);color:#fffaf0;font-size:16px;font-weight:700;letter-spacing:.02em;transition:background-color .18s,transform .18s var(--sr-ease),opacity .18s}
.sr-next:disabled{background:#d8dbd4;color:#7b8780}
.sr-next svg{transition:transform .2s var(--sr-ease)}

/* ── packing: the receipt fills as the bag does ─────────────────────── */
.sr-pack{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;padding:34px 40px 24px calc(100% - 40cqi + 40px);background:var(--sr-paper)}
.sr-pack-title{font-size:28px}
.sr-receipt{display:grid;gap:4px;margin:22px 0 0;padding:0;list-style:none}
.sr-receipt li{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 0;border-bottom:1px dashed var(--sr-line-strong);opacity:.28;transform:translateX(-6px);transition:opacity .3s,transform .4s var(--sr-ease)}
.sr-receipt li.is-in{opacity:1;transform:none}
.sr-receipt img{width:52px;height:52px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid #eeebe3}
.sr-receipt span{display:grid;font-size:14px;color:var(--sr-ink-2)}
.sr-receipt span b{font-size:15px;color:var(--sr-ink)}
.sr-receipt em{font-style:normal;font-size:15px;font-weight:800;color:var(--sr-brand);font-variant-numeric:tabular-nums}
.sr-receipt-total{display:flex;justify-content:space-between;align-items:baseline;margin-top:14px;font-size:14px;color:var(--sr-ink-3);opacity:0;transition:opacity .3s}
.sr-receipt-total b{font-size:22px;font-weight:800;color:var(--sr-brand);font-variant-numeric:tabular-nums}
.sr-pack.is-done .sr-receipt-total{opacity:1}
.sr-pack .sr-link{align-self:flex-start;margin-top:auto}

/* ── results: the plan beside the list, one screen on a desktop ───────── */
.sr-results{flex:1;min-height:0;display:flex;flex-direction:column}
.sr-results-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px 40px 12px;scrollbar-width:thin;scrollbar-color:#cbd3cf transparent}
.sr-board{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-areas:"hero set" "plan set" "method set";grid-template-rows:auto auto 1fr;column-gap:36px;align-items:start;max-width:1180px;margin:0 auto}
.sr-hero{grid-area:hero;display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:center}
.sr-hero-art{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden}
.sr-hero-copy{display:grid;justify-items:start;gap:2px}
.sr-hero-copy h2{font-size:24px;line-height:1.3;word-break:keep-all}
/* Changing an answer is a real next step for many shoppers: a full button. */
.sr-edit{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:8px;padding:0 20px 0 16px;border:1.5px solid var(--sr-brand);border-radius:999px;background:var(--sr-card);font-size:15px;font-weight:700;color:var(--sr-brand);white-space:nowrap;transition:background-color .18s,color .18s}
.sr-gap{margin:0 0 10px;padding:10px 14px;border-radius:12px;background:#f3eadb;font-size:14px;line-height:1.55;color:#6b4a24}

.sr-plan{grid-area:plan;margin-top:22px}
.sr-plan h3{font-size:18px}
.sr-plan-list{display:grid;margin:6px 0 0;padding:0;list-style:none}
.sr-plan-item{padding:10px 0;border-top:1px solid var(--sr-line)}
.sr-plan-item:first-child{border-top:0;padding-top:4px}
.sr-plan-head{display:grid;grid-template-columns:22px auto minmax(0,1fr);align-items:baseline;column-gap:8px}
.sr-plan-head i{align-self:center;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--tone);font:800 12px/1 var(--sr-sans);font-style:normal;color:var(--sr-ink)}
.sr-plan-head b{font-size:15.5px;font-weight:800;color:var(--sr-ink);white-space:nowrap}
.sr-plan-head span{font-size:13.5px;line-height:1.5;color:var(--sr-ink-2)}
.sr-plan-by{display:grid;gap:1px;margin:5px 0 0 26px;padding:0;list-style:none}
.sr-plan-by li{display:grid;grid-template-columns:22px auto minmax(0,1fr);align-items:center;gap:8px;padding:1px 4px;border-radius:8px;font-size:13.5px;line-height:1.35;color:var(--sr-ink-2);transition:background-color .18s}
.sr-plan-by img{width:22px;height:22px;object-fit:contain;border-radius:6px;background:#fff;border:1px solid #eeebe3}
.sr-plan-by b{font-weight:800;color:var(--sr-brand)}
.sr-plan-miss{margin:6px 0 0 30px;font-size:13.5px;line-height:1.5;color:var(--sr-warm)}
.sr-care{display:grid;gap:6px;margin:4px 0 0;padding:12px 0 0;border-top:1px solid var(--sr-line);list-style:none}
.sr-care li{display:grid;grid-template-columns:16px auto minmax(0,1fr);align-items:baseline;gap:6px;font-size:13.5px;line-height:1.45;color:var(--sr-ink-2)}
.sr-care svg{align-self:start;margin-top:3px;color:var(--sr-action)}
.sr-care b{font-weight:800;color:var(--sr-ink);white-space:nowrap}
/* English labels are long; let label and text flow as one sentence. */
:lang(en) .sr-care li{display:block;position:relative;padding-left:22px}
:lang(en) .sr-care svg{position:absolute;left:0;top:4px}
:lang(en) .sr-care b{margin-right:6px;white-space:normal}

.sr-set{grid-area:set;min-width:0}
.sr-routine{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.sr-item{display:grid;grid-template-columns:40px 56px minmax(0,1fr) auto auto;grid-template-areas:"step img body price act";align-items:center;column-gap:14px;min-width:0;padding:8px 12px 8px 8px;border:1px solid var(--sr-line);border-radius:14px;background:var(--sr-card);transition:border-color .18s,box-shadow .18s}
.sr-item-step{grid-area:step;display:grid;justify-items:center;margin:0;text-align:center;white-space:nowrap}
.sr-item-step b{font:800 17px/1.15 var(--sr-sans);color:var(--sr-brand);font-variant-numeric:tabular-nums}
.sr-item-step span{font-size:12.5px;font-weight:700;color:var(--sr-ink)}
.sr-item-step small{font-size:12px;color:var(--sr-ink-3)}
/* English step names run longer than two characters: a wider, wrapping column. */
:lang(en) .sr-item{grid-template-columns:72px 56px minmax(0,1fr) auto auto}
:lang(en) .sr-item-step span{white-space:normal;line-height:1.2}
.sr-item-img{grid-area:img;display:grid;place-items:center;width:56px;height:56px;border-radius:10px;background:#fff;border:1px solid #eeebe3;overflow:hidden}
.sr-item-img img{width:88%;height:88%;object-fit:contain;transition:transform .4s var(--sr-ease)}
.sr-item-body{grid-area:body;min-width:0}
.sr-brand{font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--sr-ink-3)}
.sr-name{margin:0;font:700 16px/1.4 var(--sr-sans);color:var(--sr-ink);letter-spacing:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sr-name a{color:inherit;text-decoration:none}
.sr-price-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-top:4px}
.sr-price-row span{font-size:13px;color:var(--sr-ink-3)}
.sr-price-row b{font-size:18px;font-weight:800;color:var(--sr-brand);font-variant-numeric:tabular-nums}
.sr-price-row s{font-size:13px;color:var(--sr-ink-3)}
.sr-lead{margin-top:6px;font-size:14px;line-height:1.55;color:var(--sr-ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sr-item .sr-brand{font-size:11.5px;line-height:1.4}
.sr-item .sr-name{font-size:15px;line-height:1.35;-webkit-line-clamp:1}
.sr-item .sr-lead{margin-top:1px;font-size:13px;line-height:1.45;-webkit-line-clamp:1}
.sr-item .sr-price-row{grid-area:price;display:grid;grid-template-columns:auto auto;justify-content:end;justify-items:end;align-items:baseline;column-gap:6px;margin:0;text-align:right}
.sr-item .sr-price-row span{grid-column:1/-1}
.sr-item .sr-price-row b{font-size:16px}
.sr-item-actions{grid-area:act;display:grid;gap:2px}
.sr-add{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 14px;border:1.5px solid var(--sr-brand);border-radius:999px;background:transparent;font-size:14.5px;font-weight:700;color:var(--sr-brand);white-space:nowrap;transition:background-color .18s,color .18s,border-color .18s}
.sr-add.is-done{border-color:transparent;background:var(--sr-tint);color:var(--sr-tint-ink)}
.sr-add:disabled:not(.is-done){opacity:.45}
.sr-swap{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:40px;padding:0 12px;border:0;border-radius:999px;background:transparent;font-size:14px;font-weight:600;color:var(--sr-ink-2);white-space:nowrap}
.sr-item .sr-add{min-height:32px;font-size:13.5px}
.sr-item .sr-swap{min-height:26px;font-size:13px}
/* The mask is optional: same row, drawn as a dashed outline outside the set. */
.sr-routine--extra{margin-top:10px}
.sr-item--extra{border-style:dashed;border-color:var(--sr-line-strong);background:transparent}
.sr-item--extra .sr-item-step b{font-size:13.5px}
.sr-howto{display:grid;gap:4px;margin-top:12px;padding:0 4px}
.sr-howto-row{display:flex;align-items:center;gap:12px}
.sr-howto-row>p{display:flex;align-items:center;gap:5px;min-width:52px;font-size:13.5px;color:var(--sr-ink)}
.sr-howto-row>p svg{color:var(--sr-warm)}
.sr-howto ol{display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin:0;padding:0;list-style:none}
.sr-howto li{position:relative;font-size:13.5px;font-weight:700;color:var(--sr-ink-2)}
.sr-howto li:not(:last-child)::after{content:"";position:absolute;right:-11px;top:50%;width:6px;height:6px;border-top:1.5px solid var(--sr-ink-3);border-right:1.5px solid var(--sr-ink-3);transform:translateY(-50%) rotate(45deg)}
.sr-method{grid-area:method;margin-top:14px;border-top:1px solid var(--sr-line)}
.sr-method summary{display:flex;align-items:center;min-height:44px;font-size:14px;font-weight:700;color:var(--sr-ink-2);cursor:pointer;list-style:none}
.sr-method summary::-webkit-details-marker{display:none}
.sr-method div{display:grid;gap:10px;padding:4px 0 10px}
.sr-method p{font-size:13.5px;line-height:1.7;color:var(--sr-ink-2)}
.sr-method p b{display:block;margin-bottom:2px;font-size:14px;color:var(--sr-ink)}
.sr-method a{color:var(--sr-brand);text-underline-offset:3px}

.sr-cartbar{flex:0 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"total offer act" "total note act";align-items:center;column-gap:28px;padding:10px 40px;border-top:1px solid var(--sr-line);background:rgba(248,245,236,.96)}
.sr-cart-total{grid-area:total}
.sr-cart-total span{display:block;font-size:13px;color:var(--sr-ink-3)}
.sr-cart-total b{font-size:24px;font-weight:800;line-height:1.2;color:var(--sr-brand);font-variant-numeric:tabular-nums}
.sr-offer{grid-area:offer;align-self:end;font-size:13.5px;font-weight:700;color:var(--sr-warm)}
.sr-cartbar:has(.sr-cart-note:empty) .sr-offer{grid-row:1/3;align-self:center}
.sr-cart-actions{grid-area:act;justify-self:end;display:flex;align-items:center;gap:14px}
.sr-cart-actions .sr-link{margin:0;white-space:nowrap}
.sr-add-all.is-done{background:var(--sr-tint);color:var(--sr-tint-ink)}
.sr-cart-note{grid-area:note;align-self:start;font-size:13.5px;line-height:1.5;color:var(--sr-ink-2)}
.sr-cart-note:empty{display:none}
.sr-cart-note.is-error{color:#9b3b2a}

.sr-results--empty{display:grid;place-items:center;padding:24px}
.sr-empty{display:grid;justify-items:center;gap:10px;max-width:440px;text-align:center}
.sr-empty img{width:150px;height:auto}
.sr-empty h2{font-size:26px}
.sr-empty p{font-size:15px;line-height:1.6;color:var(--sr-ink-2)}
.sr-empty div{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 18px;margin-top:8px}

/* ── swap sheet ─────────────────────────────────────────────────────── */
dialog.sr-sheet{width:min(580px,calc(100vw - 32px));max-height:min(86dvh,760px);padding:0;margin:auto;border:0;border-radius:24px;background:var(--sr-paper);color:var(--sr-ink);overflow:hidden;box-shadow:0 30px 90px -30px rgba(17,38,46,.6)}
dialog.sr-sheet[open]{display:flex;flex-direction:column}
.sr-sheet header{display:flex;align-items:center;justify-content:space-between;padding:16px 12px 6px 24px}
.sr-sheet h3{font-size:23px}
.sr-sheet-body{overflow:auto;padding:4px 24px 24px}
.sr-why{padding:14px 16px;border-radius:16px;background:#f0ebdf;font-size:14px;line-height:1.65;color:var(--sr-ink-2)}
.sr-why b{display:block;margin-bottom:6px;font-size:14.5px;color:var(--sr-ink)}
.sr-why ul{display:grid;gap:4px;margin:0;padding:0 0 0 18px}
.sr-why li::marker{color:var(--sr-warm)}
.sr-alts{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}
.sr-alt{display:grid;grid-template-columns:84px minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;border:1px solid var(--sr-line);border-radius:18px;background:var(--sr-card)}
.sr-alt img{width:84px;height:84px;object-fit:contain;border-radius:12px;background:#fff;border:1px solid #eeebe3}
.sr-alt .sr-name{font-size:15px;-webkit-line-clamp:2}
.sr-alt .sr-lead{font-size:13.5px;margin-top:4px}
.sr-alt.is-current{border-color:var(--sr-action);background:var(--sr-tint)}
.sr-now{font-size:12.5px;font-weight:800;color:var(--sr-tint-ink)}

/* Tokens and flying products live inside the dialog's top layer. */
.ss-token{position:fixed;z-index:20;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--sr-card);border:1.5px solid var(--sr-brand);color:var(--sr-brand);--tone:#dbe9ee;box-shadow:0 8px 18px -8px rgba(31,58,68,.5);pointer-events:none}
.ss-token svg{width:30px;height:30px}
.sr-ghost{position:fixed;z-index:20;object-fit:contain;border-radius:12px;background:#fff;pointer-events:none}

@media (hover:hover) and (pointer:fine){
  .sr-cta:hover{background:var(--sr-brand-hover);transform:translateY(-1px)}
  .sr-cta:hover svg,.sr-next:not(:disabled):hover svg{transform:translateX(3px)}
  .sr-next:not(:disabled):hover,.sr-add-all:not(:disabled):hover{background:var(--sr-brand-hover)}
  .sr-tile:hover:not(.is-picked){border-color:#b8c5c2;box-shadow:0 1px 2px rgba(31,58,68,.05),0 8px 18px -14px rgba(31,58,68,.4)}
  .sr-quiet:hover:not(.is-picked),.sr-chip:hover:not(.is-picked){border-color:#9fb0ae}
  .sr-segment button:hover:not(.is-picked){color:var(--sr-ink)}
  .sr-motion:hover,.sr-close:hover,.sr-back:hover{background:#ece6d8;border-radius:999px}
  .sr-add:hover:not(:disabled),.sr-edit:hover{background:var(--sr-brand);color:#fffaf0}
  .sr-swap:hover{background:#ece6d8;color:var(--sr-ink)}
  .sr-item:hover .sr-item-img img{transform:scale(1.04)}
  .sr-name a:hover{text-decoration:underline;text-underline-offset:3px}
  /* A bottle named in the plan and its row light up together. */
  .sr-item.is-linked{border-color:var(--sr-action);box-shadow:0 0 0 1px var(--sr-action)}
  .sr-plan-by li.is-linked{background:var(--sr-tint)}
}

/* ── tablet ─────────────────────────────────────────────────────────── */
@media (max-width:1100px) and (min-width:761px){
  #skin-studio.sr{grid-template-columns:250px minmax(0,1fr) auto;gap:20px;padding-right:26px}
  .ss-entry-cat{left:92px;width:140px}
  /* Shop and Shima kept whole inside the 250px art column, clear of the title. */
  .ss-entry-video{width:270px;aspect-ratio:auto;object-position:30% 50%;-webkit-mask-image:linear-gradient(90deg,#000 90%,transparent);mask-image:linear-gradient(90deg,#000 90%,transparent)}
  #skin-studio .sr-entry-copy h2{font-size:22px}
  .sr-entry-sub{font-size:14px}
  .sr-quiz{grid-template-columns:36% minmax(0,1fr)}
  .sr-quiz.is-packing{grid-template-columns:50% minmax(0,1fr)}
  .sr-progress,.sr-scroll,.sr-foot,.sr-pack{padding-left:28px;padding-right:28px}
  .sr-pack{padding-left:calc(100% - 50cqi + 28px)}
  .sr-q.is-leaving{left:28px;right:28px}
  .sr-results-scroll{padding:16px 24px 20px}
  .sr-board{grid-template-columns:minmax(0,1fr) minmax(0,1.32fr);column-gap:24px}
  .sr-hero{grid-template-columns:128px minmax(0,1fr);gap:14px}
  .sr-hero-copy h2{font-size:21px}
  .sr-plan{margin-top:16px}
  .sr-item{grid-template-columns:34px 48px minmax(0,1fr) auto auto;column-gap:10px;padding:8px 10px 8px 6px}
  .sr-item-img{width:48px;height:48px}
  :lang(en) .sr-item{grid-template-columns:64px 48px minmax(0,1fr) auto auto}
  .sr-item .sr-add{padding:0 12px}
  .sr-cartbar{padding:10px 24px}
}
/* Short desktop windows: the dialog takes the height back from its margin. */
@media (min-width:761px) and (max-height:760px){
  dialog.sr-studio{height:calc(100dvh - 24px)}
  .sr-top{height:52px}
  .sr-results-scroll{padding-top:14px}
  .sr-plan{margin-top:14px}
}
@media (max-width:900px) and (min-width:761px){
  .sr-tiles--concern,.sr-tiles--skin{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* Portrait tablets have height, not width: plan above the list. */
  .sr-board{grid-template-columns:minmax(0,1fr);grid-template-areas:"hero" "plan" "set" "method";grid-template-rows:none}
  .sr-set{margin-top:18px}
}

/* ── phone: the window is the whole screen; the shop is a band on top ─ */
@media (max-width:760px){
  #skin-studio.sr{height:auto;min-height:198px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:12px;padding:20px 14px 16px 36%;border-radius:18px}
  .ss-panorama--desktop{display:none}
  .ss-panorama--mobile{display:block}
  .ss-entry-mist{background:linear-gradient(90deg,transparent 30%,rgba(246,244,233,.62) 48%,rgba(246,244,233,.7))}
  .ss-entry-cat{left:2%;width:33%;max-width:140px;bottom:-2px}
  /* Phones keep Shima from the same clip; the drawn shop steps aside for her. */
  .ss-entry-video{aspect-ratio:3/4;object-position:90% 50%;-webkit-mask-image:linear-gradient(90deg,#000 70%,transparent);mask-image:linear-gradient(90deg,#000 70%,transparent)}
  .sr-entry-copy{grid-column:1}
  #skin-studio .sr-entry-copy h2{font-size:18.5px;line-height:1.4}
  .sr-entry-sub{font-size:13px;margin-top:6px}
  .sr-entry-action{grid-column:1}
  .sr-cta{min-height:46px;padding:0 18px 0 20px;font-size:15px;gap:8px}
  .sr-motion--entry{top:8px;right:8px;width:30px;height:30px}

  /* Phone: a sheet from the bottom, not the whole screen. The page stays in
     view above it, so leaving is one tap away (or a drag on the top bar). */
  dialog.sr-studio{inset:auto 0 0;width:100vw;height:90dvh;max-height:90dvh;margin:0;border-radius:20px 20px 0 0}
  .sr-top{position:relative;height:48px;padding:0 6px 0 16px;touch-action:none}
  .sr-top::before{content:"";position:absolute;top:5px;left:50%;width:36px;height:4px;margin-left:-18px;border-radius:2px;background:var(--sr-line-strong)}
  .sr-top-label{gap:8px;font-size:14px}
  .sr-top-label img{width:26px;height:26px}
  /* --k (0 to 1, set by fitBand) grows the options into room to spare. */
  .sr-studio{--k:0}
  .sr-quiz{display:flex;flex-direction:column}
  /* A question never scrolls: the shop band takes the height the step leaves
     (fitBand sets it), from a strip up to the full 16:9 picture. */
  .sr-art{flex:0 0 56.25vw;transition:flex-basis .32s var(--sr-ease)}
  /* A band shorter than the picture keeps Shima in frame. */
  .ss-scene[data-scene="s0"] .ss-video{object-position:50% 88%}
  .ss-scene[data-scene="s1"] .ss-video{object-position:50% 60%}
  .ss-scene[data-scene="s2"] .ss-video{object-position:50% 26%}
  .ss-scene:is([data-scene="s3"],[data-scene="pack"]) .ss-video{object-position:46% 92%}
  .sr-panel{flex:1}
  .sr-progress{padding:8px 16px 0}
  .sr-progress ol{gap:6px}
  .sr-progress button{gap:5px;padding-bottom:2px}
  .sr-progress-label{font-size:11.5px;gap:3px}
  .sr-scroll{padding:10px 16px 8px}
  .sr-q.is-leaving{left:16px;right:16px}
  .sr-q h2{font-size:20px;line-height:1.3}
  .sr-help{margin-top:2px;font-size:12.5px;line-height:1.45}
  .sr-help+*{margin-top:calc(10px + 6px * var(--k))}
  .sr-note{min-height:18px;margin-top:6px;font-size:12.5px;line-height:1.4}
  .sr-tiles{gap:calc(6px + 4px * var(--k))}
  /* Concerns: the picture beside the words, three to a row. */
  .sr-tiles--concern .sr-tile{grid-template-columns:calc(26px + 6px * var(--k)) minmax(0,1fr);column-gap:6px;padding:calc(7px + 10px * var(--k)) 8px;min-height:0}
  .sr-tiles--concern .sr-tile-art,.sr-tiles--concern .sr-tile-art svg{width:calc(26px + 6px * var(--k));height:calc(26px + 6px * var(--k))}
  .sr-tiles--concern b{font-size:calc(14px + 1.5px * var(--k))}
  .sr-tiles--concern small{margin-top:0;font-size:11.5px}
  /* The number sits on the tile's corner, clear of the words. */
  .sr-badge{top:-6px;right:-6px;width:18px;height:18px;font-size:11px}
  .sr-quiet{margin-top:6px;min-height:calc(38px + 10px * var(--k));font-size:calc(13.5px + .5px * var(--k))}
  .sr-tiles--concern .sr-quiet{margin-top:0}
  /* English names run long: two to a row, 「Nothing in particular」 in the free cell. */
  :lang(en) .sr-tiles--concern{grid-template-columns:repeat(2,minmax(0,1fr))}
  :lang(en) .sr-tiles--concern .sr-quiet{grid-column:auto;min-height:0;padding:6px 8px;font-size:13px}
  :lang(en) .sr-tiles--concern b{font-size:13.5px}
  .sr-tiles--skin{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sr-tiles--skin .sr-tile{grid-template-columns:calc(30px + 8px * var(--k)) minmax(0,1fr);column-gap:8px;justify-items:start;text-align:left;padding:calc(7px + 9px * var(--k)) 10px;min-height:0}
  .sr-tiles--skin .sr-tile-art{grid-row:1/3;width:calc(30px + 8px * var(--k));height:calc(33px + 9px * var(--k))}
  .sr-tiles--skin .sr-tile-art svg{width:calc(30px + 8px * var(--k));height:auto}
  .sr-tiles--skin .sr-tile b{font-size:calc(14.5px + 1.5px * var(--k))}
  :lang(en) .sr-tiles--skin .sr-tile b{font-size:13.5px}
  .sr-tiles--skin .sr-tile small{font-size:11.5px}
  .sr-group{position:relative;margin-bottom:calc(10px + 8px * var(--k))}
  .sr-group legend,.sr-row-label{margin-bottom:6px;font-size:13px}
  /* 「唔肯定」 sits on the legend's line instead of under the tiles. */
  .sr-group>.sr-link{position:absolute;top:-32px;right:0;min-height:32px;margin:0;font-size:12.5px}
  .sr-segment button{min-height:calc(38px + 8px * var(--k));font-size:calc(14px + .5px * var(--k))}
  :lang(en) .sr-segment button{font-size:13px}
  .sr-safety legend{margin-bottom:2px;font-size:12.5px}
  .sr-check{gap:8px;margin-top:2px;font-size:calc(13px + 1px * var(--k));line-height:1.4}
  .sr-check input{width:16px;height:16px;margin-top:1px}
  .sr-safety .sr-check+.sr-check{margin-top:calc(4px + 6px * var(--k))}
  .sr-group--after{margin-top:calc(10px + 8px * var(--k))}
  .sr-tiles--texture{gap:6px}
  .sr-tiles--texture .sr-tile{padding:calc(8px + 10px * var(--k)) 4px calc(7px + 9px * var(--k))}
  .sr-swatch{width:calc(44px + 18px * var(--k));height:calc(34px + 14px * var(--k));margin-bottom:calc(4px + 3px * var(--k))}
  .sr-tiles--texture b{font-size:calc(14px + 1.5px * var(--k))}
  .sr-tiles--texture small,.sr-tiles--routine small{font-size:11px}
  .sr-tiles--routine{gap:6px}
  .sr-tiles--routine .sr-tile{padding:calc(8px + 10px * var(--k)) 4px calc(7px + 9px * var(--k))}
  .sr-pictos{height:calc(24px + 10px * var(--k));margin-bottom:calc(4px + 3px * var(--k))}
  .sr-pictos i{width:calc(18px + 6px * var(--k))}
  .sr-pictos svg{width:calc(20px + 7px * var(--k));height:calc(20px + 7px * var(--k))}
  .sr-pictos i+i{margin-left:-2px}
  .sr-tiles--routine b{font-size:calc(14px + 1.5px * var(--k))}
  .sr-row{margin-top:calc(10px + 8px * var(--k))}
  .sr-row .sr-row-label{margin-bottom:6px}
  .sr-chips{gap:6px}
  .sr-chip{min-height:calc(34px + 6px * var(--k));padding:0 11px;font-size:13px}
  :lang(en) .sr-chip{padding:0 8px;font-size:12px}
  .sr-fine{margin-top:4px;font-size:12px;line-height:1.4}
  .sr-more{margin-top:calc(8px + 6px * var(--k))}
  .sr-more summary{min-height:40px}
  .sr-more summary b{font-size:13.5px}
  .sr-foot{padding:8px 16px calc(8px + env(safe-area-inset-bottom));gap:10px}
  .sr-next{min-height:44px;padding:0 22px;font-size:15px}
  .sr-back{min-height:44px;font-size:14px}

  .sr-pack{padding:12px 16px calc(8px + env(safe-area-inset-bottom))}
  .sr-pack-title{font-size:20px}
  .sr-receipt{gap:2px;margin-top:8px}
  .sr-receipt li{grid-template-columns:36px minmax(0,1fr) auto;gap:10px;padding:4px 0}
  .sr-receipt img{width:36px;height:36px;border-radius:9px}
  .sr-receipt span{font-size:12.5px}
  .sr-receipt span b{font-size:13.5px}
  .sr-receipt em{font-size:14px}
  .sr-receipt-total{margin-top:8px}
  .sr-receipt-total b{font-size:19px}
  .sr-pack .sr-link{min-height:36px}

  /* Phone: one column. A shorter band keeps the plan and first rows near. */
  .sr-results-scroll{padding:0 16px 20px}
  .sr-board{grid-template-columns:minmax(0,1fr);grid-template-areas:"hero" "plan" "set" "method";grid-template-rows:none}
  .sr-hero{grid-template-columns:1fr;gap:12px}
  .sr-hero-art{aspect-ratio:auto;height:150px;margin:0 -16px;border-radius:0}
  .sr-hero-copy h2{font-size:22px}
  .sr-plan{margin-top:16px}
  .sr-set{margin-top:18px}
  .sr-item,:lang(en) .sr-item{grid-template-columns:60px minmax(0,1fr) auto;grid-template-areas:"img step act" "img body act" "img price act";align-items:start;column-gap:12px;row-gap:1px;padding:10px 10px 10px 12px}
  .sr-item-step{display:flex;align-items:baseline;gap:6px;justify-items:start;text-align:left}
  .sr-item-step b{font-size:13px}
  .sr-item-img{width:60px;height:60px;align-self:center}
  .sr-item .sr-name{font-size:14.5px;-webkit-line-clamp:2}
  .sr-item .sr-lead{display:none}
  .sr-item .sr-price-row{display:flex;justify-content:flex-start;gap:2px 6px;margin-top:2px;text-align:left}
  .sr-item .sr-price-row b{font-size:15px}
  .sr-item-actions{align-self:center}
  .sr-item .sr-add{min-height:40px;padding:0 12px;font-size:13px}
  .sr-item .sr-swap{min-height:34px}
  .sr-howto-row{align-items:flex-start}
  .sr-plan-head{grid-template-columns:22px minmax(0,1fr)}
  .sr-plan-head span{grid-column:2}
  .sr-cartbar{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"total act" "offer offer" "note note";padding:10px 16px calc(10px + env(safe-area-inset-bottom));gap:2px 14px}
  .sr-cartbar:has(.sr-cart-note:empty) .sr-offer{grid-row:auto}
  .sr-cart-total b{font-size:21px}
  .sr-cart-total span{font-size:12px}
  .sr-add-all{min-height:50px;padding:0 20px;font-size:15px}
  :lang(en) .sr-add-all{padding:0 16px;font-size:14px;white-space:nowrap}
  :lang(en) .sr-cart-actions{gap:10px}
  .sr-cart-actions{gap:8px}

  dialog.sr-sheet{width:100vw;max-width:100vw;max-height:90dvh;margin:auto 0 0;border-radius:24px 24px 0 0}
  .sr-sheet-body{padding:4px 16px calc(20px + env(safe-area-inset-bottom))}
  .sr-sheet header{padding:12px 6px 4px 18px}
  .sr-alt{grid-template-columns:72px minmax(0,1fr);gap:12px}
  .sr-alt img{width:72px;height:72px}
  .sr-alt .sr-add{grid-column:1/-1}
}
@media (max-width:360px){
  #skin-studio.sr{padding-left:35%}
  #skin-studio .sr-entry-copy h2{font-size:17px}
  .sr-tiles--concern b{font-size:13.5px}
  /* Narrow phones: a smaller picture leaves the five-character hints one line. */
  .sr-tiles--concern .sr-tile{grid-template-columns:22px minmax(0,1fr);column-gap:5px;padding:7px 6px}
  .sr-tiles--concern .sr-tile-art,.sr-tiles--concern .sr-tile-art svg{width:22px;height:22px}
  .sr-tiles--concern small{font-size:11px}
  .sr-help{display:none}
  .sr-help+*{margin-top:8px}
  :lang(en) .sr-chip{padding:0 6px;font-size:11.5px}
  .sr-item,:lang(en) .sr-item{grid-template-columns:52px minmax(0,1fr) auto}
  .sr-item-img{width:52px;height:52px}
}
/* Shorter phones: step names and the safety heading give way first. */
@media (max-width:760px) and (max-height:700px){
  .sr-progress-label{display:none}
  .sr-progress button{padding-bottom:0}
  .sr-safety legend{display:none}
}
/* Short phones (an SE in Safari): a taller sheet, and the help line and the
   price note give way, so a step still fits. */
@media (max-width:760px) and (max-height:620px){
  dialog.sr-studio{height:94dvh;max-height:94dvh}
  .sr-help{display:none}
  .sr-help+*{margin-top:8px}
  .sr-row .sr-fine{display:none}
  .sr-tiles--skin .sr-tile,.sr-tiles--concern .sr-tile{padding-top:5px;padding-bottom:5px}
  .sr-tiles--routine .sr-tile,.sr-tiles--texture .sr-tile{padding-top:6px;padding-bottom:5px}
  .sr-segment button{min-height:34px}
  .sr-chip{min-height:32px}
  .sr-more summary{min-height:34px}
  .sr-tiles{gap:5px}
}

@media (prefers-reduced-motion:reduce){
  #skin-studio *,.sr-studio *,.sr-sheet *{animation:none!important;transition:none!important}
  .sr-motion{display:none}
}

/* MBTI feature signature: four quiet colour tiles, an OUJI sea-blue nameplate. */
#skin-studio .sr-mbti-sign{display:inline-flex;align-items:center;gap:10px;width:max-content;max-width:100%;padding:9px 12px;border:1px solid #a7c1c2;border-radius:14px;background:#fffdf6;box-shadow:0 3px 0 #d3e2df;color:#2b4c58;transform:rotate(-1.5deg)}
#skin-studio .sr-mbti-sign__name{font:700 22px/1.1 var(--sr-serif);letter-spacing:.04em;white-space:nowrap}
#skin-studio .sr-mbti-sign__tiles{display:flex;gap:4px}
#skin-studio .sr-mbti-sign__tiles>span{display:grid;place-items:center;width:30px;height:34px;border-radius:6px;background:#dbe9e2;font:700 24px/1 var(--sr-sans);letter-spacing:0}
#skin-studio .sr-mbti-sign__tiles>span:nth-child(2){background:#e9deeb}
#skin-studio .sr-mbti-sign__tiles>span:nth-child(3){background:#f2e4c9}
#skin-studio .sr-mbti-sign__tiles>span:nth-child(4){background:#dce8ef}
#skin-studio .sr-entry-copy .sr-mbti-sign{margin-bottom:12px}
#skin-studio .sr-entry-copy h2{font-size:clamp(28px,2.7vw,38px);line-height:1.28}
#skin-studio .sr-entry-copy h2>span{display:block}
@media(min-width:761px){
  #skin-studio.sr:not(.sr--inline){height:auto;min-height:240px;padding-block:24px}
}
@media(max-width:959px){
  #skin-studio .sr-mbti-sign{gap:7px;padding:7px 9px;border-radius:11px}
  #skin-studio .sr-mbti-sign__name{font-size:17px}
  #skin-studio .sr-mbti-sign__tiles{gap:3px}
  #skin-studio .sr-mbti-sign__tiles>span{width:23px;height:27px;font-size:20px}
}
@media(max-width:760px){
  #skin-studio .sr-entry-copy h2{font-size:clamp(22px,5.4vw,28px);line-height:1.35}
  #skin-studio .sr-entry-copy .sr-mbti-sign{margin-bottom:12px}
  #skin-studio .sr-entry-sub{font-size:13px;line-height:1.6}
}


/* OUJI home bundle: home-skincare.css */
/* Homepage skincare studio. The invitation on smaller screens still opens the
   shared sheet; the desktop quiz lives directly inside this shelf-height band. */
.home-codex .home-skincare {
  padding-block: 38px 0;
}

.home-skincare #skin-studio.sr {
  width: 100%;
  margin-bottom: 0;
}

.home-skincare #skin-studio .sr-entry-copy h2 {
  margin: 0;
  font-weight: 600;
}

.home-skincare #skin-studio .sr-entry-sub {
  margin-top: 8px;
}

@media (min-width: 960px) {
  .home-codex .home-skincare {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    height: 404.6875px;
    padding: 20px clamp(18px, 4.5vw, 68px);
    background: transparent;
    border: 0;
  }

  .home-codex .home-skincare #skin-studio.sr.sr--inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 1576px;
    height: 364.6875px;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scroll-margin-top: 124px;
  }

  .home-codex .home-skincare #skin-studio .sr-section-heading {
    flex: 0 0 36px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
  }
  .home-codex .home-skincare #skin-studio .sr-section-heading h2 {
    margin: 0;
    font: 600 clamp(24px, 2vw, 28px)/36px var(--serif);
    color: var(--unified-ink);
    letter-spacing: -.025em;
  }
  .home-codex .home-skincare #skin-studio .sr-section-heading p {
    margin: 0;
    font: 400 12px/1.5 var(--sans);
    color: var(--unified-muted);
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-art .ss-stage {
    inset: auto 0;
    top: 50%;
    aspect-ratio: 16 / 9;
    height: auto;
    transform: translateY(-50%);
    background: transparent;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 84%, transparent);
    mask-composite: intersect;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-art .ss-video {
    object-fit: contain;
    object-position: center;
    background: transparent;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-foot,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-cartbar,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded)[data-view="results"] .sr-top {
    background: transparent;
    border: 0;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) {
    --home-sr-space: 16px;
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--sr-ink);
    font: 400 14px/1.45 var(--sr-sans);
  }

  /* The homepage's broad h2/h3/p rules otherwise weaken the shared studio. */
  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) :is(h2, h3) {
    margin: 0;
    font-family: var(--sr-serif);
    font-weight: 600;
    color: var(--sr-brand);
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) p {
    margin-top: 0;
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) p.sr-help {
    margin-top: 3px;
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) p.sr-plan-miss {
    margin: 6px 0 0 30px;
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) p.sr-lead {
    margin-top: 6px;
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) .sr-item p.sr-lead {
    margin-top: 1px;
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) p.sr-price-row {
    margin-top: 4px;
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) .sr-item p.sr-price-row {
    margin: 0;
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) p.sr-receipt-total {
    margin-top: 8px;
  }

  .home-codex .home-skincare #skin-studio .sr-studio--inline:not(.sr-studio--expanded) p.sr-fine {
    margin-top: 10px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-top {
    position: absolute;
    z-index: 6;
    top: 8px;
    left: 10px;
    display: flex;
    width: calc(38% - 20px);
    height: 34px;
    padding: 0 4px;
    border: 0;
    pointer-events: none;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-top-label {
    gap: 7px;
    min-width: 0;
    color: #244652;
    font-size: 12px;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(255, 255, 255, .85);
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-top-label img {
    width: 24px;
    height: 24px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-top-tools {
    margin-left: auto;
    pointer-events: auto;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-motion {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(43, 76, 88, .18);
    border-radius: 50%;
    background: rgba(255, 253, 248, .78);
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-close {
    display: none;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-quiz {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 18px;
    transition: grid-template-columns .8s var(--sr-ease);
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-quiz.is-packing {
    grid-template-columns: 52% minmax(0, 1fr);
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-art {
    min-width: 0;
    min-height: 0;
    background: transparent;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-panel {
    min-width: 0;
    min-height: 0;
    overflow: visible;
    background: transparent;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-progress {
    flex: 0 0 auto;
    padding: 4px 18px 0;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-progress ol {
    gap: 8px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-progress button {
    gap: 5px;
    padding-bottom: 2px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-progress button:disabled { opacity: .72; }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-group { margin-bottom: 14px; }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-group legend {
    margin-bottom: 8px;
    font-size: 13px;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) :is(.sr-tiles--skin, .sr-tiles--routine) .sr-tile {
    min-height: 72px;
    padding: 8px;
    gap: 3px;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) :is(.sr-tiles--skin, .sr-tiles--routine) .sr-tile-art {
    width: 30px;
    height: 30px;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) :is(.sr-tiles--skin, .sr-tiles--routine) .sr-tile-art svg {
    width: 28px;
    height: 30px;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) :is(.sr-tiles--skin, .sr-tiles--texture, .sr-tiles--routine) .sr-tile b { font-size: 14px; }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) :is(.sr-tiles--skin, .sr-tiles--texture, .sr-tiles--routine) .sr-tile small { font-size: 12px; }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--texture .sr-tile {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
    justify-items: start;
    column-gap: 6px;
    row-gap: 1px;
    min-height: 56px;
    padding: 8px;
    text-align: left;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-swatch {
    grid-row: 1 / 3;
    width: 36px;
    height: 34px;
    margin: 0;
    align-self: center;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-swatch i { inset: 3px; }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--texture + .sr-quiet {
    min-height: 34px;
    margin-top: 8px;
    padding: 4px 10px;
    font-size: 13px;
  }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-group--after { margin: 8px 0 0; }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) :is(.sr-link, .sr-segment button) {
    min-height: 36px;
    font-size: 13px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-progress-bar {
    height: 4px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-progress-label {
    gap: 4px;
    font-size: 12px;
    line-height: 1.25;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-scroll {
    flex: 0 0 auto;
    overflow: visible;
    min-width: 0;
    min-height: 0;
    padding: 4px 18px 3px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-q h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-help {
    margin: 3px 0 0;
    font-size: 13px;
    line-height: 1.4;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-help + * {
    margin-top: 7px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern .sr-tile {
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 7px;
    min-width: 0;
    min-height: 42px;
    padding: 4px 8px;
    border-radius: 10px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern .sr-tile-art {
    grid-row: 1 / 3;
    width: 24px;
    height: 30px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern .sr-tile-art svg {
    width: 23px;
    height: 23px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern .sr-tile b {
    align-self: end;
    font-size: 14px;
    line-height: 1.2;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern .sr-tile small {
    align-self: start;
    margin-top: 1px;
    font-size: 12px;
    line-height: 1.15;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern .sr-badge {
    top: 3px;
    right: 3px;
    width: 17px;
    height: 17px;
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern .sr-quiet {
    grid-column: 1 / -1;
    min-height: 34px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12.5px;
    line-height: 1.25;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-tiles--concern .sr-quiet svg {
    width: 19px;
    height: 19px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-note {
    min-height: 0;
    margin-top: 0;
    font-size: 12px;
    line-height: 1.3;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-note:empty {
    display: none;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-foot {
    flex: 0 0 42px;
    min-height: 42px;
    padding: 4px 18px;
    gap: 10px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded)[data-step="0"] .sr-back {
    visibility: hidden;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-back {
    min-height: 36px;
    font-size: 13px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-next {
    min-height: 38px;
    padding: 0 20px;
    font-size: 14px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-pack {
    overflow: visible;
    padding: 22px 18px 14px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-pack-title {
    font-size: 22px;
    line-height: 1.25;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-receipt {
    gap: 2px;
    margin-top: 10px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-receipt li {
    grid-template-columns: 36px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 4px 0;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-receipt img {
    width: 36px;
    height: 36px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-receipt span,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-receipt em {
    font-size: 12px;
    line-height: 1.3;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-receipt span b {
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-receipt-total {
    margin-top: 8px;
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-receipt-total b {
    font-size: 18px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-pack .sr-link {
    min-height: 34px;
    margin-top: 6px;
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-results {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded)[data-view="results"] .sr-top {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 32px;
    flex: 0 0 32px;
    padding: 0 12px;
    border-bottom: 1px solid var(--sr-line);
    background: var(--sr-paper);
    pointer-events: auto;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-results-scroll {
    flex: 0 0 auto;
    overflow: visible;
    padding: 8px 16px 6px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-board {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    grid-template-areas: "hero set" "plan set" "method set";
    column-gap: 14px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-hero {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 8px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-hero-copy h2 {
    font-size: 18px;
    line-height: 1.25;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-hero-copy > p,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-head span,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-by li,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-miss,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-care li {
    font-size: 12px;
    line-height: 1.35;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-edit {
    min-height: 34px;
    margin-top: 4px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan {
    margin-top: 10px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan h3 {
    font-size: 14px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-item {
    padding: 5px 0;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-head {
    grid-template-columns: 19px auto minmax(0, 1fr);
    column-gap: 5px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-head i {
    width: 19px;
    height: 19px;
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-head b {
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-by {
    margin: 3px 0 0 22px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-plan-by img {
    width: 18px;
    height: 18px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-method summary {
    min-height: 34px;
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-set {
    min-width: 0;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-routine {
    gap: 5px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-item {
    grid-template-columns: 27px 36px minmax(0, 1fr) auto;
    grid-template-areas: "step img body price" "step img act act";
    column-gap: 7px;
    row-gap: 2px;
    padding: 5px;
    border-radius: 10px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-item-step b,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-item-step span,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-item-step small,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-brand,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-lead,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-price-row,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-price-row b {
    font-size: 12px;
    line-height: 1.25;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-item-img,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-item-img img {
    width: 36px;
    height: 36px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-item-body {
    min-width: 0;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-name {
    font-size: 12px;
    line-height: 1.25;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-item-actions {
    justify-content: flex-start;
    gap: 4px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-add,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-swap {
    min-height: 28px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-cartbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "total offer act";
    column-gap: 12px;
    min-height: 62px;
    padding: 6px 16px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-cart-total span,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-offer,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-cart-note {
    font-size: 12px;
    line-height: 1.3;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-cart-total b {
    font-size: 18px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-cart-actions {
    gap: 6px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-cart-actions .sr-link {
    min-height: 32px;
    font-size: 12px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-add-all {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-results--empty {
    padding: 10px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-empty {
    gap: 6px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-empty img {
    width: 68px;
    height: 68px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-empty h2 {
    font-size: 18px;
  }

  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-empty p {
    font-size: 12px;
  }
}

@media (max-width: 959px) {
  .home-codex .home-skincare {
    padding-top: 30px;
    padding-right: var(--page-gutter, 18px);
    padding-left: var(--page-gutter, 18px);
  }
}

@media (max-width: 760px) {
  .home-codex .home-skincare {
    padding-top: 30px;
  }

  .home-skincare #skin-studio .sr-entry-sub {
    margin-top: 6px;
  }
}

@media (min-width: 960px) {
  .home-codex .home-skincare #skin-studio { --sr-paper: var(--unified-paper); }
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-foot,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded) .sr-cartbar,
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded)[data-view="results"] .sr-top { background: transparent; border: 0; }
}

/* Desktop continuation stays in normal document flow. Only the first
   question uses the original shelf-height band. */
@media (min-width: 960px) {
  .home-codex .home-skincare.home-skincare--expanded { height: auto; }
  .home-codex .home-skincare #skin-studio.sr.sr--expanded {
    height: auto;
    overflow: visible;
  }
  .home-skincare .sr-studio--expanded {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    min-height: 0;
    border: 0;
    background: transparent;
  }
  .home-codex .home-skincare #skin-studio .sr-studio--expanded :is(h2, h3) {
    margin: 0;
    font-family: var(--sr-serif);
    font-weight: 600;
    color: var(--sr-brand);
  }
  .home-codex .home-skincare #skin-studio .sr-studio--expanded p { margin-top: 0; }
  .home-codex .home-skincare #skin-studio .sr-studio--expanded .sr-help { margin-top: 5px; }
  .home-skincare .sr-studio--expanded .sr-quiz {
    flex: 0 0 auto;
    grid-template-columns: 38% minmax(0, 1fr);
    gap: 24px;
    min-height: 440px;
  }
  .home-skincare .sr-studio--expanded .sr-panel { overflow: visible; background: transparent; }
  .home-skincare .sr-studio--expanded .sr-scroll {
    flex: 0 0 auto;
    overflow: visible;
    padding: 12px 18px 8px;
  }
  .home-skincare .sr-studio--expanded .sr-q.is-leaving { left: 18px; right: 18px; }
  .home-skincare .sr-studio--expanded .sr-q h2 { font-size: 28px; }
  .home-skincare .sr-studio--expanded .sr-progress { padding: 6px 18px 0; }
  .home-skincare .sr-studio--expanded .sr-help + * { margin-top: 14px; }
  .home-skincare .sr-studio--expanded .sr-group { margin-bottom: 12px; }
  .home-skincare .sr-studio--expanded .sr-group legend { margin-bottom: 8px; }
  .home-skincare .sr-studio--expanded .sr-tiles--skin .sr-tile {
    grid-template-columns: 30px minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    column-gap: 8px;
    row-gap: 2px;
    min-height: 76px;
    padding: 10px;
  }
  .home-skincare .sr-studio--expanded .sr-tiles--skin .sr-tile-art {
    grid-row: 1 / 3; width: 30px; height: 38px;
  }
  .home-skincare .sr-studio--expanded .sr-tiles--skin .sr-tile-art svg { width: 28px; height: 34px; }
  .home-skincare .sr-studio--expanded .sr-group .sr-link { min-height: 32px; }
  .home-skincare .sr-studio--expanded .sr-group--after { margin-top: 16px; }
  .home-skincare .sr-studio--expanded .sr-row { margin-top: 14px; }
  .home-skincare .sr-studio--expanded .sr-more { margin-top: 14px; }
  .home-skincare .sr-studio--expanded .sr-more summary { min-height: 44px; }
  .home-skincare .sr-studio--expanded .sr-note { min-height: 18px; margin-top: 8px; }
  .home-skincare .sr-studio--expanded .sr-note:empty { display: none; }
  .home-skincare .sr-studio--expanded .sr-tiles--routine .sr-tile { padding-block: 10px; }
  .home-skincare .sr-studio--expanded .sr-pictos { height: 32px; margin-bottom: 2px; }
  .home-skincare .sr-studio--expanded .sr-foot { margin-top: auto; padding: 10px 18px 0; border: 0; background: transparent; }
  .home-skincare .sr-studio--expanded .sr-top {
    position: absolute; z-index: 6; top: 8px; left: 10px;
    width: calc(38% - 20px); height: 36px; padding: 0 4px;
    border: 0; pointer-events: none;
  }
  .home-skincare .sr-studio--expanded .sr-top-label { gap: 7px; font-size: 12px; }
  .home-skincare .sr-studio--expanded .sr-top-label img { width: 24px; height: 24px; }
  .home-skincare .sr-studio--expanded .sr-top-tools { pointer-events: auto; }
  .home-skincare .sr-studio--expanded :is(.sr-close, .sr-motion) { width: 34px; height: 34px; background: rgba(255,253,248,.8); }
  .home-skincare .sr-studio--expanded .sr-art .ss-stage {
    inset: auto 0; top: 50%; aspect-ratio: 16 / 9; height: auto;
    transform: translateY(-50%); background: transparent;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 8%, #000 84%, transparent);
    mask-composite: intersect;
  }
  .home-skincare .sr-studio--expanded .sr-art .ss-video { object-fit: contain; object-position: center; }
  .home-skincare .sr-studio--expanded[data-view="results"] .sr-top { position: static; width: 100%; height: 44px; }
  .home-skincare .sr-studio--expanded .sr-results-scroll { overflow: visible; flex: 0 0 auto; padding-inline: 0; }
  .home-skincare .sr-studio--expanded .sr-cartbar { background: transparent; border: 0; }
}
@media (min-width: 960px) and (max-height: 760px) {
  .home-codex .home-skincare #skin-studio.sr.sr--expanded { gap: 8px; }
  .home-codex .home-skincare #skin-studio.sr--expanded .sr-section-heading { flex-basis: 30px; }
  .home-codex .home-skincare #skin-studio.sr--expanded .sr-section-heading h2 { font-size: 24px; line-height: 30px; }
  .home-skincare .sr-studio--expanded .sr-progress button { gap: 5px; }
  .home-skincare .sr-studio--expanded .sr-q h2 { font-size: 26px; }
  .home-skincare .sr-studio--expanded .sr-group { margin-bottom: 8px; }
  .home-skincare .sr-studio--expanded .sr-safety { margin-bottom: 0; }
  .home-skincare .sr-studio--expanded .sr-group legend { margin-bottom: 6px; }
  .home-skincare .sr-studio--expanded .sr-tiles--skin .sr-tile { min-height: 64px; padding-block: 6px; }
  .home-skincare .sr-studio--expanded .sr-group .sr-link { min-height: 28px; margin-top: 2px; }
  .home-skincare .sr-studio--expanded .sr-segment button { min-height: 40px; }
  .home-skincare .sr-studio--expanded .sr-safety .sr-check + .sr-check { margin-top: 6px; }
  .home-skincare .sr-studio--expanded .sr-foot { padding-top: 6px; }
  .home-skincare .sr-studio--expanded :is(.sr-next, .sr-back) { min-height: 44px; }
}

/* The feature gets a signature and a larger benefit headline; the quiz retains its space. */
@media(min-width:960px){
  .home-codex .home-skincare{height:auto}
  .home-codex .home-skincare #skin-studio.sr.sr--inline{height:auto;overflow:visible}
  .home-codex .home-skincare #skin-studio .sr-section-heading,
  .home-codex .home-skincare #skin-studio.sr--expanded .sr-section-heading{flex:0 0 auto;display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:center;justify-content:start;gap:24px;padding:10px 0 16px;min-height:100px}
  .home-codex .home-skincare #skin-studio .sr-section-copy{min-width:0}
  .home-codex .home-skincare #skin-studio .sr-section-heading h2,
  .home-codex .home-skincare #skin-studio.sr--expanded .sr-section-heading h2{font-size:clamp(30px,2.8vw,42px);line-height:1.3;letter-spacing:-.025em;text-wrap:balance}
  .home-codex .home-skincare #skin-studio .sr-section-heading h2>span{display:inline-block;max-width:100%}
  .home-codex .home-skincare #skin-studio .sr-section-heading p{margin:8px 0 0;font-size:14px;line-height:1.6}
  .home-skincare .sr-studio--inline:not(.sr-studio--expanded){flex:0 0 auto}
}

/* Compact mint chapter: separate the tool from the ivory store section. */
.home-codex .home-skincare{
  padding-block:16px 18px;
  background:#e5efec;
  border-block:1px solid #d2e2dd;
}
.home-codex .home-skincare #skin-studio{--sr-paper:#e5efec}
.home-page.home-ig:has(+ .home-codex .home-skincare) .home-instagram{padding-bottom:16px}
.home-codex:has(> .home-skincare) #color-tools{padding-top:36px}
@media(min-width:960px){
  .home-codex .home-skincare #skin-studio.sr.sr--inline{gap:6px}
  .home-codex .home-skincare #skin-studio .sr-section-heading,
  .home-codex .home-skincare #skin-studio.sr--expanded .sr-section-heading{min-height:0;padding:0 0 6px}
  .home-codex .home-skincare #skin-studio .sr-section-heading p{margin-top:4px}
}
@media(max-width:959px){
  .home-codex .home-skincare{padding-block:16px 18px}
  .home-codex:has(> .home-skincare) #color-tools{padding-top:24px}
}

/* Phone invitation is a full-width seaside scene, without a framed card. */
@media(max-width:760px){
  .home-codex .home-skincare{padding:0;background:transparent;border:0}
  .home-skincare #skin-studio.sr{
    width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;
    padding-top:22px;padding-bottom:22px;
  }
  .home-skincare #skin-studio .sr-entry-art,
  .home-skincare #skin-studio .ss-entry{inset:0;border-radius:0}
  .home-skincare #skin-studio .ss-panorama{width:100%;max-width:none}
  .home-skincare #skin-studio .sr-motion--entry{top:10px;right:10px}
}

/* Original scene colours: pale green sky above, warm pale yellow sand below. */
@media(min-width:960px){
  .home-codex .home-skincare{
    background:linear-gradient(180deg,#d9e8df 0%,#e9e8d6 56%,#e7d4b4 100%);
    border-color:#d4dfd5;
  }
  .home-codex .home-skincare #skin-studio.sr.sr--inline{--sr-paper:#f4f2e7}
}


/* OUJI home bundle: color-finder.css */
.home-codex.home-codex.home-codex .joy-feature--color{background:#f6f0e5;border-color:#ddd2c0;color:#304d57}
.home-codex.home-codex.home-codex .joy-feature--color h2{max-width:8em;position:relative;z-index:1}
.home-codex.home-codex.home-codex .joy-feature--color>p{max-width:26ch}
.cf-teaser-open{position:absolute;left:22px;bottom:22px;display:inline-flex;align-items:center;gap:18px;padding:0 0 5px;border:0;border-bottom:1px solid #8e846d;background:transparent;color:#304d57;font:600 13px/1.5 var(--sans);cursor:pointer}
.cf-teaser-open:disabled{opacity:.6;cursor:default}
.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{position:absolute;right:22px;bottom:20px;display:grid;grid-template-columns:repeat(3,60px);gap:8px 10px;align-items:start;justify-content:normal}
.cf-teaser-swatches button{display:grid;justify-items:center;gap:4px;border:0;padding:0;background:transparent;color:#6e675a;cursor:pointer}
.cf-teaser-swatches button>span{display:block;width:25px;height:25px;border-radius:50%;background:var(--color);box-shadow:inset 0 0 0 1px #0000000b}
.cf-teaser-swatches small{font:500 9px/1.4 var(--sans);white-space:nowrap}
#color-tools{scroll-margin-top:110px}
.cf-desk[hidden],.cf-desk [hidden]{display:none!important}
.cf-desk{--cf-ink:#2b4c58;--cf-line:#e3ddd1;--cf-muted:#71817f;padding:28px 0 38px;scroll-margin-top:110px;font:400 14px/1.55 var(--sans,sans-serif);color:var(--cf-ink)}
.cf-desk *{box-sizing:border-box}
.cf-desk button,.cf-desk input,.cf-desk select{font:inherit;color:inherit}
.cf-desk button{cursor:pointer}
.cf-desk button:disabled{cursor:default;opacity:.4}
.cf-desk button:focus-visible,.cf-desk a:focus-visible,.cf-desk input:focus-visible,.cf-desk select:focus-visible,.cf-teaser-swatches button:focus-visible,.cf-teaser-open:focus-visible{outline:2px solid #397f93;outline-offset:3px}
.cf-desk h2:focus{outline:0}
.cf-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;border-top:1px solid var(--cf-line);padding-top:24px;margin-bottom:26px}
.cf-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:650}
.cf-desk .cf-heading h2{font:500 clamp(26px,3vw,38px)/1.3 var(--serif,serif);margin:12px 0 8px;color:var(--cf-ink)}
.cf-desk .cf-heading p{font-size:14px;margin:0;color:var(--cf-muted)}
.cf-collapse{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 0;border:0;background:transparent;white-space:nowrap}
.cf-collapse span{font-size:22px}
.cf-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}
.cf-categories button{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px 20px;background:#f4efe5;border:1px solid #e4dccc;border-radius:10px;text-align:left}
.cf-categories b{font-size:16px;font-weight:500}.cf-categories span{font-size:11px;opacity:.65}
.cf-categories button.is-picked{background:#2b4c58;border-color:#2b4c58;color:#fffdf6}
.cf-toolbar{display:flex;align-items:flex-end;gap:12px;padding:17px 0 23px;border-bottom:1px solid var(--cf-line);margin-bottom:25px;flex-wrap:wrap}
.cf-toolbar>label{display:grid;gap:6px;min-width:130px;flex:1}
.cf-toolbar label>span{font-size:10px;color:#82908b}
.cf-toolbar .cf-search{flex:2.4;min-width:230px}
.cf-toolbar input[type=search],.cf-toolbar select{width:100%;height:42px;border:1px solid #dcd7cb;border-radius:6px;background:#fffdf8;padding:9px 11px;min-width:0;font-size:12px}
.cf-toolbar input::placeholder{color:#9a9c91;font-size:12px}
.cf-toolbar .cf-stock{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:12px;min-width:100px;flex:0 0 auto;min-height:42px}
.cf-stock input{accent-color:#2b4c58;width:15px;height:15px}
.cf-reset{background:transparent;border:0;border-bottom:1px solid #a4aaa0;padding:8px 0;margin:0 0 5px;font-size:12px!important}
.cf-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:26px;align-items:start}
.cf-controls{background:#f4efe5;border:1px solid #e5dccd;border-radius:12px;padding:21px 14px}
.cf-step-label{display:flex;align-items:baseline;gap:9px;margin-bottom:16px}
.cf-step-label>span{font-size:10px;color:#9b8a6b}
.cf-desk .cf-controls h3{font:600 14px/1.5 var(--sans);margin:0;color:var(--cf-ink)}
.cf-palette-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 3px}
.cf-color{border:1px solid transparent;border-radius:8px;background:transparent;display:grid;justify-items:center;gap:5px;padding:9px 1px 7px;min-width:0}
.cf-color-dot{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:var(--color);box-shadow:inset 0 0 0 1px #00000012}
.cf-color-dot i{font-style:normal;font-size:17px;color:#fff;text-shadow:0 1px 4px #0008;min-height:21px}
.cf-color b{font-size:10px;font-weight:500;line-height:1.4;white-space:normal;text-align:center}
.cf-color small{font-size:8px;line-height:1;color:#9d988c}
.cf-color.is-picked{background:#fffdf8;border-color:#8ca7ad;box-shadow:0 2px 5px #2b4c5809}
.cf-rainbow{background:conic-gradient(#b86c78,#d2886f,#d8bd8d,#829d8f,#8c80a7,#b86c78)!important}
.cf-symbol{background:transparent!important;border:1px dashed #c9bfac;box-shadow:none}.cf-symbol i{color:#928b7b;text-shadow:none}
.cf-desk .cf-palette-note{font-size:10px;line-height:1.7;color:#94866e;margin:20px 0 0;padding:15px 6px 0;border-top:1px solid #e1d6c4}
.cf-results-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;min-height:87px;padding:0 0 18px}
.cf-result-kicker{font-size:10px;color:#8b918a;letter-spacing:.04em}
.cf-desk .cf-results-head h3{font:500 25px/1.3 var(--serif);margin:8px 0 5px;color:var(--cf-ink)}
.cf-desk .cf-results-head p{font-size:11px;line-height:1.5;margin:0;color:#80908d}
.cf-count{font-size:10px;white-space:nowrap;color:#87928b;padding-bottom:3px}
.cf-results-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:start}
.cf-product{border:1px solid var(--cf-line);border-radius:10px;overflow:hidden;background:#fffdf8;display:flex;flex-direction:column;min-width:0}
.cf-photo{height:210px;background:#fff;position:relative;border-bottom:1px solid #eee8dc}
.cf-photo img{width:100%;height:100%;object-fit:contain;padding:13px 10px 27px}
.cf-photo>span{position:absolute;left:12px;bottom:8px;font-size:9px;color:#9b9486}
.cf-product-copy{padding:15px;display:flex;flex:1;flex-direction:column}
.cf-brand{display:flex;gap:8px;justify-content:space-between;font-size:10px;font-weight:650;letter-spacing:.025em;color:#5c757a;margin-bottom:8px;align-items:baseline}
.cf-brand em{font-size:9px;font-weight:400;font-style:normal;text-align:right;color:#a09480}
.cf-desk .cf-product h5{font:500 13px/1.55 var(--sans);margin:0;color:var(--cf-ink);min-height:61px;overflow-wrap:anywhere}
.cf-desk .cf-shade-label{font-size:10px;color:#a09480;margin:14px 0 7px;display:flex;justify-content:space-between}
.cf-variants{display:flex;gap:5px;flex-wrap:wrap;margin-bottom:9px}
.cf-variants button{border:1px solid #dfd8ca;border-radius:5px;background:transparent;font-size:10px;line-height:1.45;padding:6px 7px;min-height:29px;text-align:left;overflow-wrap:anywhere}
.cf-variants button small{font-size:8px;color:#ab8f83}
.cf-variants button.is-picked{border-color:#91abb0;background:#edf3f3;color:#2b4c58;box-shadow:inset 0 0 0 1px #91abb0}
.cf-expand-shades{display:flex;align-items:center;justify-content:space-between;background:none;border:0;border-bottom:1px dashed #d9d1c2;padding:4px 0 8px;font-size:10px!important;color:#68858a!important;text-align:left;margin-bottom:8px}
.cf-desk .cf-current-shade{font-size:10px;line-height:1.5;overflow-wrap:anywhere;color:#687e82;margin:4px 0 12px}
.cf-product-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:auto 0 12px}
.cf-product-foot span{font-size:9px;color:#83927f}.cf-product-foot .cf-unavailable{color:#a58b80}
.cf-product-foot b{font-size:15px;font-weight:600}
.cf-product-copy>a{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e8e1d4;padding-top:12px;text-decoration:none;font-size:11px;color:#2b4c58}
.cf-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:350px;border:1px dashed #dcd5c7;border-radius:10px;text-align:center;padding:22px}
.cf-empty>span{font-size:38px;color:#ad9981}
.cf-desk .cf-empty h4{font:500 20px/1.4 var(--serif);margin:14px 0 8px}
.cf-desk .cf-empty p{font-size:13px;color:#89928b;margin:0}
.cf-empty button{display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #9caa9e;padding:6px 0;margin-top:18px;background:transparent;font-size:12px}
.cf-pagination{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:13px;padding:25px 0 10px}
.cf-showing{font-size:10px;color:#9b9d90}.cf-pagination button{border:1px solid #bdc9c5;padding:11px 25px;border-radius:30px;background:transparent;font-size:12px}
.cf-note{display:flex;justify-content:space-between;gap:18px;margin-top:17px;font-size:10px;line-height:1.6;color:#95988d;border-top:1px solid var(--cf-line);padding-top:16px}
@media(max-width:1100px){.cf-layout{grid-template-columns:210px minmax(0,1fr);gap:20px}.cf-results-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cf-photo{height:210px}.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{grid-template-columns:repeat(3,50px);gap:7px 5px}.cf-teaser-open{font-size:12px;gap:8px}.cf-categories button{padding:14px}.cf-categories b{font-size:15px}}
@media(max-width:760px){.home-codex.home-codex.home-codex .joy-feature--color{min-height:250px}.home-codex.home-codex.home-codex .joy-feature--color>p{max-width:17ch}.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{right:13px;bottom:20px;grid-template-columns:repeat(3,47px);gap:6px 4px}.cf-teaser-swatches button>span{width:21px;height:21px}.cf-teaser-swatches small{font-size:8px}.cf-teaser-open{font-size:11px;gap:8px}.cf-desk{padding-top:16px;scroll-margin-top:85px}.cf-heading{gap:10px;margin-bottom:19px}.cf-desk .cf-heading h2{font-size:25px;max-width:12em}.cf-desk .cf-heading p{font-size:12px}.cf-collapse{font-size:12px!important}.cf-categories{gap:5px;margin-bottom:10px}.cf-categories button{padding:10px 4px;display:grid;gap:3px;text-align:center;justify-content:center;border-radius:7px}.cf-categories b{font-size:12px}.cf-categories span{font-size:9px}.cf-toolbar{gap:10px;padding:10px 0 17px;margin-bottom:18px}.cf-toolbar>label{min-width:100px}.cf-toolbar .cf-search{flex:1 1 100%;min-width:0}.cf-toolbar .cf-stock{font-size:11px;min-width:100px}.cf-toolbar select,.cf-toolbar input[type=search]{font-size:12px;height:40px}.cf-layout{grid-template-columns:minmax(0,1fr);gap:22px}.cf-controls{padding:15px 10px}.cf-step-label{margin-bottom:10px;padding-left:5px}.cf-palette-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.cf-color{padding:8px 1px;gap:5px}.cf-color-dot{width:29px;height:29px}.cf-color b{font-size:9px}.cf-color small{font-size:8px}.cf-desk .cf-palette-note{margin-top:12px;font-size:9px;padding-top:10px}.cf-results-head{gap:10px;min-height:0;padding-bottom:13px}.cf-desk .cf-results-head h3{font-size:23px}.cf-count{font-size:9px;white-space:normal}.cf-results-grid{gap:9px}.cf-photo{height:170px}.cf-photo img{padding:10px 6px 25px}.cf-photo>span{left:8px;font-size:8px}.cf-product-copy{padding:11px}.cf-brand{font-size:9px;display:block}.cf-brand em{display:block;font-size:8px;margin-top:3px;text-align:left}.cf-desk .cf-product h5{font-size:11px;min-height:70px}.cf-variants button{font-size:9px;padding:5px}.cf-product-foot b{font-size:14px}.cf-product-copy>a{font-size:10px}.cf-note{display:block;font-size:9px}.cf-note span{display:block;margin-top:4px}.cf-desk .cf-current-shade{font-size:9px}}
@media(prefers-reduced-motion:reduce){.cf-desk *{scroll-behavior:auto!important}}

.cf-results{scroll-margin-top:120px}
@media(max-width:760px){.cf-toolbar select,.cf-toolbar input[type=search]{font-size:16px}.cf-variants button{min-height:34px}.cf-results{scroll-margin-top:90px}}

/* Color library editorial card — photographic product colors stay untouched. */
.home-codex.home-codex.home-codex .joy-feature--color{background:linear-gradient(115deg,#f7eee9 0%,#f7eee9 53%,#f0ded7 100%);border-color:#dfcbc5;isolation:isolate}
.home-codex.home-codex.home-codex .joy-feature--color .joy-kicker{font-size:9px;letter-spacing:.1em;color:#956a66}
.home-codex.home-codex.home-codex .joy-feature--color h2{font:500 clamp(25px,2.6vw,36px)/1.25 var(--serif,serif);margin:20px 0 10px;max-width:8em;color:#614447}
.home-codex.home-codex.home-codex .joy-feature--color>p{font-size:11px;line-height:1.8;max-width:26ch;color:#8c7370}
.cf-teaser-open{left:24px;bottom:23px;z-index:3;border:1px solid #69464b;border-radius:30px;background:#69464b;color:#fffaf5;padding:10px 16px;font-size:12px;gap:18px;min-height:41px;transition:background-color .16s,transform .12s}
.cf-teaser-open:hover{background:#503238}.cf-teaser-open:active{transform:scale(.97)}
.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{display:block;right:12px;bottom:41px;width:230px;height:170px;transform:rotate(5deg)}
.cf-teaser-swatches button{position:absolute;left:calc(20px + var(--card-index)*24px);bottom:8px;width:58px;height:142px;padding:5px 5px 7px;border:1px solid #e1d2ca;background:#fffaf4;border-radius:4px;box-shadow:0 5px 14px #57362d18;transform-origin:50% 100%;transform:rotate(calc((var(--card-index) - 2.5)*9deg));display:flex;flex-direction:column;justify-content:space-between;gap:0;transition:translate .16s,box-shadow .16s;z-index:var(--card-index)}
.cf-teaser-swatches button:hover,.cf-teaser-swatches button:focus-visible{translate:0 -9px;z-index:8;box-shadow:0 9px 19px #57362d25}
.cf-teaser-swatches button>span{width:100%;height:108px;border-radius:1px;background:var(--color);box-shadow:none}
.cf-teaser-swatches small{font-size:8px;color:#785956;letter-spacing:0;white-space:nowrap}
.cf-teaser-caption{position:absolute;right:25px;bottom:16px;color:#a17773;font:italic 15px/1.4 var(--serif,serif);transform:rotate(-4deg)}
.cf-product{border-color:#e5dcd1;border-radius:15px;box-shadow:0 3px 13px #473b2b05;transition:border-color .16s,box-shadow .16s}
.cf-product:hover{border-color:#b8c7c4;box-shadow:0 7px 22px #394f4b0d}
.cf-photo{height:240px;flex:none;background:#fff;border-bottom-color:#eee9e0}
.cf-photo img{padding:18px 16px 30px}.cf-photo>span{left:16px;bottom:10px;font-size:9px;letter-spacing:.03em}
.cf-product-copy{padding:18px;display:grid;gap:0;flex:none}
.cf-brand{font-size:11px;margin:0;align-items:start;line-height:1.3}.cf-brand em{font-size:9px;background:#f3eee7;padding:3px 6px;border-radius:4px;line-height:1.3;white-space:nowrap}
.cf-desk .cf-product h5{font-size:13px;line-height:1.55;font-weight:550;min-height:0;align-self:start;margin:4px 0 0}
.cf-desk .cf-shade-label{margin:0;align-items:center;font-size:10px;color:#94816d}.cf-shade-label>span{font-size:11px;color:#48636a}
.cf-variants{height:78px;min-height:0;overflow:auto;align-content:start;gap:5px;margin:0;padding:2px 3px 3px 0;scrollbar-width:thin;scrollbar-color:#c2cfc9 transparent;overscroll-behavior:contain}
.cf-variants button{min-height:33px;font-size:10px;padding:6px 8px;border-radius:6px;background:#fffdf8;transition:background-color .12s,border-color .12s}
.cf-variants button.is-picked{background:#edf3f1;border-color:#73968d;box-shadow:none;color:#345c53}
.cf-expand-shades,.cf-expand-spacer{height:30px;min-height:0;margin:0;padding:5px 0;border-bottom:1px solid #eee7dc;font-size:10px!important}
.cf-desk .cf-current-shade{font-size:10px;line-height:1.45;margin:0;align-self:center;color:#52686c}.cf-current-shade>span{display:block;font-size:8px;letter-spacing:.04em;color:#a29483;margin-bottom:2px}
.cf-product-foot{margin:0;align-items:center;gap:6px}.cf-product-foot span{font-size:10px}.cf-product-foot b{font-size:18px;font-weight:550;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.cf-product-copy>a{background:#2b4c58;color:#fffdf6;border:0;padding:0 12px;border-radius:7px;font-size:11px;transition:background-color .16s}.cf-product-copy>a:hover{background:#1d3d48}
.cf-categories button{border-radius:12px;transition:background-color .16s,border-color .16s}.cf-categories button:not(.is-picked):hover{background:#ebe8dc}.cf-color:not(:disabled):hover{border-color:#bac8bd}.cf-pagination button:hover{background:#eef2ec}
@media(max-width:1100px){.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{right:0;width:190px;transform:scale(.85) rotate(5deg);transform-origin:right bottom}.home-codex.home-codex.home-codex .joy-feature--color>p{max-width:20ch}.cf-product-copy{padding:15px}.cf-photo{height:235px}}
@media(max-width:760px){.home-codex.home-codex.home-codex .joy-feature--color{min-height:270px}.home-codex.home-codex.home-codex .joy-feature--color h2{font-size:28px;margin-top:20px}.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{right:9px;bottom:50px;transform:scale(.9) rotate(5deg)}.cf-teaser-caption{right:16px;bottom:22px;font-size:13px}.cf-teaser-open{left:22px;bottom:22px;font-size:11px;gap:10px;padding:10px 13px}.cf-results-grid{gap:10px}.cf-product{border-radius:11px}.cf-photo{height:185px}.cf-photo img{padding:12px 8px 25px}.cf-photo>span{left:10px;font-size:8px}.cf-product-copy{padding:12px;grid-template-rows:41px 128px 29px 82px 31px 53px 39px 39px}.cf-brand{font-size:10px;display:block;line-height:1.35}.cf-brand em{display:table;font-size:8px;margin-top:4px;padding:2px 5px}.cf-desk .cf-product h5{font-size:11px;line-height:1.55}.cf-variants{height:82px}.cf-variants button{min-height:34px;font-size:9px;padding:5px 6px}.cf-product-foot b{font-size:16px}.cf-product-foot span{font-size:8px}.cf-product-copy>a{font-size:10px;padding:0 8px}.cf-desk .cf-current-shade{font-size:9px}.cf-desk .cf-shade-label{font-size:9px}}
@media(max-width:420px){.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{right:-8px;bottom:56px;transform:scale(.66) rotate(5deg)}.home-codex.home-codex.home-codex .joy-feature--color h2{font-size:26px}.home-codex.home-codex.home-codex .joy-feature--color>p{font-size:10px;max-width:18ch}.cf-teaser-caption{font-size:11px;right:12px;bottom:25px}.cf-product-copy{padding:10px;grid-template-rows:43px 150px 29px 82px 31px 58px 39px 39px}.cf-photo{height:170px}}
@media(prefers-reduced-motion:reduce){.cf-product,.cf-teaser-open,.cf-teaser-swatches button,.cf-variants button,.cf-categories button,.cf-product-copy>a{transition:none}.cf-teaser-swatches button:hover,.cf-teaser-swatches button:focus-visible{translate:0 0}.cf-teaser-open:active{transform:none}}
/* Keep the complete swatch fan inside the card at every breakpoint. */
@media(min-width:1101px){.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{right:47px}}
@media(min-width:421px) and (max-width:1100px){.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{right:40px}}
@media(max-width:420px){.home-codex.home-codex.home-codex .joy-feature--color>.cf-teaser-swatches{right:43px}}

/* The phone uses the same native bottom-sheet presentation as skincare. */
html.cf-locked,html.cf-locked body{overflow:hidden}
dialog.cf-sheet{position:fixed;inset:auto 0 0;margin:0;padding:0;border:0;width:100vw;max-width:none;height:90dvh;max-height:90dvh;border-radius:20px 20px 0 0;background:#faf8f2;color:#2b4c58;overflow:hidden;box-shadow:0 -20px 80px #14283026;font-family:var(--sans,sans-serif)}
dialog.cf-sheet:not([open]){display:none}
dialog.cf-sheet[open]{display:flex;flex-direction:column}
dialog.cf-sheet::backdrop{background:rgba(20,40,48,.46);backdrop-filter:blur(4px)}
.cf-sheet-top{position:relative;flex:0 0 58px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 8px 0 20px;border-bottom:1px solid #e5ddd2;background:#faf8f2}
.cf-sheet-top::before{content:"";position:absolute;top:6px;left:50%;width:36px;height:4px;transform:translateX(-50%);border-radius:4px;background:#c9d3cd}
.cf-sheet-top>span{font-size:14px;font-weight:600;letter-spacing:.02em}
.cf-sheet-top button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#2b4c58;cursor:pointer}
.cf-sheet-top button:focus-visible{outline:2px solid #397f93;outline-offset:-4px}
.cf-sheet-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-bottom:env(safe-area-inset-bottom,0px)}
.cf-sheet .cf-desk.content-wrap{width:100%;max-width:none;margin:0;padding:0 16px 24px;box-sizing:border-box}
.cf-sheet .cf-heading{padding-top:20px;border-top:0;margin-bottom:20px}
.cf-sheet .cf-heading h2{font-size:25px;line-height:1.35;margin-top:0;max-width:12em}
.cf-sheet .cf-heading .cf-eyebrow{display:none}
.cf-sheet .cf-collapse{display:none}
.cf-sheet .cf-results{scroll-margin-top:18px}
@media(hover:hover) and (pointer:fine){.cf-sheet-top button:hover{background:#ece6d8}}
.cf-sheet .cf-heading h2{text-wrap:balance}

/* Result headings and compact product cards. Only cards in the same row stretch together. */
.cf-group-nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 23px}
.cf-group-nav button{display:flex;align-items:center;gap:8px;min-height:36px;border:1px solid #ddd7ca;border-radius:24px;padding:7px 12px;background:#fffdf8;font-size:12px;color:#405f66}
.cf-group-nav button>span{font-size:10px;color:#929887;font-variant-numeric:tabular-nums}
.cf-result-group{margin-bottom:30px;scroll-margin-top:120px}
.cf-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #e5dfd3;margin-bottom:14px}
.cf-desk .cf-group-heading h4{font:600 20px/1.4 var(--serif,serif);margin:0;color:#2b4c58}
.cf-group-heading>span{font-size:11px;color:#8c968b;white-space:nowrap}
.cf-group-more{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:42px;margin-top:12px;padding:9px 14px;border:1px solid #ddd7ca;border-radius:8px;background:transparent;font-size:12px!important}
.cf-group-more>span{font-size:10px;color:#8d978e}
.cf-results-grid{align-items:stretch;row-gap:14px}
.cf-product{height:auto;min-height:0}
.cf-photo{height:190px}
.cf-photo img{padding:12px 12px 25px}
.cf-product-copy{display:flex;flex:1;flex-direction:column;padding:14px;gap:0}
.cf-brand{min-height:0;line-height:1.4}
.cf-desk .cf-product h5{min-height:0;height:auto;font-size:13px;line-height:1.5;margin:8px 0 0}
.cf-desk .cf-shade-label{margin:12px 0 6px;line-height:1.4}
.cf-variants{height:auto;max-height:72px;flex:none;min-height:0;margin:0;padding-top:1px;padding-bottom:2px}
.cf-expand-spacer{display:none}
.cf-expand-shades{flex:none;height:auto;min-height:27px;margin:5px 0 0;padding:5px 0}
.cf-desk .cf-current-shade{align-self:stretch;height:auto;min-height:0;margin:7px 0 0;line-height:1.4}
.cf-product-foot{margin:auto 0 8px;padding-top:12px;min-height:36px}
.cf-product-copy>a{min-height:40px;flex:none;padding:9px 12px}
.cf-group-heading h4:focus{outline:0}
@media(hover:hover) and (pointer:fine){.cf-group-nav button:hover,.cf-group-more:hover{background:#edf2ed;border-color:#b9c8bf}}
@media(max-width:760px){.cf-group-nav{gap:6px;margin-bottom:20px}.cf-group-nav button{font-size:11px;padding:6px 10px;min-height:36px}.cf-group-nav button>span{font-size:9px}.cf-result-group{scroll-margin-top:90px;margin-bottom:26px}.cf-desk .cf-group-heading h4{font-size:20px}.cf-group-heading{padding-bottom:10px;margin-bottom:12px}.cf-group-heading>span{font-size:10px}.cf-photo{height:150px}.cf-product-copy{padding:10px}.cf-desk .cf-product h5{font-size:12px;line-height:1.45;margin-top:7px}.cf-brand{font-size:10px}.cf-brand em{margin-top:3px}.cf-desk .cf-shade-label{margin-top:10px}.cf-product-copy>a{font-size:11px;min-height:40px;padding:8px}.cf-product-foot b{font-size:16px}.cf-desk .cf-current-shade{font-size:9px}.cf-sheet .cf-result-group{scroll-margin-top:18px}}
@media(max-width:420px){.cf-photo{height:140px}}

/* Browse one horizontal shelf per type; selecting a type keeps the regular grid. */
.cf-group-nav button.is-picked{background:#e4eeee;border-color:#779ba4;color:#2b4c58;box-shadow:inset 0 0 0 1px #779ba4}
.cf-result-group,.cf-results{min-width:0}
.cf-group-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;min-width:0}
.cf-group-tools>span{font-size:11px;color:#7a8985;white-space:nowrap}
.cf-group-tools .cf-rail-hint{display:none}
.cf-result-group--overflow .cf-group-tools .cf-rail-hint{display:inline}
.cf-rail-controls{display:flex;gap:6px}
.cf-rail-controls button{display:grid;place-items:center;min-width:36px;min-height:36px;padding:0;border:1px solid #c3d0cc;border-radius:50%;background:#fffdf8;color:#2b4c58;font-size:19px;cursor:pointer}
.cf-rail-controls button:disabled{opacity:.35;cursor:default}
.cf-results-grid.cf-results-rail{grid-template-columns:none;grid-template-rows:auto;grid-auto-flow:column;grid-auto-columns:clamp(225px,30%,320px);gap:13px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:6px;scrollbar-width:thin;scrollbar-color:#9eb9bc #eee9df;padding:6px 6px 12px;align-items:stretch}
.cf-results-rail>.cf-product,.cf-results-rail>.cf-rail-more{scroll-snap-align:start}
.cf-results-rail>.cf-rail-more{display:flex;flex-direction:column;gap:10px;width:auto;min-width:0;height:auto;min-height:180px;margin:0;padding:24px 16px;background:#edf2ed;border:1px dashed #b6c8c3;border-radius:10px;white-space:normal;text-align:center}
.cf-results-rail:focus-visible{outline:2px solid #397f93;outline-offset:2px}
@media(max-width:760px){
  .cf-results-grid.cf-results-rail{grid-auto-columns:minmax(225px,82%);gap:10px}
  .cf-group-tools{gap:7px}
  .cf-group-tools>span{font-size:10px}
  .cf-rail-controls button{min-width:36px;min-height:36px}
  .cf-group-tools .cf-rail-hint{display:none}
}


/* OUJI home bundle: home-color-stories.css */
/* The makeup inspiration entry uses existing look-library artwork. */
.home-codex.home-codex.home-codex .joy-feature--storyboard{min-height:270px;background:linear-gradient(120deg,#eaf2f2 0%,#eaf2f2 50%,#d9e7e6 100%);border-color:#c4d6d6;color:#2b4c58;isolation:isolate;text-decoration:none}
.home-codex.home-codex.home-codex .joy-feature--storyboard .joy-kicker{font-size:9px;letter-spacing:.1em;color:#658887}
.home-codex.home-codex.home-codex .joy-feature--storyboard h2{position:relative;z-index:2;font:500 clamp(25px,2.6vw,36px)/1.25 var(--serif,serif);margin:20px 0 10px;color:#2b4c58}
.home-codex.home-codex.home-codex .joy-feature--storyboard .look-main-link>p{font-size:11px;line-height:1.8;max-width:25ch;color:#6e8584}
.look-cta{position:absolute;left:24px;bottom:23px;z-index:3;display:inline-flex;align-items:center;justify-content:space-between;gap:18px;min-height:41px;padding:10px 16px;border:1px solid #2b4c58;border-radius:30px;background:#2b4c58;color:#fffaf5;font:600 12px/1.5 var(--sans,sans-serif);box-sizing:border-box;transition:background-color .16s}
.look-cta>span{font-size:16px;line-height:1}
.look-card-art{position:absolute;right:10px;bottom:39px;display:block;width:290px;height:190px;pointer-events:none;transform-origin:right bottom}
.look-mini{position:absolute;display:block;width:100px;padding:5px 5px 8px;border:1px solid #d9dfd8;border-radius:4px;background:#fffdf6;box-shadow:0 6px 14px #3c5d571a;box-sizing:border-box}
.look-mini--glow{left:5px;top:24px;transform:rotate(-10deg)}
.look-mini--latte{left:107px;top:4px;transform:rotate(8deg)}
.look-mini>img{display:block;width:100%;height:116px;object-fit:cover;object-position:50% 35%;border-radius:1px}
.look-mini>span{display:flex;justify-content:space-between;align-items:baseline;gap:2px;margin-top:7px;color:#5e746f;font:500 9px/1.4 var(--sans,sans-serif);white-space:nowrap}
.look-mini small{font-size:7px;color:#a5afa5}
.look-card-art .look-mascot{position:absolute;right:-3px;bottom:0;display:block;width:105px;height:105px;object-fit:contain}
.look-caption{position:absolute;right:24px;bottom:16px;color:#789590;font:italic 15px/1.4 var(--serif,serif);transform:rotate(-4deg)}
.home-codex .look-main-link:focus-visible{outline:2px solid #397f93;outline-offset:-4px}
@media(hover:hover) and (pointer:fine){.joy-feature--storyboard:hover .look-cta{background:#1d3d48}}
@media(min-width:981px) and (max-width:1100px){.look-card-art{right:6px;transform:scale(.85)}}
@media(min-width:761px) and (max-width:980px){.look-card-art{right:3px;transform:scale(.67)}.home-codex.home-codex.home-codex .joy-feature--storyboard .look-main-link>p{max-width:18ch}}
@media(max-width:760px){.home-codex.home-codex.home-codex .joy-feature--storyboard{min-height:250px;padding:22px}.home-codex.home-codex.home-codex .joy-feature--storyboard h2{font-size:28px;margin-top:20px}.look-cta{left:22px;bottom:22px;font-size:11px;gap:10px;padding:10px 13px}.look-card-art{right:10px;bottom:41px}.look-caption{right:18px;bottom:19px;font-size:13px}}
@media(max-width:520px){.look-card-art{right:6px;bottom:43px;transform:scale(.68)}.home-codex.home-codex.home-codex .joy-feature--storyboard .look-main-link>p{max-width:17ch;font-size:10px}.look-caption{font-size:11px;right:12px;bottom:23px}.home-codex.home-codex.home-codex .joy-feature--storyboard h2{font-size:26px}}
@media(max-width:360px){.look-card-art{right:4px;bottom:46px;transform:scale(.52)}.look-caption{font-size:10px;right:10px;bottom:26px}.look-cta{left:20px;gap:8px;padding-inline:11px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.look-cta{transition:none}}

.look-main-link{position:absolute;inset:0;display:block;padding:22px;box-sizing:border-box;border-radius:inherit;text-decoration:none;color:inherit}
.look-credits{position:absolute;left:22px;bottom:5px;z-index:4;max-width:calc(100% - 40px);font:400 8px/1.3 var(--sans,sans-serif);color:#819793}
.look-credits a{color:inherit;text-underline-offset:2px;text-decoration-thickness:.5px}
@media(max-width:360px){.look-credits{left:20px;font-size:7px;bottom:5px}}


/* OUJI home bundle: home-good-finds.css */
/* Good Finds sale banner: a clear cream ticket over the original masked mascot scene. */
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds {
  --finds-ink: #a93650;
  --finds-rose: #b2374d;
  --finds-paper: #fff9ed;
  --finds-teal: #197a78;
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(12px, 2vw, 28px);
  width: 100%;
  min-width: 0;
  height: 220px;
  min-height: 220px;
  aspect-ratio: auto;
  margin: 0 0 22px;
  padding: 28px clamp(38px, 4vw, 64px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgb(169 54 80 / .08);
  border-radius: 22px;
  background-color: #f8e3e5;
  background-image:
    radial-gradient(ellipse at 87% 12%, rgb(255 249 237 / .5), transparent 38%),
    linear-gradient(128deg, transparent 54%, rgb(244 214 223 / .72) 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .72);
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 14px;
  bottom: 14px;
  left: 32px;
  border-left: 1px dashed rgb(169 54 80 / .24);
  pointer-events: none;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__side-note {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 14px;
  color: #875b68;
  font: 600 8px/1.2 var(--sans);
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  white-space: pre-line;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__intro {
  position: relative;
  z-index: 2;
  grid-column: 1;
  align-self: center;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-content: center;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  min-width: 0;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker {
  grid-column: 1;
  color: #775762;
  font: 700 10px/1.35 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker::after {
  content: none;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 0 0 0 11px;
  border: 0;
  border-left: 1px solid rgb(169 54 80 / .28);
  border-radius: 0;
  color: var(--finds-rose);
  background: transparent;
  font: 600 11px/1.35 var(--sans);
  letter-spacing: .035em;
  white-space: nowrap;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title {
  grid-column: 1 / -1;
  display: block;
  margin: 8px 0 0;
  padding: 0;
  color: #3d4350;
  font: 800 clamp(40px, 4.2vw, 60px)/1.08 var(--sans);
  letter-spacing: -.045em;
  white-space: nowrap;
  text-decoration: none;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title > span {
  color: #3d4350;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title em {
  position: relative;
  display: inline-block;
  color: var(--finds-rose);
  font-family: var(--hand, var(--sans));
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.035em;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title em::after {
  content: "";
  position: absolute;
  right: 2%;
  bottom: -3px;
  left: 4%;
  height: 6px;
  border-bottom: 2px solid rgb(178 55 77 / .44);
  border-radius: 50%;
  transform: rotate(-2deg);
  pointer-events: none;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__copy {
  grid-column: 1 / -1;
  margin: 5px 0 0;
  color: #765f69;
  font: 400 13px/1.4 var(--sans);
  letter-spacing: .01em;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__copy > span {
  padding: 0 .12em;
  color: #b46778;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__shop {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-height: 32px;
  margin: 12px 0 0;
  padding: 7px 15px;
  border: 1px solid var(--finds-ink);
  border-radius: 999px;
  color: var(--finds-paper);
  background: var(--finds-ink);
  box-shadow: 0 3px 8px rgb(117 35 55 / .16);
  font: 700 12px/1 var(--sans);
  letter-spacing: .025em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__shop:hover {
  background: #862b43;
  box-shadow: 0 5px 12px rgb(117 35 55 / .22);
  transform: translateY(-1px);
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__shop:focus-visible {
  outline: 3px solid rgb(25 122 120 / .7);
  outline-offset: 3px;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__shop svg {
  flex: none;
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform .16s ease;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__shop:hover svg {
  transform: translateX(2px);
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__art {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  height: 100%;
  isolation: isolate;
  overflow: visible;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__sale-word {
  position: absolute;
  z-index: 0;
  top: 53%;
  right: 1%;
  color: rgb(169 54 80 / .14);
  font: italic 900 150px/.8 var(--brand, var(--sans));
  letter-spacing: -.075em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateY(-50%) rotate(-5deg);
  user-select: none;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__spark {
  position: absolute;
  z-index: 4;
  top: 8%;
  right: 3%;
  display: block;
  width: 28px;
  height: 28px;
  color: #a93650;
  fill: none;
  pointer-events: none;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 4%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 140px;
  height: 126px;
  padding: 12px 10px 12px 20px;
  border: 1px solid rgb(169 54 80 / .24);
  border-radius: 11px;
  background:
    radial-gradient(circle 5px at 0 50%, transparent 99%, var(--finds-paper) 105%),
    var(--finds-paper);
  box-shadow: 0 7px 16px rgb(100 42 52 / .14), inset 0 1px 0 #fff;
  text-align: center;
  transform: translateY(-50%) rotate(-10deg);
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 7px;
  height: 7px;
  border: 1px solid rgb(169 54 80 / .26);
  border-radius: 50%;
  background: #f4d6df;
  box-shadow: 0 0 0 2px var(--finds-paper);
  transform: translateY(-50%);
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > span {
  color: #91656e;
  font: 700 9px/1.15 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket strong {
  color: var(--finds-ink);
  font: 800 44px/.98 var(--sans);
  letter-spacing: -.06em;
  white-space: nowrap;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket small {
  color: #715d5d;
  font: 600 11px/1.2 var(--sans);
  letter-spacing: .025em;
  white-space: nowrap;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket small .offer-finds__discount-number {
  color: var(--finds-ink);
  font: 800 21px/1 var(--sans);
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 20px;
  width: 224px;
  max-width: 100%;
  height: 224px;
  aspect-ratio: 1;
  min-width: 0;
  overflow: visible;
  transform: translateY(-50%);
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__film {
  position: absolute;
  inset: 0;
  contain: layout paint;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 45% 53%, #000 58%, transparent 80%), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(0deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(ellipse 65% 65% at 45% 53%, #000 58%, transparent 80%), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(0deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__poster,
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__video { opacity: 0; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__film.is-showing-video .offer-finds__video { opacity: 1; }
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__film.is-showing-video .offer-finds__poster { opacity: 0; }

@media (min-width: 761px) and (max-width: 1100px) {
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title {
    font-size: 46px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene {
    top: 50%;
    right: 14px;
    width: 208px;
    height: 208px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket {
    width: 120px;
    height: 114px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket strong {
    font-size: 38px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__sale-word {
    font-size: 126px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene {
    right: 6px;
    width: 176px;
    height: 176px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket {
    width: 104px;
    height: 110px;
    padding-left: 16px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket strong {
    font-size: 34px;
  }
}


/* Mobile-only text and the decorative tag stay out of the desktop banner. */
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__mobile-only,
.home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow-tag {
  display: none;
}

@media (max-width: 760px) {
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds {
    --finds-ink: #963c52;
    grid-template-columns: minmax(0, 1fr) 110px;
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: 8px;
    height: 164px;
    min-height: 164px;
    padding: 16px 18px;
    overflow: hidden;
    border: 1.5px solid #edbacb;
    border-radius: 22px;
    background: #fbe3eb url('./assets/images/home-codex/offer-finds/good-finds-blush-background-v1.webp') center / cover no-repeat;
    box-shadow: none;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds::before,
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__side-note,
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__sale-word,
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__spark {
    display: none;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__desktop-only {
    display: none;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__mobile-only {
    display: inline;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__intro {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: var(--finds-ink);
    font: 700 9px/1.4 var(--sans);
    letter-spacing: .045em;
    text-transform: none;
    white-space: normal;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker::after {
    display: none;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    gap: 8px;
    margin: 6px 0 0;
    padding: 4px 10px;
    border: 0;
    border-radius: 999px;
    color: #fff9fb;
    background: #bd526f;
    font: 700 10px/1.25 var(--sans);
    letter-spacing: .06em;
    white-space: normal;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow .offer-finds__discount-number {
    color: currentColor;
    font: 800 14px/1 var(--sans);
    letter-spacing: -.025em;
    font-variant-numeric: tabular-nums;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title {
    display: block;
    margin: 7px 0 0;
    padding: 0 0 .08em;
    color: var(--finds-ink);
    font: 800 28px/1.12 var(--sans);
    letter-spacing: -.035em;
    white-space: normal;
    text-decoration: underline;
    text-decoration-color: #f1b3c9;
    text-decoration-thickness: .055em;
    text-underline-offset: .11em;
    text-decoration-skip-ink: none;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title > span {
    color: var(--finds-ink);
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title em {
    position: static;
    display: inline;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title em::after {
    display: none;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__copy {
    margin: 8px 0 0;
    color: var(--finds-ink);
    font: 600 11px/1.4 var(--sans);
    letter-spacing: 0;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__shop {
    display: none;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__art {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: visible;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket {
    z-index: 4;
    top: -7px;
    right: 0;
    left: auto;
    width: 70px;
    height: 45px;
    gap: 0;
    padding: 5px 4px;
    border-radius: 7px;
    transform: rotate(-10deg);
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket::before {
    top: 50%;
    left: 5px;
    width: 4px;
    height: 4px;
    box-shadow: 0 0 0 1px var(--finds-paper);
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > span,
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket small {
    display: none;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket strong {
    font-size: 22px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow-tag {
    display: block;
    flex: none;
    width: 1.12em;
    height: 1.12em;
    stroke-width: 2;
    transform: rotate(-12deg);
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene {
    top: auto;
    right: -5px;
    bottom: -14px;
    width: 110px;
    max-width: none;
    height: 110px;
    aspect-ratio: 1;
    transform: none;
  }
}

@media (max-width: 340px) {
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds {
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 6px;
    padding: 14px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__kicker {
    font-size: 8px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow {
    padding: 3px 8px;
    font-size: 9px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__eyebrow .offer-finds__discount-number {
    font-size: 12px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title {
    font-size: 24px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__copy {
    margin-top: 7px;
    font-size: 10px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket {
    width: 70px;
    height: 45px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket strong {
    font-size: 22px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene {
    right: -4px;
    width: 90px;
    height: 90px;
  }
}

@media (min-width: 761px) {
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket {
    position: absolute;
    top: 50%;
    left: 16%;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 8px 16px;
    width: clamp(190px, 24vw, 332px);
    height: 146px;
    padding: 20px 24px 20px 30px;
    border-radius: 12px;
    text-align: left;
    transform: translate(-50%, -50%) rotate(-4deg);
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > span {
    grid-column: 1 / -1;
    grid-row: 1;
    font-size: 10px;
    text-align: left;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > strong {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    font-size: 64px;
    line-height: 1;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > small {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    border-left: 1px solid rgb(169 54 80 / .26);
    padding-left: 16px;
    white-space: normal;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket .offer-finds__discount-prefix {
    font-size: 12px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket .offer-finds__discount-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-size: 16px;
    white-space: nowrap;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket small .offer-finds__discount-number {
    color: #742d42;
    font-size: 44px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket {
    height: 132px;
    padding: 18px 18px 18px 26px;
    column-gap: 12px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > strong {
    font-size: 50px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > small {
    padding-left: 12px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket .offer-finds__discount-prefix {
    font-size: 11px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket .offer-finds__discount-amount {
    font-size: 14px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket small .offer-finds__discount-number {
    font-size: 34px;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .home-offers__title {
    font-size: 42px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__scene {
    right: -16px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket {
    height: 118px;
    padding: 14px 14px 14px 22px;
    column-gap: 10px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > strong {
    font-size: 38px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket > small {
    padding-left: 10px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket .offer-finds__discount-prefix {
    font-size: 9px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket .offer-finds__discount-amount {
    font-size: 12px;
  }
  .home-codex.home-codex.home-codex .home-offers.commerce-feature--offers .home-offers__header--finds .offer-finds__ticket small .offer-finds__discount-number {
    font-size: 26px;
  }
}

