/* Design tokens loaded from chch-tokens.css via head.php */

html,
body {
  font-family: var(--f-base, "Nanum Gothic", sans-serif);
  background:
    radial-gradient(circle at top, var(--chch-bg-radial), transparent 34%),
    linear-gradient(180deg, var(--chch-bg-start) 0%, var(--chch-bg-mid) 50%, var(--chch-bg-end) 100%);
  color: var(--chch-text);
  max-width: 100%;
  overflow-x: hidden;
}

a { color: var(--chch-link); }
a:hover { color: var(--chch-link-hover); text-decoration: none; }
img { max-width: 100%; height: auto; }

/* --- CHCH HEADER V4 --- */
.chch-header-spacer { height: 54px; }
.chch-header-v4 {
  position: fixed; top: 0; left: 0; right: 0;
  background: var(--chch-header-bg); border-bottom: 1px solid var(--chch-border);
  box-shadow: 0 8px 22px rgba(125,177,229,.14); z-index: 1030;
}
.chch-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1170px; margin: 0 auto; min-height: 54px;
  background: var(--chch-header-inner-bg);
}
.chch-desktop-nav {
  display: flex; align-items: center; justify-content: flex-end;
  flex: 1 1 auto; gap: 36px; padding-right: 22px;
}
.chch-desktop-nav .nav {
  display: flex; margin: 0; padding: 0; list-style: none; gap: 14px;
}
.chch-desktop-nav .nav > li > a {
  color: var(--chch-text); font-size: 14px; font-weight: 700;
  display: flex; align-items: center; height: 54px;
  padding: 0 14px; text-decoration: none;
}
.chch-desktop-nav .nav > li > a:hover {
  color: var(--chch-link); background: var(--chch-nav-hover); border-radius: 6px;
}
.chch-desktop-nav .nav > li > a:hover .main-nav-badge {
  opacity: .85; box-shadow: none;
}
.chch-search-form {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px;
  border: 1px solid var(--chch-border); border-radius: 18px;
  background: var(--chch-search-bg); box-shadow: 0 12px 24px rgba(127,176,226,.10);
  flex: 0 0 270px; box-sizing: border-box;
}
.chch-search-form input[type="text"] {
  width: 100%; min-width: 0; height: 40px; padding: 0 14px; border: 0; outline: 0;
  background: transparent; color: var(--chch-text); font-size: 14px; box-sizing: border-box;
  flex: 1 1 auto; -webkit-appearance: none; appearance: none;
  margin: 0; box-shadow: none; line-height: normal; border-radius: 0;
}
.chch-search-form button {
  flex: 0 0 auto; height: 40px; padding: 0 18px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, #3d90ea 0%, #7dbef6 100%);
  color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; box-sizing: border-box;
  margin: 0; line-height: normal; text-shadow: none;
}
.chch-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--chch-border);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--chch-surface-strong) 0%, var(--chch-surface-soft) 100%);
  color: var(--chch-text);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(125,177,229,.08);
  cursor: pointer;
  white-space: nowrap;
}
.chch-theme-toggle:hover {
  border-color: #9fd0ff;
  background: var(--chch-surface-hover);
  color: var(--chch-link);
}
.chch-theme-toggle-icon {
  font-size: 17px;
  line-height: 1;
}
.chch-theme-toggle-mobile {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: 0;
}
.mobile-app-topbar {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 12px;
}
.chch-header-v4 .brand {
  display: inline-flex; position: relative; z-index: 1401; flex-direction: column;
  line-height: 1; padding: 8px 18px 8px 24px; color: #2f88e6 !important; font-size: 0; pointer-events: auto; text-decoration: none;
}
.brand-kr {
  font-size: 34px;
  font-weight: 700;
  color: var(--chch-link);
  letter-spacing: -.04em;
}
.brand-en {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--chch-text-muted);
}
.main-nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
}
.main-nav-badge-blog {
  background: linear-gradient(135deg, #3d90ea 0%, #7dbef6 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(83,145,217,.18);
}
.main-nav-badge-cafe {
  background: linear-gradient(135deg, #49a46c 0%, #8bd0a1 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(92,158,112,.18);
}
.dropdown-menu {
  border-radius: 16px;
  border: 1px solid var(--chch-border);
  box-shadow: 0 18px 30px rgba(125,177,229,.14);
  background: var(--chch-surface-strong);
}
.dropdown-menu > li > a {
  color: var(--chch-text);
}
.dropdown-menu > li > a:hover {
  background: var(--chch-surface-hover);
  color: var(--chch-link);
}

#content.container,
#content.container-fluid {
  padding-top: 48px;
  padding-bottom: 36px;
}

.homepage-shell {
  position: relative;
  z-index: 1;
}
.homepage-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.08fr) minmax(300px, .82fr);
  gap: 22px;
  align-items: start;
}
.homepage-main,
.homepage-side {
  min-width: 0;
}
.content-panel {
  background: var(--chch-surface);
  border: 1px solid var(--chch-border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--chch-shadow);
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.homepage-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.homepage-side-heading {
  margin-bottom: 14px;
  padding: 16px 16px 0;
}

.section-side-heading {
  margin-bottom: 14px;
  padding: 16px 16px 0;
}

.homepage-side-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--chch-text-muted);
}

.widget-quicklinks h4 {
  margin: 6px 0 0;
  padding: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--chch-link);
}

.homepage-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--chch-border);
  background: linear-gradient(180deg, var(--chch-surface-strong) 0%, var(--chch-surface-soft) 100%);
  color: var(--chch-text);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(125,177,229,.08);
}

.homepage-quick-links a:hover {
  border-color: #9fd0ff;
  color: var(--chch-link);
  background: var(--chch-surface-strong);
}

.v4-scroll-controls {
  position: fixed;
  right: 24px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  pointer-events: none;
}

.v4-scroll-controls.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.v4-scroll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #cfe5d6;
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 28px rgba(134,184,148,.18);
  color: #2f8b5a;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.v4-scroll-button:hover {
  background: #edf8f0;
  border-color: #9fd2af;
}

.v4-scroll-button[hidden] {
  display: none !important;
}

html[data-theme="dark"] .v4-scroll-button {
  border-color: #2b425d;
  background: #13253a;
  color: #dbe7f7;
}

html[data-theme="dark"] .v4-scroll-button:hover {
  border-color: #3e648b;
  background: #173250;
  color: #8fc7ff;
}

.section-v4-footer {
  margin-top: 20px;
  padding: 30px 0 34px;
  border-top: 1px solid var(--chch-footer-border);
  background: var(--chch-footer-bg);
}

.section-v4-footer-inner,
.section-v4-footer-bottom {
  width: 1240px;
  margin: 0 auto;
}

.section-v4-footer-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}

.section-v4-footer-copy strong,
.section-v4-footer-verse strong {
  display: block;
  color: var(--chch-link);
  font-size: 18px;
}

.section-v4-footer-copy p,
.section-v4-footer-verse p {
  margin: 8px 0 0;
  color: var(--chch-text-soft);
  font-size: 13px;
  line-height: 1.7;
}

.section-v4-footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
  color: var(--chch-text-soft);
  font-size: 12px;
}

.section-v4-footer-meta {
  display: grid;
  gap: 6px;
}

.section-v4-footer-meta p {
  margin: 0;
  line-height: 1.7;
}

.section-v4-footer-meta a {
  color: var(--chch-link);
}

.section-v4-footer-family {
  display: grid;
  gap: 8px;
}

.section-v4-footer-family label {
  color: var(--chch-text-muted);
  font-size: 12px;
  font-weight: 700;
}

.section-v4-footer-family select {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--chch-border);
  border-radius: 14px;
  background: var(--chch-surface-strong);
  color: var(--chch-text);
  font-size: 13px;
  box-sizing: border-box;
}

.container.homepage-shell,
.navbar .container {
  width: 1240px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-heading h3 {
  margin: 4px 0 0;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: #2e78c7;
}
.section-heading-inline h3 { font-size: 30px; }
.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8fb6dc;
}
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border: 1px solid var(--chch-card-border);
  border-radius: 999px;
  background: var(--chch-card-bg-strong);
  color: var(--chch-card-text);
  font-size: 13px;
  font-weight: 700;
}
.section-more:hover {
  border-color: #9fd0ff;
  color: #2f88e6;
}

.yt-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.yt-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid var(--chch-chip-border);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--chch-card-bg) 0%, var(--chch-card-bg-soft) 100%);
  color: var(--chch-card-text-strong);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.yt-filter-chip-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff5c73;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(255, 92, 115, 0.2);
}

.yt-filter-chip:hover,
.yt-filter-chip:focus,
.yt-filter-chip:active {
  border-color: var(--chch-link);
  background: linear-gradient(180deg, var(--chch-chip-bg) 0%, var(--chch-surface-hover) 100%);
  color: var(--chch-link);
  text-decoration: none;
}
html[data-theme="dark"] .yt-filter-chip-new {
  background: #ff7285;
  color: #fff7f8;
}

.emanna-showcase {
  margin-bottom: 24px;
}
.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 22px;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(12,72,43,.70) 0%, rgba(36,128,75,.48) 42%, rgba(193,232,181,.22) 100%),
    linear-gradient(115deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.02) 55%, rgba(255,255,255,.12) 100%),
    var(--emanna-hero-image, url('images/noimage7.jpg')) center center / cover no-repeat;
  box-shadow: 0 24px 40px rgba(74,131,98,.22);
  color: #fff;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hero-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.94);
}
.hero-banner h2 {
  margin: 10px 0 14px;
  font-size: 50px;
  line-height: 1.02;
  letter-spacing: -.05em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(17,56,32,.22);
}
.hero-summary {
  max-width: 520px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(250,255,248,.96);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 13px 18px;
  border-radius: 14px;
  background: rgba(246,255,246,.17);
  border: 1px solid rgba(241,255,241,.32);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.hero-btn:hover {
  background: rgba(246,255,246,.28);
  color: #fff;
}
.hero-btn-primary {
  background: #f5fff6;
  border-color: #f5fff6;
  color: #2c8a4c;
}
.hero-btn-primary:hover {
  background: #ecfff0;
  color: #247240;
}
.hero-visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.hero-visual-panel {
  width: 100%;
  min-height: 188px;
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(242,255,242,.18), rgba(255,255,255,.22)),
    radial-gradient(circle at top right, rgba(245,255,234,.54), transparent 42%),
    linear-gradient(160deg, rgba(225,244,226,.22), rgba(255,255,255,.05));
  border: 1px solid rgba(244,255,244,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
  text-decoration: none !important;
  cursor: pointer;
}
html[data-theme="dark"] .hero-visual-panel {
  background:
    linear-gradient(180deg, rgba(13,24,37,.74), rgba(19,32,48,.88)),
    radial-gradient(circle at top right, rgba(91,146,214,.18), transparent 42%),
    linear-gradient(160deg, rgba(34,58,84,.26), rgba(12,20,31,.18));
  border-color: rgba(196, 222, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hero-visual-panel {
    background:
      linear-gradient(180deg, rgba(13,24,37,.74), rgba(19,32,48,.88)),
      radial-gradient(circle at top right, rgba(91,146,214,.18), transparent 42%),
      linear-gradient(160deg, rgba(34,58,84,.26), rgba(12,20,31,.18));
    border-color: rgba(196, 222, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  }
}
.hero-date-label {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245,255,245,.52);
  border: 1px solid rgba(240,255,240,.42);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #295d3a;
}
html[data-theme="dark"] .hero-date-label {
  background: rgba(92, 139, 196, .18);
  border-color: rgba(159, 204, 255, .18);
  color: #c4ddff;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hero-date-label {
    background: rgba(92, 139, 196, .18);
    border-color: rgba(159, 204, 255, .18);
    color: #c4ddff;
  }
}
.hero-visual-copy {
  margin-top: auto;
}
.hero-visual-copy-apply {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-visual-panel strong {
  display: block;
  font-size: 25px;
  line-height: 1.28;
  color: #163c24;
  text-shadow: 0 1px 0 rgba(255,255,255,.22);
}
html[data-theme="dark"] .hero-visual-panel strong {
  color: #eef5ff;
  text-shadow: none;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hero-visual-panel strong {
    color: #eef5ff;
    text-shadow: none;
  }
}
.hero-visual-panel p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.72;
  color: #335745;
}
.hero-apply-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}
.hero-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
}
.hero-apply-btn-primary {
  background: #f7fff8;
  color: #217044 !important;
}
.hero-apply-btn-accent {
  background: rgba(36, 62, 90, .88);
  color: #fff !important;
}
.hero-apply-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 2px;
}
.hero-apply-links a {
  color: rgba(248,255,247,.92);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero-apply-links a:hover {
  color: #fff;
}
html[data-theme="dark"] .hero-visual-panel p {
  color: #b7cae2;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .hero-visual-panel p {
    color: #b7cae2;
  }
}

.emanna-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.emanna-story-card {
  display: grid;
  grid-template-columns: minmax(150px, 34%) minmax(0, 1fr);
  overflow: hidden;
  background: var(--chch-card-bg);
  border: 1px solid var(--chch-card-border);
  border-radius: 22px;
  box-shadow: var(--chch-shadow-card);
}
.emanna-story-thumb {
  position: relative;
  min-height: 172px;
  background-size: cover;
  background-position: center;
}
.emanna-story-body {
  position: relative;
  padding: 18px 18px 16px;
}
.emanna-story-date {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--chch-chip-text);
}
.emanna-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(84, 170, 108, .60);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.emanna-story-thumb .emanna-type-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  box-shadow: 0 10px 20px rgba(28, 96, 167, .14);
}
.emanna-story-card.truth .emanna-type-badge {
  background: rgba(71, 144, 232, .60);
  color: #ffffff;
}
.emanna-story-title {
  margin: 0 86px 10px 0;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -.04em;
}
.emanna-story-title a { color: var(--chch-card-heading); }
.emanna-story-title a:hover { color: var(--chch-link); }
.emanna-story-excerpt {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--chch-card-text);
  max-height: 108px;
  overflow: hidden;
}
.emanna-story-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2f88e6;
  font-size: 14px;
  font-weight: 700;
}

.media-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.media-filter-bar a {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--chch-card-bg-soft);
  border: 1px solid var(--chch-card-border);
  color: var(--chch-card-text);
  font-size: 12px;
  font-weight: 700;
}
.media-filter-bar a:hover {
  color: #2f88e6;
  border-color: #bfe0fb;
}
.media-filter-bar a.active {
  background: linear-gradient(135deg, #5dacf7 0%, #8cccff 100%);
  color: #fff;
  border-color: transparent;
}
.yt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.yt-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--chch-card-border);
  background: var(--chch-card-bg);
  box-shadow: var(--chch-shadow-card);
}
.yt-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 60%;
  overflow: hidden;
  background: var(--chch-thumb-bg);
}
.yt-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.yt-card:hover .yt-thumb img { transform: scale(1.05); }
.yt-play-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(87,164,245,.94);
  box-shadow: 0 10px 18px rgba(0,0,0,.14);
}
.yt-play-icon:after {
  content: "";
  position: absolute;
  left: 14px;
  top: 10px;
  border-left: 10px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}
.yt-card-body { padding: 16px 16px 18px; }
.yt-series {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--chch-chip-text);
}
.yt-pinup-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff3d1 0%, #ffe09a 100%);
  border: 1px solid #f0c96a;
  color: #9a6410;
  font-size: 10px;
  letter-spacing: .04em;
  box-shadow: 0 8px 16px rgba(226, 172, 43, 0.18);
}
.yt-pinup-badge i {
  font-size: 10px;
}
html[data-theme="dark"] .yt-pinup-badge {
  background: rgba(125, 92, 17, 0.28);
  border-color: rgba(240, 201, 106, 0.42);
  color: #ffd56f;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}
.yt-title {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -.03em;
}
.yt-title a { color: var(--chch-card-heading); }
.yt-title a:hover { color: #237cd4; }
.yt-link {
  display: inline-flex;
  color: var(--chch-link);
  font-size: 13px;
  font-weight: 700;
}

.newpost-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.newpost-card {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--chch-card-bg) 0%, var(--chch-card-bg-soft) 100%);
  border: 1px solid var(--chch-card-border);
  box-shadow: var(--chch-shadow-card);
}
.newpost-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--chch-card-border-soft);
  background: linear-gradient(180deg, var(--chch-card-bg-strong) 0%, var(--chch-stat-bg) 100%);
}
.newpost-card-header img {
  width: 18px;
  height: 18px;
}
.newpost-card-header h4 {
  flex: 1;
  margin: 0;
  font-size: 16px;
  color: var(--chch-card-heading);
}
.newpost-card-header h4 a { color: inherit; }
.newpost-card-header .sec-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--chch-chip-text);
}
.newpost-card-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.newpost-card-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--chch-card-border-soft);
}
.newpost-card-list li:last-child { border-bottom: none; }
.newpost-card-list li a {
  min-width: 0;
  color: var(--chch-card-text-strong);
  font-size: 13px;
  line-height: 1.5;
}
.newpost-card-list li a:hover { color: #43a1fb; }
.resource-meta {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--chch-chip-bg);
  color: var(--chch-chip-text);
  font-size: 11px;
  font-weight: 700;
}

ul.tags { margin: 0; padding: 0; }
ul.tags li { display: inline-block; margin: 3px 4px 0 0; }
ul.tags a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--chch-card-bg-soft);
  border: 1px solid var(--chch-chip-border);
  color: var(--chch-card-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: none;
  box-sizing: border-box;
}
ul.tags a:hover {
  background: #61b0fa;
  border-color: #61b0fa;
  color: #ffffff !important;
  text-decoration: none !important;
}
ul.tags a::before,
ul.tags a::after { display: none !important; content: none !important; }

.sidebar .widget,
.mobile-card-stack .widget {
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 20px;
  border: 1px solid var(--chch-card-border);
  background: var(--chch-card-bg-strong);
  box-shadow: var(--chch-shadow-card);
}
.sidebar .widget h4,
.mobile-card-stack .widget h4 {
  margin: 0;
  padding: 16px 16px 10px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--chch-card-heading);
  background: transparent;
}
.sidebar .widget h4 i,
.mobile-card-stack .widget h4 i { color: var(--chch-chip-text); }
.sidebar .widget h4 a,
.mobile-card-stack .widget h4 a { color: inherit; }
.mobile-emanna-apply-card {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(126, 189, 152, .26);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94) 0%, rgba(247,252,248,.96) 100%),
    linear-gradient(135deg, rgba(106,175,118,.10) 0%, rgba(56,140,83,.12) 100%);
  box-shadow: 0 14px 26px rgba(86, 137, 97, .10);
  color: var(--chch-card-heading);
  text-decoration: none !important;
}
.mobile-emanna-apply-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #5f8e6a;
}
.mobile-emanna-apply-card strong {
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: #25653d;
}
.mobile-emanna-apply-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--chch-card-text);
}
.mobile-emanna-apply-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f8a49 0%, #6ab86e 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  justify-self: start;
  box-shadow: 0 12px 20px rgba(60, 129, 73, .18);
}
html[data-theme="dark"] .mobile-emanna-apply-card {
  border-color: rgba(69, 117, 82, .45);
  background:
    linear-gradient(135deg, rgba(22,33,29,.96) 0%, rgba(18,29,24,.94) 100%),
    linear-gradient(135deg, rgba(80,140,92,.14) 0%, rgba(40,86,53,.18) 100%);
  box-shadow: 0 16px 26px rgba(0, 0, 0, .20);
}
html[data-theme="dark"] .mobile-emanna-apply-kicker {
  color: #8fd0a0;
}
html[data-theme="dark"] .mobile-emanna-apply-card strong {
  color: #d8f5de;
}
.sidebar .widget > *:not(h4),
.mobile-card-stack .widget > *:not(h4) {
  padding-left: 16px;
  padding-right: 16px;
}
.sidebar .widget .row,
.mobile-card-stack .widget .row {
  margin-left: 0 !important;
  padding: 0 16px 16px;
}
.sidebar .widget .row [class*="span"],
.mobile-card-stack .widget .row [class*="span"] {
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
}
.sidebar .widget ul,
.mobile-card-stack .widget ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.sidebar .widget ul li,
.mobile-card-stack .widget ul li {
  padding: 9px 0;
  border-bottom: 1px solid var(--chch-card-border-soft);
  color: var(--chch-card-text-strong);
  font-size: 13px;
  line-height: 1.5;
}
.sidebar .widget ul li:last-child,
.mobile-card-stack .widget ul li:last-child { border-bottom: none; }
.sidebar .widget ul li a,
.mobile-card-stack .widget ul li a { color: var(--chch-card-text-strong); }
.sidebar .widget ul li a:hover,
.mobile-card-stack .widget ul li a:hover { color: #43a1fb; }
.sidebar .widget .unstyled,
.mobile-card-stack .widget .unstyled {
  padding: 0 16px 14px;
}

.sidebar .widget-tags ul,
.mobile-card-stack .widget-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 8px 16px 16px;
  overflow: visible;
  align-content: flex-start;
}
.sidebar .widget-tags ul li,
.mobile-card-stack .widget-tags ul li {
  display: inline-block;
  flex: 0 0 auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border-bottom: 0 !important;
  line-height: normal;
}
.sidebar .widget-tags ul li:before,
.sidebar .widget-tags ul li:after,
.mobile-card-stack .widget-tags ul li:before,
.mobile-card-stack .widget-tags ul li:after {
  display: none !important;
  content: none !important;
}
.sidebar .widget-tags a,
.sidebar .widget-tags a:hover,
.sidebar .widget-tags a:focus,
.sidebar .widget-tags a:active,
.mobile-card-stack .widget-tags a,
.mobile-card-stack .widget-tags a:hover,
.mobile-card-stack .widget-tags a:focus,
.mobile-card-stack .widget-tags a:active {
  display: inline-block;
  min-height: 0;
  padding: 6px 12px;
  box-sizing: border-box;
  border-radius: 18px;
  background: var(--chch-chip-bg);
  border: 1px solid var(--chch-chip-border);
  color: var(--chch-chip-text) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  word-break: keep-all;
  white-space: nowrap;
  text-decoration: none !important;
}
.sidebar .widget-tags a:hover,
.sidebar .widget-tags a:focus,
.sidebar .widget-tags a:active,
.mobile-card-stack .widget-tags a:hover,
.mobile-card-stack .widget-tags a:focus,
.mobile-card-stack .widget-tags a:active {
  background: #53a9f5;
  border-color: #53a9f5;
  color: #ffffff !important;
}
.sidebar .widget-tags a:before,
.sidebar .widget-tags a:after,
.sidebar .widget-tags li:before,
.sidebar .widget-tags li:after,
.mobile-card-stack .widget-tags a:before,
.mobile-card-stack .widget-tags a:after,
.mobile-card-stack .widget-tags li:before,
.mobile-card-stack .widget-tags li:after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

.widget-login form,
.widget-login table {
  width: 100%;
}
.widget-login-v4 > *:not(h4) {
  padding-left: 16px;
  padding-right: 16px;
}

.section-side-stack {
  display: grid;
  gap: 16px;
}

.section-side-card {
  background: var(--chch-card-bg-strong);
  border: 1px solid var(--chch-card-border);
  border-radius: 28px;
  box-shadow: var(--chch-shadow-card);
  padding: 24px;
  overflow: hidden;
}

.section-side-card-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-side-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--chch-chip-text);
}

.section-side-card-heading h4 {
  margin: 6px 0 0;
  color: var(--chch-card-heading);
  letter-spacing: -.04em;
  font-size: 24px;
  line-height: 1.08;
  background: transparent;
  padding: 0;
}

.section-side-card-heading h4 a {
  color: inherit;
}

.section-side-login-embed {
  display: grid;
  gap: 12px;
}

.section-side-list {
  display: grid;
  gap: 0;
}

.section-side-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-side-list ul li {
  padding: 10px 0;
  border-top: 1px solid var(--chch-card-border-soft);
  color: var(--chch-card-text);
  font-size: 14px;
  line-height: 1.6;
}

.section-side-list ul li:first-child {
  border-top: 0;
  padding-top: 0;
}

.section-side-list ul li:last-child {
  padding-bottom: 0;
}

.section-side-list ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--chch-card-text-strong);
}

.section-side-list ul li a:hover {
  color: var(--chch-link);
}

.section-rank-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border: 1px solid var(--chch-chip-border);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--chch-card-bg) 0%, var(--chch-chip-bg) 100%);
  color: var(--chch-link);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-sizing: border-box;
}

.section-rank-chip-1 {
  border-color: rgba(122, 180, 240, .72);
  background: linear-gradient(180deg, #5ca9f7 0%, #2f88e6 100%);
  color: #ffffff;
}

.section-rank-chip-2 {
  border-color: rgba(142, 196, 164, .72);
  background: linear-gradient(180deg, #74c18e 0%, #46a768 100%);
  color: #ffffff;
}

.section-rank-chip-3 {
  border-color: rgba(240, 198, 142, .72);
  background: linear-gradient(180deg, #f2bf72 0%, #d8922f 100%);
  color: #ffffff;
}

.section-rank-title {
  display: block;
  min-width: 0;
  flex: 1 1 auto;
}

.section-side-list ul li a:hover .section-rank-chip,
.section-side-list ul li a:focus .section-rank-chip {
  border-color: #2f88e6;
  background: linear-gradient(180deg, #4f9ef0 0%, #2f88e6 100%);
  color: #ffffff;
}

.section-side-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.section-side-quick-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--chch-chip-border);
  border-radius: 999px;
  background: var(--chch-card-bg-soft);
  color: var(--chch-card-text-strong);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.section-side-quick-links a:hover {
  border-color: var(--chch-link);
  background: var(--chch-surface-hover);
  color: var(--chch-link);
}

.section-side-tags .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  margin: 0;
  padding: 0;
}

.section-side-tags .tags li {
  margin: 0;
  list-style: none;
}

.section-side-tags .tags .section-tag-chip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--chch-chip-border);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--chch-card-bg) 0%, var(--chch-card-bg-soft) 100%);
  color: var(--chch-card-text-strong);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.section-side-tags .tags .section-tag-chip.is-featured a {
  border-color: var(--chch-chip-border);
  background: linear-gradient(180deg, var(--chch-card-bg) 0%, var(--chch-chip-bg) 100%);
  color: var(--chch-link);
}

.section-side-tags .tags .section-tag-chip a:hover,
.section-side-tags .tags .section-tag-chip a:focus {
  border-color: var(--chch-link);
  background: linear-gradient(180deg, #4f9ef0 0%, #2f88e6 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

.section-side-visitors .cv-wrap.vw-sidebar {
  padding-bottom: 0;
}
.widget-login-v4 .homepage-side-heading,
.widget-login-v4 .section-side-heading {
  margin-bottom: 0;
}
.widget-login-v4 .homepage-side-heading h4,
.widget-login-v4 .section-side-heading h4 {
  margin: 6px 0 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -.04em;
  color: var(--chch-card-heading);
  background: transparent;
}
.section-login-embed {
  overflow: hidden;
}
.section-v4-login-form,
.section-v4-login-state {
  display: grid;
  gap: 14px;
}
.section-v4-login-fields {
  display: grid;
  gap: 10px;
}
.section-v4-login-fields input[type="text"],
.section-v4-login-fields input[type="password"] {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--chch-card-border);
  border-radius: 14px;
  background: var(--chch-card-bg-soft);
  color: var(--chch-card-text-strong);
  font-size: 14px;
  box-sizing: border-box;
}
.section-v4-login-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.section-v4-login-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--chch-card-text);
  font-size: 13px;
  margin-top: -2px;
}
.section-v4-login-submit,
.section-v4-login-link-primary,
.section-v4-login-link-secondary,
.section-v4-login-links a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--chch-card-border);
  border-radius: 12px;
  background: var(--chch-card-bg-soft);
  color: var(--chch-card-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-sizing: border-box;
}
.section-v4-login-submit,
.section-v4-login-link-primary {
  border-color: #9fcaf1;
  background: linear-gradient(135deg, #3d90ea 0%, #7cbef6 100%);
  color: #fff;
}
.section-v4-login-link-secondary,
.section-v4-login-links a.button {
  background: var(--chch-chip-bg);
  color: var(--chch-link);
}
.section-v4-login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.section-v4-login-links-utility {
  gap: 8px;
}
.section-v4-login-links-secondary {
  margin-top: -4px;
}
.section-v4-mobile-more {
  display: grid;
  gap: 14px;
}
.section-v4-mobile-more-toggle {
  display: none;
}
.section-v4-login-inline-link,
.section-v4-login-inline-link a,
.section-v4-login-inline-link .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--chch-card-text) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
.section-v4-login-inline-link img {
  max-height: 18px;
  width: auto;
}
.section-v4-login-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-v4-login-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--chch-chip-bg);
  overflow: hidden;
}
.section-v4-login-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-v4-login-avatar-fallback {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--chch-chip-bg) 0%, var(--chch-stat-bg) 100%);
}
.section-v4-login-user-copy strong {
  display: block;
  color: var(--chch-card-heading);
  font-size: 16px;
}
.section-v4-login-user-copy span {
  display: block;
  margin-top: 3px;
  color: var(--chch-card-text);
  font-size: 12px;
}
.section-v4-login-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.section-v4-login-stat {
  padding: 12px;
  border-radius: 14px;
  background: var(--chch-stat-bg);
}
.section-v4-login-stat span {
  display: block;
  color: var(--chch-card-text);
  font-size: 11px;
}
.section-v4-login-stat strong {
  display: block;
  margin-top: 5px;
  color: var(--chch-card-heading);
  font-size: 15px;
  line-height: 1.2;
}
.widget-login input[type="text"],
.widget-login input[type="password"],
.widget-login select {
  width: 100%;
  min-height: 44px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--chch-card-border);
  background: var(--chch-card-bg-soft);
  color: var(--chch-card-text-strong);
  box-sizing: border-box;
}
.widget-login input[type="submit"],
.widget-login .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #63b0fb 0%, #90ceff 100%);
  color: #fff !important;
  font-weight: 700;
  box-shadow: none;
}
.widget-login .login-compact {
  margin: 0;
  padding: 2px 16px 8px;
}
.widget-login .login-compact [class*="span"] {
  float: none !important;
  width: 100% !important;
  margin-left: 0 !important;
}
.widget-login .login-compact-col {
  margin-bottom: 2px;
}
.widget-login .login-compact-col ul {
  margin: 0;
  padding: 0;
}
.widget-login .login-compact-col li {
  padding: 7px 0;
  font-size: 12px;
  line-height: 1.35;
}
.widget-login .login-compact-col li i {
  margin-right: 6px;
  color: var(--chch-chip-text);
}
.widget-login .login-compact-col li img {
  margin: 0 2px 0 3px;
}
.widget-login .login-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
}
.widget-login .login-compact-actions .button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 12px;
}
.widget-login .login-compact-actions a.button.small.brown,
.widget-login .login-compact-actions a.button.small.green,
.widget-login .login-compact-actions a.button.small.orange {
  margin: 0;
}
.widget-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 16px 16px;
}
.widget-actions .button {
  background: var(--chch-chip-bg);
  color: var(--chch-chip-text) !important;
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.widget-tags {
  overflow: visible;
}

.community-summary-strip {
  margin-top: 10px;
  padding: 22px 24px 18px;
  border-radius: 24px;
  border: 1px solid var(--chch-card-border);
  background: var(--chch-card-bg-strong);
  box-shadow: var(--chch-shadow-card);
}
.community-summary-strip .section-heading {
  margin-bottom: 16px;
}
.section-memo-panel {
  padding-bottom: 26px;
}
.section-memo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.section-memo-tabs a,
.section-memo-toolbar-button,
.section-memo-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--chch-card-border);
  border-radius: 999px;
  background: var(--chch-card-bg-soft);
  color: var(--chch-card-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.section-memo-tabs a.is-active,
.section-memo-toolbar-button.primary,
.section-memo-pagination a.is-active {
  border-color: #9fcaf1;
  background: var(--chch-chip-bg);
  color: var(--chch-link);
}
.section-memo-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
}
.section-memo-toolbar-button.danger {
  border-color: #f0c4bc;
  background: #fff4f1;
  color: #c85747;
}
.section-memo-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--chch-card-border);
  border-radius: 20px;
  background: var(--chch-card-bg-soft);
}
.section-memo-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.section-memo-table th,
.section-memo-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--chch-card-border-soft);
  color: var(--chch-card-text-strong);
  font-size: 13px;
  text-align: left;
  vertical-align: middle;
}
.section-memo-table th {
  color: var(--chch-chip-text);
  font-size: 12px;
  font-weight: 700;
}
.section-memo-col-number {
  min-width: 52px;
  color: var(--chch-chip-text);
  white-space: nowrap;
}
.section-memo-title-cell a {
  color: var(--chch-card-heading);
  font-weight: 700;
}
.section-memo-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--chch-card-border);
  border-radius: 50%;
  background: var(--chch-card-bg-soft);
  color: var(--chch-card-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.section-memo-status-icon.is-unread {
  border-color: #f0c4bc;
  background: #fff4f1;
  color: #c85747;
}
.section-memo-empty {
  padding: 30px 24px;
  border: 1px dashed var(--chch-card-border);
  border-radius: 20px;
  background: var(--chch-card-bg-soft);
  color: var(--chch-card-text);
  font-size: 14px;
  text-align: center;
}
.section-memo-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.section-memo-pagination a {
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
}
.section-memo-view {
  display: grid;
  gap: 10px;
}
.section-memo-view-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--chch-card-border-soft);
  border-radius: 18px;
  background: var(--chch-card-bg-soft);
}
.section-memo-view-row strong {
  color: var(--chch-chip-text);
  font-size: 13px;
}
.section-memo-view-row div {
  color: var(--chch-card-text-strong);
  font-size: 14px;
  line-height: 1.7;
}
.section-memo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.section-memo-write-form {
  display: grid;
  gap: 14px;
}
.section-memo-form-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.section-memo-form-row label {
  padding-top: 12px;
  color: var(--chch-chip-text);
  font-size: 13px;
  font-weight: 700;
}
.section-memo-form-field {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.section-memo-input,
.section-memo-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--chch-card-border);
  border-radius: 16px;
  background: var(--chch-card-bg-soft);
  color: var(--chch-card-text-strong);
  font-size: 14px;
  box-sizing: border-box;
}
.section-memo-input {
  min-height: 46px;
}
.section-memo-textarea {
  min-height: 220px;
  resize: vertical;
}
.community-stat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 12px;
}
.community-stat-grid li {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--chch-card-border-soft);
  border-radius: 14px;
  background: var(--chch-stat-bg-soft);
  color: var(--chch-card-text-strong);
  font-size: 13px;
  line-height: 1.35;
}
.community-stat-grid .label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--chch-chip-bg);
  color: var(--chch-chip-text);
  font-size: 10px;
  font-weight: 700;
  box-shadow: none;
}

.mobile-quicknav {
  display: none;
}

.nav-responsive {
  display: none !important;
}

.mobile-app-nav {
  display: none;
}

@media (max-width: 1199px) {
  .container.homepage-shell,
  .navbar .container {
    width: auto;
  }
  .navbar-toolbar {
    gap: 12px;
  }
  .navbar-search-form {
    flex-basis: 220px;
  }
  .hero-banner h2 { font-size: 48px; }
  .yt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .newpost-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sidebar .widget-tags ul,
  .mobile-card-stack .widget-tags ul { gap: 8px 10px; }
}

@media (max-width: 979px) {
  .container.homepage-shell,
  #content.container-fluid {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
  .homepage-grid {
    grid-template-columns: 1fr;
  }
  .homepage-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .homepage-side .widget { margin-bottom: 0; }
  .hero-banner {
    grid-template-columns: 1fr;
  }
  .emanna-story-grid,
  .newpost-grid {
    grid-template-columns: 1fr;
  }
  .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .community-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sidebar .widget-tags ul,
  .mobile-card-stack .widget-tags ul { gap: 8px 10px; }
  .section-v4-login-stats { grid-template-columns: 1fr; }
  .section-memo-form-row,
  .section-memo-view-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  /* CHCH HEADER V4 (Mobile/Tablet overrides) */
  .chch-header-spacer { height: 0; }
  .chch-desktop-nav { display: none; }
  .chch-header-v4 {
    position: relative;
    z-index: 1500;
  }
  .chch-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 10px 12px;
    box-sizing: border-box;
  }
  .chch-header-v4 .brand {
    padding: 0;
    display: inline-flex;
    justify-content: center;
    min-height: 46px;
    max-width: calc(100% - 64px);
  }
  .brand-kr { font-size: 24px; line-height: 1; }
  .brand-en { margin-top: 2px; font-size: 10px; line-height: 1.1; letter-spacing: .18em; }
  .mobile-app-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
  }
  .mobile-app-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--chch-border);
    border-radius: 16px;
    background: var(--chch-surface);
    box-shadow: 0 10px 22px rgba(127,176,226,.10);
    position: relative;
    z-index: 1302;
    pointer-events: auto;
  }
  .mobile-app-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--chch-text);
  }
  .mobile-app-panel,
  #mobile-app-panel[aria-hidden="true"] {
    display: none !important;
    margin-top: 10px;
  }
  .mobile-app-panel.is-open,
  #mobile-app-panel[aria-hidden="false"] {
    display: block !important;
  }
  .mobile-app-panel {
    position: fixed;
    top: 66px;
    right: 12px;
    z-index: 1800;
    width: min(calc(100vw - 24px), 288px);
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--chch-border-strong);
    border-radius: 22px;
    background: var(--chch-surface-strong);
    box-shadow: var(--chch-shadow-strong);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-sizing: border-box;
    margin: 0;
    pointer-events: auto;
  }
  .mobile-app-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: none;
    box-sizing: border-box;
  }
  .mobile-app-search input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--chch-border-strong);
    outline: 0;
    border-radius: 12px;
    background: var(--chch-surface-soft);
    color: var(--chch-text);
    font-size: 14px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    margin: 0;
    box-shadow: none;
    line-height: normal;
  }
  .mobile-app-search button {
    flex: 0 0 auto;
    min-width: 54px;
    height: 40px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #3d90ea 0%, #7dbef6 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-sizing: border-box;
    margin: 0;
    line-height: normal;
    text-shadow: none;
    white-space: nowrap;
  }
  .mobile-app-login-area {
    margin: 0 0 14px;
    padding: 14px;
    background: var(--chch-surface-strong);
    border: 1px solid var(--chch-border);
    border-radius: 18px;
    box-shadow: 0 8px 16px rgba(127, 176, 226, 0.08);
  }
  .mobile-app-login-area .section-v4-login-state {
    gap: 10px;
  }
  .mobile-app-topbar {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 12px;
  }
  .mobile-app-search {
    min-width: 0;
    flex: 1 1 auto;
    margin-bottom: 0;
  }
  .chch-theme-toggle-mobile {
    flex: 0 0 40px;
  }
  .mobile-app-login-area .section-v4-login-user {
    gap: 10px;
  }
  .mobile-app-login-area .section-v4-login-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
  .mobile-app-login-area .section-v4-login-user-copy strong {
    font-size: 15px;
  }
  .mobile-app-login-area .section-v4-login-user-copy span {
    margin-top: 2px;
    font-size: 11px;
  }
  .mobile-app-login-area .section-v4-mobile-more-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--chch-border);
    border-radius: 11px;
    background: var(--chch-surface-soft);
    color: var(--chch-text);
    font-size: 12px;
    font-weight: 700;
    box-sizing: border-box;
  }
  .mobile-app-login-area .section-v4-mobile-more {
    display: none;
    gap: 10px;
  }
  .mobile-app-login-area .section-v4-mobile-more.is-open {
    display: grid;
  }
  .mobile-app-login-area .section-v4-login-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-app-login-area .section-v4-login-stat {
    padding: 9px 10px;
    border-radius: 12px;
  }
  .mobile-app-login-area .section-v4-login-stat span {
    font-size: 10px;
  }
  .mobile-app-login-area .section-v4-login-stat strong {
    margin-top: 4px;
    font-size: 14px;
  }
  .mobile-app-login-area .section-v4-login-links {
    gap: 8px;
  }
  .mobile-app-login-area .section-v4-login-inline-link,
  .mobile-app-login-area .section-v4-login-inline-link a,
  .mobile-app-login-area .section-v4-login-inline-link .button {
    font-size: 12px;
  }
  .mobile-app-login-area .section-v4-login-inline-link img {
    max-height: 16px;
  }
  .mobile-app-login-area .section-v4-login-link-secondary,
  .mobile-app-login-area .section-v4-login-links-secondary .section-v4-login-link-primary {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 12px;
  }
  .mobile-app-login-area .section-v4-login-links-secondary {
    margin-top: 0;
  }
  .mobile-app-login-area .section-v4-login-links-secondary .section-v4-login-link-primary {
    flex: 1 1 calc(50% - 4px);
  }
  .mobile-app-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-app-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
    border: 1px solid var(--chch-border-strong);
    border-radius: 12px;
    background: var(--chch-surface-soft);
    color: var(--chch-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    word-break: keep-all;
  }
  .mobile-app-grid a.is-utility {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  html,
  body,
  #content.container-fluid,
  .homepage-shell,
  .mobile-homepage {
    max-width: 100%;
    overflow-x: hidden;
  }
  .navbar .nav-collapse.collapse {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #content.container-fluid { padding: 18px 14px 20px; }
  .homepage-quick-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .homepage-side-heading {
    margin-bottom: 12px;
  }
  .widget-quicklinks h4 {
    font-size: 24px;
  }
  .homepage-quick-links a {
    width: 100%;
    min-height: 52px;
    justify-content: center;
    font-size: 15px;
  }
  .v4-scroll-controls {
    right: 14px;
    bottom: 76px;
    gap: 8px;
  }
  .v4-scroll-button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 20px;
  }
  .mobile-quicknav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
  }
  .mobile-quicknav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 12px;
    border-radius: 18px;
    background: var(--chch-surface);
    border: 1px solid var(--chch-border);
    color: var(--chch-text);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }
  .community-summary-strip {
    padding: 18px 16px 14px;
  }
  .community-stat-grid {
    grid-template-columns: 1fr;
  }
  .sidebar .widget-tags ul,
  .mobile-card-stack .widget-tags ul {
    gap: 8px;
  }
  .sidebar .widget-tags a,
  .sidebar .widget-tags a:hover,
  .sidebar .widget-tags a:focus,
  .sidebar .widget-tags a:active,
  .mobile-card-stack .widget-tags a,
  .mobile-card-stack .widget-tags a:hover,
  .mobile-card-stack .widget-tags a:focus,
  .mobile-card-stack .widget-tags a:active {
    font-size: 11px;
    padding: 6px 10px;
  }
  .mobile-homepage .emanna-showcase {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .mobile-homepage .hero-banner {
    display: none;
  }
  .mobile-homepage .emanna-story-grid {
    margin-top: 0;
  }
  .hero-banner {
    padding: 22px 18px;
    border-radius: 24px;
  }
  .hero-banner h2 {
    font-size: 44px;
  }
  .hero-summary {
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-btn {
    flex: 1 1 calc(33.333% - 8px);
    min-width: 0;
    padding: 11px 12px;
    font-size: 13px;
  }
  .hero-visual-panel {
    min-height: 180px;
  }
  .hero-apply-actions {
    grid-template-columns: 1fr;
  }
  .hero-apply-links {
    gap: 8px 12px;
  }
  .emanna-story-card {
    grid-template-columns: 1fr;
  }
  .emanna-story-thumb {
    min-height: 168px;
  }
  .emanna-story-thumb .emanna-type-badge {
    left: auto;
    right: 14px;
  }
  .content-panel,
  .sidebar .widget,
  .mobile-card-stack .widget {
    border-radius: 22px;
  }
  .section-heading h3,
  .section-heading-inline h3,
  .sidebar .widget h4,
  .mobile-card-stack .widget h4 {
    font-size: 24px;
  }
  .section-v4-login-fields input[type="text"],
  .section-v4-login-fields input[type="password"] {
    height: 46px;
    font-size: 16px;
  }
  .section-v4-login-submit,
  .section-v4-login-link-primary,
  .section-v4-login-link-secondary,
  .section-v4-login-links a.button {
    min-height: 42px;
    font-size: 14px;
  }
  .section-memo-tabs a,
  .section-memo-toolbar-button,
  .section-memo-pagination a {
    min-height: 40px;
    font-size: 14px;
  }
  .yt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .yt-title {
    font-size: 15px;
  }
}

@media (max-width: 1280px) {
  .section-v4-footer-inner,
  .section-v4-footer-bottom {
    width: auto;
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 1024px) {
  .section-v4-footer-inner,
  .section-v4-footer-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .section-v4-footer-inner,
  .section-v4-footer-bottom {
    margin-left: 14px;
    margin-right: 14px;
  }
}

/* ── 방문 카운터 그래프 (cv-*) ──────────────────────────────── */
.cv-wrap { display: flex; flex-direction: column; gap: 14px; }

.cv-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 540px;
}
.cv-stat-box {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--chch-stat-bg);
  border: 1px solid var(--chch-card-border-soft);
  text-align: center;
}
.cv-stat-box strong {
  display: block;
  color: var(--chch-card-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
}
.cv-stat-total strong { color: #1459a8; }
.cv-stat-box span {
  display: block;
  margin-top: 5px;
  color: var(--chch-card-text);
  font-size: 12px;
}
.cv-delta {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-style: normal;
  padding: 2px 8px;
  border-radius: 999px;
}
.cv-up { background: #eaf6ef; color: #2a7a50; }
.cv-dn { background: #fdeeed; color: #c84040; }
.cv-eq { background: var(--chch-card-bg-soft); color: var(--chch-card-text); }

/* 바 차트 */
.cv-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding-bottom: 18px; /* label 영역 */
  position: relative;
}
.cv-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.cv-bar-area {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: flex-end;
}
.cv-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: #5a7ca1;
  transition: background .15s;
  min-height: 0;
}
.cv-bar-col.is-today .cv-bar { background: #2f88e6; }
.cv-bar-col.is-today .cv-bar-label { color: var(--chch-link); font-weight: 700; }
.cv-bar-label {
  font-size: 9px;
  color: var(--chch-card-text);
  white-space: nowrap;
  line-height: 1.2;
  text-align: center;
}

/* ── 사이드바 방문 통계 위젯 (vw-sidebar) ─────────────────────── */
.section-side-visitors .cv-wrap.vw-sidebar,
.widget-visitors .cv-wrap.vw-sidebar { gap: 10px; padding-bottom: 16px; }
.section-side-visitors .cv-stat-row,
.widget-visitors .cv-stat-row {
  max-width: 100%;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.section-side-visitors .cv-stat-box,
.widget-visitors .cv-stat-box {
  padding: 12px 8px 10px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--chch-card-bg) 0%, var(--chch-stat-bg-soft) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}
.section-side-visitors .cv-stat-total,
.widget-visitors .cv-stat-total {
  grid-column: 1 / -1;
  padding-top: 14px;
  padding-bottom: 12px;
}
.section-side-visitors .cv-stat-box strong,
.widget-visitors .cv-stat-box strong {
  font-size: clamp(14px, 1.7vw, 18px);
  line-height: 1.05;
  white-space: nowrap;
  letter-spacing: -.03em;
}
.section-side-visitors .cv-stat-total strong,
.widget-visitors .cv-stat-total strong {
  font-size: clamp(18px, 2.4vw, 24px);
}
.section-side-visitors .cv-stat-box span,
.widget-visitors .cv-stat-box span {
  font-size: 11px;
  margin-top: 4px;
  font-weight: 700;
}
.section-side-visitors .cv-stat-box-today strong,
.widget-visitors .cv-stat-box-today strong { color: var(--chch-link); }
.section-side-visitors .cv-stat-box-yesterday strong,
.widget-visitors .cv-stat-box-yesterday strong { color: #5b7f68; }
.section-side-visitors .cv-chart-caption,
.widget-visitors .cv-chart-caption {
  color: var(--chch-card-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-side-visitors .cv-chart,
.widget-visitors .cv-chart {
  gap: 6px;
  padding: 10px 4px 0;
  border-top: 1px solid var(--chch-card-border-soft);
}
.vw-bar-area { height: 48px !important; }
.section-side-visitors .cv-bar,
.widget-visitors .cv-bar {
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #7e9bc0 0%, #5d7ea6 100%);
}
.section-side-visitors .cv-bar-col.is-today .cv-bar,
.widget-visitors .cv-bar-col.is-today .cv-bar {
  background: linear-gradient(180deg, #4f9ef0 0%, #2f88e6 100%);
}
.section-side-visitors .cv-bar-label,
.widget-visitors .cv-bar-label {
  font-size: 9px;
  color: var(--chch-card-text);
}

html[data-theme="dark"] .section-rank-chip-1 {
  border-color: rgba(120, 182, 255, .55);
  background: linear-gradient(180deg, #4d8ed8 0%, #2f6fb2 100%);
}

html[data-theme="dark"] .section-rank-chip-2 {
  border-color: rgba(117, 201, 146, .45);
  background: linear-gradient(180deg, #4c9867 0%, #2f7047 100%);
}

html[data-theme="dark"] .section-rank-chip-3 {
  border-color: rgba(232, 191, 114, .45);
  background: linear-gradient(180deg, #bf9352 0%, #8b6532 100%);
}

html[data-theme="dark"] .section-side-tags .tags .section-tag-chip a:hover,
html[data-theme="dark"] .section-side-tags .tags .section-tag-chip a:focus,
html[data-theme="dark"] .section-side-list ul li a:hover .section-rank-chip,
html[data-theme="dark"] .section-side-list ul li a:focus .section-rank-chip {
  background: linear-gradient(180deg, #4d8ed8 0%, #2f6fb2 100%);
  color: #ffffff;
}

html[data-theme="dark"] .section-side-card {
  box-shadow: 0 20px 36px rgba(0,0,0,.28);
}

html[data-theme="dark"] .section-side-visitors .cv-stat-box-yesterday strong,
html[data-theme="dark"] .widget-visitors .cv-stat-box-yesterday strong {
  color: #8fc7a2;
}

/* 방문통계 — 누적/오늘/어제 숫자 + 라벨 다크모드 가독성 보강 */
html[data-theme="dark"] .cv-stat-total strong,
html[data-theme="dark"] .section-side-visitors .cv-stat-total strong,
html[data-theme="dark"] .widget-visitors .cv-stat-total strong {
  color: #7ab6f5;
}
html[data-theme="dark"] .section-side-visitors .cv-stat-box-today strong,
html[data-theme="dark"] .widget-visitors .cv-stat-box-today strong {
  color: #7ab6f5;
}
html[data-theme="dark"] .cv-stat-box span,
html[data-theme="dark"] .section-side-visitors .cv-stat-box span,
html[data-theme="dark"] .widget-visitors .cv-stat-box span {
  color: var(--chch-text-muted, #9aa9b8);
}
html[data-theme="dark"] .section-side-visitors .cv-chart-caption,
html[data-theme="dark"] .widget-visitors .cv-chart-caption {
  color: var(--chch-text-muted, #9aa9b8);
}

@media (max-width: 480px) {
  .section-v4-footer-inner,
  .section-v4-footer-bottom {
    margin-left: 12px;
    margin-right: 12px;
  }
}

/* 메뉴얼 배너 (사이드바) — Remotion PNG 배경 */
.v5-manual-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  margin-bottom: 16px;
  min-height: 92px;
  background-color: #336699;
  background-image: url('https://chch.kr/numz/_assets/manual-banner-section.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(51,102,153,.22);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
  overflow: hidden;
}
.v5-manual-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(51,102,153,.32);
  color: #fff;
}
.v5-manual-banner-icon { display: none; }
.v5-manual-banner-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
  max-width: 60%;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
}
.v5-manual-banner-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
.v5-manual-banner-body strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.v5-manual-banner-desc {
  font-size: 11.5px;
  opacity: .9;
  line-height: 1.4;
  margin-top: 2px;
}
.v5-manual-banner-arrow {
  flex: 0 0 auto;
  font-size: 22px;
  opacity: .7;
  align-self: center;
}


/* ── 사이드바 방문 통계: 심플 카운팅 위젯 (vw-simple) ─── */
.cv-wrap.vw-simple { gap: 0; padding: 0; }
.vw-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vw-simple-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 14px;
  border-bottom: 1px solid var(--chch-card-border-soft, rgba(51,102,153,.08));
}
.vw-simple-list li:last-child { border-bottom: 0; }
.vw-simple-list .vw-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--chch-card-text, #5b7f93);
  letter-spacing: -.01em;
}
.vw-simple-list .vw-count {
  font-size: 18px;
  font-weight: 800;
  color: var(--chch-card-ink, #1f2d3d);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.vw-simple-list .vw-count.vw-accent { color: var(--chch-link, #336699); }

/* 심플 방문 통계 위젯 — 다크모드 가독성 */
html[data-theme="dark"] .vw-simple-list li {
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .vw-simple-list .vw-label {
  color: var(--chch-text-muted, #9aa9b8);
}
html[data-theme="dark"] .vw-simple-list .vw-count {
  color: var(--chch-text, #e6edf3);
}
html[data-theme="dark"] .vw-simple-list .vw-count.vw-accent {
  color: #7ab6f5;
}

/* ── 성경자료실 인기글 TOP 10 (index_kin_popular) ─────── */
.kp-wrap { margin: 0 0 18px; }
.kp-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 10px;
  border-bottom: 2px solid #f0d27a;
  margin-bottom: 6px;
}
.kp-icon { color: #e6a817; font-size: 16px; line-height: 1; }
.kp-title {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: -.01em;
}
.kp-title-strong { font-weight: 800; margin-left: 2px; color: #333; }
.kp-more {
  margin-left: auto;
  font-size: 12px;
  color: var(--chch-card-text, #5b7f93);
  font-weight: 700;
  text-decoration: none;
}
.kp-more:hover { color: var(--chch-link, #336699); }

.kp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.kp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-bottom: 1px solid rgba(51,102,153,.06);
  font-size: 13px;
}
.kp-row:last-child { border-bottom: 0; }
.kp-row:hover { background: rgba(230,168,23,.04); }

.kp-rank {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.kp-rank-top {
  background: #e6a817;
  color: #fff;
}
.kp-rank-plain {
  background: #eef3fa;
  color: #6b8299;
}

.kp-title-link {
  flex: 1;
  min-width: 0;
  color: #2c3e50;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kp-title-link:hover { color: var(--chch-link, #336699); }

.kp-cat {
  flex: 0 0 auto;
  font-size: 12px;
  color: var(--chch-card-text, #5b7f93);
  font-weight: 600;
}
.kp-hit {
  flex: 0 0 auto;
  font-size: 12px;
  color: #1f2d3d;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  min-width: 64px;
  text-align: right;
  letter-spacing: -.01em;
}

@media (max-width: 560px) {
  .kp-cat { display: none; }
  .kp-title-link { font-size: 12.5px; }
  .kp-hit { min-width: 56px; font-size: 11.5px; }
}

/* ── 자료실 인기글 TOP 10 — 다크모드 오버라이드 ─────── */
html[data-theme="dark"] .kp-head {
  border-bottom-color: rgba(230, 168, 23, .45);
}
html[data-theme="dark"] .kp-icon { color: #f5c451; }
html[data-theme="dark"] .kp-title { color: var(--chch-text, #e6edf3); }
html[data-theme="dark"] .kp-title-strong { color: #f5c451; }
html[data-theme="dark"] .kp-more { color: var(--chch-text-muted, #9aa9b8); }
html[data-theme="dark"] .kp-more:hover { color: var(--chch-link, #7ab6f5); }

html[data-theme="dark"] .kp-row {
  border-bottom-color: rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .kp-row:hover {
  background: rgba(245, 196, 81, .08);
}

html[data-theme="dark"] .kp-rank-plain {
  background: rgba(255, 255, 255, .08);
  color: #c9d6e2;
}

html[data-theme="dark"] .kp-title-link {
  color: var(--chch-text, #e6edf3);
}
html[data-theme="dark"] .kp-title-link:hover {
  color: var(--chch-link, #7ab6f5);
}

html[data-theme="dark"] .kp-cat {
  color: var(--chch-text-muted, #9aa9b8);
}
html[data-theme="dark"] .kp-hit {
  color: #f5c451;
}
