/* 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; }
.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-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; }

.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; }

.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-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);
}
.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; }
.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; }

.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;
}
.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: min(42vh, 360px);
  }

  .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);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.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: #111;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0;
    padding: 0 10px;
  }
  .header-user,
  .login-link { display: none !important; }

  .app-tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 130;
    height: calc(var(--tabbar-h) + var(--safe-bottom));
    padding: 6px 4px 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.62rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    -webkit-tap-highlight-color: transparent;
  }
  .app-tabbar .tab svg {
    width: 22px;
    height: 22px;
    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: min(52vw, 280px);
    object-fit: cover;
  }

  .features,
  .cert,
  .about {
    padding: 28px 16px;
    background: #fff;
    margin-bottom: 10px;
  }
  .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-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;
}
