/* AVICLE Gwangju — readable, unified PC/Mobile */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable.css");

:root {
  --text: #1a1a1a;
  --text-soft: #444;
  --muted: #6b6b6b;
  --accent: #c62828;
  --blue: #0869e8;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --line: #ececec;
  --header-bg: #ffffff;
  --max: 1200px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --fs-nav: 1.0625rem;      /* 17px */
  --fs-body: 1.0625rem;     /* 17px */
  --fs-sub: 1rem;           /* 16px */
  --fs-title: clamp(1.5rem, 2.2vw + 1rem, 2.25rem);
  --fs-card-title: clamp(1.2rem, 1vw + 1rem, 1.5rem);
  --lh: 1.75;
  --pad-x: clamp(16px, 4vw, 28px);
  --pad-y: clamp(48px, 6vw, 88px);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 450;
  color: var(--text);
  background: var(--bg);
  line-height: var(--lh);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
}
.logo .mobile-only { display: none; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-desktop > li { position: relative; }
.nav-desktop > li > a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: var(--fs-nav);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.nav-desktop > li > a:hover,
.nav-desktop > li > a.active {
  color: var(--accent);
}
.nav-desktop .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  padding: 8px 0;
  border-radius: 10px;
  z-index: 20;
}
.nav-desktop li:hover > .dropdown { display: block; }
.nav-desktop .dropdown a {
  display: block;
  padding: 11px 18px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}
.nav-desktop .dropdown a:hover {
  background: var(--bg-soft);
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.login-link { font-size: 0.9375rem; font-weight: 600; color: var(--text-soft); padding: 10px 12px; }
.header-user {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  padding: 0 6px;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-link,
.admin-nav {
  color: #0869e8 !important;
  font-weight: 800 !important;
}
.menu-btn,
.cart-btn {
  display: none;
  align-items: center;
  background: none;
  border: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 10px 8px;
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.35);
}
.mobile-nav.open { display: block; }

/* Site announcement modal (up to 2, non-overlapping) */
.site-modal-layer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.site-modal-layer.open {
  display: flex;
}
.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}
.site-modal-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 20px;
  width: 100%;
  max-width: min(1120px, 100%);
  max-height: 100%;
  overflow: auto;
  pointer-events: none;
}
.site-modal-item {
  pointer-events: auto;
  flex: 0 1 auto;
  max-width: 100%;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.site-modal-item.is-closing {
  opacity: 0;
  transform: translateY(6px);
}
.site-modal-layer.count-2 .site-modal-item {
  flex: 1 1 320px;
  max-width: min(480px, 100%);
}
.site-modal-layer.count-2 .site-modal-item.is-html {
  max-width: min(520px, 100%);
}
.site-modal-panel {
  position: relative;
  width: min(440px, 100%);
  max-height: min(82vh, 680px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  padding: 22px 22px 18px;
}
.site-modal-layer.count-2 .site-modal-panel {
  width: 100%;
}
.site-modal-item.is-html .site-modal-panel {
  width: min(520px, 100%);
}
.site-modal-layer.count-2 .site-modal-item.is-html .site-modal-panel {
  width: 100%;
}
.site-modal-item.is-coupon .site-modal-panel {
  width: min(420px, 94vw);
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.site-modal-layer.count-2 .site-modal-item.is-coupon .site-modal-panel {
  width: 100%;
}
.site-modal-item.is-coupon .site-modal-body {
  margin: 0;
}
.site-modal-item.is-coupon .site-modal-x {
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.site-modal-item.is-coupon .coupon-actions {
  justify-content: center;
  padding: 0 18px 18px;
  margin-top: -4px;
  background: linear-gradient(180deg, #0b1220 0%, #0a101c 100%);
  border-radius: 0 0 18px 18px;
}
.site-modal-item.is-coupon .coupon-actions .site-modal-btn.ghost {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.12);
}

.coupon-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 28px 22px 22px;
  background:
    radial-gradient(120% 80% at 10% 0%, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(90% 70% at 100% 20%, rgba(99, 102, 241, 0.22), transparent 50%),
    linear-gradient(165deg, #101828 0%, #0b1220 48%, #071018 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(125, 211, 252, 0.18);
}
.coupon-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
  pointer-events: none;
}
.coupon-eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: rgba(165, 243, 252, 0.85);
}
.coupon-title {
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.coupon-sub {
  margin: 8px 0 18px;
  color: rgba(255,255,255,.72);
  font-size: 0.95rem;
  line-height: 1.5;
}
.coupon-ticket {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0;
  margin: 0 auto 18px;
  max-width: 340px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff 0%, #e8f7ff 100%);
  color: #0f172a;
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.2),
    0 12px 28px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.coupon-ticket::before,
.coupon-ticket::after {
  content: "";
  position: absolute;
  left: calc(100% - 92px);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0b1220;
  z-index: 2;
}
.coupon-ticket::before { top: -9px; }
.coupon-ticket::after { bottom: -9px; }
.coupon-ticket-left {
  position: relative;
  padding: 16px 18px;
  text-align: left;
}
.coupon-ticket-left::after {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 0;
  border-right: 2px dashed rgba(14, 165, 233, 0.35);
}
.coupon-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0284c7;
  margin-bottom: 6px;
}
.coupon-benefit {
  display: block;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #0f172a;
}
.coupon-note {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  font-size: 0.72rem;
  font-weight: 700;
}
.coupon-ticket-right {
  width: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 100%);
  color: #fff;
}
.coupon-free {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.coupon-unit {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.92;
}
.coupon-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  padding: 14px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 45%, #818cf8 100%);
  color: #041018 !important;
  font-weight: 900;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.35);
  transition: transform .15s ease, filter .15s ease;
}
.coupon-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.coupon-fine {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,.48);
  line-height: 1.45;
}

.site-modal-item.is-image .site-modal-panel {
  width: min(560px, 94vw);
  padding: 14px 14px 12px;
  background: #111;
  color: #fff;
}
.site-modal-layer.count-2 .site-modal-item.is-image .site-modal-panel {
  width: 100%;
}
.site-modal-x {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  color: #333;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
}
.site-modal-item.is-image .site-modal-x {
  background: rgba(255,255,255,.16);
  color: #fff;
}
.site-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 28px 12px 0;
}
.site-modal-head h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.site-modal-item.is-image .site-modal-head h2 { color: #fff; }
.site-modal-close {
  border: 0;
  background: none;
  color: #888;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  padding: 2px 0;
}
.site-modal-body {
  color: #444;
  line-height: 1.7;
  font-size: 0.98rem;
  white-space: normal;
  margin-bottom: 18px;
}
.site-modal-item.is-html .site-modal-body a { color: #0869e8; font-weight: 700; }
.site-modal-item.is-html .site-modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.site-modal-item.is-image .site-modal-body {
  margin: 0 0 12px;
  line-height: 0;
}
.site-modal-img-link { display: block; }
.site-modal-img {
  display: block;
  width: 100%;
  max-height: min(68vh, 560px);
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}
.site-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.site-modal-btn {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  background: #111;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.site-modal-btn.ghost {
  background: #f3f3f3;
  color: #333;
}
.site-modal-item.is-image .site-modal-btn {
  background: #fff;
  color: #111;
}
.site-modal-item.is-image .site-modal-btn.ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
}
@media (max-width: 640px) {
  .site-modal-layer { padding: 12px; }
  .site-modal-stack { gap: 12px; }
  .site-modal-layer.count-2 .site-modal-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .site-modal-item.is-image .site-modal-panel {
    width: min(100%, 94vw);
    padding: 10px 10px 10px;
  }
  .site-modal-img { max-height: min(52vh, 420px); }
}

.mobile-panel {
  width: min(340px, 88vw);
  height: 100%;
  background: #fff;
  padding: 24px 20px;
  overflow: auto;
}
.mobile-panel .close {
  border: 0;
  background: none;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--muted);
}
.mobile-panel a {
  display: block;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.125rem;
  font-weight: 650;
  color: var(--text);
}
.mobile-panel .sub {
  padding-left: 14px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-soft);
}

.mobile-bar {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  border-top: 1px solid var(--line);
  background: #fff;
  scrollbar-width: none;
}
.mobile-bar::-webkit-scrollbar { display: none; }
.mobile-bar a {
  display: inline-block;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 650;
  color: var(--text);
}

/* ========== Hero ========== */
.hero-pc {
  width: 100%;
  background: #fff;
  overflow: hidden;
}
.hero-pc img {
  width: 100%;
  max-height: min(68vh, 720px);
  object-fit: cover;
  display: block;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  background: #111;
}
.video-wrap iframe,
.video-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-wrap .play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  width: 100%;
  background: rgba(0,0,0,.28);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
}

/* ========== Sections ========== */
.seo-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 5vw, 72px) var(--pad-x);
  background: #fff;
  text-align: center;
}
.seo-intro h1 {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 16px;
  color: var(--text);
  font-size: clamp(1.7rem, 3.5vw, 2.7rem);
  line-height: 1.25;
  letter-spacing: -0.04em;
  text-align: center;
}
.seo-intro p {
  width: 100%;
  max-width: 760px;
  margin: 5px auto;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
  word-break: keep-all;
  text-align: center;
}
.seo-intro-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  margin: 22px auto 0;
}
.seo-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.seo-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  background: transparent;
  padding: 0;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
  flex-shrink: 0;
  overflow: visible;
}
.seo-social-btn img {
  width: 100%;
  height: 100%;
  border-radius: 14%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.seo-social-btn:hover {
  transform: translateY(-1px) scale(1.03);
  opacity: 0.92;
}
@media (min-width: 992px) {
  .seo-social {
    gap: 16px;
  }
  .seo-social-btn {
    width: 72px;
    height: 72px;
  }
  .avicle-footer .footer-social-link img {
    width: 56px;
    height: 56px;
  }
}
.seo-intro-cta {
  display: flex;
  justify-content: center;
}
.seo-intro-btn {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.seo-intro-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.seo-intro-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  max-width: 760px;
  margin: 22px auto 0;
}
.seo-intro-links a {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.seo-intro-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.features,
.cert,
.about {
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg);
  text-align: center;
}
.features { background: var(--bg-soft); }
.cert { background: #fff; }
.about { background: var(--bg-soft); text-align: left; }

/* Homepage review showcase — dark premium strip */
.home-reviews {
  padding: 84px var(--pad-x) 88px;
  background: #0a0b0d;
}
.home-reviews-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.home-reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}
.home-reviews-kicker {
  margin-bottom: 10px;
  color: #6f7d92;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
}
.home-reviews-head h2 {
  margin: 0 0 14px;
  font-size: var(--fs-title);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}
.home-reviews-sub {
  margin: 0;
  color: #9aa3b2;
  font-size: 0.98rem;
  line-height: 1.7;
}
.home-reviews-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.home-reviews-all:hover {
  background: #fff;
  border-color: #fff;
  color: #0a0b0d;
}
.home-review-row {
  margin-bottom: 54px;
}
.home-review-row:last-child {
  margin-bottom: 0;
}
.home-review-row-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.home-review-row-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  min-width: 0;
}
.home-review-row-title h3 {
  margin: 0;
  flex-shrink: 0;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
}
.home-review-row-title p {
  margin: 0;
  color: #8b95a5;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-review-more {
  flex-shrink: 0;
  color: #6f7d92;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}
.home-review-more:hover {
  color: #fff;
}
.home-review-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-review-track::-webkit-scrollbar {
  display: none;
}
.home-review-card {
  position: relative;
  flex: 0 0 300px;
  width: 300px;
  display: block;
  text-decoration: none;
  color: inherit;
  scroll-snap-align: start;
}
.home-review-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #16181c center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.home-review-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.38) 100%);
  opacity: 0.9;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.home-review-card:hover .home-review-thumb {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.home-review-card:hover .home-review-thumb::after {
  opacity: 0.35;
}
.home-review-car {
  display: block;
  margin-top: 12px;
  padding: 0 2px;
  color: #e8eaee;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-review-empty {
  margin: 0;
  padding: 18px 4px;
  color: #6f7d92;
  font-size: 0.9rem;
}

/* 시공후기 라인별 스크롤 모션 (모바일) */
.home-review-row {
  position: relative;
  overflow: hidden;
}
.home-review-fx {
  display: none;
}

@media (max-width: 991px) {
  .home-review-fx {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
  }
  .home-review-fx::before,
  .home-review-fx::after {
    content: "";
    position: absolute;
    opacity: 0;
  }

  /* 설명 아래 구분선을 따라 움직이는 가로 일자 라인 */
  .home-review-row[data-board="rgb"] .home-review-row-head,
  .home-review-row[data-board="se"] .home-review-row-head,
  .home-review-row[data-board="v4"] .home-review-row-head {
    position: relative;
    overflow: hidden;
  }
  .home-review-row[data-board="rgb"] .home-review-row-head::after,
  .home-review-row[data-board="se"] .home-review-row-head::after,
  .home-review-row[data-board="v4"] .home-review-row-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42%;
    height: 2px;
    border-radius: 999px;
    opacity: 0;
    transform: translateX(-110%);
  }
  .home-review-row[data-board="rgb"].is-fx-on .home-review-row-head::after {
    background: linear-gradient(90deg, transparent, #8fd3ff 25%, #fff 55%, #8fd3ff 80%, transparent);
    box-shadow: 0 0 7px #8fd3ff, 0 0 14px rgba(143, 211, 255, 0.65);
    animation: review-divider-run 1.2s ease-out forwards;
  }
  /* SE: 부드러운 파스텔 멀티컬러 */
  .home-review-row[data-board="se"].is-fx-on .home-review-row-head::after {
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff9ecf 16%, #ffd486 38%, #87efd2 62%, #8fc9ff 84%, transparent);
    box-shadow: 0 0 7px rgba(255, 158, 207, 0.8), 0 0 14px rgba(135, 239, 210, 0.55);
    animation: review-divider-run 1.3s ease-out forwards;
  }
  /* V4: 대비가 강한 프리미엄 멀티컬러 */
  .home-review-row[data-board="v4"].is-fx-on .home-review-row-head::after {
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff385c 14%, #ffb000 32%, #52ff7b 50%, #27bfff 68%, #a85cff 86%, transparent);
    box-shadow: 0 0 8px rgba(39, 191, 255, 0.85), 0 0 16px rgba(168, 92, 255, 0.6);
    animation: review-divider-run 1.4s ease-out forwards;
  }

  /* 은하수: 별 촘촘히 반짝임 */
  .home-review-row[data-board="galaxy"] .home-review-fx::before,
  .home-review-row[data-board="galaxy"] .home-review-fx::after {
    inset: 0;
    background-repeat: no-repeat;
    mix-blend-mode: screen;
  }
  .home-review-row[data-board="galaxy"].is-fx-on .home-review-fx::before {
    background-image:
      radial-gradient(1.4px 1.4px at 4% 12%, #fff 55%, transparent 60%),
      radial-gradient(1.1px 1.1px at 9% 38%, #cfe8ff 55%, transparent 60%),
      radial-gradient(1.6px 1.6px at 14% 66%, #fff 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 18% 22%, #ffd7ff 55%, transparent 60%),
      radial-gradient(1px 1px at 22% 78%, #fff 55%, transparent 60%),
      radial-gradient(1.5px 1.5px at 27% 44%, #d7fff0 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 31% 16%, #fff 55%, transparent 60%),
      radial-gradient(1.3px 1.3px at 36% 58%, #e8f0ff 55%, transparent 60%),
      radial-gradient(1.1px 1.1px at 41% 84%, #fff 55%, transparent 60%),
      radial-gradient(1.6px 1.6px at 46% 30%, #ffe9c8 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 51% 62%, #fff 55%, transparent 60%),
      radial-gradient(1px 1px at 55% 18%, #cfe8ff 55%, transparent 60%),
      radial-gradient(1.4px 1.4px at 60% 74%, #fff 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 65% 40%, #ffd7ff 55%, transparent 60%),
      radial-gradient(1.5px 1.5px at 70% 12%, #fff 55%, transparent 60%),
      radial-gradient(1.1px 1.1px at 74% 56%, #d7fff0 55%, transparent 60%),
      radial-gradient(1.3px 1.3px at 79% 82%, #fff 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 84% 28%, #e8f0ff 55%, transparent 60%),
      radial-gradient(1.6px 1.6px at 89% 64%, #fff 55%, transparent 60%),
      radial-gradient(1px 1px at 94% 20%, #ffe9c8 55%, transparent 60%),
      radial-gradient(1.3px 1.3px at 97% 48%, #fff 55%, transparent 60%),
      radial-gradient(1.1px 1.1px at 7% 92%, #cfe8ff 55%, transparent 60%),
      radial-gradient(1.4px 1.4px at 48% 92%, #fff 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 88% 90%, #ffd7ff 55%, transparent 60%);
    animation: review-star-twinkle 2s ease-in-out forwards;
  }
  .home-review-row[data-board="galaxy"].is-fx-on .home-review-fx::after {
    background-image:
      radial-gradient(1.2px 1.2px at 6% 28%, #fff 55%, transparent 60%),
      radial-gradient(1px 1px at 12% 54%, #cfe8ff 55%, transparent 60%),
      radial-gradient(1.5px 1.5px at 17% 8%, #fff 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 24% 70%, #ffd7ff 55%, transparent 60%),
      radial-gradient(1.1px 1.1px at 29% 34%, #fff 55%, transparent 60%),
      radial-gradient(1.4px 1.4px at 34% 88%, #d7fff0 55%, transparent 60%),
      radial-gradient(1px 1px at 39% 48%, #fff 55%, transparent 60%),
      radial-gradient(1.3px 1.3px at 44% 14%, #e8f0ff 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 49% 76%, #fff 55%, transparent 60%),
      radial-gradient(1.5px 1.5px at 53% 36%, #ffe9c8 55%, transparent 60%),
      radial-gradient(1.1px 1.1px at 58% 90%, #fff 55%, transparent 60%),
      radial-gradient(1.3px 1.3px at 63% 24%, #cfe8ff 55%, transparent 60%),
      radial-gradient(1px 1px at 68% 68%, #fff 55%, transparent 60%),
      radial-gradient(1.4px 1.4px at 73% 46%, #ffd7ff 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 78% 6%, #fff 55%, transparent 60%),
      radial-gradient(1.1px 1.1px at 83% 78%, #d7fff0 55%, transparent 60%),
      radial-gradient(1.6px 1.6px at 87% 38%, #fff 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 92% 58%, #e8f0ff 55%, transparent 60%),
      radial-gradient(1px 1px at 96% 14%, #fff 55%, transparent 60%),
      radial-gradient(1.3px 1.3px at 20% 50%, #ffe9c8 55%, transparent 60%),
      radial-gradient(1.2px 1.2px at 56% 52%, #fff 55%, transparent 60%),
      radial-gradient(1.1px 1.1px at 42% 62%, #cfe8ff 55%, transparent 60%);
    animation: review-star-twinkle 2s ease-in-out 0.2s forwards;
  }
  .home-review-row[data-board="galaxy"].is-fx-on .home-review-row-title h3 {
    animation: review-star-title 1.6s ease-out;
  }
}

@keyframes review-divider-run {
  0% { opacity: 0; transform: translateX(-110%); }
  12% { opacity: 1; }
  82% { opacity: 1; }
  100% { opacity: 0; transform: translateX(245%); }
}
@keyframes review-star-twinkle {
  0% { opacity: 0; }
  15% { opacity: 1; }
  30% { opacity: 0.4; }
  45% { opacity: 0.95; }
  60% { opacity: 0.35; }
  75% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes review-star-title {
  0%, 100% { text-shadow: none; }
  30%, 70% { text-shadow: 0 0 8px rgba(255, 255, 255, 0.85), 0 0 20px rgba(180, 210, 255, 0.55); }
}

.features h2,
.cert h2,
.about h2,
.board-page h1,
.contact-wrap h1,
.location h2 {
  margin: 0 0 12px;
  font-size: var(--fs-title);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--text);
}

.features .sub,
.cert .sub,
.board-page .board-sub,
.contact-wrap .sub,
.location .sub,
.about .tag {
  color: var(--muted);
  font-size: var(--fs-sub);
  font-weight: 500;
  line-height: 1.65;
  margin: 0 auto 36px;
  max-width: 40rem;
}

.feature-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  text-align: left;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.feature-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.feature-card .body { padding: 22px 20px 26px; }
.feature-card h3 {
  margin: 0 0 10px;
  font-size: var(--fs-card-title);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.feature-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.cert-hero {
  max-width: 1180px;
  margin: 0 auto 45px;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0,0,0,.08);
}
.cert-hero img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}
.cert-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  text-align: center;
}
.cert-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border: none;
}
.cert-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
}
.cert-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.about .tag { margin: 8px 0 0; max-width: none; }
.about p {
  font-size: 1.0625rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-top: 16px;
  font-weight: 500;
}

/* ========== Product ========== */
.product-hero {
  max-width: 1100px;
  margin: 28px auto;
  padding: clamp(28px, 4vw, 44px);
  background: #111;
  color: #fff;
  border-radius: 24px;
}
.product-hero .badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #008cff;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.product-hero .name {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 0.95;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.product-hero .desc {
  margin-top: 16px;
  font-size: clamp(1.125rem, 1.5vw + 0.8rem, 1.375rem);
  font-weight: 400;
  line-height: 1.55;
}
.product-hero .desc strong { font-weight: 800; }

/* ===== Cupholder option page (HTML text + HQ photos) ===== */
/* ===== No-damage install page ===== */
.nd-page {
  max-width: 980px;
  margin: 0 auto 64px;
  padding: 8px var(--pad-x) 0;
}
.nd-hero {
  margin: 18px 0 28px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 18px;
  background: #151515;
  color: #fff;
}
.nd-kicker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255,255,255,.65);
}
.nd-hero h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.nd-lead {
  margin: 16px 0 0;
  color: rgba(255,255,255,.86);
  line-height: 1.75;
  font-size: 1.05rem;
}
.nd-lead strong { color: #ffe08a; }
.nd-story {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}
.nd-story-block {
  padding: 22px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.nd-story-block.is-warn {
  border-color: #fecaca;
  background: #fffafa;
}
.nd-story-block.is-good {
  border-color: #bfdbfe;
  background: #f8fbff;
}
.nd-story-lead {
  margin: 0;
  color: #222;
  font-size: 1.05rem;
  line-height: 1.85;
}
.nd-story-block h2 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.4;
}
.nd-story-block.is-warn h2 { color: #b91c1c; }
.nd-story-block.is-good h2 { color: #1d4ed8; }
.nd-story-block p {
  margin: 0 0 12px;
  color: #444;
  font-size: 1rem;
  line-height: 1.85;
}
.nd-story-block p:last-child { margin-bottom: 0; }
.nd-harness {
  margin: 0 0 24px;
  padding: 24px 22px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  text-align: center;
}
.nd-harness-top {
  margin-top: 18px;
}
.nd-harness-top .nd-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #64748b;
}
.nd-harness-top h1 {
  margin: 0 0 20px;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.nd-harness h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}
.nd-harness-intro {
  margin: 0 0 16px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}
.nd-harness-list {
  list-style: none;
  margin: 0 auto 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
}
.nd-harness-list li {
  flex: 1 1 140px;
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dbeafe;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e40af;
}
.nd-visual {
  margin: 0 0 28px;
}
.nd-visual figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
}
.nd-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.nd-visual figcaption {
  padding: 14px 16px;
  background: #1a1a1a;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
}
.nd-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 0 36px;
}
.nd-compare article {
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  background: #fff;
}
.nd-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #f3f3f3;
  color: #555;
}
.nd-card.is-option .nd-tag {
  background: #eef4ff;
  color: #1a56c4;
}
.nd-compare h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 800;
}
.nd-compare p {
  margin: 0;
  color: #555;
  line-height: 1.65;
  font-size: 0.95rem;
}
.nd-compare ul {
  margin: 0;
  padding-left: 1.1em;
  color: #444;
  line-height: 1.75;
}
.nd-points h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 800;
}
.nd-explain {
  margin: 0 0 14px;
  color: #444;
  font-size: 1.02rem;
  line-height: 1.8;
  max-width: 46em;
}
.nd-point-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.nd-point-grid article {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.nd-point-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}
.nd-point-grid p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}
.nd-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 36px 0 8px;
}
.nd-cta .btn {
  display: inline-block;
  padding: 14px 22px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
.nd-cta .btn.ghost {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}
@media (max-width: 720px) {
  .nd-compare,
  .nd-point-grid {
    grid-template-columns: 1fr;
  }
  .nd-harness-list li {
    flex: 1 1 100%;
  }
}

/* ===== Option extra (풋등/도어포켓 등) ===== */
.ox-page {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 8px var(--pad-x) 0;
}
.ox-hero {
  margin: 18px 0 32px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 18px;
  background: #151515;
  color: #fff;
}
.ox-kicker {
  margin: 0 0 10px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.7);
  font-weight: 700;
}
.ox-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.ox-lead {
  margin: 14px 0 0;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  font-size: 1.02rem;
}
.ox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.ox-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.ox-media {
  background: #0d0d0d;
  aspect-ratio: 16 / 10;
}
.ox-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ox-body {
  padding: 18px 18px 20px;
}
.ox-num {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #888;
}
.ox-body h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
}
.ox-body p {
  margin: 0;
  color: #555;
  line-height: 1.65;
  font-size: 0.96rem;
}
.ox-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 36px 0 8px;
}
.ox-cta .btn {
  display: inline-block;
  padding: 14px 22px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
.ox-cta .btn.ghost {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}
@media (max-width: 760px) {
  .ox-grid { grid-template-columns: 1fr; }
}

/* ===== Harness pin page ===== */
.hp-page {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 8px var(--pad-x) 0;
}
.hp-hero {
  margin: 18px 0 32px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 18px;
  background: #151515;
  color: #fff;
}
.hp-kicker {
  margin: 0 0 10px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.7);
  font-weight: 700;
}
.hp-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
}
.hp-lead {
  margin: 14px 0 0;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  font-size: 1.02rem;
}
.hp-lead strong { color: #ffe08a; }
.hp-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}
.hp-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.hp-media {
  background: #0d0d0d;
  aspect-ratio: 4 / 5;
}
.hp-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-body {
  padding: 18px 18px 22px;
}
.hp-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #f0f0f0;
  color: #444;
}
.hp-card.is-option .hp-tag {
  background: #eef4ff;
  color: #1a56c4;
}
.hp-body h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 800;
}
.hp-body p {
  margin: 0;
  color: #555;
  line-height: 1.65;
  font-size: 0.96rem;
}
.hp-models {
  margin: 0 0 28px;
  padding: 24px 22px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.hp-models h2 {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 800;
}
.hp-models ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.hp-models li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f7f7f7;
  font-weight: 800;
  font-size: 1.02rem;
}
.hp-models li span {
  font-weight: 600;
  color: #666;
  font-size: 0.92rem;
}
.hp-note {
  margin: 16px 0 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #666;
  line-height: 1.65;
  font-size: 0.92rem;
}
.hp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 8px 0;
}
.hp-cta .btn {
  display: inline-block;
  padding: 14px 22px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
.hp-cta .btn.ghost {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}
@media (max-width: 760px) {
  .hp-compare { grid-template-columns: 1fr; }
  .hp-media { aspect-ratio: 3 / 4; }
  .hp-models ul { grid-template-columns: 1fr; }
}

/* ===== Bluetooth app page (mirrors a-vicle.com/47) ===== */
.bt-page {
  max-width: 920px;
  margin: 0 auto 64px;
  padding: 8px var(--pad-x) 0;
}
.bt-stack {
  display: grid;
  gap: 0;
}
.bt-stack img,
.bt-guide-banner {
  display: block;
  width: 100%;
  height: auto;
}
.bt-guide {
  margin: 36px 0 28px;
  text-align: center;
}
.bt-guide h2 {
  margin: 22px 0 12px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.bt-guide p {
  margin: 0 0 22px;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
}
.bt-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #111;
  border-radius: 12px;
}
.bt-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.bt-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 36px 0 12px;
}
.bt-cta .btn {
  display: inline-block;
  padding: 14px 22px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
.bt-cta .btn.ghost {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}
@media (max-width: 560px) {
  .bt-page { padding-top: 0; }
  .bt-guide { margin: 24px 0 18px; }
}

.ch-page {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 var(--pad-x);
}
.ch-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  margin: 20px 0 40px;
  border-radius: 18px;
  overflow: hidden;
  background: #151515;
  color: #fff;
}
.ch-hero-copy {
  padding: clamp(28px, 4vw, 48px) clamp(22px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ch-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: rgba(255,255,255,.7);
}
.ch-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ch-rule {
  width: 100%;
  height: 2px;
  margin: 14px 0;
  background: linear-gradient(#fff, #fff) center/100% 1px no-repeat,
              linear-gradient(#fff, #fff) center/100% 1px no-repeat;
  background-size: 100% 1px, 100% 1px;
  background-position: center 0, center 100%;
  border-top: 1px solid rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.85);
  opacity: .9;
}
.ch-sub {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
}
.ch-sub em {
  font-style: normal;
  color: #ffe14a;
}
.ch-title {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #ffc5c5;
  line-height: 1.25;
}
.ch-meta {
  margin: 8px 0 0;
  font-size: 0.98rem;
  color: rgba(255,255,255,.88);
}
.ch-meta-types {
  margin-top: 4px;
  font-size: 0.92rem;
}
.ch-meta-types u { text-underline-offset: 3px; }
.ch-hero-media {
  min-height: 280px;
  background: #0b0b0b;
}
.ch-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ch-section {
  margin: 0 0 48px;
}
.ch-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.ch-lead {
  margin: 0 0 22px;
  max-width: 46em;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
}
.ch-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ch-features article {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.ch-features strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}
.ch-features span {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ch-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ch-detail-grid article {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.ch-detail-media {
  background: #f7f7f7;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.ch-detail-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ch-detail-media-diagram {
  background: #8d96a0;
}
.ch-detail-grid h3 {
  margin: 16px 18px 6px;
  font-size: 1.05rem;
  font-weight: 800;
}
.ch-detail-grid p {
  margin: 0 18px 18px;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
.ch-effect {
  margin: 0 0 48px;
  padding: clamp(28px, 4vw, 44px) clamp(18px, 3vw, 32px);
  border-radius: 20px;
  background: #fff8e8;
  color: #3f3428;
}
.ch-effect-title {
  margin: 0 0 22px;
  text-align: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.ch-effect-frame {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
}
.ch-effect-frame img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.ch-vert {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6a5b48;
  text-align: center;
  justify-self: center;
}
.ch-vert-right { transform: none; }
.ch-light-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.ch-light-grid figure {
  margin: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.ch-light-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ch-light-grid figcaption {
  padding: 10px 12px 12px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
}
.ch-qty {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(63,52,40,.18);
}
.ch-qty > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(63,52,40,.18);
}
.ch-pcs {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(63,52,40,.45);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.92rem;
}
.ch-qty p {
  margin: 0;
  line-height: 1.65;
  font-size: 0.95rem;
  color: #4a3e2d;
}
.ch-cta {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.ch-cta h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
}
.ch-cta p {
  margin: 0;
  color: #555;
  line-height: 1.7;
}
.ch-cta ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 16px 0 22px;
  padding: 0;
}
.ch-cta li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: 0.85rem;
  font-weight: 700;
}
.ch-cta .btn {
  display: inline-block;
  padding: 14px 22px;
  background: #111;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
}
.ch-cta img {
  width: 100%;
  display: block;
  border-radius: 14px;
}
@media (max-width: 900px) {
  .ch-hero,
  .ch-cta,
  .ch-features,
  .ch-detail-grid,
  .ch-light-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ch-hero,
  .ch-cta {
    grid-template-columns: 1fr;
  }
  .ch-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ch-features,
  .ch-detail-grid,
  .ch-light-grid,
  .ch-qty > div {
    grid-template-columns: 1fr;
  }
  .ch-effect-frame {
    grid-template-columns: 1fr;
  }
  .ch-vert { display: none; }
}

.option-banner {
  max-width: 920px;
  margin: 0 auto 40px;
  padding: 0 var(--pad-x);
}
.option-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #111;
}
.option-banner-hq {
  max-width: 860px;
}
.option-banner-hq img {
  border-radius: 12px;
  image-rendering: -webkit-optimize-contrast;
  box-shadow: 0 10px 36px rgba(0,0,0,.08);
}
.option-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  max-width: 1100px;
}
.option-hero-split .option-eyebrow {
  margin: 0 0 8px;
  color: #f0c36a;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.option-hero-media {
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0a;
}
.option-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}
.option-block {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px var(--pad-x) 12px;
}
.option-block h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.option-lead {
  margin: 0 0 22px;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 46em;
}
.option-lead strong { color: #111; }
.option-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.option-feature-grid article {
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.option-feature-grid h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}
.option-feature-grid p {
  margin: 0;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.55;
}
.option-block-dark {
  margin-top: 28px;
  padding-top: 40px;
  padding-bottom: 36px;
  background: #111;
  color: #fff;
  max-width: none;
}
.option-block-dark > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.option-block-dark .option-lead { color: #cfcfcf; }
.option-photo {
  margin: 0 0 22px;
  border-radius: 14px;
  overflow: hidden;
}
.option-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.option-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.option-steps li {
  position: relative;
  padding: 16px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
}
.option-detail-grid,
.option-light-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.option-light-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.option-detail-grid article,
.option-light-grid figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.option-detail-grid img,
.option-light-grid img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #f3f3f3;
}
.option-detail-grid h3 {
  margin: 14px 16px 6px;
  font-size: 1rem;
  font-weight: 800;
}
.option-detail-grid p {
  margin: 0 16px 16px;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.55;
}
.option-light-grid figcaption {
  padding: 12px 14px 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}
.option-qty {
  display: grid;
  gap: 12px;
}
.option-qty > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.option-qty strong {
  font-size: 1.05rem;
  font-weight: 800;
}
.option-qty p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}
.option-cta-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}
.option-cta-block img {
  width: 100%;
  border-radius: 14px;
  display: block;
}
.option-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.option-tags li {
  padding: 8px 12px;
  border-radius: 999px;
  background: #f2f2f2;
  font-size: 0.86rem;
  font-weight: 700;
  color: #333;
}
@media (max-width: 900px) {
  .option-hero-split,
  .option-cta-block,
  .option-feature-grid,
  .option-detail-grid,
  .option-light-grid,
  .option-steps {
    grid-template-columns: 1fr 1fr;
  }
  .option-hero-split,
  .option-cta-block {
    grid-template-columns: 1fr;
  }
  .option-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .option-steps {
    grid-template-columns: 1fr 1fr;
  }
  .option-detail-grid img,
  .option-light-grid img { height: 150px; }
}
@media (max-width: 560px) {
  .option-feature-grid,
  .option-detail-grid,
  .option-light-grid,
  .option-steps,
  .option-qty > div {
    grid-template-columns: 1fr;
  }
}

.feature-icons {
  max-width: 1100px;
  margin: 0 auto 36px;
  padding: 0 var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.feature-icons span {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--text);
}

.demo-row {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.demo-row.reverse { direction: rtl; }
.demo-row.reverse > * { direction: ltr; }
.demo-copy { text-align: center; }
.demo-copy .check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 750;
}
.demo-copy .check i {
  width: 28px;
  height: 28px;
  border: 2px solid #e67e22;
  border-radius: 50%;
  color: #e67e22;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
  font-size: 0.875rem;
}
.demo-copy > div:last-child {
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
  color: var(--text-soft);
}

.notice {
  max-width: 1100px;
  margin: 24px auto 72px;
  padding: 40px var(--pad-x) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.notice .l {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #999;
  margin-bottom: 14px;
}
.notice p {
  font-size: clamp(1.0625rem, 1vw + 0.85rem, 1.25rem);
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0;
}

.subtabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 18px var(--pad-x) 0;
}
.subtabs a {
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}
.subtabs a.active {
  background: #111;
  border-color: #111;
  color: #fff;
}

/* ========== Board / Post ========== */
.board-page {
  padding: var(--pad-y) var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  background: #fff;
}
.board-page .board-sub { margin-bottom: 16px; }
.board-search {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
}
.board-search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7f8fa;
  font: inherit;
  font-size: 0.975rem;
}
.board-search input:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}
.board-search-clear {
  flex-shrink: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  color: #555;
  cursor: pointer;
}
.board-search-meta {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.board-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #888;
  padding: 40px 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.board-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  min-width: 0;
}
.board-card .thumb {
  aspect-ratio: 1 / 1;
  background: #f3f3f3 center/cover no-repeat;
  flex-shrink: 0;
}
.board-card .title {
  padding: 12px 12px 14px;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: keep-all;
  overflow-wrap: break-word;
  min-height: calc(1.45em * 2);
  max-height: none;
  height: auto;
}

.post-view {
  max-width: 860px;
  margin: 36px auto 80px;
  padding: 0 var(--pad-x);
}
.post-view h1 {
  font-size: clamp(1.35rem, 1.5vw + 1rem, 1.75rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.post-view .meta {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 28px;
}
.post-view .content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-soft);
  text-align: center;
}
.post-view .content img {
  margin: 16px auto;
  border-radius: 10px;
  width: 100%;
}
.post-view .content .post-cta {
  display: inline-block;
  margin: 8px 0 4px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #111;
  color: #fff !important;
  font-weight: 750;
  text-decoration: none;
}
.post-view .content .post-cta:hover {
  background: #333;
}
.post-view h1 {
  text-align: center;
}
.post-view .meta {
  text-align: center;
}

/* Editorial post prose */
.post-prose {
  text-align: center;
}
.post-prose .lead {
  font-size: 1.125rem;
  font-weight: 650;
  color: #222;
  margin: 0 0 14px;
}
.post-prose p {
  margin: 0 0 14px;
  word-break: keep-all;
}
.post-prose .post-sec,
.post-prose .post-faq,
.post-prose .post-end {
  margin: 28px 0;
  text-align: center;
}
.post-prose h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}
.post-prose .post-list {
  list-style: none;
  margin: 0 auto 18px;
  padding: 14px 18px;
  max-width: 420px;
  background: #f6f7f9;
  border-radius: 14px;
  text-align: left;
}
.post-prose .post-list li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
}
.post-prose .post-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #111;
}
.post-prose .note {
  margin-top: 18px;
  padding: 14px 16px;
  background: #fafafa;
  border-left: 3px solid #111;
  text-align: left;
  font-size: 0.98rem;
  color: #444;
}
.post-prose .post-faq details {
  max-width: 560px;
  margin: 0 auto 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  overflow: hidden;
}
.post-prose .post-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-weight: 700;
  color: #111;
}
.post-prose .post-faq summary::-webkit-details-marker { display: none; }
.post-prose .post-faq details[open] summary {
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}
.post-prose .post-faq details p {
  margin: 0;
  padding: 14px 16px 16px;
  font-size: 0.98rem;
  color: #555;
  text-align: left;
}
.post-prose .sign {
  margin: 18px 0 20px;
  font-weight: 700;
  color: #111;
}
.post-prose .collage {
  margin: 22px auto;
}
@media (max-width: 991px) {
  .post-prose h2 { font-size: 1.08rem; }
  .post-prose .lead { font-size: 1.02rem; }
  .post-prose .post-list { max-width: none; }
}

/* ========== Contact ========== */
.contact-wrap {
  padding: var(--pad-y) var(--pad-x) 28px;
  background: #fff;
}
.contact-head {
  text-align: center;
  max-width: var(--max);
  margin: 0 auto 28px;
}
.contact-head .sub {
  margin-bottom: 0;
}
.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
}
.contact-main {
  min-width: 0;
}
.contact-wrap .sub { text-align: center; }
.contact-card {
  max-width: 720px;
  margin: 0 auto 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
}
.contact-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
}
.contact-card .bar {
  width: 34px;
  height: 2px;
  background: #111;
  margin: 0 auto 18px;
  border-radius: 10px;
}
.contact-card > p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.contact-extra {
  margin-top: 18px;
}
.contact-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}
.contact-link-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.contact-aside {
  display: none;
}
.contact-map-panel {
  background: #111;
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}
.contact-map-panel h3 {
  margin: 0;
  padding: 18px 20px 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.contact-map-panel .map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}
.kakao-roughmap {
  display: block;
  flex-basis: auto !important;
  min-height: 0 !important;
  height: auto !important;
  background: #f9f9f9;
}
.kakao-roughmap-image {
  display: block;
  line-height: 0;
  overflow: hidden;
}
.kakao-roughmap-image > img,
.location-inner .kakao-roughmap .kakao-roughmap-image > img,
.contact-map-panel .kakao-roughmap .kakao-roughmap-image > img {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
}
.kakao-roughmap-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 7px 11px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: #f9f9f9;
  font-size: 0.75rem;
}
.kakao-roughmap-footer a {
  color: #111;
  text-decoration: none;
}
.kakao-roughmap-footer img {
  display: block;
  width: 72px !important;
  height: 16px !important;
  object-fit: contain;
}
.contact-map-meta {
  padding: 16px 20px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}
.contact-map-meta p {
  margin: 0 0 10px;
}
.contact-map-meta strong {
  display: inline-block;
  min-width: 42px;
  color: #fff;
}
.contact-map-meta a {
  color: #f2f2f2;
}
.contact-addr-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.addr-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}
.addr-copy-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}
.addr-copy-btn.is-copied {
  border-color: #7dffa3;
  background: rgba(125, 255, 163, 0.16);
  color: #7dffa3;
}
.contact-map-meta .addr-copy-btn {
  margin-left: 2px;
}
.location-info .addr-copy-btn {
  border-color: rgba(255, 255, 255, 0.35);
}
.contact-map-note {
  margin-top: 12px !important;
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.85rem !important;
}
.tmap-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #3478f6;
  color: #fff !important;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(52, 120, 246, 0.24);
  transition: transform 0.2s ease, background 0.2s ease;
}
.tmap-nav-btn:hover {
  background: #2468e7;
  color: #fff;
  transform: translateY(-1px);
}
.tmap-nav-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #fff;
  color: #3478f6;
  font-size: 0.87rem;
  font-weight: 900;
}
.location-info .tmap-nav-btn {
  max-width: 320px;
  margin-top: 18px;
}
.kakao-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #fee500;
  color: #191600 !important;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(254, 229, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}
.kakao-nav-btn:hover {
  background: #f5dc00;
  color: #191600;
  transform: translateY(-1px);
}
.kakao-nav-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #191600;
  color: #fee500;
  font-size: 0.87rem;
  font-weight: 900;
}
.location-info .kakao-nav-btn {
  max-width: 320px;
}
.info-box {
  max-width: 460px;
  margin: 0 auto 22px;
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  color: var(--text);
}
.info-row:last-child { border-bottom: 0; }
.contact-cta {
  max-width: 720px;
  margin: 0 auto 22px;
}
.cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-row a {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-weight: 750;
  font-size: 1rem;
}
.cta-row a.kakao { background: #fee500; color: #111; }

@media (min-width: 992px) {
  .contact-wrap {
    padding: 52px var(--pad-x) 60px;
    background: linear-gradient(180deg, #fff 0%, #f5f6f8 100%);
  }
  .contact-head {
    margin-bottom: 36px;
  }
  .contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
  .contact-main .contact-cta {
    max-width: none;
    margin: 0 0 18px;
    justify-content: flex-start;
  }
  .contact-main .cta-row a {
    min-width: 160px;
    text-align: center;
    padding: 15px 24px;
  }
  .contact-card {
    max-width: none;
    margin: 0;
    text-align: left;
    padding: 32px 30px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
  }
  .contact-card .bar {
    margin-left: 0;
  }
  .contact-card > p br {
    display: none;
  }
  .contact-card > p {
    max-width: 36rem;
  }
  .info-box {
    max-width: none;
    margin-bottom: 0;
  }
  .contact-aside {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 24px);
  }
  .location-mobile-only {
    display: none;
  }
}

.location {
  background: #111;
  color: #fff;
  padding: var(--pad-y) var(--pad-x);
}
.location h2 { color: #fff; text-align: center; }
.location .sub {
  text-align: center;
  color: rgba(255,255,255,.65);
  margin-bottom: 28px;
}
.location-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.location-inner .map {
  flex: 1 1 420px;
  min-height: 280px;
  background: #222;
  border-radius: 12px;
  overflow: hidden;
}
.location-inner .map iframe,
.location-inner .map img {
  width: 100%;
  height: 300px;
  border: 0;
  object-fit: cover;
}
.location-info { flex: 1 1 300px; }
.location-info h3 {
  font-size: 1.35rem;
  margin: 0 0 16px;
  font-weight: 800;
}
.location-info div {
  font-size: 1rem;
  line-height: 1.9;
  color: #eee;
}

/* ========== Footer ========== */
.avicle-footer {
  background: #111;
  color: #cfcfcf;
  padding: 44px var(--pad-x) 24px;
  font-size: 0.9375rem;
  line-height: 1.7;
}
.avicle-footer-inner { max-width: var(--max); margin: 0 auto; }
.avicle-logo {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.avicle-sub { color: #888; margin-top: 6px; font-size: 0.875rem; }
.avicle-desc { margin: 14px 0; color: #aaa; font-size: 0.9375rem; }
.avicle-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #8f8f8f;
  margin-bottom: 18px;
  font-size: 0.875rem;
}
.avicle-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #222;
  padding-top: 16px;
}
.avicle-links a {
  color: #bbb;
  margin-right: 14px;
  font-size: 0.875rem;
  font-weight: 600;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-social-link {
  display: inline-flex;
  line-height: 0;
  transition: transform 0.2s, opacity 0.2s;
}
.footer-social-link.is-disabled {
  opacity: 0.42;
  cursor: default;
}
.footer-social-link:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}
.footer-social-link.is-disabled:hover {
  transform: none;
  opacity: 0.42;
}
.avicle-footer .footer-social-link img {
  width: 44px;
  height: 44px;
  border-radius: 14%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.footer-legal a {
  margin-right: 14px;
}
.footer-legal a:last-child {
  font-weight: 700;
}
.company-line {
  background: #0a0a0a;
  color: #777;
  font-size: 0.8125rem;
  padding: 14px var(--pad-x) 28px;
  line-height: 1.75;
}
.company-line span { margin-right: 12px; display: inline-block; }

/* ========== Mobile (same language, tighter spacing) ========== */
@media (max-width: 991px) {
  :root {
    --header-h: 60px;
    --fs-nav: 1.0625rem;
    --fs-body: 1.0625rem;
    --fs-sub: 0.975rem;
  }

  .nav-desktop,
  .login-link { display: none; }
  .menu-btn,
  .cart-btn { display: inline-flex; }
  .logo { font-size: 1.0625rem; }
  .logo .desktop-only { display: none; }
  .logo .mobile-only { display: inline; }
  .mobile-bar { display: none; }

  .hero-pc img {
    max-height: none;
    height: auto;
    width: 100%;
    object-fit: contain;
  }

  .feature-card img { height: 190px; }
  .about-inner { grid-template-columns: 1fr; gap: 24px; }
  .demo-row,
  .demo-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    margin-bottom: 40px;
  }
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .board-card .title {
    font-size: 0.88rem;
    padding: 11px 10px 13px;
    line-height: 1.5;
    min-height: calc(1.5em * 2);
    max-height: none;
  }
  .board-search input {
    height: 44px;
    font-size: 0.92rem;
  }
  .product-hero { margin: 16px var(--pad-x); }
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .subtabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 12px var(--pad-x) 0;
  }
  .subtabs a {
    text-align: center;
    padding: 10px 4px;
    font-size: 0.82rem;
    border-radius: 10px;
  }

  .company-line span {
    display: block;
    margin-right: 0;
  }
}

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

/* ========== Buttons / Quote / Auth ========== */
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 0.975rem;
  font-weight: 750;
  border: 0;
  cursor: pointer;
  text-decoration: none;
}
.hm-btn.solid { background: #111; color: #fff; }
.hm-btn.ghost {
  background: #fff;
  color: #111;
  border: 1.5px solid #ddd;
}

.quote-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px var(--pad-x) 80px;
  background: #fff;
}
.quote-page-wide {
  max-width: 1280px;
}
.quote-head {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}
.quote-head h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.quote-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.quote-head-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.quote-user-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.quote-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}
.pager-btn,
.pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 0.9rem;
  background: #fff;
}
.pager-num.active {
  background: #111;
  border-color: #111;
  color: #fff;
  font-weight: 700;
}
.pager-btn.disabled {
  color: #bbb;
  border-color: #eee;
  pointer-events: none;
}
.pager-ellipsis {
  color: #999;
  padding: 0 4px;
}
.quote-footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}
.quote-btn-sm {
  min-height: 40px;
  min-width: auto;
  padding: 0 14px;
  font-size: 0.9rem;
}

/* Auth pages */
.auth-body .site-header { border-bottom: 1px solid var(--line); }
.auth-shell {
  min-height: calc(100vh - var(--header-h) - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px var(--pad-x);
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(8,105,232,.07), transparent 65%),
    #fff;
}
.auth-panel {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(17,17,17,.06);
  padding: 36px 28px 32px;
}
.auth-panel-wide { max-width: 560px; }
.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-logo {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #111;
}
.auth-brand h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.auth-desc {
  margin: 10px 0 0;
  color: #6b6b6b;
  font-size: 0.975rem;
  line-height: 1.55;
}
.auth-form .field { margin-bottom: 14px; }
.username-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.username-row input { flex: 1; min-width: 0; }
.username-check-btn {
  flex-shrink: 0;
  padding: 0 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #f5f5f5;
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}
.username-check-btn:hover { background: #eee; }
.username-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: 0.88rem;
  font-weight: 600;
}
.username-status.is-ok { color: #1b7a3d; }
.username-status.is-bad { color: #c62828; }
.username-status.is-pending { color: #777; }
.auth-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
}
.auth-form .req { color: #c62828; }
.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font: inherit;
  background: #fafafa;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.auth-form input:focus {
  outline: none;
  border-color: #0869e8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8,105,232,.12);
}
.consent-box {
  margin: 18px 0 8px;
  padding: 14px 14px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}
.consent-item {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 6px !important;
  color: #222 !important;
  font-size: 0.94rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  line-height: 1.45;
}
.consent-item input {
  width: auto !important;
  min-height: auto !important;
  margin-top: 3px;
  flex-shrink: 0;
  padding: 0;
  background: transparent;
}
.consent-detail {
  margin: 0 0 14px 26px;
  color: #777;
  font-size: 0.82rem;
  line-height: 1.55;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-ok {
  margin: 0 0 12px;
  color: #1b7a3d;
  font-size: 0.92rem;
  font-weight: 700;
}

/* My page */
.mypage {
  max-width: 1040px;
  margin: 0 auto 72px;
  padding: 12px var(--pad-x) 0;
}
.mypage-hero {
  margin: 18px 0 28px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 18px;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(56,189,248,.22), transparent 55%),
    #111827;
  color: #fff;
}
.mypage-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: rgba(165,243,252,.85);
}
.mypage-hero h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.mypage-lead {
  margin: 10px 0 0;
  color: rgba(255,255,255,.72);
  line-height: 1.6;
}
.mypage-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}
.mypage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 24px;
}
.mypage-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.mypage-card-head h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}
.mypage-id,
.mypage-count {
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
}
.mypage-subhead {
  margin: 22px 0 4px;
  font-size: 1rem;
  font-weight: 800;
}
.mypage-hint {
  margin: 0 0 10px;
  color: #888;
  font-size: 0.86rem;
}
.mypage-form .auth-submit { margin-top: 8px; }
.mypage-withdraw {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.mypage-withdraw-btn {
  margin-top: 8px;
  border: 1px solid #fecaca;
  background: #fff;
  color: #b91c1c;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}
.mypage-withdraw-btn:hover {
  background: #fef2f2;
}
.withdraw-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.45);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.withdraw-modal.open { display: flex; }
.withdraw-modal-panel {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.withdraw-modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  color: #333;
  font-size: 1.2rem;
  cursor: pointer;
}
.withdraw-modal-panel h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 800;
}
.withdraw-lead {
  margin: 0 0 16px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.55;
}
.withdraw-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}
.withdraw-cancel,
.withdraw-submit {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}
.withdraw-cancel {
  background: #f3f3f3;
  color: #333;
}
.withdraw-submit {
  background: #b91c1c;
  color: #fff;
}
.withdraw-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.mypage-empty {
  margin: 8px 0;
  color: #888;
  font-size: 0.95rem;
}
.coupon-list {
  display: grid;
  gap: 12px;
}
.wallet-coupon {
  display: grid;
  grid-template-columns: 1fr auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(14,165,233,.2);
  background: linear-gradient(135deg, #f8fbff, #eaf7ff);
}
.wallet-coupon.is-used {
  opacity: 0.62;
  filter: grayscale(0.35);
}
.wallet-coupon-main {
  padding: 14px 16px;
  text-align: left;
}
.wallet-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0284c7;
  margin-bottom: 4px;
}
.wallet-coupon-main strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.wallet-coupon-main p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
}
.wallet-coupon-side {
  min-width: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 10px;
  background: linear-gradient(180deg, #38bdf8, #0ea5e9);
  color: #fff;
}
.wallet-coupon.is-used .wallet-coupon-side {
  background: linear-gradient(180deg, #94a3b8, #64748b);
}
.wallet-status {
  font-size: 0.78rem;
  font-weight: 800;
}
.wallet-date {
  font-size: 0.72rem;
  opacity: 0.9;
}
@media (max-width: 860px) {
  .mypage-grid { grid-template-columns: 1fr; }
}

.auth-hints {
  margin: 6px 0 0;
  padding: 12px 14px 12px 32px;
  background: #f6f8fb;
  border-radius: 12px;
  color: #555;
  font-size: 0.875rem;
  line-height: 1.6;
}
.auth-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  border: 0;
  border-radius: 12px;
  background: #111;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.auth-submit:hover { background: #0869e8; }
.auth-submit:disabled {
  opacity: .65;
  cursor: default;
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.925rem;
  font-weight: 650;
}
.auth-links a { color: #444; }
.auth-links a:hover { color: #0869e8; }
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .auth-panel { padding: 28px 18px; }
  .auth-links { flex-direction: column; align-items: center; }
}

.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}
.quote-btn { min-width: 110px; }
.quote-user {
  font-weight: 700;
  margin-right: 6px;
  color: var(--text);
}

.quote-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.quote-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.quote-table th,
.quote-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.95rem;
}
.quote-table th {
  background: #f7f7f7;
  font-weight: 700;
  color: #444;
}
.quote-table tr:last-child td { border-bottom: 0; }
.quote-table .quote-clickable-row { cursor: pointer; }
.quote-table .quote-clickable-row:hover { background: #f8fbff; }
.quote-table .quote-clickable-row:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.quote-table .col-title a {
  font-weight: 650;
  color: #111;
}
.quote-table .col-title a:hover { color: var(--blue); }
.col-no, .col-date, .col-status, .col-author, .col-car {
  white-space: nowrap;
}
.col-admin {
  width: 72px;
  text-align: center;
  white-space: nowrap;
}
.quote-card-meta {
  display: none;
}
.quote-empty-row td {
  text-align: center;
  color: #888;
  padding: 40px;
}
.quote-del-btn {
  border: 1px solid #e0b4b4;
  background: #fff5f5;
  color: #b71c1c;
  border-radius: 8px;
  padding: 6px 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.quote-del-btn:hover { background: #ffe8e8; }
.quote-del-action {
  border-color: #e0b4b4 !important;
  color: #b71c1c !important;
}
.reply-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: #eef5ff;
  color: #1a56a8;
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
}
.reply-pill.sm { font-size: 0.72rem; padding: 2px 6px; }
.quote-replies {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.quote-replies h2 {
  font-size: 1.05rem;
  margin: 0 0 14px;
}
.quote-reply-empty {
  color: #888;
  font-size: 0.95rem;
  margin: 0 0 16px;
}
.quote-reply-item {
  background: #f7f9fc;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.quote-reply-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: #666;
}
.quote-reply-meta strong { color: #1a56a8; }
.quote-reply-body {
  line-height: 1.65;
  color: #222;
  white-space: pre-wrap;
}
.quote-reply-form {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}
.quote-reply-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.quote-reply-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font: inherit;
  resize: vertical;
  margin-bottom: 12px;
}
.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #0869e8;
  font-size: 0.8125rem;
  font-weight: 700;
}

.quote-form,
.auth-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 22px;
}
.quote-form { max-width: 720px; }
.quote-form label,
.quote-form legend {
  display: block;
  margin: 16px 0 8px;
  font-weight: 700;
}
.quote-car-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 12px;
}
.quote-car-row > div { min-width: 0; }
.quote-oem {
  margin: 18px 0 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.quote-oem legend {
  padding: 0 6px;
  font-size: 0.95rem;
}
.quote-form .quote-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 18px 6px 0;
  font-weight: 600;
  cursor: pointer;
}
.quote-form .quote-radio input {
  width: auto;
  margin: 0;
}
.car-oem {
  margin-top: 4px;
  color: #777;
  font-size: 0.82rem;
  font-weight: 600;
}
.quote-form label,
.auth-card label {
  display: block;
  margin: 14px 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #444;
}
.quote-form input,
.quote-form textarea,
.auth-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.quote-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px !important;
  font-weight: 600 !important;
  cursor: pointer;
}
.quote-check input {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}
.quote-check em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.85rem;
  color: #777;
  margin-top: 2px;
}
.private-pw-wrap {
  margin-top: 8px;
  padding: 14px 16px;
  background: #f7f7f7;
  border-radius: 10px;
}
.private-pw-wrap label { margin-top: 0 !important; }
.privacy-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f0f0f0;
  color: #555;
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
}
.privacy-pill.sm { font-size: 0.72rem; padding: 2px 6px; }
.quote-body-locked {
  color: #666;
  background: #f7f7f7;
  border: 1px dashed #ddd;
  padding: 28px 20px;
  text-align: center;
}
.quote-unlock-hint {
  font-size: 0.85rem;
  color: #888;
  margin: 8px 0 16px;
}
.quote-unlock {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 320px;
  margin: 0 auto;
}
.quote-unlock input {
  width: 140px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font: inherit;
  text-align: center;
  letter-spacing: 0.1em;
}
.form-err {
  color: #c62828;
  background: #fff0f0;
  padding: 10px 12px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: 0.9rem;
}
.auth-switch {
  text-align: center;
  margin-top: 18px;
  color: #666;
  font-size: 0.95rem;
}
.auth-switch a {
  color: var(--blue);
  font-weight: 700;
}

.quote-detail-top h1 {
  margin: 12px 0 10px;
  font-size: 1.5rem;
  font-weight: 800;
}
.quote-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 24px;
}
.quote-body {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #333;
  white-space: normal;
}

/* Mobile quote board — must stay after .quote-table base rules */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .quote-page { padding: 24px var(--pad-x) 56px; }
  .quote-car-row {
    grid-template-columns: 1fr;
  }
  .quote-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .quote-head-actions {
    width: 100%;
    justify-content: space-between;
  }
  .quote-table-wrap {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .quote-table {
    display: block;
    min-width: 0;
    width: 100%;
  }
  .quote-table thead { display: none; }
  .quote-table tbody { display: block; width: 100%; }
  .quote-table tr {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 10px;
    padding: 14px 16px;
    background: #fff;
  }
  .quote-table tr.quote-empty-row {
    padding: 36px 16px;
    text-align: center;
  }
  .quote-table td {
    display: none;
    border: 0;
    padding: 0;
    white-space: normal;
  }
  .quote-table .col-title {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .quote-table .quote-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 2px;
    font-size: 0.82rem;
    color: #666;
  }
  .quote-table .quote-card-meta .col-no,
  .quote-table .quote-card-meta .col-car,
  .quote-table .quote-card-meta .col-author,
  .quote-table .quote-card-meta .col-date,
  .quote-table .quote-card-meta .col-status {
    display: inline;
    width: auto;
    white-space: nowrap;
  }
  .quote-table .col-admin {
    display: block;
    margin-top: 12px;
    text-align: left;
    width: auto;
  }
  .quote-empty-row td {
    display: block;
  }
}

/* ========== App-like mobile shell ========== */
.app-tabbar {
  display: none;
}

@media (max-width: 991px) {
  :root {
    --header-h: 56px;
    --tabbar-h: 64px;
    --pad-x: 16px;
    --pad-y: 32px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
  }

  html, body {
    overflow-x: hidden;
    max-width: 100%;
    background: #f3f4f6;
  }

  body.has-app-tabbar {
    padding-bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 8px);
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: var(--safe-top);
  }
  .header-inner {
    height: var(--header-h);
    padding: 0 12px 0 8px;
    gap: 8px;
  }
  .menu-btn {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    background: #f4f4f5;
  }
  .logo {
    flex: 1;
    text-align: center;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }
  .header-actions {
    min-width: 44px;
    justify-content: flex-end;
  }
  .cart-btn.header-call {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: #fff;
    color: #111;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0;
  }
  .cart-btn.header-call svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }
  .header-user,
  .login-link { display: none !important; }

  .app-tabbar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    height: calc(var(--tabbar-h) + var(--safe-bottom));
    padding: 6px 2px var(--safe-bottom);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  }
  .app-tabbar .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    color: #8b8f98;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    -webkit-tap-highlight-color: transparent;
  }
  .app-tabbar .tab svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  .app-tabbar .tab.active {
    color: #111;
  }
  .app-tabbar .tab span {
    line-height: 1.15;
    white-space: nowrap;
  }

  .mobile-nav {
    padding-top: var(--safe-top);
  }
  .mobile-panel {
    width: min(360px, 86vw);
    padding: 18px 16px calc(24px + var(--safe-bottom));
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
  }
  .mobile-panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-panel-top strong {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
  }
  .mobile-panel .close {
    margin: 0;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 10px;
    background: #f4f4f5;
  }
  .mobile-panel a {
    padding: 15px 6px;
    font-size: 1.05rem;
  }

  .hero-pc {
    background: #111;
  }
  .hero-pc img {
    max-height: none;
    height: auto;
    width: 100%;
    object-fit: contain;
  }

  .features,
  .cert,
  .about {
    padding: 28px 16px;
    background: #fff;
    margin-bottom: 10px;
  }
  .home-reviews {
    padding: 44px 16px 48px;
    margin-bottom: 10px;
  }
  .home-reviews-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 30px;
  }
  .home-reviews-all {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.82rem;
  }
  .home-review-row {
    margin-bottom: 32px;
  }
  .home-review-row-title {
    flex-direction: column;
    gap: 4px;
  }
  .home-review-row-title h3 {
    font-size: 1.15rem;
  }
  .home-review-row-title p {
    font-size: 0.82rem;
    white-space: normal;
  }
  .home-review-card {
    flex: 0 0 200px;
    width: 200px;
  }
  .home-review-thumb {
    border-radius: 12px;
  }
  .home-review-car {
    margin-top: 8px;
    font-size: 0.86rem;
  }
  .features h2,
  .cert h2,
  .about h2,
  .board-page h1,
  .contact-wrap h1,
  .quote-head h1 {
    font-size: 1.35rem;
    letter-spacing: -0.03em;
  }
  .features .sub,
  .cert .sub,
  .board-page .board-sub,
  .contact-wrap .sub {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ececec;
    background: #fff;
  }
  .feature-card img { height: 110px; object-fit: cover; }
  .feature-card .body { padding: 12px; text-align: left; }
  .feature-card h3 {
    font-size: 0.92rem;
    margin: 0 0 6px;
  }
  .feature-card p {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .cert-card,
  .contact-card,
  .info-box {
    border-radius: 16px;
  }
  .about-inner { gap: 18px; }

  .subtabs {
    position: sticky;
    top: calc(var(--header-h) + var(--safe-top));
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0;
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    gap: 6px;
  }
  .subtabs a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f3f4f6;
    border: 0;
    font-size: 0.8rem;
  }
  .subtabs a.active {
    background: #111;
    color: #fff;
  }

  .board-page,
  .quote-page,
  .post-view,
  .contact-wrap {
    background: #fff;
    margin: 0 0 10px;
    border-radius: 0;
    max-width: none;
  }
  .board-page {
    padding: 18px 12px 28px;
  }
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .board-card {
    border-radius: 14px;
    border: 1px solid #ececec;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  }
  .board-card .thumb {
    aspect-ratio: 1 / 1;
  }
  .board-card .title {
    min-height: calc(1.5em * 2);
    max-height: none;
    padding: 11px 10px 14px;
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .board-search {
    margin-bottom: 12px;
  }
  .post-view h1 {
    font-size: 1.12rem;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .post-view {
    margin: 0 0 10px;
    padding: 18px 16px 32px;
  }
  .post-view .content img {
    border-radius: 12px;
    margin: 12px 0;
  }

  .quote-page { padding: 18px 12px 28px; }
  .quote-head h1 { font-size: 1.35rem; }
  .quote-sub { font-size: 0.88rem; }
  .quote-table tr {
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  }
  .quote-footer-actions {
    position: sticky;
    bottom: calc(var(--tabbar-h) + var(--safe-bottom) + 10px);
    justify-content: stretch;
    margin-top: 16px;
    z-index: 40;
  }
  .quote-footer-actions .hm-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
  }

  .contact-wrap {
    padding: 20px 16px 12px;
  }
  .contact-wrap .sub {
    margin-bottom: 14px;
  }
  .contact-cta {
    margin: 0 0 16px;
    padding: 0;
  }
  .contact-card {
    border: 0;
    background: #f7f8fa;
    padding: 22px 18px;
    margin-bottom: 12px;
  }
  .cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .cta-row a {
    text-align: center;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-weight: 750;
  }
  .location {
    margin-bottom: 10px;
  }
  .location-inner {
    flex-direction: column;
  }
  .location-inner .map iframe,
  .location-inner .map img {
    height: 220px;
    border-radius: 0;
  }

  .product-hero {
    margin: 12px 12px 0;
    border-radius: 16px;
    overflow: hidden;
  }
  .demo-row,
  .demo-row.reverse {
    margin: 0 0 16px;
    padding: 0 12px;
    gap: 12px;
  }

  .avicle-footer {
    padding: 28px 16px 18px;
    margin-bottom: 0;
  }
  .avicle-desc { font-size: 0.84rem; }
  .avicle-info {
    flex-direction: column;
    gap: 4px;
  }
  .company-line {
    display: none;
  }

  .auth-shell {
    min-height: calc(100vh - var(--header-h) - var(--tabbar-h) - var(--safe-top) - var(--safe-bottom));
    padding: 24px 16px;
  }
  .auth-panel {
    box-shadow: none;
    border-radius: 18px;
    padding: 28px 18px;
  }
}



/* naver-collage */
.post-view .content .collage {
  display: grid;
  gap: 6px;
  margin: 16px 0;
  border-radius: 10px;
  overflow: hidden;
}
.post-view .content .collage.cols-2 {
  grid-template-columns: 1fr 1fr;
}
.post-view .content .collage[data-count="2"] .cell:nth-child(1) {
  /* fine */
}
.post-view .content .collage[data-count="3"] .cell:last-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.post-view .content .collage .cell {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}
.post-view .content .collage .cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
}
.post-view .content .single-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ── 이용약관 / 개인정보처리방침 ── */
.policy-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.policy-wrap h1 {
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  font-weight: 900;
  margin: 0 0 6px;
}
.policy-date {
  color: #888;
  font-size: 0.88rem;
  margin: 0 0 36px;
}
.policy-section {
  margin: 0 0 36px;
}
.policy-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #111;
}
.policy-section h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 14px 0 6px;
}
.policy-section p,
.policy-section li {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
}
.policy-section ol,
.policy-section ul {
  padding-left: 1.4em;
  margin: 6px 0;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 0.87rem;
}
.policy-table th,
.policy-table td {
  border: 1px solid #ddd;
  padding: 9px 12px;
  text-align: left;
  line-height: 1.55;
}
.policy-table thead th {
  background: #f5f5f5;
  font-weight: 700;
}
.policy-table tbody th {
  background: #fafafa;
  font-weight: 700;
  width: 120px;
}
.policy-note {
  color: #888;
  font-size: 0.83rem;
  margin-top: 8px;
}
.policy-footer-note {
  margin-top: 48px;
  padding: 18px 20px;
  background: #f9f9f9;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
}
.policy-footer-note p { margin: 0 0 4px; }

/* 전체 동의 / 동의 구분선 */
.consent-all {
  font-size: 1rem !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}
.consent-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 4px 0 12px;
}
.consent-link {
  color: #0869e8;
  text-decoration: underline;
}
.consent-age-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  background: #fff8e1;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #7a5f00;
  line-height: 1.5;
}

/* ========== Welcome ceremony (home) ========== */
html.welcome-lock,
html.welcome-lock body {
  overflow: hidden;
}
.welcome-ceremony {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}
.welcome-ceremony.is-on {
  display: flex;
}
.welcome-ceremony.is-out {
  pointer-events: none;
  animation: welcome-fade-out 0.65s ease forwards;
}

.welcome-brand {
  text-align: center;
  padding: 0 16px;
}
.welcome-mark {
  margin: 0;
  font-family: "Segoe UI", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: clamp(2.6rem, 11vw, 5.2rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  text-indent: 0.22em;
  opacity: 0;
  transform: scale(0.96);
  text-shadow: none;
}
.welcome-ceremony.is-on .welcome-mark {
  animation: welcome-light-on 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.welcome-ambient {
  margin: 20px 0 0;
  font-family: "Segoe UI", "Arial Narrow", "Helvetica Neue", sans-serif;
  font-size: clamp(0.95rem, 3.6vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.55em;
  line-height: 1;
  text-indent: 0.55em;
  opacity: 0;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    #ff4d4d,
    #ff9f1a,
    #ffe566,
    #5dff8a,
    #4dd6ff,
    #7a7cff,
    #ff5cdb,
    #ff4d4d
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 10px rgba(255, 140, 80, 0.35));
}
.welcome-ceremony.is-on .welcome-ambient {
  animation:
    welcome-ambient-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards,
    welcome-rainbow-flow 3.2s linear 0.45s infinite;
}

@keyframes welcome-light-on {
  0% {
    opacity: 0;
    color: rgba(255, 255, 255, 0.04);
    text-shadow: none;
    transform: scale(0.96);
    filter: brightness(0.2);
  }
  35% {
    opacity: 1;
    color: rgba(200, 230, 255, 0.35);
    text-shadow:
      0 0 8px rgba(160, 210, 255, 0.25),
      0 0 24px rgba(120, 180, 255, 0.12);
    filter: brightness(0.6);
  }
  70% {
    color: #f4f8ff;
    text-shadow:
      0 0 10px rgba(255, 255, 255, 0.95),
      0 0 28px rgba(180, 220, 255, 0.85),
      0 0 56px rgba(120, 190, 255, 0.55),
      0 0 90px rgba(90, 160, 255, 0.35);
    filter: brightness(1.15);
    transform: scale(1);
  }
  100% {
    opacity: 1;
    color: #fff;
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.9),
      0 0 22px rgba(170, 215, 255, 0.7),
      0 0 48px rgba(110, 180, 255, 0.4);
    filter: brightness(1);
    transform: scale(1);
  }
}
@keyframes welcome-ambient-in {
  0% {
    opacity: 0;
    transform: scale(0.96);
    filter: drop-shadow(0 0 0 rgba(255, 140, 80, 0)) brightness(0.4);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter:
      drop-shadow(0 0 8px rgba(255, 120, 90, 0.55))
      drop-shadow(0 0 18px rgba(90, 200, 255, 0.45))
      drop-shadow(0 0 28px rgba(180, 90, 255, 0.3))
      brightness(1.08);
  }
}
@keyframes welcome-rainbow-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}
@keyframes welcome-fade-out {
  0% { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-ceremony.is-on .welcome-mark {
    animation: none;
    opacity: 1;
    color: #fff;
    transform: none;
    filter: none;
    text-shadow: 0 0 12px rgba(170, 215, 255, 0.5);
  }
  .welcome-ceremony.is-on .welcome-ambient {
    animation: none;
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 0 10px rgba(255, 140, 80, 0.4));
  }
}
