/* ── 보스포커 공통 스타일 ── */
:root {
  --brand: #c00000;
  --brand-dark: #900000;
}

body {
  font-family: 'Malgun Gothic', '맑은 고딕', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  background: #f4f4f6;
  color: #222;
}

/* ── Navbar ── */
.navbar {
  background-color: var(--brand) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.navbar-brand {
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff !important;
}
.nav-link {
  color: rgba(255,255,255,.85) !important;
  font-size: 13px;
  padding: .5rem .8rem !important;
  border-radius: 4px;
  transition: background .15s;
}
.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,.2);
  color: #fff !important;
}
.navbar-toggler { border-color: rgba(255,255,255,.4); }
.navbar-toggler-icon { filter: invert(1); }

/* ── Page card ── */
.page-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  padding: 32px 36px;
}
@media (max-width: 576px) {
  .page-card { padding: 20px 16px; }
}

/* ── Page title ── */
.page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* ── Tables ── */
.table-brand thead th {
  background-color: var(--brand);
  color: #fff;
  text-align: center;
  vertical-align: middle;
}
.table-brand tbody td {
  vertical-align: middle;
}
.table-brand tbody td.center { text-align: center; }
.table-brand tbody tr:hover { background: #fef5f5; }

/* ── Article text ── */
.article-body { line-height: 1.8; }
.article-body p  { margin-bottom: .6rem; }
.article-body h2 { font-size: 1rem; font-weight: 700; margin-top: 1.4rem; color: #333; }

/* ── Section heading ── */
.section-heading {
  font-size: .95rem;
  font-weight: 700;
  color: var(--brand);
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}

/* ── Version select ── */
.version-select-wrap {
  border-top: 1px solid #e0e0e0;
  margin-top: 2rem;
  padding-top: 1rem;
}

/* ── Iframe embed ── */
.embed-frame {
  width: 100%;
  border: none;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
  margin-bottom: 12px;
}

/* ── Standalone embed pages (no full-page chrome) ── */
body.embed-mode {
  background: transparent;
  padding: 0;
  margin: 0;
}
body.embed-mode .container { padding: 0; }
body.embed-mode .page-card {
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
