@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #1496F5;
  --brand-light: #E8F4FE;
  --brand-dark: #0D7DD4;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --bg: #FFFFFF;
  --bg-sidebar: #F9FAFB;
  --bg-hover: #F3F4F6;
  --sidebar-width: 260px;
  --header-height: 56px;
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #1496F5;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 100;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge {
  width: 28px; height: 28px;
  background: var(--brand);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.header-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
  flex-shrink: 0;
}

.header-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-updated {
  font-size: 12px;
  color: var(--text-tertiary);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--brand);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}

.header-contact:hover { background: var(--brand-dark); }

.header-contact svg { width: 14px; height: 14px; }

/* ─── Search bar in header ─── */
.search-wrap {
  flex: 1;
  max-width: 360px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 7px 12px 7px 34px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-sidebar);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}

.search-input:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(20,150,245,0.1);
}

.search-input::placeholder { color: var(--text-tertiary); }

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary);
  width: 14px; height: 14px;
  pointer-events: none;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 200;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}

.search-results.show { display: block; }

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.1s;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-hover); }
.search-result-item:hover .search-result-arrow { color: var(--brand); }

.search-result-body { flex: 1; min-width: 0; }

.search-result-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.search-result-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.search-result-arrow {
  flex-shrink: 0;
  color: var(--text-tertiary);
  transition: color 0.1s, transform 0.1s;
}
.search-result-item:hover .search-result-arrow { transform: translateX(2px); }

.search-result-empty {
  padding: 20px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 13px;
}

mark {
  background: #FEF3C7;
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
}

/* ─── Layout ─── */
.layout {
  display: flex;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* ─── Sidebar ─── */
.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 20px 0 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  display: flex;
  flex-direction: column;
}

.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.nav-group { margin-bottom: 4px; }

.nav-group-label {
  padding: 6px 20px 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.1s, background 0.1s;
  position: relative;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.nav-item.active {
  color: var(--brand);
  font-weight: 600;
  background: var(--brand-light);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand);
  border-radius: 0 2px 2px 0;
}

.nav-item-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-item.active .nav-item-icon { opacity: 1; }

.nav-sub { padding-left: 16px; }

.nav-sub .nav-item {
  font-size: 13px;
  padding: 5px 20px 5px 28px;
}

.nav-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 16px;
}

/* ─── Main Content ─── */
.main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 48px 64px 80px;
  max-width: 900px;
}

/* ─── Section ─── */
.section {
  display: none;
  animation: fadeIn 0.2s ease;
}

.section.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Typography ─── */
.page-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

h1.page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.6px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.page-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

h2.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

h3.sub-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 24px 0 10px;
  letter-spacing: -0.2px;
}

p { font-size: 14.5px; line-height: 1.75; color: var(--text-primary); margin-bottom: 10px; }

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 40px 0;
}

/* ─── Cards ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 36px; height: 36px;
  background: var(--brand-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Link Card (for PDF/external) ─── */
.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  margin: 12px 0;
}

.link-card:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  box-shadow: var(--shadow);
}

.link-card-icon {
  width: 44px; height: 44px;
  background: var(--brand-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.link-card-body { flex: 1; }

.link-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.link-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
}

.link-card-arrow {
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ─── Info Boxes ─── */
.box {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 16px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.65;
}

.box-icon { flex-shrink: 0; margin-top: 1px; font-size: 16px; }
.box-content { flex: 1; }
.box-title { font-weight: 700; margin-bottom: 4px; }

.box-info    { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1D4ED8; }
.box-success { background: #F0FDF4; border: 1px solid #BBF7D0; color: #15803D; }
.box-warning { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; }
.box-danger  { background: #FEF2F2; border: 1px solid #FECACA; color: #B91C1C; }
.box-new     { background: var(--brand-light); border: 1px solid #BAE0FD; color: var(--brand-dark); }

/* ─── Tables ─── */
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--radius); border: 1px solid var(--border); }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

thead tr { background: var(--bg-sidebar); }

th {
  padding: 10px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  line-height: 1.5;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAFAFA; }

.td-highlight {
  font-weight: 700;
  color: var(--brand);
}

/* ─── Stat Badges ─── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.stat-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-align: center;
}

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.stat-up {
  font-size: 12px;
  color: var(--success);
  font-weight: 700;
  margin-top: 2px;
}

/* ─── Product Badge ─── */
.product-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
  border: 1px solid #BAE0FD;
  border-radius: var(--radius);
}

.product-badge {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.badge-pro { background: var(--brand); color: #fff; }
.badge-rookie { background: #059669; color: #fff; }

.product-tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ─── Benefit List ─── */
.benefit-list { list-style: none; margin: 12px 0; }

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}

.benefit-list li:last-child { border-bottom: none; }

.benefit-num {
  width: 22px; height: 22px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── Add-on Products ─── */
.addon-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
}

.addon-card-header {
  padding: 14px 20px;
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.addon-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.price-tag {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  white-space: nowrap;
}

.addon-card-body { padding: 20px; }

.addon-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.addon-meta-item {}
.addon-meta-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.addon-meta-value {
  font-size: 13.5px;
  color: var(--text-primary);
  font-weight: 500;
}

.addon-img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-top: 12px;
}

/* ─── Image ─── */
.content-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 16px 0;
  display: block;
}

.img-caption {
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: -8px;
  margin-bottom: 16px;
}

/* ─── Process Steps ─── */
.process-img-wrap {
  margin: 20px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ─── Schedule Editor ─── */
.schedule-editor {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}

.schedule-editor-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
}

.schedule-cell {
  background: #fff;
  padding: 8px 12px;
  font-size: 13px;
}

.schedule-cell.header {
  background: #F3F4F6;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-secondary);
}

.schedule-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  padding: 0;
}

.schedule-input:focus {
  background: #FFF7ED;
  border-radius: 2px;
  padding: 0 4px;
}

.schedule-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.schedule-preview-title {
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.schedule-preview-table {
  width: 100%;
  font-size: 12.5px;
}

.schedule-preview-table th {
  background: var(--brand-light);
  color: var(--brand-dark);
  padding: 8px 12px;
  font-size: 11px;
  text-align: center;
}

.schedule-preview-table td {
  padding: 7px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

/* ─── FAQ ─── */
.faq-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.faq-tab {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
}

.faq-tab:hover { border-color: var(--brand); color: var(--brand); }
.faq-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }

.faq-list { display: none; }
.faq-list.active { display: block; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}

.faq-question:hover { background: var(--bg-sidebar); }
.faq-question.open { background: var(--brand-light); color: var(--brand); }

.faq-q-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
}

.faq-chevron {
  flex-shrink: 0;
  width: 16px; height: 16px;
  transition: transform 0.2s;
  color: var(--text-tertiary);
}

.faq-question.open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-primary);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  background: #FAFAFA;
  white-space: pre-wrap;
}

.faq-answer.open { display: block; }
.faq-a-label { font-weight: 700; color: var(--brand); margin-right: 6px; }

/* ─── Content Examples ─── */
.content-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.content-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  transition: all 0.1s;
}

.content-link-card:hover {
  background: var(--brand-light);
  border-color: var(--brand);
}

/* ─── License Policy Table ─── */
.license-section { margin: 16px 0; }
.license-row {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  font-size: 13.5px;
}
.license-row:last-child { border-bottom: none; }
.license-label {
  width: 140px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 10px 0;
  padding-right: 16px;
}
.license-value { padding: 10px 0; color: var(--text-primary); line-height: 1.65; }

/* ─── Tag ─── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  margin: 0 2px;
}

.tag-blue  { background: var(--brand-light); color: var(--brand); }
.tag-green { background: #ECFDF5; color: #059669; }
.tag-red   { background: #FEF2F2; color: #DC2626; }
.tag-gray  { background: var(--bg-sidebar); color: var(--text-secondary); }

/* ─── Upload Count Table ─── */
.upload-rule {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 16px 0;
}

.upload-rule-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border-light);
}

.upload-rule-row:last-child { border-bottom: none; }
.upload-rule-row > div { padding: 12px 16px; font-size: 13.5px; }
.upload-rule-row > div:first-child {
  background: var(--bg-sidebar);
  font-weight: 700;
  font-size: 13px;
  border-right: 1px solid var(--border-light);
}

/* ─── Mobile Menu ─── */
.mobile-menu-btn {
  display: none;
  padding: 6px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-primary);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 90;
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  :root { --sidebar-width: 240px; }
  .main { padding: 32px 32px 60px; }
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .header-subtitle { display: none; }
  .header-divider { display: none; }
  .header-updated { display: none; }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 95;
  }

  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.show { display: block; }

  .main {
    margin-left: 0;
    padding: 24px 20px 60px;
  }

  .layout { flex-direction: column; }

  .search-wrap { max-width: none; flex: 1; }

  h1.page-title { font-size: 22px; }
  h2.section-title { font-size: 17px; }

  .stat-grid { grid-template-columns: 1fr 1fr; }
  .addon-meta { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .stat-grid  { grid-template-columns: 1fr 1fr; }
  .upload-rule-row { grid-template-columns: 1fr; }
  .upload-rule-row > div:first-child { border-right: none; border-bottom: 1px solid var(--border-light); }
  .faq-tabs { gap: 6px; }
  .faq-tab { padding: 6px 12px; font-size: 12px; }
}

/* ─── Ohouse Header Logo ─── */
.ohouse-logo-img {
  height: 30px;
  width: auto;
  display: block;
}

/* ─── Sidebar Bottom Logo ─── */
.sidebar-bottom {
  padding: 16px 20px;
  margin-top: auto;
}

.sidebar-bottom-logo {
  height: 40px;
  width: auto;
  display: block;
}

/* ─── Anchor scroll offset (for fixed header) ─── */
h1[id], h2[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

/* ─── Contact channel value row ─── */
.contact-channel-value-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
  margin-bottom: 5px;
}

.contact-channel-value-row .contact-channel-value {
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Copy Button ─── */
.copy-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}

.copy-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}

.copy-btn.copied {
  border-color: var(--success);
  color: var(--success);
  background: #ECFDF5;
}

/* ─── Word break keep-all for Korean narrow containers ─── */
.nav-item,
.toc-item,
.schedule-month-tab,
.faq-tab {
  word-break: keep-all;
}

/* ─── TOC Sidebar Layout (광고상품 / 운영가이드 sections) ─── */
.section.has-toc {
  display: none;
  grid-template-columns: 1fr 180px;
  gap: 48px;
  align-items: flex-start;
}

.section.has-toc.active {
  display: grid;
  animation: fadeIn 0.2s ease;
}

.section-body { min-width: 0; }

.section-toc {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 16px 0;
}

.toc-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  margin-bottom: 8px;
  padding-left: 2px;
}

.toc-item {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 5px 0 5px 10px;
  border-left: 2px solid var(--border);
  margin-bottom: 2px;
  transition: color 0.1s, border-color 0.1s;
  line-height: 1.4;
}

.toc-item:hover {
  color: var(--brand);
  border-left-color: var(--brand);
}

@media (max-width: 1100px) {
  .section.has-toc.active { display: block; }
  .section-toc { display: none; }
}

/* ─── Orora Button ─── */
.orora-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(20,150,245,0.25);
  margin-bottom: 8px;
}

.orora-btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(20,150,245,0.35);
}

/* ─── Contact Channels ─── */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.contact-channel-card {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: flex-start;
}

.contact-channel-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-channel-body { flex: 1; min-width: 0; overflow: hidden; }

.contact-channel-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-channel-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
}

.contact-channel-value:hover { color: var(--brand); }

.contact-channel-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.contact-channel-desc a { color: var(--brand); text-decoration: none; }

/* ─── Process Flow ─── */
.process-flow { margin: 24px 0; }

.process-step-content { flex: 1; min-width: 0; }

.process-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.process-step-num {
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.process-step-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-arrow {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 20px;
  padding: 4px 0;
  margin-left: 36px;
}

/* ─── Schedule Month Tabs ─── */
.schedule-month-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.schedule-month-tab {
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-sidebar);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.1s;
  margin-bottom: -1px;
}

.schedule-month-tab.active {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  border-color: var(--border);
  border-bottom-color: #fff;
}

.schedule-table-panel { display: none; }
.schedule-table-panel.active { display: block; }
.schedule-table-panel .table-wrap {
  border-top: none;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}

/* ─── Addon Recommend Grid ─── */
.addon-recommend-grid {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.addon-recommend-card {
  flex: 1;
  min-width: 160px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.addon-recommend-icon { font-size: 24px; margin-bottom: 8px; }

.addon-recommend-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.addon-recommend-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.addon-recommend-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 4px;
}

.addon-recommend-reach {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.addon-recommend-divider {
  font-size: 20px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ─── Addon Recommend Grid 3-col (no arrows) ─── */
.addon-recommend-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 20px 0;
}

.addon-recommend-grid-3 .addon-recommend-card {
  min-width: 0;
}

@media (max-width: 700px) {
  .addon-recommend-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ─── Addon desc with button on right ─── */
.addon-desc-with-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.addon-desc-with-btn p { flex: 1; }

.addon-desc-with-btn .content-link-card {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 8px 14px;
}

/* ─── Content Image Grid (examples) ─── */
.content-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 10px 0 20px;
}

.content-img-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.content-img-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}

.content-img-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.content-img-label {
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

/* ─── Schedule Calendar v2 (SUN-SAT full range) ─── */
.cal2 {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin-top: 16px;
  font-size: 12px;
}

.cal2-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
}

.cal2-dow {
  text-align: center;
  padding: 7px 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.cal2-week { border-bottom: 1px solid var(--border-light); }
.cal2-week:last-child { border-bottom: none; }

.cal2-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--border-light);
}

.cal2-date {
  padding: 4px 6px;
  font-size: 12px;
  color: var(--text-primary);
  border-right: 1px solid var(--border-light);
  min-height: 28px;
  font-weight: 400;
}

.cal2-date:last-child { border-right: none; }
.cal2-date-dim { color: var(--text-tertiary); }
.cal2-date-red { color: #DC2626; font-weight: 700; }
.cal2-date-orange { color: #D97706; font-weight: 700; }

.cal2-evarea {
  position: relative;
  overflow: hidden;
}

.cal2-evrow {
  position: absolute;
  display: flex;
  align-items: center;
  height: 18px;
  overflow: hidden;
  padding-left: 3px;
}

.cal2-evbullet {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-right: 4px;
}

.cal2-evtext {
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 auto;
  min-width: 0;
}

.cal2-evline {
  height: 2px;
  flex: 1;
  min-width: 10px;
  margin-left: 4px;
  border-radius: 1px;
  opacity: 0.45;
}

/* ─── Schedule Calendar ─── */
.cal-wrap {
  margin-top: 16px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.cal-month {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 11px;
}

.cal-month-name {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 700;
}

.cal-dow-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
}

.cal-dow {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 4px 0;
}

.cal-dow:nth-child(6) { color: var(--brand); }
.cal-dow:nth-child(7) { color: #DC2626; }

.cal-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 1px solid var(--border-light);
}

.cal-week:last-child { border-bottom: none; }

.cal-cell {
  min-height: 40px;
  padding: 3px 2px;
  border-right: 1px solid var(--border-light);
  vertical-align: top;
}

.cal-cell:last-child { border-right: none; }

.cal-cell-empty { background: transparent; }

.cal-day-num {
  font-size: 11px;
  color: var(--text-primary);
  text-align: center;
  font-weight: 500;
  margin-bottom: 2px;
  line-height: 1.3;
}

.cal-cell-sat .cal-day-num { color: var(--brand); }
.cal-cell-sun .cal-day-num { color: #DC2626; }

/* Range background shading */
.cal-cell-bg-partner  { background: #EFF6FF; }
.cal-cell-bg-ohouse   { background: #F0FDF4; }
.cal-cell-bg-milestone{ background: #FFFBEB; }
.cal-cell-bg-deadline { background: #FFF1F2; }

/* Event pills (on start date only) */
.cal-pill {
  display: block;
  font-size: 9px;
  font-weight: 600;
  padding: 1px 3px;
  border-radius: 2px;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.cat-partner.cal-pill   { background: #DBEAFE; color: #1D4ED8; }
.cat-ohouse.cal-pill    { background: #D1FAE5; color: #065F46; }
.cat-milestone.cal-pill { background: #FEF3C7; color: #92400E; }
.cat-deadline.cal-pill  { background: #FEE2E2; color: #991B1B; }

/* Legend */
.cal-legend {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
}

.cat-partner.cal-legend-item   { background: #DBEAFE; color: #1D4ED8; }
.cat-ohouse.cal-legend-item    { background: #D1FAE5; color: #065F46; }
.cat-milestone.cal-legend-item { background: #FEF3C7; color: #92400E; }
.cat-deadline.cal-legend-item  { background: #FEE2E2; color: #991B1B; }

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

/* ─── Header Apply Button ─── */
.header-apply {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: var(--brand-light);
  color: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.header-apply:hover { background: var(--brand); color: #fff; }

/* ─── Calendar Image Lightbox Wrapper ─── */
.cal-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  cursor: zoom-in;
}
.cal-img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.cal-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(17,24,39,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.cal-zoom-btn:hover { background: rgba(17,24,39,0.9); }

/* ─── Lightbox ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 95vw;
  max-height: 92vh;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.gallery-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  z-index: 1001;
}
.gallery-nav:hover { background: rgba(255,255,255,0.35); }
.gallery-prev { left: 20px; }
.gallery-next { right: 20px; }
.gallery-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 13px;
  font-family: 'Pretendard', sans-serif;
  padding: 4px 14px;
  border-radius: 20px;
  pointer-events: none;
}

/* ─── Top Button ─── */
.top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(20,150,245,0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, background 0.15s;
  z-index: 200;
}
.top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.top-btn:hover { background: var(--brand-dark); }

/* ─── 2차 라이선스 페이지 ─── */
.license-hero-body { flex: 1; min-width: 0; }

.license-hero {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.license-hero-check { font-size: 28px; flex-shrink: 0; }
.license-hero-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.license-hero-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.license-notices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.license-notice-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.license-notice-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.license-notice-text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.7;
}
.license-notice-example {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  background: var(--bg-sidebar);
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--text-secondary);
  font-style: italic;
}

.license-apply-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.license-apply-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.license-apply-card:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 24px rgba(20,150,245,0.12);
  transform: translateY(-2px);
}
.license-apply-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  width: fit-content;
}
.license-apply-badge.badge-rookie { background: #F0FDF4; color: #16A34A; }
.license-apply-badge.badge-pro    { background: #FEF3C7; color: #D97706; }
.license-apply-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}
.license-apply-desc {
  font-size: 13px;
  color: var(--text-secondary);
}
.license-apply-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  border-top: 1px solid var(--border-light);
}

.license-cs-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius);
  padding: 18px 22px;
  flex-wrap: wrap;
}
.license-cs-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #92400E;
  font-weight: 500;
}
.license-cs-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #F59E0B;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.license-cs-btn:hover { background: #D97706; }

@media (max-width: 768px) {
  .addon-recommend-grid { flex-direction: column; }
  .addon-recommend-divider { transform: rotate(90deg); }
  .section.has-toc.active { display: block; }
  .section-toc { display: none; }
  .contact-channels { grid-template-columns: 1fr; }
  .license-apply-grid { grid-template-columns: 1fr; }
  .header-apply { display: none; }
  .top-btn { bottom: 20px; right: 16px; }
}

/* ─── Exposure Modal ─── */
.exposure-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.exposure-modal.open { display: flex; }
.exposure-modal-inner {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px 24px;
  max-width: 560px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}
.exposure-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.exposure-modal-close:hover { color: #111; background: #f3f4f6; }

/* ─── Instagram Card ─── */
.insta-card {
  border: 1px solid #DBDBDB;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
  font-family: -apple-system, 'Pretendard', sans-serif;
}
.insta-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}
.insta-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  padding: 2px;
  flex-shrink: 0;
}
.insta-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  overflow: hidden;
}
.insta-avatar-inner img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #E5E7EB;
  cursor: default !important;
}
.insta-user-info { flex: 1; }
.insta-username { font-size: 13px; font-weight: 700; color: #111; line-height: 1.2; }
.insta-subtitle { font-size: 11px; color: #8e8e8e; margin-top: 1px; }
.insta-more { color: #111; font-size: 18px; line-height: 1; padding: 0 4px; }
.insta-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #F3F4F6;
  cursor: zoom-in;
}
.insta-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 8px 0 2px;
}
.insta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C4C4C4;
}
.insta-dot.active { background: #1496F5; }
.insta-actions {
  display: flex;
  align-items: center;
  padding: 8px 14px 4px;
  gap: 14px;
}
.insta-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  color: #111;
  transition: opacity .15s;
}
.insta-action-btn:hover { opacity: 0.55; }
.insta-bookmark { margin-left: auto; }
.insta-likes { padding: 0 14px 4px; font-size: 13px; font-weight: 700; color: #111; }
.insta-caption {
  padding: 0 14px 6px;
  font-size: 13px;
  color: #111;
  line-height: 1.5;
}
.insta-caption strong { font-weight: 700; }
.insta-tag { color: #1496F5; }
.insta-date { padding: 0 14px 12px; font-size: 11px; color: #8e8e8e; }

/* 콘텐츠 이미지 줌인 커서 */
main img:not(.review-photo) { cursor: zoom-in; }

/* ─── Review Cards (ROOKIE 콘텐츠 예시) ─── */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .2s, border-color .2s;
}
.review-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  border-color: #D1D5DB;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E0E7FF, #C7D2FE);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #4338CA;
  flex-shrink: 0;
}
.review-user-info { flex: 1; min-width: 0; }
.review-username {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  flex-wrap: wrap;
}
.review-stars {
  color: #F59E0B;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1;
}
.review-date {
  font-size: 11px;
  color: var(--text-secondary);
}
.review-badge {
  font-size: 10px;
  background: #F3F4F6;
  color: #6B7280;
  border-radius: 4px;
  padding: 1px 5px;
  font-weight: 500;
}
.review-photos {
  display: flex;
  gap: 6px;
}
.review-photo {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
  background: #F3F4F6;
  cursor: zoom-in;
  transition: opacity .15s;
}
.review-photo:hover { opacity: 0.85; }
.review-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #1D4ED8;
  background: #EFF6FF;
  border-radius: 4px;
  padding: 2px 6px;
  margin-bottom: 6px;
}
.review-text {
  font-size: 12.5px;
  color: var(--text-primary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 640px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* ─── Reel Card ─── */
.reel-card {
  border: 1px solid #DBDBDB;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  font-family: -apple-system, 'Pretendard', sans-serif;
}
.reel-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #f0f0f0;
}
.reel-avatar-wrap {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
}
.reel-avatar-inner {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  overflow: hidden;
}
.reel-avatar-inner img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.reel-user-info { flex: 1; }
.reel-username { font-size: 13px; font-weight: 700; color: #111; }
.reel-subtitle { font-size: 11px; color: #8e8e8e; }
.reel-more { font-size: 18px; color: #8e8e8e; letter-spacing: 1px; cursor: pointer; }
.reel-media {
  position: relative;
  width: 100%;
  background: #111;
  overflow: hidden;
}
.reel-media > img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.reel-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.reel-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,0.5);
}
.reel-side-actions {
  position: absolute;
  right: 10px; bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.reel-side-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
  font-size: 10px;
  font-weight: 500;
}
.reel-caption-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 44px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: 32px 12px 12px;
}
.reel-caption-user {
  font-size: 12px; font-weight: 700; color: #fff; margin-bottom: 3px;
}
.reel-caption-text {
  font-size: 11px; color: rgba(255,255,255,0.88); line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reel-music-bar {
  display: flex; align-items: center; gap: 5px;
  margin-top: 6px; font-size: 10px; color: rgba(255,255,255,0.7);
}
.reel-actions-bar {
  display: flex;
  align-items: center;
  padding: 8px 14px;
  gap: 14px;
  border-top: 1px solid #f0f0f0;
}
.reel-action-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  color: #444; padding: 0; font-size: 12px;
  font-family: inherit;
}
.reel-platform-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 10px;
  border-top: 1px solid #f5f5f5;
  background: #fafafa;
}
.reel-platform-label { font-size: 10px; color: #9ca3af; }
.reel-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 3px 9px 3px 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: #374151;
}
.chip-dot { width: 7px; height: 7px; border-radius: 50%; }
.chip-dot-blue { background: #1496F5; }
.chip-dot-ig { background: linear-gradient(135deg, #833ab4, #fd1d1d); }
