/* 마가줘누수 */
:root {
  --blue: #2f7cf6;
  --blue-2: #5aa7f5;
  --blue-d: #1f63d6;
  --navy: #0e2340;
  --ink: #1b2430;
  --muted: #6b7686;
  --line: #e4eaf2;
  --bg: #f3f6fa;
  --orange: #ff8a1e;
  --red: #e5484d;
  --max: 1240px;
  --hh: 64px;
  --radius: 14px;
  --font: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  --display: "Black Han Sans", "Noto Sans KR", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 8px); }
body {
  margin: 0;
  padding-top: var(--hh);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.3; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: 0 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 300; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; border-radius: 8px; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.container.narrow { width: min(100% - 32px, 860px); }
.muted { color: var(--muted); }
.mt { margin-top: 12px; }
code { background: #eef2f8; padding: 1px 6px; border-radius: 6px; font-size: .92em; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--hh);
  background: linear-gradient(90deg, #4f9df2, #63acf6);
  color: #fff;
  box-shadow: 0 2px 14px rgba(10, 40, 90, .18);
}
.header-inner {
  height: 100%;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 3px 8px;
  box-shadow: 0 4px 12px rgba(0, 30, 80, .18);
}
.brand img { height: 44px; width: auto; }
.gnb { flex: 1; display: flex; justify-content: center; gap: clamp(18px, 3vw, 40px); }
.gnb a { position: relative; font-size: 15px; font-weight: 500; padding: 20px 0; white-space: nowrap; opacity: .96; }
.gnb a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px; background: #fff; transform: scaleX(0); transition: transform .2s; }
.gnb a:hover::after, .gnb a.is-active::after { transform: scaleX(1); }
.gnb a.is-active { font-weight: 800; }
.auth { display: flex; align-items: center; gap: 8px; font-size: 13.5px; white-space: nowrap; }
.auth span { opacity: .6; }
.auth a:hover { text-decoration: underline; }
.auth-admin { background: rgba(255, 255, 255, .22); padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.m-call, .m-menu { display: none; }
.m-call {
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  align-items: center; justify-content: center;
}
.m-call .ico { width: 20px; height: 20px; }
.m-menu {
  width: 42px; height: 42px;
  border: 0; border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.m-menu span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.m-menu.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.m-menu.is-open span:nth-child(2) { opacity: 0; }
.m-menu.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer-dim { position: absolute; inset: 0; border: 0; background: rgba(5, 15, 30, .5); opacity: 0; transition: opacity .25s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  background: #fff;
  color: var(--ink);
  padding: 18px 18px calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 1;
}
.drawer.is-open .drawer-dim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-top { background: linear-gradient(135deg, #2f7cf6, #5aa7f5); color: #fff; border-radius: 14px; padding: 18px; }
.drawer-top p { margin: 0; }
.drawer-auth { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.drawer-auth a { padding: 8px 14px; border-radius: 8px; background: rgba(255, 255, 255, .2); font-weight: 700; font-size: 14px; }
.drawer-auth a.is-solid { background: #fff; color: var(--blue); }
.drawer-nav { margin-top: 10px; }
.drawer-nav a { display: block; padding: 15px 4px; border-bottom: 1px solid #eef2f7; font-size: 16px; font-weight: 700; }
.drawer-nav a.is-active { color: var(--blue); }
.drawer-call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; height: 52px; border-radius: 12px; background: var(--blue); color: #fff; font-weight: 800; font-size: 17px; }
.drawer-hours { text-align: center; color: var(--muted); font-size: 13px; margin: 8px 0 0; }

/* Toast */
.toasts { position: fixed; top: calc(var(--hh) + 12px); left: 50%; transform: translateX(-50%); z-index: 200; width: min(92vw, 420px); }
.toast {
  background: #1f2937; color: #fff;
  padding: 12px 16px; border-radius: 12px;
  margin-bottom: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  border-left: 4px solid var(--blue-2);
  animation: toastIn .3s ease;
  transition: opacity .4s, transform .4s;
}
.toast-ok { border-left-color: #22c55e; }
.toast-err { border-left-color: var(--red); }
.toast.is-hide { opacity: 0; transform: translateY(-8px); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } }

/* Home background */
body.home { background: #0a1a30; color: #fff; }
body.home::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 16, 32, .62), rgba(6, 16, 32, .86)),
    url("../images/hero-bg.jpg") center / cover no-repeat;
}
.sec { padding: 64px 0; }
.sec-hero { padding: 18px 0 56px; }
.sec-title { margin: 0 0 14px; font-size: clamp(22px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.sec-sub { margin: 0 0 12px; font-size: 15px; opacity: .95; }
.sec-sub b { color: #74c0ff; }
.btn-white {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #222;
  padding: 8px 16px; border-radius: 6px;
  font-weight: 700; font-size: 14px;
  margin-bottom: 22px;
  transition: transform .15s, box-shadow .15s;
}
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }

/* Hero bars */
.callbar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 14px;
  padding: 12px 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(120, 190, 255, .92), rgba(90, 167, 245, .92));
  font-size: clamp(17px, 2.1vw, 26px);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 40, 90, .3);
}
.callbar-label::after { content: " :"; }
.callbar strong { font-weight: 900; letter-spacing: .01em; }
.callbar-hours { font-size: .62em; font-weight: 600; opacity: .95; padding: 2px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); }
.countbar {
  display: block;
  margin: 8px 0 22px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #3a83ea;
  text-align: center;
  font-size: clamp(20px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: 0 10px 28px rgba(0, 40, 100, .35);
  transition: background .2s;
}
.countbar:hover { background: #2f78e0; }
.countbar em { font-style: normal; color: #ffa04a; }

/* Tiles */
.tile-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tile {
  --bd: #fff; --fg: #4fb3ff; --st: #fff6a8;
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border: 8px solid var(--bd);
  border-radius: 8px;
  overflow: hidden;
  background: #10233f;
  container-type: inline-size;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .4); }
.tile-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .4s ease; }
.tile:hover .tile-img { transform: scale(1.05); }
.tile-img.is-empty {
  background:
    radial-gradient(circle at 75% 25%, rgba(90, 170, 255, .45), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(0, 200, 230, .35), transparent 45%),
    url("../images/hero-bg.jpg") center / cover;
}
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .3)); pointer-events: none; }
.tile-badge {
  position: absolute; z-index: 2;
  top: 7%; left: 50%;
  transform: translateX(-50%);
  width: 46%;
  background: #fff;
  border-radius: 10px;
  padding: 2% 3%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}
.tile-badge img { width: 100%; }
.tile-text {
  position: absolute; z-index: 2;
  left: 3%; right: 3%; top: 40%; bottom: 5%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(16px, 2vw, 30px);
  font-size: 12.5cqw;
  line-height: 1.16;
  letter-spacing: -.03em;
  color: var(--fg);
  -webkit-text-stroke: 3px var(--st);
  -webkit-text-stroke: 1.5cqw var(--st);
  paint-order: stroke fill;
  text-shadow: 0 0 3px #071225, 0 2px 0 #071225, 0 3px 8px rgba(0, 0, 0, .55);
}
.tile-text b { font-weight: 400; display: block; max-width: 100%; }
.tile-flag {
  position: absolute; z-index: 3; top: 0; left: 0;
  padding: 3px 8px 4px;
  border-bottom-right-radius: 8px;
  background: var(--bd);
  color: #111;
  font-size: 12px; font-weight: 800;
}
.tile-time {
  position: absolute; z-index: 3; right: 6px; bottom: 4px;
  color: #fff; font-weight: 800; font-size: 13px;
  text-shadow: 0 0 3px #000, 0 0 3px #000;
}
.tone-1 { --bd: #ff8a00; --fg: #ffd23f; --st: #1d3fae; }
.tone-2 { --bd: #ff1f8f; --fg: #7ffcff; --st: #b0124f; }
.tone-3 { --bd: #22e3ff; --fg: #ffffff; --st: #1b4fd8; }
.tone-4 { --bd: #ffe600; --fg: #ff6bb5; --st: #5a1040; }
.tone-5 { --bd: #8cff2e; --fg: #e6ff5c; --st: #4b1fa3; }
.tone-6 { --bd: #ff2b2b; --fg: #ffe14a; --st: #8a1010; }
.tone-7 { --bd: #2ef2ff; --fg: #ffffff; --st: #d6176f; }
.tone-8 { --bd: #f2f4f7; --fg: #8ff0ff; --st: #10308f; }
.tone-9 { --bd: #22ff7a; --fg: #fffa8a; --st: #0f6b3a; }
.tone-10 { --bd: #3346ff; --fg: #ffb36b; --st: #1a2390; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat-tile {
  --lb: #1976d2; --lt: #fff;
  position: relative; display: block;
  aspect-ratio: 1 / 1;
  border-radius: 6px; overflow: hidden;
  background: #10233f;
  transition: transform .2s ease;
}
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile:hover .tile-img { transform: scale(1.06); }
.cat-tile .tile-img { opacity: .9; }
.cat-mark {
  position: absolute; z-index: 1; left: 50%; top: 14%;
  width: 46%; transform: translateX(-50%);
  background: #fff; border-radius: 10px; padding: 4px 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.cat-label {
  position: absolute; left: 7%; right: 7%; bottom: 7%;
  padding: 10px 6px;
  border-radius: 6px;
  background: var(--lb); color: var(--lt);
  text-align: center;
  font-weight: 700; font-size: 15px; line-height: 1.35;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
.cat-label b { display: block; font-size: clamp(14px, 1.4vw, 18px); }
.c1 { --lb: #8e24aa; } .c2 { --lb: #d81b60; } .c3 { --lb: #ff7043; } .c4 { --lb: #0288d1; }
.c5 { --lb: #fdd835; --lt: #222; } .c6 { --lb: #1e74d6; } .c7 { --lb: #37474f; } .c8 { --lb: #388e3c; }
.c9 { --lb: #ffa000; } .c10 { --lb: #fbc02d; --lt: #222; }

/* Review cards */
.review-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rcard {
  display: flex; flex-direction: column;
  background: #fff; color: var(--ink);
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(10, 30, 60, .14);
  transition: transform .2s ease, box-shadow .2s ease;
}
.rcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10, 30, 60, .22); }
.rcard-title { margin: 0 0 6px; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stars { color: #2f7cf6; letter-spacing: 2px; font-size: 15px; }
.stars i { color: #d3dbe6; font-style: normal; }
.rcard-body { display: grid; grid-template-columns: 1fr 46%; gap: 12px; margin-top: 12px; flex: 1; align-items: start; }
.rcard-text {
  font-size: 13.5px; color: #3c4653; line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.rcard-thumb {
  --bd: #ff8a00;
  position: relative; display: block;
  aspect-ratio: 1 / 1;
  border: 6px solid var(--bd);
  border-radius: 8px; overflow: hidden;
  background: #10233f;
  container-type: inline-size;
}
.rcard-thumb em {
  position: absolute; z-index: 3; top: 4px; left: 4px;
  font-style: normal; font-size: 10px; font-weight: 800;
  background: #ffd43b; color: #222;
  padding: 1px 6px; border-radius: 4px;
}
.rcard-thumb .tile-badge { top: 16%; width: 52%; }
.rcard-thumb .tile-text { top: 46%; font-size: 15cqw; -webkit-text-stroke: 2.4cqw var(--st); }
.rcard-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.rcard-more { color: var(--blue); font-weight: 700; }

/* Empty */
.empty {
  text-align: center;
  padding: 40px 20px;
  border-radius: 14px;
  border: 1.5px dashed rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06);
}
.empty strong { display: block; font-size: 18px; margin-bottom: 6px; }
.empty p { margin: 0 0 16px; opacity: .85; }
body.sub .empty { background: #fff; border-color: #cdd8e6; color: var(--ink); }
.empty.big h1 { font-size: 64px; margin: 0; color: var(--blue); }

/* CTA area */
.promise p {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 4px 40px;
  margin: 0 auto 12px;
  max-width: 1040px;
  padding: 13px 20px;
  border-radius: 6px;
  font-size: clamp(15px, 1.9vw, 22px);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.promise b { font-weight: 900; }
.p-red { background: #ef4444; }
.p-yellow { background: #fcc419; color: #1d1d1d; }
.p-green { background: #20b26b; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1040px; margin: 56px auto 0; }
.help-card {
  min-height: 250px;
  border-radius: 8px;
  padding: 36px 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35);
}
.help-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 24px; font-weight: 800; }
.help-card p { margin: 0 0 22px; font-size: 15.5px; opacity: .95; }
.help-card .btn-white { margin: 0; color: var(--blue); }
.help-form { background: linear-gradient(135deg, rgba(20, 70, 140, .92), rgba(10, 30, 60, .9)), url("../images/hero-bg.jpg") left / cover; }
.help-call { background: linear-gradient(135deg, rgba(10, 30, 60, .9), rgba(30, 110, 200, .9)), url("../images/hero-bg.jpg") right / cover; }

/* Dots */
.dots { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; }
.dots a { position: relative; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .75); transition: transform .2s, background .2s; }
.dots a.is-active { background: #4ea0ff; transform: scale(1.35); }
.dots span {
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; font-size: 12px; font-weight: 700;
  background: #fff; color: var(--ink);
  padding: 3px 9px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dots a:hover span { opacity: 1; }

/* Notice & footer */
.notice-bar { background: rgba(60, 64, 70, .9); color: #fff; text-align: center; font-weight: 600; padding: 14px 0; font-size: 15px; }
.site-footer { background: #f8f9fb; color: #333; padding: 36px 0 24px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-info h2 { margin: 0 0 4px; font-size: 24px; font-weight: 900; }
.footer-slogan { margin: 0 0 12px; color: #e03131; font-weight: 800; }
.footer-info ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; line-height: 1.9; color: #444; }
.footer-info a { color: var(--blue-d); }
.footer-copy { margin: 12px 0 0; font-size: 12.5px; color: #888; }
.footer-logo { width: 220px; flex: 0 0 auto; border-radius: 14px; }
.footer-links { display: flex; justify-content: center; gap: 0; margin-top: 22px; font-size: 14px; }
.footer-links a { padding: 0 12px; }
.footer-links a + a { border-left: 1px solid #ccd3dc; }

/* Floating */
.fab-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink);
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.fab-call:hover { transform: translateY(-2px); }
.fab-call i {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #5aa7f5, #2f7cf6); color: #fff;
  animation: ring 2.4s ease-in-out infinite;
}
.fab-call .ico { width: 22px; height: 22px; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 124, 246, .45); } 50% { box-shadow: 0 0 0 10px rgba(47, 124, 246, 0); } }
.m-bar { display: none; }

/* Sub pages */
.page-top {
  position: relative;
  color: #fff;
  padding: 46px 0 40px;
  background:
    linear-gradient(120deg, rgba(10, 30, 60, .94), rgba(30, 90, 170, .86)),
    url("../images/hero-bg.jpg") center / cover;
}
.page-top.is-slim { padding: 22px 0; }
.page-top h1 { margin: 4px 0 8px; font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.02em; }
.page-top p { margin: 0; opacity: .92; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .2em; color: #8cc8ff; }
.eyebrow a:hover { text-decoration: underline; }
.page-count { margin-top: 12px !important; font-size: 14px; }
.page-count strong { color: #ffd43b; font-size: 18px; }

.board { padding: 26px 0 64px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #dbe3ee; font-size: 14px; font-weight: 600; transition: all .15s; }
.chips a small { color: var(--blue); font-weight: 700; margin-left: 2px; }
.chips a:hover { border-color: var(--blue); }
.chips a.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chips a.is-on small { color: #fff; }
.board-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.search { display: flex; }
.search input { width: 260px; max-width: 60vw; height: 42px; padding: 0 14px; border: 1px solid #d3dce8; border-right: 0; border-radius: 10px 0 0 10px; background: #fff; }
.search button { width: 46px; height: 42px; border: 0; border-radius: 0 10px 10px 0; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 18px;
  border: 0; border-radius: 10px;
  background: var(--blue); color: #fff;
  font-weight: 700; font-size: 15px;
  cursor: pointer; white-space: nowrap;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--blue-d); box-shadow: 0 6px 16px rgba(47, 124, 246, .3); }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-xs { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid #cfd8e4; }
.btn-line:hover { background: #f4f8ff; box-shadow: none; }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #cc3439; box-shadow: none; }
.btn-orange { background: var(--orange); }
.btn-orange:hover { background: #f07a0c; box-shadow: 0 6px 16px rgba(255, 138, 30, .3); }
.btn-block { width: 100%; }

/* Cards & forms */
.card { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid #e7edf4; box-shadow: 0 6px 24px rgba(15, 35, 70, .06); }
.card-title { margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.card-title small { color: var(--blue); font-size: 14px; }
.form .field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field > span, .field > legend { font-size: 14px; font-weight: 700; padding: 0; }
.field em { color: var(--red); font-style: normal; }
.field small { color: var(--muted); font-weight: 400; }
.form input[type="text"], .form input[type="password"], .form input[type="tel"], .form input[type="email"], .form input[type="search"], .form select, .form textarea {
  width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid #d3dce8; border-radius: 10px;
  background: #fff; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { height: auto; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus, .search input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 124, 246, .15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 4px 0 18px; cursor: pointer; }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); }
.check a { color: var(--blue); text-decoration: underline; }
.alert { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 14.5px; border: 1px solid transparent; }
.alert p { margin: 2px 0; }
.alert a { text-decoration: underline; font-weight: 700; }
.alert-err { background: #fff1f1; color: #b42318; border-color: #ffd5d5; }
.alert-ok { background: #ecfdf3; color: #067647; border-color: #c6f1d6; }
.alert-warn { background: #fffaeb; color: #93370d; border-color: #fde3a7; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1px solid #d3dce8; border-radius: 10px; cursor: pointer; font-size: 14.5px; background: #fff; }
.seg input { accent-color: var(--blue); }

.auth-wrap { display: flex; justify-content: center; padding: 48px 16px 72px; }
.auth-card { width: 100%; max-width: 460px; }
.install-card { max-width: 580px; }
.auth-logo { width: 130px; margin: 0 auto 6px; }
.auth-card h1 { text-align: center; margin: 0 0 6px; font-size: 24px; }
.auth-card > .muted { text-align: center; margin: 0 0 20px; font-size: 14px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.auth-alt a { color: var(--blue); font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: 14px; }
.checks li::before { display: inline-block; width: 22px; font-weight: 900; }
.checks .ok::before { content: "✓"; color: #12a150; }
.checks .no::before { content: "✕"; color: var(--red); }
textarea.code { width: 100%; font-family: Consolas, monospace; font-size: 13px; padding: 12px; border-radius: 10px; border: 1px solid #d3dce8; }

.rate-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rate-input input { position: absolute; opacity: 0; pointer-events: none; }
.rate-input label { font-size: 36px; line-height: 1; color: #d3dbe6; cursor: pointer; transition: color .1s, transform .1s; }
.rate-input label:hover { transform: scale(1.1); }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: #f5b301; }
.rate-input input:focus-visible + label { outline: 2px solid var(--blue); border-radius: 4px; }

.dropzone { position: relative; display: block; border: 2px dashed #b9c7da; border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; background: #f8fbff; transition: border-color .15s, background .15s; }
.dropzone:hover { border-color: var(--blue); background: #f0f6ff; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { display: block; color: var(--blue); font-size: 16px; }
.dropzone small { color: var(--muted); }
.img-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; }
.img-list img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.img-item { display: flex; flex-direction: column; gap: 4px; font-size: 13px; cursor: pointer; }
.img-item span { display: flex; align-items: center; gap: 4px; }
.write-form { margin: 24px 0 64px; }

/* Post */
.post { padding: 28px 0 64px; }
.post-head h1 { margin: 10px 0 8px; font-size: clamp(22px, 3.2vw, 30px); font-weight: 800; letter-spacing: -.02em; }
.post-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 11px; border-radius: 999px; background: #e8f1ff; color: #1f6fe0; font-size: 13px; font-weight: 700; }
.chip-sm { padding: 2px 8px; font-size: 12px; }
.chip-line { background: #fff; border: 1px solid #d6e0ec; color: #435063; }
.chip-status.s-0 { background: #eef1f5; color: #475467; }
.chip-status.s-1 { background: #fff4e5; color: #b54708; }
.chip-status.s-2 { background: #e8f1ff; color: #1f6fe0; }
.chip-status.s-3 { background: #e7f8ef; color: #067647; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 14px; margin: 8px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.post-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 0; }
.post-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.post-gallery.is-single { grid-template-columns: 1fr; }
.post-gallery.is-single img { aspect-ratio: auto; max-height: 720px; object-fit: contain; background: #0e1726; }
.post-body { font-size: 16.5px; line-height: 1.9; margin: 24px 0; }
.post-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--line); }
.post-actions form { margin: 0; }
.post-nav a { display: flex; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.post-nav a:first-child { border-top: 1px solid var(--line); }
.post-nav span { color: var(--muted); flex: 0 0 auto; }
.post-nav a:hover { color: var(--blue); }
.post-cta { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 20px 24px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #0e2a4f, #1f5fb0); }
.post-cta p { margin: 0; font-size: 17px; font-weight: 700; }
.post-cta div { display: flex; gap: 8px; flex-wrap: wrap; }

/* Contact, mypage, guide */
.contact-layout { display: grid; grid-template-columns: 340px 1fr; gap: 24px; padding: 28px 0 64px; align-items: start; }
.contact-side img { border-radius: 16px; background: #fff; border: 1px solid var(--line); margin-bottom: 8px; }
.info-list { list-style: none; margin: 0 0 16px; padding: 0; }
.info-list li { padding: 12px 0; border-bottom: 1px solid #eef2f7; }
.info-list strong { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.info-list a { color: var(--blue); font-weight: 800; font-size: 18px; }
.done-card { text-align: center; padding: 48px 24px; }
.done-card h2 { margin: 0 0 10px; color: var(--blue); }
.done-card a:not(.btn) { color: var(--blue); font-weight: 800; }
.my-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 28px 0 64px; align-items: start; }
.my-grid .wide { grid-column: 1 / -1; margin: 0; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { border-bottom: 1px solid #eef2f7; padding: 10px 0; }
.list a, .list li > span { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.list a:hover b { color: var(--blue); }
.list small { color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.b-new { background: #ffe8e8; color: #d92d20; }
.b-progress { background: #fff4e5; color: #b54708; }
.b-done { background: #e7f8ef; color: #067647; }
.b-admin { background: #e8f1ff; color: #1f6fe0; }
.b-member { background: #f1f3f6; color: #475467; }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { background: #fff; border-radius: 16px; padding: 22px; border: 1px solid #e7edf4; border-top: 4px solid var(--blue); }
.steps b { color: var(--blue); font-size: 13px; letter-spacing: .1em; }
.steps strong { display: block; font-size: 18px; margin: 4px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 14.5px; }
.guide-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-bottom: 64px; align-items: start; }
.faq details { border-bottom: 1px solid #eef2f7; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 14px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; color: var(--blue); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 14px; color: var(--muted); }
.doc { margin: 28px auto 64px; padding: 28px 32px; line-height: 1.8; }
.doc h2 { font-size: 18px; margin: 24px 0 6px; }
.doc ul { padding-left: 20px; margin: 0; }

/* Pager */
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.pager a, .pager strong { min-width: 38px; height: 38px; padding: 0 8px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid #dbe3ee; font-weight: 600; font-size: 14px; color: var(--ink); }
.pager strong { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager a:hover { border-color: var(--blue); }

/* Admin */
body.admin { padding-top: 0; display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; background: #f3f5f9; }
.adm-side { position: sticky; top: 0; height: 100vh; background: #0f213d; color: #c9d6ea; padding: 20px 14px; display: flex; flex-direction: column; }
.adm-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.adm-brand img { width: 84px; background: #fff; border-radius: 8px; padding: 3px 5px; }
.adm-brand span { color: #fff; font-weight: 800; }
.adm-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.adm-nav a { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 10px; font-weight: 600; transition: background .15s; }
.adm-nav a:hover { background: rgba(255, 255, 255, .08); }
.adm-nav a.is-active { background: var(--blue); color: #fff; }
.adm-nav i { font-style: normal; background: var(--red); color: #fff; font-size: 12px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; }
.adm-user { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 13px; padding: 0 6px; }
.adm-user span { color: #fff; font-weight: 700; }
.adm-user a { color: #8fb4e8; }
.adm-user a:hover { color: #fff; }
.adm-main { padding: 28px 32px 64px; min-width: 0; }
.adm-title { margin: 0 0 18px; font-size: 24px; font-weight: 900; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid #e5eaf1; border-radius: 14px; padding: 16px 18px; transition: border-color .15s, transform .15s; }
.stat:hover { border-color: var(--blue); transform: translateY(-2px); }
.stat span { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat b { display: block; font-size: 28px; font-weight: 900; }
.stat.is-hot { border-color: #ffc4c4; background: #fff8f8; }
.stat.is-hot b { color: var(--red); }
.adm-card { background: #fff; border: 1px solid #e5eaf1; border-radius: 14px; padding: 20px; margin-bottom: 20px; overflow-x: auto; }
.adm-card h2 { margin: 0 0 12px; font-size: 17px; }
.adm-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.adm-card-head h2 { margin: 0; }
.adm-card-head a { color: var(--blue); font-size: 14px; font-weight: 700; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 700; padding: 10px; background: #f7f9fc; border-bottom: 1px solid #e5eaf1; white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid #eef2f7; font-size: 14px; vertical-align: middle; }
.tbl tbody tr:hover { background: #f8fbff; }
.tbl tr[onclick] { cursor: pointer; }
.tbl td a { color: var(--blue-d); font-weight: 600; }
.tbl td.cut { max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #555; }
.tbl .actions { display: flex; gap: 6px; flex-wrap: wrap; }
.tbl .actions form { margin: 0; }
.thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.adm-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.adm-tools .muted { margin: 0; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid #dbe3ee; font-size: 14px; font-weight: 600; }
.tabs a.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.tabs small { opacity: .8; }
.adm-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.adm-split .adm-card { overflow: visible; }
.dl { display: grid; grid-template-columns: 110px 1fr; gap: 10px 12px; margin: 0 0 18px; }
.dl dt { color: var(--muted); font-size: 14px; }
.dl dd { margin: 0; font-weight: 500; }
.dl .strong { color: var(--blue); font-weight: 800; font-size: 17px; }
.sub-title { font-size: 15px; margin: 0 0 8px; }
.pre { background: #f7f9fc; border-radius: 10px; padding: 14px 16px; line-height: 1.8; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid .wide { grid-column: 1 / -1; }

/* Responsive */
@media (max-width: 1340px) {
  .dots { display: none; }
}
@media (max-width: 1240px) {
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .tile-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1023px) {
  .gnb, .auth { display: none; }
  .m-call, .m-menu { display: inline-flex; }
  .header-inner { gap: 10px; }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .guide-grid, .contact-layout { grid-template-columns: 1fr; }
  .contact-side { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; }
  body.admin { grid-template-columns: 1fr; }
  .adm-side { position: sticky; top: 0; z-index: 20; height: auto; padding: 10px 12px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
  .adm-brand img { width: 64px; }
  .adm-nav { flex-direction: row; overflow-x: auto; margin: 0; order: 3; width: 100%; gap: 6px; scrollbar-width: none; }
  .adm-nav a { white-space: nowrap; padding: 8px 12px; gap: 6px; }
  .adm-user { margin: 0 0 0 auto; flex-direction: row; flex-wrap: wrap; gap: 10px; }
  .adm-user span { display: none; }
  .adm-main { padding: 20px 16px 48px; }
  .adm-split { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  :root { --hh: 58px; }
  body { font-size: 15px; padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  body.admin { padding-bottom: 0; }
  .container { width: min(100% - 24px, var(--max)); }
  .brand img { height: 38px; }
  .sec { padding: 44px 0; }
  .sec-hero { padding: 12px 0 40px; }
  .callbar { padding: 10px 12px; }
  .countbar { margin: 6px 0 14px; padding: 10px 12px; }
  .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tile { border-width: 6px; }
  .tile-flag { font-size: 11px; }
  .tile-time { font-size: 11px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-tile { aspect-ratio: 4 / 3; }
  .cat-mark { top: 8%; width: 34%; padding: 2px 4px; border-radius: 6px; }
  .cat-label { padding: 7px 4px; }
  .review-grid { grid-template-columns: 1fr; gap: 12px; }
  .rcard-body { grid-template-columns: 1fr 38%; }
  .promise p { flex-direction: column; gap: 2px; padding: 12px 14px; }
  .promise span { font-size: .78em; font-weight: 700; }
  .help-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .help-card { min-height: 200px; padding: 28px 18px; }
  .footer-grid { flex-direction: column-reverse; align-items: flex-start; }
  .footer-logo { width: 170px; }
  .fab-call { display: none; }
  .m-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
  }
  .m-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 58px; color: #fff; font-weight: 800; font-size: 16px; }
  .m-bar-call { background: var(--blue); }
  .m-bar-form { background: var(--orange); }
  .page-top { padding: 30px 0 26px; }
  .board-bar { flex-direction: column; align-items: stretch; }
  .search input { flex: 1; width: auto; max-width: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px 14px; padding: 0 12px 4px; scrollbar-width: none; }
  .chips a { white-space: nowrap; }
  .field-row, .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form input[type="text"], .form input[type="password"], .form input[type="tel"], .form input[type="email"], .form select, .form textarea, .search input { font-size: 16px; }
  .card { padding: 20px 16px; border-radius: 14px; }
  .contact-side { grid-template-columns: 1fr; }
  .contact-side img { max-width: 260px; margin: 0 auto 8px; }
  .my-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .doc { padding: 22px 18px; }
  .post-gallery { grid-template-columns: 1fr; }
  .post-actions .btn, .form-actions .btn { flex: 1; }
  .toasts { top: calc(var(--hh) + 8px); }

  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr { border: 1px solid #e5eaf1; border-radius: 12px; padding: 8px 12px; margin-bottom: 10px; background: #fff; }
  .tbl td { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 0; padding: 6px 0; text-align: right; }
  .tbl td::before { content: attr(data-label); color: var(--muted); font-size: 12.5px; font-weight: 700; text-align: left; flex: 0 0 auto; }
  .tbl td.cut { max-width: none; white-space: normal; }
  .tbl .actions { justify-content: flex-end; }
  .adm-card { padding: 14px; overflow-x: visible; }
  .dl { grid-template-columns: 88px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
