/* Nyla｜運動形象升級：窄體粗斜體大字、跑馬燈、滿版大圖、動效（會尊重「減少動態」設定） */
:root { --ny-disp: "Barlow Condensed", "Archivo Narrow", "Noto Sans TC", sans-serif; }
h2 { font-weight: 900; letter-spacing: -.01em; }
.ny-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--ny-disp); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .12em; }
.ny-eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.ny-disp { font-family: var(--ny-disp); font-style: italic; font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.01em; }

/* 首頁大圖：運動窄體斜體＋進場動效 */
.ny-hero__title { font-family: var(--ny-disp); font-style: italic; font-weight: 900; letter-spacing: -.015em; line-height: .84; }
.ny-hero__kicker { font-family: var(--ny-disp); font-style: italic; font-weight: 800; letter-spacing: .14em; font-size: 14px; }
.ny-hero__panel > * { animation: nyUp .8s cubic-bezier(.2,.8,.2,1) both; }
.ny-hero__panel > *:nth-child(2) { animation-delay: .08s; }
.ny-hero__panel > *:nth-child(3) { animation-delay: .16s; }
.ny-hero__panel > *:nth-child(4) { animation-delay: .24s; }
.ny-hero__panel > *:nth-child(5) { animation-delay: .32s; }
.ny-hero__img { animation: nyZoom 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes nyUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes nyZoom { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* 跑馬燈 */
.ny-marquee { background: var(--ny-ink); color: #fff; overflow: hidden; white-space: nowrap; }
.ny-marquee--cobalt { background: var(--ny-cobalt); }
.ny-marquee--lime { background: var(--ny-lime); color: var(--ny-ink); }
.ny-marquee__track { display: inline-flex; animation: nyMarq 30s linear infinite; padding: 14px 0; }
.ny-marquee__track span { font-family: var(--ny-disp); font-style: italic; font-weight: 900; font-size: clamp(22px, 5vw, 40px); letter-spacing: .02em; text-transform: uppercase; padding: 0 22px; }
.ny-marquee__track span::after { content: "✦"; font-style: normal; font-size: .55em; margin-left: 44px; vertical-align: middle; opacity: .8; }
@keyframes nyMarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* 曉星區升級 */
.ny-creora { position: relative; overflow: hidden; }
.ny-creora__bg { position: absolute; right: -2vw; bottom: -3vw; font-family: var(--ny-disp); font-style: italic; font-weight: 900; font-size: 26vw; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16); pointer-events: none; user-select: none; }
.ny-creora__in { position: relative; }
.ny-creora__big { font-family: var(--ny-disp); font-style: italic; font-weight: 900; font-size: clamp(64px, 18vw, 150px); line-height: .85; margin: 4px 0 2px; color: #fff; }
.ny-creora__big small { font-size: .4em; }
.ny-creora__bigcap { font-weight: 900; font-size: clamp(18px, 4.8vw, 26px); margin: 0 0 14px; }
.ny-fiber { width: 100%; max-width: 560px; height: 64px; margin: 8px 0 2px; display: block; }
.ny-fiber path { fill: none; stroke: var(--ny-lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; transform-origin: center; transform-box: fill-box; }
.is-in .ny-fiber path { animation: nyDraw 1.8s ease forwards, nyBounce 2.8s 1.8s ease-in-out infinite; }
@keyframes nyDraw { to { stroke-dashoffset: 0; } }
@keyframes nyBounce { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.93); } }
.ny-why { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.ny-why li { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: start; font-size: 15px; color: rgba(255,255,255,.9); }
.ny-why b { font-family: var(--ny-disp); font-style: italic; font-size: 24px; color: var(--ny-lime); line-height: 1.1; }
.ny-why strong { display: block; color: #fff; font-size: 17px; }
.ny-creora__img { animation: nyFloat 6s ease-in-out infinite; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
@keyframes nyFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* 三支柱 MOVE / CLEAN / LIVE：滿版大圖 */
.ny-pillar { position: relative; overflow: hidden; color: #fff; background: #0E1013; }
.ny-pillar picture { display: block; }
.ny-pillar__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: scale(1.07); transition: transform 1.8s cubic-bezier(.2,.8,.2,1); }
.ny-pillar.is-in .ny-pillar__img { transform: scale(1); }
.ny-pillar__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 38%, rgba(0,0,0,.76) 100%); }
.ny-pillar__txt { position: absolute; left: var(--ny-gut); right: var(--ny-gut); bottom: 26px; }
.ny-pillar .ny-pillar__word { max-width: none; color: #fff; font-family: var(--ny-disp); font-style: italic; font-weight: 900; font-size: clamp(80px, 25vw, 200px); line-height: .8; text-transform: uppercase; margin: 0 0 10px; }
.ny-pillar__word em { font-style: italic; color: var(--ny-lime); }
.ny-pillar h3 { font-size: clamp(22px, 6vw, 38px); margin: 0 0 6px; }
.ny-pillar p { margin: 0 0 16px; font-size: 15px; color: rgba(255,255,255,.92); max-width: 30em; }
.ny-pillar .ny-btn { background: #fff; color: var(--ny-ink) !important; min-height: 46px; }
.ny-pillar .ny-btn:hover { background: var(--ny-lime); }
.ny-pillar__num { position: absolute; top: 18px; left: var(--ny-gut); font-family: var(--ny-disp); font-style: italic; font-weight: 800; letter-spacing: .14em; font-size: 14px; background: var(--ny-lime); color: var(--ny-ink); padding: 3px 10px; z-index: 2; }

/* 13 色 13 種生活（橫向滑動） */
.ny-scenes { background: var(--ny-ink); color: #fff; padding: 64px 0; overflow: hidden; }
.ny-scenes .ny-eyebrow { color: var(--ny-lime); }
.ny-scenes__row { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--ny-gut) 8px; margin: 0 calc(var(--ny-gut) * -1); scrollbar-width: none; }
.ny-scenes__row::-webkit-scrollbar { display: none; }
.ny-scene { position: relative; scroll-snap-align: start; border-radius: 14px; overflow: hidden; text-decoration: none; color: #fff; background: #222; }
.ny-scene img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
.ny-scene:hover img { transform: scale(1.04); }
.ny-scene__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 14px 14px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78)); }
.ny-scene__cap b { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.ny-scene__cap i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; flex: none; }
.ny-scene__cap span { display: block; font-size: 13px; opacity: .9; margin-top: 2px; }
.ny-scenes__hint { font-size: 13px; opacity: .7; margin: 8px 0 0; }

/* 顏色格：滑過換背面 */
.ny-card__img { position: relative; }
.ny-card__img .ny-card__alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.ny-card:hover .ny-card__img .ny-card__alt { opacity: 1; }

/* 尺寸小幫手 */
.ny-finder { background: var(--ny-lime); color: var(--ny-ink); padding: 52px 0; }
.ny-finder .ny-eyebrow { color: var(--ny-ink); }
.ny-finder h2 { margin-bottom: 6px; }
.ny-finder__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 12px; max-width: 560px; }
.ny-finder label { font-weight: 700; font-size: 14px; display: block; }
.ny-finder input { width: 100%; min-height: 54px; border: 2px solid var(--ny-ink); border-radius: 12px; padding: 0 14px; font: 700 20px var(--ny-font); background: #fff; margin-top: 4px; }
.ny-finder__out { font-size: 18px; font-weight: 700; min-height: 1.6em; margin: 0; }
.ny-finder__out strong { font-family: var(--ny-disp); font-style: italic; font-size: 60px; line-height: 1; vertical-align: -8px; margin: 0 6px; }
.ny-finder__note { font-size: 13px; margin: 8px 0 0; opacity: .8; }

/* 進場動效 */
[data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
[data-rv].is-in { opacity: 1; transform: none; }
[data-rv="2"] { transition-delay: .12s; } [data-rv="3"] { transition-delay: .24s; } [data-rv="4"] { transition-delay: .36s; }
.ny-pin i { animation: nyPulse 2.2s ease-in-out infinite; }
@keyframes nyPulse { 0%,100% { box-shadow: 0 0 0 4px rgba(255,255,255,.25); } 50% { box-shadow: 0 0 0 11px rgba(255,255,255,0); } }

/* 商品頁：曉星精簡橫幅＋這個顏色的專屬詳情 */
.ny-cbanner { background: var(--ny-cobalt); color: #fff; padding: 40px 0; overflow: hidden; position: relative; }
.ny-cbanner__in { display: grid; gap: 18px; align-items: center; }
.ny-cbanner .ny-cbanner__big { font-size: clamp(48px, 13vw, 104px) !important; font-family: var(--ny-disp); font-style: italic; font-weight: 900; font-size: clamp(48px, 13vw, 104px); line-height: .84; text-transform: uppercase; margin: 0 0 6px; }
.ny-cbanner p { margin: 0; font-size: 15px; }
.ny-cbanner ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ny-cbanner li { border: 1px solid rgba(255,255,255,.5); border-radius: 10px; padding: 12px 8px; text-align: center; font-size: 12.5px; }
.ny-cbanner li b { display: block; font-family: var(--ny-disp); font-style: italic; font-size: 32px; line-height: 1; }
.ny-story { position: relative; color: #fff; background: #000; overflow: hidden; }
.ny-story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ny-story__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); }
.ny-story__txt { position: absolute; left: var(--ny-gut); right: var(--ny-gut); bottom: 28px; }
.ny-story__txt .ny-disp { font-size: clamp(58px, 18vw, 160px); margin: 0 0 8px; }
.ny-story__txt h2 { margin: 0; font-size: clamp(22px, 6vw, 40px); }
.ny-feat { padding: 10px 0 40px; background: #fff; }
.ny-feat__row { display: grid; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--ny-line); }
.ny-feat__row img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 5; object-fit: cover; }
.ny-feat__no { font-family: var(--ny-disp); font-style: italic; font-weight: 900; font-size: 46px; line-height: 1; color: var(--ny-cobalt); }
.ny-feat__row h3 { font-size: clamp(22px, 6vw, 34px); margin: 4px 0 8px; }
.ny-feat__row p { margin: 0; color: var(--ny-ink2); }
.ny-feat__tag { display: inline-block; font-family: var(--ny-disp); font-style: italic; font-weight: 800; letter-spacing: .1em; font-size: 13px; background: var(--ny-ink); color: #fff; padding: 2px 8px; margin-bottom: 8px; }

@media (min-width: 900px) {
  .ny-marquee__track { padding: 18px 0; }
  .ny-pillar__img { aspect-ratio: 16 / 8.4; }
  .ny-pillar__shade { background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,0) 66%); }
  .ny-pillar__txt { left: 6vw; right: auto; bottom: auto; top: 50%; transform: translateY(-50%); max-width: 560px; }
  .ny-pillar--r .ny-pillar__shade { background: linear-gradient(270deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.28) 42%, rgba(0,0,0,0) 66%); }
  .ny-pillar--r .ny-pillar__txt { left: auto; right: 6vw; text-align: right; }
  .ny-pillar--r .ny-pillar__txt p { margin-left: auto; }
  .ny-pillar__num { top: 32px; left: 6vw; }
  .ny-scenes { padding: 112px 0; }
  .ny-scenes__row { grid-auto-columns: calc((100% - 52px) / 4.3); gap: 16px; }
  .ny-finder { padding: 88px 0; }
  .ny-finder__in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .ny-cbanner { padding: 60px 0; }
  .ny-cbanner__in { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .ny-story img { aspect-ratio: 16 / 8; object-position: center 35%; }
  .ny-story__shade { background: linear-gradient(90deg, rgba(0,0,0,.66) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,0) 70%); }
  .ny-story__txt { left: 6vw; bottom: auto; top: 50%; transform: translateY(-50%); max-width: 720px; }
  .ny-feat__row { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 56px 0; }
  .ny-feat__row:nth-child(even) .ny-feat__pic { order: 2; }
  .ny-feat__row img { max-height: 760px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-rv] { opacity: 1; transform: none; }
}
.ny-feat__row h3 small { font-size: .6em; font-weight: 700; color: var(--ny-mute); }
.ny-pillar[data-rv-box].is-in .ny-pillar__img, .ny-story.is-in img { transform: scale(1); }
.ny-story img { transform: scale(1.06); transition: transform 1.8s cubic-bezier(.2,.8,.2,1); }
.ny-stats strong span { font-size: inherit; opacity: 1; display: inline; }
.ny-feat__row .ny-feat__tag { color: #fff; }

/* 手機版首頁大圖（萬無一失版）：照片整張顯示不裁頭腳；標題只放在照片頂端那塊空白藍（人物頭頂在照片高度 28.9% 以下），
   字和照片都跟著手機寬度等比例縮放，任何手機都不會疊到人；價格和按鈕放在照片下面 */
@media (max-width: 899px) {
  .ny-hero { position: relative; background: #2354E6; display: grid; grid-template-columns: 100%; grid-template-areas: "pic" "bottom"; }
  .ny-hero__panel { display: contents; }
  .ny-hero__pic { grid-area: pic; display: block; }
  .ny-hero__img { width: 100%; height: auto; max-height: none; aspect-ratio: 1080 / 1823; object-fit: cover; object-position: 50% 0%; }
  .ny-hero__top { grid-area: pic; align-self: start; position: relative; z-index: 2; padding: 4.6vw 4.1vw 0; color: #fff; pointer-events: none; }
  .ny-hero__kicker { font-size: 3.1vw; letter-spacing: .14em; margin: 0 0 1.4vw; }
  .ny-hero__title { font-size: 13vw; line-height: .84; margin: 0 0 1.8vw; }
  .ny-hero__sub { font-size: 4vw; line-height: 1.3; margin: 0; white-space: nowrap; }
  .ny-hero__bottom { grid-area: bottom; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px var(--ny-gut) 16px; color: #fff; }
  .ny-hero__price { margin: 0; padding: 0; border-top: 0; display: flex; flex-wrap: wrap; gap: 6px; max-width: none; }
  .ny-hero__price li { flex-direction: row; align-items: baseline; gap: 4px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 4px 10px; }
  .ny-hero__price li:nth-child(3) { display: none; }
  .ny-hero__price small { font-size: 11.5px; }
  .ny-hero__price strong { font-size: 15px; }
  .ny-hero__bottom .ny-btn { margin-left: auto; min-height: 42px; padding: 0 20px; font-size: 15px; }
}
@media (max-width: 899px) { .ny-hide-m { display: none; } }

/* 店名標誌 A：兩道速度斜條（鈷藍＋萊姆）＋ NYLA 窄體粗斜體＋「妮拉」方框標籤 */
.ny-logo { display: inline-flex; align-items: center; gap: 0; text-decoration: none; color: var(--ny-ink); }
.ny-logo__bars { display: inline-flex; gap: 4px; margin-right: 8px; transform: skewX(-18deg); }
.ny-logo__bars i { display: block; width: 6px; height: 21px; background: var(--ny-cobalt); }
.ny-logo__bars i + i { background: var(--ny-lime); }
.ny-logo__en { font-family: var(--ny-disp); font-style: italic; font-weight: 900; font-size: 32px; line-height: .8; letter-spacing: .01em; }
.ny-logo__zh { font-weight: 900; font-size: 10px; line-height: 1; border: 1.6px solid currentColor; padding: 2px 4px 1px; margin-left: 6px; align-self: flex-start; margin-top: 1px; letter-spacing: .1em; }
.ny-footer .ny-logo { color: #fff; }
.ny-footer__copy { padding: 0 var(--ny-gut); }
@media (min-width: 900px) {
  .ny-logo__bars i { width: 7px; height: 25px; }
  .ny-logo__en { font-size: 38px; }
  .ny-logo__zh { font-size: 11px; }
}

/* 13 色 13 種生活：電腦版加箭頭、可拖曳、顯示細捲軸 */
.ny-scenes__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ny-scenes__nav { display: none; gap: 10px; flex: none; margin-bottom: 14px; }
.ny-scenes__btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: transparent; color: #fff; font-size: 22px; cursor: pointer; transition: background .2s ease, color .2s ease, opacity .2s ease; }
.ny-scenes__btn:hover { background: var(--ny-lime); border-color: var(--ny-lime); color: var(--ny-ink); }
.ny-scenes__btn:disabled { opacity: .3; cursor: default; background: transparent; color: #fff; border-color: #fff; }
.ny-hide-d { display: inline; }
@media (min-width: 900px) {
  .ny-scenes__nav { display: flex; }
  .ny-hide-d { display: none; }
  .ny-scenes__row { scrollbar-width: thin; scrollbar-color: var(--ny-lime) rgba(255,255,255,.15); padding-bottom: 16px; cursor: grab; }
  .ny-scenes__row::-webkit-scrollbar { display: block; height: 6px; }
  .ny-scenes__row::-webkit-scrollbar-thumb { background: var(--ny-lime); border-radius: 3px; }
  .ny-scenes__row::-webkit-scrollbar-track { background: rgba(255,255,255,.15); border-radius: 3px; }
  .ny-scenes__row.is-drag { cursor: grabbing; scroll-snap-type: none; }
  .ny-scenes__row.is-drag a { pointer-events: none; }
}

/* 11/13 手機版三支柱：街拍照片完整露出，字放在照片下面的黑底，不壓在腿上 */
@media (max-width: 899px) {
  .ny-pillar__shade { display: none; }
  .ny-pillar__txt { position: relative; left: auto; right: auto; bottom: auto; padding: 22px var(--ny-gut) 34px; margin-top: -4vw; }
  .ny-pillar .ny-pillar__word { text-shadow: 0 4px 24px rgba(0,0,0,.25); }
}
