/* ========================================
   CSS Variables
   ======================================== */
:root {
  --bg: #0A0A0A;
  --bg-alt: #1A1A1A;
  --accent: #E8700A;
  --text: #F5F5F5;
  --text-sub: #999;
  --text-muted: #666;
  --border: #333;
  --radius: 2px;
  --max-w: 1080px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  --mono: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;

  /* Typography Scale */
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-base: 14px;
  --fs-md: 15px;
  --fs-lg: 16px;
  --fs-xl: 18px;
  --fs-2xl: 20px;
  --fs-3xl: 24px;
  --fs-4xl: 28px;
  --fs-5xl: 32px;
  --fs-6xl: 36px;
  --fs-7xl: 40px;
  --fs-8xl: 52px;
}

/* Light mode overrides */
[data-theme="light"] {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;
  --text: #1A1A1A;
  --text-sub: #555;
  --text-muted: #888;
  --border: #E0E0E0;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

input, select {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   Utilities
   ======================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.text-accent {
  color: var(--accent);
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: var(--fs-lg);
  font-weight: 600;
  border-radius: var(--radius);
  transition: opacity 0.2s;
  text-align: center;
}

.btn:hover {
  opacity: 0.85;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm {
  padding: 8px 20px;
  font-size: var(--fs-md);
}

.btn--full {
  display: block;
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   0. Navigation
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--border);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 0;
  color: #fff;
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav__buttons {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Theme Toggle */
.nav__theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.nav__theme-toggle:hover {
  background: var(--bg-alt);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav__hamburger-icon {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background 0.2s;
}

.nav__hamburger-icon::before,
.nav__hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s;
}

.nav__hamburger-icon::before {
  top: -6px;
}

.nav__hamburger-icon::after {
  top: 6px;
}

.nav.is-menu-open .nav__hamburger-icon {
  background: transparent;
}

.nav.is-menu-open .nav__hamburger-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav.is-menu-open .nav__hamburger-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Menu */
.nav__menu {
  display: contents;
}

.nav__menu .nav__link {
  display: inline;
}

/* Mobile Panel (hidden on desktop) */
.nav__mobile-panel {
  display: none;
}

/* ========================================
   1. Hero
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
}

.hero__content {
  max-width: 720px;
}

.hero__label {
  display: inline-block;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.hero__headline {
  font-size: var(--fs-8xl);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: var(--fs-xl);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  gap: 16px;
}

/* ========================================
   Sections (공통)
   ======================================== */
.section {
  padding: 120px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section__title {
  font-size: var(--fs-6xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 56px;
}

.section__cta {
  margin-top: 48px;
}

/* ========================================
   2. WHY
   ======================================== */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why__text {
  color: var(--text-sub);
  font-size: var(--fs-lg);
  margin-bottom: 20px;
}

.why__text:last-child {
  margin-bottom: 0;
}

.why__quote {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.5;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  color: var(--text);
}

/* ========================================
   3. MINDSET
   ======================================== */
.mindset__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.mindset__item {
  padding: 0 40px;
  border-left: 1px solid var(--border);
}

.mindset__item:first-child {
  padding-left: 0;
  border-left: none;
}

.mindset__item:last-child {
  padding-right: 0;
}

.mindset__heading {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 16px;
}

.mindset__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

/* ========================================
   PLAYBOOK
   ======================================== */
.playbook__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.playbook__item {
  padding: 0 40px;
  border-left: 1px solid var(--border);
}

.playbook__item:first-child {
  padding-left: 0;
  border-left: none;
}

.playbook__item:last-child {
  padding-right: 0;
}

.playbook__number {
  display: block;
  font-family: var(--mono);
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
}

.playbook__heading {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 16px;
}

.playbook__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

.playbook__chart {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.playbook__chart-title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.playbook__bar {
  display: grid;
  grid-template-columns: 180px 1fr 48px;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.playbook__bar:last-of-type {
  margin-bottom: 0;
}

.playbook__bar-label {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-muted);
}

.playbook__bar--highlight .playbook__bar-label {
  color: var(--text);
}

.playbook__bar-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  overflow: hidden;
}

.playbook__bar-fill {
  height: 100%;
  background: var(--border);
  border-radius: var(--radius);
  width: 0;
  transition: width 1s ease;
}

.playbook__bar-fill--accent {
  background: var(--accent);
}

.playbook__chart.is-visible .playbook__bar-fill {
  width: var(--w);
}

.playbook__bar-value {
  font-family: var(--mono);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
}

.playbook__bar--highlight .playbook__bar-value {
  color: var(--accent);
}

.playbook__chart-source {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-top: 24px;
}

.playbook__bridge {
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  margin-bottom: 56px;
}

/* ========================================
   GLOBAL TREND
   ======================================== */
.trend__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trend__item {
  padding: 0 40px;
  border-left: 1px solid var(--border);
}

.trend__item:first-child {
  padding-left: 0;
  border-left: none;
}

.trend__item:last-child {
  padding-right: 0;
}

.trend__heading {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.trend__stat {
  font-family: var(--mono);
  font-size: var(--fs-7xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 16px;
}

.trend__unit {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-sub);
}

.trend__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

/* ========================================
   NOW — AI 시대 인디 파운더
   ======================================== */
.now__intro {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  margin-bottom: 48px;
}

.now__cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.now__case {
  padding: 0 40px;
  border-left: 1px solid var(--border);
}

.now__case:first-child {
  padding-left: 0;
  border-left: none;
}

.now__case:last-child {
  padding-right: 0;
}

.now__name {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.now__stat {
  font-family: var(--mono);
  font-size: var(--fs-7xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 16px;
}

.now__unit {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-sub);
}

.now__detail {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

/* ========================================
   4. Split Layout (FOR FOUNDERS)
   ======================================== */
.split {
  display: grid;
  gap: 64px;
  align-items: start;
}

.split--normal {
  grid-template-columns: 3fr 2fr;
}

.benefit-list__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.benefit-list__item:first-child {
  padding-top: 0;
}

.benefit-list__item strong {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 6px;
}

.benefit-list__item span {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.6;
}

.highlight-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.section--alt .highlight-box {
  background: var(--bg);
}

.section:not(.section--alt) .highlight-box {
  background: var(--bg-alt);
}

.highlight-box__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--accent);
}

.highlight-box__text {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

/* ========================================
   ROADMAP — Timeline
   ======================================== */
.timeline {
  position: relative;
  padding-left: 80px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.timeline__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 48px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__number {
  position: absolute;
  left: -80px;
  top: -2px;
  font-family: var(--mono);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--accent);
  width: 56px;
  text-align: center;
}

.timeline__heading {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
}

/* ========================================
   7. FAQ — Accordion
   ======================================== */
.faq {
  max-width: 800px;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: var(--fs-xl);
  font-weight: 600;
  text-align: left;
  transition: color 0.2s;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__icon {
  font-size: 22px;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__answer-inner {
  padding-bottom: 24px;
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

/* ========================================
   8. Register — Form
   ======================================== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--fs-lg);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}

.section--alt .form-group input,
.section--alt .form-group select {
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-alt);
}

.form-group .error-msg {
  font-size: var(--fs-base);
  color: #e85050;
  margin-top: 6px;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select {
  border-color: #e85050;
}

.form-group.has-error .error-msg {
  display: block;
}

/* ========================================
   9. Footer
   ======================================== */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer__logo {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__email {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-top: 8px;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__link {
  font-size: var(--fs-base);
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--text);
}

.footer__copy {
  font-size: var(--fs-base);
  color: var(--text-muted);
}

/* ========================================
   Responsive: 768px
   ======================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .nav__inner {
    padding: 0 24px;
  }

  .nav__buttons {
    gap: 16px;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__menu {
    display: none !important;
  }

  .nav__auth {
    display: flex !important;
  }

  .nav__login-btn {
    padding: 6px 14px;
    font-size: var(--fs-base);
  }

  /* Mobile Dropdown Panel */
  .nav__mobile-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  [data-theme="light"] .nav__mobile-panel {
    background: rgba(255, 255, 255, 0.98);
  }

  .nav.is-menu-open .nav__mobile-panel {
    max-height: 80vh;
  }

  .nav__mobile-menu {
    padding: 12px 24px 20px;
  }

  .nav__mobile-link {
    display: block;
    padding: 14px 0;
    font-size: var(--fs-lg);
    font-weight: 500;
    color: var(--text-sub);
    border-bottom: 1px solid var(--border);
    transition: color 0.15s;
  }

  .nav__mobile-link:last-child {
    border-bottom: none;
  }

  .nav__mobile-link:hover,
  .nav__mobile-link--active {
    color: var(--text);
  }

  .nav__mobile-login-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px 0;
    font-size: var(--fs-md);
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .nav__mobile-login-btn:hover {
    opacity: 0.85;
  }

  .hero__headline {
    font-size: var(--fs-6xl);
  }

  .hero__sub {
    font-size: var(--fs-lg);
  }

  .hero__cta {
    flex-direction: column;
    gap: 12px;
  }

  .hero__cta .btn {
    text-align: center;
  }

  .section {
    padding: 80px 0;
  }

  .timeline {
    padding-left: 64px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline__number {
    left: -64px;
    font-size: var(--fs-3xl);
    width: 48px;
  }

  .highlight-box {
    padding: 28px 24px;
  }

  .section__title {
    font-size: var(--fs-4xl);
    margin-bottom: 40px;
  }

  .why__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mindset__columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mindset__item {
    padding: 0;
    border-left: none;
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .mindset__item:first-child {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .playbook__columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .playbook__item {
    padding: 0;
    border-left: none;
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .playbook__item:first-child {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .playbook__bar {
    grid-template-columns: 1fr 48px;
    gap: 8px 16px;
  }

  .playbook__bar-label {
    grid-column: 1 / -1;
  }

  .trend__columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trend__item {
    padding: 0;
    border-left: none;
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .trend__item:first-child {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .now__cases {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .now__case {
    padding: 0;
    border-left: none;
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .now__case:first-child {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .split--normal {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .timeline {
    padding-left: 64px;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline__number {
    left: -64px;
    font-size: var(--fs-3xl);
    width: 48px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .footer__links {
    gap: 16px;
  }

}

/* ========================================
   Responsive: 480px
   ======================================== */
@media (max-width: 480px) {
  body {
    font-size: var(--fs-lg);
  }

  .container {
    padding: 0 20px;
  }

  .nav__inner {
    padding: 0 20px;
    height: 64px;
  }

  .nav__logo {
    font-size: var(--fs-lg);
  }

  .btn--sm {
    padding: 8px 16px;
    font-size: var(--fs-base);
  }

  .hero {
    padding-top: 0;
  }

  .program-hero {
    padding-top: 0;
  }

  .hero__headline {
    font-size: var(--fs-4xl);
  }

  .hero__label {
    font-size: var(--fs-sm);
  }

  .section {
    padding: 64px 0;
  }

  .section__title {
    font-size: var(--fs-3xl);
    margin-bottom: 32px;
  }

  .why__quote {
    font-size: var(--fs-2xl);
  }

  .timeline {
    padding-left: 48px;
  }

  .timeline::before {
    left: 16px;
  }

  .timeline__number {
    left: -48px;
    font-size: var(--fs-2xl);
    width: 40px;
  }

  .timeline__item {
    padding-bottom: 36px;
  }

  .timeline__heading {
    font-size: var(--fs-lg);
  }

  .highlight-box {
    padding: 24px 20px;
  }

  .faq__question {
    font-size: var(--fs-lg);
    padding: 20px 0;
  }

}

/* ========================================
   Navigation Link
   ======================================== */
.nav__link {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-sub);
  transition: color 0.2s;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

/* ========================================
   Blog Archive Page
   ======================================== */
.blog {
  padding-top: 120px;
  padding-bottom: 80px;
}

.blog__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.blog__title {
  font-size: var(--fs-6xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.blog-count {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Blog Search */
.blog-search {
  position: relative;
  margin-bottom: 48px;
}

.blog-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.blog-search__input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  font-size: var(--fs-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
}

.blog-search__input:focus {
  border-color: var(--accent);
}

.blog-search__input::placeholder {
  color: var(--text-muted);
}

.blog-search__empty {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  text-align: center;
  padding: 48px 0;
}

/* Blog Category Filter */
.blog-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.blog-filter__btn {
  padding: 6px 14px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.blog-filter__btn:hover {
  color: var(--text);
  border-color: var(--text-sub);
}

.blog-filter__btn--active {
  color: var(--accent);
  border-color: var(--accent);
}

.blog-card {
  display: block;
  margin-bottom: 48px;
  transition: opacity 0.2s;
}

.blog-card:last-child {
  margin-bottom: 0;
}

.blog-card:hover {
  opacity: 0.85;
}

.blog-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.blog-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-card__author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.blog-card__author-name {
  font-size: var(--fs-base);
  color: var(--text-sub);
  font-weight: 600;
}

.blog-card__date {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.blog-card__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-card__summary {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.blog-card__tag {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

/* Blog Card — Read Badge */
.blog-card--read {
  position: relative;
}

.blog-card--read .blog-card__thumb {
  opacity: 0.7;
}

.blog-card--read::after {
  content: "\2713";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Blog Recommend Section */
.blog-recommend {
  margin-bottom: 40px;
}

.blog-recommend__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.blog-recommend__scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.blog-recommend__scroll::-webkit-scrollbar {
  height: 4px;
}

.blog-recommend__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.blog-recommend__scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.blog-recommend__card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.blog-recommend__card:hover {
  opacity: 0.85;
}

.blog-recommend__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.blog-recommend__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-recommend__card-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 480px) {
  .blog-recommend__card {
    flex: 0 0 160px;
  }

  .blog-recommend__thumb {
    padding: 12px;
  }

  .blog-recommend__card-title {
    font-size: var(--fs-xs);
  }
}

/* ========================================
   Reading Progress Bar
   ======================================== */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 200;
  transition: none;
}

/* ========================================
   Blog Post Page
   ======================================== */
.post {
  padding-top: 120px;
  padding-bottom: 80px;
}

.post__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.post__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color 0.2s;
}

.post__back:hover {
  color: var(--text);
}

.post__header {
  margin-bottom: 48px;
  padding-bottom: 32px;
}

.post__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.post__tag {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.post__title {
  font-size: var(--fs-6xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.post__subtitle {
  font-size: var(--fs-xl);
  color: var(--text-sub);
  margin-bottom: 16px;
}

.post__meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.post__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.post__date {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-left: auto;
}

.post__edited {
  color: var(--text-muted);
  display: inline-flex;
  vertical-align: middle;
}

.post__author {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.post__author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.post__author-name {
  font-size: var(--fs-md);
  color: var(--text-sub);
  font-weight: 600;
}

.post__body h2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.post__body h3 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 16px;
}

.post__body p {
  font-size: var(--fs-lg);
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.post__body ul,
.post__body ol {
  margin-bottom: 20px;
  padding-left: 24px;
  list-style: disc;
}

.post__body ol {
  list-style: decimal;
}

.post__body li {
  font-size: var(--fs-lg);
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 8px;
}

.post__body strong {
  color: var(--text);
  font-weight: 700;
}

.post__body blockquote {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
}

.post__body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

.post__figure {
  margin: 0 0 32px;
}

.post__figure img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.post__figure figcaption {
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ========================================
   Post Share
   ======================================== */

/* ── Blog Bottom CTA ── */

.blog-bottom-cta {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.blog-bottom-cta__label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.blog-bottom-cta__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.blog-bottom-cta__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.blog-bottom-cta__card:hover {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.04);
}

.blog-bottom-cta__icon {
  font-size: 1.5em;
}

.blog-bottom-cta__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text);
}

.blog-bottom-cta__desc {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.5;
}

@media (max-width: 480px) {
  .blog-bottom-cta__cards {
    grid-template-columns: 1fr;
  }
}

/* ── Related Posts ── */

.related-posts {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related-posts__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.related-posts__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-posts__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.related-posts__card:hover {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.04);
}

.related-posts__card-title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.related-posts__card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.related-posts__tag {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.post-share {
  margin-top: 24px;
  padding-top: 0;
  text-align: center;
}

.post-share__label {
  font-size: var(--fs-lg);
  color: var(--text-muted);
  margin-bottom: 16px;
}

.post-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.post-share__btn:hover {
  background: var(--accent);
  color: #fff;
}

.post-share__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========================================
   Post Navigation (Prev / Next)
   ======================================== */

.post-nav {
  display: flex;
  gap: 24px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.post-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, background 0.2s;
}

.post-nav__item:hover {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.05);
}

.post-nav__item--next {
  text-align: right;
  margin-left: auto;
}

.post-nav__label {
  font-size: var(--fs-base);
  color: var(--text-muted);
}

.post-nav__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

/* ========================================
   Blog Responsive: 768px
   ======================================== */
@media (max-width: 768px) {
  .blog {
    padding-top: 96px;
  }

  .blog__inner {
    padding: 0 24px;
  }

  .blog__title {
    font-size: var(--fs-4xl);
    margin-bottom: 36px;
  }

  .blog-card__title {
    font-size: var(--fs-2xl);
  }

  .post {
    padding-top: 96px;
  }

  .post__inner {
    padding: 0 24px;
  }

  .post__title {
    font-size: var(--fs-4xl);
  }

  .post__body h2 {
    font-size: 22px;
  }

  .post-share {
    margin-top: 20px;
    padding-top: 0;
  }

  .post-nav {
    flex-direction: column;
    gap: 16px;
  }

  .post-nav__item--next {
    text-align: left;
  }
}

/* ========================================
   Blog Responsive: 480px
   ======================================== */
@media (max-width: 480px) {
  .blog {
    padding-top: 80px;
  }

  .blog__inner {
    padding: 0 20px;
  }

  .blog__title {
    font-size: var(--fs-3xl);
    margin-bottom: 28px;
  }

  .blog-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .blog-card {
    margin-bottom: 36px;
  }

  .blog-card__title {
    font-size: var(--fs-xl);
  }

  .blog-card__summary {
    font-size: var(--fs-md);
  }

  .post {
    padding-top: 80px;
  }

  .post__inner {
    padding: 0 20px;
  }

  .post__title {
    font-size: var(--fs-3xl);
  }

  .post__subtitle {
    font-size: var(--fs-lg);
  }

  .post__body h2 {
    font-size: var(--fs-2xl);
    margin-top: 36px;
  }

  .post__body p,
  .post__body li {
    font-size: var(--fs-lg);
  }

  .post__body blockquote {
    font-size: var(--fs-lg);
  }

  .post-share {
    margin-top: 16px;
    padding-top: 0;
  }

  .post-share__btn {
    padding: 10px 24px;
    font-size: var(--fs-md);
  }
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pagination__btn:hover {
  border-color: var(--text-sub);
  color: var(--text);
}

.pagination__btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination__btn--active:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  opacity: 0.85;
}

.pagination__btn--disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ========================================
   Community Page
   ======================================== */
.community {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  overflow: hidden;
}

.community__inner {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.community__title {
  font-size: var(--fs-6xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.community__feed-wrapper {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.community__feed {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.community__feed.is-unlocked,
.authed .community__feed {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}

.community__login-wall {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
  touch-action: none;
}
html:not(.authed):has(.community__login-wall:not(.is-hidden)) {
  overflow: hidden;
}

.community__login-wall.is-hidden,
.authed .community__login-wall {
  display: none;
}

.community__login-wall-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
  max-width: 480px;
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.community__login-wall-badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.community__login-wall-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 12px;
}

.community__login-wall-desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.community__login-wall-social-proof {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-bottom: 32px;
}

.community__login-wall-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  padding: 13px 24px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s;
}

.community__login-wall-google:hover {
  border-color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
  opacity: 1;
}

.community__login-wall-google svg {
  flex-shrink: 0;
}

.community__login-wall-reassurance {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 16px;
}

/* Login Wall Responsive: 768px */
@media (max-width: 768px) {
  .community__login-wall-content {
    padding: 36px 24px;
  }

  .community__login-wall-title {
    font-size: var(--fs-2xl);
  }
}

/* Login Wall Responsive: 480px */
@media (max-width: 480px) {
  .community__login-wall-content {
    padding: 28px 16px;
  }

  .community__login-wall-title {
    font-size: var(--fs-xl);
  }

  .community__login-wall-desc {
    font-size: var(--fs-md);
  }

  .community__login-wall-google {
    font-size: var(--fs-md);
    padding: 12px 20px;
  }
}

.community__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(10, 10, 10, 0.6);
  z-index: 10;
}

.community__overlay-badge {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 16px;
}

.community__overlay-title {
  font-size: var(--fs-5xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.community__overlay-desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 24px;
}

.community__overlay[hidden] {
  display: none;
}

.community__overlay .btn {
  pointer-events: auto;
}

/* Category Dropdown (Threads-style) */
.community__cat-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  position: relative;
}

.community__cat-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: var(--fs-base);
  font-weight: 700;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.15s;
}

.community__cat-trigger:hover {
  background: var(--border);
}

.community__cat-trigger svg {
  transition: transform 0.2s;
}

.community__cat-trigger--open svg {
  transform: rotate(180deg);
}

.community__cat-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--bg-secondary, var(--bg));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 0;
  z-index: 200;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.community__cat-dropdown[hidden] {
  display: none;
}

.community__cat-heading {
  font-family: var(--mono);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text);
  padding: 8px 18px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.community__cat-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: var(--fs-base);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.1s;
  text-align: left;
}

.community__cat-option:hover {
  background: var(--border);
}

.community__cat-check {
  opacity: 0;
  flex-shrink: 0;
}

.community__cat-option--active .community__cat-check {
  opacity: 1;
}

.community__cat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
}

.community__cat-backdrop[hidden] {
  display: none;
}

/* Feed Card */
.feed-card {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.feed-card:hover {
  background: var(--bg-alt);
}

.feed-card__link {
  display: block;
  cursor: pointer;
}

.feed-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.feed-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.feed-card__meta-sep {
  color: var(--text-muted);
  user-select: none;
}

.feed-card__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.feed-card__flair {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  margin-left: auto;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 2px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.feed-card__top-text {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.feed-card__nickname {
  font-weight: 600;
  color: var(--text-sub);
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-card__time {
  white-space: nowrap;
}

.feed-card .builder-badge { display: none; }

.feed-card__card-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text);
}

.feed-card__preview {
  font-size: var(--fs-md);
  color: var(--text-sub);
  line-height: 1.7;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.feed-card__actions {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.feed-card__comment-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.feed-card__action-sep {
  color: var(--text-muted);
  user-select: none;
}

/* Feed Empty State */
.feed-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
  font-size: var(--fs-md);
}

.feed-empty__icon {
  display: block;
  margin-bottom: 8px;
  opacity: 0.4;
}

.feed-empty p {
  margin-bottom: 6px;
}

.feed-empty__btn {
  margin-top: 16px;
  padding: 8px 20px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.feed-empty__btn:hover {
  opacity: 0.85;
}

/* Feed Loading State */
.feed-loading {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
  font-size: var(--fs-md);
}

.feed-sentinel {
  height: 1px;
}

/* Skeleton Loading */
@keyframes skeleton-shimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton-bone {
  background: var(--border);
  background-image: linear-gradient(90deg, var(--border) 0%, rgba(255,255,255,0.06) 40%, var(--border) 80%);
  background-size: 400px 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  border-radius: 4px;
}

.skeleton-card {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.skeleton-card:first-child {
  border-top: 1px solid var(--border);
}

.skeleton-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.skeleton-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.skeleton-card__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.skeleton-card__name {
  width: 48px;
  height: 12px;
}

.skeleton-card__time {
  width: 40px;
  height: 12px;
}

.skeleton-card__title {
  width: 70%;
  height: 18px;
  margin-bottom: 8px;
}

.skeleton-card__line {
  height: 13px;
  margin-bottom: 5px;
}

.skeleton-card__line:nth-child(1) {
  width: 100%;
}

.skeleton-card__line:nth-child(2) {
  width: 60%;
}

.skeleton-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.skeleton-card__action {
  width: 32px;
  height: 12px;
}

/* Skeleton: Post Detail */
.skeleton-post {
  padding: 20px 0;
}

.skeleton-post__flair {
  width: 60px;
  height: 16px;
  margin-bottom: 14px;
}

.skeleton-post__title {
  width: 80%;
  height: 24px;
  margin-bottom: 16px;
}

.skeleton-post__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.skeleton-post__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.skeleton-post__name {
  width: 64px;
  height: 14px;
}

.skeleton-post__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton-post__line {
  height: 14px;
}

.skeleton-post__line--full {
  width: 100%;
}

.skeleton-post__line--mid {
  width: 75%;
}

.skeleton-post__line--short {
  width: 40%;
}

/* Post content fade-in from skeleton */
@keyframes post-content-appear {
  from { opacity: 0; }
  to { opacity: 1; }
}
#postContent > :not(.skeleton-post) {
  animation: post-content-appear 0.15s ease-out;
}

/* Community Post Actions (Edit/Delete) */
.community-post__actions {
  display: flex;
  gap: 4px;
}

.community-post__actions[hidden] {
  display: none;
}

.community-post__edit-btn,
.community-post__delete-btn {
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 0.15s, background 0.15s;
}

.community-post__edit-btn {
  color: var(--text-muted);
}

.community-post__edit-btn:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.community-post__delete-btn {
  color: var(--text-muted);
}

.community-post__delete-btn:hover {
  color: #e85050;
  background: rgba(232, 80, 80, 0.1);
}

/* Community Post Detail Stats */
.community-post__stats {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  font-size: var(--fs-md);
  color: var(--text-muted);
}

/* Like Button */
/* Vote Group (Reddit-style pill) */
.vote-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.vote-group__score {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  min-width: 20px;
  text-align: center;
  padding: 0 2px;
  line-height: 1;
  user-select: none;
}

.vote-group--readonly {
  cursor: default;
}

.vote-group--detail {
  font-size: var(--fs-md);
}

.vote-group--detail .like-btn,
.vote-group--detail .dislike-btn {
  padding: 8px 14px;
  font-size: var(--fs-md);
}

.vote-group--detail .vote-group__score {
  font-size: var(--fs-md);
  min-width: 28px;
}

.vote-group--comment .like-btn,
.vote-group--comment .dislike-btn { padding: 4px 8px; min-height: 28px; font-size: var(--fs-xs); }
.vote-group--comment .vote-group__score { font-size: var(--fs-xs); min-width: 16px; }

.like-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  min-height: 36px;
  border: none;
  background: transparent;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  font-family: inherit;
  line-height: 1;
}

.like-btn:hover {
  color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
}

.like-btn--active {
  color: var(--accent);
}

.like-btn--active .like-btn__icon {
  transform: scale(1.2);
}

.like-btn__icon {
  transition: transform 0.15s;
}

/* Dislike Button */
.dislike-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  min-height: 36px;
  border: none;
  background: transparent;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  font-family: inherit;
  line-height: 1;
}

.dislike-btn:hover {
  color: #5B8DEF;
  background: rgba(91, 141, 239, 0.1);
}

.dislike-btn--active {
  color: #5B8DEF;
}

.dislike-btn__icon {
  transition: transform 0.15s;
}

.dislike-btn--active .dislike-btn__icon {
  transform: scale(1.2);
}

/* ── Like Confetti ── */
.like-confetti {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

.like-confetti__particle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: likeParticleBurst 0.7s ease-out forwards;
}

@keyframes likeParticleBurst {
  0% {
    transform: translate(0, 0) scale(1.2);
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--px), var(--py)) scale(0);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .like-confetti__particle {
    animation: none;
    display: none;
  }
}

/* ========================================
   Comments Section
   ======================================== */
.comments-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.comments-section__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comments-section__count {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 2px 10px;
}

.comments-section__count:empty {
  display: none;
}

/* Comment Form */
.comment-form {
  margin-bottom: 32px;
}

.comment-form__wrapper {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.comment-form__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 6px;
}

.comment-form__body {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: border-color 0.15s;
}
.comment-form__body.is-dragover {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.04);
}

.comment-form__input {
  width: 100%;
  min-height: unset;
  height: 44px;
  padding: 12px 16px;
  font-size: var(--fs-md);
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
  resize: none;
  overflow: hidden;
  transition: border-color 0.2s, background 0.2s, min-height 0.2s ease;
}

.comment-form.is-active .comment-form__input {
  min-height: 120px;
  height: auto;
  resize: vertical;
  overflow: auto;
}

.comment-form__input:focus {
  border-color: var(--accent);
  background: var(--bg);
}

.comment-form__input::placeholder {
  color: var(--text-muted);
}

.comment-form__actions {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.comment-form.is-active .comment-form__actions {
  display: flex;
}

.comment-form__submit {
  padding: 8px 20px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.comment-form__submit:hover {
  opacity: 0.85;
}

.comment-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Comment List & Items */
.comments-list {
  display: flex;
  flex-direction: column;
}

/* 댓글이 없을 때 폼 하단 여백 제거 */
.comment-form:has(~ .comment-gate .comments-list:empty),
.comment-form:has(~ .comments-list:empty) {
  margin-bottom: 0;
}

/* Comment Gate */
.comment-gate--active .comment-gate__blurred {
  max-height: 200px;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.comment-gate__cta {
  display: none;
}

.comment-gate--active .comment-gate__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 32px;
  margin-top: 8px;
  background: var(--bg-alt);
}

.comment-gate__badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.comment-gate__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 12px 0;
}

.comment-gate__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 32px;
}

.comment-gate__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  padding: 13px 24px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s;
}

.comment-gate__google:hover {
  border-color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
  opacity: 1;
}

.comment-gate__google svg {
  flex-shrink: 0;
}

.comment-gate__reassurance {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 0;
}

/* Comment Gate Responsive: 768px */
@media (max-width: 768px) {
  .comment-gate--active .comment-gate__cta {
    padding: 36px 24px;
  }

  .comment-gate__title {
    font-size: var(--fs-2xl);
  }
}

/* Comment Gate Responsive: 480px */
@media (max-width: 480px) {
  .comment-gate--active .comment-gate__cta {
    padding: 28px 16px;
  }

  .comment-gate__title {
    font-size: var(--fs-xl);
  }

  .comment-gate__desc {
    font-size: var(--fs-md);
  }

  .comment-gate__google {
    font-size: var(--fs-md);
    padding: 12px 20px;
  }
}

.comment {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.comment:last-child {
  border-bottom: none;
}

.comment__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.comment__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment__author {
  font-size: var(--fs-base);
  font-weight: 600;
}

.comment__time {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.comment__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  opacity: 0;
  transition: opacity 0.15s;
}

.comment:hover .comment__actions {
  opacity: 1;
}

/* Touch devices: always show actions */
@media (hover: none) {
  .comment__actions {
    opacity: 1;
  }
}

.comment__body {
  font-size: var(--fs-md);
  line-height: 1.7;
  word-wrap: break-word;
  color: var(--text);
}

.comment__body a,
.post__body p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.comment__body a:hover,
.post__body p a:hover {
  opacity: 0.8;
}

.comment__delete-btn {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.comment__delete-btn:hover {
  color: #e85050;
  background: rgba(232, 80, 80, 0.1);
}

/* Comment Reply (nested) */
.comment--reply {
  margin-left: 36px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
  border-bottom: none;
}

.comment--reply:last-child {
  border-bottom: none;
}

/* Add bottom border to the last reply's parent group */
.comment--reply + .comment:not(.comment--reply) {
  border-top: none;
}

.comment__reply-btn {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.comment__reply-btn:hover {
  color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
}

.comment__footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* Reply Inline Form */
.reply-form {
  padding: 12px 0;
  margin-left: 36px;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}
.reply-form.is-dragover {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.04);
}

.reply-form__input {
  width: 100%;
  min-height: 60px;
  padding: 10px 14px;
  font-size: var(--fs-md);
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, background 0.2s;
}

.reply-form__input:focus {
  border-color: var(--accent);
  background: var(--bg);
}

.reply-form__input::placeholder {
  color: var(--text-muted);
}

.reply-form__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.reply-form__cancel {
  font-size: var(--fs-md);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.reply-form__cancel:hover {
  color: var(--text);
  background: var(--bg-alt);
}

.reply-form__submit {
  padding: 6px 16px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.reply-form__submit:hover {
  opacity: 0.85;
}

.reply-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   Comment Form: Image Upload UI
   ======================================== */
.comment-form__image-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.comment-form__image-btn:hover {
  color: var(--accent);
  background: rgba(232, 112, 10, 0.08);
}

.comment-form__image-add {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  border-radius: 8px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.comment-form__image-add:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 112, 10, 0.05);
}

.comment-form__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.comment-form__image-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.comment-form__image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-form__image-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
}

.comment-form__image-remove:hover {
  background: rgba(232, 80, 80, 0.9);
}

.comment-form__image-progress {
  font-size: var(--fs-base);
  color: var(--accent);
  margin-top: 8px;
}

/* Comment Images Display */
.comment__images-wrap {
  position: relative;
}
.comment__images-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--card-bg));
  pointer-events: none;
  border-radius: 0 8px 8px 0;
  opacity: 1;
  transition: opacity 0.3s;
}
.comment__images-wrap.scrolled-end::after {
  opacity: 0;
}
.comment__images-wrap--single::after {
  display: none;
}

.comment__images {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
}
.comment__images::-webkit-scrollbar {
  display: none;
}

.comment__image {
  flex: 0 0 auto;
  max-width: 85%;
  max-height: 280px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  scroll-snap-align: start;
}
.comment__image:only-child {
  max-width: 100%;
}

.comment__image:hover {
  opacity: 0.85;
}

/* ========================================
   Community Responsive: 768px
   ======================================== */
@media (max-width: 768px) {
  .community {
    padding-top: 72px;
  }

  .community__inner {
    padding: 0 24px;
  }

  .community__title {
    font-size: var(--fs-4xl);
    margin-bottom: 16px;
  }

  .feed-card {
    padding: 14px 12px;
  }

  .feed-card__card-title {
    font-size: var(--fs-xl);
  }

  .feed-card__nickname {
    max-width: 100px;
  }

  .feed-card__preview {
    font-size: var(--fs-md);
  }

  .post-form__image-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }

  .comment-form__image-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  }

  .comment__images {
    /* flex 가로 스크롤 유지 */
  }

  .vote-group--detail .like-btn,
  .vote-group--detail .dislike-btn {
    font-size: var(--fs-base);
    padding: 6px 12px;
  }

  .comment__body {
    font-size: var(--fs-md);
  }

  .comment-form.is-active .comment-form__input {
    min-height: 140px;
  }

  .comment--reply {
    margin-left: 24px;
    padding-left: 12px;
  }

  .reply-form {
    margin-left: 24px;
    padding-left: 12px;
  }

  .comment__actions {
    opacity: 1;
  }

  .comment-form__avatar {
    width: 28px;
    height: 28px;
  }

  .post__meta-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .community-post__actions {
    margin-left: auto;
  }
}

/* ========================================
   Community Responsive: 480px
   ======================================== */
@media (max-width: 480px) {
  .community {
    padding-top: 72px;
  }

  .community__inner {
    padding: 0 20px;
  }

  .user-profile {
    padding: 0 20px;
  }

  .community__title {
    font-size: var(--fs-3xl);
    margin-bottom: 12px;
  }

  .feed-card {
    padding: 12px 8px;
  }

  .feed-card__card-title {
    font-size: var(--fs-lg);
  }

  .feed-card__nickname {
    max-width: 80px;
  }

  .feed-card__preview {
    font-size: var(--fs-md);
    -webkit-line-clamp: 4;
  }

  .feed-card__meta {
    font-size: var(--fs-xs);
  }

  .feed-card__actions {
    font-size: var(--fs-xs);
  }

  .post-form__image-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 6px;
  }

  .comment-form__image-grid {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 6px;
  }

  .comment__images {
    gap: 6px;
  }
  .comment__image {
    max-height: 220px;
  }

  .comment--reply {
    margin-left: 16px;
    padding-left: 10px;
  }

  .reply-form {
    margin-left: 16px;
    padding-left: 10px;
  }

  .comment-form__avatar {
    width: 24px;
    height: 24px;
  }

  .comment__avatar {
    width: 24px;
    height: 24px;
  }
}

/* ========================================
   Auth: Nav Login / Avatar / Dropdown
   ======================================== */
.nav__auth {
  display: flex;
  align-items: center;
}

.nav__login-btn {
  padding: 8px 20px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nav__login-btn:hover {
  opacity: 0.85;
}

.nav__mobile-login-btn {
  display: none;
}

.nav__user {
  position: relative;
}

.nav__avatar-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: 2px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: border-color 0.2s;
}

.nav__avatar-btn:hover {
  border-color: var(--accent);
}

.nav__avatar-dot {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #E53E3E;
  border-radius: 50%;
  border: 2px solid var(--bg);
  pointer-events: none;
}

.nav__avatar-dot[hidden] {
  display: none;
}

.nav__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 0;
  z-index: 200;
}

.nav__dropdown.is-open {
  display: block;
}

.nav__dropdown-nickname {
  display: block;
  padding: 8px 16px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.nav__dropdown-item {
  display: block;
  width: 100%;
  padding: 8px 16px;
  font-size: var(--fs-md);
  color: var(--text-sub);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.nav__dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

[data-theme="light"] .nav__dropdown-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.nav__dropdown-settings-first {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px;
}

.nav__dropdown-settings-first ~ #navInstallApp:not([hidden]) {
  border-top: none;
  margin-top: 0;
  padding-top: 8px;
}

.nav__dropdown-settings-first ~ .nav__dropdown-theme {
  border-top: none;
  margin-top: 0;
  padding-top: 8px;
}

#navInstallApp:not([hidden]) {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px;
}

#navInstallApp:not([hidden]) + .nav__dropdown-theme {
  border-top: none;
  margin-top: 0;
  padding-top: 8px;
}

.nav__dropdown-theme {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px;
}

.nav__dropdown-theme svg {
  flex-shrink: 0;
}

/* ========================================
   Notifications (in-dropdown panel)
   ======================================== */
.nav__dropdown-notif-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  color: #fff;
  background: #E53E3E;
  border-radius: 999px;
  margin-left: 6px;
}

.nav__dropdown-notif-count[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .nav__dropdown {
    position: fixed;
    top: 56px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

/* ========================================
   Notification Page
   ======================================== */
.notif-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  min-height: 100vh;
}

.notif-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.notif-page__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
}

.notif-page__read-all {
  font-size: var(--fs-sm);
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}

.notif-page__read-all:hover {
  text-decoration: underline;
}

.notif-page__list {
  display: flex;
  flex-direction: column;
}

.notif-page__item {
  display: flex;
  gap: 12px;
  padding: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 400;
  transition: background 0.15s;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
}

.notif-page__item:first-child {
  border-top: 1px solid var(--border);
}

.notif-page__item:hover {
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .notif-page__item:hover {
  background: rgba(0, 0, 0, 0.03);
}

.notif-page__item--unread {
  font-weight: 600;
  background: rgba(232, 112, 10, 0.06);
}

.notif-page__item--unread:hover {
  background: rgba(232, 112, 10, 0.1);
}

.notif-page__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.notif-page__content {
  flex: 1;
  min-width: 0;
}

.notif-page__msg {
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--text);
}

.notif-page__msg strong {
  font-weight: inherit;
}

.notif-page__time {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.notif-page__empty {
  padding: 48px 16px;
  text-align: center;
  font-size: var(--fs-base);
  color: var(--text-muted);
}

/* ========================================
   Auth Modal
   ======================================== */
.auth-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.auth-modal.is-open {
  display: flex;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.auth-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
}

.auth-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: var(--fs-3xl);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.auth-modal__close:hover {
  color: var(--text);
}

.auth-modal__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-modal__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  margin-bottom: 28px;
}

.auth-modal__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.auth-modal__google:hover {
  border-color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
}

.auth-modal__google svg {
  flex-shrink: 0;
}

.auth-modal__divider,
.auth-modal__or,
.blog-gate__or,
.comment-gate__or,
.community__login-wall-or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.auth-modal__divider::before,
.auth-modal__divider::after,
.auth-modal__or::before,
.auth-modal__or::after,
.blog-gate__or::before,
.blog-gate__or::after,
.comment-gate__or::before,
.comment-gate__or::after,
.community__login-wall-or::before,
.community__login-wall-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-modal__field {
  margin-bottom: 12px;
}

.auth-modal__field input {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--fs-lg);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.auth-modal__field input:focus {
  border-color: var(--accent);
}

.auth-modal__field input::placeholder {
  color: var(--text-muted);
}

.auth-modal__submit {
  width: 100%;
  padding: 12px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.auth-modal__submit:hover {
  opacity: 0.85;
}

.auth-modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-modal__sent {
  font-size: var(--fs-lg);
  color: var(--accent);
  text-align: center;
  padding: 16px 0;
  line-height: 1.6;
}

.auth-modal__error {
  font-size: var(--fs-base);
  color: #e85050;
  margin-top: 8px;
}

/* ========================================
   Profile Modal
   ======================================== */
.profile-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.profile-modal.is-open {
  display: flex;
}

.profile-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.profile-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  max-height: 85vh;
  overflow-y: auto;
}

.profile-modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: var(--fs-3xl);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.profile-modal__close:hover {
  color: var(--text);
}

.profile-modal__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 16px;
}

.profile-modal__desc {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-bottom: 16px;
  margin-top: -8px;
}

/* 아바타 중앙 배치 */
.profile-modal__avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.profile-modal__avatar-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
}

.profile-modal__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-modal__avatar-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}

.profile-modal__avatar-wrap:hover .profile-modal__avatar-overlay {
  opacity: 1;
}

/* 필드 */
.profile-modal__field {
  margin-bottom: 14px;
}

.profile-modal__field input[type="text"],
.profile-modal__field textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: var(--fs-lg);
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.profile-modal__field textarea {
  resize: vertical;
  min-height: 72px;
}

.profile-modal__field input[type="text"]:focus,
.profile-modal__field textarea:focus {
  border-color: var(--accent);
}

.profile-modal__field input::placeholder,
.profile-modal__field textarea::placeholder {
  color: var(--text-muted);
}

.profile-modal__counter {
  font-size: var(--fs-base);
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.profile-modal__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-modal__error {
  font-size: var(--fs-base);
  color: #e85050;
  margin-bottom: 8px;
}

.profile-modal__submit {
  width: 100%;
  padding: 10px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.profile-modal__submit:hover {
  opacity: 0.85;
}

.profile-modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   Profile Setup Page (Initial)
   ======================================== */
.profile-setup {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.profile-setup__card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 28px 32px;
  text-align: center;
}

.profile-setup__avatar-section {
  margin-bottom: 20px;
}

.profile-setup__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.profile-setup__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 8px;
}

.profile-setup__desc {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-bottom: 24px;
}

.profile-setup__form {
  text-align: left;
}

.profile-setup__form .form-group {
  margin-bottom: 16px;
}

.profile-setup__counter {
  font-size: var(--fs-base);
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.profile-setup__error {
  font-size: var(--fs-base);
  color: #e85050;
  margin-bottom: 8px;
}

.profile-setup__submit {
  width: 100%;
  padding: 12px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.profile-setup__submit:hover {
  opacity: 0.85;
}

.profile-setup__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.profile-setup__tip {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 16px;
}

/* ========================================
   Profile Edit Page
   ======================================== */
.profile-edit {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.profile-edit__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: 32px;
}

.profile-edit__login-msg {
  text-align: center;
  padding: 48px 0;
  color: var(--text-sub);
  font-size: var(--fs-md);
}

.profile-edit__login-btn {
  margin-top: 16px;
  padding: 10px 28px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.profile-edit__login-btn:hover {
  opacity: 0.85;
}

.profile-edit__avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.profile-edit__avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
}

.profile-edit__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-edit__avatar-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s;
}

.profile-edit__avatar-wrap:hover .profile-edit__avatar-overlay {
  opacity: 1;
}

.profile-edit .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--fs-lg);
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  resize: vertical;
  min-height: 80px;
  transition: border-color 0.2s;
}

.profile-edit .form-group textarea:focus {
  border-color: var(--accent);
}

.profile-edit .form-group textarea::placeholder {
  color: var(--text-muted);
}

.profile-edit__counter {
  font-size: var(--fs-base);
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.profile-edit__error {
  font-size: var(--fs-base);
  color: #e85050;
  margin-bottom: 12px;
}

.profile-edit__submit {
  width: 100%;
  padding: 12px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.profile-edit__submit:hover {
  opacity: 0.85;
}

.profile-edit__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.profile-edit__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: var(--fs-base);
  color: var(--text);
}

.profile-edit__checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.profile-edit__checkbox-desc {
  margin: 4px 0 0 26px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.profile-edit__danger-zone {
  margin-top: 48px;
  text-align: center;
}

.profile-edit__delete-btn {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.profile-edit__delete-btn:hover {
  color: #e85050;
}

/* Delete Account Modal */
.delete-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
}

.delete-modal-overlay[hidden] {
  display: none;
}

.delete-modal {
  width: 100%;
  max-width: 420px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.delete-modal__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #e85050;
  margin-bottom: 12px;
}

.delete-modal__desc {
  font-size: var(--fs-base);
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.5;
}

.delete-modal__list {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0 0 20px 20px;
  line-height: 1.8;
}

.delete-modal__confirm-label {
  font-size: var(--fs-base);
  color: var(--text);
  margin-bottom: 10px;
}

.delete-modal__confirm-label strong {
  color: var(--accent);
}

.delete-modal__input {
  width: 100%;
  padding: 10px 14px;
  font-size: var(--fs-md);
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  margin-bottom: 12px;
}

.delete-modal__input:focus {
  border-color: #e85050;
}

.delete-modal__error {
  font-size: var(--fs-sm);
  color: #e85050;
  margin-bottom: 12px;
}

.delete-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.delete-modal__cancel {
  flex: 1;
  padding: 10px;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-sub);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.delete-modal__cancel:hover {
  border-color: var(--text-sub);
}

.delete-modal__submit {
  flex: 1;
  padding: 10px;
  font-size: var(--fs-base);
  font-weight: 600;
  color: #fff;
  background: #e85050;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.delete-modal__submit:hover {
  opacity: 0.85;
}

.delete-modal__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ========================================
   Post Form Modal
   ======================================== */
body.post-form-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.post-form {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1001;
  align-items: center;
  justify-content: center;
}

.post-form.is-open {
  display: flex;
}

.post-form__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.post-form__dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.post-form__dropzone {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(var(--accent-rgb, 232,112,10), 0.08);
  border: 2px dashed var(--accent);
  border-radius: 16px;
  color: var(--accent);
  font-size: var(--fs-lg);
  font-weight: 600;
  pointer-events: none;
}

.post-form__dropzone.is-visible {
  display: flex;
}

.post-form__close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: var(--fs-3xl);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.post-form__close:hover {
  color: var(--text);
}

.post-form__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 16px;
}

.post-form__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.post-form__category {
  padding: 6px 14px;
  font-size: var(--fs-base);
  font-weight: 600;
  font-family: var(--font);
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
}

.post-form__category:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.post-form__category--active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}


.post-form__form input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  font-size: var(--fs-lg);
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  margin-bottom: 10px;
}

.post-form__form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.post-form__form textarea {
  width: 100%;
  min-height: 200px;
  padding: 10px 14px;
  font-size: var(--fs-lg);
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
  margin-bottom: 10px;
  flex: 1;
}

.post-form__form input[type="text"]:focus,
.post-form__form textarea:focus {
  border-color: var(--accent);
}

.post-form__form input::placeholder,
.post-form__form textarea::placeholder {
  color: var(--text-muted);
}

.post-form__char-count {
  text-align: right;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

.post-form__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
  gap: 8px;
}

.post-form__image-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.post-form__image-btn:hover {
  color: var(--accent);
  background: rgba(232, 112, 10, 0.08);
}

.post-form__image-add {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border);
  border-radius: 8px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.post-form__image-add:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(232, 112, 10, 0.05);
}

.post-form__error {
  font-size: var(--fs-base);
  color: #e85050;
  text-align: right;
  margin: 0 0 8px;
}

.post-form__submit {
  padding: 8px 24px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-left: auto;
}

.post-form__submit:hover {
  opacity: 0.85;
}

.post-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.post-form__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
}

.post-form__image-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}

.post-form__image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-form__image-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.15s;
}

.post-form__image-remove:hover {
  background: rgba(232, 80, 80, 0.9);
}

.post-form__image-item[draggable="true"] {
  cursor: grab;
}

.post-form__image-item.is-dragging {
  opacity: 0.4;
}

.post-form__image-item.drag-over {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.post-form__image-progress {
  font-size: var(--fs-base);
  color: var(--accent);
  margin-left: 8px;
}

/* ========================================
   Write Page (standalone)
   ======================================== */
.write-page {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
}

.write-page__inner {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 40px;
}

.write-page__header {
  margin-bottom: 24px;
}

.write-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-md);
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;
}

.write-page__back:hover {
  color: var(--text);
}

.write-page__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
}

.write-page__dropzone {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(var(--accent-rgb, 232,112,10), 0.08);
  border: 2px dashed var(--accent);
  border-radius: 16px;
  color: var(--accent);
  font-size: var(--fs-lg);
  font-weight: 600;
  pointer-events: none;
}

.write-page__dropzone.is-visible {
  display: flex;
}

.write-page .post-form__form textarea {
  min-height: 300px;
}

@media (max-width: 768px) {
  .write-page {
    padding-top: 96px;
  }

  .write-page__inner {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .write-page {
    padding-top: 80px;
  }

  .write-page__inner {
    padding: 0 20px;
  }

  .write-page .post-form__form textarea {
    min-height: 200px;
  }
}

/* ========================================
   Feed Card: Thumbnail
   ======================================== */
.feed-card__images {
  position: relative;
  margin: 6px 0;
  border-radius: 8px;
  overflow: hidden;
}

.feed-card__thumb-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.feed-card__image-count {
  position: absolute;
  bottom: 6px;
  right: 6px;
  padding: 2px 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
}

/* ========================================
   Post Detail: Image Gallery
   ======================================== */
.post__images {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.post__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ========================================
   Community Write Prompt
   ======================================== */
.community__prompt--skeleton .community__prompt-avatar {
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  background: var(--border);
}
.community__prompt--skeleton .community__prompt-text {
  color: transparent;
  border-color: var(--border);
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.community__prompt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.community__prompt:hover {
  background: var(--bg-alt);
}

.community__prompt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border) center / cover no-repeat;
  flex-shrink: 0;
}

.community__prompt-text {
  flex: 1;
  font-size: var(--fs-md);
  color: var(--text-muted);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}

.community__prompt:hover .community__prompt-text {
  border-color: var(--text-muted);
}

/* ========================================
   Auth Responsive: 768px
   ======================================== */
@media (max-width: 768px) {
  .auth-modal__dialog,
  .profile-modal__dialog {
    padding: 32px 24px;
  }

}

/* ========================================
   Auth Responsive: 480px
   ======================================== */
@media (max-width: 480px) {
  /* Fullscreen page: 다이얼로그 스타일 */
  .auth-modal__dialog,
  .profile-modal__dialog,
  .post-form__dialog {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
    border: none;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
  }

  .auth-modal__dialog,
  .profile-modal__dialog {
    padding: 28px 20px;
  }

  .post-form__dialog {
    padding: 24px 16px;
  }

  .auth-modal.is-open .auth-modal__dialog,
  .profile-modal.is-open .profile-modal__dialog,
  .post-form.is-open .post-form__dialog {
    transform: translateY(0);
  }

  /* Fullscreen page: 백드롭 숨김 */
  .auth-modal__backdrop,
  .profile-modal__backdrop,
  .post-form__backdrop {
    display: none;
  }

  .post-form__form textarea {
    min-height: 160px;
  }

  .auth-modal__title,
  .profile-modal__title {
    font-size: var(--fs-2xl);
  }
}

/* ========================================
   Legal Pages (Privacy, Terms)
   ======================================== */
.legal {
  padding-top: 120px;
  padding-bottom: 80px;
}

.legal__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 40px;
}

.legal__title {
  font-size: var(--fs-6xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal__date {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-bottom: 48px;
}

.legal__body h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--accent);
}

.legal__body h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal__body p {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal__body ul,
.legal__body ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.legal__body ol {
  list-style: decimal;
}

.legal__body li {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.8;
  margin-bottom: 6px;
}

.legal__body strong {
  color: var(--text);
  font-weight: 700;
}

.legal__body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* Legal Responsive: 768px */
@media (max-width: 768px) {
  .legal {
    padding-top: 96px;
  }

  .legal__inner {
    padding: 0 24px;
  }

  .legal__title {
    font-size: var(--fs-4xl);
  }

  .legal__body h2 {
    font-size: var(--fs-2xl);
  }
}

/* Legal Responsive: 480px */
@media (max-width: 480px) {
  .legal {
    padding-top: 80px;
  }

  .legal__inner {
    padding: 0 20px;
  }

  .legal__title {
    font-size: var(--fs-3xl);
  }

  .legal__body p,
  .legal__body li {
    font-size: var(--fs-lg);
  }
}

/* ========================================
   Blog Content Gate (truncation + inline CTA)
   ======================================== */
.blog-gate__blurred {
  max-height: 200px;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.blog-gate__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 32px;
  margin: -24px 0 48px 0;
  background: var(--bg-alt);
}

.blog-gate__badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.blog-gate__cta .blog-gate__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--text);
}

.blog-gate__cta .blog-gate__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
}

.blog-gate__cta .blog-gate__social-proof {
  font-size: var(--fs-base);
  color: var(--text-muted);
  margin-bottom: 32px;
}

.blog-gate__cta .blog-gate__reassurance {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 0;
}

.blog-gate__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  padding: 13px 24px;
  font-size: var(--fs-lg);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, border-color 0.2s, background 0.2s;
}

.blog-gate__btn:hover {
  opacity: 0.85;
}

.blog-gate__btn--google {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.blog-gate__btn--google:hover {
  border-color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
  opacity: 1;
}

.blog-gate__btn--google svg {
  flex-shrink: 0;
}

/* Blog Gate Responsive: 768px */
@media (max-width: 768px) {
  .blog-gate__cta {
    padding: 36px 24px;
    margin: -16px 0 36px 0;
  }

  .blog-gate__cta .blog-gate__title {
    font-size: var(--fs-2xl);
  }
}

/* Blog Gate Responsive: 480px */
@media (max-width: 480px) {
  .blog-gate__cta {
    padding: 28px 16px;
    margin: -12px 0 28px 0;
  }

  .blog-gate__cta .blog-gate__title {
    font-size: var(--fs-xl);
  }

  .blog-gate__cta .blog-gate__desc {
    font-size: var(--fs-md);
  }

  .blog-gate__btn {
    font-size: var(--fs-md);
    padding: 12px 20px;
  }
}

/* ========================================
   Magic Link Email Form
   ======================================== */

.magic-link-form {
  width: 100%;
  max-width: 320px;
}

.auth-modal .magic-link-form {
  max-width: none;
}

.magic-link-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.magic-link-form__input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  font-size: var(--fs-md);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}

.magic-link-form__input:focus {
  border-color: var(--accent);
}

.magic-link-form__input::placeholder {
  color: var(--text-muted);
}

.magic-link-form__btn {
  width: 100%;
  padding: 13px 18px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.magic-link-form__btn:hover {
  opacity: 0.85;
}

.magic-link-form__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.magic-link-form__status {
  margin-top: 12px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  text-align: center;
}

.magic-link-form__status--success {
  color: #34a853;
}

.magic-link-form__status--error {
  color: #e85050;
}

/* ========================================
   User Profile Page + Nickname Links
   ======================================== */

/* Nickname links in feed cards */
.feed-card__user-link {
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.feed-card__user-link:hover {
  text-decoration: underline;
}

/* Author links in post detail */
.post__author-link {
  color: inherit;
  text-decoration: none;
}

.post__author-link:hover {
  text-decoration: underline;
}

/* Author links in comments */
.comment__author-link {
  color: inherit;
  text-decoration: none;
}

.comment__author-link:hover {
  text-decoration: underline;
}

/* User Profile Page */
.user-profile {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.user-profile__header {
  text-align: center;
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--border);
}

.user-profile__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}

.user-profile__nickname {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 4px;
}

.user-profile__bio {
  font-size: var(--fs-md);
  color: var(--text-sub);
  line-height: 1.5;
}

.user-profile__tabs {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.user-profile__tab {
  font-family: var(--mono);
  font-size: var(--fs-base);
  font-weight: 600;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-sub);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.user-profile__tab:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.user-profile__tab--active {
  color: var(--accent);
  border-color: var(--accent);
}

.user-profile__content {
  padding-top: 8px;
}

/* Comment card in user profile */
.user-profile__comment-card {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.user-profile__comment-card:first-child {
  border-top: 1px solid var(--border);
}

.user-profile__comment-origin {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 6px;
}

.user-profile__comment-origin a {
  color: var(--text-sub);
  text-decoration: none;
}

.user-profile__comment-origin a:hover {
  text-decoration: underline;
}

.user-profile__comment-body {
  font-size: var(--fs-md);
  color: var(--text);
  line-height: 1.5;
}

.user-profile__comment-time {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

.user-profile__empty {
  text-align: center;
  padding: 40px 0;
  color: var(--text-muted);
  font-size: var(--fs-md);
}

.user-profile__empty-icon {
  display: block;
  margin-bottom: 8px;
  opacity: 0.4;
}

/* ========================================
   Builder Badge & Level
   ======================================== */
.builder-badge {
  --builder-color: #E8700A;
  display: inline-flex;
  align-items: center;
  position: relative;
  vertical-align: middle;
  margin-left: 4px;
  cursor: default;
}

.builder-badge__img {
  width: 16px;
  height: 16px;
  display: block;
}

.builder-badge__img--lg {
  width: 20px;
  height: 20px;
}

/* Tooltip */
.builder-badge[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: var(--fs-xs);
  white-space: nowrap;
  z-index: 100;
  pointer-events: none;
}

/* Profile builder info */
.user-profile__builder-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 4px;
}

.user-profile__builder-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #E8700A;
}

.user-profile__builder-sep {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.user-profile__builder-point {
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

/* Progress bar */
.builder-progress {
  width: 100%;
  max-width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 6px auto 0;
  overflow: hidden;
}

.builder-progress__bar {
  height: 100%;
  background: #E8700A;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.builder-progress__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 3px;
  text-align: center;
}

/* ========================================
   Courses — List Page
   ======================================== */
/* ========================================
   Courses — List Page
   ======================================== */
.courses {
  padding-top: 120px;
  padding-bottom: 80px;
}

.courses__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ----------------------------------------
   My Classroom (내 강의실)
   ---------------------------------------- */
.my-classroom:empty {
  display: none;
}

.my-classroom {
  margin-bottom: 48px;
}

.my-classroom__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 16px;
}

.classroom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.classroom-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.classroom-card--completed {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.05);
}

.classroom-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.classroom-card__badge {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
}

.classroom-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
}

.classroom-card__progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.classroom-card__progress {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.classroom-card__progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.classroom-card__progress-text {
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.classroom-card__next {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.classroom-card__next-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.classroom-card__next-title {
  font-size: var(--fs-base);
  color: var(--text);
  font-weight: 500;
}

.classroom-card__reset {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
  margin-top: 4px;
  font-family: var(--font);
}

.classroom-card__reset:hover {
  color: var(--text-sub);
}

.classroom-card__cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.classroom-card__done {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-base);
}

.classroom-card__done svg {
  flex-shrink: 0;
}

.classroom-card__next-course {
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.classroom-card__next-course a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.courses__title {
  font-size: var(--fs-5xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.courses__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
}

/* ----------------------------------------
   Starter Hero
   ---------------------------------------- */
.starter-hero {
  display: flex;
  gap: 32px;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 48px;
}

.starter-hero--completed {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.04);
  text-align: center;
  justify-content: center;
}

.starter-hero__content {
  flex: 1;
}

.starter-hero__price-anchor {
  display: inline-block;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.starter-hero__price-anchor del {
  color: var(--text-muted);
  font-weight: 400;
}

.starter-hero__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.starter-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 10px;
}

.starter-hero__desc {
  font-size: var(--fs-md);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 14px;
}

.starter-hero__meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.starter-hero__cta {
  display: inline-block;
}

.starter-hero__bonus {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  margin-top: 10px;
}

.starter-hero__offer {
  padding: 16px 20px;
  background: rgba(232, 112, 10, 0.06);
  border: 1px solid rgba(232, 112, 10, 0.2);
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: center;
}

.starter-hero__offer-timer {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #e53e3e;
}

.starter-hero__offer-text {
  font-size: var(--fs-base);
  color: var(--text);
  margin: 6px 0;
}

.starter-hero__offer-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.starter-hero__offer-price del {
  font-size: var(--fs-md);
  color: var(--text-muted);
}

.starter-hero__offer-final {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--accent);
}

.starter-hero__offer-pct {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #e53e3e;
  background: rgba(229, 62, 62, 0.08);
  padding: 3px 10px;
  border-radius: 6px;
  margin-left: 4px;
}

.starter-hero__offer-expire {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 8px;
}

.starter-hero__sub-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.starter-hero__review {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.starter-hero__review:hover {
  color: var(--text-sub);
}

.starter-hero__reset {
  background: none;
  border: none;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0.5;
  font-family: var(--font);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.starter-hero__reset:hover {
  opacity: 1;
}

[data-theme="light"] .starter-hero__bonus {
  color: #1b5e20;
}

.starter-hero__thumb {
  width: 260px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.starter-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.courses__section-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 24px;
  margin-top: 56px;
}

/* ----------------------------------------
   Guide Featured
   ---------------------------------------- */
.guide-feature {
  margin-top: 48px;
}

.guide-ft {
  display: flex;
  gap: 32px;
  align-items: center;
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 32px;
  background: var(--bg-alt);
  transition: opacity 0.2s;
}

.guide-ft:hover {
  opacity: 0.92;
}

.guide-ft__content {
  flex: 1;
}

.guide-ft__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.guide-ft__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.guide-ft__subtitle {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-bottom: 8px;
}

.guide-ft__summary {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.guide-ft__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.guide-ft__original-price {
  font-size: var(--fs-md);
  color: var(--text-muted);
}

.guide-ft__price {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--accent);
}

.guide-ft__discount-pct {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #e53e3e;
  background: rgba(229, 62, 62, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}

.guide-ft__per-lesson {
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.guide-ft__duration {
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.guide-ft__guarantee {
  display: inline-block;
  font-size: var(--fs-xs);
  color: var(--text-sub);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  margin-bottom: 14px;
}

.guide-ft__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.guide-ft__checklist li {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  padding-left: 20px;
  position: relative;
}

.guide-ft__checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.guide-ft__cta {
  display: inline-block;
}

.guide-ft__thumb {
  width: 260px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.guide-ft__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.comparison-section {
  margin-bottom: 48px;
}

.comparison__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

/* ----------------------------------------
   Course Card Grid
   ---------------------------------------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* ── Catalog Card ── */
.course-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--bg);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.course-card--learning {
  border-color: var(--accent);
}

/* 썸네일 */
.course-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.course-card__thumb-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.3;
  text-align: center;
}

/* 카드 바디 */
.course-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px 20px;
  flex: 1;
}

/* 배지 */
.course-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius);
  background: rgba(232, 112, 10, 0.12);
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* 제목 */
.course-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* 한 줄 설명 */
.course-card__desc {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 메타 (레슨 수 · 시간) */
.course-card__meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 2px;
}

/* 가격 영역 */
.course-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.course-card__price {
  font-size: var(--fs-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.course-card__price--free {
  color: var(--accent);
}

.course-card__original-price {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: line-through;
}

/* 진도 */
.course-card__progress {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.course-card__progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s;
}

.course-card__progress-text {
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 600;
}

/* CTA (학습 중 카드용) */
.course-card__cta {
  display: block;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-align: center;
  margin-top: 4px;
  transition: background 0.2s;
}

.course-card__cta--primary {
  background: var(--accent);
  color: #fff;
}

.course-card:hover .course-card__cta--primary {
  background: #d4620a;
}

/* Card Chips */
.card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-sub);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius);
}

.card-chip--accent {
  color: var(--accent);
  border-color: rgba(232, 112, 10, 0.2);
  background: rgba(232, 112, 10, 0.06);
}

.course-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 8px;
}

.course-card__progress-text {
  color: var(--accent);
  font-weight: 600;
}

.course-card__progress {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.course-card__progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s;
}

/* ----------------------------------------
   Coming Soon & Crosssell
   ---------------------------------------- */
.coming-soon-section {
  margin-top: 56px;
}

.coming-soon-section__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.coming-soon-section__desc {
  font-size: var(--fs-base);
  color: var(--text-sub);
  margin-bottom: 24px;
}

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.coming-soon-item {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.coming-soon-item__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.coming-soon-item__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 8px;
}

.coming-soon-item__desc {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 16px;
}

.coming-soon-item__price {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text-sub);
}

@media (max-width: 768px) {
  .coming-soon-grid {
    grid-template-columns: 1fr;
  }
}

.coming-soon-card {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}

.coming-soon-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.coming-soon-card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.coming-soon-card__desc {
  font-size: var(--fs-base);
  color: var(--text-sub);
  line-height: 1.6;
}

.final-cta-section {
  margin-top: 56px;
}

.final-cta {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 48px 32px;
  text-align: center;
}

.final-cta__title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.final-cta__desc {
  font-size: var(--fs-base);
  color: var(--text-sub);
  margin-bottom: 24px;
}

.final-cta__btn {
  display: inline-block;
}

/* ========================================
   Courses — Detail Page
   ======================================== */
.course-detail {
  padding-top: 120px;
  padding-bottom: 80px;
}

.course-detail__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

.course-detail__back {
  display: inline-block;
  font-size: var(--fs-base);
  color: var(--text-sub);
  margin-bottom: 24px;
  transition: color 0.2s;
}

.course-detail__back:hover {
  color: var(--accent);
}

.course-detail__header {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.course-detail__info {
  flex: 1;
}

.course-detail__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.course-detail__badge--free {
  background: rgba(232, 112, 10, 0.12);
  color: var(--accent);
}

.course-detail__badge--paid {
  background: rgba(232, 112, 10, 0.12);
  color: var(--accent);
}

.course-detail__badge--premium {
  background: var(--accent);
  color: #fff;
}

.course-detail__title {
  font-size: var(--fs-5xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.course-detail__subtitle {
  font-size: var(--fs-lg);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.course-detail__summary {
  font-size: var(--fs-md);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

.course-detail__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  margin-bottom: 12px;
}

.course-detail__price {
  font-size: var(--fs-3xl);
  font-weight: 700;
}

.course-detail__price--free {
  color: var(--accent);
}

.course-detail__progress-area {
  margin-bottom: 16px;
}

.course-detail__progress {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 6px;
}

.course-detail__progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s;
}

.course-detail__progress-text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.course-detail__cta {
  margin-top: 8px;
  min-width: 240px;
}

.course-detail__thumb {
  width: 360px;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.course-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.course-detail__empty {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  text-align: center;
  padding: 80px 0;
}

.course-detail__sections-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.course-detail__lesson-count {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-muted);
}

/* ----------------------------------------
   Detail Chips (guarantee, requires, coaching)
   ---------------------------------------- */

.course-section--guide { opacity: 0.85; }

.lesson-sidebar__phase-header {
  padding: 10px 16px;
  margin-top: 16px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lesson-sidebar__phase-header:first-child {
  margin-top: 0;
}

.course-section {
  margin-bottom: 32px;
}

.course-section__title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.course-section__lessons {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.course-lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 8px;
  transition: background 0.15s;
  font-size: var(--fs-base);
}

.course-lesson--unlocked:hover,
.course-lesson--completed:hover,
.course-lesson--preview:hover {
  background: var(--bg-alt);
}

.course-lesson--locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.course-lesson__icon {
  display: flex;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
}

.course-lesson--completed .course-lesson__icon {
  background: var(--accent);
  color: #fff;
}

.course-lesson--preview .course-lesson__icon {
  background: rgba(232, 112, 10, 0.12);
  color: var(--accent);
}

.course-lesson__title {
  flex: 1;
  font-weight: 500;
}

.course-lesson__duration {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  flex-shrink: 0;
}

.course-lesson__tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.course-lesson__tag--completed {
  color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
}

.course-lesson__tag--locked {
  color: var(--text-muted);
  background: var(--bg-alt);
}

.course-lesson__tag--preview {
  color: var(--accent);
  background: rgba(232, 112, 10, 0.08);
}

/* ----------------------------------------
   Social Proof
   ---------------------------------------- */
.social-proof {
  margin-top: 48px;
  margin-bottom: 48px;
}

.social-proof__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 20px;
}

.social-proof__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.social-proof__item {
  display: flex;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
}

.social-proof__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-base);
  flex-shrink: 0;
}

.social-proof__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.social-proof__text {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.6;
}

/* ----------------------------------------
   Value Breakdown
   ---------------------------------------- */
.value-breakdown {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
}

.value-breakdown__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 20px;
}

.value-breakdown__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.value-breakdown__stat {
  text-align: center;
  padding: 16px 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
}

.value-breakdown__number {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.value-breakdown__label {
  font-size: var(--fs-xs);
  color: var(--text-sub);
}

.value-breakdown__checklist {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.value-breakdown__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.value-breakdown__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text);
}

.value-breakdown__list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ----------------------------------------
   Instructor Section
   ---------------------------------------- */
.instructor-section {
  margin-bottom: 40px;
}

.instructor-section__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 16px;
}

.instructor-section__card {
  display: flex;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  align-items: center;
}

.instructor-section__info {
  flex: 1;
}

.instructor-section__name {
  font-size: var(--fs-lg);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

.instructor-section__credential {
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.instructor-section__desc {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.6;
}

.instructor-section__stats {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.instructor-section__stat {
  text-align: center;
}

.instructor-section__stat-value {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--accent);
}

.instructor-section__stat-label {
  font-size: var(--fs-xs);
  color: var(--text-sub);
}

/* ----------------------------------------
   Social Proof Enhancements
   ---------------------------------------- */
.social-proof__role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.social-proof__outcome {
  display: inline-block;
  margin-top: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ----------------------------------------
   FAQ Section
   ---------------------------------------- */
.faq-section {
  margin-top: 48px;
  margin-bottom: 48px;
}

.faq-section__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 20px;
}

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

.faq-item summary {
  padding: 16px 20px;
  font-size: var(--fs-base);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}

.faq-item summary:hover {
  background: var(--bg-alt);
}

.faq-item summary::before {
  content: "+";
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  transition: transform 0.2s;
}

.faq-item[open] summary::before {
  content: "\2212";
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__answer {
  padding: 0 20px 16px 48px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.7;
}

/* ----------------------------------------
   CTA Guarantee & Wrap
   ---------------------------------------- */
.course-detail__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
}

.course-detail__cta-guarantee {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.course-detail__cta-reset {
  font-size: var(--fs-xs);
  padding: 6px 12px;
  opacity: 0.5;
}

.course-detail__cta-reset:hover {
  opacity: 1;
}

/* ----------------------------------------
   Sticky CTA (mobile only)
   ---------------------------------------- */
/* Bottom CTA - after FAQ */
.bottom-cta {
  text-align: center;
  padding: 48px 24px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.bottom-cta__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 8px;
}
.bottom-cta__subtitle {
  font-size: var(--fs-base);
  color: var(--text-sub);
  margin-bottom: 24px;
}
.bottom-cta__btn {
  font-size: var(--fs-base);
  padding: 14px 32px;
}
.bottom-cta__guarantee {
  display: block;
  margin-top: 12px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}
.bottom-cta__pricing { margin-bottom: 16px; }
.bottom-cta__price-current {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--accent);
}

/* Sticky CTA - hidden by default, shown via JS */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  display: none;
}
.sticky-cta--visible {
  display: block;
}
@media (min-width: 769px) {
  .sticky-cta--visible { display: none; }
}
.sticky-cta__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sticky-cta__price {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--accent);
}

.sticky-cta__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sticky-cta__title {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-cta__btn {
  flex-shrink: 0;
}

/* ----------------------------------------
   Journey Steps
   ---------------------------------------- */
.journey-steps {
  margin-bottom: 48px;
}

.journey-steps__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

.journey-steps__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.journey-steps__connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
}

.journey-steps__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  flex: 1;
  max-width: 260px;
  gap: 6px;
  transition: border-color 0.2s, transform 0.2s;
}

.journey-steps__item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.journey-steps__step {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
}

.journey-steps__name {
  font-size: var(--fs-base);
  font-weight: 700;
}

.journey-steps__price {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
}

.journey-steps__desc {
  font-size: var(--fs-xs);
  color: var(--text-sub);
  line-height: 1.5;
}

/* ----------------------------------------
   Starter Hero Proof
   ---------------------------------------- */
.starter-hero__proof {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ----------------------------------------
   Completion Screen
   ---------------------------------------- */
.completion-screen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px 24px;
  overflow: hidden;
}

.completion-screen__content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.completion-screen__icon {
  font-size: 64px;
  margin-bottom: 16px;
  animation: completionBounce 0.6s ease-out;
}

@keyframes completionBounce {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.completion-screen__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.completion-screen__text {
  font-size: var(--fs-base);
  color: var(--text-sub);
  margin-bottom: 24px;
}

.completion-screen__cta {
  display: inline-block;
  margin-bottom: 12px;
}

.completion-screen__link {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color 0.2s;
}

.completion-screen__link:hover {
  color: var(--accent);
}
.completion-screen__share { margin-top: 12px; }

/* Next Course Recommendation */
.completion-screen__next-course {
  margin: 28px 0;
  text-align: left;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.completion-screen__next-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-align: center;
}

.completion-screen__coupon {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
  text-align: center;
}

.completion-screen__coupon-badge {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.completion-screen__coupon-desc {
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.completion-screen__next-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.completion-screen__next-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.1);
}

.completion-screen__next-info {
  flex: 1;
  min-width: 0;
}

.completion-screen__next-title {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 4px;
}

.completion-screen__next-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.completion-screen__next-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
}

.completion-screen__next-price-original {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-decoration: line-through;
}

.completion-screen__next-price-discount {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--accent);
}

.completion-screen__next-price-current {
  font-size: var(--fs-base);
  font-weight: 700;
}

.completion-screen__next-arrow {
  font-size: 20px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Course Detail Coupon */
.course-detail__coupon-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 8px;
}

.bottom-cta__coupon-badge {
  display: block;
  margin-top: 8px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
}

/* Alumni completion */

/* Particles */
.completion-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  animation: particleFly 2s ease-out forwards;
}

.completion-particle--1 { background: var(--accent); top: 50%; left: 50%; animation-delay: 0.1s; --px: -80px; --py: -120px; }
.completion-particle--2 { background: #f6ad55; top: 50%; left: 50%; animation-delay: 0.2s; --px: 90px; --py: -100px; }
.completion-particle--3 { background: #68d391; top: 50%; left: 50%; animation-delay: 0.3s; --px: -60px; --py: 80px; }
.completion-particle--4 { background: #63b3ed; top: 50%; left: 50%; animation-delay: 0.4s; --px: 100px; --py: 60px; }
.completion-particle--5 { background: #fc8181; top: 50%; left: 50%; animation-delay: 0.15s; --px: -110px; --py: -30px; }
.completion-particle--6 { background: #b794f4; top: 50%; left: 50%; animation-delay: 0.35s; --px: 70px; --py: -80px; }

@keyframes particleFly {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--px), var(--py)) scale(0); opacity: 0; }
}

/* ----------------------------------------
   Course Card Step & Cost Per Lesson
   ---------------------------------------- */
.course-card__step {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 1;
}

.course-card__cost-per-lesson {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: -4px;
  margin-bottom: 8px;
}

/* ----------------------------------------
   Lesson Upsell Enhancements
   ---------------------------------------- */

/* ========================================
   Lesson Viewer
   ======================================== */
.lesson-viewer-page {
  padding-top: 64px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.lesson-viewer {
  flex: 1;
  display: flex;
  min-height: 0;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Sidebar */
.lesson-viewer__sidebar {
  width: 300px;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--bg);
}

.lesson-sidebar__back {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-sub);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.lesson-sidebar__back:hover {
  color: var(--accent);
}

.lesson-sidebar__progress {
  width: 100%;
  height: 3px;
  background: var(--border);
}

.lesson-sidebar__progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s;
}

.lesson-sidebar__bonus {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  padding: 8px 12px;
  background: rgba(232, 112, 10, 0.06);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .lesson-sidebar__bonus {
  color: var(--accent);
}

.lesson-sidebar__list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.lesson-sidebar__section {
  margin-bottom: 8px;
}

.lesson-sidebar__section-title {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 20px 4px;
}

.lesson-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: var(--fs-sm);
  transition: background 0.15s;
}

.lesson-sidebar__item:hover {
  background: var(--bg-alt);
}

.lesson-sidebar__item--active {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--accent);
}

.lesson-sidebar__item--completed {
  color: var(--text-sub);
}

.lesson-sidebar__item--locked {
  opacity: 0.4;
  cursor: not-allowed;
}

.lesson-sidebar__status {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  font-size: var(--fs-xs);
}

.lesson-sidebar__title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-sidebar__duration {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  flex-shrink: 0;
}

/* 사이드바 부트캠프 힌트 */

/* Main content */
.lesson-viewer__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lesson-viewer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.lesson-viewer__menu-btn {
  display: none;
  color: var(--text-sub);
}

.lesson-viewer__lesson-title {
  font-size: var(--fs-base);
  font-weight: 600;
  flex: 1;
  text-align: center;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lesson-viewer__counter {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

/* Video Player Mockup */
.video-player {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
}

.video-player__screen {
  width: 100%;
  max-width: 840px;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border);
}

.video-player__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.video-player__screen:hover .video-player__placeholder {
  color: var(--accent);
}

.video-player__duration {
  font-size: var(--fs-lg);
  font-weight: 600;
}

.video-player__preview-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Lesson Script (summary below video player) */
.lesson-script {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 24px;
}

.lesson-script__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.lesson-script__text {
  font-size: var(--fs-base);
  color: var(--text-sub);
  line-height: 1.8;
  word-break: keep-all;
}

.lesson-script__text p {
  margin: 0;
}

@media (max-width: 768px) {
  .lesson-script {
    padding: 16px;
  }

  .lesson-script__title {
    font-size: var(--fs-base);
  }
}

@media (max-width: 480px) {
  .lesson-script__text {
    font-size: var(--fs-sm);
    line-height: 1.7;
  }
}

/* Video Viewer (YouTube embed + script) */
.video-viewer {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-height: 0;
  gap: 24px;
  align-items: center;
}

.video-viewer__embed {
  width: 100%;
  max-width: 840px;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-viewer__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-viewer__preview-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
}

.video-viewer__placeholder {
  width: 100%;
  max-width: 840px;
  aspect-ratio: 16 / 9;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.video-viewer__placeholder-text {
  font-size: var(--fs-lg);
  font-weight: 600;
}

.video-viewer__placeholder-duration {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.video-viewer__script {
  width: 100%;
  max-width: 680px;
}

.video-viewer__script-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.video-viewer__script-text {
  font-size: var(--fs-base);
  color: var(--text-sub);
  line-height: 1.8;
  word-break: keep-all;
}

.video-viewer__script-text p {
  margin: 0 0 12px;
}

.video-viewer__script-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .video-viewer {
    padding: 24px 32px;
  }

  .video-viewer__embed,
  .video-viewer__placeholder {
    max-width: 840px;
  }

  .video-viewer__script {
    max-width: 840px;
  }
}

@media (max-width: 768px) {
  .video-viewer {
    padding: 16px;
    gap: 16px;
  }

  .video-viewer__script-title {
    font-size: var(--fs-base);
  }

  .video-viewer__script-text {
    font-size: var(--fs-sm);
    line-height: 1.7;
  }
}

/* Assignment */
.video-viewer__assignment {
  width: 100%;
  max-width: 680px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  background: var(--surface);
}

.video-viewer__assignment-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
}

.video-viewer__assignment-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.video-viewer__assignment-task {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0 0 20px;
}

.video-viewer__assignment-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  text-decoration: none;
}

.video-viewer__assignment-tag {
  display: inline-block;
  margin-left: 12px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .video-viewer__assignment {
    max-width: 840px;
  }
}

@media (max-width: 768px) {
  .video-viewer__assignment {
    padding: 16px;
  }

  .video-viewer__assignment-title {
    font-size: var(--fs-sm);
  }
}

/* Slide Viewer */
.slide-viewer {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  min-height: 0;
  gap: 16px;
  align-items: center;
}

.slide-viewer__display {
  width: 100%;
  max-width: 840px;
  aspect-ratio: 16 / 9;
  background: #1A1A1A;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.slide-viewer__svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-viewer__svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.slide-viewer__loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  z-index: 1;
}

.slide-viewer__preview-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}

.slide-viewer__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
  z-index: 2;
}

.slide-viewer__display:hover .slide-viewer__nav {
  opacity: 1;
}

.slide-viewer__nav:hover {
  background: rgba(232, 112, 10, 0.8);
}

.slide-viewer__nav:disabled {
  opacity: 0 !important;
  cursor: default;
}

.slide-viewer__nav--prev {
  left: 12px;
}

.slide-viewer__nav--next {
  right: 12px;
}

.slide-viewer__indicators {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 840px;
  justify-content: center;
}

.slide-viewer__dots {
  display: flex;
  gap: 8px;
}

.slide-viewer__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slide-viewer__dot--active {
  background: var(--accent);
  transform: scale(1.2);
}

.slide-viewer__dot:hover:not(.slide-viewer__dot--active) {
  background: var(--text-muted);
}

.slide-viewer__counter {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.slide-viewer__script {
  width: 100%;
  max-width: 680px;
  padding: 24px 0;
}

.slide-viewer__script-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.slide-viewer__script-text {
  font-size: var(--fs-base);
  color: var(--text-sub);
  line-height: 1.8;
  word-break: keep-all;
}

.slide-viewer__script-text p {
  margin: 0 0 1em 0;
}

.slide-viewer__script-text p:last-child {
  margin-bottom: 0;
}

/* Slide Viewer — Responsive */
@media (max-width: 768px) {
  .slide-viewer {
    padding: 16px;
    gap: 12px;
  }

  .slide-viewer__nav {
    width: 36px;
    height: 36px;
    opacity: 0.7;
  }

  .slide-viewer__nav--prev { left: 8px; }
  .slide-viewer__nav--next { right: 8px; }

  .slide-viewer__script {
    padding: 16px 0;
  }

  .slide-viewer__script-title {
    font-size: var(--fs-base);
  }
}

@media (max-width: 480px) {
  .slide-viewer {
    padding: 12px;
    gap: 8px;
  }

  .slide-viewer__display {
    border-radius: 8px;
  }

  .slide-viewer__nav {
    width: 32px;
    height: 32px;
    opacity: 0.8;
  }

  .slide-viewer__nav--prev { left: 4px; }
  .slide-viewer__nav--next { right: 4px; }

  .slide-viewer__dot {
    width: 8px;
    height: 8px;
  }

  .slide-viewer__script-text {
    font-size: var(--fs-sm);
    line-height: 1.7;
  }
}

/* Lesson Upsell */

/* Lesson Footer */
.lesson-viewer__footer {
  padding: 16px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lesson-viewer__complete-btn {
  min-width: 200px;
}

.lesson-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.lesson-nav__link {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  transition: color 0.2s;
}

.lesson-nav__link:hover {
  color: var(--accent);
}

.lesson-viewer__empty {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  text-align: center;
  padding: 80px 0;
}

.lesson-viewer__locked-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 24px;
  text-align: center;
  color: var(--text-sub);
}

/* ========================================
   Courses Responsive: 768px
   ======================================== */
@media (max-width: 768px) {
  .courses {
    padding-top: 96px;
  }

  .courses__inner {
    padding: 0 24px;
  }

  .courses__title {
    font-size: var(--fs-4xl);
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .starter-hero {
    flex-direction: column;
    padding: 28px;
  }

  .starter-hero__thumb {
    width: 100%;
  }

  .starter-hero__title {
    font-size: var(--fs-3xl);
  }

  .guide-ft {
    flex-direction: column;
    padding: 24px;
  }

  .guide-ft__thumb {
    width: 100%;
  }

  .course-detail {
    padding-top: 96px;
  }

  .course-detail__inner {
    padding: 0 24px;
  }

  .course-detail__header {
    flex-direction: column;
  }

  .course-detail__thumb {
    width: 100%;
  }

  .course-detail__title {
    font-size: var(--fs-4xl);
  }

  .social-proof__list {
    grid-template-columns: 1fr;
  }

  /* Value breakdown responsive */
  .value-breakdown__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .value-breakdown__number {
    font-size: var(--fs-lg);
  }

  /* Instructor responsive */
  .instructor-section__card {
    flex-direction: column;
    align-items: flex-start;
  }

  .instructor-section__stats {
    width: 100%;
    justify-content: space-around;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  /* Journey steps responsive - vertical */
  .journey-steps__track {
    flex-direction: column;
    gap: 0;
  }

  .journey-steps__connector {
    width: 2px;
    height: 24px;
  }

  .journey-steps__item {
    max-width: 100%;
    width: 100%;
  }

  /* Sticky CTA - mobile */
  .sticky-cta__inner {
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
  }
  .sticky-cta__btn {
    width: 100%;
  }

  /* FAQ responsive */
  .faq-item__answer {
    padding-left: 20px;
  }

  /* Lesson viewer sidebar as overlay */
  .lesson-viewer__sidebar {
    position: fixed;
    left: 0;
    top: 64px;
    bottom: 0;
    z-index: 101;
    transform: translateX(-100%);
    transition: transform 0.25s;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
  }

  .lesson-viewer--sidebar-open .lesson-viewer__sidebar {
    transform: translateX(0);
  }

  .lesson-viewer__sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(0, 0, 0, 0.4);
    z-index: 100;
  }

  .lesson-viewer--sidebar-open .lesson-viewer__sidebar-overlay {
    display: block;
  }

  .lesson-viewer__menu-btn {
    display: flex;
  }
}

/* ========================================
   Courses Responsive: 480px
   ======================================== */
@media (max-width: 480px) {
  .courses {
    padding-top: 80px;
  }

  .courses__inner {
    padding: 0 20px;
  }

  .courses__title {
    font-size: var(--fs-3xl);
  }

  .starter-hero {
    padding: 20px;
  }

  .starter-hero__title {
    font-size: var(--fs-2xl);
  }

  .starter-hero__price-anchor {
    font-size: var(--fs-base);
  }

  .guide-ft {
    padding: 20px;
  }

  .guide-ft__title {
    font-size: var(--fs-2xl);
  }

  .course-detail {
    padding-top: 80px;
  }

  .course-detail__inner {
    padding: 0 20px;
  }

  .course-detail__title {
    font-size: var(--fs-3xl);
  }

  .video-player {
    padding: 12px;
  }

  .lesson-viewer__header {
    padding: 12px 16px;
  }

  .lesson-viewer__footer {
    padding: 12px 16px 24px;
  }

  .lesson-nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .value-breakdown {
    padding: 20px;
  }

  .value-breakdown__stats {
    gap: 6px;
  }

  .value-breakdown__stat {
    padding: 12px 4px;
  }

  .value-breakdown__number {
    font-size: var(--fs-base);
  }

  .instructor-section__stats {
    gap: 12px;
  }

  .completion-screen {
    min-height: 300px;
    padding: 24px 16px;
  }

  .completion-screen__title {
    font-size: var(--fs-2xl);
  }
}

/* ========================================
   Upsell Page (inline, not overlay)
   ======================================== */
.upsell-page {
  max-width: 540px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Confirm Bar */
.upsell-page__confirm-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.upsell-page__confirm-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.upsell-page__confirm-text {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #2e7d32;
}

.upsell-page__confirm-skip {
  margin-left: auto;
  font-size: var(--fs-xs);
  color: var(--text-sub);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.upsell-page__confirm-skip:hover {
  color: var(--text);
}

/* Offer Badge */
.upsell-page__offer-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #e53e3e;
  background: rgba(229, 62, 62, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* Divider (legacy) */
.upsell-page__divider {
  text-align: center;
  margin: 8px 0 32px;
  position: relative;
}

.upsell-page__divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--border);
}

.upsell-page__divider-text {
  position: relative;
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  background: var(--bg);
  padding: 0 16px;
}

/* Offer Section */
.upsell-page__offer {
  text-align: center;
}

.upsell-page__offer-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.upsell-page__offer-desc {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-bottom: 20px;
}

/* Journey Steps */
.upsell-page__journey {
  margin-bottom: 8px;
}

.upsell-page__journey-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 16px;
}

.upsell-page__journey-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.upsell-page__journey-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.upsell-page__journey-step div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.upsell-page__journey-step strong {
  font-size: var(--fs-sm);
}

.upsell-page__journey-step span:not(.upsell-page__journey-num) {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.upsell-page__journey-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: var(--fs-xs);
  font-weight: 700;
  flex-shrink: 0;
  background: var(--border);
  color: var(--text-muted);
}

.upsell-page__journey-step--done .upsell-page__journey-num {
  background: rgba(46, 125, 50, 0.15);
  color: #2e7d32;
}

.upsell-page__journey-step--current {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.04);
}

.upsell-page__journey-step--current .upsell-page__journey-num {
  background: var(--accent);
  color: #fff;
}

.upsell-page__journey-step--next {
  opacity: 0.6;
}

.upsell-page__journey-connector {
  width: 2px;
  height: 12px;
  background: var(--border);
  margin-left: 29px;
}

.upsell-page__compare-sub {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Price Table */
.upsell-page__price-table {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.upsell-page__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: var(--fs-base);
  color: var(--text);
}

.upsell-page__price-row--discount {
  color: #2e7d32;
}

.upsell-page__price-row--total {
  border-top: 2px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--accent);
}

.upsell-page__price-saved {
  text-align: right;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 6px;
}

/* Compare Table */
.upsell-page__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.upsell-page__compare-col {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: left;
}

.upsell-page__compare-col--highlight {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.06);
}

.upsell-page__compare-header {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.upsell-page__compare-col--highlight .upsell-page__compare-header {
  color: var(--accent);
}

.upsell-page__compare-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upsell-page__compare-col li {
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.upsell-page__compare-col--highlight li {
  color: var(--text);
  font-weight: 500;
}

/* Benefits */
.upsell-page__benefits {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.upsell-page__benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text);
}

.upsell-page__benefits li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Value Box */
.upsell-page__value-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  text-align: left;
}

.upsell-page__value-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.upsell-page__value-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.upsell-page__value-list li {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-base);
  color: var(--text);
  line-height: 1.5;
}

.upsell-page__value-list li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.upsell-page__value-amount {
  margin-left: auto;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  white-space: nowrap;
}

.upsell-page__value-note {
  display: block;
  width: 100%;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: -4px;
  padding-left: 26px;
}

.upsell-page__value-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 12px;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text);
}

/* Price Note */
.upsell-page__price-note {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #2e7d32;
  text-align: center;
  margin-top: 10px;
}

/* Per Session */
.upsell-page__per-session {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  margin-bottom: 12px;
}

/* Guarantee */
.upsell-page__guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
  margin-bottom: 20px;
}

.upsell-page__guarantee svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Timer */
.upsell-page__timer {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #e53e3e;
  background: rgba(229, 62, 62, 0.08);
  padding: 8px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* CTA */
.upsell-page__cta {
  width: 100%;
  font-size: var(--fs-lg);
  padding: 14px 24px;
}

.upsell-page__installment {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 16px;
}

/* Decline */
.upsell-page__decline {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px;
  font-family: var(--font);
}

.upsell-page__decline:hover {
  color: var(--text-sub);
}

/* Downsell */
.upsell-page__downsell {
  padding: 20px 0;
  text-align: center;
}

.upsell-page__downsell-text {
  font-size: var(--fs-md);
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 24px;
}

.upsell-page__downsell-confirm {
  min-width: 120px;
}

/* Responsive */
@media (max-width: 600px) {
  .upsell-page {
    padding: 12px 0;
  }

  .upsell-page__success-title {
    font-size: var(--fs-xl);
  }

  .upsell-page__offer-title {
    font-size: var(--fs-xl);
  }

  .upsell-page__compare {
    grid-template-columns: 1fr;
  }
}

/* Bonus discount row (green, bold) */
.upsell-page__price-row--bonus {
  color: #2e7d32;
  font-weight: 700;
  background: rgba(46, 125, 50, 0.06);
  border-radius: 6px;
  padding: 6px 8px;
}

/* Countdown timer */
.upsell-page__countdown {
  font-size: var(--fs-sm);
  color: #e53e3e;
  font-weight: 600;
  margin-bottom: 16px;
}

.upsell-page__countdown-timer {
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #e53e3e;
}

/* Price comparison (24h vs now) */
.upsell-page__price-compare {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.upsell-page__price-compare del {
  color: var(--text-muted);
}

.upsell-page__price-compare strong {
  color: var(--accent);
  font-size: var(--fs-md);
}

.upsell-page__price-compare-save {
  font-weight: 700;
  color: #2e7d32;
  font-size: var(--fs-base);
}

/* Immediate bonus banner on bootcamp detail page */
.immediate-bonus-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.immediate-bonus-banner strong {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #2e7d32;
}

.immediate-bonus-banner span {
  font-size: var(--fs-xs);
  color: #2e7d32;
}

/* Price area bonus label */
.course-detail__immediate-bonus {
  width: 100%;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #2e7d32;
}

/* Classroom upgrade banner */
.classroom-upgrade-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(232, 112, 10, 0.06);
  border: 1px solid rgba(232, 112, 10, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.classroom-upgrade-banner__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.classroom-upgrade-banner__text strong {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--accent);
}

.classroom-upgrade-banner__text span {
  font-size: var(--fs-xs);
  color: var(--text-sub);
}

.classroom-upgrade-banner__countdown {
  color: #d32f2f;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.classroom-upgrade-banner__cta {
  flex-shrink: 0;
  font-size: var(--fs-sm);
  padding: 8px 16px;
}

@media (max-width: 600px) {
  .classroom-upgrade-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   Lesson Upsell Page (completion + offer)
   ======================================== */
/* ----------------------------------------
   Lesson Upsell Content (type: "upsell" 레슨)
   ---------------------------------------- */

/* ----------------------------------------
   Lesson Alumni Content
   ---------------------------------------- */

/* ----------------------------------------
   Lesson Upsell Section (별도 섹션)
   ---------------------------------------- */

@media (max-width: 480px) {
}

/* ========================================
   Global Toast
   ======================================== */
.g-toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px) scale(.95);
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 14px 20px;
  font-size: var(--fs-md);
  line-height: 1.5;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s cubic-bezier(.4,0,.2,1), transform .3s cubic-bezier(.4,0,.2,1);
  max-width: calc(100vw - 32px);
  min-width: 280px;
  overflow: hidden;
}

.g-toast__body {
  display: flex;
  align-items: center;
  gap: 10px;
}

.g-toast__icon {
  flex-shrink: 0;
}

.g-toast__icon--success {
  color: var(--accent);
}

.g-toast__icon--warn {
  color: #e53e3e;
}

.g-toast__msg {
  flex: 1;
}

.g-toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 12px 12px;
  width: 100%;
}

.g-toast--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.g-toast--warn {
  border-color: #e53e3e;
  background: rgba(229,62,62,.1);
}

.g-toast--warn .g-toast__progress {
  background: #e53e3e;
}

.g-toast__action {
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-md);
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  font-family: var(--font);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .g-toast {
    top: auto;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px) scale(.95);
  }
  .g-toast--visible {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* ========================================
   Image Lightbox
   ======================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__prev {
  left: 16px;
}

.lightbox__next {
  right: 16px;
}

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-family: var(--font);
  letter-spacing: 0.5px;
}

/* Lightbox trigger cursor */
.post__image[data-lightbox-group],
.comment__image[data-lightbox-group] {
  cursor: zoom-in;
}

@media (max-width: 768px) {
  .lightbox__prev,
  .lightbox__next {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  .lightbox__close {
    top: 10px;
    right: 12px;
    font-size: 30px;
  }

  .lightbox__counter {
    bottom: 14px;
    font-size: 13px;
  }
}

/* ========================================
   Quiz: 퇴사 자격 테스트
   ======================================== */

.quiz-page {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 60px;
}

.quiz-container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Intro ── */

.quiz-intro {
  text-align: center;
  padding: 40px 0;
}

.quiz-shared-banner {
  background: var(--bg-alt);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  font-size: var(--fs-lg);
  color: var(--text);
  line-height: 1.6;
  text-align: center;
}

.quiz-shared-banner__score {
  font-size: var(--fs-6xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 4px;
}

.quiz-shared-banner strong {
  color: var(--accent);
}

.quiz-shared-banner__challenge {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  margin-top: 8px;
}

.quiz-intro__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 24px;
}

.quiz-intro__title {
  font-size: var(--fs-7xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.quiz-intro__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 32px;
}

.quiz-intro__info {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 40px;
  list-style: none;
}

.quiz-intro__info li::before {
  content: '·';
  margin-right: 0;
}

.quiz-intro__info li:first-child::before {
  content: '';
}

.quiz-intro__start {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 12px;
  padding: 16px 32px;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.quiz-intro__start:hover {
  opacity: 0.9;
}

.quiz-intro__resume {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 14px 32px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-sub);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.quiz-intro__resume:hover {
  border-color: var(--text-sub);
}

/* ── Progress Bar ── */

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.quiz-progress__bar {
  flex: 1;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
}

.quiz-progress__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.quiz-progress__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ── Question ── */

.quiz-question {
  padding: 20px 0;
}

.quiz-question__category {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.quiz-question__text {
  font-size: var(--fs-3xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 32px;
}

/* ── Options ── */

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.quiz-option:hover {
  border-color: var(--text-muted);
}

.quiz-option--selected {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.08);
}

.quiz-option__marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.quiz-option--selected .quiz-option__marker {
  color: var(--accent);
  border-color: var(--accent);
}

.quiz-option__text {
  font-size: var(--fs-lg);
  line-height: 1.5;
  padding-top: 3px;
}

/* ── Navigation ── */

.quiz-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.quiz-nav__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  font-size: var(--fs-md);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
}

.quiz-nav__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.quiz-nav__btn--prev {
  color: var(--text-sub);
  background: transparent;
  border: 1px solid var(--border);
}

.quiz-nav__btn--prev:not(:disabled):hover {
  border-color: var(--text-sub);
}

.quiz-nav__btn--next {
  color: #fff;
  background: var(--accent);
  border: none;
  margin-left: auto;
}

.quiz-nav__btn--next:not(:disabled):hover {
  opacity: 0.9;
}

/* ── Loading ── */

.quiz-loading {
  text-align: center;
  padding: 120px 0;
}

.quiz-loading__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: quiz-spin 0.8s linear infinite;
}

@keyframes quiz-spin {
  to { transform: rotate(360deg); }
}

.quiz-loading__text {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.quiz-loading__sub {
  font-size: var(--fs-md);
  color: var(--text-muted);
}

/* ── Result ── */

.quiz-result {
  padding: 20px 0 40px;
}

.quiz-result__header {
  text-align: center;
  margin-bottom: 40px;
}

.quiz-result__label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.quiz-result__score {
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.quiz-result__unit {
  font-size: 36px;
  font-weight: 500;
  opacity: 0.6;
}

.quiz-result__grade {
  font-size: var(--fs-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.quiz-result__subtitle {
  font-size: var(--fs-lg);
  color: var(--text-sub);
}

/* ── Chart ── */

.quiz-result__chart {
  margin-bottom: 40px;
}

.quiz-result__section-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.quiz-bar {
  margin-bottom: 24px;
}

.quiz-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.quiz-bar__label {
  font-size: var(--fs-md);
  font-weight: 600;
}

.quiz-bar__score {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.quiz-bar__track {
  height: 10px;
  background: var(--bg-alt);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 6px;
}

.quiz-bar__fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s ease;
}

.quiz-bar__feedback {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Gated Content ── */

.quiz-result__gated--locked .quiz-gate__blurred {
  max-height: 120px;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.quiz-result__gated .quiz-gate__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 24px;
  margin: -8px 0 32px 0;
  background: var(--bg-alt);
}

/* ── Action Plan ── */

.quiz-result__action-plan {
  margin-bottom: 32px;
}

.quiz-action {
  padding: 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
}

.quiz-action__category {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.quiz-action__text {
  font-size: var(--fs-md);
  color: var(--text-sub);
  line-height: 1.6;
}

.quiz-action__perfect {
  font-size: var(--fs-lg);
  color: var(--accent);
  font-weight: 600;
}

/* ── Recommended Posts ── */

.quiz-result__posts {
  margin-bottom: 32px;
}

.quiz-posts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-posts__link {
  display: block;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: var(--fs-md);
  font-weight: 500;
  transition: border-color 0.2s;
}

.quiz-posts__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Share Buttons ── */

.quiz-result__share {
  margin-bottom: 32px;
}

.quiz-share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.quiz-share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex: 1;
  justify-content: center;
  min-width: 140px;
}

.quiz-share-btn:hover {
  border-color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
}

.quiz-share-btn--kakao {
  background: #FEE500;
  border-color: #FEE500;
  color: #3C1E1E;
}

.quiz-share-btn--kakao:hover {
  background: #F5DC00;
  border-color: #F5DC00;
}

/* ── Community CTA ── */

.quiz-result__cta-community {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  margin-bottom: 24px;
}

.quiz-result__cta-community p {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-bottom: 16px;
}

.quiz-result__community-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s;
}

.quiz-result__community-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Retry Button ── */

.quiz-result__retry-btn {
  display: block;
  width: 100%;
  padding: 14px;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.quiz-result__retry-btn:hover {
  border-color: var(--text-sub);
}

/* ── Quiz Responsive: 480px ── */

@media (max-width: 480px) {
  .quiz-page {
    padding: 70px 16px 40px;
  }

  .quiz-intro__title {
    font-size: var(--fs-5xl);
  }

  .quiz-intro__desc {
    font-size: var(--fs-md);
  }

  .quiz-intro__info {
    gap: 16px;
    font-size: var(--fs-xs);
  }

  .quiz-question__text {
    font-size: var(--fs-xl);
  }

  .quiz-option {
    padding: 14px 16px;
  }

  .quiz-option__text {
    font-size: var(--fs-md);
  }

  .quiz-result__score {
    font-size: 72px;
  }

  .quiz-result__unit {
    font-size: 28px;
  }

  .quiz-result__grade {
    font-size: var(--fs-3xl);
  }

  .quiz-share-buttons {
    flex-direction: column;
  }

  .quiz-share-btn {
    min-width: 100%;
  }

  .quiz-article-card {
    padding: 14px 16px;
  }

  .quiz-other-test__card {
    padding: 24px 20px;
  }
}

/* ── Category Block ── */

.quiz-category-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.quiz-category-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quiz-category-block .quiz-bar {
  margin-bottom: 12px;
}

.quiz-category-block .quiz-action {
  margin-bottom: 12px;
}

/* ── Article Card ── */

.quiz-article-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: rgba(232, 112, 10, 0.06);
  border: 1px solid rgba(232, 112, 10, 0.25);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.quiz-article-card:hover {
  border-color: var(--accent);
  border-left-color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
}

.quiz-article-card__label {
  font-size: var(--fs-xs);
  color: var(--accent);
  font-weight: 600;
}

.quiz-article-card__title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.quiz-article-card__cta {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

/* ── Other Test Card ── */

.quiz-other-test {
  margin-bottom: 24px;
}

.quiz-other-test__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.quiz-other-test__card:hover {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.04);
}

.quiz-other-test__label {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.quiz-other-test__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.quiz-other-test__subtitle {
  font-size: var(--fs-md);
  color: var(--text-sub);
}

.quiz-other-test__cta {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

/* ── Quiz Community CTA ── */

.quiz-community-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 16px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: var(--fs-md);
  font-weight: 700;
  transition: opacity 0.2s;
}

.quiz-community-cta:hover {
  opacity: 0.9;
}

.quiz-community-cta__arrow {
  font-size: 1.2em;
}

/* ========================================
   PWA Top Banner (Community — Mobile Only)
   ======================================== */
.pwa-top-banner {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 12px;
  animation: pwaTopFadeIn .3s ease;
}
.pwa-top-banner--hiding {
  animation: pwaTopFadeOut .25s ease forwards;
}
.pwa-top-banner__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pwa-top-banner__text {
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.4;
  min-width: 0;
}
.pwa-top-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pwa-top-banner__install {
  padding: 6px 16px;
  background: #fff;
  color: var(--accent);
  border: none;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.pwa-top-banner__close {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
.pwa-top-banner__close:hover {
  color: #fff;
}
@keyframes pwaTopFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pwaTopFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-8px); }
}

/* ========================================
   PWA Install Banner (Android)
   ======================================== */
.pwa-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 16px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  animation: pwaBannerSlideUp .3s ease;
}
.pwa-banner--hiding {
  animation: pwaBannerSlideDown .25s ease forwards;
}
.pwa-banner__content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pwa-banner__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-xs);
  border-radius: 6px;
}
.pwa-banner__text {
  font-size: var(--fs-sm);
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pwa-banner__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pwa-banner__install {
  padding: 6px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.pwa-banner__close {
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}
@keyframes pwaBannerSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes pwaBannerSlideDown {
  from { transform: translateY(0); }
  to   { transform: translateY(100%); }
}

/* ========================================
   PWA iOS Prompt (Bottom Sheet)
   ======================================== */
.ios-prompt__overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: iosOverlayFadeIn .25s ease;
}
.ios-prompt__overlay--hiding {
  animation: iosOverlayFadeOut .2s ease forwards;
}
.ios-prompt {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--bg-alt);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  padding: 24px 20px 32px;
  animation: iosSheetSlideUp .3s ease;
}
.ios-prompt__overlay--hiding .ios-prompt {
  animation: iosSheetSlideDown .2s ease forwards;
}
.ios-prompt__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.ios-prompt__app-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: 10px;
}
.ios-prompt__title {
  font-size: var(--fs-md);
  color: var(--text);
  line-height: 1.4;
  font-weight: 600;
}
.ios-prompt__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.ios-prompt__step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}
.ios-prompt__step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  color: var(--text);
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: 50%;
}
.ios-prompt__share-icon {
  display: inline-block;
  vertical-align: middle;
  margin: 0 2px;
}
.ios-prompt__dismiss {
  width: 100%;
  padding: 12px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-sub);
  font-size: var(--fs-sm);
  cursor: pointer;
}
.ios-prompt__arrow {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--bg-alt);
}
@keyframes iosOverlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes iosOverlayFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes iosSheetSlideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes iosSheetSlideDown {
  from { transform: translateY(0); }
  to   { transform: translateY(100%); }
}

/* ========================================
   PWA Blog Nudge (Inline Card)
   ======================================== */
.pwa-blog-nudge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.pwa-blog-nudge__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-xs);
  border-radius: 8px;
}
.pwa-blog-nudge__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--fs-sm);
  color: var(--text);
}
.pwa-blog-nudge__body span {
  color: var(--text-sub);
  font-size: var(--fs-xs);
}
.pwa-blog-nudge__install {
  flex-shrink: 0;
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* ========================================
   Podcast — List Page
   ======================================== */
.podcast {
  padding-top: 120px;
  padding-bottom: 80px;
}
.podcast__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.podcast__hero {
  text-align: center;
  padding: 40px 0 32px;
}
.podcast__hero-title {
  font-size: var(--fs-5xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.podcast__hero-desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
}
.podcast__section {
  margin-bottom: 48px;
}
.podcast__section-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.podcast__section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}
.podcast__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.podcast__grid .podcast-card:only-child {
  max-width: 520px;
}
.podcast__empty {
  color: var(--text-muted);
  font-size: var(--fs-base);
  padding: 20px 0;
}

/* Podcast Card */
.podcast-card {
  display: block;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.15s;
  cursor: pointer;
}
.podcast-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.podcast-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--border);
  display: block;
}
.podcast-card__thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-3xl);
  color: var(--text-muted);
}
.podcast-card__body {
  padding: 16px;
}
.podcast-card__badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius);
  margin-bottom: 8px;
}
.podcast-card__badge--upcoming {
  background: var(--accent);
  color: #fff;
}
.podcast-card__badge--ended {
  background: var(--border);
  color: var(--text-sub);
}
.podcast-card__badge--vod {
  background: #c62828;
  color: #fff;
}
.podcast-card__badge--promo {
  background: rgba(232, 112, 10, 0.12);
  color: var(--accent);
}
.podcast-card__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.podcast-card__speaker {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  margin-bottom: 6px;
}
.podcast-card__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.podcast-card__price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.podcast-card__price-original {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-decoration: line-through;
}
.podcast-card__price-current {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--accent);
}

/* ========================================
   Podcast — Detail Page
   ======================================== */
.podcast-detail {
  padding-top: 120px;
  padding-bottom: 80px;
}
.podcast-detail__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}
.podcast-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
  margin-bottom: 24px;
  transition: color 0.15s;
}
.podcast-detail__back:hover {
  color: var(--accent);
}

/* 2컬럼 레이아웃: 왼쪽(썸네일+본문) + 오른쪽 사이드바(sticky) */
.podcast-detail__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto 1fr;
  gap: 0 32px;
  align-items: start;
}
.podcast-detail__thumb-col {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}
.podcast-detail__body {
  grid-column: 1;
  grid-row: 2;
  padding-top: 32px;
}
.podcast-detail__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--border);
  display: block;
}
.podcast-detail__thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--text-muted);
}
.podcast-detail__sidebar {
  grid-column: 2;
  grid-row: 1 / -1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: sticky;
  top: 80px;
}
.podcast-detail__sidebar-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.podcast-detail__sidebar-badge {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius);
}
.podcast-detail__sidebar-badge--upcoming {
  background: var(--accent);
  color: #fff;
}
.podcast-detail__sidebar-badge--ended {
  background: var(--border);
  color: var(--text-sub);
}
.podcast-detail__sidebar-badge--free {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.podcast-detail__sidebar-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
}
.podcast-detail__sidebar-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.podcast-detail__price-original {
  font-size: var(--fs-base);
  color: var(--text-muted);
  text-decoration: line-through;
}
.podcast-detail__price-current {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--accent);
}
.podcast-detail__sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.podcast-detail__sidebar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}
.podcast-detail__sidebar-row svg {
  flex-shrink: 0;
  opacity: .6;
}
.podcast-detail__countdown-sub {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-xs);
  margin-top: 2px;
}
.podcast-detail__promo-banner {
  background: rgba(232, 112, 10, 0.08);
  border: 1px solid rgba(232, 112, 10, 0.2);
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.podcast-detail__sidebar-speaker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.podcast-detail__sidebar-career {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  padding-left: 0;
}
.podcast-detail__sidebar-career .podcast-detail__career-item {
  font-size: var(--fs-xs);
}
.podcast-detail__sidebar-career .podcast-detail__career-badge {
  width: 20px;
  height: 20px;
  font-size: 11px;
}
.podcast-detail__speaker-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border);
  filter: grayscale(100%);
  flex-shrink: 0;
}
.podcast-detail__speaker-img-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.podcast-detail__speaker-info {
  flex: 1;
  min-width: 0;
}
.podcast-detail__speaker-name {
  font-size: var(--fs-base);
  font-weight: 700;
}
.podcast-detail__speaker-title {
  font-size: var(--fs-xs);
  color: var(--text-sub);
}
.podcast-detail__cta {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.podcast-detail__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 28px;
  font-size: var(--fs-md);
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  border: none;
}
.podcast-detail__btn:active {
  transform: scale(0.97);
}
.podcast-detail__btn--primary {
  background: var(--accent);
  color: #fff;
}
.podcast-detail__btn--primary:hover {
  opacity: 0.9;
}
.podcast-detail__btn--danger {
  background: transparent;
  border: 1px solid #c62828;
  color: #c62828;
  font-size: var(--fs-sm);
  padding: 10px 16px;
  margin-top: 8px;
}
.podcast-detail__btn--danger:hover {
  background: #c62828;
  color: #fff;
}
.podcast-detail__btn--text {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  padding: 8px 0;
  margin-top: 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.podcast-detail__btn--text:hover {
  color: var(--text-sub);
}
.podcast-detail__access-guide {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  margin-bottom: 12px;
  line-height: 1.5;
}
.podcast-detail__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.podcast-detail__zoom {
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.podcast-detail__zoom-label {
  font-size: var(--fs-xs);
  color: var(--text-sub);
  margin-bottom: 6px;
}
.podcast-detail__zoom-link {
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-sm);
  word-break: break-all;
}
.podcast-detail__zoom-link:hover {
  text-decoration: underline;
}

/* 하단 상세 영역 */
.podcast-detail__section {
  margin-bottom: 40px;
}
.podcast-detail__section-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.podcast-detail__desc {
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--text);
  white-space: pre-line;
}
.podcast-detail__topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.podcast-detail__topic-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-md);
  line-height: 1.6;
}
.podcast-detail__topic-item::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}
.podcast-detail__speaker-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.podcast-detail__speaker-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.podcast-detail__speaker-card-header .podcast-detail__speaker-img,
.podcast-detail__speaker-card-header .podcast-detail__speaker-img-placeholder {
  width: 56px;
  height: 56px;
}
.podcast-detail__speaker-card-header .podcast-detail__speaker-img-placeholder {
  font-size: var(--fs-xl);
}
.podcast-detail__speaker-message {
  margin: 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--surface-raised);
  border-radius: 0 8px 8px 0;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--text-sub);
}
.podcast-detail__speaker-message p {
  margin: 0 0 12px;
}
.podcast-detail__speaker-message p:last-child {
  margin-bottom: 0;
}
.podcast-detail__speaker-message p:first-child {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
}
.podcast-detail__speaker-bio {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.podcast-detail__speaker-linkedin {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: var(--text-muted);
  text-decoration: none;
  vertical-align: middle;
  transition: color .15s;
}
.podcast-detail__speaker-linkedin:hover { color: var(--accent); }
.podcast-detail__speaker-linkedin svg { display: block; }
.podcast-detail__career-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.podcast-detail__career-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
}
.podcast-detail__career-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.podcast-detail__career-item:nth-child(-n+2) .podcast-detail__career-badge {
  background: var(--accent);
  color: #fff;
}
.podcast-detail__career-item:nth-child(n+3) .podcast-detail__career-badge {
  background: var(--border);
  color: var(--text-sub);
}

/* Target Audience */
.podcast-detail__audience {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.podcast-detail__audience-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-md);
  line-height: 1.6;
}
.podcast-detail__audience-item::before {
  content: "\2713";
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}

/* FAQ */
.podcast-detail__faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.podcast-detail__faq {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.podcast-detail__faq[open] {
  border-color: var(--accent);
}
.podcast-detail__faq-q {
  padding: 16px 20px;
  font-size: var(--fs-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.podcast-detail__faq-q::-webkit-details-marker { display: none; }
.podcast-detail__faq-q::before {
  content: "Q.";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.podcast-detail__faq-q::after {
  content: "+";
  margin-left: auto;
  font-size: var(--fs-lg);
  color: var(--text-muted);
  transition: transform 0.2s;
}
.podcast-detail__faq[open] .podcast-detail__faq-q::after {
  transform: rotate(45deg);
}
.podcast-detail__faq-a {
  padding: 0 20px 16px 46px;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-sub);
}

/* Confirm Modal */
.podcast-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.podcast-confirm-overlay.is-open { opacity: 1; pointer-events: auto; }
.podcast-confirm {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.2s;
}
.podcast-confirm-overlay.is-open .podcast-confirm { transform: scale(1); }
.podcast-confirm__icon { margin-bottom: 16px; }
.podcast-confirm__title {
  font-size: var(--fs-xl);
  font-weight: 800;
  margin-bottom: 12px;
}
.podcast-confirm__desc {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  word-break: keep-all;
}
.podcast-confirm__zoom {
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 24px;
  word-break: break-all;
}
.podcast-confirm__zoom a {
  color: var(--accent);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.podcast-confirm__zoom a:hover { text-decoration: underline; }
.podcast-confirm__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.podcast-detail__btn--secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-sub);
}
.podcast-detail__btn--secondary:hover {
  border-color: var(--text-sub);
}
.podcast-detail__btn--outline {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  margin-top: 8px;
}
.podcast-detail__btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

/* VOD */
.podcast-detail__vod {
  margin-bottom: 32px;
}
.podcast-detail__vod-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.podcast-detail__vod-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.podcast-detail__ended-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-base);
}

/* Responsive */
@media (max-width: 1024px) {
  .podcast { padding-top: 96px; }
  .podcast-detail { padding-top: 96px; }
}
@media (max-width: 768px) {
  .podcast { padding-top: 80px; }
  .podcast-detail { padding-top: 80px; }
  .podcast__inner { padding: 0 24px; }
  .podcast-detail__inner { padding: 0 24px; }
  .podcast__grid { grid-template-columns: 1fr; }
  .podcast-detail__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .podcast-detail__thumb-col {
    grid-column: 1;
    grid-row: 1;
  }
  .podcast-detail__sidebar {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }
  .podcast-detail__body {
    grid-column: 1;
    grid-row: 3;
  }
  .podcast-detail__sidebar-title { font-size: var(--fs-lg); }
}
@media (max-width: 480px) {
  .podcast__inner { padding: 0 20px; }
  .podcast-detail__inner { padding: 0 20px; }
}

/* ========================================
   Home — Live Section
   ======================================== */
.home-live__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius);
  transition: opacity 0.2s;
}
.home-live__card:hover {
  opacity: 0.9;
}
.home-live__thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.home-live__thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-live__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  word-break: keep-all;
}
.home-live__speaker {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  margin-bottom: 8px;
}
.home-live__date {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  margin-bottom: 16px;
}
.home-live__price {
  font-size: var(--fs-lg);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-live__price-original {
  text-decoration: line-through;
  color: var(--text-muted);
}
.home-live__price-free {
  color: var(--accent);
  font-weight: 700;
}
.home-live__cta {
  display: inline-block;
}

@media (max-width: 768px) {
  .home-live__card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-live__title {
    font-size: var(--fs-2xl);
  }
}

/* Home Blog */
.home-blog__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.home-blog__card {
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: opacity 0.2s;
}
.home-blog__card:hover { opacity: 0.85; }
.home-blog__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 20px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.home-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.home-blog__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  word-break: keep-all;
}
.home-blog__summary {
  font-size: var(--fs-md);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-blog__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.home-blog__tag {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .home-blog__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ========================================
   Courses — Hero
   ======================================== */
.courses__hero {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.courses__hero-title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.courses__hero-desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  margin-bottom: 20px;
}

.courses__hero-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.courses__hero-stat {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
}

.courses__hero-stat-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ========================================
   Courses — Category Tabs
   ======================================== */
.courses__header {
  margin-bottom: 32px;
}

.courses__page-title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: 24px;
}

.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-tabs__btn {
  padding: 8px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-sub);
  font-size: var(--fs-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.cat-tabs__btn:hover {
  border-color: var(--text-sub);
  color: var(--text);
}

.cat-tabs__btn--active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.cat-tabs__btn--active:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ========================================
   Courses — Catalog Grid
   ======================================== */
.courses__section {
  margin-bottom: 48px;
}

.courses__section-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 24px;
}

.courses__section[hidden] {
  display: none;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ========================================
   Homepage — Courses Section
   ======================================== */
.home-courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.home-courses .cat-tabs {
  margin-top: 8px;
}

/* ========================================
   Courses — Detail 2-Column Layout (리디자인)
   ======================================== */
.course-detail__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto 1fr;
  gap: 0 32px;
  align-items: start;
}

.course-detail__thumb-col {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.course-detail__thumb-col img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-alt);
}

.course-detail__thumb-hook {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.course-detail__thumb-hook-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.35;
  text-align: center;
}

.course-detail__sidebar {
  grid-column: 2;
  grid-row: 1 / -1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: sticky;
  top: 80px;
}

.course-detail__sidebar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.course-detail__sidebar-badge--free {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(232, 112, 10, 0.12);
  color: var(--accent);
}
.course-detail__sidebar-badge--paid {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(232, 112, 10, 0.12);
  color: var(--accent);
}

.course-detail__sidebar-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
}

.course-detail__sidebar-subtitle {
  font-size: var(--fs-md);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.course-detail__sidebar-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.course-detail__sidebar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.course-detail__sidebar-row svg {
  flex-shrink: 0;
  color: var(--text-muted);
}

.course-detail__sidebar-price {
  margin-bottom: 16px;
}

.course-detail__body {
  grid-column: 1;
  grid-row: 2;
  padding-top: 32px;
}

.course-detail__body-summary {
  font-size: var(--fs-md);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .courses__hero-title {
    font-size: var(--fs-3xl);
  }

  .courses__hero-stats {
    gap: 12px;
  }

  .courses__grid {
    grid-template-columns: 1fr;
  }

  .course-detail__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .course-detail__thumb-col {
    grid-column: 1;
    grid-row: 1;
  }

  .course-detail__sidebar {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }

  .course-detail__body {
    grid-column: 1;
    grid-row: 3;
  }
}

/* ── 상세 페이지: persona & includes ── */
.course-detail__sidebar-persona {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* ── 강의 상세: 본문 섹션 (라이브 세션 미러) ── */
.course-detail__section {
  margin-bottom: 40px;
}
.course-detail__section-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* 강의 소개 blockquote */
.course-detail__intro-message {
  margin: 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 8px 8px 0;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--text-sub);
}
.course-detail__intro-message p {
  margin: 0 0 12px;
}
.course-detail__intro-message p:last-child {
  margin-bottom: 0;
}
.course-detail__intro-message p:first-child {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
}

/* 강사 카드 */
.course-detail__instructor-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.course-detail__instructor-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.course-detail__instructor-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.course-detail__instructor-img-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text-sub);
}
.course-detail__instructor-name {
  font-size: var(--fs-lg);
  font-weight: 700;
}
.course-detail__instructor-credential {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.course-detail__instructor-linkedin {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  color: var(--text-muted);
  text-decoration: none;
  vertical-align: middle;
  transition: color .15s;
}
.course-detail__instructor-linkedin:hover { color: var(--accent); }
.course-detail__instructor-linkedin svg { display: block; }
.course-detail__instructor-bio {
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.course-detail__career-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-detail__career-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
}
.course-detail__career-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: var(--fs-xs);
  font-weight: 700;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.course-detail__career-item:nth-child(-n+2) .course-detail__career-badge {
  background: var(--accent);
  color: #fff;
}
.course-detail__career-item:nth-child(n+3) .course-detail__career-badge {
  background: var(--border);
  color: var(--text-sub);
}

/* 추천 대상 (체크마크) */
.course-detail__audience {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-detail__audience-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-md);
  line-height: 1.6;
}
.course-detail__audience-item::before {
  content: "\2713";
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}

/* 주제 리스트 (dot 불릿) */
.course-detail__topics {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-detail__topic-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--fs-md);
  line-height: 1.6;
}
.course-detail__topic-item::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
}

/* 학습 성과 (이모지 카드) */
.course-detail__outcomes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-detail__outcome-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: var(--fs-md);
  line-height: 1.6;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.course-detail__outcome-emoji {
  flex-shrink: 0;
  font-size: var(--fs-lg);
}

/* FAQ 아코디언 */
.course-detail__faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.course-detail__faq {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.course-detail__faq[open] {
  border-color: var(--accent);
}
.course-detail__faq-q {
  padding: 16px 20px;
  font-size: var(--fs-md);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-detail__faq-q::-webkit-details-marker { display: none; }
.course-detail__faq-q::before {
  content: "Q.";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.course-detail__faq-q::after {
  content: "+";
  margin-left: auto;
  font-size: var(--fs-lg);
  color: var(--text-muted);
  transition: transform 0.2s;
}
.course-detail__faq[open] .course-detail__faq-q::after {
  transform: rotate(45deg);
}
.course-detail__faq-a {
  padding: 0 20px 16px 46px;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text-sub);
}

/* 가격 취소선 */
.course-detail__price-original {
  font-size: var(--fs-base);
  color: var(--text-muted);
  text-decoration: line-through;
}
.course-detail__price-current {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--accent);
}

/* ========================================
   Program Pages (Sprint / Batch)
   ======================================== */
.program-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
}

.program-hero__content {
  max-width: 720px;
}

.program-hero__label {
  display: inline-block;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
}

.program-hero__headline {
  font-size: var(--fs-8xl);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.program-hero__sub {
  font-size: var(--fs-xl);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 40px;
}

.program-hero__cta {
  display: flex;
  gap: 16px;
}

/* Program — Process Timeline */
.program-process {
  position: relative;
  padding-left: 80px;
}

.program-process::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
}

.program-process__item {
  position: relative;
  padding-bottom: 48px;
}

.program-process__item:last-child {
  padding-bottom: 0;
}

.program-process__number {
  position: absolute;
  left: -80px;
  top: -2px;
  font-family: var(--mono);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text-muted);
  width: 56px;
  text-align: center;
}

.program-process__item:first-child .program-process__number {
  color: var(--accent);
}

.program-process__heading {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.program-process__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

/* Program — Benefits Grid */
.program-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.program-benefits__item {
  padding: 24px 32px;
  border-left: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.program-benefits__item:nth-child(odd) {
  border-left: none;
}

.program-benefits__item:nth-last-child(-n+2) {
  border-bottom: none;
}

.program-benefits__heading {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.program-benefits__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.6;
}

/* Program — Who / Criteria columns */
.program-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.program-columns__item {
  padding: 0 40px;
  border-left: 1px solid var(--border);
}

.program-columns__item:first-child {
  padding-left: 0;
  border-left: none;
}

.program-columns__heading {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 12px;
}

.program-columns__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

/* Program — Placeholder box */
.program-placeholder {
  text-align: center;
  padding: 80px 40px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.program-placeholder__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: 12px;
}

.program-placeholder__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
}

/* Program — Responsive 768px */
@media (max-width: 768px) {
  .program-hero__headline {
    font-size: var(--fs-6xl);
  }

  .program-hero__sub {
    font-size: var(--fs-lg);
  }

  .program-hero__cta {
    flex-direction: column;
    gap: 12px;
  }

  .program-hero__cta .btn {
    text-align: center;
  }

  .program-process {
    padding-left: 64px;
  }

  .program-process::before {
    left: 24px;
  }

  .program-process__number {
    left: -64px;
    font-size: var(--fs-3xl);
    width: 48px;
  }

  .program-benefits {
    grid-template-columns: 1fr;
  }

  .program-benefits__item {
    border-left: none;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }

  .program-benefits__item:last-child {
    border-bottom: none;
  }

  .program-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .program-columns__item {
    padding: 0;
    border-left: none;
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }

  .program-columns__item:first-child {
    padding-left: 24px;
    border-left: 1px solid var(--border);
  }
}

/* Program — Coming Soon Overlay */
.program-coming-soon {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

[data-theme="light"] .program-coming-soon {
  background: rgba(255, 255, 255, 0.75);
}

.program-coming-soon__dialog {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 56px 48px;
  max-width: 480px;
  width: calc(100% - 40px);
  text-align: center;
}

.program-coming-soon__badge {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.program-coming-soon__title {
  font-size: var(--fs-5xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.program-coming-soon__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 32px;
}

.program-coming-soon__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.program-coming-soon__peek {
  display: inline-block;
  margin-top: 16px;
  font-size: var(--fs-sm);
  color: var(--text-muted, var(--text-sub));
  opacity: 0.4;
  text-decoration: none;
  transition: opacity 0.2s;
}

.program-coming-soon__peek:hover {
  opacity: 0.7;
}

.program-blurred {
  overflow: hidden;
  height: 100vh;
}

.program-blurred main {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 480px) {
  .program-coming-soon__dialog {
    padding: 40px 24px;
  }

  .program-coming-soon__title {
    font-size: var(--fs-3xl);
  }
}

/* Program — Responsive 480px */
@media (max-width: 480px) {
  .program-hero__headline {
    font-size: var(--fs-4xl);
  }

  .program-hero__label {
    font-size: var(--fs-sm);
  }

  .program-process__item {
    padding-bottom: 36px;
  }

  .program-placeholder {
    padding: 48px 20px;
  }
}

/* ========================================
   Proposal Form
   ======================================== */
.proposal-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 0;
}

.proposal-form h2 {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: 8px;
}

.proposal-form__desc {
  color: var(--text-sub);
  font-size: var(--fs-md);
  margin-bottom: 40px;
  line-height: 1.6;
}

.proposal-form .form-group input,
.proposal-form .form-group textarea {
  color: var(--text);
}

.proposal-form .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--fs-lg);
  font-family: var(--font);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 180px;
  line-height: 1.6;
}

.proposal-form .form-group textarea:focus {
  border-color: var(--accent);
}

.proposal-form .form-group textarea::placeholder {
  color: var(--text-muted);
}

.proposal-form__char-count {
  text-align: right;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

.proposal-form__error {
  background: rgba(232, 80, 80, 0.1);
  border: 1px solid rgba(232, 80, 80, 0.3);
  color: #e85050;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: var(--fs-base);
  margin-bottom: 20px;
}

.proposal-form__success {
  text-align: center;
  padding: 60px 20px;
}

.proposal-form__success h3 {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: 12px;
}

.proposal-form__success p {
  color: var(--text-sub);
  font-size: var(--fs-md);
  line-height: 1.6;
}

.proposal-form__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  tab-index: -1;
}

/* ========================================
   Proposals Admin
   ======================================== */
/* ========================================
   Admin Dashboard
   ======================================== */
.admin {
  padding-top: 120px;
  padding-bottom: 48px;
}

.admin__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  margin-bottom: 32px;
}

/* Tabs */
.admin__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
}

.admin__tab {
  padding: 12px 20px;
  font-size: var(--fs-sm);
  font-weight: 600;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.admin__tab:hover {
  color: var(--text);
}

.admin__tab--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.admin__panel {
  display: none;
}

.admin__panel--active {
  display: block;
}

/* Stats Grid */
.admin__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.admin__stat-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}

.admin__stat-card__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 8px;
}

.admin__stat-card__value {
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text);
}

/* Toolbar (search + sort) */
.admin__toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.admin__search {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  font-size: var(--fs-base);
  font-family: var(--font);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
}

.admin__search:focus {
  border-color: var(--accent);
}

.admin__sort-select {
  padding: 10px 14px;
  font-size: var(--fs-base);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

/* Table */
.admin__table {
  width: 100%;
  border-collapse: collapse;
}

.admin__table th {
  text-align: left;
  padding: 12px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin__table td {
  padding: 14px 16px;
  font-size: var(--fs-base);
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.admin__table tr[data-id]:hover td,
.admin__table tr[data-uid]:hover td {
  background: var(--bg-alt);
}

.admin__table tr[data-id],
.admin__table tr[data-uid] {
  cursor: pointer;
}

.admin__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  background: var(--bg-alt);
}

/* Badge */
.admin__badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin__badge--pending {
  background: rgba(255, 180, 0, 0.15);
  color: #e6a800;
}

.admin__badge--reviewed {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.admin__badge--accepted {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.admin__badge--rejected {
  background: rgba(232, 80, 80, 0.15);
  color: #e85050;
}

.admin__badge--active {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.admin__badge--cancelled {
  background: rgba(232, 80, 80, 0.15);
  color: #e85050;
}

/* Filters */
.admin__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.admin__filter {
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s;
}

.admin__filter:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.admin__filter--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.admin__filter--active:hover {
  color: #fff;
}

/* Count */
.admin__count {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Empty */
.admin__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: var(--fs-md);
}

/* Load More */
.admin__load-more {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 16px;
  font-size: var(--fs-base);
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-sub);
  cursor: pointer;
  transition: all 0.2s;
}

.admin__load-more:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Section header */
.admin__section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.admin__section-title {
  font-size: var(--fs-lg);
  font-weight: 700;
}

/* Modal */
.admin__modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.admin__modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.admin__dialog {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
}

.admin__dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: var(--fs-2xl);
  cursor: pointer;
  line-height: 1;
}

.admin__dialog h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 24px;
}

.admin__detail-row {
  margin-bottom: 20px;
}

.admin__detail-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.admin__detail-value {
  font-size: var(--fs-base);
  color: var(--text);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin__detail-actions {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 24px;
  flex-wrap: wrap;
}

.admin__detail-actions select {
  padding: 10px 14px;
  font-size: var(--fs-base);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.admin__detail-actions textarea {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  font-size: var(--fs-base);
  font-family: var(--font);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  resize: vertical;
  min-height: 80px;
  outline: none;
}

.admin__detail-actions textarea:focus {
  border-color: var(--accent);
}

/* Overview recent tables */
.admin__recent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .admin__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin__recent-grid {
    grid-template-columns: 1fr;
  }

  .admin__table .hide-mobile {
    display: none;
  }

  .admin__toolbar {
    flex-direction: column;
  }

  .admin__search {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .admin {
    padding-top: 80px;
  }

  .admin__stats {
    grid-template-columns: 1fr;
  }

  .admin__table .hide-small {
    display: none;
  }

  .admin__dialog {
    width: 95%;
    padding: 24px;
  }

  .admin__tab {
    padding: 10px 14px;
    font-size: var(--fs-xs);
  }
}

/* Newsletter panel */
.admin__nl-compose {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.admin__nl-compose input[type="text"] {
  padding: 10px 14px;
  font-size: var(--fs-base);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
}

.admin__nl-compose input[type="text"]:focus {
  border-color: var(--accent);
}

.admin__nl-compose textarea {
  padding: 10px 14px;
  font-size: var(--fs-sm);
  font-family: var(--mono);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  resize: vertical;
  min-height: 200px;
  outline: none;
}

.admin__nl-compose textarea:focus {
  border-color: var(--accent);
}

.admin__nl-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin__nl-actions .btn {
  padding: 10px 20px;
  font-size: var(--fs-base);
  border-radius: var(--radius);
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 600;
}

.admin__nl-actions .btn:hover {
  border-color: var(--text-muted);
}

.admin__nl-actions .btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.admin__nl-actions .btn--primary:hover {
  opacity: 0.9;
}

.admin__nl-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.admin__nl-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin__nl-preview-frame {
  width: 100%;
  min-height: 400px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.admin__badge--sending {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.admin__badge--sent {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.admin__badge--failed {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

/* 인앱 브라우저 Google 로그인 불가 안내 */
.inapp-notice {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: var(--border);
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}
.inapp-notice strong {
  color: var(--text-sub);
}
.inapp-open-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s;
}
.inapp-open-btn:active {
  opacity: 0.7;
}
.inapp-open-btn.is-copied {
  color: var(--accent);
  border-color: var(--accent);
}

/* 탈퇴한 회원 */
.feed-card__nickname--deleted,
.post__author-name--deleted,
.comment__author--deleted {
  color: var(--text-muted);
  font-weight: 400;
}
.feed-card__user-link--deleted,
.post__author-link--deleted,
.comment__author-link--deleted {
  cursor: default;
}

/* ========================================
   Login Page
   ======================================== */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.login-page__card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
}

.login-page__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: 8px;
}

.login-page__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  margin-bottom: 28px;
}

.login-page__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.login-page__google:hover {
  border-color: var(--text-sub);
  background: rgba(255, 255, 255, 0.03);
}

.login-page__google svg {
  flex-shrink: 0;
}

.login-page__google.is-copied {
  border-color: var(--accent);
  color: var(--accent);
}

.login-page__or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.login-page__or::before,
.login-page__or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.login-page .magic-link-form {
  max-width: none;
}

/* ── Tagline ── */
.feed-card__tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post__author-tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.post__meta-dot {
  color: var(--text-muted);
  user-select: none;
  font-size: var(--fs-sm);
}

.comment__tagline {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.user-profile__tagline {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ========================================
   Quiz List (shared: /quiz/ page + homepage)
   ======================================== */

.quiz-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 16px 64px;
}

.quiz-list__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.quiz-list__desc {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-bottom: 32px;
}

/* ========================================
   Home — Free Course Section
   ======================================== */
.home-course {
  max-width: 640px;
  margin: 0 auto;
}

.home-course__lessons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.home-course__lesson {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.home-course__lesson-num {
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
  width: 28px;
}

.home-course__lesson-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.home-course__lesson-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.home-course__lesson-duration {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.home-course__pricing { text-align: center; margin-bottom: 16px; }
.home-course__price-current {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--accent);
}

@media (max-width: 480px) {
  .home-course__lesson {
    padding: 12px 16px;
    gap: 12px;
  }

  .home-course__lesson-title {
    font-size: var(--fs-sm);
  }
}

.quiz-list__grid,
.home-quiz__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.quiz-list__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 24px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.quiz-list__card:hover {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.04);
}

.quiz-list__badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.quiz-list__card-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.quiz-list__card-desc {
  font-size: var(--fs-md);
  color: var(--text-sub);
}

.quiz-list__card-meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.quiz-list__card-cta {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--accent);
  margin-top: 4px;
}

@media (max-width: 640px) {
  .quiz-list__grid,
  .home-quiz__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Products (Product Hunt Style)
   ======================================== */

/* Products Hero */
.products-hero {
  text-align: center;
  padding: 48px 20px 32px;
  border-bottom: 1px solid var(--border);
}

.products-hero__title {
  font-size: var(--fs-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.products-hero__desc {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-bottom: 20px;
}

.products-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  transition: opacity 0.15s;
}

.products-hero__cta:hover {
  opacity: 0.85;
}

/* Products Tabs */
.products-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
}

.products-tabs__btn {
  padding: 12px 16px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.products-tabs__btn:hover {
  color: var(--text-sub);
}

.products-tabs__btn--active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Products Tags Filter */
.products-tags {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--border);
}

.products-tags::-webkit-scrollbar { display: none; }

.products-tags__pill {
  flex-shrink: 0;
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.15s;
}

.products-tags__pill:hover {
  border-color: var(--text-muted);
}

.products-tags__pill--active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* Product Card (horizontal) */
.product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.15s;
}

.product-card:hover {
  background: var(--bg-alt);
}

.product-card__logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.product-card__info {
  flex: 1;
  min-width: 0;
}

.product-card__name {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__tagline {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.product-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.product-card__comment {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* Product Tag Pill */
.product-tag {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 1px 8px;
  border-radius: var(--radius);
}

/* Product Upvote Button */
.product-card__upvote {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 56px;
  min-height: 56px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  transition: all 0.15s;
}

.product-card__upvote:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-card__upvote--active {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
  color: var(--accent);
}

.product-card__upvote-icon {
  display: flex;
}

/* Product Card Skeleton */
.product-card--skeleton {
  pointer-events: none;
}

.product-card__logo-skel {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.product-card__name-skel {
  width: 140px;
  height: 16px;
  margin-bottom: 6px;
}

.product-card__tagline-skel {
  width: 200px;
  height: 14px;
  margin-bottom: 6px;
}

.product-card__tags-skel {
  width: 100px;
  height: 12px;
}

.product-card__upvote-skel {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* Product Detail */
.product-detail {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  min-height: 100vh;
}

.product-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  padding: 16px 0;
  transition: color 0.15s;
}

.product-detail__back:hover {
  color: var(--text);
}

.product-detail__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0 24px;
  border-bottom: 1px solid var(--border);
}

.product-detail__logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-alt);
}

.product-detail__header-info {
  flex: 1;
  min-width: 0;
}

.product-detail__name {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.product-detail__tagline {
  font-size: var(--fs-md);
  color: var(--text-sub);
  margin-top: 4px;
}

.product-detail__header-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.product-detail__visit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  transition: opacity 0.15s;
}

.product-detail__visit:hover {
  opacity: 0.85;
}

.product-detail__upvote {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: var(--fs-sm);
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  transition: all 0.15s;
}

.product-detail__upvote:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.product-detail__upvote--active {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
  color: var(--accent);
}

.product-detail__meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.product-detail__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.product-detail__author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.product-detail__author-name {
  font-weight: 600;
}

.product-detail__author-name:hover {
  color: var(--text);
}

.product-detail__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.product-detail__owner-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}

.product-detail__edit-btn,
.product-detail__delete-btn {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.15s;
}

.product-detail__edit-btn:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.product-detail__delete-btn:hover {
  color: #e85050;
  border-color: #e85050;
}

/* Product Gallery */
.product-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.product-detail__gallery img {
  width: 100%;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.15s;
  border: 1px solid var(--border);
}

.product-detail__gallery img:hover {
  opacity: 0.85;
}

/* Product Description */
.product-detail__description {
  padding: 24px 0;
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border);
  white-space: pre-wrap;
  word-break: break-word;
}

.product-detail__description a {
  color: var(--accent);
  text-decoration: underline;
}

/* Product Submit Form */
.product-submit {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  min-height: 100vh;
}

.product-submit__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.product-submit__group {
  margin-bottom: 20px;
}

.product-submit__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.product-submit__label small {
  font-weight: 400;
  color: var(--text-muted);
}

.product-submit__input,
.product-submit__textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: var(--fs-md);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}

.product-submit__input:focus,
.product-submit__textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.product-submit__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.product-submit__char-count {
  text-align: right;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.product-submit__slug-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-submit__slug-prefix {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  white-space: nowrap;
}

.product-submit__slug-status {
  font-size: var(--fs-xs);
  margin-top: 4px;
}

.product-submit__slug-status--ok {
  color: #34d399;
}

.product-submit__slug-status--taken {
  color: #e85050;
}

/* Tags Selector */
.product-submit__tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-submit__tag-chip {
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-sub);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.15s;
}

.product-submit__tag-chip:hover {
  border-color: var(--text-muted);
}

.product-submit__tag-chip--active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* Image Upload Area */
.product-submit__upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: border-color 0.15s;
}

.product-submit__upload-area:hover,
.product-submit__upload-area.is-dragover {
  border-color: var(--accent);
}

.product-submit__upload-preview {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-submit__upload-preview img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* Screenshot Grid */
.product-submit__screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.product-submit__screenshot-item {
  position: relative;
}

.product-submit__screenshot-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.product-submit__screenshot-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.product-submit__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.product-submit__btn {
  padding: 12px 32px;
  font-size: var(--fs-md);
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: var(--radius);
  transition: opacity 0.15s;
}

.product-submit__btn:hover {
  opacity: 0.85;
}

.product-submit__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-submit__btn--secondary {
  background: var(--bg-alt);
  color: var(--text-sub);
  border: 1px solid var(--border);
}

.product-submit__error {
  color: #e85050;
  font-size: var(--fs-sm);
  margin-top: 8px;
}

.product-submit__progress {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: 8px;
}

/* Products Page Layout (mirrors community pattern) */
.products-page {
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  min-height: 100vh;
}

.products-page__inner {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.products-page__feed-wrapper {
  position: relative;
  flex: 1;
  min-height: 0;
}

.products-page__feed {
  filter: blur(4px);
  pointer-events: none;
  user-select: none;
}

.products-page__feed.is-unlocked,
.authed .products-page__feed {
  filter: none;
  pointer-events: auto;
  user-select: auto;
}

/* Products Responsive: 768px */
@media (max-width: 768px) {
  .products-page {
    padding-top: 72px;
  }

  .products-page__inner {
    padding: 0 24px;
  }

  .products-hero {
    padding: 32px 12px 24px;
  }

  .products-hero__title {
    font-size: var(--fs-3xl);
  }

  .product-detail {
    padding: 88px 24px 60px;
  }

  .product-submit {
    padding: 88px 24px 60px;
  }
}

/* Products Responsive: 480px */
@media (max-width: 480px) {
  .products-page {
    padding-top: 72px;
  }

  .products-page__inner {
    padding: 0 16px;
  }

  .products-hero__title {
    font-size: var(--fs-2xl);
  }

  .product-card__tagline {
    display: none;
  }

  .product-detail {
    padding: 80px 16px 48px;
  }

  .product-detail__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-detail__header-actions {
    justify-content: center;
  }

  .product-detail__gallery {
    grid-template-columns: 1fr;
  }

  .product-submit {
    padding: 80px 16px 48px;
  }
}

/* ========================================
   Daily Scrum — Landing Page
   ======================================== */

/* Hero attendee count */
.scrum-hero__attendee {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: var(--fs-base);
  color: var(--text-sub);
}

.scrum-hero__attendee[hidden] {
  display: none;
}

.scrum-hero__attendee-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: scrum-pulse 2s ease-in-out infinite;
}

@keyframes scrum-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Hero trust text */
.scrum-hero__trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: var(--fs-base);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Hero today writer count */
.scrum-hero__today {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

.scrum-hero__today[hidden] {
  display: none;
}

/* Mobile sticky CTA */
.scrum-sticky-cta {
  display: none;
}

.scrum-sticky-cta[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .scrum-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  }

  .scrum-sticky-cta__btn {
    width: 100%;
    font-size: var(--fs-lg);
    padding: 14px 24px;
  }
}

.scrum-cancel-link {
  margin-top: 16px;
}

.scrum-cancel-link a {
  font-size: var(--fs-sm);
  color: #ef4444;
  text-decoration: none;
}

.scrum-cancel-link a:hover {
  color: #dc2626;
  text-decoration: underline;
}

/* My Streak cards */
/* Template preview */
.scrum-template {
  max-width: 640px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.scrum-template__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.scrum-template__badge {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius);
}

.scrum-template__date {
  font-size: var(--fs-md);
  font-weight: 600;
}

.scrum-template__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scrum-template__section-title {
  font-size: var(--fs-md);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.scrum-template__list {
  list-style: disc;
  padding-left: 20px;
  font-size: var(--fs-md);
  color: var(--text-sub);
  line-height: 1.8;
}

.scrum-template__hint {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 4px 0 8px;
}

.scrum-template__tip {
  padding: 12px 24px;
  font-size: var(--fs-base);
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* Daily Scrum Responsive: 768px */
@media (max-width: 768px) {
  .scrum-template {
    max-width: 100%;
  }
}

/* Daily Scrum Responsive: 480px */
@media (max-width: 480px) {
  .scrum-template__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
  }

  .scrum-template__body {
    padding: 16px;
  }
}

/* ========================================
   SCRUM — WHY Section (3-column)
   ======================================== */
.scrum-why__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.scrum-why__item {
  padding: 0 40px;
  border-left: 1px solid var(--border);
}

.scrum-why__item:first-child {
  padding-left: 0;
  border-left: none;
}

.scrum-why__item:last-child {
  padding-right: 0;
}

.scrum-why__heading {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 12px;
}

.scrum-why__desc {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
}

/* Section sub-description */
.section__sub {
  font-size: var(--fs-lg);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 640px;
}

/* Template large variant */
.scrum-template--large {
  max-width: 720px;
}

/* ========================================
   SCRUM — Streak Demo Heatmap
   ======================================== */
.scrum-heatmap-demo {
  max-width: 100%;
  margin-bottom: 40px;
  overflow-x: auto;
}

.scrum-heatmap-demo__months {
  display: grid;
  grid-template-columns: repeat(52, 1fr);
  margin-bottom: 4px;
}

.scrum-heatmap-demo__month {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
}

.scrum-heatmap-demo__grid {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
  aspect-ratio: 52 / 7;
}

.scrum-heatmap-demo__cell {
  border-radius: 1.5px;
  background: var(--border);
}

.scrum-heatmap-demo__cell--empty {
  background: var(--border);
}

.scrum-heatmap-demo__cell--weekend {
  background: rgba(232, 112, 10, 0.1);
}

.scrum-heatmap-demo__cell--weekend-active {
  background: rgba(232, 112, 10, 0.25);
}

.scrum-heatmap-demo__cell--l1 {
  background: rgba(232, 112, 10, 0.25);
}

.scrum-heatmap-demo__cell--l2 {
  background: rgba(232, 112, 10, 0.55);
}

.scrum-heatmap-demo__cell--l3 {
  background: var(--accent);
}

.scrum-heatmap-demo__cell--today {
  box-shadow: inset 0 0 0 2px var(--accent);
}

a.scrum-heatmap-demo__cell {
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.1s;
}

a.scrum-heatmap-demo__cell:hover {
  transform: scale(1.4);
  z-index: 1;
}

/* Streak rules */
.scrum-streak-rules {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.scrum-streak-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-lg);
  color: var(--text-sub);
}

.scrum-streak-rule__icon {
  font-size: var(--fs-lg);
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

/* ========================================
   SCRUM — Milestones
   ======================================== */
.scrum-milestones {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.scrum-milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 120px;
  flex: 1;
  max-width: 160px;
}

.scrum-milestone__icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.scrum-milestone__days {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--accent);
}

.scrum-milestone__desc {
  font-size: var(--fs-base);
  color: var(--text-sub);
  text-align: center;
  word-break: keep-all;
  white-space: nowrap;
}

.scrum-milestone__achievers {
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

.scrum-milestone--mystery {
  display: none;
  border-style: dashed;
  opacity: 0.45;
}

@media (max-width: 768px) {
  .scrum-milestone--mystery {
    display: flex;
  }
}

.scrum-milestone--mystery .scrum-milestone__days {
  color: var(--text-muted);
}

.scrum-milestone--mystery .scrum-milestone__desc {
  color: var(--text-muted);
  font-style: italic;
}

/* ========================================
   SCRUM — Fellow Preview
   ======================================== */
.scrum-fellow-preview {
  max-width: 480px;
  margin: 0 auto;
}

.scrum-fellow-preview__caption {
  text-align: center;
  font-size: var(--fs-base);
  color: var(--text-sub);
  margin-top: 16px;
}

/* ========================================
   SCRUM — Invite Banner
   ======================================== */
.scrum-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(232, 112, 10, 0.2);
  border-radius: var(--radius);
  background: rgba(232, 112, 10, 0.06);
  color: var(--text-sub);
  font-size: var(--fs-sm);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 12px;
}

.scrum-invite:hover {
  border-color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
  color: var(--text);
}

.scrum-invite__arrow {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.scrum-invite[hidden] { display: none; }

/* ========================================
   SCRUM — Community Widget (Heatmap)
   ======================================== */
.scrum-widget {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 12px;
}

.scrum-widget[hidden] { display: none; }

.scrum-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.scrum-widget__badge {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  background: rgba(232, 112, 10, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius);
  text-decoration: none;
}

.scrum-widget__badge:hover {
  background: rgba(232, 112, 10, 0.18);
}

.scrum-widget__streak {
  font-family: var(--mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
}

.scrum-widget__heatmap {
  margin-bottom: 12px;
}

.scrum-widget__months {
  display: grid;
  grid-template-columns: repeat(52, 1fr);
  margin-bottom: 4px;
}

.scrum-widget__month {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
}

.scrum-widget__grid {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
  aspect-ratio: 52 / 7;
}

.scrum-widget__cell {
  border-radius: 1.5px;
  background: var(--border);
}

.scrum-widget__cell--weekend {
  background: rgba(232, 112, 10, 0.1);
}

.scrum-widget__cell--weekend-active {
  background: rgba(232, 112, 10, 0.25);
}

.scrum-widget__cell--filled {
  background: var(--accent);
}

.scrum-widget__cell--today {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}

a.scrum-widget__cell {
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform 0.1s;
}

a.scrum-widget__cell:hover {
  transform: scale(1.5);
  z-index: 1;
}

.scrum-widget__leaderboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  padding: 8px 0;
  border-top: 1px solid var(--border);
}

.scrum-widget__lb-top3 {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.scrum-widget__lb-item {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scrum-widget__lb-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .scrum-widget__leaderboard {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .scrum-widget__lb-top3 {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  .scrum-widget__lb-right {
    width: 100%;
    justify-content: flex-end;
  }
}

.scrum-widget__lb-me {
  font-weight: 600;
  color: var(--accent);
}

.scrum-widget__cta {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.scrum-widget__cta:hover {
  text-decoration: underline;
}

/* ========================================
   SCRUM — Responsive: WHY + Heatmap
   ======================================== */
@media (max-width: 768px) {
  .scrum-why__columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .scrum-why__item {
    padding: 0;
    border-left: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 32px;
  }

  .scrum-why__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .scrum-heatmap-demo {
    overflow-x: auto;
  }

  .scrum-milestones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .scrum-milestone {
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .scrum-why__heading {
    font-size: var(--fs-lg);
  }

  .section__sub {
    font-size: var(--fs-md);
  }

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

  .scrum-milestone {
    min-width: 0;
    max-width: none;
    padding: 16px 8px;
  }
}

.post-form__title--auto {
  opacity: 0.6;
  cursor: default;
}

/* ========================================
   SCRUM — Onboarding Overlay
   ======================================== */
.scrum-onboarding-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.scrum-onboarding-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.scrum-onboarding {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 480px;
  width: 90vw;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.scrum-onboarding__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: 4px;
}

.scrum-onboarding__sub {
  font-size: var(--fs-base);
  color: var(--text-sub);
  margin-bottom: 28px;
}

.scrum-onboarding__steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 24px;
}

.scrum-onboarding__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.scrum-onboarding__step-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 112, 10, 0.15);
  color: var(--accent);
  font-weight: 800;
  font-size: var(--fs-sm);
  border-radius: 50%;
}

.scrum-onboarding__step strong {
  display: block;
  font-size: var(--fs-base);
  margin-bottom: 2px;
}

.scrum-onboarding__step p {
  font-size: var(--fs-sm);
  color: var(--text-sub);
  line-height: 1.5;
}

.scrum-onboarding__examples {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.scrum-onboarding__examples li {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.scrum-onboarding__examples li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--text-muted);
}

.scrum-onboarding__rules {
  margin-bottom: 28px;
}

.scrum-onboarding__rules p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.8;
}

.scrum-onboarding__cta {
  width: 100%;
}

/* ========================================
   SCRUM — Success Overlay
   ======================================== */
.scrum-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.scrum-success-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.scrum-success {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 480px;
  width: 90vw;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.scrum-success__header {
  margin-bottom: 24px;
}

.scrum-success__check {
  margin-bottom: 16px;
}

.scrum-success__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: 8px;
}

.scrum-success__encouragement {
  font-size: var(--fs-base);
  color: var(--text-sub);
  line-height: 1.6;
}

/* Streak counter */
.scrum-success__streak {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding: 12px 24px;
  background: rgba(232, 112, 10, 0.1);
  border-radius: 12px;
}

.scrum-success__streak-value {
  font-family: var(--mono);
  font-size: var(--fs-5xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.scrum-success__streak-label {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--accent);
}

/* Milestone */
.scrum-success__milestone {
  background: linear-gradient(135deg, rgba(232, 112, 10, 0.15), rgba(234, 179, 8, 0.15));
  border: 1px solid rgba(232, 112, 10, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  animation: scrum-milestone-glow 2s ease-in-out infinite;
}

@keyframes scrum-milestone-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 112, 10, 0.2); }
  50% { box-shadow: 0 0 20px 4px rgba(232, 112, 10, 0.3); }
}

.scrum-success__milestone-badge {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 8px;
}

.scrum-success__milestone-title {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.scrum-success__milestone-desc {
  font-size: var(--fs-sm);
  color: var(--text-sub);
}

/* Fellow founder card */
.scrum-success__fellow {
  margin-bottom: 24px;
}

.scrum-success__fellow-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scrum-fellow-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: left;
}

.scrum-fellow-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.scrum-fellow-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: 700;
  flex-shrink: 0;
}

.scrum-fellow-card__name {
  font-size: var(--fs-md);
  font-weight: 600;
}

.scrum-fellow-card__streak {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--accent);
  font-weight: 600;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  padding: 2px 8px;
  border-radius: 999px;
}

.scrum-fellow-card__empty {
  font-size: var(--fs-base);
  color: var(--text-sub);
  text-align: center;
  padding: 16px 0;
  line-height: 1.6;
}

.scrum-fellow-card__body {
  font-size: var(--fs-base);
  color: var(--text-sub);
  line-height: 1.7;
}

.scrum-fellow-card__body p {
  margin-bottom: 4px;
}

.scrum-fellow-card__body p:last-child {
  margin-bottom: 0;
}

.scrum-fellow-card__body strong {
  color: var(--text);
  font-weight: 600;
}

.scrum-fellow-card__section {
  margin-bottom: 8px;
}

.scrum-fellow-card__section:last-child {
  margin-bottom: 0;
}

.scrum-fellow-card__section strong {
  display: block;
  font-size: var(--fs-sm);
  color: var(--text-sub);
  margin-bottom: 2px;
}

.scrum-fellow-card__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.scrum-fellow-card__body ul li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 2px;
}

.scrum-fellow-card__body ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-sub);
  font-weight: 700;
}

/* Actions */
.scrum-success__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 480px) {
  .scrum-success {
    padding: 32px 20px;
  }

  .scrum-success__actions {
    flex-direction: column;
  }

  .scrum-success__streak-value {
    font-size: var(--fs-4xl);
  }
}
