.nail-trends {
  --nt-ink: #191715;
  --nt-muted: #746f68;
  --nt-line: #e8e2d8;
  --nt-paper: #ffffff;
  --nt-rose: #c24165;
  --nt-mint: #0f766e;
  --nt-blue: #315f9f;
  color: var(--nt-ink);
  background: var(--nt-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-x: clip;
  min-height: 100vh;
  padding: 0 24px 34px 92px;
}
.nail-trends *,
.nail-trends *::before,
.nail-trends *::after { box-sizing: border-box; }
.nail-trends__inner { width: 100%; min-width: 0; max-width: 1480px; margin: 0 auto; }
.nail-trends :where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 3px solid rgba(49, 95, 159, 0.42);
  outline-offset: 3px;
}
.nail-pinrail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: 68px;
  border-right: 1px solid #ece8e0;
  background: #ffffff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  padding: 18px 8px;
}
.nail-pinrail__logo {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--nt-rose);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.nail-pinrail__nav,
.nail-pinrail__footer {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: center;
}
.nail-pinrail__nav { margin-top: 28px; }
.nail-pinrail__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}
.nail-pinrail__icon:hover,
.nail-pinrail__icon[aria-current="page"] { background: #f2f0eb; }
.nail-pinbar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}
.nail-pinbar__search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #e8e6e0;
  color: #56514a;
  padding: 0 18px;
  min-height: 48px;
}
.nail-pinbar__search:focus-within {
  border-color: #bfc9c5;
  background: #f2f0eb;
}
.nail-pinbar__search-icon { font-size: 18px; line-height: 1; }
.nail-pinbar__search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--nt-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
}
.nail-pinbar__search input::placeholder { color: #6f6a63; }
.nail-pinbar__saved {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--nt-ink);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 46px;
  padding: 0 14px;
}
.nail-pinbar__saved:hover { background: #f5f2ed; }
.nail-pinbar__cta {
  border: 1px solid var(--nt-ink);
  border-radius: 999px;
  background: var(--nt-ink);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  min-height: 46px;
  padding: 0 16px;
  text-decoration: none;
  white-space: nowrap;
}
.nail-pinbar__cta:hover { background: #000; }
.nail-pinbar__count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--nt-rose);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.nail-student-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 0 14px;
}
.nail-student-hero h2 {
  margin: 0;
  color: var(--nt-ink);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: 0;
}
.nail-student-hero__subtitle {
  margin: 7px 0 0;
  color: var(--nt-muted);
  font-size: 14px;
  line-height: 1.55;
}
.nail-student-hero__stats {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 560px;
}
.nail-student-hero__stat {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--nt-muted);
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  font-size: 11px;
  line-height: 1;
  padding: 8px 10px;
}
.nail-student-hero__stat strong { color: var(--nt-ink); font-size: 14px; }
.nail-onboarding {
  display: grid;
  gap: 12px;
  margin: 0 0 16px;
}
.nail-onboarding__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.nail-onboarding__head h3 {
  margin: 0;
  color: var(--nt-ink);
  font-size: 18px;
  line-height: 1.2;
}
.nail-onboarding__head p {
  margin: 4px 0 0;
  color: var(--nt-muted);
  font-size: 13px;
  line-height: 1.45;
}
.nail-onboarding__steps {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--nt-muted);
  font-size: 12px;
}
.nail-onboarding__step {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nt-ink);
  font-weight: 800;
  padding: 6px 8px;
}
.nail-pain-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.nail-pain-card {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fff;
  color: var(--nt-ink);
  cursor: pointer;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  font: inherit;
  min-height: 82px;
  padding: 12px;
  text-align: left;
}
.nail-pain-card:hover { box-shadow: 0 8px 22px rgba(25, 23, 21, 0.08); transform: translateY(-1px); }
.nail-pain-card__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: #f3eee6;
  color: var(--nt-rose);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}
.nail-pain-card:nth-child(2) .nail-pain-card__icon { background: #eef4ff; color: var(--nt-blue); }
.nail-pain-card:nth-child(3) .nail-pain-card__icon { background: #eef8f4; color: var(--nt-mint); }
.nail-pain-card:nth-child(4) .nail-pain-card__icon { background: #fff0f4; color: var(--nt-rose); }
.nail-pain-card strong { display: block; font-size: 14px; line-height: 1.25; }
.nail-pain-card span:last-child { display: block; margin-top: 4px; color: var(--nt-muted); font-size: 12px; line-height: 1.35; }
.nail-style-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0 16px;
  margin: 0 0 2px;
}
.nail-style-strip::-webkit-scrollbar { display: none; }
.nail-style-chip {
  flex: 0 0 auto;
  display: inline-grid;
  grid-template-columns: 48px auto;
  align-items: center;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: #f5dce4;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  padding: 0 16px 0 0;
}
.nail-style-chip:nth-child(3n + 1) { background: #d8efe5; }
.nail-style-chip:nth-child(3n + 2) { background: #e3e8ff; }
.nail-style-chip__thumb {
  position: relative;
  width: 48px;
  height: 56px;
  overflow: hidden;
  background: #eee7dd;
}
.nail-style-chip__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-style-chip span:last-child { padding-left: 10px; white-space: nowrap; }
.nail-filter-dock {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding: 0 0 14px;
  margin-bottom: 4px;
  background: #fff;
}
/* 次篩選 chips（影片=長度＋類型、貼文=類型；section.js 依看板模式切換顯示） */
.nail-subfilter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.nail-subfilter__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--nt-muted);
  letter-spacing: 0.04em;
}
.nail-subfilter__note {
  color: #6d6259;
  font-size: 12px;
  line-height: 1.5;
}
.nail-subfilter__chip {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #fff;
  color: #4d453e;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
}
.nail-subfilter__chip[aria-pressed="true"] {
  background: #2f2a25;
  border-color: #2f2a25;
  color: #fffdf9;
}
.nail-quick-tabs {
  min-width: 0;
}
.nail-filter-panel {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fffdf8;
  overflow: hidden;
}
.nail-filter-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: var(--nt-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  list-style: none;
  padding: 10px 12px;
}
.nail-filter-panel summary::-webkit-details-marker { display: none; }
.nail-filter-panel summary::after {
  content: "展開";
  color: var(--nt-muted);
  font-size: 12px;
  font-weight: 700;
}
.nail-filter-panel[open] summary::after { content: "收起"; }
.nail-filter-panel__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--nt-line);
  padding: 8px;
}
.nail-trends__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.nail-trends h2 { margin: 0; font-size: 28px; line-height: 1.15; letter-spacing: 0; }
.nail-trends__subtitle { margin: 8px 0 0; color: var(--nt-muted); max-width: 760px; line-height: 1.65; }
.nail-trends__stats { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; max-width: 520px; }
.nail-trends__stat {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  padding: 7px 10px;
  min-width: 0;
  background: #ffffff;
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}
.nail-trends__stat strong { display: block; font-size: 14px; line-height: 1; }
.nail-trends__stat span { display: block; color: var(--nt-muted); font-size: 11px; white-space: nowrap; }
.nail-workbench {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
  margin: 0 0 20px;
  align-items: start;
}
.nail-workbench__panel {
  min-width: 0;
}
.nail-workbench__panel--intro {
  position: sticky;
  top: 14px;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  min-width: 0;
}
.nail-workbench__panel h3 {
  margin: 0 0 10px;
  color: var(--nt-ink);
  font-size: 15px;
  line-height: 1.25;
}
.nail-workbench__eyebrow {
  margin: 0 0 8px;
  color: var(--nt-mint);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.nail-workbench__headline {
  margin: 0;
  color: var(--nt-ink);
  font-size: 30px;
  line-height: 1.12;
}
.nail-workbench__copy {
  margin: 12px 0 16px;
  color: var(--nt-muted);
  font-size: 13px;
  line-height: 1.6;
}
.nail-workbench__actions { display: grid; gap: 8px; }
.nail-workbench__action {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  min-height: 74px;
  padding: 12px;
  text-align: left;
}
.nail-workbench__action--soft {
  border-color: var(--nt-line);
  background: #fffdf8;
  color: var(--nt-ink);
}
.nail-workbench__action--saved {
  border-color: #d8eadf;
  background: #f6fbf7;
}
.nail-workbench__saved-count {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--nt-ink);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.nail-workbench__action:hover { box-shadow: 0 8px 18px rgba(25, 23, 21, 0.08); }
.nail-workbench__actions strong { display: block; font-size: 14px; line-height: 1.25; }
.nail-workbench__actions span { display: block; margin-top: 5px; color: var(--nt-muted); font-size: 12px; line-height: 1.4; }
.nail-workbench__actions .nail-workbench__saved-count {
  display: inline-grid;
  margin: 0 0 0 6px;
  color: #fff;
  line-height: 1;
}
.nail-workbench__styles-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.nail-workbench__styles-head h3 { margin: 0; color: var(--nt-ink); font-size: 18px; line-height: 1.25; }
.nail-workbench__styles-head p { margin: 4px 0 0; color: var(--nt-muted); font-size: 12px; line-height: 1.45; }
.nail-workbench__styles-badge {
  flex: 0 0 auto;
  border: 1px solid #f0d4dc;
  border-radius: 999px;
  background: #fff7fa;
  color: var(--nt-rose);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}
.nail-workbench__styles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.nail-workbench__style {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--nt-ink);
  min-width: 0;
}
.nail-workbench__collage {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1.05;
  background: #f4efe7;
}
.nail-workbench__thumb:first-child { grid-row: span 2; }
.nail-workbench__thumb {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f4efe7;
  overflow: hidden;
}
.nail-workbench__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-workbench__style-body {
  padding: 8px 2px 0;
}
.nail-workbench__style h4 { margin: 0; color: var(--nt-ink); font-size: 13px; line-height: 1.28; overflow-wrap: anywhere; }
.nail-workbench__style p { margin: 5px 0 0; color: var(--nt-muted); font-size: 11px; line-height: 1.35; }
.nail-workbench__style-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.nail-workbench__mini-button {
  border: 1px solid var(--nt-ink);
  border-radius: 999px;
  background: var(--nt-ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 8px;
}
.nail-workbench__mini-button--ghost { background: #fff; color: var(--nt-ink); }
.nail-save-button {
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(25,23,21,.86);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}
.nail-save-button:hover { background: var(--nt-ink); }
.nail-save-button[data-saved="true"] {
  background: var(--nt-rose);
  border-color: var(--nt-rose);
}
.nail-save-button--floating {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
}
.nail-save-button--inline {
  border-color: var(--nt-ink);
  background: var(--nt-ink);
  justify-self: start;
}
.nail-inspiration-modal[hidden],
.nail-inspiration-templates { display: none; }
.nail-inspiration-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 22px;
}
.nail-inspiration-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 23, 21, 0.42);
}
.nail-inspiration-modal__panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 24px 80px rgba(25, 23, 21, 0.28);
}
.nail-inspiration-modal[data-nail-modal-kind="profile"] .nail-inspiration-modal__panel {
  width: min(1540px, calc(100vw - 32px));
  max-height: min(900px, calc(100vh - 24px));
  background: #0b0f14;
}
.nail-inspiration-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(25,23,21,.78);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}
/* hidden 屬性必勝：class 設了 display:flex/grid 會蓋掉 UA 的 [hidden]{display:none}，
   這裡整區強制，避免「hidden=true 但還顯示」這類 bug（Codex 抓到 account 兩態互蓋）。 */
.nail-trends [hidden] { display: none !important; }
.nail-pinbar__member { display: inline-flex; align-items: center; justify-self: end; gap: 8px; min-width: 0; }
.nail-member-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  border: 1px solid var(--nt-line);
  background: #f4f1ea;
  color: var(--nt-ink);
  white-space: nowrap;
}
.nail-member-badge--gold { background: #f7ecd4; border-color: #e4c886; color: #8a6510; }
.nail-member-badge--diamond { background: #e3edfa; border-color: #b7cdf0; color: #2c569c; }
.nail-member-badge--platinum { background: #ecebf5; border-color: #c8c5e0; color: #4c4680; }
.nail-member-email {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--nt-muted);
}
.nail-member-logout {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  color: var(--nt-blue);
  text-decoration: underline;
  cursor: pointer;
}
.nail-member-modal[hidden] { display: none; }
.nail-member-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
}
.nail-member-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 23, 21, 0.42);
}
.nail-member-modal__panel {
  position: relative;
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 44px));
  /* iOS Safari 的 100vh 含工具列後方區域，按鈕會被吃掉；dvh 才是可視高度 */
  max-height: min(720px, calc(100dvh - 44px));
  overflow: auto;
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 24px 80px rgba(25, 23, 21, 0.28);
  padding: 26px 24px 24px;
}
.nail-member-modal__panel h3 { margin: 0 0 6px; font-size: 20px; }
.nail-member-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}
.nail-member-modal__hint { margin: 0 0 12px; font-size: 13px; color: var(--nt-muted); }
.nail-member-modal__row { display: flex; gap: 8px; margin-bottom: 8px; }
.nail-member-modal__row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}
.nail-onboard-field { display: grid; gap: 5px; margin-bottom: 12px; }
.nail-onboard-field label { font-size: 13px; font-weight: 700; }
.nail-onboard-field label em { font-style: normal; color: var(--nt-rose); font-size: 12px; margin-left: 4px; }
.nail-onboard-field label span { font-weight: 400; color: var(--nt-muted); font-size: 12px; margin-left: 4px; }
.nail-onboard-field input {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}
.nail-member-modal__msg { min-height: 18px; margin: 0 0 12px; font-size: 13px; }
.nail-member-modal__msg[data-kind="ok"] { color: var(--nt-mint); font-weight: 700; }
.nail-member-modal__msg[data-kind="err"] { color: var(--nt-rose); font-weight: 700; }
.nail-member-modal__tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 6px;
}
.nail-member-tiercard {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  font-size: 12px;
  color: var(--nt-muted);
}
.nail-member-tiercard strong { font-size: 13px; color: var(--nt-ink); }
.nail-member-tiercard--gold { border-color: #e4c886; background: #fdf8ec; }
.nail-member-tiercard--diamond { border-color: #b7cdf0; background: #f3f7fd; }
.nail-member-tiercard--platinum { border-color: #c8c5e0; background: #f5f4fa; }
.nail-artist__button--following { background: var(--nt-ink); color: #fff; border-color: var(--nt-ink); }
.nail-member-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 1001;
  background: rgba(25, 23, 21, 0.92);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
@media (max-width: 640px) {
  .nail-member-modal__tiers { grid-template-columns: 1fr; }
  .nail-member-email { display: none; }
  .nail-member-modal { padding: 10px; place-items: start center; }
  .nail-member-modal__panel {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    padding: 22px 16px 18px;
    margin-top: 10px;
  }
  .nail-member-modal__row { flex-wrap: wrap; }
  .nail-member-modal__row input { flex: 1 1 100%; }
  .nail-member-modal__row .nail-pinbar__cta,
  .nail-member-modal__row .nail-artist__button { flex: 1 1 auto; }
}
.nail-pinbar__member-zone {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--nt-ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--nt-ink);
  background: #fff;
  white-space: nowrap;
}
.nail-pinbar__member-zone:hover { background: var(--nt-ink); color: #fff; }
.nail-member-tiercard strong em {
  font-style: normal;
  font-weight: 800;
  color: var(--nt-rose);
  margin-left: 4px;
}
.nail-member-modal__link { color: var(--nt-blue); font-weight: 700; }
.nail-mem-head { display: flex; align-items: start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.nail-mem-head h2 { margin: 0 0 6px; font-size: 26px; }
.nail-mem-head p { margin: 0; color: var(--nt-muted); font-size: 14px; }
.nail-mem-login { display: inline-flex; align-items: center; gap: 8px; }
.nail-mem-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 18px 0 26px;
}
.nail-mem-card {
  position: relative;
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  background: #fff;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nail-mem-card--gold { border-color: #e4c886; background: #fdf8ec; }
.nail-mem-card--diamond { border-color: #b7cdf0; background: #f3f7fd; box-shadow: 0 10px 28px rgba(49, 95, 159, 0.12); }
.nail-mem-card--platinum { border-color: #c8c5e0; background: #f5f4fa; }
.nail-mem-card__name { font-size: 15px; font-weight: 800; }
.nail-mem-card__price { font-size: 24px; font-weight: 800; }
.nail-mem-card__price small { font-size: 13px; font-weight: 700; color: var(--nt-muted); }
.nail-mem-card__tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 800;
  color: #2c569c;
  background: #e3edfa;
  border-radius: 999px;
  padding: 4px 8px;
}
.nail-mem-card ul { margin: 0; padding: 0 0 0 18px; font-size: 13px; color: var(--nt-muted); display: grid; gap: 5px; }
.nail-mem-card__cta {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  background: var(--nt-ink);
  color: #fff;
}
.nail-mem-card__cta--ghost { background: #fff; color: var(--nt-ink); border: 1px solid var(--nt-line); }
.nail-mem-table-wrap { overflow-x: auto; border: 1px solid var(--nt-line); border-radius: 10px; background: #fff; margin-bottom: 26px; }
.nail-mem-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
.nail-mem-table th, .nail-mem-table td { padding: 11px 12px; border-bottom: 1px solid var(--nt-line); text-align: center; }
.nail-mem-table th:first-child, .nail-mem-table td:first-child { text-align: left; font-weight: 700; }
.nail-mem-table thead th { font-size: 13px; background: #faf7f1; }
.nail-mem-table tbody tr:nth-child(even) td { background: #fcfaf6; }
.nail-mem-table tbody tr:last-child td { border-bottom: 0; }
.nail-mem-table .ok { color: var(--nt-mint); font-weight: 800; }
.nail-mem-table .no { color: #c9c2b8; }
.nail-mem-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0 26px; }
.nail-mem-step { border: 1px solid var(--nt-line); border-radius: 10px; background: #fff; padding: 16px; display: grid; gap: 8px; align-content: start; }
.nail-mem-step__num { width: 26px; height: 26px; border-radius: 999px; background: var(--nt-ink); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.nail-mem-step strong { font-size: 14px; }
.nail-mem-step p { margin: 0; font-size: 13px; color: var(--nt-muted); }
.nail-mem-faq { display: grid; gap: 10px; margin-bottom: 30px; }
.nail-mem-faq details { border: 1px solid var(--nt-line); border-radius: 10px; background: #fff; padding: 12px 16px; }
.nail-mem-faq summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.nail-mem-faq p { margin: 10px 0 2px; font-size: 13.5px; color: var(--nt-muted); }
.nail-mem-note { font-size: 12px; color: var(--nt-muted); margin: -14px 0 26px; }
.nail-member-idlink { display: inline-flex; align-items: center; gap: 8px; min-width: 0; text-decoration: none; }
.nail-member-idlink:hover .nail-member-email { text-decoration: underline; }
[data-acct-main] { display: grid; gap: 12px; }
.nail-acct-identity { display: grid; gap: 8px; justify-items: start; }
.nail-acct-identity strong { font-size: 15px; word-break: break-all; }
.nail-acct-perk { font-size: 13px; color: var(--nt-muted); }
.nail-acct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--nt-line);
  font-size: 14px;
}
.nail-acct-row:last-child { border-bottom: 0; }
.nail-acct-row small { color: var(--nt-muted); }
.nail-cmp-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; margin-top: 8px; }
@media (max-width: 720px) { .nail-cmp-grid { grid-template-columns: 1fr; } }
.nail-cmp-step { display: block; margin: 10px 0 6px; font-size: 13px; color: var(--nt-ink); }
.nail-cmp-preview { margin-top: 8px; }
.nail-cmp-preview img { max-width: 100%; max-height: 180px; border-radius: 10px; border: 1px solid var(--nt-line); }
.nail-cmp-result { margin-top: 12px; padding: 14px; border: 1px solid var(--nt-line); border-radius: 12px; background: #fff; display: grid; gap: 8px; }
.nail-cmp-result__cap { white-space: pre-wrap; font-size: 14px; line-height: 1.7; color: var(--nt-ink); }
.nail-cmp-result__tags { color: var(--nt-blue); font-size: 13px; }
.nail-trends textarea[data-cmp-note] { width: 100%; border: 1px solid var(--nt-line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13px; resize: vertical; background: #fff; color: var(--nt-ink); box-sizing: border-box; }
.nail-wb-hint { color: var(--nt-muted); font-size: 12px; }
.nail-wb-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 720px) { .nail-wb-strip { grid-template-columns: 1fr; } }
.nail-wb-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 720px) { .nail-wb-scenes { grid-template-columns: 1fr; } }
.nail-wb-scene { display: grid; gap: 4px; padding: 14px; border: 1px solid var(--nt-line); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: var(--nt-ink); text-decoration: none; align-content: start; }
.nail-wb-scene:hover { border-color: var(--nt-rose); box-shadow: 0 8px 18px rgba(25, 23, 21, 0.06); }
.nail-wb-scene--active { border: 2px solid var(--nt-rose); padding: 13px; }
.nail-wb-scene--soon { opacity: 0.6; cursor: default; }
.nail-wb-scene--soon:hover { border-color: var(--nt-line); box-shadow: none; }
.nail-wb-scene__icon { font-size: 20px; line-height: 1; }
.nail-wb-scene strong { font-size: 14px; }
.nail-wb-scene span:last-child { font-size: 12px; color: var(--nt-muted); }
/* === 工作臺 v5「內容工作室」版式（移植自 nail-content-studio-preview，2026-07-24） === */
.nwb-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .nwb-layout { grid-template-columns: 1fr; } }
.nwb-side, .nwb-rail { display: grid; gap: 12px; align-content: start; }
@media (min-width: 1101px) { .nwb-side, .nwb-rail { position: sticky; top: 14px; max-height: calc(100vh - 28px); overflow: auto; } }
.nwb-panel { background: #fffdfb; border: 1px solid #e8ddd6; border-radius: 16px; padding: 14px; box-shadow: 0 10px 30px rgba(28, 20, 18, 0.05); }
.nwb-panel > h2 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #7a6a63; font-weight: 700; }
.nwb-navlist { display: grid; gap: 4px; }
.nwb-navitem { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: none; font: inherit; font-size: 14px; color: #3d322e; cursor: pointer; text-align: left; }
.nwb-navitem:hover { background: #f3ebe4; }
.nwb-navitem.is-on { background: linear-gradient(135deg, #f8e9e4, #f4efe9); border-color: #edd9d1; color: #1c1412; font-weight: 700; }
.nwb-navitem small { color: #7a6a63; font-weight: 400; font-size: 11px; }
.nwb-maprow { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #e8ddd6; font-size: 12.5px; }
.nwb-maprow:last-child { border-bottom: 0; }
.nwb-maprow span { color: #7a6a63; }
.nwb-maprow b { color: #1c1412; font-weight: 600; }
.nwb-reports { margin-top: 10px; border-top: 1px dashed #e8ddd6; padding-top: 10px; }
.nwb-hero { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 14px; margin-bottom: 16px; }
@media (max-width: 860px) { .nwb-hero { grid-template-columns: 1fr; } }
.nwb-heromain { padding: 22px; border-radius: 20px; border: 1px solid #e8ddd6; background: linear-gradient(145deg, rgba(255, 253, 251, 0.96), rgba(248, 232, 224, 0.9)); box-shadow: 0 10px 30px rgba(28, 20, 18, 0.05); }
.nwb-eyebrow { font-size: 12px; color: #c4786a; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 8px; }
.nwb-h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; color: #1c1412; }
.nwb-h2 em { font-style: normal; color: #c4786a; }
.nwb-heromain p { margin: 0; max-width: 48ch; color: #3d322e; line-height: 1.7; font-size: 14px; }
.nwb-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.nwb-stat { min-width: 86px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(232, 221, 214, 0.9); }
.nwb-stat b { display: block; font-family: Georgia, serif; font-size: 20px; font-weight: 400; color: #1c1412; }
.nwb-stat span { font-size: 11.5px; color: #7a6a63; }
.nwb-fitcard { padding: 18px; border-radius: 20px; background: #1c1412; color: #f8f1ec; box-shadow: 0 10px 30px rgba(28, 20, 18, 0.12); }
.nwb-fitcard h3 { margin: 0 0 6px; font-family: Georgia, serif; font-weight: 400; font-size: 20px; }
.nwb-fitcard p { margin: 0 0 10px; color: rgba(248, 241, 236, 0.78); font-size: 13px; line-height: 1.6; }
.nwb-fitcard ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 6px; }
.nwb-fitcard li { font-size: 13px; line-height: 1.45; }
.nwb-btn { border: 0; border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.nwb-btn--light { background: #fff; color: #1c1412; }
.nwb-btn--primary { background: #1c1412; color: #fff; }
.nwb-btn--primary:hover { background: #2a201c; }
.nwb-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.nwb-btn--soft { background: #f0d4cc; color: #1c1412; }
.nwb-btn--ghost { background: none; border: 1px solid #e8ddd6; color: #3d322e; }
.nwb-secthead { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 6px 0 12px; flex-wrap: wrap; }
.nwb-secthead h3 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: 22px; color: #1c1412; }
.nwb-secthead p { margin: 3px 0 0; color: #7a6a63; font-size: 13px; }
.nwb-shoppills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.nwb-shoppill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 12px; border-radius: 999px; border: 1px solid #e4c8bf; background: linear-gradient(135deg, #fff8f5, #fff); font-size: 12.5px; }
.nwb-shoppill strong { font-size: 12.5px; color: #1c1412; }
.nwb-shoppill em { font-style: normal; font-size: 11px; color: #7a6a63; }
.nwb-pillx { border: 0; background: #f3ebe4; color: #7a6a63; width: 20px; height: 20px; border-radius: 999px; font-size: 11px; cursor: pointer; line-height: 1; }
.nwb-pillx:hover { background: #e8ddd6; color: #1c1412; }
.nwb-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.nwb-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid #e8ddd6; background: #fffdfb; color: #3d322e; font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: none; }
.nwb-chip:hover { border-color: #e8b4a8; }
.nwb-chip.is-on { background: #1c1412; border-color: #1c1412; color: #fff; }
.nwb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; }
.nwb-card { background: #fffdfb; border: 1px solid #e8ddd6; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(28, 20, 18, 0.04); transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.nwb-card:hover { transform: translateY(-3px); border-color: #e4c8bf; box-shadow: 0 14px 34px rgba(28, 20, 18, 0.09); }
.nwb-thumb { aspect-ratio: 4 / 5; position: relative; background: #f3ebe4; display: block; }
.nwb-thumb--sq { aspect-ratio: 1; }
.nwb-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nwb-thumbph { position: absolute; inset: 0; display: grid; place-items: center; color: #7a6a63; font-size: 12px; }
.nwb-badge { position: absolute; top: 8px; left: 8px; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 253, 251, 0.92); color: #3d322e; font-weight: 600; z-index: 1; }
.nwb-badge--reel { background: rgba(28, 20, 18, 0.88); color: #fff; }
.nwb-badge--post { background: rgba(196, 120, 106, 0.92); color: #fff; }
.nwb-badge--new { left: auto; right: 8px; background: #fff; }
.nwb-cardbody { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nwb-handle { font-size: 12.5px; font-weight: 700; color: #1c1412; }
.nwb-cardmeta { font-size: 11.5px; color: #7a6a63; }
.nwb-cardcap { font-size: 12px; color: #3d322e; line-height: 1.5; max-height: 36px; overflow: hidden; }
.nwb-cardlink { font-size: 11.5px; color: #315f9f; text-decoration: underline; }
.nwb-cardacts { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }
.nwb-mini { flex: 1; border: 1px solid #e8ddd6; background: #fff; border-radius: 999px; padding: 7px 8px; font: inherit; font-size: 12px; cursor: pointer; color: #1c1412; white-space: nowrap; }
.nwb-mini:hover { border-color: #e4c8bf; }
.nwb-mini--primary { background: #1c1412; color: #fff; border-color: #1c1412; }
.nwb-mini:disabled { opacity: 0.5; cursor: not-allowed; }
.nwb-idealist { display: grid; gap: 10px; }
.nwb-idea { display: grid; grid-template-columns: 84px 1fr; gap: 12px; border: 1px solid #e8ddd6; border-radius: 14px; padding: 10px; background: #fffdfb; }
.nwb-ideathumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: #f3ebe4; }
.nwb-ideathumb img { width: 100%; height: 100%; object-fit: cover; }
.nwb-ideathumb .nwb-thumbph { position: static; height: 100%; display: grid; }
.nwb-ideabody { display: grid; gap: 3px; align-content: start; min-width: 0; }
.nwb-ideakind { font-size: 11px; color: #c4786a; font-weight: 700; }
.nwb-ideabody strong { font-size: 14px; color: #1c1412; }
.nwb-ideabody > span { font-size: 12px; color: #7a6a63; line-height: 1.5; }
.nwb-genbox { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; }
@media (max-width: 900px) { .nwb-genbox { grid-template-columns: 1fr; } }
.nwb-step { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; padding: 11px 13px; border-radius: 14px; background: linear-gradient(135deg, #f8e9e4, #fff7f3); border: 1px solid #edd9d1; }
.nwb-step:first-child { margin-top: 0; }
.nwb-stepnum { flex: none; display: inline-grid; place-items: center; min-width: 52px; height: 32px; padding: 0 10px; border-radius: 999px; background: #1c1412; color: #fff; font-family: Georgia, serif; font-size: 13.5px; letter-spacing: 0.04em; }
.nwb-steptext { font-size: 15.5px; font-weight: 700; color: #1c1412; }
.nwb-stephint { margin-left: auto; font-size: 12px; color: #7a6a63; text-align: right; }
@media (max-width: 600px) { .nwb-step { flex-wrap: wrap; } .nwb-stephint { margin-left: 0; width: 100%; text-align: left; } }
.nwb-typecards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 600px) { .nwb-typecards { grid-template-columns: 1fr; } }
.nwb-typecard { display: grid; gap: 4px; text-align: left; border: 1px solid #e8ddd6; border-radius: 14px; padding: 13px; background: #fff; font: inherit; cursor: pointer; transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.nwb-typecard:hover { border-color: #e4c8bf; }
.nwb-typecard .t { font-weight: 700; font-size: 14.5px; color: #1c1412; }
.nwb-typecard .d { font-size: 12px; color: #7a6a63; line-height: 1.5; }
.nwb-typecard.is-on { border-color: #1c1412; background: linear-gradient(180deg, #fff8f5, #fff); box-shadow: 0 8px 24px rgba(28, 20, 18, 0.1); transform: scale(1.02); opacity: 1; filter: none; }
.nwb-typecards.has-selection .nwb-typecard:not(.is-on) { opacity: 0.28; filter: grayscale(0.45); transform: scale(0.97); }
.nwb-typecards.has-selection .nwb-typecard:not(.is-on):hover { opacity: 0.55; filter: grayscale(0.15); }
.nwb-shopgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px; }
.nwb-shopcard { display: grid; gap: 4px; justify-items: center; text-align: center; border: 2px solid #e8ddd6; border-radius: 14px; padding: 12px 8px; background: #fff; font: inherit; cursor: pointer; transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease, border-color 0.15s ease; }
.nwb-shopcard:hover { border-color: #e4c8bf; }
.nwb-shopav { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: linear-gradient(145deg, #f0d4cc, #c9b8ae); color: #fff; font-weight: 700; font-size: 16px; }
.nwb-shopn { font-weight: 700; font-size: 12.5px; color: #1c1412; word-break: break-all; }
.nwb-shopm { font-size: 11px; color: #7a6a63; }
.nwb-shopcard.is-selected { border-color: #1c1412; background: linear-gradient(180deg, #f8e9e4, #fff); transform: scale(1.03); box-shadow: 0 8px 20px rgba(28, 20, 18, 0.08); opacity: 1; filter: none; }
.nwb-shopgrid.has-selection .nwb-shopcard:not(.is-selected) { opacity: 0.26; filter: grayscale(0.5); transform: scale(0.96); }
.nwb-shopgrid.has-selection .nwb-shopcard:not(.is-selected):hover { opacity: 0.55; filter: grayscale(0.15); }
.nwb-pickstatus { font-size: 12.5px; color: #7a6a63; margin-bottom: 8px; }
.nwb-pickstatus b { color: #1c1412; }
.nwb-pickgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 700px) { .nwb-pickgrid { grid-template-columns: repeat(2, 1fr); } }
.nwb-pick { position: relative; display: flex; flex-direction: column; text-align: left; border: 2px solid #e8ddd6; border-radius: 14px; overflow: hidden; background: #fff; font: inherit; cursor: pointer; padding: 0; transition: opacity 0.22s ease, transform 0.22s ease, filter 0.22s ease, border-color 0.15s ease, box-shadow 0.15s ease; }
.nwb-pick:hover { border-color: #e4c8bf; }
.nwb-pick .nwb-thumb { width: 100%; }
.nwb-pickcap { display: grid; gap: 2px; padding: 8px; font-size: 11.5px; color: #7a6a63; line-height: 1.4; }
.nwb-pickcap strong { font-size: 12px; color: #1c1412; }
.nwb-packok { font-style: normal; color: #0f766e; font-weight: 700; font-size: 11px; }
.nwb-packno { font-style: normal; color: #a8a29e; font-size: 11px; }
.nwb-pickcheck { display: none; position: absolute; top: 8px; right: 8px; z-index: 2; width: 24px; height: 24px; border-radius: 999px; background: #1c1412; color: #fff; place-items: center; font-size: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); }
.nwb-pickbanner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: rgba(28, 20, 18, 0.82); color: #fff; font-size: 11px; font-weight: 700; text-align: center; padding: 4px 6px; }
.nwb-pick.is-selected { border-color: #1c1412; box-shadow: 0 0 0 2px #1c1412, 0 10px 24px rgba(28, 20, 18, 0.12); transform: scale(1.03); opacity: 1; filter: none; z-index: 1; }
.nwb-pick.is-selected .nwb-pickcheck { display: grid; }
.nwb-pickgrid.has-selection .nwb-pick:not(.is-selected) { opacity: 0.24; filter: grayscale(0.55); transform: scale(0.96); }
.nwb-pickgrid.has-selection .nwb-pick:not(.is-selected):hover { opacity: 0.5; filter: grayscale(0.2); }
.nwb-pick.is-nopack .nwb-thumb { opacity: 0.75; }
.nwb-uploadbox { border: 1px dashed #d4c0b6; border-radius: 14px; padding: 14px; background: #fffaf8; }
.nwb-uploadbox > p { margin: 0 0 10px; font-size: 13px; color: #3d322e; }
.nwb-field { margin-top: 12px; }
.nwb-field label { display: block; font-size: 12px; color: #7a6a63; font-weight: 600; margin-bottom: 6px; }
.nwb-field textarea { width: 100%; border: 1px solid #e8ddd6; border-radius: 12px; padding: 10px 12px; background: #fff; color: #1c1412; font: inherit; font-size: 13.5px; box-sizing: border-box; resize: vertical; }
.nwb-field textarea:focus { outline: none; border-color: #e8b4a8; box-shadow: 0 0 0 3px rgba(232, 180, 168, 0.25); }
.nwb-genbtn { width: 100%; margin-top: 14px; padding: 12px 16px; }
.nwb-outlabel { font-size: 12px; color: #7a6a63; font-weight: 600; margin-bottom: 6px; }
.nwb-output { min-height: 280px; border: 1px solid #e8ddd6; border-radius: 14px; padding: 14px; background: #fff; line-height: 1.7; font-size: 13.5px; color: #3d322e; }
.nwb-outhead { font-weight: 700; color: #1c1412; margin-bottom: 8px; }
.nwb-packtitle { font-family: Georgia, serif; font-size: 18px; color: #1c1412; margin-bottom: 6px; }
.nwb-packwhy { margin: 0 0 10px; font-size: 12.5px; color: #7a6a63; line-height: 1.6; }
.nwb-pre { white-space: pre-wrap; font-size: 13px; line-height: 1.7; color: #3d322e; overflow-wrap: anywhere; }
.nwb-fold { border-top: 1px dashed #e8ddd6; padding: 8px 0; }
.nwb-fold summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: #1c1412; }
.nwb-fold summary::marker { color: #c4786a; }
.nwb-shots { display: grid; gap: 8px; margin-top: 8px; }
.nwb-shot { display: grid; gap: 2px; border: 1px solid #e8ddd6; border-radius: 10px; padding: 8px 10px; font-size: 12.5px; color: #3d322e; }
.nwb-shot b { color: #1c1412; }
.nwb-empty { padding: 26px 14px; text-align: center; color: #7a6a63; font-size: 13.5px; border: 1px dashed #e8ddd6; border-radius: 14px; background: rgba(255, 255, 255, 0.6); line-height: 1.7; }
.nwb-manual { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px solid #edd9d1; background: #fff8f5; border-radius: 12px; padding: 10px 12px; font-size: 13px; color: #3d322e; }
.nwb-manual .nwb-mini { flex: none; }
.nwb-bignum { font-family: Georgia, serif; font-size: 30px; color: #1c1412; }
.nwb-mutehint { color: #7a6a63; font-size: 12.5px; }
.nwb-quotarow { display: flex; justify-content: space-between; font-size: 12.5px; color: #7a6a63; margin-top: 10px; }
.nwb-bar { height: 8px; border-radius: 999px; background: #f3ebe4; overflow: hidden; margin-top: 6px; }
.nwb-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #e8b4a8, #c4786a); border-radius: inherit; transition: width 0.3s ease; }
.nwb-flowrow { padding: 6px 0; border-bottom: 1px dashed #e8ddd6; font-size: 12.5px; color: #3d322e; }
.nwb-flowrow:last-child { border-bottom: 0; }
.nwb-summary { margin: 0; font-size: 12.5px; color: #3d322e; line-height: 1.7; white-space: pre-line; }
.nwb-histhead { font-weight: 700; font-size: 14px; color: #1c1412; margin: 4px 0 6px; }
.nail-wb-fold summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--nt-ink); }
.nail-wb-fold summary::marker { color: var(--nt-rose); }
.nail-wb-fold__body { margin-top: 10px; }
.nail-acct-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nail-pick-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--nt-line); }
.nail-pick-row:last-child { border-bottom: 0; }
.nail-pick-row img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; flex: none; }
.nail-pick-body { display: grid; gap: 4px; min-width: 0; }
.nail-pick-head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 14px; }
.nail-pick-tag {
  font-size: 11px;
  font-weight: 800;
  background: #f4f1ea;
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--nt-ink);
}
.nail-pick-tag--follow { background: #e3edfa; color: #2c569c; }
.nail-pick-meta { font-size: 12px; color: var(--nt-muted); }
.nail-pick-note { font-size: 13px; }
@media (max-width: 900px) {
  .nail-mem-cards { grid-template-columns: repeat(2, 1fr); }
  .nail-mem-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nail-mem-cards { grid-template-columns: 1fr; }
  .nail-mem-head { flex-direction: column; }
}
.nail-inspiration-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
}
.nail-inspiration-detail__gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  grid-template-rows: repeat(2, minmax(160px, 1fr));
  gap: 2px;
  min-height: 460px;
  background: #f4efe7;
}
.nail-inspiration-detail__image:first-child { grid-row: span 2; }
.nail-inspiration-detail__image { position: relative; overflow: hidden; background: #efe7dc; }
.nail-inspiration-detail__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-inspiration-detail__body { padding: 24px; display: grid; gap: 14px; align-content: start; }
.nail-inspiration-detail__topbar,
.nail-pin-detail__topbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.nail-inspiration-detail__eyebrow { margin: 0; color: var(--nt-rose); font-size: 12px; font-weight: 800; line-height: 1; }
.nail-inspiration-detail__body h3 { margin: 0; color: var(--nt-ink); font-size: 26px; line-height: 1.15; }
.nail-inspiration-detail__summary { margin: 0; color: var(--nt-muted); font-size: 13px; line-height: 1.55; }
.nail-inspiration-detail__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.nail-inspiration-detail__metric { border: 1px solid #e1ece7; border-radius: 8px; background: #f7faf8; padding: 9px; }
.nail-inspiration-detail__metric strong { display: block; color: var(--nt-ink); font-size: 15px; line-height: 1; }
.nail-inspiration-detail__metric span { display: block; margin-top: 5px; color: var(--nt-muted); font-size: 11px; }
.nail-inspiration-detail__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.nail-inspiration-detail__chip {
  border: 1px solid #d8eadf;
  border-radius: 999px;
  background: #f6fbf7;
  color: #2f6f5f;
  font-size: 11px;
  line-height: 1;
  padding: 6px 8px;
}
.nail-inspiration-detail__section {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 11px;
}
.nail-inspiration-detail__section h4 { margin: 0 0 7px; color: var(--nt-ink); font-size: 13px; line-height: 1.25; }
.nail-inspiration-detail__section p { margin: 0; color: #37322c; font-size: 12px; line-height: 1.55; }
.nail-inspiration-detail__actions { display: grid; gap: 10px; }
.nail-saved-drawer[hidden] { display: none; }
.nail-saved-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.nail-saved-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 23, 21, 0.36);
}
.nail-saved-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(440px, 100%);
  height: 100%;
  overflow: auto;
  background: #fffdf9;
  box-shadow: -18px 0 60px rgba(25, 23, 21, 0.18);
  padding: 22px;
}
.nail-saved-drawer__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 14px;
}
.nail-saved-drawer__header p { margin: 0 0 5px; color: var(--nt-mint); font-size: 12px; font-weight: 800; }
.nail-saved-drawer__header h3 { margin: 0; color: var(--nt-ink); font-size: 22px; line-height: 1.2; }
.nail-saved-drawer__close {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 8px 10px;
}
.nail-saved-drawer__toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
  margin-bottom: 12px;
  color: var(--nt-muted);
  font-size: 12px;
}
.nail-saved-drawer__notice {
  margin: 0 0 12px;
  color: var(--nt-muted);
  font-size: 11px;
  line-height: 1.45;
}
.nail-saved-drawer__clear {
  border: 0;
  background: transparent;
  color: var(--nt-rose);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
}
.nail-saved-drawer__empty {
  border: 1px dashed #d7cfc2;
  border-radius: 8px;
  background: #fffaf2;
  color: var(--nt-muted);
  font-size: 13px;
  line-height: 1.55;
  padding: 18px;
}
.nail-saved-drawer__empty[hidden] { display: none; }
.nail-saved-drawer__grid { display: grid; gap: 12px; }
.nail-saved-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
}
.nail-saved-card__media {
  position: relative;
  min-height: 118px;
  border-radius: 7px;
  overflow: hidden;
  background: #f4efe7;
}
.nail-saved-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-saved-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--nt-muted);
  font-size: 12px;
  text-align: center;
}
.nail-saved-card__body { min-width: 0; display: grid; gap: 6px; align-content: start; }
.nail-saved-card__kind { color: var(--nt-mint); font-size: 11px; font-weight: 800; line-height: 1; }
.nail-saved-card__title { margin: 0; color: var(--nt-ink); font-size: 14px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.nail-saved-card__subtitle { margin: 0; color: var(--nt-muted); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.nail-saved-card__actions { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.nail-saved-card__link,
.nail-saved-card__remove {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 8px;
  text-decoration: none;
}
.nail-saved-card__remove { color: var(--nt-rose); }
.nail-trends__controls { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.nail-trends__tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(84px, 1fr));
  gap: 4px;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #f8f3ec;
  padding: 4px;
  margin: 0;
  width: 100%;
}
.nail-trends__tabs--region { grid-template-columns: repeat(3, minmax(74px, 1fr)); }
.nail-trends__tabs--language { grid-template-columns: repeat(4, minmax(72px, 1fr)); }
.nail-trends__tabs--platform { grid-template-columns: repeat(4, minmax(76px, 1fr)); }
.nail-trends__tabs--mode {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  max-width: none;
}
.nail-trends__tabs--board {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 2px 2px 12px;
  margin: 0;
  width: 100%;
}
.nail-trends__tabs--board::-webkit-scrollbar { display: none; }
.nail-trends__tabs--board .nail-trends__tab {
  flex: 0 0 auto;
  min-width: 168px;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  color: var(--nt-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  padding: 0 20px;
  white-space: nowrap;
}
.nail-trends__tabs--board .nail-trends__tab[data-nail-board-mode="post"],
.nail-trends__tabs--board .nail-trends__tab[data-nail-board-mode="post"][aria-selected="true"] {
  background: #d8efe5;
}
.nail-trends__tabs--board .nail-trends__tab[data-nail-board-mode="video"],
.nail-trends__tabs--board .nail-trends__tab[data-nail-board-mode="video"][aria-selected="true"] {
  background: #f5dce4;
}
.nail-trends__tabs--board .nail-trends__tab[data-nail-board-mode="artists"],
.nail-trends__tabs--board .nail-trends__tab[data-nail-board-mode="artists"][aria-selected="true"] {
  background: #e3e8ff;
}
.nail-trends__tab {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--nt-muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
}
.nail-trends__tab[aria-selected="true"] {
  background: #ffffff;
  color: var(--nt-ink);
  box-shadow: 0 1px 4px rgba(25, 23, 21, 0.08);
}
.nail-trends__tabs--board .nail-trends__tab[aria-selected="true"] {
  color: var(--nt-ink);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--nt-ink), 0 8px 18px rgba(25, 23, 21, 0.08);
}
.nail-trends__tab:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
.nail-trends__filters { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.nail-trends__filter {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  padding: 8px 12px;
}
.nail-trends__filter[aria-pressed="true"] { background: var(--nt-ink); border-color: var(--nt-ink); color: #fff; }
.nail-trends__radar-grid[hidden],
.nail-trends__radar-control[hidden],
.nail-artists[hidden],
.nail-styles[hidden] { display: none; }
.nail-styles {
  margin: 0 0 22px;
  padding: 22px 0;
  border-top: 1px solid var(--nt-line);
  border-bottom: 1px solid var(--nt-line);
}
.nail-styles__header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
.nail-styles__header h3 { margin: 0; color: var(--nt-ink); font-size: 22px; line-height: 1.2; }
.nail-styles__header p { margin: 6px 0 0; color: var(--nt-muted); font-size: 13px; line-height: 1.55; }
.nail-styles__badge {
  flex: 0 0 auto;
  border: 1px solid #cfe3dc;
  border-radius: 999px;
  background: #f3faf7;
  color: var(--nt-mint);
  font-size: 11px;
  font-weight: 800;
  padding: 7px 9px;
}
.nail-styles__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}
.nail-style {
  grid-column: span 4;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(25, 23, 21, 0.06);
  min-width: 0;
  overflow: hidden;
}
.nail-style:first-child {
  grid-column: span 8;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  min-height: 360px;
}
.nail-style__media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  min-height: 190px;
  background: #f4efe7;
}
.nail-style:first-child .nail-style__media {
  min-height: 360px;
  height: 100%;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(2, 1fr);
}
.nail-style:first-child .nail-style__thumb:first-child {
  grid-row: span 2;
}
.nail-style__thumb { position: relative; min-height: 94px; overflow: hidden; background: #efe7dc; }
.nail-style:first-child .nail-style__thumb { min-height: 178px; }
.nail-style__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-style__rank {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  background: rgba(26, 23, 20, .86);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
  z-index: 1;
}
.nail-style__body { padding: 14px; display: grid; gap: 10px; align-content: start; }
.nail-style:first-child .nail-style__body { padding: 18px; }
.nail-style__title { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.nail-style__title h4 { margin: 0; color: var(--nt-ink); font-size: 16px; line-height: 1.25; overflow-wrap: anywhere; }
.nail-style:first-child .nail-style__title h4 { font-size: 24px; }
.nail-style__category {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #e5f4f1;
  color: var(--nt-mint);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 7px;
}
.nail-style__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.nail-style__metric { background: #f7faf8; border: 1px solid #e1ece7; border-radius: 7px; padding: 8px; }
.nail-style__metric strong { display: block; font-size: 13px; }
.nail-style__metric span { color: var(--nt-muted); font-size: 10px; }
.nail-style__chips,
.nail-style__keywords { display: flex; flex-wrap: wrap; gap: 5px; }
.nail-style__chip,
.nail-style__keyword {
  border-radius: 999px;
  background: #f3eee6;
  color: var(--nt-muted);
  font-size: 10px;
  line-height: 1;
  padding: 5px 7px;
}
.nail-style__keyword { border: 1px solid #d8eadf; background: #f6fbf7; color: #2f6f5f; }
.nail-style__use { margin: 0; color: #37322c; font-size: 12px; line-height: 1.5; }
.nail-style__details summary {
  display: inline-flex;
  border: 1px solid var(--nt-ink);
  border-radius: 7px;
  background: var(--nt-ink);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  padding: 8px 10px;
}
.nail-style__details summary::-webkit-details-marker { display: none; }
.nail-style__prompt { margin-top: 8px; }
.nail-artists {
  margin: 0 0 22px;
  padding: 0;
}
.nail-artists__header { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.nail-artists__header h3 { margin: 0; color: var(--nt-ink); font-size: 18px; line-height: 1.25; }
.nail-artists__header p { margin: 5px 0 0; color: var(--nt-muted); font-size: 12px; line-height: 1.5; }
.nail-artists__badge {
  flex: 0 0 auto;
  border: 1px solid #d8eadf;
  border-radius: 999px;
  background: #f6fbf7;
  color: #2f6f5f;
  font-size: 11px;
  font-weight: 800;
  padding: 7px 9px;
}
.nail-artists__market-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #f5f0e8;
  padding: 4px;
  margin: 0 0 12px;
}
.nail-artists__market-tab {
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--nt-muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 11px 10px;
}
.nail-artists__market-tab[aria-selected="true"] {
  border-color: var(--nt-line);
  background: #fff;
  color: var(--nt-ink);
  box-shadow: 0 1px 4px rgba(25, 23, 21, 0.08);
}
.nail-artists__controls { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 12px; }
.nail-artists__controls[hidden],
.nail-artists__panel[hidden] { display: none; }
.nail-artists__city {
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}
.nail-artists__city[aria-pressed="true"] { background: var(--nt-ink); border-color: var(--nt-ink); color: #fff; }
.nail-artists__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.nail-artist {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fffdf8;
  cursor: pointer;
  min-width: 0;
  overflow: hidden;
}
.nail-artist[hidden] { display: none; }
.nail-artist__media { position: relative; isolation: isolate; aspect-ratio: 4 / 3; background: #f4efe7; overflow: hidden; }
.nail-artist__media:not(.nail-artist__media--profile)::before {
  content: "\273F" / "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f7ede3 0%, #f4e7ec 48%, #eef1ec 100%);
  color: rgba(194, 65, 101, .26);
  font-size: 2.4rem;
  pointer-events: none;
}
.nail-artist__media img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-artist__media--profile { background: linear-gradient(135deg, #f1f6f3 0%, #f8efe9 100%); }
.nail-artist__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 28px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, .9) 0 8%, transparent 9%),
    radial-gradient(circle at 74% 68%, rgba(255, 255, 255, .72) 0 10%, transparent 11%),
    linear-gradient(135deg, #e8f3ef 0%, #f7e7ee 52%, #f5eadc 100%);
  color: #403a35;
  text-align: center;
}
.nail-artist__placeholder strong { font-size: clamp(28px, 4vw, 48px); line-height: 1; letter-spacing: .04em; }
.nail-artist__placeholder span { font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.nail-artist__rank {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  background: rgba(26, 23, 20, .86);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}
.nail-artist__open {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  background: rgba(25,23,21,.84);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}
.nail-artist__body { padding: 10px; display: grid; gap: 8px; }
.nail-artist__name { color: var(--nt-ink); font-size: 13px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.nail-artist__handle { color: var(--nt-blue); font-size: 12px; font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.nail-artist__handle:hover { text-decoration: underline; }
.nail-artist__meta { display: flex; flex-wrap: wrap; gap: 5px; }
.nail-artist__pill {
  border-radius: 999px;
  background: #f3eee6;
  color: var(--nt-muted);
  font-size: 10px;
  line-height: 1;
  padding: 5px 7px;
}
.nail-artist__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.nail-artist__tag {
  border: 1px solid #eadce1;
  border-radius: 999px;
  background: #fff7fa;
  color: var(--nt-rose);
  font-size: 10px;
  line-height: 1;
  padding: 5px 7px;
}
.nail-artist__caption { margin: 0; color: #37322c; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.nail-artist__source { margin: 0; color: var(--nt-muted); font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.nail-artist__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.nail-artist__button {
  border: 1px solid var(--nt-ink);
  border-radius: 7px;
  background: var(--nt-ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 8px;
  text-decoration: none;
}
.nail-artist__button--ghost { background: #fff; color: var(--nt-ink); }
.nail-artist__button[data-copied="true"] { background: var(--nt-mint); border-color: var(--nt-mint); color: #fff; }
.nail-profile-detail {
  display: grid;
  gap: 24px;
  padding: 26px;
}
.nail-profile-detail__hero {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(360px, 1.18fr);
  gap: 24px;
  align-items: center;
}
.nail-profile-detail__identity {
  display: grid;
  gap: 12px;
  align-content: center;
}
.nail-profile-detail__avatar {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: #f2eee8;
  overflow: hidden;
}
.nail-profile-detail__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-profile-detail__eyebrow { margin: 0; color: var(--nt-muted); font-size: 12px; font-weight: 800; line-height: 1; }
.nail-profile-detail__identity h3 { margin: 0; color: var(--nt-ink); font-size: 28px; line-height: 1.12; }
.nail-profile-detail__handle { color: var(--nt-blue); font-size: 14px; font-weight: 800; text-decoration: none; }
.nail-profile-detail__bio { margin: 0; color: #37322c; font-size: 13px; line-height: 1.55; }
.nail-profile-detail__stats,
.nail-profile-detail__chips,
.nail-profile-post__meta,
.nail-profile-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.nail-profile-detail__stat,
.nail-profile-detail__chip,
.nail-profile-post__metric,
.nail-profile-post__tag {
  border-radius: 999px;
  background: #f4f0ea;
  color: var(--nt-muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 7px 9px;
}
.nail-profile-detail__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.nail-profile-detail__button {
  border: 1px solid var(--nt-ink);
  border-radius: 999px;
  background: var(--nt-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 12px;
  text-decoration: none;
}
.nail-profile-detail__button--ghost { background: #fff; color: var(--nt-ink); }
.nail-profile-detail__cover {
  position: relative;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  background: #f4efe7;
}
.nail-profile-detail__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-profile-detail__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 48%, rgba(25,23,21,.28));
}
.nail-profile-detail__section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--nt-line);
  padding-top: 18px;
}
.nail-profile-detail__section-title h4 { margin: 0; color: var(--nt-ink); font-size: 16px; line-height: 1.2; }
.nail-profile-detail__section-title span { color: var(--nt-muted); font-size: 12px; }
.nail-profile-grid {
  column-count: 4;
  column-gap: 14px;
}
.nail-profile-post {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  margin: 0 0 14px;
  border: 1px solid var(--nt-line);
  border-radius: 10px;
  background: #fffdf8;
  overflow: hidden;
}
.nail-profile-post__media {
  position: relative;
  min-height: 150px;
  background: #f4efe7;
}
.nail-profile-post__media img { width: 100%; display: block; }
.nail-profile-post__type {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 999px;
  background: rgba(25,23,21,.82);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 6px 8px;
}
.nail-profile-post__body { display: grid; gap: 8px; padding: 10px; }
.nail-profile-post__caption {
  margin: 0;
  color: #37322c;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.nail-profile-post__link { color: var(--nt-ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.nail-profile-post__link:hover { text-decoration: underline; }
.nail-ig-profile {
  min-height: 720px;
  background: #0b0f14;
  color: #f5f7f8;
  padding: 30px 0 0;
}
.nail-ig-profile__inner {
  width: min(1480px, calc(100% - 36px));
  margin: 0 auto;
}
.nail-ig-profile__head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 0 0 26px;
}
.nail-ig-profile__avatar {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: #161b22;
  overflow: hidden;
}
.nail-ig-profile__avatar img,
.nail-ig-profile__highlight img,
.nail-ig-profile__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nail-ig-profile__name-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.nail-ig-profile__name-row h3 {
  margin: 0;
  color: #f5f7f8;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
.nail-ig-profile__button {
  border: 0;
  border-radius: 8px;
  background: #262b31;
  color: #f5f7f8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 12px;
  text-decoration: none;
}
.nail-ig-profile__stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  color: #f5f7f8;
  font-size: 14px;
}
.nail-ig-profile__stats strong { font-weight: 900; }
.nail-ig-profile__display-name {
  margin: 0 0 4px;
  color: #f5f7f8;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}
.nail-ig-profile__category,
.nail-ig-profile__bio {
  margin: 0;
  color: #d8dde3;
  font-size: 13px;
  line-height: 1.45;
}
.nail-ig-profile__highlights {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 0 24px;
}
.nail-ig-profile__highlights::-webkit-scrollbar { display: none; }
.nail-ig-profile__highlight {
  flex: 0 0 78px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #f5f7f8;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}
.nail-ig-profile__highlight-image {
  width: 70px;
  height: 70px;
  border: 3px solid #252b33;
  border-radius: 999px;
  background: #161b22;
  overflow: hidden;
  padding: 2px;
}
.nail-ig-profile__highlight-image img { border-radius: 999px; }
.nail-ig-profile__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #252b33;
  color: #8c949e;
}
.nail-ig-profile__tab {
  display: grid;
  place-items: center;
  min-height: 44px;
  font-size: 18px;
}
.nail-ig-profile__tab[aria-selected="true"] {
  color: #f5f7f8;
  box-shadow: inset 0 1px 0 #f5f7f8;
}
.nail-ig-profile__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
}
.nail-ig-profile__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #161b22;
  overflow: hidden;
}
.nail-ig-profile__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,.52);
  opacity: 0;
  transition: opacity .16s ease;
}
.nail-ig-profile__tile:hover::after,
.nail-ig-profile__tile:focus-visible::after,
.nail-ig-profile__tile:hover .nail-ig-profile__tile-stats,
.nail-ig-profile__tile:focus-visible .nail-ig-profile__tile-stats {
  opacity: 1;
}
.nail-ig-profile__tile-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-shadow: 0 1px 5px rgba(0,0,0,.5);
}
.nail-ig-profile__tile-stats {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}
.nail-ig-profile__tile-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.nail-ig-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 26px;
}
.nail-ig-profile__layout--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.nail-ig-profile__aside { position: sticky; top: 14px; }
@media (max-width: 960px) {
  .nail-ig-profile__layout--split { grid-template-columns: minmax(0, 1fr); }
  .nail-ig-profile__aside { position: static; }
}
.nail-ig-hc {
  margin: 0;
  padding: 22px;
  border: 1px solid #ece4d8;
  border-radius: 16px;
  background: #fffdf9;
  display: grid;
  gap: 15px;
}
.nail-ig-hc__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nail-ig-hc__head h4 { margin: 0; font-size: 19px; font-weight: 800; color: var(--nt-ink); }
.nail-ig-hc__total {
  font-size: 14px;
  color: var(--nt-muted);
  background: #f4efe7;
  border-radius: 999px;
  padding: 5px 14px;
}
.nail-ig-hc__total strong { font-size: 24px; color: var(--nt-ink); }
.nail-ig-hc__signature { margin: 0; font-size: 15px; font-weight: 700; color: var(--nt-blue); line-height: 1.6; }
.nail-ig-hc__dims { display: grid; gap: 12px; }
.nail-ig-hc__dim { display: grid; gap: 3px; }
.nail-ig-hc__dim-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.nail-ig-hc__dim-name { font-size: 15px; font-weight: 800; color: var(--nt-ink); }
.nail-ig-hc__dots { font-size: 15px; letter-spacing: 3px; color: var(--nt-mint); white-space: nowrap; }
.nail-ig-hc__note { margin: 0; font-size: 14px; line-height: 1.7; color: #57503f; }
.nail-ig-hc__verdict {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--nt-mint);
  background: #f6f3ec;
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--nt-ink);
  font-weight: 600;
}
.nail-ig-hc__steal h5 { margin: 0 0 6px; font-size: 15px; font-weight: 800; color: var(--nt-ink); }
.nail-ig-hc__steal ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.nail-ig-hc__steal li { font-size: 14px; line-height: 1.7; color: #37322c; }
.nail-ig-hc__watch { margin: 0; font-size: 14px; line-height: 1.7; color: #9a5b2c; }
.nail-ig-hc__disclaimer { margin: 0; font-size: 11px; color: var(--nt-muted); }
a.nail-pain-card { text-decoration: none; color: inherit; }
.nail-coach { margin: 18px 0 26px; padding: 20px; border: 1px solid #e8dfd0; border-radius: 18px; background: #fbf8f1; }
.nail-coach__head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nail-coach__whoami { font-size: 12px; color: var(--nt-muted); }
.nail-coach__auth { margin-top: 14px; padding: 20px; border: 1px solid #ece4d8; border-radius: 14px; background: #fffdf9; }
.nail-coach__auth h4 { margin: 0 0 6px; font-size: 16px; }
.nail-coach__row input[type="email"] { font: inherit; padding: 8px 12px; border: 1px solid #ece4d8; border-radius: 10px; width: 220px; }
.nail-coach__layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: start; margin-top: 14px; }
@media (max-width: 900px) { .nail-coach__layout { grid-template-columns: 1fr; } }
.nail-coach__card { background: #fffdf9; border: 1px solid #ece4d8; border-radius: 14px; padding: 16px; margin-bottom: 14px; }
.nail-coach__card h4 { margin: 6px 0 10px; font-size: 16px; color: var(--nt-ink); }
.nail-coach__tag { display: inline-block; background: var(--nt-mint); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; padding: 2px 10px; }
.nail-coach__drop { border: 2px dashed #ded3bf; border-radius: 12px; padding: 22px; text-align: center; color: var(--nt-muted); cursor: pointer; font-size: 13px; line-height: 1.6; }
.nail-coach__drop.has { border-color: var(--nt-mint); color: var(--nt-ink); }
.nail-coach__drop img { max-width: 200px; max-height: 200px; border-radius: 10px; display: block; margin: 10px auto 0; }
.nail-coach__row { margin-top: 12px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.nail-coach__row input[type="text"] { font: inherit; padding: 8px 12px; border: 1px solid #ece4d8; border-radius: 10px; width: 190px; }
.nail-coach__busy { color: var(--nt-blue); font-weight: 700; }
.nail-coach__error { color: #b23b3b; font-weight: 700; }
.nail-coach__score { font-size: 34px; font-weight: 800; color: var(--nt-ink); }
.nail-coach__score small { font-size: 14px; color: var(--nt-muted); }
.nail-coach__cands { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.nail-coach__cand { border: 1px solid #ece4d8; border-radius: 12px; padding: 12px; background: #fff; font-size: 13px; line-height: 1.6; }
.nail-coach__cand .thumbs { display: flex; gap: 3px; margin-bottom: 8px; }
.nail-coach__cand .thumbs img { width: 33%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.nail-coach__table { width: 100%; border-collapse: collapse; font-size: 13px; }
.nail-coach__table th, .nail-coach__table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #ece4d8; vertical-align: top; line-height: 1.6; }
.nail-coach__table th { color: var(--nt-muted); font-size: 11px; }
.nail-coach__imi { border: 1px solid #ece4d8; border-radius: 12px; background: #fff; margin-bottom: 10px; padding: 10px 12px; }
.nail-coach__imi summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: center; }
.nail-coach__imi summary::-webkit-details-marker { display: none; }
.nail-coach__imi summary img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; flex: none; }
.nail-coach__imi-body { margin-top: 10px; border-top: 1px dashed #ece4d8; padding-top: 8px; font-size: 13px; }
.nail-coach__imi-body blockquote { margin: 6px 0 10px; padding: 9px 11px; background: #faf7f0; border-radius: 10px; line-height: 1.7; white-space: pre-wrap; }
.nail-coach__hint { margin: 4px 0 8px; color: var(--nt-muted); font-size: 12px; }
.nail-coach__rep { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; margin: 0 0 8px; padding: 8px 10px; background: var(--nt-paper); border: 1px solid #ece4d8; border-left: 3px solid #d9cfc0; border-radius: 10px; cursor: pointer; font: inherit; font-size: 12px; line-height: 1.45; color: var(--nt-ink); transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.nail-coach__rep:hover { border-color: #d8c6ab; box-shadow: 0 4px 12px rgba(88, 63, 40, 0.1); transform: translateY(-1px); }
.nail-coach__rep--hc { border-left-color: var(--nt-mint); }
.nail-coach__rep--cmp { border-left-color: var(--nt-blue); }
.nail-coach__rep--imi { border-left-color: #c2703d; }
.nail-coach__rep-ico { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; background: #f7f1e5; border-radius: 8px; font-size: 13px; }
.nail-coach__rep-main { flex: 1 1 auto; min-width: 0; }
.nail-coach__rep-main strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nail-coach__rep-main small { color: #92836c; font-size: 11px; }
.nail-coach__rep-open { flex: 0 0 auto; font-size: 11px; color: var(--nt-blue); border: 1px solid rgba(49, 95, 159, 0.35); border-radius: 999px; padding: 2px 8px; }
.nail-results-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 2px 0 14px;
  color: var(--nt-muted);
  font-size: 13px;
  line-height: 1.5;
}
.nail-results-summary strong { color: var(--nt-ink); }
.nail-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 24px 0 8px;
}
.nail-pagination[hidden], .nail-results-summary[hidden] { display: none !important; }
.nail-pagination__button {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  background: #fff;
  color: var(--nt-ink);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 8px 12px;
}
.nail-pagination__button:hover { border-color: var(--nt-ink); }
.nail-pagination__button[aria-current="page"] {
  border-color: var(--nt-ink);
  background: var(--nt-ink);
  color: #fff;
}
.nail-pagination__button:disabled { cursor: not-allowed; opacity: 0.38; }
.nail-pagination__ellipsis { color: var(--nt-muted); padding: 0 2px; }
.nail-member-content-state {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 30px;
  text-align: center;
  color: var(--nt-muted);
  line-height: 1.7;
}
.nail-trends__grid {
  column-count: 5;
  column-gap: 16px;
}
.nail-card {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  border: 0;
  border-radius: 8px;
  overflow: visible;
  background: transparent;
  min-width: 0;
  margin: 0 0 16px;
}
.nail-card[hidden] { display: none !important; }
/* 本週新內容上鎖（方案 B）：預設 --locked，nail-member.js 對黃金以上移除 */
.nail-card--locked { position: relative; }
.nail-card--locked .nail-card__media img { filter: blur(14px) saturate(0.85); transform: scale(1.08); }
.nail-card--locked .nail-card__body { filter: blur(5px); pointer-events: none; user-select: none; }
.nail-card--locked .nail-save-button { display: none; }
.nail-card__lock { display: none; }
.nail-card--locked .nail-card__lock {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  text-decoration: none;
  color: #2f2a25;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.14) 0%, rgba(255, 253, 249, 0.72) 100%);
  border-radius: 10px;
}
.nail-card__lock-icon { font-size: 26px; line-height: 1; }
.nail-card__lock strong { font-size: 15px; letter-spacing: 0.02em; }
.nail-card__lock small {
  font-size: 12px;
  font-weight: 800;
  color: #315f9f;
  background: #fff;
  border: 1px solid var(--nt-line);
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 4px;
}
.nail-card__media {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: var(--pin-ratio, 0.82);
  border-radius: 8px;
  overflow: hidden;
  background: #f4efe7;
  cursor: pointer;
}
.nail-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.08), transparent 34%, rgba(0,0,0,.12));
  opacity: 0;
  transition: opacity .16s ease;
  pointer-events: none;
}
.nail-card:hover .nail-card__media::after { opacity: 1; }
.nail-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-card__fallback { align-self: end; padding: 16px; }
.nail-card__fallback span { display: block; color: var(--nt-muted); font-size: 12px; margin-bottom: 8px; }
.nail-card__fallback strong { display: block; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.nail-card__body { padding: 8px 2px 4px; display: grid; gap: 4px; align-content: start; }
.nail-card__meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nail-card > .nail-card__body .nail-card__meta { display: none; }
.nail-card__chip {
  border-radius: 999px;
  background: #f3eee6;
  color: var(--nt-muted);
  font-size: 11px;
  line-height: 1;
  padding: 6px 8px;
}
.nail-card__chip--platform { background: #e5f4f1; color: var(--nt-mint); }
.nail-card__chip--region { background: #e9eefb; color: var(--nt-blue); }
.nail-card__chip--language { background: #f0ecfb; color: #6d4aa2; }
.nail-card__chip--topic { background: #fbe8ef; color: var(--nt-rose); }
.nail-card__chip--duration { background: #fdf3e3; color: #a06b1f; }
.nail-card__chip--ctype { background: #eef7e9; color: #4a7c3a; }
.nail-card__keywords { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; }
.nail-card__keyword {
  border: 1px solid #d8eadf;
  border-radius: 999px;
  background: #f6fbf7;
  color: #2f6f5f;
  font-size: 11px;
  line-height: 1;
  padding: 5px 7px;
}
.nail-card__author { font-size: 13px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.nail-card__hint {
  color: var(--nt-muted);
  font-size: 11px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.nail-card__open {
  border: 1px solid var(--nt-ink);
  border-radius: 999px;
  background: var(--nt-ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  justify-self: start;
  line-height: 1;
  padding: 7px 9px;
}
.nail-card > .nail-card__body .nail-card__open { display: none; }
.nail-card__caption { margin: 0; color: #37322c; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.nail-card__angle { margin: 0; color: var(--nt-blue); font-size: 12px; line-height: 1.45; }
.nail-card__metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 8px; }
.nail-card__metric { background: #faf7f1; border-radius: 7px; padding: 8px; }
.nail-card__metric strong { display: block; font-size: 14px; }
.nail-card__metric span { color: var(--nt-muted); font-size: 11px; }
.nail-card__link { color: var(--nt-ink); font-weight: 700; font-size: 13px; text-decoration: none; }
.nail-card__link:hover { text-decoration: underline; }
.nail-card__mode-panel { display: grid; gap: 10px; }
.nail-card__mode-panel[hidden] { display: none; }
.nail-card__focus {
  margin: 0;
  border-left: 3px solid var(--nt-mint);
  background: #f4fbf8;
  border-radius: 7px;
  color: #2f3a35;
  font-size: 12px;
  line-height: 1.55;
  padding: 9px 10px;
}
.nail-card__focus strong { display: block; color: var(--nt-mint); margin-bottom: 3px; }
.nail-card__actions {
  border-top: 1px solid var(--nt-line);
  padding-top: 10px;
}
.nail-card__actions summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  color: var(--nt-ink);
  list-style-position: inside;
}
.nail-card__action-stack { display: grid; gap: 10px; margin-top: 10px; }
.nail-card__action {
  border: 1px solid var(--nt-line);
  border-radius: 8px;
  background: #fffdf8;
  padding: 10px;
}
.nail-card__action h4 {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.3;
}
.nail-card__action ol { margin: 0; padding-left: 18px; color: #37322c; font-size: 12px; line-height: 1.55; }
/* v2 行動包折疊區：預設只開口播稿，其他收合（內容太多一版放不下 2026-07-18） */
.nail-card__fold {
  border: 1px solid var(--nt-line);
  border-radius: 9px;
  background: #fff;
  margin-bottom: 8px;
}
.nail-card__fold > summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  color: #3d372f;
  user-select: none;
}
.nail-card__fold > summary::-webkit-details-marker { display: none; }
.nail-card__fold > summary::before { content: "▸ "; color: var(--nt-muted); }
.nail-card__fold[open] > summary::before { content: "▾ "; }
.nail-card__fold[open] > summary { border-bottom: 1px solid var(--nt-line); }
.nail-card__fold-body { padding: 10px 12px 12px; }
.nail-card__fold-hint { margin: 0 0 8px; font-size: 12px; color: var(--nt-muted); line-height: 1.55; }
/* v2 行動包：時間軸字幕表＋逐鏡直排分鏡卡（表格版在窄彈窗會被切，2026-07-19 改直排） */
.nail-card__subtitles { width: 100%; border-collapse: collapse; font-size: 12.5px; margin-bottom: 8px; }
.nail-card__subtitles td { border-bottom: 1px solid var(--nt-line); padding: 5px 8px; vertical-align: top; }
.nail-card__subtitles td.t { white-space: nowrap; font-weight: 800; color: #a06b1f; }
.nail-card__shots { display: grid; gap: 8px; }
.nail-card__shot { border: 1px solid var(--nt-line); border-radius: 8px; background: #fff; padding: 9px 11px; }
.nail-card__shot-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.nail-card__shot-head .n {
  display: inline-grid;
  place-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2f2a25;
  color: #fffdf9;
  font-size: 11px;
  font-weight: 800;
}
.nail-card__shot-head b { font-size: 13px; color: #a06b1f; }
.nail-card__shot p { margin: 3px 0; font-size: 12.5px; line-height: 1.55; color: #4d453e; overflow-wrap: anywhere; }
.nail-card__shot p b { display: inline-block; min-width: 34px; margin-right: 6px; color: var(--nt-muted); font-size: 11px; font-weight: 800; }
/* IG 式互動數據列（卡面＋詳情） */
.nail-card__stats { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 12px; font-weight: 700; color: #6f6459; }
.nail-card__prompt {
  width: 100%;
  min-height: 142px;
  box-sizing: border-box;
  border: 1px solid var(--nt-line);
  border-radius: 7px;
  background: #ffffff;
  color: #2d2822;
  font: inherit;
  font-size: 12px;
  line-height: 1.55;
  padding: 8px;
  resize: vertical;
}
.nail-card__copy {
  margin-top: 8px;
  border: 1px solid var(--nt-ink);
  border-radius: 7px;
  background: var(--nt-ink);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}
.nail-card__copy[data-copied="true"] { background: var(--nt-mint); border-color: var(--nt-mint); }
.nail-pin-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
}
.nail-pin-detail__media {
  position: sticky;
  top: 0;
  min-height: 560px;
  background: #f4efe7;
  overflow: hidden;
}
.nail-pin-detail__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.nail-pin-detail__media--video { background: #111; }
.nail-pin-detail__player-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #111;
}
.nail-pin-detail__player {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #111;
}
.nail-pin-detail__player-fallback {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.nail-pin-detail__player-fallback a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 12.5px;
  text-decoration: none;
  backdrop-filter: blur(6px);
}
.nail-pin-detail__player-fallback a:hover { background: rgba(0, 0, 0, 0.88); }
.nail-card__media--video { position: relative; }
.nail-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 18px;
  line-height: 46px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.nail-pin-detail__body { padding: 24px; display: grid; gap: 12px; align-content: start; }
.nail-pin-detail__body .nail-card__author { font-size: 18px; }
@media (max-width: 860px) {
  .nail-trends { padding-left: 20px; }
  .nail-pinrail { display: none; }
  .nail-pinbar { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .nail-pinbar__search { grid-column: 1 / -1; }
  .nail-pinbar__saved { min-height: 40px; padding: 0 12px; font-size: 13px; }
  .nail-pinbar__member-zone { padding: 8px 12px; font-size: 13px; }
  .nail-pinbar__member { grid-column: 1 / -1; width: 100%; justify-self: stretch; justify-content: flex-end; }
  .nail-pinbar .nail-pinbar__cta { min-height: 40px; padding: 0 12px; font-size: 13px; }
  .nail-pinbar__member > .nail-pinbar__cta { width: 100%; }
  .nail-student-hero { grid-template-columns: 1fr; }
  .nail-student-hero__stats { width: 100%; max-width: 100%; justify-content: flex-start; }
  .nail-onboarding__head { align-items: start; display: grid; }
  .nail-pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nail-filter-panel__body { grid-template-columns: 1fr; }
  .nail-trends__header { grid-template-columns: 1fr; }
  .nail-trends__stats { justify-content: flex-start; }
  .nail-workbench { grid-template-columns: 1fr; }
  .nail-workbench__panel--intro { position: static; }
  .nail-workbench__styles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nail-inspiration-detail { grid-template-columns: 1fr; }
  .nail-inspiration-detail__gallery { min-height: 360px; }
  .nail-pin-detail { grid-template-columns: 1fr; }
  .nail-pin-detail__media { position: relative; min-height: 420px; }
  .nail-profile-detail__hero { grid-template-columns: 1fr; }
  .nail-profile-detail__cover { min-height: 240px; }
  .nail-profile-grid { column-count: 3; }
  .nail-inspiration-modal[data-nail-modal-kind="profile"] .nail-inspiration-modal__panel { width: min(100%, calc(100vw - 24px)); }
  .nail-ig-profile__head { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; }
  .nail-ig-profile__avatar { width: 92px; height: 92px; }
  .nail-ig-profile__stats { gap: 14px; }
  .nail-ig-profile__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nail-trends__tabs--mode { grid-template-columns: repeat(3, minmax(120px, 1fr)); max-width: none; }
  .nail-trends__tabs--board { gap: 10px; padding-bottom: 10px; }
  .nail-trends__tabs--board .nail-trends__tab { min-width: 142px; min-height: 50px; font-size: 14px; padding: 0 16px; }
  .nail-style,
  .nail-style:first-child { grid-column: 1 / -1; }
  .nail-style:first-child { grid-template-columns: 1fr; }
  .nail-style:first-child .nail-style__media { min-height: 260px; }
  .nail-artists__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nail-trends__grid { column-count: 3; }
}
@media (max-width: 560px) {
  .nail-trends { padding: 0 14px 24px; }
  .nail-trends h2 { font-size: 23px; }
  .nail-pinbar { grid-template-columns: minmax(0, 1fr) auto; }
  .nail-student-hero h2 { font-size: 24px; }
  .nail-pinbar__saved { justify-content: center; }
  .nail-pain-grid { display: flex; max-width: 100%; gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; padding-bottom: 2px; scrollbar-width: none; }
  .nail-pain-grid::-webkit-scrollbar { display: none; }
  .nail-pain-card { flex: 0 0 min(246px, calc(100vw - 44px)); scroll-snap-align: start; }
  .nail-onboarding__steps { flex-wrap: wrap; }
  .nail-style-chip { min-height: 48px; font-size: 13px; }
  .nail-style-chip__thumb { width: 44px; height: 48px; }
  .nail-workbench__headline { font-size: 21px; }
  .nail-workbench__styles-head { display: grid; align-items: start; }
  .nail-workbench__styles { grid-template-columns: 1fr; }
  .nail-workbench__style-actions { justify-content: flex-start; }
  .nail-inspiration-modal { padding: 12px; }
  .nail-inspiration-detail__gallery { min-height: 280px; }
  .nail-inspiration-detail__body { padding: 18px; }
  .nail-inspiration-detail__body h3 { font-size: 22px; }
  .nail-inspiration-detail__metrics { grid-template-columns: 1fr; }
  .nail-saved-drawer__panel { width: 100%; padding: 18px; }
  .nail-saved-card { grid-template-columns: 94px minmax(0, 1fr); }
  .nail-saved-card__media { min-height: 104px; }
  .nail-pin-detail__media { min-height: 320px; }
  .nail-pin-detail__body { padding: 18px; }
  .nail-profile-detail { padding: 18px; }
  .nail-profile-detail__identity h3 { font-size: 23px; }
  .nail-profile-grid { column-count: 2; }
  .nail-ig-profile { padding-top: 20px; }
  .nail-ig-profile__inner { width: min(100% - 20px, 1480px); }
  .nail-ig-profile__head { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
  .nail-ig-profile__avatar { width: 66px; height: 66px; }
  .nail-ig-profile__name-row { margin-bottom: 12px; }
  .nail-ig-profile__name-row h3 { font-size: 17px; }
  .nail-ig-profile__stats { gap: 10px; font-size: 12px; }
  .nail-ig-profile__highlight { flex-basis: 64px; }
  .nail-ig-profile__highlight-image { width: 58px; height: 58px; }
  .nail-ig-profile__tile-stats { gap: 10px; font-size: 13px; }
  .nail-styles__header { display: grid; align-items: start; }
  .nail-styles__grid { grid-template-columns: 1fr; }
  .nail-style:first-child .nail-style__media,
  .nail-style__media { grid-template-columns: repeat(2, 1fr); min-height: 210px; }
  .nail-style:first-child .nail-style__thumb:first-child { grid-row: auto; }
  .nail-artists__header { display: grid; align-items: start; }
  .nail-artists__grid { grid-template-columns: 1fr; }
  .nail-trends__tabs { width: 100%; }
  .nail-trends__grid { column-count: 2; column-gap: 12px; }
  .nail-card { margin-bottom: 12px; }
}