/* 70차: 이벤트 통계. 기존 테마 변수와 공통 헤더 스타일 사용 */
.eh-footer-stats{display:flex;align-items:stretch;width:100%;min-height:72px;box-sizing:border-box;background:var(--eh-t-surface,#fff);border:1px solid var(--eh-t-border,#cbdbea);border-radius:8px;overflow:hidden;font-family:'Malgun Gothic',sans-serif}
.eh-footer-stats__data{flex:1 1 auto;min-width:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch}
.eh-footer-stats__item{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;padding:10px 3px;box-sizing:border-box;border-right:1px solid var(--eh-t-border,#e1e7ed)}
.eh-footer-stats__label{font-size:11px;color:var(--eh-t-muted,#68798a);white-space:nowrap}
.eh-footer-stats__number{font-size:19px;line-height:1.15;letter-spacing:-.5px;font-weight:800;color:var(--eh-t-accent,#2871bc);font-variant-numeric:tabular-nums}
.eh-footer-stats__heading{flex:0 0 200px;width:200px;min-width:200px;box-sizing:border-box;align-self:stretch;justify-content:center;gap:9px;border:0!important;border-radius:0!important;text-align:left}
.eh-footer-stats__legacy{padding:14px 10px;align-self:center;font-size:12px;color:var(--eh-t-text,#34495e)}
.eh-footer-account{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:5px 10px;font-size:11px}
.eh-footer-account img{vertical-align:middle;max-width:75px;height:auto}
html[data-eh-theme="night"] .eh-footer-stats{background:#222d3c;border-color:#415873}
html[data-eh-theme="night"] .eh-footer-stats__number{color:#a9c9f5}
/* 공통 .eh-menu-header.eh-unified-menu-title 가 테마별 배경과 텍스트를 관리 */
@media(max-width:700px){.eh-footer-stats{flex-direction:column-reverse}.eh-footer-stats__heading{width:100%;flex-basis:auto;min-height:52px}.eh-footer-stats__data{grid-template-columns:repeat(5,minmax(0,1fr))}.eh-footer-stats__label{font-size:10px}.eh-footer-stats__number{font-size:15px}}

/* 71차: 카피라이트 영역을 상단 추천/통계 테마와 시각적으로 통일.
   기존 HTML·링크·로그인 및 통계 기능은 변경하지 않습니다. */
html .bottom_border{background:var(--eh-t-surface,#fff);border-color:var(--eh-t-border,#d7e1eb)}
html .bottom_border .bo_copy{box-sizing:border-box;background:var(--eh-t-soft,#f5f8fc);color:var(--eh-t-muted,#637589);border-top:2px solid var(--eh-t-accent2,#2871bc);text-align:center;line-height:1.85;overflow-wrap:anywhere}
html .bottom_border .bo_copy a.aref{color:var(--eh-t-accent,#2871bc)!important;text-decoration:none}
html .bottom_border .bo_copy a.aref:hover{color:var(--eh-t-accent2,#235e9f)!important;text-decoration:underline}
html .bottom_border .bo_copy img{vertical-align:middle;max-width:100%;height:auto}
html .bottom_border .eh-footer-account{background:var(--eh-t-surface,#fff);border-top:1px solid var(--eh-t-border,#d7e1eb)}
html[data-eh-theme="rose"] .bottom_border .bo_copy{background:#fff5fa;border-top-color:#bd638f;color:#805d70}
html[data-eh-theme="rose"] .bottom_border .bo_copy a.aref{color:#8f355f!important}
html[data-eh-theme="night"] .bottom_border{background:#222d3c;border-color:#415873}
html[data-eh-theme="night"] .bottom_border .bo_copy{background:#29364a;border-top-color:#7398d4;color:#c1cee0}
html[data-eh-theme="night"] .bottom_border .bo_copy a.aref{color:#a9c9f5!important}
html[data-eh-theme="night"] .bottom_border .eh-footer-account{background:#222d3c;border-top-color:#415873}

/* 72차: 통계 상단 양쪽 모서리 각지게, 왼쪽·아래 테두리 2px */
html .eh-footer-stats{
  border-top-left-radius:0;
  border-top-right-radius:0;
  border-left-width:2px;
  border-bottom-width:2px;
}

/* 73차: 오늘의 이벤트·투표와 동일한 공통 헤더 구성 사용. 위치/폭만 통계 전용으로 지정 */
.eh-footer-stats > .eh-footer-stats__heading.eh-menu-header.eh-unified-menu-title{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:9px;padding:0 10px;min-height:57px;border-radius:0!important}
.eh-footer-stats__heading .eh-menu-header__label{align-items:flex-start;text-align:left}
.eh-footer-stats__heading .eh-menu-header__label small{font-size:9px;white-space:nowrap}
@media(max-width:700px){.eh-footer-stats > .eh-footer-stats__heading.eh-menu-header.eh-unified-menu-title{width:100%;min-width:0;flex-basis:auto}}

/* 74차: 블룸 통계 타이틀은 상단 공통 메뉴와 동일한 로즈 그라데이션.
   CSS 로딩 순서 및 기존 .bo_header 배경 규칙과 무관하게 일치시킵니다. */
html[data-eh-theme="rose"] .eh-footer-stats > .eh-footer-stats__heading.eh-menu-header.eh-unified-menu-title {
  background:linear-gradient(115deg,#a74c79 0%,#bd638f 58%,#d788aa 100%)!important;
  color:#fff!important;
  border-color:transparent!important;
}
html[data-eh-theme="rose"] .eh-footer-stats__heading.eh-unified-menu-title .eh-menu-header__label,
html[data-eh-theme="rose"] .eh-footer-stats__heading.eh-unified-menu-title .eh-menu-header__label strong,
html[data-eh-theme="rose"] .eh-footer-stats__heading.eh-unified-menu-title .eh-menu-header__label small {
  color:#fff!important;
}
html[data-eh-theme="rose"] .eh-footer-stats__heading.eh-unified-menu-title .eh-menu-header__mark {
  background:#fff!important;
  color:#a74c79!important;
}

/* 85차: 카피라이트 재구성 및 로그인 상태/로그아웃 복구 */
html .bottom_border .eh-footer-copy{box-sizing:border-box;clear:both;background:var(--eh-t-soft,#f6f9fc);color:var(--eh-t-muted,#637589);border-top:2px solid var(--eh-t-accent,#2871bc);font-family:'Malgun Gothic','Nanum Gothic',sans-serif;font-size:12px}
.eh-footer-copy *{box-sizing:border-box}
.eh-footer-copy__top{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:62px;padding:12px 17px;border-bottom:1px solid var(--eh-t-border,#d7e1eb)}
.eh-footer-copy__links{display:flex;flex-wrap:wrap;align-items:center;gap:5px 0;min-width:0}
.eh-footer-copy__links a{display:inline-flex;align-items:center;padding:2px 11px;border-right:1px solid var(--eh-t-border,#d7e1eb);color:var(--eh-t-text,#40536a)!important;text-decoration:none!important;font-size:11px;white-space:nowrap}
.eh-footer-copy__links a:first-child{padding-left:0}
.eh-footer-copy__links a:last-child{border-right:0}
.eh-footer-copy__links a:hover{color:var(--eh-t-accent,#2871bc)!important;text-decoration:underline!important}
.eh-footer-copy__account{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex:none;white-space:nowrap}
.eh-footer-copy__status{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--eh-t-text,#40536a)}
.eh-footer-copy__status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#39a36a;box-shadow:0 0 0 3px rgba(57,163,106,.12)}
.eh-footer-copy__auth,.eh-footer-copy__admin{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:33px;padding:6px 13px;border:1px solid var(--eh-t-accent,#2871bc);border-radius:6px;background:var(--eh-t-accent,#2871bc);color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:700;line-height:1.3;transition:filter .15s}
.eh-footer-copy__auth:hover{filter:brightness(.91);color:#fff!important}
.eh-footer-copy__admin{background:transparent;border-color:var(--eh-t-border,#d7e1eb);color:var(--eh-t-text,#40536a)!important}
.eh-footer-copy__bottom{padding:15px 18px 17px;text-align:center;line-height:1.75}
.eh-footer-copy__bottom p{margin:0 0 3px;font-size:11px;color:inherit}
.eh-footer-copy__bottom strong{color:var(--eh-t-text,#40536a)}
html[data-eh-theme="rose"] .bottom_border .eh-footer-copy{background:#fff5fa;border-top-color:#bd638f;color:#805d70}
html[data-eh-theme="rose"] .eh-footer-copy__auth{background:#bd638f;border-color:#bd638f}
html[data-eh-theme="night"] .bottom_border .eh-footer-copy{background:#29364a;border-top-color:#7398d4;color:#c1cee0}
html[data-eh-theme="night"] .eh-footer-copy__links a,html[data-eh-theme="night"] .eh-footer-copy__status,html[data-eh-theme="night"] .eh-footer-copy__bottom strong{color:#d9e5f5!important}
html[data-eh-theme="night"] .eh-footer-copy__auth{background:#476b9c;border-color:#7398d4}
html[data-eh-theme="night"] .eh-footer-copy__admin{color:#d9e5f5!important;border-color:#536984}
@media(max-width:850px){.eh-footer-copy__top{flex-direction:column;align-items:stretch}.eh-footer-copy__links{justify-content:center}.eh-footer-copy__account{justify-content:center}}
@media(max-width:500px){.eh-footer-copy__links a{padding:3px 7px}.eh-footer-copy__status{font-size:10px}.eh-footer-copy__bottom{padding:12px 9px}}

/* 86차: 하단 카피라이트 상단 바 위 여백 24px */
html .bottom_border .eh-footer-copy {
  margin-top:24px;
}
