:root{
  /* Danawa-ish neutral UI */
  --bg:#f3f5f8;
  --panel:#ffffff;
  --panel2:#f8fafc;
  --line:#e5e7eb;
  --text:#111827;
  --muted:#6b7280;

  --brand:#2563eb;   /* 메인 포인트(블루) */
  --brand2:#16a34a;  /* 서브 포인트(그린) */

  --shadow:0 12px 28px rgba(15,23,42,.08);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans KR", sans-serif;
  background: var(--bg);
  color:var(--text);
}
a{color:inherit;text-decoration:none}
a:hover{opacity:.96}
.ncContainer{max-width:1180px;margin:0 auto;padding:0 16px}
.ncPage{padding:18px 0 28px}

/* ===== Top ===== */
.ncTop{
  position:sticky;top:0;z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.ncTopIn{
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;padding:12px 0;
}
.ncTopLeft{display:flex;align-items:center;gap:14px;min-width:240px}
.ncBrand{display:flex;align-items:center;gap:10px;font-weight:950;letter-spacing:.2px}
.ncBrandDot{
  width:10px;height:10px;border-radius:999px;background:var(--brand);
  box-shadow:0 0 0 8px rgba(37,99,235,.12);
}
.ncBrandText{display:inline-flex;align-items:baseline;gap:8px}
.ncBrandSub{font-style:normal;font-weight:900;color:var(--muted);font-size:12px}

.ncGnb{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.ncGnbLink{
  display:inline-flex;align-items:center;justify-content:center;
  height:32px;padding:0 10px;border-radius:999px;
  color:var(--muted);font-weight:950;font-size:13px;
}
.ncGnbLink:hover{background:rgba(15,23,42,.04)}
.ncGnbLink.isActive{color:var(--text);background:rgba(37,99,235,.08)}

.ncTopSearch{
  flex:1;
  display:flex;align-items:center;gap:8px;
  max-width:560px;
  background:#fff;
  border:1px solid #d6dbe5;
  border-radius: 10px;
  padding:8px 10px;
}
.ncTopSearch input{
  flex:1;min-width:180px;
  border:none;outline:none;
  font-size:14px;color:var(--text);
}
.ncTopSearch input::placeholder{color:#9aa3b2}
.ncTopSearch button{
  border:none;cursor:pointer;
  height:32px;padding:0 12px;border-radius:8px;
  background:rgba(37,99,235,.95);
  color:#fff;font-weight:950;font-size:13px;
}

.ncTopRight{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ncNavLink{
  color:var(--muted);font-weight:900;font-size:13px;
  padding:8px 10px;border-radius:999px;
}
.ncNavLink:hover{background:rgba(15,23,42,.04)}
.ncNavBtn{
  display:inline-flex;align-items:center;justify-content:center;
  height:34px;padding:0 12px;border-radius:999px;
  background:linear-gradient(90deg, rgba(37,99,235,.95), rgba(22,163,74,.85));
  font-weight:950;font-size:13px;color:#fff;
  box-shadow:0 10px 20px rgba(37,99,235,.18);
}

/* ===== Hero ===== */
.ncHero{
  border:1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
  position:relative;
  overflow:hidden;
}
.ncHero:before{display:none}
.ncHero:after{display:none}
.ncHeroTop{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap;justify-content:space-between;position:relative;z-index:1}
.ncTitle{margin:0;font-size:22px;font-weight:950}
.ncSub{margin:6px 0 0;color:var(--muted);line-height:1.6}

/* Chips */
.ncChipRow{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.ncChip{
  display:inline-flex;align-items:center;gap:8px;
  padding:6px 10px;border-radius:999px;
  background: rgba(15,23,42,.04);
  border:1px solid var(--line);
  color: var(--muted);
  font-size:12px;font-weight:950;
}
.ncChip b{color:var(--text)}
.ncDivider{border:none;border-top:1px solid var(--line);margin:14px 0}

/* ===== Search ===== */
.ncSearch{
  display:flex;gap:10px;align-items:center;flex-wrap:wrap;
  background:#fff;
  border:1px solid #d6dbe5;
  border-radius: 10px;
  padding:10px 12px;
  box-shadow:none;
}
.ncSearch input{
  flex:1;min-width:220px;
  background:transparent;border:none;outline:none;
  color:var(--text);font-size:14px;
}
.ncSearch input::placeholder{color:#9ca3af}
.ncSearch button{
  border:none;cursor:pointer;
  height:36px;padding:0 14px;border-radius:999px;
  background: rgba(37,99,235,.95);
  color:#fff;font-weight:950;
}

/* Buttons */
.ncBtn{
  display:inline-flex;align-items:center;justify-content:center;
  height:36px;padding:0 12px;border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font-weight:950;font-size:13px;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
}
.ncBtn:hover{background:var(--panel2)}
.ncBtnPrimary{
  background: rgba(22,163,74,.95);
  color:#fff;border-color:rgba(22,163,74,.95);
}

/* ===== Layout ===== */
.ncGrid{
  display:grid;
  grid-template-columns: 1.7fr 1fr;
  gap:14px;
  margin-top:14px;
}
@media (max-width: 980px){ .ncGrid{grid-template-columns:1fr} }

.ncCard{
  border:1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}

.ncSticky{position:sticky;top:88px}
.ncCardTitle{margin:0 0 10px;font-size:16px;font-weight:950}
.ncMuted{color:var(--muted)}
.ncList{list-style:none;margin:0;padding:0}
.ncList li{padding:10px 0;border-bottom:1px solid var(--line)}
.ncList li:last-child{border-bottom:none}

/* ===== Grid cards ===== */
.ncCardGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){ .ncCardGrid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 520px){ .ncCardGrid{grid-template-columns: 1fr;} }

.ncItem{
  border:1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  overflow:hidden;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
}
.ncItem:hover{transform: translateY(-2px); box-shadow:0 16px 32px rgba(15,23,42,.10)}
.ncThumb{
  width:100%;
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, rgba(37,99,235,.16), rgba(22,163,74,.10)),
    rgba(15,23,42,.02);
  display:flex;align-items:center;justify-content:center;
  color:rgba(17,24,39,.55);
  font-weight:950;font-size:12px;
}
.ncItemIn{padding:12px}
.ncItemName{margin:0;font-weight:950;font-size:14px;line-height:1.35}
.ncItemMeta{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.ncItemRow{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}
.ncBadge{
  display:inline-flex;align-items:center;
  padding:4px 10px;border-radius:999px;
  border:1px solid var(--line);
  background: rgba(15,23,42,.03);
  font-size:12px;font-weight:950;color:var(--text);
}
.ncPrice{color:rgba(22,163,74,.95);font-weight:950}

/* ===== Table ===== */
.ncTable{width:100%;border-collapse:collapse}
.ncTable th,.ncTable td{
  text-align:left;
  padding:10px 8px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}
.ncTable th{color:var(--muted);font-size:12px;font-weight:950}
.ncLink{
  display:inline-flex;align-items:center;gap:8px;
  font-weight:950;color:rgba(37,99,235,.95);
}
.ncLink:hover{text-decoration:underline}

/* ===== Footer ===== */
.ncFooter{border-top:1px solid var(--line);padding:18px 0;background:rgba(255,255,255,.7)}
.ncFooterIn{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap}

/* ===== Header responsive ===== */
@media (max-width: 980px){
  .ncTopIn{flex-wrap:wrap;}
  .ncTopLeft{min-width:unset;width:100%;justify-content:space-between}
  .ncGnb{display:none}
  .ncTopSearch{max-width:unset;width:100%}
  .ncTopRight{width:100%;justify-content:flex-end}
}

/* ===== Right Slide Drawer (Admin) ===== */
.rhOverlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.35);
  display:none;
  z-index:9998;
}
.rhOverlay.open{ display:block; }

.rhDrawer{
  position:fixed;
  top:0; right:-820px;
  width:min(820px, 92vw);
  height:100%;
  background:#fff;
  border-left:1px solid #e7e9f0;
  box-shadow: 0 22px 60px rgba(0,0,0,.22);
  z-index:9999;
  transition:right .22s ease;
  overflow:auto;
}
.rhDrawer.open{ right:0; }

.rhDrawerIn{ padding:16px; }
.rhDrawerTop{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  padding:12px 16px;
  border-bottom:1px solid #eef0f6;
  position:sticky; top:0;
  background:#fff;
  z-index:1;
}
.rhDrawerTitle{ font-weight:900; font-size:16px; }
.rhDrawerClose{
  display:inline-flex; align-items:center; justify-content:center;
  height:34px; padding:0 12px;
  border-radius:10px;
  border:1px solid #d9dbe7;
  background:#fff;
  cursor:pointer;
}
.rhDrawerClose:hover{ background:#f3f4f6; }


/* =========================
   INDEX: MAKER MINI GRID
   ========================= */
.ncMakerStrip{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:12px;
  margin-top:14px;
}

.ncMakerGrid{
  display:grid;
  grid-template-columns: repeat(10, 1fr);
  gap:10px;
}
@media (max-width: 1180px){
  .ncMakerGrid{ grid-template-columns: repeat(8, 1fr); }
}
@media (max-width: 980px){
  .ncMakerGrid{ grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 520px){
  .ncMakerGrid{ grid-template-columns: repeat(4, 1fr); }
}

.ncMakerMini{
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:10px 8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  box-shadow:0 8px 18px rgba(15,23,42,.05);
  transition: transform .12s ease, box-shadow .12s ease;
}
.ncMakerMini:hover{
  transform: translateY(-2px);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
}
.ncMakerLogoMini{
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(37,99,235,.12), rgba(22,163,74,.08));
  overflow:hidden;
}
.ncMakerLogoMini img{ width:80%; height:80%; object-fit:contain; }
.ncMakerNameMini{
  font-size:12px;
  font-weight:950;
  color:var(--text);
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  width:100%;
}
.ncMakerCntMini{
  font-size:11px;
  color:var(--muted);
  line-height:1.1;
}





/* =========================
   INDEX: DEALER GRID (HORIZONTAL CARD)
   PC: 4 cols
   Mobile: 2 cols
   ========================= */
.ncDealerGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width: 980px){
  .ncDealerGrid{ grid-template-columns: repeat(1, 1fr); }
}

/* 카드: 좌측 사진 + 우측 정보 */
.ncDealerCard{
  border:1px solid var(--line);
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  transition: transform .12s ease, box-shadow .12s ease;
}
.ncDealerCard:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 32px rgba(15,23,42,.10);
}

/* 내부 레이아웃 */
.ncDealerRowWrap{
  display:flex;
  gap:12px;
  align-items:stretch;
}

/* 왼쪽 사진 */
.ncDealerPhoto{
  flex:0 0 108px;
  width:108px;
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, rgba(37,99,235,.18), rgba(22,163,74,.10)),
    rgba(15,23,42,.02);
  display:flex;align-items:center;justify-content:center;
  color:rgba(17,24,39,.55);
  font-weight:950;font-size:12px;
  overflow:hidden;
}
.ncDealerPhoto img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* 오른쪽 정보 */
.ncDealerIn{
  flex:1;
  padding:12px 12px 12px 0;
  min-width:0;
}
.ncDealerName{
  margin:0;
  font-weight:950;
  font-size:14px;
  line-height:1.3;
}
.ncDealerMeta{
  margin:6px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
}

/* 하단 행 */
.ncDealerActions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  margin-top:10px;
}
.ncDealerTag{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(15,23,42,.03);
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}

/* 버튼: 블루계열 + hover에도 글자 유지 */
.ncDealerBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:32px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid rgba(37,99,235,.95);
  background:#fff;
  color:rgba(37,99,235,.95);
  font-weight:950;
  font-size:12px;
  cursor:pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease, transform .12s ease;
}
.ncDealerBtn:hover{
  background:rgba(37,99,235,.08);
  color:rgba(37,99,235,.95);
  border-color:rgba(37,99,235,.95);
  transform: translateY(-1px);
}

/* 전화 버튼(Primary) */
.ncDealerBtnPrimary{
  background:rgba(37,99,235,.95);
  border-color:rgba(37,99,235,.95);
  color:#fff;
}
.ncDealerBtnPrimary:hover{
  background:rgba(37,99,235,.88);
  border-color:rgba(37,99,235,.88);
  color:#fff; /* ✅ hover에도 글자 안 사라짐 */
}


/* =========================
   MAKER.PHP : Danawa-style model rows
   ========================= */
.ncModelRows{
  margin-top:14px;
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.ncModelRow{
  display:flex;
  gap:14px;
  align-items:stretch;
  padding:16px;
  border-bottom:1px solid var(--line);
}
.ncModelRow:last-child{ border-bottom:none; }

.ncModelCheck{
  flex:0 0 26px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:6px;
}
.ncModelCheck input{
  width:16px;height:16px;
  accent-color: rgba(37,99,235,.95);
}

.ncModelImg{
  flex:0 0 220px;
  width:220px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(37,99,235,.18), rgba(22,163,74,.10)),
    rgba(15,23,42,.02);
  aspect-ratio: 16/9;
  display:flex;align-items:center;justify-content:center;
}
.ncModelImg img{ width:100%; height:100%; object-fit:cover; display:block; }
.ncModelImg .ph{ font-weight:950; color:rgba(17,24,39,.55); font-size:12px; }

.ncModelInfo{
  flex:1;
  min-width:0;
  padding-top:2px;
}
.ncModelTitleRow{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.ncModelTitle{
  margin:0;
  font-size:18px;
  font-weight:950;
  line-height:1.25;
}
.ncBrandMini{
  width:22px;height:22px;border-radius:999px;
  background:rgba(15,23,42,.06);
  border:1px solid var(--line);
  display:inline-flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.ncBrandMini img{ width:70%; height:70%; object-fit:contain; }

.ncModelDesc{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
}
.ncModelDesc a{ color:rgba(37,99,235,.95); font-weight:900; }
.ncModelDesc a:hover{ text-decoration:underline; }

.ncModelRight{
  flex:0 0 240px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  justify-content:center;
  gap:10px;
  padding-left:6px;
}
.ncPriceLine{
  text-align:right;
  font-weight:950;
  color:rgba(37,99,235,.95);
}
.ncPriceLine .label{
  color:var(--muted);
  font-weight:900;
  margin-right:6px;
}
.ncPriceLine .val{
  font-size:18px;
}

.ncCtaCol{
  display:flex;
  flex-direction:column;
  gap:8px;
  width:100%;
}
.ncBtnCta{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:40px;
  border-radius:10px;
  border:1px solid var(--line);
  font-weight:950;
  font-size:13px;
  cursor:pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease, transform .12s ease;
}
.ncBtnCta:hover{ transform: translateY(-1px); }
.ncBtnCtaPrimary{
  background:rgba(37,99,235,.95);
  border-color:rgba(37,99,235,.95);
  color:#fff;
}
.ncBtnCtaPrimary:hover{
  background:rgba(37,99,235,.88);
  border-color:rgba(37,99,235,.88);
  color:#fff;
}
.ncBtnCtaDark{
  background:#374151;
  border-color:#374151;
  color:#fff;
}
.ncBtnCtaDark:hover{
  background:#2f3947;
  border-color:#2f3947;
  color:#fff;
}

.ncModelMetaLine{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}

/* Responsive */
@media (max-width: 980px){
  .ncModelRow{ flex-wrap:wrap; }
  .ncModelImg{ flex:0 0 100%; width:100%; }
  .ncModelRight{ flex:0 0 100%; width:100%; align-items:stretch; }
  .ncPriceLine{ text-align:left; }
}


/* =========================
   MAKER.PHP : Monthly price lines + dealer section
   ========================= */
.ncMonthlyBox{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-end;
}
@media (max-width: 980px){
  .ncMonthlyBox{ align-items:flex-start; }
}

.ncMonthlyLine{
  width:100%;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  align-items:baseline;
  text-align:right;
  font-weight:950;
}
@media (max-width: 980px){
  .ncMonthlyLine{ justify-content:flex-start; text-align:left; }
}

.ncMonthlyLine .k{
  color:var(--muted);
  font-weight:900;
  font-size:12px;
  white-space:nowrap;
}
.ncMonthlyLine .v{
  color:rgba(37,99,235,.95);
  font-size:18px;
  white-space:nowrap;
}
.ncMonthlyLine .sub{
  color:var(--muted);
  font-weight:900;
  font-size:12px;
  margin-left:6px;
  white-space:nowrap;
}

.ncRowNote{
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}

.ncSectionTitle{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}
.ncSectionTitle .t{
  margin:0;
  font-size:16px;
  font-weight:950;
}
.ncSectionTitle .d{
  color:var(--muted);
  font-size:12px;
  font-weight:900;
}



/* =========================
   MODEL.PHP UI
   ========================= */
.ncSection{ margin-top:14px; }
.ncSectionHead{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:10px; flex-wrap:wrap; margin-bottom:10px;
}
.ncSectionHead h2{ margin:0; font-size:16px; font-weight:950; }
.ncSectionHead .muted{ color:var(--muted); font-size:12px; font-weight:900; }

.ncYearBlock{
  border:1px solid var(--line);
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
  margin-top:12px;
}
.ncYearHead{
  padding:14px 16px;
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; flex-wrap:wrap;
  background:rgba(15,23,42,.02);
  border-bottom:1px solid var(--line);
}
.ncYearHead b{ font-size:15px; font-weight:950; }
.ncYearHead .pill{
  font-size:12px; font-weight:950;
  padding:4px 10px; border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
}
.ncTrimList{ padding:10px 12px 6px; }

.ncTrimRow{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:#fff;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
  margin-bottom:10px;
}
.ncTrimTop{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
}
.ncTrimName{ margin:0; font-size:14px; font-weight:950; }
.ncTrimMeta{ margin-top:6px; color:var(--muted); font-size:12px; line-height:1.6; }

.ncTrimRight{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
  justify-content:flex-end;
}
.ncTrimPrice{ font-weight:950; color:rgba(37,99,235,.95); }
.ncTrimBtn{
  height:32px; padding:0 12px; border-radius:10px;
  border:1px solid rgba(37,99,235,.95);
  background:#fff;
  color:rgba(37,99,235,.95);
  font-weight:950; font-size:12px;
  cursor:pointer;
}
.ncTrimBtn:hover{ background:rgba(37,99,235,.08); }

.ncSpecPanel{
  display:none;
  margin-top:10px;
  border-top:1px solid var(--line);
  padding-top:10px;
}
.ncSpecGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
@media (max-width: 980px){ .ncSpecGrid{ grid-template-columns: 1fr; } }

.ncSpecBox{
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  background:rgba(15,23,42,.02);
}
.ncSpecBox h4{ margin:0 0 8px; font-size:13px; font-weight:950; }
.ncSpecItem{
  display:flex; justify-content:space-between; gap:10px;
  padding:6px 0; border-bottom:1px dashed rgba(229,231,235,.9);
  font-size:12px;
}
.ncSpecItem:last-child{ border-bottom:none; }
.ncSpecItem .k{ color:var(--muted); }
.ncSpecItem .v{ font-weight:950; }

.ncInlineClose{
  display:inline-flex; align-items:center; justify-content:center;
  height:30px; padding:0 10px; border-radius:10px;
  border:1px solid var(--line); background:#fff;
  font-weight:950; font-size:12px; cursor:pointer;
}
.ncInlineClose:hover{ background:var(--panel2); }

.ncPhotoGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
@media (max-width: 980px){ .ncPhotoGrid{ grid-template-columns: repeat(2, 1fr); } }

.ncPhotoItem{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.ncPhotoItem img{ width:100%; height:100%; object-fit:cover; display:block; aspect-ratio: 4/3; }

.ncReviewHeadRow{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px; flex-wrap:wrap;
  margin-bottom:10px;
}
.ncStars{ font-weight:950; }
.ncStars .avg{ color:rgba(37,99,235,.95); }

.ncReviewList{ border-top:1px solid var(--line); }
.ncReviewItem{
  padding:10px 0; border-bottom:1px solid var(--line);
}
.ncReviewItem:last-child{ border-bottom:none; }
.ncReviewItem .top{ display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.ncReviewItem .txt{ margin-top:6px; color:var(--muted); font-size:13px; line-height:1.6; }

.ncFormRow{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.ncInput, .ncSelect{
  height:36px; border-radius:10px; border:1px solid var(--line);
  padding:0 10px; background:#fff; outline:none;
}
.ncTextarea{
  width:100%;
  border-radius:12px; border:1px solid var(--line);
  padding:10px; background:#fff; outline:none;
  min-height:72px; resize:vertical;
}
.ncSubmit{
  height:36px; padding:0 14px; border-radius:10px;
  border:1px solid rgba(37,99,235,.95);
  background:rgba(37,99,235,.95);
  color:#fff; font-weight:950; cursor:pointer;
}
.ncSubmit:hover{ background:rgba(37,99,235,.88); }

.ncYoutubeGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){ .ncYoutubeGrid{ grid-template-columns: 1fr; } }

.ncYItem{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.ncYThumb{ aspect-ratio: 16/9; background:rgba(15,23,42,.03); }
.ncYThumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.ncYBody{ padding:10px; }
.ncYTitle{ margin:0; font-weight:950; font-size:13px; line-height:1.4; }
.ncYMeta{ margin-top:6px; color:var(--muted); font-size:12px; }

/* =========================
   Image modal (gallery)
   ========================= */
.ncModal{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
}
.ncModal.open{ display:block; }

.ncModalBg{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
}

.ncModalBox{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.ncModalInner{
  width:min(1100px, 96vw);
  height:min(720px, 86vh);
  background:#0b1220;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  box-shadow:0 22px 80px rgba(0,0,0,.45);
  overflow:hidden;
  position:relative;
  display:flex;
  flex-direction:column;
}

.ncModalTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#fff;
}
.ncModalTitle{
  font-weight:950;
  font-size:13px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ncModalClose{
  height:34px;
  padding:0 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:950;
  cursor:pointer;
}
.ncModalClose:hover{ background:rgba(255,255,255,.10); }

.ncModalStage{
  flex:1;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0b1220;
}
.ncModalStage img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.ncModalNav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-weight:950;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  user-select:none;
}
.ncModalNav:hover{ background:rgba(255,255,255,.10); }
.ncModalPrev{ left:12px; }
.ncModalNext{ right:12px; }

.ncModalBottom{
  padding:10px 14px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.78);
  font-size:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

/* clickable thumbnails */
.ncPhotoItem button{
  border:none;
  background:transparent;
  padding:0;
  margin:0;
  width:100%;
  cursor:pointer;
}

.rhFooterCustom{
  border-top:1px solid var(--line);
  padding:22px 0 26px;
  background:rgba(255,255,255,.78);
}

.rhFooterNotice{
  margin-bottom:14px;
  line-height:1.65;
  font-size:13px;
}

.rhFooterLinks{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-bottom:14px;
}

.rhFooterLinks a{
  color:#334155;
  font-size:14px;
  font-weight:800;
}

.rhFooterLinks a:hover{
  color:rgba(37,99,235,.95);
  text-decoration:underline;
}

.rhBizInfo{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px 18px;
  padding:14px 0;
  border-top:1px solid #e9edf5;
  border-bottom:1px solid #e9edf5;
  color:#64748b;
  font-size:13px;
  line-height:1.7;
}

.rhBizInfo a{
  color:#64748b;
}

.rhBizInfo a:hover{
  color:rgba(37,99,235,.95);
  text-decoration:underline;
}

.rhCopyright{
  padding-top:14px;
  color:#94a3b8;
  font-size:12px;
  font-weight:800;
}

@media (max-width: 820px){
  .rhBizInfo{
    grid-template-columns:1fr;
  }

  .rhFooterLinks{
    gap:8px 14px;
  }
}

@media (max-width: 768px){
  .ncMobileHide{
    display:none !important;
  }
}