/* ==========================================================================
   /nail-art-vending-machine/ 页面专属样式
   由 shell.php 按 seo id 自动注入。
   ========================================================================== */

/* ==========================================================================
   /snowflake-ice-vending-machine/ 页面专属样式
   由 shell.php 按 seo id 自动注入（assets/css/page-<seo-id>.css）。
   ========================================================================== */

/* ==========================================================================
   Nail landing (/nail-art-vending-machine/)  ·  2026-11-12
   Only what the shared blocks cannot express: a portrait machine shot, the
   flavour rail and the stacked consumables cards. The three-column spec table,
   the text-only why-cards and the numbered placement cards live in style.css
   because three landing pages share them.
   ========================================================================== */
.na-page .lhero__plate img {
  width: auto; max-width: 100%; max-height: 560px;
  aspect-ratio: auto; margin: 0 auto;
}
.na-page .mpanel__stage { padding: 22px 22px 26px; }
.na-page .mpanel__stage img { aspect-ratio: 4 / 5; }

/* print library: an endless rail of printed faces, no photograph needed */
.nastrip { margin-top: 46px; }
.nastrip__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-bottom: 18px; }
.nastrip__cap b {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
}
.nastrip__cap span { font-size: 12.5px; color: var(--ink-2); }
.nastrip__rail { overflow: hidden; padding: 4px 0 8px; }
.nastrip__track { display: flex; gap: 14px; width: max-content; animation: narail 112s linear infinite; }
.nastrip__i {
  position: relative; display: block; width: 128px; height: 168px; border-radius: 18px;
  background: linear-gradient(158deg,
    hsl(calc(var(--i) * 15) 84% 68%),
    hsl(calc(var(--i) * 15 + 38) 70% 50%));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 16px 28px -20px rgba(58, 32, 120, .55);
}
.nastrip__i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, .46) 0%, rgba(255, 255, 255, 0) 46%);
}
.nastrip__note { margin-top: 14px; font-size: 11.5px; color: var(--ink-3); }
@keyframes narail { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .nastrip__track { animation: none; } }
@media (max-width: 620px) {
  .nastrip__i { width: 104px; height: 136px; border-radius: 15px; }
}

/* --- phone case landing · revisions after first render ------------------- */
/* the H1 carries 64 characters; at 54px it took five lines and pushed the
   hero past a laptop fold */
.na-page .lhero__title { font-size: clamp(31px, 3.3vw, 45px); line-height: 1.1; letter-spacing: -.025em; }
.na-page .lhero__lede { margin-top: 18px; }

/* the light box sits at the very top of the machine shot — give the
   "bracket-free printing" pill its own band so it never sits on the artwork */
.na-page .lhero__plate { padding-top: 46px; }

/* anchored sections used to slide under the sticky nav */
.na-page section[id] { scroll-margin-top: 92px; }

/* print-library rail: brand hues, not a full rainbow */
/* 16 格 = 8 种口味 × 2 档深浅，颜色按口味走，不是随机彩虹 */
.nastrip__i { overflow: hidden; }
.nastrip__i::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background-image:
    radial-gradient(circle at 26% 28%, rgba(255,255,255,.62) 0 3.5px, transparent 4px),
    radial-gradient(circle at 66% 46%, rgba(255,255,255,.5) 0 3px, transparent 3.5px),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,.42) 0 2.5px, transparent 3px),
    radial-gradient(circle at 76% 80%, rgba(255,255,255,.36) 0 2px, transparent 2.5px);
}
.nastrip__i:nth-child(8n+1) { background: linear-gradient(158deg, #FF9BB0, #E84C3D); }  /* strawberry */
.nastrip__i:nth-child(8n+2) { background: linear-gradient(158deg, #FFC46B, #F08A1E); }  /* mango */
.nastrip__i:nth-child(8n+3) { background: linear-gradient(158deg, #B7E07A, #4F9E3F); }  /* matcha */
.nastrip__i:nth-child(8n+4) { background: linear-gradient(158deg, #9AA6F5, #4B4BD6); }  /* blueberry */
.nastrip__i:nth-child(8n+5) { background: linear-gradient(158deg, #B98A6A, #5C3A2A); }  /* chocolate */
.nastrip__i:nth-child(8n+6) { background: linear-gradient(158deg, #FFF6E2, #E3D3B4); }  /* yoghurt */
.nastrip__i:nth-child(8n+7) { background: linear-gradient(158deg, #A8E6D0, #35A98B); }  /* green grape */
.nastrip__i:nth-child(8n+8) { background: linear-gradient(158deg, #FFC3A6, #F268A8); }  /* peach */

/* consumables: these two are illustrations, not product photography —
   run the artwork edge to edge across the top instead of letterboxing it */
.na-page .matgrid .matcard { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.na-page .matgrid .matcard__media {
  min-height: 232px; border-right: 0; border-bottom: 1px solid var(--line-soft);
  border-radius: 16px 16px 0 0;
}
.na-page .matgrid .matcard__media img { inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }

/* ---- cold-apply vs direct print (nail #tech-compare) ----
   两栏对比：左边是传统直喷的痛点，右边是冷贴膜的做法。
   刻意不做成"我们赢"的红绿对照——只描述两种技术各自会发生什么。 */
.nacmp{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:26px}
.nacmp__c{padding:26px 26px 24px;border-radius:18px;background:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.94);box-shadow:0 18px 40px -34px rgba(30,20,60,.5)}
.nacmp__c--new{background:#fff;border-color:rgba(232,76,61,.22);
  box-shadow:0 20px 44px -32px rgba(232,76,61,.35)}
.nacmp__k{margin:0;font-size:9.5px;font-weight:800;letter-spacing:.15em;text-transform:uppercase;
  color:#9A93B3}
.nacmp__k--new{color:#E84C3D}
.nacmp__h{margin:10px 0 0;font-family:var(--font-display);font-size:17px;line-height:1.38;
  font-weight:700;letter-spacing:-.015em;color:#1A1436}
.nacmp__p{margin:12px 0 0;font-size:13px;line-height:1.78;color:#5B5473}
@media (max-width:760px){
  .nacmp{grid-template-columns:1fr;gap:14px}
  .nacmp__c{padding:22px 20px 20px}
}

/* ---- 款式墙：实拍图案替换色块（2026-11-14）-------------------------------
   16 格改为真实美甲图案后，渐变色和表面高光点都要去掉；图本身
   已按 128×168（2 倍 256×336）裁好，object-fit 不会二次裁切 */
/* nth-child(n) 与上面 8n+1 那批渐变同权重，靠顺序压过去 */
.nastrip__i:nth-child(n) { background: transparent; box-shadow: none; }
.nastrip__i::after { display: none; }
.nastrip__i img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---- 耗材卡：换成白底实拍，contain 保证整件不被裁 ---------------------
   原先是插画，铺满 232px 高的横条；实拍是竖构图产品图，
   铺满会切掉大半，改成比例盒 + contain，两边留白拍照背景 */
.na-page .matgrid .matcard__media { min-height: 0; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.na-page .matgrid .matcard__media img {
  position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px);
  object-fit: contain; border-radius: 0;
}
